@openui5/sap.m 1.106.0 → 1.107.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/sap/m/.library +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +4 -3
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -72,135 +72,138 @@ sap.ui.define([
|
|
|
72
72
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/message-page/ Message Page}
|
|
73
73
|
*
|
|
74
74
|
* @extends sap.ui.core.Control
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.107.1
|
|
76
76
|
*
|
|
77
77
|
* @constructor
|
|
78
78
|
* @public
|
|
79
79
|
* @since 1.28
|
|
80
80
|
* @alias sap.m.MessagePage
|
|
81
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
82
81
|
*/
|
|
83
|
-
var MessagePage = Control.extend("sap.m.MessagePage", /** @lends sap.m.MessagePage.prototype */ {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
82
|
+
var MessagePage = Control.extend("sap.m.MessagePage", /** @lends sap.m.MessagePage.prototype */ {
|
|
83
|
+
metadata : {
|
|
84
|
+
|
|
85
|
+
library : "sap.m",
|
|
86
|
+
properties : {
|
|
87
|
+
/**
|
|
88
|
+
* Determines the main text displayed on the MessagePage.
|
|
89
|
+
*/
|
|
90
|
+
text : {type : "string", group : "Misc", defaultValue : "No matching items found."},
|
|
91
|
+
/**
|
|
92
|
+
* Determines the detailed description that shows additional information on the MessagePage.
|
|
93
|
+
*/
|
|
94
|
+
description : {type : "string", group : "Misc", defaultValue : "Check the filter settings."},
|
|
95
|
+
/**
|
|
96
|
+
* Determines the title in the header of MessagePage.
|
|
97
|
+
*/
|
|
98
|
+
title : { type : "string", group : "Misc", defaultValue : null },
|
|
99
|
+
/**
|
|
100
|
+
* Defines the semantic level of the title. When using <code>Auto</code>, no explicit level information is written.
|
|
101
|
+
*
|
|
102
|
+
* <b>Note:</b> Used for accessibility purposes only.
|
|
103
|
+
*
|
|
104
|
+
* @since 1.97
|
|
105
|
+
*/
|
|
106
|
+
titleLevel : { type: "sap.ui.core.TitleLevel", group: "Appearance", defaultValue: TitleLevel.Auto },
|
|
107
|
+
/**
|
|
108
|
+
* Determines the visibility of the MessagePage header.
|
|
109
|
+
* Can be used to hide the header of the MessagePage when it's embedded in another page.
|
|
110
|
+
*/
|
|
111
|
+
showHeader : { type : "boolean", group : "Appearance", defaultValue : true },
|
|
112
|
+
/**
|
|
113
|
+
* Determines the visibility of the navigation button in MessagePage header.
|
|
114
|
+
*/
|
|
115
|
+
showNavButton : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
116
|
+
/**
|
|
117
|
+
* Determines the icon displayed on the MessagePage.
|
|
118
|
+
*/
|
|
119
|
+
icon : {type : "sap.ui.core.URI", group : "Misc", defaultValue : "sap-icon://documents" },
|
|
120
|
+
/**
|
|
121
|
+
* Defines the alt attribute of the icon displayed on the <code>MessagePage</code>.
|
|
122
|
+
*
|
|
123
|
+
* @since 1.52
|
|
124
|
+
*/
|
|
125
|
+
iconAlt : {type : "string", group : "Misc", defaultValue : null },
|
|
126
|
+
/**
|
|
127
|
+
* Determines the element's text directionality with enumerated options. By default, the control inherits text direction from the DOM.
|
|
128
|
+
*/
|
|
129
|
+
textDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Defines whether the value set in the <code>description</code> property is displayed
|
|
133
|
+
* as formatted text in HTML format.
|
|
134
|
+
*
|
|
135
|
+
* For details regarding supported HTML tags, see {@link sap.m.FormattedText}
|
|
136
|
+
* @since 1.54
|
|
137
|
+
*/
|
|
138
|
+
enableFormattedText: { type: "boolean", group: "Appearance", defaultValue: false }
|
|
139
|
+
},
|
|
140
|
+
aggregations : {
|
|
141
|
+
/**
|
|
142
|
+
* The (optional) custom Text control of this page.
|
|
143
|
+
* Use this aggregation when the "text" (sap.m.Text) control needs to be replaced with an sap.m.Link control.
|
|
144
|
+
* "text" and "textDirection" setters can be used for this aggregation.
|
|
145
|
+
*/
|
|
146
|
+
customText : {type : "sap.m.Link", multiple : false},
|
|
147
|
+
/**
|
|
148
|
+
* The (optional) custom description control of this page.
|
|
149
|
+
* Use this aggregation when the "description" (sap.m.Text) control needs to be replaced with an sap.m.Link control.
|
|
150
|
+
* "description" and "textDirection" setters can be used for this aggregation.
|
|
151
|
+
*/
|
|
152
|
+
customDescription : {type : "sap.m.Link", multiple : false},
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The buttons displayed under the description text.
|
|
156
|
+
*
|
|
157
|
+
* <b>Note:</b> Buttons added to this aggregation are both vertically and horizontally
|
|
158
|
+
* centered. Depending on the available space, they may be rendered on several lines.
|
|
159
|
+
* @since 1.54
|
|
160
|
+
*/
|
|
161
|
+
buttons: {type: "sap.m.Button", multiple: true},
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* A header bar which is managed internally by the MessagePage control.
|
|
165
|
+
*/
|
|
166
|
+
_internalHeader: {type: "sap.m.Bar", multiple: false, visibility: "hidden"},
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The formatted text which is used when enableFormattedText is true.
|
|
170
|
+
*/
|
|
171
|
+
_formattedText: {type: "sap.m.FormattedText", multiple: false, visibility: "hidden" },
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* The text displayed under the icon.
|
|
175
|
+
*/
|
|
176
|
+
_text: {type: "sap.m.Text", multiple: false, visibility: "hidden"},
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The description displayed under the text when enableFormattedText is false.
|
|
180
|
+
*/
|
|
181
|
+
_description: {type: "sap.m.Text", multiple: false, visibility: "hidden"}
|
|
182
|
+
},
|
|
183
|
+
associations : {
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
187
|
+
*/
|
|
188
|
+
ariaDescribedBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaDescribedBy"},
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
192
|
+
*/
|
|
193
|
+
ariaLabelledBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
|
|
194
|
+
},
|
|
195
|
+
events : {
|
|
196
|
+
/**
|
|
197
|
+
* This event is fired when Nav Button is pressed.
|
|
198
|
+
* @since 1.28.1
|
|
199
|
+
*/
|
|
200
|
+
navButtonPress : {}
|
|
201
|
+
},
|
|
202
|
+
designtime: "sap/m/designtime/MessagePage.designtime"
|
|
139
203
|
},
|
|
140
|
-
aggregations : {
|
|
141
|
-
/**
|
|
142
|
-
* The (optional) custom Text control of this page.
|
|
143
|
-
* Use this aggregation when the "text" (sap.m.Text) control needs to be replaced with an sap.m.Link control.
|
|
144
|
-
* "text" and "textDirection" setters can be used for this aggregation.
|
|
145
|
-
*/
|
|
146
|
-
customText : {type : "sap.m.Link", multiple : false},
|
|
147
|
-
/**
|
|
148
|
-
* The (optional) custom description control of this page.
|
|
149
|
-
* Use this aggregation when the "description" (sap.m.Text) control needs to be replaced with an sap.m.Link control.
|
|
150
|
-
* "description" and "textDirection" setters can be used for this aggregation.
|
|
151
|
-
*/
|
|
152
|
-
customDescription : {type : "sap.m.Link", multiple : false},
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* The buttons displayed under the description text.
|
|
156
|
-
*
|
|
157
|
-
* <b>Note:</b> Buttons added to this aggregation are both vertically and horizontally
|
|
158
|
-
* centered. Depending on the available space, they may be rendered on several lines.
|
|
159
|
-
* @since 1.54
|
|
160
|
-
*/
|
|
161
|
-
buttons: {type: "sap.m.Button", multiple: true},
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* A header bar which is managed internally by the MessagePage control.
|
|
165
|
-
*/
|
|
166
|
-
_internalHeader: {type: "sap.m.Bar", multiple: false, visibility: "hidden"},
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* The formatted text which is used when enableFormattedText is true.
|
|
170
|
-
*/
|
|
171
|
-
_formattedText: {type: "sap.m.FormattedText", multiple: false, visibility: "hidden" },
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* The text displayed under the icon.
|
|
175
|
-
*/
|
|
176
|
-
_text: {type: "sap.m.Text", multiple: false, visibility: "hidden"},
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The description displayed under the text when enableFormattedText is false.
|
|
180
|
-
*/
|
|
181
|
-
_description: {type: "sap.m.Text", multiple: false, visibility: "hidden"}
|
|
182
|
-
},
|
|
183
|
-
associations : {
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
187
|
-
*/
|
|
188
|
-
ariaDescribedBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaDescribedBy"},
|
|
189
204
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
*/
|
|
193
|
-
ariaLabelledBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
|
|
194
|
-
},
|
|
195
|
-
events : {
|
|
196
|
-
/**
|
|
197
|
-
* This event is fired when Nav Button is pressed.
|
|
198
|
-
* @since 1.28.1
|
|
199
|
-
*/
|
|
200
|
-
navButtonPress : {}
|
|
201
|
-
},
|
|
202
|
-
designtime: "sap/m/designtime/MessagePage.designtime"
|
|
203
|
-
}});
|
|
205
|
+
renderer: MessagePageRenderer
|
|
206
|
+
});
|
|
204
207
|
|
|
205
208
|
/**
|
|
206
209
|
* STATIC MEMBERS
|
|
@@ -91,14 +91,13 @@ function(
|
|
|
91
91
|
* @extends sap.ui.core.Control
|
|
92
92
|
*
|
|
93
93
|
* @author SAP SE
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.107.1
|
|
95
95
|
*
|
|
96
96
|
* @constructor
|
|
97
97
|
* @public
|
|
98
98
|
* @since 1.28
|
|
99
99
|
* @alias sap.m.MessagePopover
|
|
100
100
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/message-popover/ Message Popover}
|
|
101
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
102
101
|
*/
|
|
103
102
|
var MessagePopover = Control.extend("sap.m.MessagePopover", /** @lends sap.m.MessagePopover.prototype */ {
|
|
104
103
|
metadata: {
|
|
@@ -114,7 +113,7 @@ function(
|
|
|
114
113
|
* @param {function} config.promise.resolve Method to resolve promise
|
|
115
114
|
* @param {function} config.promise.reject Method to reject promise
|
|
116
115
|
*/
|
|
117
|
-
asyncDescriptionHandler: {type: "
|
|
116
|
+
asyncDescriptionHandler: {type: "function", group: "Behavior", defaultValue: null},
|
|
118
117
|
|
|
119
118
|
/**
|
|
120
119
|
* Callback function for resolving a promise after a link has been asynchronously validated inside this function.
|
|
@@ -127,7 +126,7 @@ function(
|
|
|
127
126
|
* @param {function} config.promise.resolve Method to resolve promise
|
|
128
127
|
* @param {function} config.promise.reject Method to reject promise
|
|
129
128
|
*/
|
|
130
|
-
asyncURLHandler: {type: "
|
|
129
|
+
asyncURLHandler: {type: "function", group: "Behavior", defaultValue: null},
|
|
131
130
|
|
|
132
131
|
/**
|
|
133
132
|
* Determines the position, where the control will appear on the screen.
|
|
@@ -270,7 +269,9 @@ function(
|
|
|
270
269
|
}
|
|
271
270
|
}
|
|
272
271
|
}
|
|
273
|
-
}
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
renderer: MessagePopoverRenderer
|
|
274
275
|
});
|
|
275
276
|
|
|
276
277
|
|
|
@@ -517,7 +518,6 @@ function(
|
|
|
517
518
|
* @param {sap.ui.core.Control} oControl Control which opens the MessagePopover
|
|
518
519
|
* @returns {this} Reference to the 'this' for chaining purposes
|
|
519
520
|
* @public
|
|
520
|
-
* @ui5-metamodel
|
|
521
521
|
*/
|
|
522
522
|
MessagePopover.prototype.openBy = function (oControl) {
|
|
523
523
|
var oResponsivePopoverControl = this._oPopover.getAggregation("_popup"),
|
|
@@ -19,14 +19,13 @@ sap.ui.define(["./library", "./MessageItem"],
|
|
|
19
19
|
* @extends sap.m.MessageItem
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.107.1
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.28
|
|
27
27
|
* @deprecated Since version 1.46, use MessageItem instead
|
|
28
28
|
* @alias sap.m.MessagePopoverItem
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
30
|
|
|
32
31
|
var MessagePopoverItem = MessageItem.extend("sap.m.MessagePopoverItem", /** @lends sap.m.MessagePopoverItem.prototype */ {
|
|
@@ -83,14 +83,13 @@ sap.ui.define([
|
|
|
83
83
|
* @extends sap.ui.core.Control
|
|
84
84
|
*
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.107.1
|
|
87
87
|
*
|
|
88
88
|
* @constructor
|
|
89
89
|
* @public
|
|
90
90
|
* @since 1.30
|
|
91
91
|
* @alias sap.m.MessageStrip
|
|
92
92
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/message-strip/ Message Strip}
|
|
93
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
94
93
|
*/
|
|
95
94
|
var MessageStrip = Control.extend("sap.m.MessageStrip", /** @lends sap.m.MessageStrip.prototype */ {
|
|
96
95
|
metadata: {
|
|
@@ -177,7 +176,9 @@ sap.ui.define([
|
|
|
177
176
|
close: {}
|
|
178
177
|
},
|
|
179
178
|
dnd: { draggable: true, droppable: false }
|
|
180
|
-
}
|
|
179
|
+
},
|
|
180
|
+
|
|
181
|
+
renderer: MessageStripRenderer
|
|
181
182
|
});
|
|
182
183
|
|
|
183
184
|
MessageStrip.prototype.init = function () {
|
|
@@ -11,9 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/Control',
|
|
12
12
|
'sap/ui/Device',
|
|
13
13
|
"sap/base/Log",
|
|
14
|
-
"sap/ui/thirdparty/jquery"
|
|
14
|
+
"sap/ui/thirdparty/jquery",
|
|
15
|
+
"sap/ui/core/Configuration"
|
|
15
16
|
],
|
|
16
|
-
function(InstanceManager, Popup, coreLibrary, Control, Device, Log, jQuery) {
|
|
17
|
+
function(InstanceManager, Popup, coreLibrary, Control, Device, Log, jQuery, Configuration) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
// shortcut for sap.ui.core.Dock
|
|
@@ -70,7 +71,7 @@ sap.ui.define([
|
|
|
70
71
|
* The message toast has the same behavior on all devices. However, you can adjust the width of the control, for example, for use on a desktop device.
|
|
71
72
|
*
|
|
72
73
|
* @author SAP SE
|
|
73
|
-
* @version 1.
|
|
74
|
+
* @version 1.107.1
|
|
74
75
|
*
|
|
75
76
|
* @namespace
|
|
76
77
|
* @public
|
|
@@ -224,7 +225,7 @@ sap.ui.define([
|
|
|
224
225
|
|
|
225
226
|
oMessageToastDomRef.className = CSSCLASS + " " + ENABLESELECTIONCLASS + " " + BELIZECONTRAST + " " + BELIZECONTRASTPLUS;
|
|
226
227
|
|
|
227
|
-
if (
|
|
228
|
+
if (Configuration.getAccessibility()) {
|
|
228
229
|
oMessageToastDomRef.setAttribute("role", "alert");
|
|
229
230
|
}
|
|
230
231
|
|
|
@@ -324,7 +325,7 @@ sap.ui.define([
|
|
|
324
325
|
var sCssTransition = "opacity " + mSettings.animationTimingFunction + " " + mSettings.animationDuration + "ms",
|
|
325
326
|
sTransitionEnd = "webkitTransitionEnd." + CSSCLASS + " transitionend." + CSSCLASS;
|
|
326
327
|
|
|
327
|
-
if (
|
|
328
|
+
if (Configuration.getAnimation() && mSettings.animationDuration > 0) {
|
|
328
329
|
$MessageToastDomRef[0].style.webkitTransition = sCssTransition;
|
|
329
330
|
$MessageToastDomRef[0].style.transition = sCssTransition;
|
|
330
331
|
$MessageToastDomRef[0].style.opacity = 0;
|
package/src/sap/m/MessageView.js
CHANGED
|
@@ -112,7 +112,7 @@ sap.ui.define([
|
|
|
112
112
|
* The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
|
|
113
113
|
* container’s sizes are not defined.
|
|
114
114
|
* @author SAP SE
|
|
115
|
-
* @version 1.
|
|
115
|
+
* @version 1.107.1
|
|
116
116
|
*
|
|
117
117
|
* @extends sap.ui.core.Control
|
|
118
118
|
* @constructor
|
|
@@ -120,7 +120,6 @@ sap.ui.define([
|
|
|
120
120
|
* @since 1.46
|
|
121
121
|
* @alias sap.m.MessageView
|
|
122
122
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/message-view/ Message View}
|
|
123
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
124
123
|
*/
|
|
125
124
|
var MessageView = Control.extend("sap.m.MessageView", /** @lends sap.m.MessageView.prototype */ {
|
|
126
125
|
metadata: {
|
|
@@ -135,7 +134,7 @@ sap.ui.define([
|
|
|
135
134
|
* @param {function} config.promise.resolve Method to resolve promise
|
|
136
135
|
* @param {function} config.promise.reject Method to reject promise
|
|
137
136
|
*/
|
|
138
|
-
asyncDescriptionHandler: {type: "
|
|
137
|
+
asyncDescriptionHandler: {type: "function", group: "Behavior", defaultValue: null},
|
|
139
138
|
|
|
140
139
|
/**
|
|
141
140
|
* Callback function for resolving a promise after a link has been asynchronously validated inside this function.
|
|
@@ -147,7 +146,7 @@ sap.ui.define([
|
|
|
147
146
|
* @param {function} config.promise.resolve Method to resolve promise
|
|
148
147
|
* @param {function} config.promise.reject Method to reject promise
|
|
149
148
|
*/
|
|
150
|
-
asyncURLHandler: {type: "
|
|
149
|
+
asyncURLHandler: {type: "function", group: "Behavior", defaultValue: null},
|
|
151
150
|
|
|
152
151
|
/**
|
|
153
152
|
* Defines whether the MessageItems are grouped or not.
|
|
@@ -240,7 +239,9 @@ sap.ui.define([
|
|
|
240
239
|
}
|
|
241
240
|
}
|
|
242
241
|
}
|
|
243
|
-
}
|
|
242
|
+
},
|
|
243
|
+
|
|
244
|
+
renderer: MessageViewRenderer
|
|
244
245
|
});
|
|
245
246
|
|
|
246
247
|
var CSS_CLASS = "sapMMsgView";
|
|
@@ -145,7 +145,7 @@ function(
|
|
|
145
145
|
* </ul>
|
|
146
146
|
*
|
|
147
147
|
* @author SAP SE
|
|
148
|
-
* @version 1.
|
|
148
|
+
* @version 1.107.1
|
|
149
149
|
*
|
|
150
150
|
* @constructor
|
|
151
151
|
* @extends sap.m.ComboBoxBase
|
|
@@ -153,90 +153,93 @@ function(
|
|
|
153
153
|
* @since 1.22.0
|
|
154
154
|
* @alias sap.m.MultiComboBox
|
|
155
155
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/multi-combobox/ Multi-Combo Box}
|
|
156
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
157
156
|
*/
|
|
158
|
-
var MultiComboBox = ComboBoxBase.extend("sap.m.MultiComboBox", /** @lends sap.m.MultiComboBox.prototype */ {
|
|
157
|
+
var MultiComboBox = ComboBoxBase.extend("sap.m.MultiComboBox", /** @lends sap.m.MultiComboBox.prototype */ {
|
|
158
|
+
metadata: {
|
|
159
159
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
library: "sap.m",
|
|
161
|
+
designtime: "sap/m/designtime/MultiComboBox.designtime",
|
|
162
|
+
properties: {
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
/**
|
|
165
|
+
* Keys of the selected items. If the key has no corresponding item, no changes will apply. If duplicate keys exists the first item matching the key is used.
|
|
166
|
+
*/
|
|
167
|
+
selectedKeys: { type: "string[]", group: "Data", defaultValue: [] },
|
|
168
168
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
/**
|
|
170
|
+
* Defines if there are selected items or not.
|
|
171
|
+
*/
|
|
172
|
+
hasSelection: { type: "boolean", visibility: "hidden", defaultValue: false },
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
},
|
|
179
|
-
associations: {
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Provides getter and setter for the selected items from
|
|
183
|
-
* the aggregation named items.
|
|
184
|
-
*/
|
|
185
|
-
selectedItems: { type: "sap.ui.core.Item", multiple: true, singularName: "selectedItem" }
|
|
186
|
-
},
|
|
187
|
-
aggregations: {
|
|
188
|
-
/**
|
|
189
|
-
* The tokenizer which displays the tokens
|
|
190
|
-
*/
|
|
191
|
-
tokenizer: {type: "sap.m.Tokenizer", multiple: false, visibility: "hidden"}
|
|
192
|
-
},
|
|
193
|
-
events: {
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Event is fired when selection of an item is changed.
|
|
197
|
-
* Note: please do not use the "change" event inherited from sap.m.InputBase
|
|
198
|
-
*/
|
|
199
|
-
selectionChange: {
|
|
200
|
-
parameters: {
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Item which selection is changed
|
|
204
|
-
*/
|
|
205
|
-
changedItem: { type: "sap.ui.core.Item" },
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Array of items whose selection has changed.
|
|
209
|
-
*/
|
|
210
|
-
changedItems : {type : "sap.ui.core.Item[]"},
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Selection state: true if item is selected, false if
|
|
214
|
-
* item is not selected
|
|
215
|
-
*/
|
|
216
|
-
selected: { type: "boolean" },
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Indicates whether the select all action is triggered or not.
|
|
220
|
-
*/
|
|
221
|
-
selectAll : {type : "boolean"}
|
|
222
|
-
}
|
|
174
|
+
/**
|
|
175
|
+
* Determines if the select all checkbox is visible on top of suggestions.
|
|
176
|
+
*/
|
|
177
|
+
showSelectAll: { type: "boolean", defaultValue: false }
|
|
223
178
|
},
|
|
179
|
+
associations: {
|
|
224
180
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
181
|
+
/**
|
|
182
|
+
* Provides getter and setter for the selected items from
|
|
183
|
+
* the aggregation named items.
|
|
184
|
+
*/
|
|
185
|
+
selectedItems: { type: "sap.ui.core.Item", multiple: true, singularName: "selectedItem" }
|
|
186
|
+
},
|
|
187
|
+
aggregations: {
|
|
188
|
+
/**
|
|
189
|
+
* The tokenizer which displays the tokens
|
|
190
|
+
*/
|
|
191
|
+
tokenizer: {type: "sap.m.Tokenizer", multiple: false, visibility: "hidden"}
|
|
192
|
+
},
|
|
193
|
+
events: {
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Event is fired when selection of an item is changed.
|
|
197
|
+
* Note: please do not use the "change" event inherited from sap.m.InputBase
|
|
198
|
+
*/
|
|
199
|
+
selectionChange: {
|
|
200
|
+
parameters: {
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Item which selection is changed
|
|
204
|
+
*/
|
|
205
|
+
changedItem: { type: "sap.ui.core.Item" },
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Array of items whose selection has changed.
|
|
209
|
+
*/
|
|
210
|
+
changedItems : {type : "sap.ui.core.Item[]"},
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Selection state: true if item is selected, false if
|
|
214
|
+
* item is not selected
|
|
215
|
+
*/
|
|
216
|
+
selected: { type: "boolean" },
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Indicates whether the select all action is triggered or not.
|
|
220
|
+
*/
|
|
221
|
+
selectAll : {type : "boolean"}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Event is fired when user has finished a selection of items in a list box and list box has been closed.
|
|
227
|
+
*/
|
|
228
|
+
selectionFinish: {
|
|
229
|
+
parameters: {
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The selected items which are selected after list box has been closed.
|
|
233
|
+
*/
|
|
234
|
+
selectedItems: { type: "sap.ui.core.Item[]" }
|
|
235
|
+
}
|
|
235
236
|
}
|
|
236
|
-
}
|
|
237
|
+
},
|
|
238
|
+
dnd: { draggable: false, droppable: true }
|
|
237
239
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
+
|
|
241
|
+
renderer: MultiComboBoxRenderer
|
|
242
|
+
});
|
|
240
243
|
|
|
241
244
|
IconPool.insertFontFaceStyle();
|
|
242
245
|
EnabledPropagator.apply(MultiComboBox.prototype, [true]);
|
|
@@ -2298,20 +2301,16 @@ function(
|
|
|
2298
2301
|
var bItemSelected = false;
|
|
2299
2302
|
var aSelectedItems = this.getSelectedItems();
|
|
2300
2303
|
|
|
2301
|
-
// for the purpose to copy from column in excel and paste in MultiInput/MultiComboBox
|
|
2302
|
-
if (window.clipboardData) {
|
|
2303
2304
|
|
|
2304
|
-
|
|
2305
|
-
sOriginalText = window.clipboardData.getData("Text");
|
|
2306
|
-
} else {
|
|
2305
|
+
sOriginalText = oEvent.originalEvent.clipboardData.getData('text/plain');
|
|
2307
2306
|
|
|
2308
|
-
|
|
2309
|
-
sOriginalText =
|
|
2307
|
+
if (sOriginalText.length && sOriginalText.endsWith("\r\n")) {
|
|
2308
|
+
sOriginalText = sOriginalText.substring(0, sOriginalText.lastIndexOf("\r\n"));
|
|
2310
2309
|
}
|
|
2311
2310
|
|
|
2312
|
-
var aSeparatedText = sOriginalText.split(/\r\n|\r|\n/g);
|
|
2311
|
+
var aSeparatedText = sOriginalText.split(/\r\n|\r|\n|\t/g);
|
|
2313
2312
|
|
|
2314
|
-
if (aSeparatedText && aSeparatedText.length >
|
|
2313
|
+
if (aSeparatedText && aSeparatedText.length > 1) {
|
|
2315
2314
|
ListHelpers.getSelectableItems(this.getItems())
|
|
2316
2315
|
.filter(function (oItem) {
|
|
2317
2316
|
return aSelectedItems.indexOf(oItem) === -1;
|
|
@@ -2867,7 +2866,6 @@ function(
|
|
|
2867
2866
|
* @param {string[]} aKeys An array of item keys that identifies the items to be removed
|
|
2868
2867
|
* @returns {sap.ui.core.Item[]} The removed items
|
|
2869
2868
|
* @public
|
|
2870
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
2871
2869
|
*/
|
|
2872
2870
|
MultiComboBox.prototype.removeSelectedKeys = function (aKeys) {
|
|
2873
2871
|
var oItem, aItems = [];
|
|
@@ -2923,7 +2921,6 @@ function(
|
|
|
2923
2921
|
* @param {string[]} aKeys An array of item keys that identifies the items to be added as selected
|
|
2924
2922
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
2925
2923
|
* @public
|
|
2926
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
2927
2924
|
*/
|
|
2928
2925
|
MultiComboBox.prototype.addSelectedKeys = function (aKeys) {
|
|
2929
2926
|
var aStoredSelectedKeys,
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/XMLComposite", "./library", "sap/ui/core/Item"], fun
|
|
|
17
17
|
* @implements sap.ui.core.IFormContent
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.107.1
|
|
21
21
|
* @experimental since 1.52
|
|
22
22
|
* @since 1.52.0
|
|
23
23
|
* @alias sap.m.MultiEditField
|