@openui5/sap.m 1.92.0 → 1.93.3
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 +5 -0
- package/THIRDPARTY.txt +10 -1
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +14 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +9 -6
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +9 -4
- package/src/sap/m/CheckBoxRenderer.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +9 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +8 -2
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +9 -2
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +69 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +15 -8
- package/src/sap/m/Dialog.js +3 -3
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +53 -8
- package/src/sap/m/DynamicDateFormat.js +12 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +96 -17
- package/src/sap/m/DynamicDateUtil.js +20 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +4 -2
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +2 -2
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +5 -2
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +32 -67
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GenericTileRenderer.js +46 -8
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +31 -34
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +68 -32
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +18 -7
- package/src/sap/m/IconTabHeaderRenderer.js +1 -0
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +23 -15
- package/src/sap/m/InputBase.js +4 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +2 -2
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +50 -20
- package/src/sap/m/ListItemBase.js +8 -7
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +2 -2
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +30 -0
- package/src/sap/m/MessageItem.js +1 -16
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -4
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageStripUtilities.js +15 -2
- package/src/sap/m/MessageToast.js +2 -2
- package/src/sap/m/MessageView.js +17 -28
- package/src/sap/m/MultiComboBox.js +169 -164
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +2 -3
- package/src/sap/m/NavContainer.js +9 -7
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectHeaderRenderer.js +10 -7
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +10 -6
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +167 -44
- package/src/sap/m/PlanningCalendarHeader.js +36 -5
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +26 -2
- package/src/sap/m/Popover.js +11 -2
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +5 -5
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +69 -29
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +34 -19
- package/src/sap/m/SearchFieldRenderer.js +13 -3
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +6 -0
- package/src/sap/m/Select.js +21 -13
- package/src/sap/m/SelectDialog.js +21 -49
- package/src/sap/m/SelectDialogBase.js +148 -0
- package/src/sap/m/SelectList.js +13 -3
- package/src/sap/m/SelectRenderer.js +19 -3
- package/src/sap/m/SelectionDetails.js +5 -2
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +4 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +48 -5
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +3 -3
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +2 -2
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitButtonRenderer.js +5 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +44 -1
- package/src/sap/m/Switch.js +9 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +48 -6
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +3 -2
- package/src/sap/m/TableSelectDialog.js +21 -46
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +2 -2
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +8 -3
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +3 -1
- package/src/sap/m/TimePickerInputs.js +3 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/TimePickerSlidersRenderer.js +0 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +2 -1
- package/src/sap/m/TokenizerRenderer.js +1 -0
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +4 -4
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +7 -7
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +76 -44
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
- package/src/sap/m/changeHandler/CombineButtons.js +280 -173
- package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
- package/src/sap/m/changeHandler/SplitMenuButton.js +141 -93
- package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
- package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
- package/src/sap/m/library.js +26 -2
- package/src/sap/m/messagebundle.properties +10 -1
- package/src/sap/m/messagebundle_ar.properties +7 -0
- package/src/sap/m/messagebundle_bg.properties +7 -0
- package/src/sap/m/messagebundle_ca.properties +7 -0
- package/src/sap/m/messagebundle_cs.properties +7 -0
- package/src/sap/m/messagebundle_cy.properties +7 -0
- package/src/sap/m/messagebundle_da.properties +7 -0
- package/src/sap/m/messagebundle_de.properties +11 -4
- package/src/sap/m/messagebundle_el.properties +7 -0
- package/src/sap/m/messagebundle_en.properties +7 -0
- package/src/sap/m/messagebundle_en_GB.properties +7 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +6 -0
- package/src/sap/m/messagebundle_en_US_saptrc.properties +7 -0
- package/src/sap/m/messagebundle_es.properties +7 -0
- package/src/sap/m/messagebundle_es_MX.properties +7 -0
- package/src/sap/m/messagebundle_et.properties +7 -0
- package/src/sap/m/messagebundle_fi.properties +7 -0
- package/src/sap/m/messagebundle_fr.properties +7 -0
- package/src/sap/m/messagebundle_fr_CA.properties +7 -0
- package/src/sap/m/messagebundle_hi.properties +7 -0
- package/src/sap/m/messagebundle_hr.properties +7 -0
- package/src/sap/m/messagebundle_hu.properties +7 -0
- package/src/sap/m/messagebundle_id.properties +7 -0
- package/src/sap/m/messagebundle_it.properties +7 -0
- package/src/sap/m/messagebundle_iw.properties +7 -0
- package/src/sap/m/messagebundle_ja.properties +7 -0
- package/src/sap/m/messagebundle_kk.properties +7 -0
- package/src/sap/m/messagebundle_ko.properties +7 -0
- package/src/sap/m/messagebundle_lt.properties +7 -0
- package/src/sap/m/messagebundle_lv.properties +7 -0
- package/src/sap/m/messagebundle_ms.properties +7 -0
- package/src/sap/m/messagebundle_nl.properties +7 -0
- package/src/sap/m/messagebundle_no.properties +7 -0
- package/src/sap/m/messagebundle_pl.properties +7 -0
- package/src/sap/m/messagebundle_pt.properties +7 -0
- package/src/sap/m/messagebundle_pt_PT.properties +7 -0
- package/src/sap/m/messagebundle_ro.properties +7 -0
- package/src/sap/m/messagebundle_ru.properties +7 -0
- package/src/sap/m/messagebundle_sh.properties +7 -0
- package/src/sap/m/messagebundle_sk.properties +7 -0
- package/src/sap/m/messagebundle_sl.properties +7 -0
- package/src/sap/m/messagebundle_sv.properties +7 -0
- package/src/sap/m/messagebundle_th.properties +7 -0
- package/src/sap/m/messagebundle_tr.properties +7 -0
- package/src/sap/m/messagebundle_uk.properties +7 -0
- package/src/sap/m/messagebundle_vi.properties +7 -0
- package/src/sap/m/messagebundle_zh_CN.properties +7 -0
- package/src/sap/m/messagebundle_zh_TW.properties +7 -0
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +5 -3
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/themes/base/Carousel.less +37 -2
- package/src/sap/m/themes/base/CheckBox.less +1 -1
- package/src/sap/m/themes/base/Dialog.less +11 -5
- package/src/sap/m/themes/base/FeedInput.less +5 -6
- package/src/sap/m/themes/base/GenericTile.less +130 -7
- package/src/sap/m/themes/base/IconTabBar.less +179 -64
- package/src/sap/m/themes/base/IconTabBarSelectList.less +12 -2
- package/src/sap/m/themes/base/InputBase.less +0 -24
- package/src/sap/m/themes/base/Label.less +6 -0
- package/src/sap/m/themes/base/ListItemBase.less +4 -2
- package/src/sap/m/themes/base/NotificationListBase.less +1 -1
- package/src/sap/m/themes/base/ObjectHeader.less +2 -1
- package/src/sap/m/themes/base/ObjectStatus.less +9 -2
- package/src/sap/m/themes/base/PlanningCalendar.less +23 -7
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
- package/src/sap/m/themes/base/RadioButton.less +3 -0
- package/src/sap/m/themes/base/SearchField.less +22 -15
- package/src/sap/m/themes/base/SegmentedButton.less +1 -1
- package/src/sap/m/themes/base/StandardListItem.less +5 -1
- package/src/sap/m/themes/base/Table.less +14 -12
- package/src/sap/m/themes/base/Text.less +6 -0
- package/src/sap/m/themes/base/TimePicker.less +5 -1
- package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
- package/src/sap/m/themes/base/Toolbar.less +6 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +1 -1
- package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +16 -1
package/src/sap/m/ListBase.js
CHANGED
|
@@ -71,6 +71,8 @@ function(
|
|
|
71
71
|
// shortcut for sap.m.Sticky
|
|
72
72
|
var Sticky = library.Sticky;
|
|
73
73
|
|
|
74
|
+
// shortcut for sap.m.MultiSelectMode
|
|
75
|
+
var MultiSelectMode = library.MultiSelectMode;
|
|
74
76
|
|
|
75
77
|
/**
|
|
76
78
|
* Constructor for a new ListBase.
|
|
@@ -88,7 +90,7 @@ function(
|
|
|
88
90
|
* @extends sap.ui.core.Control
|
|
89
91
|
*
|
|
90
92
|
* @author SAP SE
|
|
91
|
-
* @version 1.
|
|
93
|
+
* @version 1.93.3
|
|
92
94
|
*
|
|
93
95
|
* @constructor
|
|
94
96
|
* @public
|
|
@@ -243,7 +245,24 @@ function(
|
|
|
243
245
|
*
|
|
244
246
|
* @since 1.58
|
|
245
247
|
*/
|
|
246
|
-
sticky : {type : "sap.m.Sticky[]", group : "Appearance"}
|
|
248
|
+
sticky : {type : "sap.m.Sticky[]", group : "Appearance"},
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Defines the multi-selection mode for the control.
|
|
252
|
+
* If this property is set to the <code>Default</code> value, the <code>sap.m.Table</code> control renders
|
|
253
|
+
* the Select All checkbox in the column header, otherwise the Deselect All icon is rendered.
|
|
254
|
+
* The Select All checkbox allows the user to select all the items in the control, and
|
|
255
|
+
* the Deselect All icon deselects the items.
|
|
256
|
+
* If the property is set to <code>ClearAll</code>, then selecting items via the <code>selectAll</code> method is not possible. See {@link #selectAll selectAll} for more details.
|
|
257
|
+
*
|
|
258
|
+
* <b>Note:</b> This property must be used with the <code>MultiSelect</code> mode.
|
|
259
|
+
* If this property is set to <code>ClearAll</code>, then a selection of multiple items is still possible
|
|
260
|
+
* via the range selection feature except <i>CTRL + A</i>.
|
|
261
|
+
* Additionally, the <i>CTRL + SHIFT + A</i> key combination can be used for deselecting all the items.
|
|
262
|
+
* For details on the range selection, please see {@link topic:8a0d4efa29d44ef39219c18d832012da Keyboard Handling for Item Selection}.
|
|
263
|
+
* @since 1.93
|
|
264
|
+
*/
|
|
265
|
+
multiSelectMode : {type: "sap.m.MultiSelectMode", group: "Behavior", defaultValue: MultiSelectMode.Default}
|
|
247
266
|
},
|
|
248
267
|
defaultAggregation : "items",
|
|
249
268
|
aggregations : {
|
|
@@ -524,11 +543,11 @@ function(
|
|
|
524
543
|
// announce accessibility details at the initial focus
|
|
525
544
|
ListBase.prototype.bAnnounceDetails = true;
|
|
526
545
|
|
|
527
|
-
// determines whether range selection and select all feature should be enabled for MultiSelect mode
|
|
528
|
-
ListBase.prototype.bPreventMassSelection = false;
|
|
529
|
-
|
|
530
546
|
ListBase.getInvisibleText = function() {
|
|
531
|
-
|
|
547
|
+
if (!this.oInvisibleText) {
|
|
548
|
+
this.oInvisibleText = new InvisibleText().toStatic();
|
|
549
|
+
}
|
|
550
|
+
return this.oInvisibleText;
|
|
532
551
|
};
|
|
533
552
|
|
|
534
553
|
// class name for the navigation items
|
|
@@ -959,9 +978,10 @@ function(
|
|
|
959
978
|
|
|
960
979
|
|
|
961
980
|
/**
|
|
962
|
-
*
|
|
981
|
+
* Selects all items in the <code>MultiSelection</code> mode.
|
|
963
982
|
*
|
|
964
|
-
* <b>Note:</b>
|
|
983
|
+
* <b>Note:</b> If <code>growing</code> is enabled, only the visible items in the list are selected.
|
|
984
|
+
* Since version 1.93, the items are not selected if <code>getMultiSelectMode=ClearAll</code>.
|
|
965
985
|
*
|
|
966
986
|
* @type this
|
|
967
987
|
* @public
|
|
@@ -969,7 +989,7 @@ function(
|
|
|
969
989
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
970
990
|
*/
|
|
971
991
|
ListBase.prototype.selectAll = function (bFireEvent) {
|
|
972
|
-
if (this.getMode() != "MultiSelect") {
|
|
992
|
+
if (this.getMode() != "MultiSelect" || this.getMultiSelectMode() == MultiSelectMode.ClearAll) {
|
|
973
993
|
return this;
|
|
974
994
|
}
|
|
975
995
|
|
|
@@ -1030,7 +1050,6 @@ function(
|
|
|
1030
1050
|
return this.setProperty("mode", sMode);
|
|
1031
1051
|
};
|
|
1032
1052
|
|
|
1033
|
-
|
|
1034
1053
|
/**
|
|
1035
1054
|
* Returns growing information as object with "actual" and "total" keys.
|
|
1036
1055
|
* Note: This function returns "null" if "growing" feature is disabled.
|
|
@@ -1430,7 +1449,7 @@ function(
|
|
|
1430
1449
|
ListBase.prototype.onItemSelect = function(oListItem, bSelected) {
|
|
1431
1450
|
var sMode = this.getMode();
|
|
1432
1451
|
|
|
1433
|
-
if (this._mRangeSelection
|
|
1452
|
+
if (this._mRangeSelection) {
|
|
1434
1453
|
// if this._mRangeSelection.selected == false, then simply select the item
|
|
1435
1454
|
if (!this._mRangeSelection.selected) {
|
|
1436
1455
|
this._fireSelectionChangeEvent([oListItem]);
|
|
@@ -1543,7 +1562,6 @@ function(
|
|
|
1543
1562
|
oEvent.metaKey ||
|
|
1544
1563
|
this.getMode() !== ListMode.MultiSelect ||
|
|
1545
1564
|
!oItem.isSelectable() ||
|
|
1546
|
-
this.bPreventMassSelection ||
|
|
1547
1565
|
oEvent.which === KeyCodes.F6) {
|
|
1548
1566
|
if (this._mRangeSelection) {
|
|
1549
1567
|
this._mRangeSelection = null;
|
|
@@ -1623,12 +1641,13 @@ function(
|
|
|
1623
1641
|
};
|
|
1624
1642
|
|
|
1625
1643
|
ListBase.prototype._getSwipeContainer = function() {
|
|
1626
|
-
|
|
1644
|
+
if (!this._$swipeContainer) {
|
|
1627
1645
|
this._$swipeContainer = jQuery("<div>", {
|
|
1628
1646
|
"id" : this.getId("swp"),
|
|
1629
1647
|
"class" : "sapMListSwp"
|
|
1630
|
-
})
|
|
1631
|
-
|
|
1648
|
+
});
|
|
1649
|
+
}
|
|
1650
|
+
return this._$swipeContainer;
|
|
1632
1651
|
};
|
|
1633
1652
|
|
|
1634
1653
|
ListBase.prototype._setSwipePosition = function() {
|
|
@@ -2294,13 +2313,22 @@ function(
|
|
|
2294
2313
|
// Ctrl + A to switch select all/none
|
|
2295
2314
|
ListBase.prototype.onkeydown = function(oEvent) {
|
|
2296
2315
|
var bCtrlA = (oEvent.which == KeyCodes.A) && (oEvent.metaKey || oEvent.ctrlKey);
|
|
2297
|
-
|
|
2316
|
+
|
|
2317
|
+
if (oEvent.isMarked() || !bCtrlA || !jQuery(oEvent.target).hasClass(this.sNavItemClass) ) {
|
|
2318
|
+
return;
|
|
2319
|
+
}
|
|
2320
|
+
var sMultiSelectMode = this.getMultiSelectMode();
|
|
2321
|
+
var bCtrlShiftA = bCtrlA && oEvent.shiftKey && sMultiSelectMode == MultiSelectMode.ClearAll;
|
|
2322
|
+
if (bCtrlShiftA) {
|
|
2323
|
+
oEvent.preventDefault();
|
|
2324
|
+
oEvent.setMarked();
|
|
2325
|
+
this.removeSelections(false, true);
|
|
2298
2326
|
return;
|
|
2299
2327
|
}
|
|
2300
2328
|
|
|
2301
2329
|
oEvent.preventDefault();
|
|
2302
2330
|
|
|
2303
|
-
if (this.getMode() !== ListMode.MultiSelect) {
|
|
2331
|
+
if (this.getMode() !== ListMode.MultiSelect || sMultiSelectMode === MultiSelectMode.ClearAll) {
|
|
2304
2332
|
return;
|
|
2305
2333
|
}
|
|
2306
2334
|
|
|
@@ -2434,7 +2462,7 @@ function(
|
|
|
2434
2462
|
};
|
|
2435
2463
|
|
|
2436
2464
|
ListBase.prototype.onItemUpDownModifiers = function(oItem, oEvent, iDirection) {
|
|
2437
|
-
if (!this._mRangeSelection
|
|
2465
|
+
if (!this._mRangeSelection) {
|
|
2438
2466
|
return;
|
|
2439
2467
|
}
|
|
2440
2468
|
|
|
@@ -2510,7 +2538,8 @@ function(
|
|
|
2510
2538
|
ListBase.prototype.getStickyStyleValue = function() {
|
|
2511
2539
|
var aSticky = this.getSticky();
|
|
2512
2540
|
if (!aSticky || !aSticky.length) {
|
|
2513
|
-
|
|
2541
|
+
this._iStickyValue = 0;
|
|
2542
|
+
return this._iStickyValue;
|
|
2514
2543
|
}
|
|
2515
2544
|
|
|
2516
2545
|
var iStickyValue = 0,
|
|
@@ -2537,7 +2566,8 @@ function(
|
|
|
2537
2566
|
}
|
|
2538
2567
|
});
|
|
2539
2568
|
|
|
2540
|
-
|
|
2569
|
+
this._iStickyValue = iStickyValue;
|
|
2570
|
+
return this._iStickyValue;
|
|
2541
2571
|
};
|
|
2542
2572
|
|
|
2543
2573
|
// gets the sticky header position and scrolls the page so that the item is completely visible when focused
|
|
@@ -76,7 +76,7 @@ function(
|
|
|
76
76
|
* @extends sap.ui.core.Control
|
|
77
77
|
*
|
|
78
78
|
* @author SAP SE
|
|
79
|
-
* @version 1.
|
|
79
|
+
* @version 1.93.3
|
|
80
80
|
*
|
|
81
81
|
* @constructor
|
|
82
82
|
* @public
|
|
@@ -754,7 +754,7 @@ function(
|
|
|
754
754
|
* By default, when item should be in selectable mode
|
|
755
755
|
*
|
|
756
756
|
* Subclasses can overwrite in case of unselectable item.
|
|
757
|
-
* @returns {
|
|
757
|
+
* @returns {boolean}
|
|
758
758
|
* @private
|
|
759
759
|
*/
|
|
760
760
|
ListItemBase.prototype.isSelectable = function() {
|
|
@@ -773,10 +773,11 @@ function(
|
|
|
773
773
|
* Returns the state of the item selection as a boolean
|
|
774
774
|
*
|
|
775
775
|
* @public
|
|
776
|
-
* @
|
|
776
|
+
* @returns {boolean}
|
|
777
777
|
* @deprecated Since version 1.10.2.
|
|
778
|
-
* API Change makes this method unnecessary. Use getSelected method instead.
|
|
778
|
+
* API Change makes this method unnecessary. Use the {@link #getSelected} method instead.
|
|
779
779
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
780
|
+
* @function
|
|
780
781
|
*/
|
|
781
782
|
ListItemBase.prototype.isSelected = ListItemBase.prototype.getSelected;
|
|
782
783
|
|
|
@@ -833,7 +834,7 @@ function(
|
|
|
833
834
|
/**
|
|
834
835
|
* Determines whether group header item or not.
|
|
835
836
|
*
|
|
836
|
-
* @return {
|
|
837
|
+
* @return {boolean}
|
|
837
838
|
*/
|
|
838
839
|
ListItemBase.prototype.isGroupHeader = function() {
|
|
839
840
|
return this._bGroupHeader;
|
|
@@ -843,7 +844,7 @@ function(
|
|
|
843
844
|
* Determines whether item is in SingleSelectMaster mode or
|
|
844
845
|
* other selection modes when includeItemInSelection is true
|
|
845
846
|
*
|
|
846
|
-
* @return {
|
|
847
|
+
* @return {boolean}
|
|
847
848
|
*/
|
|
848
849
|
ListItemBase.prototype.isIncludedIntoSelection = function() {
|
|
849
850
|
if (!this.isSelectable()) {
|
|
@@ -886,7 +887,7 @@ function(
|
|
|
886
887
|
/**
|
|
887
888
|
* Determines whether item needs icon to render type or not
|
|
888
889
|
*
|
|
889
|
-
* @return {
|
|
890
|
+
* @return {boolean}
|
|
890
891
|
*/
|
|
891
892
|
ListItemBase.prototype.hasActiveType = function() {
|
|
892
893
|
var sType = this.getType();
|
package/src/sap/m/MaskEnabler.js
CHANGED
package/src/sap/m/MaskInput.js
CHANGED
package/src/sap/m/Menu.js
CHANGED
package/src/sap/m/MenuButton.js
CHANGED
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.93.3
|
|
62
62
|
*
|
|
63
63
|
* @constructor
|
|
64
64
|
* @public
|
|
@@ -445,8 +445,8 @@ sap.ui.define([
|
|
|
445
445
|
case Dock.EndBottom:
|
|
446
446
|
aParam.push(Dock.EndTop, Dock.EndBottom, oOffset.minus2_right);
|
|
447
447
|
break;
|
|
448
|
-
default:
|
|
449
448
|
case Dock.BeginBottom:
|
|
449
|
+
default:
|
|
450
450
|
aParam.push(Dock.BeginTop, Dock.BeginBottom, oOffset.minus2_right);
|
|
451
451
|
break;
|
|
452
452
|
}
|
package/src/sap/m/MenuItem.js
CHANGED
package/src/sap/m/MessageBox.js
CHANGED
|
@@ -534,6 +534,11 @@ sap.ui.define([
|
|
|
534
534
|
* @param {object} [mOptions] Other options (optional)
|
|
535
535
|
* @param {function} [mOptions.onClose] callback function to be called when the user closes the dialog
|
|
536
536
|
* @param {string} [mOptions.title='Alert'] Title to be displayed in the alert dialog
|
|
537
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
|
|
538
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
539
|
+
* Custom action(s) string or an array can be provided, and then the translation
|
|
540
|
+
* of custom actions needs to be done by the application.
|
|
541
|
+
* @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
|
|
537
542
|
* @param {string} [mOptions.id] ID to be used for the alert dialog. Intended for test scenarios, not recommended for productive apps
|
|
538
543
|
* @param {string} [mOptions.styleClass] Added since version 1.21.2. CSS style class which is added to the alert dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
|
|
539
544
|
* @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] Added since version 1.28.0. initialFocus, this option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
|
|
@@ -615,6 +620,11 @@ sap.ui.define([
|
|
|
615
620
|
* @param {object} [mOptions] Other options (optional)
|
|
616
621
|
* @param {function} [mOptions.onClose] Callback to be called when the user closes the dialog
|
|
617
622
|
* @param {string} [mOptions.title='Confirmation'] Title to display in the confirmation dialog
|
|
623
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
|
|
624
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
625
|
+
* Custom action(s) string or an array can be provided, and then the translation
|
|
626
|
+
* of custom actions needs to be done by the application.
|
|
627
|
+
* @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
|
|
618
628
|
* @param {string} [mOptions.id] ID to be used for the confirmation dialog. Intended for test scenarios, not recommended for productive apps
|
|
619
629
|
* @param {string} [mOptions.styleClass] Added since version 1.21.2. CSS style class which is added to the confirmation dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
|
|
620
630
|
* @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] Added since version 1.28.0. initialFocus, this option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
|
|
@@ -691,6 +701,11 @@ sap.ui.define([
|
|
|
691
701
|
* @param {object} [mOptions] Other options (optional)
|
|
692
702
|
* @param {function} [mOptions.onClose] Callback when the user closes the dialog
|
|
693
703
|
* @param {string} [mOptions.title='Error'] Title of the error dialog
|
|
704
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
|
|
705
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
706
|
+
* Custom action(s) string or an array can be provided, and then the translation
|
|
707
|
+
* of custom actions needs to be done by the application.
|
|
708
|
+
* @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
|
|
694
709
|
* @param {string} [mOptions.id] ID for the error dialog. Intended for test scenarios, not recommended for productive apps
|
|
695
710
|
* @param {string} [mOptions.styleClass] CSS style class which is added to the error dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
|
|
696
711
|
* @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
|
|
@@ -752,6 +767,11 @@ sap.ui.define([
|
|
|
752
767
|
* @param {object} [mOptions] Other options (optional)
|
|
753
768
|
* @param {function} [mOptions.onClose] Callback when the user closes the dialog
|
|
754
769
|
* @param {string} [mOptions.title='Information'] Title of the information dialog
|
|
770
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
|
|
771
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
772
|
+
* Custom action(s) string or an array can be provided, and then the translation
|
|
773
|
+
* of custom actions needs to be done by the application.
|
|
774
|
+
* @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
|
|
755
775
|
* @param {string} [mOptions.id] ID for the information dialog. Intended for test scenarios, not recommended for productive apps
|
|
756
776
|
* @param {string} [mOptions.styleClass] CSS style class which is added to the information dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
|
|
757
777
|
* @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
|
|
@@ -813,6 +833,11 @@ sap.ui.define([
|
|
|
813
833
|
* @param {object} [mOptions] Other options (optional)
|
|
814
834
|
* @param {function} [mOptions.onClose] Callback when the user closes the dialog
|
|
815
835
|
* @param {string} [mOptions.title='Warning'] Title of the warning dialog
|
|
836
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
|
|
837
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
838
|
+
* Custom action(s) string or an array can be provided, and then the translation
|
|
839
|
+
* of custom actions needs to be done by the application.
|
|
840
|
+
* @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
|
|
816
841
|
* @param {string} [mOptions.id] ID to for the warning dialog. Intended for test scenarios, not recommended for productive apps
|
|
817
842
|
* @param {string} [mOptions.styleClass] CSS style class which is added to the warning dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
|
|
818
843
|
* @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
|
|
@@ -874,6 +899,11 @@ sap.ui.define([
|
|
|
874
899
|
* @param {object} [mOptions] Other options (optional)
|
|
875
900
|
* @param {function} [mOptions.onClose] Callback when the user closes the dialog
|
|
876
901
|
* @param {string} [mOptions.title='Success'] Title of the success dialog
|
|
902
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [mOptions.actions=sap.m.MessageBox.Action.OK] Either a single action, or an array of actions.
|
|
903
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
904
|
+
* Custom action(s) string or an array can be provided, and then the translation
|
|
905
|
+
* of custom actions needs to be done by the application.
|
|
906
|
+
* @param {sap.m.MessageBox.Action|string} [mOptions.emphasizedAction=sap.m.MessageBox.Action.OK] Added since version 1.75.0. Specifies which action of the created dialog will be emphasized. EmphasizedAction will apply only if the property <code>actions</code> is provided.
|
|
877
907
|
* @param {string} [mOptions.id] ID for the success dialog. Intended for test scenarios, not recommended for productive apps
|
|
878
908
|
* @param {string} [mOptions.styleClass] CSS style class which is added to the success dialog's root DOM node. The compact design can be activated by setting this to "sapUiSizeCompact"
|
|
879
909
|
* @param {string|sap.m.MessageBox.Action} [mOptions.initialFocus] This option sets the action name, the text of the button or the control that gets the focus as first focusable element after the MessageBox is opened.
|
package/src/sap/m/MessageItem.js
CHANGED
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
*
|
|
38
38
|
* @extends sap.ui.core.Item
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.93.3
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -146,21 +146,6 @@ sap.ui.define([
|
|
|
146
146
|
this._updatePropertiesFn = customFn;
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
MessageItem.prototype.setDescription = function(sDescription) {
|
|
150
|
-
// Avoid showing result of '' + undefined
|
|
151
|
-
if (typeof sDescription === 'undefined') {
|
|
152
|
-
sDescription = '';
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
if (this.getMarkupDescription()) {
|
|
156
|
-
sDescription = sanitizeHTML(sDescription);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
this.setProperty("description", sDescription, true);
|
|
160
|
-
|
|
161
|
-
return this;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
149
|
/**
|
|
165
150
|
* Sets type of the MessageItem.
|
|
166
151
|
* <b>Note:</b> if you set the type to None it will be handled and rendered as Information.
|
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -91,7 +91,7 @@ function(
|
|
|
91
91
|
* @extends sap.ui.core.Control
|
|
92
92
|
*
|
|
93
93
|
* @author SAP SE
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.93.3
|
|
95
95
|
*
|
|
96
96
|
* @constructor
|
|
97
97
|
* @public
|
|
@@ -465,9 +465,6 @@ function(
|
|
|
465
465
|
// update the MessageView's items as well
|
|
466
466
|
item._updateProperties(function () {
|
|
467
467
|
that._bItemsChanged = true;
|
|
468
|
-
|
|
469
|
-
// navigate back if a property is changed
|
|
470
|
-
that.navigateBack();
|
|
471
468
|
});
|
|
472
469
|
|
|
473
470
|
// we need to clone the item along with its bindings and aggregations
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
'sap/ui/core/IconPool'
|
|
9
|
+
], function (
|
|
10
|
+
IconPool
|
|
11
|
+
) {
|
|
8
12
|
"use strict";
|
|
9
13
|
|
|
10
14
|
/**
|
|
@@ -43,7 +47,16 @@ sap.ui.define(function () {
|
|
|
43
47
|
MessageStripUtilities.getIconURI = function () {
|
|
44
48
|
var sType = this.getType(),
|
|
45
49
|
sCustomIconURI = this.getCustomIcon(),
|
|
46
|
-
sIconURI
|
|
50
|
+
sIconURI;
|
|
51
|
+
|
|
52
|
+
var oIconsMapping = {
|
|
53
|
+
"Error": "error",
|
|
54
|
+
"Warning": "alert",
|
|
55
|
+
"Success": "sys-enter-2",
|
|
56
|
+
"Information": "information"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
sIconURI = IconPool.getIconURI(oIconsMapping[sType]);
|
|
47
60
|
|
|
48
61
|
return sCustomIconURI || sIconURI;
|
|
49
62
|
};
|
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* 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
71
|
*
|
|
72
72
|
* @author SAP SE
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.93.3
|
|
74
74
|
*
|
|
75
75
|
* @namespace
|
|
76
76
|
* @public
|
|
@@ -357,7 +357,7 @@ sap.ui.define([
|
|
|
357
357
|
* @param {sap.ui.core.CSSSize} [mOptions.width='15em'] The width of the message toast, this value can be provided in %, em, px and all possible CSS measures.
|
|
358
358
|
* @param {sap.ui.core.Popup.Dock} [mOptions.my='center bottom'] Specifies which point of the message toast should be aligned (e.g. <code>Dock.LeftTop</code> To use as align point the left top corner of the message toast).
|
|
359
359
|
* @param {sap.ui.core.Popup.Dock} [mOptions.at='center bottom'] Specifies the point of the reference element to which the message toast should be aligned (e.g. <code>Dock.RightBottom</code> To position the message toast according to the bottom right corner of the reference element).
|
|
360
|
-
* @param {sap.ui.core.Control|Element|jQuery|Window
|
|
360
|
+
* @param {sap.ui.core.Control|Element|jQuery|Window} [mOptions.of=window] Specifies the reference element to which the message toast should be aligned, by default it is aligned to the browser visual viewport.
|
|
361
361
|
* @param {string} [mOptions.offset='0 0'] The offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "10 5" to move the message toast 10 pixels to the right and 5 pixels to the bottom).
|
|
362
362
|
* @param {string} [mOptions.collision='fit fit'] Specifies how the position of the message toast should be adjusted in case it overflows the screen in some direction. Possible values “fit”, “flip”, “none”, or a pair for horizontal and vertical e.g. "fit flip”, "fit none".
|
|
363
363
|
* @param {function} [mOptions.onClose=null] Function to be called when the message toast closes.
|
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.93.3
|
|
116
116
|
*
|
|
117
117
|
* @extends sap.ui.core.Control
|
|
118
118
|
* @constructor
|
|
@@ -248,10 +248,10 @@ sap.ui.define([
|
|
|
248
248
|
var ICONS = {
|
|
249
249
|
back: IconPool.getIconURI("nav-back"),
|
|
250
250
|
close: IconPool.getIconURI("decline"),
|
|
251
|
-
information: IconPool.getIconURI("
|
|
252
|
-
warning: IconPool.getIconURI("
|
|
253
|
-
error: IconPool.getIconURI("
|
|
254
|
-
success: IconPool.getIconURI("
|
|
251
|
+
information: IconPool.getIconURI("information"),
|
|
252
|
+
warning: IconPool.getIconURI("alert"),
|
|
253
|
+
error: IconPool.getIconURI("error"),
|
|
254
|
+
success: IconPool.getIconURI("sys-enter-2")
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
var LIST_TYPES = ["all", "error", "warning", "success", "information"];
|
|
@@ -667,7 +667,7 @@ sap.ui.define([
|
|
|
667
667
|
|
|
668
668
|
this._detailsPage = new Page(this.getId() + "-detailsPage", {
|
|
669
669
|
customHeader: this._getDetailsHeader()
|
|
670
|
-
});
|
|
670
|
+
}).addStyleClass("sapMMsgViewDetailsPage");
|
|
671
671
|
|
|
672
672
|
// TODO: check if this is the best location for this
|
|
673
673
|
// Disable clicks on disabled and/or pending links
|
|
@@ -979,15 +979,22 @@ sap.ui.define([
|
|
|
979
979
|
*/
|
|
980
980
|
MessageView.prototype._setDescription = function (oMessageItem) {
|
|
981
981
|
var oLink = oMessageItem.getLink();
|
|
982
|
+
var sDescription = oMessageItem.getDescription();
|
|
983
|
+
|
|
984
|
+
if (oMessageItem.getMarkupDescription()) {
|
|
985
|
+
var tagPolicy = this._getTagPolicy();
|
|
986
|
+
/*global html*/
|
|
987
|
+
sDescription = html.sanitizeWithPolicy(sDescription, tagPolicy);
|
|
988
|
+
}
|
|
989
|
+
|
|
982
990
|
this._oLastSelectedItem = oMessageItem;
|
|
983
991
|
if (oMessageItem.getMarkupDescription()) {
|
|
984
|
-
// description is sanitized in MessageItem.setDescription()
|
|
985
992
|
this._oMessageDescriptionText = new HTML(this.getId() + "MarkupDescription", {
|
|
986
|
-
content: "<div class='sapMMsgViewDescriptionText'>" + ManagedObject.escapeSettingsValue(
|
|
993
|
+
content: "<div class='sapMMsgViewDescriptionText'>" + ManagedObject.escapeSettingsValue(sDescription) + "</div>"
|
|
987
994
|
});
|
|
988
995
|
} else {
|
|
989
996
|
this._oMessageDescriptionText = new Text(this.getId() + "MessageDescriptionText", {
|
|
990
|
-
text: ManagedObject.escapeSettingsValue(
|
|
997
|
+
text: ManagedObject.escapeSettingsValue(sDescription)
|
|
991
998
|
}).addStyleClass("sapMMsgViewDescriptionText");
|
|
992
999
|
}
|
|
993
1000
|
|
|
@@ -1159,24 +1166,6 @@ sap.ui.define([
|
|
|
1159
1166
|
};
|
|
1160
1167
|
};
|
|
1161
1168
|
|
|
1162
|
-
/**
|
|
1163
|
-
* Perform description sanitization based on Caja HTML sanitizer
|
|
1164
|
-
* @param {sap.m.MessageItem} oMessageItem The item to be sanitized
|
|
1165
|
-
* @private
|
|
1166
|
-
*/
|
|
1167
|
-
MessageView.prototype._sanitizeDescription = function (oMessageItem) {
|
|
1168
|
-
var sDescription = oMessageItem.getDescription();
|
|
1169
|
-
|
|
1170
|
-
if (oMessageItem.getMarkupDescription()) {
|
|
1171
|
-
var tagPolicy = this._getTagPolicy();
|
|
1172
|
-
/*global html*/
|
|
1173
|
-
sDescription = html.sanitizeWithPolicy(sDescription, tagPolicy);
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
oMessageItem.setDescription(sDescription);
|
|
1177
|
-
this._setDescription(oMessageItem);
|
|
1178
|
-
};
|
|
1179
|
-
|
|
1180
1169
|
/**
|
|
1181
1170
|
* Handles click on a list item
|
|
1182
1171
|
*
|
|
@@ -1248,7 +1237,7 @@ sap.ui.define([
|
|
|
1248
1237
|
|
|
1249
1238
|
MessageView.prototype._navigateToDetails = function(oMessageItem, oListItem, sTransiotionName, bSuppressNavigate) {
|
|
1250
1239
|
this._setTitle(oMessageItem, oListItem);
|
|
1251
|
-
this.
|
|
1240
|
+
this._setDescription(oMessageItem);
|
|
1252
1241
|
this._setIcon(oMessageItem, oListItem);
|
|
1253
1242
|
this._detailsPage.invalidate();
|
|
1254
1243
|
this.fireLongtextLoaded();
|