@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
package/src/sap/m/TextArea.js
CHANGED
|
@@ -84,99 +84,102 @@ function(
|
|
|
84
84
|
* @extends sap.m.InputBase
|
|
85
85
|
*
|
|
86
86
|
* @author SAP SE
|
|
87
|
-
* @version 1.
|
|
87
|
+
* @version 1.107.0
|
|
88
88
|
*
|
|
89
89
|
* @constructor
|
|
90
90
|
* @public
|
|
91
91
|
* @since 1.9.0
|
|
92
92
|
* @alias sap.m.TextArea
|
|
93
93
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/text-area/ Text Area}
|
|
94
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
95
94
|
*/
|
|
96
|
-
var TextArea = InputBase.extend("sap.m.TextArea", /** @lends sap.m.TextArea.prototype */ {
|
|
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
|
-
|
|
95
|
+
var TextArea = InputBase.extend("sap.m.TextArea", /** @lends sap.m.TextArea.prototype */ {
|
|
96
|
+
metadata : {
|
|
97
|
+
|
|
98
|
+
library : "sap.m",
|
|
99
|
+
designtime: "sap/m/designtime/TextArea.designtime",
|
|
100
|
+
properties : {
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Defines the number of visible text lines for the control.
|
|
104
|
+
* <b>Note:</b> The <code>height</code> property wins over the <code>rows</code> property, if both are set.
|
|
105
|
+
*/
|
|
106
|
+
rows : {type : "int", group : "Appearance", defaultValue : 2},
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Defines the visible width of the control, in average character widths.
|
|
110
|
+
* <b>Note:</b> The <code>width</code> property wins over the <code>cols</code> property, if both are set.
|
|
111
|
+
*/
|
|
112
|
+
cols : {type : "int", group : "Appearance", defaultValue : 20},
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Defines the height of the control.
|
|
116
|
+
*/
|
|
117
|
+
height : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Defines the maximum number of characters that the <code>value</code> can be.
|
|
121
|
+
*/
|
|
122
|
+
maxLength : {type : "int", group : "Behavior", defaultValue : 0},
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Determines whether the characters, exceeding the maximum allowed character count, are visible in the input field.
|
|
126
|
+
*
|
|
127
|
+
* If set to <code>false</code> the user is not allowed to enter more characters than what is set in the <code>maxLength</code> property.
|
|
128
|
+
* If set to <code>true</code> the characters exceeding the <code>maxLength</code> value are selected on paste and the counter below
|
|
129
|
+
* the input field displays their number.
|
|
130
|
+
* @since 1.48
|
|
131
|
+
*/
|
|
132
|
+
showExceededText: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Indicates how the control wraps the text, e.g. <code>Soft</code>, <code>Hard</code>, <code>Off</code>.
|
|
136
|
+
*/
|
|
137
|
+
wrapping : {type : "sap.ui.core.Wrapping", group : "Behavior", defaultValue : Wrapping.None},
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Indicates when the <code>value</code> property gets updated with the user changes. Setting it to <code>true</code> updates the <code>value</code> property whenever the user has modified the text shown on the text area.
|
|
141
|
+
* @since 1.30
|
|
142
|
+
*/
|
|
143
|
+
valueLiveUpdate : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Indicates the ability of the control to automatically grow and shrink dynamically with its content.
|
|
147
|
+
* <b>Note:</b> This property should not be used when the <code>height</code> property is set.
|
|
148
|
+
* @since 1.38.0
|
|
149
|
+
*/
|
|
150
|
+
growing : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Defines the maximum number of lines that the control can grow.
|
|
154
|
+
* @since 1.38.0
|
|
155
|
+
*/
|
|
156
|
+
growingMaxLines : {type : "int", group : "Behavior", defaultValue : 0}
|
|
157
|
+
|
|
158
|
+
},
|
|
159
|
+
aggregations: {
|
|
160
|
+
// The hidden aggregation for internal usage
|
|
161
|
+
_counter: {type: "sap.m.Text", multiple: false, visibility: "hidden"}
|
|
162
|
+
},
|
|
163
|
+
events : {
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Is fired whenever the user has modified the text shown on the text area.
|
|
167
|
+
*/
|
|
168
|
+
liveChange : {
|
|
169
|
+
parameters : {
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* The new <code>value</code> of the control.
|
|
173
|
+
*/
|
|
174
|
+
value : {type : "string"}
|
|
175
|
+
}
|
|
175
176
|
}
|
|
176
|
-
}
|
|
177
|
+
},
|
|
178
|
+
dnd: { draggable: false, droppable: true }
|
|
177
179
|
},
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
|
|
181
|
+
renderer: TextAreaRenderer
|
|
182
|
+
});
|
|
180
183
|
|
|
181
184
|
/**
|
|
182
185
|
* Initializes the control.
|
package/src/sap/m/Tile.js
CHANGED
|
@@ -35,34 +35,37 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.107.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
42
42
|
* @since 1.12
|
|
43
43
|
* @deprecated as of version 1.50, replaced by {@link sap.m.GenericTile}
|
|
44
44
|
* @alias sap.m.Tile
|
|
45
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
46
45
|
*/
|
|
47
|
-
var Tile = Control.extend("sap.m.Tile", /** @lends sap.m.Tile.prototype */ {
|
|
46
|
+
var Tile = Control.extend("sap.m.Tile", /** @lends sap.m.Tile.prototype */ {
|
|
47
|
+
metadata : {
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
library : "sap.m",
|
|
50
|
+
deprecated: true,
|
|
51
|
+
properties : {
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Determines whether the tile is movable within the surrounding tile container. The remove event is fired by the tile container.
|
|
55
|
+
*/
|
|
56
|
+
removable : {type : "boolean", group : "Misc", defaultValue : true}
|
|
57
|
+
},
|
|
58
|
+
events : {
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Tap event is raised if the user taps or clicks the control.
|
|
62
|
+
*/
|
|
63
|
+
press : {}
|
|
64
|
+
}
|
|
57
65
|
},
|
|
58
|
-
events : {
|
|
59
66
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*/
|
|
63
|
-
press : {}
|
|
64
|
-
}
|
|
65
|
-
}});
|
|
67
|
+
renderer: TileRenderer
|
|
68
|
+
});
|
|
66
69
|
|
|
67
70
|
/**
|
|
68
71
|
* Initializes the control.
|
|
@@ -46,88 +46,91 @@ function(
|
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.107.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
53
53
|
* @since 1.12
|
|
54
54
|
* @deprecated as of version 1.50, replaced by a container of your choice with {@link sap.m.GenericTile} instances
|
|
55
55
|
* @alias sap.m.TileContainer
|
|
56
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
57
56
|
*/
|
|
58
|
-
var TileContainer = Control.extend("sap.m.TileContainer", /** @lends sap.m.TileContainer.prototype */ {
|
|
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
|
-
|
|
57
|
+
var TileContainer = Control.extend("sap.m.TileContainer", /** @lends sap.m.TileContainer.prototype */ {
|
|
58
|
+
metadata : {
|
|
59
|
+
|
|
60
|
+
library : "sap.m",
|
|
61
|
+
deprecated: true,
|
|
62
|
+
properties : {
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Defines the width of the TileContainer in px.
|
|
66
|
+
*/
|
|
67
|
+
width : {type : "sap.ui.core.CSSSize", group : "Dimension", defaultValue : '100%'},
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Defines the height of the TileContainer in px.
|
|
71
|
+
*/
|
|
72
|
+
height : {type : "sap.ui.core.CSSSize", group : "Dimension", defaultValue : '100%'},
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Determines whether the TileContainer is editable so you can move, delete or add tiles.
|
|
76
|
+
*/
|
|
77
|
+
editable : {type : "boolean", group : "Misc", defaultValue : null},
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Determines whether the user is allowed to add Tiles in Edit mode (editable = true).
|
|
81
|
+
*/
|
|
82
|
+
allowAdd : {type : "boolean", group : "Misc", defaultValue : null}
|
|
83
|
+
},
|
|
84
|
+
defaultAggregation : "tiles",
|
|
85
|
+
aggregations : {
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
events : {
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Fires if a Tile is moved.
|
|
96
|
-
*/
|
|
97
|
-
tileMove : {
|
|
98
|
-
parameters : {
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* The Tile that has been moved.
|
|
102
|
-
*/
|
|
103
|
-
tile : {type : "sap.m.Tile"},
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* The new index of the Tile in the tiles aggregation.
|
|
107
|
-
*/
|
|
108
|
-
newIndex : {type : "int"}
|
|
109
|
-
}
|
|
87
|
+
/**
|
|
88
|
+
* The Tiles to be displayed by the TileContainer.
|
|
89
|
+
*/
|
|
90
|
+
tiles : {type : "sap.m.Tile", multiple : true, singularName : "tile"}
|
|
110
91
|
},
|
|
92
|
+
events : {
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Fires if a Tile is moved.
|
|
96
|
+
*/
|
|
97
|
+
tileMove : {
|
|
98
|
+
parameters : {
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* The Tile that has been moved.
|
|
102
|
+
*/
|
|
103
|
+
tile : {type : "sap.m.Tile"},
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The new index of the Tile in the tiles aggregation.
|
|
107
|
+
*/
|
|
108
|
+
newIndex : {type : "int"}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Fires if a Tile is deleted in Edit mode.
|
|
114
|
+
*/
|
|
115
|
+
tileDelete : {
|
|
116
|
+
parameters : {
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The deleted Tile.
|
|
120
|
+
*/
|
|
121
|
+
tile : {type : "sap.m.Tile"}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Fires when a Tile is added.
|
|
127
|
+
*/
|
|
128
|
+
tileAdd : {}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
renderer: TileContainerRenderer
|
|
133
|
+
});
|
|
131
134
|
|
|
132
135
|
|
|
133
136
|
IconPool.insertFontFaceStyle();
|
|
@@ -776,7 +779,6 @@ function(
|
|
|
776
779
|
*
|
|
777
780
|
* @returns {int} The index of the first Tile that is visible in the current page
|
|
778
781
|
* @public
|
|
779
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
780
782
|
*/
|
|
781
783
|
TileContainer.prototype.getPageFirstTileIndex = function() {
|
|
782
784
|
return this._iCurrentTileStartIndex || 0;
|
|
@@ -789,7 +791,6 @@ function(
|
|
|
789
791
|
* @param {int} iNewIndex The new Tile position in the tiles aggregation
|
|
790
792
|
* @returns {this} this pointer for chaining
|
|
791
793
|
* @public
|
|
792
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
793
794
|
*/
|
|
794
795
|
TileContainer.prototype.moveTile = function(vTile, iNewIndex) {
|
|
795
796
|
if (!isNaN(vTile)) {
|
|
@@ -1122,7 +1123,6 @@ function(
|
|
|
1122
1123
|
* @param {boolean} bAnimated Whether the scroll should be animated
|
|
1123
1124
|
* @param {sap.m.Tile[]} [aVisibleTiles] optional list of visible tiles in order to avoid filtering them again.
|
|
1124
1125
|
* @public
|
|
1125
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1126
1126
|
*/
|
|
1127
1127
|
TileContainer.prototype.scrollIntoView = function(vTile, bAnimated, aVisibleTiles) {
|
|
1128
1128
|
|
package/src/sap/m/TileContent.js
CHANGED
|
@@ -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(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './TileContentRenderer'],
|
|
8
|
-
function(library, Core, Control, TileContentRenderer) {
|
|
7
|
+
sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './TileContentRenderer', 'sap/ui/core/Configuration'],
|
|
8
|
+
function(library, Core, Control, TileContentRenderer, Configuration) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
var Priority = library.Priority;
|
|
@@ -24,12 +24,11 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.107.0
|
|
28
28
|
* @since 1.34.0
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
31
31
|
* @alias sap.m.TileContent
|
|
32
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
33
32
|
*/
|
|
34
33
|
var TileContent = Control.extend("sap.m.TileContent", /** @lends sap.m.TileContent.prototype */ {
|
|
35
34
|
metadata : {
|
|
@@ -84,7 +83,9 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
84
83
|
*/
|
|
85
84
|
"content" : {type : "sap.ui.core.Control", multiple : false, bindable : "bindable"}
|
|
86
85
|
}
|
|
87
|
-
}
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
renderer: TileContentRenderer
|
|
88
89
|
});
|
|
89
90
|
|
|
90
91
|
/* --- Lifecycle methods --- */
|
|
@@ -168,6 +169,11 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
168
169
|
thisRef.attr("title", sCntTooltip);
|
|
169
170
|
}
|
|
170
171
|
|
|
172
|
+
//It applies a style class to the elements inside the FormattedText
|
|
173
|
+
if (this.getParent() && this.getParent().isA("sap.m.ActionTile") && this.getContent().isA("sap.m.FormattedText") && this.getContent().getDomRef()) {
|
|
174
|
+
this._applyStyleClassesOnContent(this.getContent().getDomRef());
|
|
175
|
+
}
|
|
176
|
+
|
|
171
177
|
// removing all inner elements tooltip om every mouse enter
|
|
172
178
|
aTooltipEments.removeAttr("title").off("mouseenter");
|
|
173
179
|
}
|
|
@@ -200,7 +206,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
200
206
|
var sUnit = this.getUnit();
|
|
201
207
|
if (sUnit) {
|
|
202
208
|
if (sFooter) {
|
|
203
|
-
if (
|
|
209
|
+
if (Configuration.getRTL()) {
|
|
204
210
|
return resourceBundle.getText('TILECONTENT_FOOTER_TEXT', [sFooter, sUnit]);
|
|
205
211
|
} else {
|
|
206
212
|
return resourceBundle.getText('TILECONTENT_FOOTER_TEXT', [sUnit, sFooter]);
|
|
@@ -237,6 +243,9 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
237
243
|
} else if (oContent.getTooltip_AsString()) {
|
|
238
244
|
sAltText += oContent.getTooltip_AsString();
|
|
239
245
|
bIsFirst = false;
|
|
246
|
+
} else if (oParent && oParent.isA("sap.m.ActionTile") && oContentDom) {
|
|
247
|
+
sAltText += (bIsFirst ? "" : "\n") + this._getInnerText(oContentDom);
|
|
248
|
+
bIsFirst = false;
|
|
240
249
|
} else if (oParent && oParent.isA("sap.m.GenericTile") && oParent.getMode() === GenericTileMode.ActionMode) {
|
|
241
250
|
if (oContent.isA("sap.m.Text")){
|
|
242
251
|
sAltText += (bIsFirst ? "" : "\n") + oContent.getText();
|
|
@@ -258,6 +267,21 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
258
267
|
return sAltText;
|
|
259
268
|
};
|
|
260
269
|
|
|
270
|
+
/**
|
|
271
|
+
* Fetches the text within the tile content when rendered inside an ActionTile
|
|
272
|
+
* @param {Element} oContentDom It gives the control inside the tile content
|
|
273
|
+
* @returns {string} Returns the text inside the tile content when wrapped around a ActionTile
|
|
274
|
+
* @private
|
|
275
|
+
*/
|
|
276
|
+
TileContent.prototype._getInnerText = function(oContentDom) {
|
|
277
|
+
var sAriaTooltipText = "";
|
|
278
|
+
var aHTMLCollection = [].slice.call(oContentDom.children);
|
|
279
|
+
aHTMLCollection.forEach(function(oElement) {
|
|
280
|
+
sAriaTooltipText += (oElement.innerText + "\n");
|
|
281
|
+
});
|
|
282
|
+
return sAriaTooltipText.trim();
|
|
283
|
+
};
|
|
284
|
+
|
|
261
285
|
TileContent.prototype.getTooltip_AsString = function() { //eslint-disable-line
|
|
262
286
|
var sTooltip = this.getTooltip();
|
|
263
287
|
var sAltText = "";
|
|
@@ -290,5 +314,32 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
290
314
|
return this;
|
|
291
315
|
};
|
|
292
316
|
|
|
317
|
+
/**
|
|
318
|
+
* This control applies the style class if there is a <br> tag inside a <p> tag
|
|
319
|
+
* @param {Object} oContent Determines whether the control's content is rendered or not
|
|
320
|
+
* @private
|
|
321
|
+
*/
|
|
322
|
+
TileContent.prototype._applyStyleClassesOnContent = function(oContent) {
|
|
323
|
+
var aElements = this._filterElements(oContent.childNodes);
|
|
324
|
+
aElements.forEach(function(oElement) {
|
|
325
|
+
var bIsPTagWithBreak = oElement.tagName === "P" && oElement.innerHTML.includes("br");
|
|
326
|
+
if (bIsPTagWithBreak) {
|
|
327
|
+
oElement.classList.add("sapMbrPresent");
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Filters the element that has a nodetype one
|
|
334
|
+
* @param {object} oChildElements It displays all the ChildElements inside the formattedText
|
|
335
|
+
* @returns {string} Returns the elements that has a nodeType one
|
|
336
|
+
* @private
|
|
337
|
+
*/
|
|
338
|
+
TileContent.prototype._filterElements = function(oChildElements) {
|
|
339
|
+
return [].slice.call(oChildElements).filter(function(oElement) {
|
|
340
|
+
return oElement.nodeType === 1;
|
|
341
|
+
});
|
|
342
|
+
};
|
|
343
|
+
|
|
293
344
|
return TileContent;
|
|
294
345
|
});
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -30,7 +30,8 @@ sap.ui.define([
|
|
|
30
30
|
"sap/base/Log",
|
|
31
31
|
"sap/ui/core/InvisibleText",
|
|
32
32
|
'./Button',
|
|
33
|
-
"sap/ui/thirdparty/jquery"
|
|
33
|
+
"sap/ui/thirdparty/jquery",
|
|
34
|
+
"sap/ui/core/Configuration"
|
|
34
35
|
],
|
|
35
36
|
function(
|
|
36
37
|
InputBase,
|
|
@@ -57,7 +58,8 @@ function(
|
|
|
57
58
|
Log,
|
|
58
59
|
InvisibleText,
|
|
59
60
|
Button,
|
|
60
|
-
jQuery
|
|
61
|
+
jQuery,
|
|
62
|
+
Configuration
|
|
61
63
|
) {
|
|
62
64
|
"use strict";
|
|
63
65
|
|
|
@@ -142,7 +144,7 @@ function(
|
|
|
142
144
|
* @extends sap.m.DateTimeField
|
|
143
145
|
*
|
|
144
146
|
* @author SAP SE
|
|
145
|
-
* @version 1.
|
|
147
|
+
* @version 1.107.0
|
|
146
148
|
*
|
|
147
149
|
* @constructor
|
|
148
150
|
* @public
|
|
@@ -312,7 +314,10 @@ function(
|
|
|
312
314
|
},
|
|
313
315
|
|
|
314
316
|
dnd: { draggable: false, droppable: true }
|
|
315
|
-
}
|
|
317
|
+
},
|
|
318
|
+
|
|
319
|
+
renderer: TimePickerRenderer
|
|
320
|
+
});
|
|
316
321
|
|
|
317
322
|
/**
|
|
318
323
|
* Determines the format, displayed in the input field and the picker clocks/numeric inputs.
|
|
@@ -391,11 +396,11 @@ function(
|
|
|
391
396
|
this._bValid = false;
|
|
392
397
|
|
|
393
398
|
/* stores the type of the used locale (e.g. 'medium', 'long') for the display
|
|
394
|
-
see https://openui5.
|
|
399
|
+
see https://sdk.openui5.org/api/sap.ui.core.LocaleData/methods/getTimePattern */
|
|
395
400
|
this._sUsedDisplayPattern = null;
|
|
396
401
|
|
|
397
402
|
/* stores the type of the used locale (e.g. 'medium', 'long') for inputting
|
|
398
|
-
see https://openui5.
|
|
403
|
+
see https://sdk.openui5.org/api/sap.ui.core.LocaleData/methods/getTimePattern */
|
|
399
404
|
this._sUsedValuePattern = null;
|
|
400
405
|
|
|
401
406
|
this._oDisplayFormat = null;
|
|
@@ -620,7 +625,7 @@ function(
|
|
|
620
625
|
oClocks.setValue(sDisplayFormattedValue);
|
|
621
626
|
|
|
622
627
|
sFormattedDate = this._getPickerParser().format(oDateValue || new Date(),
|
|
623
|
-
|
|
628
|
+
Configuration.getTimezone());
|
|
624
629
|
oDateValue = this._getPickerParser().parse(sFormattedDate, TimezoneUtil.getLocalTimezone())[ 0 ];
|
|
625
630
|
oDateValue.setMilliseconds(iDateValueMilliseconds);
|
|
626
631
|
|
|
@@ -1165,7 +1170,7 @@ function(
|
|
|
1165
1170
|
TimePicker.prototype._getLocale = function () {
|
|
1166
1171
|
var sLocaleId = this.getLocaleId();
|
|
1167
1172
|
|
|
1168
|
-
return sLocaleId ? new Locale(sLocaleId) :
|
|
1173
|
+
return sLocaleId ? new Locale(sLocaleId) : Configuration.getFormatSettings().getFormatLocale();
|
|
1169
1174
|
};
|
|
1170
1175
|
|
|
1171
1176
|
/**
|
|
@@ -1691,7 +1696,7 @@ function(
|
|
|
1691
1696
|
sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
1692
1697
|
|
|
1693
1698
|
oDate = this._getPickerParser()
|
|
1694
|
-
.parse(sFormattedDate,
|
|
1699
|
+
.parse(sFormattedDate, Configuration.getTimezone())[0];
|
|
1695
1700
|
|
|
1696
1701
|
this._isClockPicker = true;
|
|
1697
1702
|
this._isNumericPicker = false;
|
|
@@ -1725,7 +1730,7 @@ function(
|
|
|
1725
1730
|
sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
1726
1731
|
|
|
1727
1732
|
oDate = this._getPickerParser()
|
|
1728
|
-
.parse(sFormattedDate,
|
|
1733
|
+
.parse(sFormattedDate, Configuration.getTimezone())[0];
|
|
1729
1734
|
|
|
1730
1735
|
this._isClockPicker = false;
|
|
1731
1736
|
this._isNumericPicker = true;
|
|
@@ -1753,7 +1758,7 @@ function(
|
|
|
1753
1758
|
*/
|
|
1754
1759
|
TimePicker.prototype._getLocaleBasedPattern = function (sPlaceholder) {
|
|
1755
1760
|
return LocaleData.getInstance(
|
|
1756
|
-
|
|
1761
|
+
Configuration.getFormatSettings().getFormatLocale()
|
|
1757
1762
|
).getTimePattern(sPlaceholder);
|
|
1758
1763
|
};
|
|
1759
1764
|
|
|
@@ -2300,7 +2305,7 @@ function(
|
|
|
2300
2305
|
};
|
|
2301
2306
|
|
|
2302
2307
|
function getDefaultDisplayFormat() {
|
|
2303
|
-
var oLocale =
|
|
2308
|
+
var oLocale = Configuration.getFormatSettings().getFormatLocale(),
|
|
2304
2309
|
oLocaleData = LocaleData.getInstance(oLocale);
|
|
2305
2310
|
|
|
2306
2311
|
return oLocaleData.getTimePattern(TimeFormatStyles.Medium);
|