@openui5/sap.m 1.105.1 → 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/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +4 -4
- package/src/sap/m/.library +20 -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/CarouselRenderer.js +3 -3
- 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 +5 -6
- 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 +3 -4
- 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 +148 -143
- 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 +83 -75
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +10 -7
- 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 +131 -132
- 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 +4 -3
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +65 -22
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +36 -10
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingEnablement.js +23 -25
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +44 -43
- 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 +152 -166
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +38 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +11 -3
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -0
- package/src/sap/m/Image.js +270 -197
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +375 -367
- 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/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +5 -6
- 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 +452 -458
- package/src/sap/m/ListItemBase.js +116 -107
- 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 +111 -103
- 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/OverflowToolbarAssociativePopoverControls.js +0 -5
- package/src/sap/m/OverflowToolbarButton.js +2 -3
- 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 -95
- 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/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +23 -10
- 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 +344 -340
- 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 +15 -15
- 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 +407 -422
- 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 +17 -12
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerClocksRenderer.js +3 -1
- 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 +79 -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 +13 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +6 -3
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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 +40 -116
- package/src/sap/m/messagebundle.properties +22 -10
- package/src/sap/m/messagebundle_ar.properties +20 -6
- package/src/sap/m/messagebundle_bg.properties +19 -5
- package/src/sap/m/messagebundle_ca.properties +19 -5
- package/src/sap/m/messagebundle_cs.properties +30 -16
- package/src/sap/m/messagebundle_cy.properties +19 -5
- package/src/sap/m/messagebundle_da.properties +19 -5
- package/src/sap/m/messagebundle_de.properties +20 -6
- package/src/sap/m/messagebundle_el.properties +19 -5
- package/src/sap/m/messagebundle_en.properties +18 -4
- package/src/sap/m/messagebundle_en_GB.properties +18 -4
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +23 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -2
- package/src/sap/m/messagebundle_es.properties +19 -5
- package/src/sap/m/messagebundle_es_MX.properties +19 -5
- package/src/sap/m/messagebundle_et.properties +19 -5
- package/src/sap/m/messagebundle_fi.properties +19 -5
- package/src/sap/m/messagebundle_fr.properties +20 -6
- package/src/sap/m/messagebundle_fr_CA.properties +20 -6
- package/src/sap/m/messagebundle_hi.properties +19 -5
- package/src/sap/m/messagebundle_hr.properties +20 -6
- package/src/sap/m/messagebundle_hu.properties +19 -5
- package/src/sap/m/messagebundle_id.properties +19 -5
- package/src/sap/m/messagebundle_it.properties +20 -6
- package/src/sap/m/messagebundle_iw.properties +19 -5
- package/src/sap/m/messagebundle_ja.properties +19 -5
- package/src/sap/m/messagebundle_kk.properties +19 -5
- package/src/sap/m/messagebundle_ko.properties +20 -6
- package/src/sap/m/messagebundle_lt.properties +20 -6
- package/src/sap/m/messagebundle_lv.properties +19 -5
- package/src/sap/m/messagebundle_ms.properties +19 -5
- package/src/sap/m/messagebundle_nl.properties +19 -5
- package/src/sap/m/messagebundle_no.properties +19 -5
- package/src/sap/m/messagebundle_pl.properties +19 -5
- package/src/sap/m/messagebundle_pt.properties +19 -5
- package/src/sap/m/messagebundle_pt_PT.properties +19 -5
- package/src/sap/m/messagebundle_ro.properties +19 -5
- package/src/sap/m/messagebundle_ru.properties +19 -5
- package/src/sap/m/messagebundle_sh.properties +20 -6
- package/src/sap/m/messagebundle_sk.properties +19 -5
- package/src/sap/m/messagebundle_sl.properties +20 -6
- package/src/sap/m/messagebundle_sv.properties +19 -5
- package/src/sap/m/messagebundle_th.properties +19 -5
- package/src/sap/m/messagebundle_tr.properties +19 -5
- package/src/sap/m/messagebundle_uk.properties +19 -5
- package/src/sap/m/messagebundle_vi.properties +19 -5
- package/src/sap/m/messagebundle_zh_CN.properties +19 -5
- package/src/sap/m/messagebundle_zh_TW.properties +19 -5
- 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 +21 -7
- 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 +37 -15
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +3 -3
- 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/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- 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 +17 -5
- 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 +64 -22
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +19 -4
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +9 -3
- 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 +11 -12
- package/src/sap/m/table/columnmenu/QuickTotal.js +9 -3
- 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/Carousel.less +8 -8
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/DisplayListItem.less +3 -3
- package/src/sap/m/themes/base/GenericTile.less +7 -0
- 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 +295 -13
- 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
|
@@ -25,7 +25,7 @@ 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
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
@@ -535,7 +535,7 @@ sap.ui.define([
|
|
|
535
535
|
* @private
|
|
536
536
|
*/
|
|
537
537
|
TimePickerClock.prototype._onTouchEnd = function(oEvent) {
|
|
538
|
-
var oAnimationMode =
|
|
538
|
+
var oAnimationMode = Configuration.getAnimationMode(),
|
|
539
539
|
bSkipAnimation = oAnimationMode === Configuration.AnimationMode.none || oAnimationMode === Configuration.AnimationMode.minimal;
|
|
540
540
|
|
|
541
541
|
if (!this._mouseOrTouchDown) {
|
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @extends sap.ui.core.Control
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.107.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -70,7 +70,9 @@ sap.ui.define([
|
|
|
70
70
|
*/
|
|
71
71
|
_clocks: { type: "sap.m.TimePickerClock", multiple: true, visibility: "hidden" }
|
|
72
72
|
}
|
|
73
|
-
}
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
renderer: TimePickerClocksRenderer
|
|
74
76
|
});
|
|
75
77
|
|
|
76
78
|
/*********************************************************************************************************
|
|
@@ -45,6 +45,7 @@ sap.ui.define([], function() {
|
|
|
45
45
|
oSegButton = oControl.getAggregation("_buttonAmPm"),
|
|
46
46
|
aSeparators = oControl._getTimeSeparators(oControl._getDisplayFormatPattern()),
|
|
47
47
|
sSeparator,
|
|
48
|
+
iSepearatorsIndex,
|
|
48
49
|
iIndex;
|
|
49
50
|
|
|
50
51
|
if (aButtons) {
|
|
@@ -61,7 +62,8 @@ sap.ui.define([], function() {
|
|
|
61
62
|
for (iIndex = 0; iIndex < aButtons.length; iIndex++) {
|
|
62
63
|
oRm.renderControl(aButtons[iIndex]);
|
|
63
64
|
if (iIndex < aButtons.length - 1) {
|
|
64
|
-
|
|
65
|
+
iSepearatorsIndex = aSeparators.length - (aButtons.length - 1) + iIndex;
|
|
66
|
+
sSeparator = aSeparators[iSepearatorsIndex];
|
|
65
67
|
if (!sSeparator) {
|
|
66
68
|
sSeparator = " ";
|
|
67
69
|
}
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.107.0
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @public
|
|
@@ -69,7 +69,9 @@ sap.ui.define([
|
|
|
69
69
|
*/
|
|
70
70
|
_texts: { type: "sap.ui.core.InvisibleText", multiple: true, visibility: "hidden" }
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
renderer: TimePickerInputsRenderer
|
|
73
75
|
});
|
|
74
76
|
|
|
75
77
|
/**
|
|
@@ -14,7 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ui/core/Locale",
|
|
15
15
|
"./library",
|
|
16
16
|
"./Button",
|
|
17
|
-
'./TimePickerInternalsRenderer'
|
|
17
|
+
'./TimePickerInternalsRenderer',
|
|
18
|
+
"sap/ui/core/Configuration"
|
|
18
19
|
],
|
|
19
20
|
function(
|
|
20
21
|
coreLibrary,
|
|
@@ -26,7 +27,8 @@ sap.ui.define([
|
|
|
26
27
|
Locale,
|
|
27
28
|
library,
|
|
28
29
|
Button,
|
|
29
|
-
TimePickerInternalsRenderer
|
|
30
|
+
TimePickerInternalsRenderer,
|
|
31
|
+
Configuration
|
|
30
32
|
) {
|
|
31
33
|
"use strict";
|
|
32
34
|
|
|
@@ -45,7 +47,7 @@ sap.ui.define([
|
|
|
45
47
|
* @extends sap.ui.core.Control
|
|
46
48
|
*
|
|
47
49
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
50
|
+
* @version 1.107.0
|
|
49
51
|
*
|
|
50
52
|
* @constructor
|
|
51
53
|
* @private
|
|
@@ -121,7 +123,9 @@ sap.ui.define([
|
|
|
121
123
|
*/
|
|
122
124
|
_nowButton: { type: "sap.m.Button", multiple: false, visibility: "hidden" }
|
|
123
125
|
}
|
|
124
|
-
}
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
renderer: TimePickerInternalsRenderer
|
|
125
129
|
});
|
|
126
130
|
|
|
127
131
|
/**
|
|
@@ -130,7 +134,7 @@ sap.ui.define([
|
|
|
130
134
|
* @private
|
|
131
135
|
*/
|
|
132
136
|
TimePickerInternals.prototype.init = function () {
|
|
133
|
-
var oLocale =
|
|
137
|
+
var oLocale = Configuration.getFormatSettings().getFormatLocale(),
|
|
134
138
|
oLocaleData = LocaleData.getInstance(oLocale),
|
|
135
139
|
aPeriods = oLocaleData.getDayPeriods("abbreviated"),
|
|
136
140
|
sDefaultDisplayFormat = oLocaleData.getTimePattern("medium");
|
|
@@ -327,7 +331,7 @@ sap.ui.define([
|
|
|
327
331
|
*/
|
|
328
332
|
TimePickerInternals.prototype._getLocaleBasedPattern = function (sPlaceholder) {
|
|
329
333
|
return LocaleData.getInstance(
|
|
330
|
-
|
|
334
|
+
Configuration.getFormatSettings().getFormatLocale()
|
|
331
335
|
).getTimePattern(sPlaceholder);
|
|
332
336
|
};
|
|
333
337
|
|
|
@@ -368,7 +372,7 @@ sap.ui.define([
|
|
|
368
372
|
}
|
|
369
373
|
|
|
370
374
|
if (!sCalendarType) {
|
|
371
|
-
sCalendarType =
|
|
375
|
+
sCalendarType = Configuration.getCalendarType();
|
|
372
376
|
}
|
|
373
377
|
|
|
374
378
|
return this._getFormatterInstance(sPattern, bRelative, sCalendarType);
|
|
@@ -11,9 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/Device',
|
|
12
12
|
"sap/ui/events/KeyCodes",
|
|
13
13
|
"sap/m/Button",
|
|
14
|
-
"sap/ui/thirdparty/jquery"
|
|
14
|
+
"sap/ui/thirdparty/jquery",
|
|
15
|
+
"sap/ui/core/Configuration"
|
|
15
16
|
],
|
|
16
|
-
function(Control, TimePickerSliderRenderer, IconPool, Device, KeyCodes, Button, jQuery) {
|
|
17
|
+
function(Control, TimePickerSliderRenderer, IconPool, Device, KeyCodes, Button, jQuery, Configuration) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -27,7 +28,7 @@ sap.ui.define([
|
|
|
27
28
|
* @extends sap.ui.core.Control
|
|
28
29
|
*
|
|
29
30
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
31
|
+
* @version 1.107.0
|
|
31
32
|
*
|
|
32
33
|
* @constructor
|
|
33
34
|
* @private
|
|
@@ -86,7 +87,7 @@ sap.ui.define([
|
|
|
86
87
|
renderer: TimePickerSliderRenderer
|
|
87
88
|
});
|
|
88
89
|
|
|
89
|
-
var SCROLL_ANIMATION_DURATION =
|
|
90
|
+
var SCROLL_ANIMATION_DURATION = Configuration.getAnimation() ? 200 : 0;
|
|
90
91
|
var MIN_ITEMS = 50;
|
|
91
92
|
var LABEL_HEIGHT = 32;
|
|
92
93
|
var ARROW_HEIGHT = 32;
|
|
@@ -16,7 +16,8 @@ sap.ui.define([
|
|
|
16
16
|
'sap/ui/core/LocaleData',
|
|
17
17
|
'sap/ui/Device',
|
|
18
18
|
'sap/ui/core/Locale',
|
|
19
|
-
"sap/ui/thirdparty/jquery"
|
|
19
|
+
"sap/ui/thirdparty/jquery",
|
|
20
|
+
"sap/ui/core/Configuration"
|
|
20
21
|
],
|
|
21
22
|
function(
|
|
22
23
|
coreLibrary,
|
|
@@ -30,7 +31,8 @@ sap.ui.define([
|
|
|
30
31
|
LocaleData,
|
|
31
32
|
Device,
|
|
32
33
|
Locale,
|
|
33
|
-
jQuery
|
|
34
|
+
jQuery,
|
|
35
|
+
Configuration
|
|
34
36
|
) {
|
|
35
37
|
"use strict";
|
|
36
38
|
|
|
@@ -48,7 +50,7 @@ sap.ui.define([
|
|
|
48
50
|
* @extends sap.ui.core.Control
|
|
49
51
|
*
|
|
50
52
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
53
|
+
* @version 1.107.0
|
|
52
54
|
*
|
|
53
55
|
* @constructor
|
|
54
56
|
* @public
|
|
@@ -147,7 +149,9 @@ sap.ui.define([
|
|
|
147
149
|
}
|
|
148
150
|
}
|
|
149
151
|
}
|
|
150
|
-
}
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
renderer: TimePickerSlidersRenderer
|
|
151
155
|
});
|
|
152
156
|
|
|
153
157
|
/**
|
|
@@ -156,7 +160,7 @@ sap.ui.define([
|
|
|
156
160
|
* @private
|
|
157
161
|
*/
|
|
158
162
|
TimePickerSliders.prototype.init = function () {
|
|
159
|
-
var oLocale =
|
|
163
|
+
var oLocale = Configuration.getFormatSettings().getFormatLocale(),
|
|
160
164
|
oLocaleData = LocaleData.getInstance(oLocale),
|
|
161
165
|
aPeriods = oLocaleData.getDayPeriods("abbreviated"),
|
|
162
166
|
sDefaultDisplayFormat = oLocaleData.getTimePattern("medium");
|
|
@@ -683,7 +687,7 @@ sap.ui.define([
|
|
|
683
687
|
*/
|
|
684
688
|
TimePickerSliders.prototype._getLocaleBasedPattern = function (sPlaceholder) {
|
|
685
689
|
return LocaleData.getInstance(
|
|
686
|
-
|
|
690
|
+
Configuration.getFormatSettings().getFormatLocale()
|
|
687
691
|
).getTimePattern(sPlaceholder);
|
|
688
692
|
};
|
|
689
693
|
|
|
@@ -907,7 +911,7 @@ sap.ui.define([
|
|
|
907
911
|
}
|
|
908
912
|
|
|
909
913
|
if (!sCalendarType) {
|
|
910
|
-
sCalendarType =
|
|
914
|
+
sCalendarType = Configuration.getCalendarType();
|
|
911
915
|
}
|
|
912
916
|
|
|
913
917
|
return this._getFormatterInstance(sPattern, bRelative, sCalendarType);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/ui/Device"], function(Device) {
|
|
7
|
+
sap.ui.define(["sap/ui/Device", "sap/ui/core/Configuration"], function(Device, Configuration) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -26,7 +26,7 @@ sap.ui.define(["sap/ui/Device"], function(Device) {
|
|
|
26
26
|
sLabelText = oControl.getLabelText() || "",
|
|
27
27
|
oRb = sap.ui.getCore().getLibraryResourceBundle("sap.m"),
|
|
28
28
|
iSliderIndex,
|
|
29
|
-
bRtl =
|
|
29
|
+
bRtl = Configuration.getRTL();
|
|
30
30
|
|
|
31
31
|
oRM.openStart("div", oControl);
|
|
32
32
|
oRM.class("sapMTimePickerContainer");
|
package/src/sap/m/Title.js
CHANGED
|
@@ -73,122 +73,125 @@ sap.ui.define([
|
|
|
73
73
|
* @implements sap.ui.core.IShrinkable
|
|
74
74
|
*
|
|
75
75
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.107.0
|
|
77
77
|
* @since 1.27.0
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @public
|
|
81
81
|
* @alias sap.m.Title
|
|
82
82
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/title/ Title}
|
|
83
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
84
83
|
*/
|
|
85
|
-
var Title = Control.extend("sap.m.Title", /** @lends sap.m.Title.prototype */ {
|
|
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
|
-
|
|
84
|
+
var Title = Control.extend("sap.m.Title", /** @lends sap.m.Title.prototype */ {
|
|
85
|
+
metadata : {
|
|
86
|
+
|
|
87
|
+
library : "sap.m",
|
|
88
|
+
interfaces : [
|
|
89
|
+
"sap.ui.core.IShrinkable",
|
|
90
|
+
"sap.m.IHyphenation"
|
|
91
|
+
],
|
|
92
|
+
properties : {
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Defines the text that should be displayed as a title.
|
|
96
|
+
*
|
|
97
|
+
* <b>Note:</b> this property is not used if there is a control added to the <code>content</code> aggregation
|
|
98
|
+
* <b>Note:</b> this property will be overridden if there is title element associated and it has <code>text</code> property set.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
text : {type : "string", group : "Appearance", defaultValue : null},
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Defines the semantic level of the title.
|
|
105
|
+
* This information is e.g. used by assistive technologies like screenreaders to create a hierarchical site map for faster navigation.
|
|
106
|
+
* Depending on this setting either an HTML h1-h6 element is used or when using level <code>Auto</code> no explicit level information is written (HTML5 header element).
|
|
107
|
+
* This property does not influence the style of the control. Use the property <code>titleStyle</code> for this purpose instead.
|
|
108
|
+
*
|
|
109
|
+
* <b>Note:</b> this property will be overridden if there is title element associated and it has <code>level</code> property set.
|
|
110
|
+
*/
|
|
111
|
+
level : {type : "sap.ui.core.TitleLevel", group : "Appearance", defaultValue : TitleLevel.Auto},
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Defines the style of the title.
|
|
115
|
+
* When using the <code>Auto</code> styling, the appearance of the title depends on the current position of the title (e.g. inside a <code>Toolbar</code>).
|
|
116
|
+
* This default behavior can be overridden by setting a different style explicitly.
|
|
117
|
+
* The actual appearance of the title and the different styles always depends on the theme being used.
|
|
118
|
+
*/
|
|
119
|
+
titleStyle : {type : "sap.ui.core.TitleLevel", group : "Appearance", defaultValue : TitleLevel.Auto},
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Defines the width of the title.
|
|
123
|
+
*/
|
|
124
|
+
width : {type : "sap.ui.core.CSSSize", group : "Dimension", defaultValue : null},
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Defines the alignment of the text within the title. <b>Note:</b> This property only has an effect if the overall width of the title control is
|
|
128
|
+
* larger than the displayed text.
|
|
129
|
+
*
|
|
130
|
+
* <b>Note:</b> this property will be overridden if there is a control added to the <code>content</code> aggregation
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
133
|
+
textAlign : {type : "sap.ui.core.TextAlign", group : "Appearance", defaultValue : TextAlign.Initial},
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Options for the text direction are RTL and LTR. Alternatively, the control can inherit the text direction from its parent container.
|
|
137
|
+
*
|
|
138
|
+
* <b>Note:</b> this property will be overridden if there is a control added to the <code>content</code> aggregation
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
textDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Enables text wrapping.
|
|
145
|
+
*
|
|
146
|
+
* <b>Note:</b> Wrapping must only be activated if the surrounding container allows flexible heights.
|
|
147
|
+
* <b>Note:</b> this property will be ignored if there is a control added to the <code>content</code> aggregation
|
|
148
|
+
*
|
|
149
|
+
* @since 1.52
|
|
150
|
+
*/
|
|
151
|
+
wrapping : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Defines the type of text wrapping to be used (hyphenated or normal).
|
|
155
|
+
*
|
|
156
|
+
* <b>Note:</b> This property takes effect only when the <code>wrapping</code>
|
|
157
|
+
* property is set to <code>true</code>.
|
|
158
|
+
* <b>Note:</b> this property will be ignored if there is a control added to the <code>content</code> aggregation
|
|
159
|
+
*
|
|
160
|
+
* @since 1.60
|
|
161
|
+
*/
|
|
162
|
+
wrappingType : {type: "sap.m.WrappingType", group : "Appearance", defaultValue : WrappingType.Normal}
|
|
163
|
+
|
|
164
|
+
},
|
|
165
|
+
defaultAggregation : "content",
|
|
166
|
+
aggregations : {
|
|
167
|
+
/**
|
|
168
|
+
* Holds a control that implements <code>sap.ui.core.ITitleContent</code> and renders this control instead of simple text
|
|
169
|
+
*
|
|
170
|
+
* <b>Note:</b> if a control is placed in this aggregation, the following properties of <code>sap.m.Title</code>
|
|
171
|
+
* will be overridden - <code>text</code>, <code>textAlign</code>, <code>textDirection</code>; the following will be ignored -
|
|
172
|
+
* <code>wrapping</code>, <code>wrappingType</code>. The <code>title</code> association will be ignored too.
|
|
173
|
+
*
|
|
174
|
+
* @since 1.87
|
|
175
|
+
*/
|
|
176
|
+
content : {type : "sap.ui.core.ITitleContent", multiple : false}
|
|
177
|
+
},
|
|
178
|
+
associations : {
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Defines a relationship to a generic title description.
|
|
182
|
+
*
|
|
183
|
+
* <b>Note:</b> if a control is placed in <code>content</code> aggregation, the title element associated will be ignored;
|
|
184
|
+
* otherwise the properties <code>text</code>, <code>level</code> and </code>tooltip</code> (text only) of this element
|
|
185
|
+
* will override the corresponding properties of the <code>Title</code> control.
|
|
186
|
+
*/
|
|
187
|
+
title : {type : "sap.ui.core.Title", multiple : false}
|
|
188
|
+
},
|
|
189
|
+
designtime: "sap/m/designtime/Title.designtime"
|
|
163
190
|
|
|
164
191
|
},
|
|
165
|
-
defaultAggregation : "content",
|
|
166
|
-
aggregations : {
|
|
167
|
-
/**
|
|
168
|
-
* Holds a control that implements <code>sap.ui.core.ITitleContent</code> and renders this control instead of simple text
|
|
169
|
-
*
|
|
170
|
-
* <b>Note:</b> if a control is placed in this aggregation, the following properties of <code>sap.m.Title</code>
|
|
171
|
-
* will be overridden - <code>text</code>, <code>textAlign</code>, <code>textDirection</code>; the following will be ignored -
|
|
172
|
-
* <code>wrapping</code>, <code>wrappingType</code>. The <code>title</code> association will be ignored too.
|
|
173
|
-
*
|
|
174
|
-
* @since 1.87
|
|
175
|
-
*/
|
|
176
|
-
content : {type : "sap.ui.core.ITitleContent", multiple : false}
|
|
177
|
-
},
|
|
178
|
-
associations : {
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Defines a relationship to a generic title description.
|
|
182
|
-
*
|
|
183
|
-
* <b>Note:</b> if a control is placed in <code>content</code> aggregation, the title element associated will be ignored;
|
|
184
|
-
* otherwise the properties <code>text</code>, <code>level</code> and </code>tooltip</code> (text only) of this element
|
|
185
|
-
* will override the corresponding properties of the <code>Title</code> control.
|
|
186
|
-
*/
|
|
187
|
-
title : {type : "sap.ui.core.Title", multiple : false}
|
|
188
|
-
},
|
|
189
|
-
designtime: "sap/m/designtime/Title.designtime"
|
|
190
192
|
|
|
191
|
-
|
|
193
|
+
renderer: TitleRenderer
|
|
194
|
+
});
|
|
192
195
|
|
|
193
196
|
/**
|
|
194
197
|
* Gets the currently set title.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides helper sap.m.TitlePropagationSupport
|
|
8
|
-
sap.ui.define([],
|
|
9
|
-
function() {
|
|
8
|
+
sap.ui.define(["sap/ui/core/Configuration"],
|
|
9
|
+
function(Configuration) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -51,7 +51,7 @@ sap.ui.define([],
|
|
|
51
51
|
* style class support on existing elements by calling this function.
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.107.0
|
|
55
55
|
*
|
|
56
56
|
* @param {string} sAggregationName the name of the aggregation which should be affected
|
|
57
57
|
* @param {object} fnGetTitleID function that would return the ID of the title
|
|
@@ -82,7 +82,7 @@ sap.ui.define([],
|
|
|
82
82
|
oItem;
|
|
83
83
|
|
|
84
84
|
// Note: in case accessibility mode is off we don't need the propagation
|
|
85
|
-
if (!
|
|
85
|
+
if (!Configuration.getAccessibility() || !sTitleID || !aContent
|
|
86
86
|
|| aContent.length === 0) {
|
|
87
87
|
return false;
|
|
88
88
|
}
|