@openui5/sap.m 1.133.1 → 1.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +0 -7
- package/THIRDPARTY.txt +2 -23
- 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/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +20 -1
- package/src/sap/m/AdditionalTextButton.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 +1 -1
- package/src/sap/m/Breadcrumbs.js +10 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +3 -2
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +20 -7
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- 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 +4 -18
- package/src/sap/m/ComboBoxBase.js +44 -2
- package/src/sap/m/ComboBoxBaseRenderer.js +23 -2
- package/src/sap/m/ComboBoxRenderer.js +1 -8
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ContentConfig.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 +6 -5
- package/src/sap/m/DatePickerRenderer.js +3 -1
- package/src/sap/m/DateRangeSelection.js +12 -23
- package/src/sap/m/DateTimeField.js +23 -2
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +2 -1
- package/src/sap/m/Dialog.js +11 -25
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +2 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -2
- package/src/sap/m/FeedInput.js +1 -1
- 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 +24 -2
- package/src/sap/m/FlexBoxRenderer.js +16 -0
- 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 +35 -7
- package/src/sap/m/GenericTileRenderer.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +10 -1
- 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 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +9 -2
- package/src/sap/m/IllustratedMessageSize.js +37 -1
- package/src/sap/m/IllustratedMessageType.js +114 -0
- package/src/sap/m/Illustration.js +20 -55
- package/src/sap/m/IllustrationPool.js +87 -20
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +18 -4
- package/src/sap/m/InputBase.js +52 -2
- package/src/sap/m/InputBaseRenderer.js +17 -5
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +17 -2
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +3 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +12 -4
- package/src/sap/m/ListItemBase.js +1 -1
- 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 +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +7 -3
- package/src/sap/m/MessageListItemRenderer.js +34 -0
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +22 -6
- package/src/sap/m/MultiComboBox.js +48 -105
- package/src/sap/m/MultiComboBoxRenderer.js +16 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +16 -8
- package/src/sap/m/NavContainer.js +1 -1
- 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/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- 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 +1 -1
- 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/OverflowToolbarMenuButton.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 +10 -2
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +60 -21
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +3 -3
- package/src/sap/m/SelectDialog.js +4 -2
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- 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 +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +43 -41
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +2 -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 +5 -5
- package/src/sap/m/Slider.js +1 -1
- 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/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +23 -6
- 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 +48 -71
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +11 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +16 -4
- 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/TableSelectDialog.js +3 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileInfo.js +1 -1
- package/src/sap/m/TimePicker.js +4 -3
- package/src/sap/m/TimePickerClock.js +85 -176
- package/src/sap/m/TimePickerClockRenderer.js +67 -63
- package/src/sap/m/TimePickerClocks.js +121 -49
- package/src/sap/m/TimePickerInputs.js +4 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +3 -0
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -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 +16 -9
- package/src/sap/m/Toolbar.js +38 -5
- 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 +1 -1
- 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/VariantManagement.js +4 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- 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 +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +13 -10
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/delegate/ValueStateMessage.js +0 -6
- package/src/sap/m/designtime/messagebundle_fr.properties +2 -2
- package/src/sap/m/designtime/messagebundle_ko.properties +2 -2
- package/src/sap/m/designtime/messagebundle_uk.properties +1 -1
- package/src/sap/m/flexibility/EngineFlex.js +28 -8
- package/src/sap/m/library.js +26 -3
- package/src/sap/m/messagebundle.properties +38 -7
- package/src/sap/m/messagebundle_ar.properties +13 -1
- package/src/sap/m/messagebundle_bg.properties +30 -18
- package/src/sap/m/messagebundle_ca.properties +13 -1
- package/src/sap/m/messagebundle_cnr.properties +14 -2
- package/src/sap/m/messagebundle_cs.properties +15 -3
- package/src/sap/m/messagebundle_cy.properties +14 -2
- package/src/sap/m/messagebundle_da.properties +13 -1
- package/src/sap/m/messagebundle_de.properties +13 -1
- package/src/sap/m/messagebundle_el.properties +15 -3
- package/src/sap/m/messagebundle_en.properties +10 -4
- package/src/sap/m/messagebundle_en_GB.properties +14 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +22 -4
- package/src/sap/m/messagebundle_es.properties +14 -2
- package/src/sap/m/messagebundle_es_MX.properties +23 -11
- package/src/sap/m/messagebundle_et.properties +12 -0
- package/src/sap/m/messagebundle_fi.properties +13 -1
- package/src/sap/m/messagebundle_fr.properties +20 -8
- package/src/sap/m/messagebundle_fr_CA.properties +14 -2
- package/src/sap/m/messagebundle_hi.properties +13 -1
- package/src/sap/m/messagebundle_hr.properties +17 -5
- package/src/sap/m/messagebundle_hu.properties +15 -3
- package/src/sap/m/messagebundle_id.properties +14 -2
- package/src/sap/m/messagebundle_it.properties +14 -2
- package/src/sap/m/messagebundle_iw.properties +13 -1
- package/src/sap/m/messagebundle_ja.properties +13 -1
- package/src/sap/m/messagebundle_kk.properties +19 -7
- package/src/sap/m/messagebundle_ko.properties +14 -2
- package/src/sap/m/messagebundle_lt.properties +15 -3
- package/src/sap/m/messagebundle_lv.properties +52 -40
- package/src/sap/m/messagebundle_mk.properties +13 -1
- package/src/sap/m/messagebundle_ms.properties +14 -2
- package/src/sap/m/messagebundle_nl.properties +13 -1
- package/src/sap/m/messagebundle_no.properties +13 -1
- package/src/sap/m/messagebundle_pl.properties +13 -1
- package/src/sap/m/messagebundle_pt.properties +13 -1
- package/src/sap/m/messagebundle_pt_PT.properties +13 -1
- package/src/sap/m/messagebundle_ro.properties +13 -1
- package/src/sap/m/messagebundle_ru.properties +13 -1
- package/src/sap/m/messagebundle_sh.properties +14 -2
- package/src/sap/m/messagebundle_sk.properties +13 -1
- package/src/sap/m/messagebundle_sl.properties +30 -18
- package/src/sap/m/messagebundle_sr.properties +14 -2
- package/src/sap/m/messagebundle_sv.properties +9 -3
- package/src/sap/m/messagebundle_th.properties +16 -4
- package/src/sap/m/messagebundle_tr.properties +14 -2
- package/src/sap/m/messagebundle_uk.properties +19 -7
- package/src/sap/m/messagebundle_vi.properties +17 -5
- package/src/sap/m/messagebundle_zh_CN.properties +13 -1
- package/src/sap/m/messagebundle_zh_TW.properties +13 -1
- 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 +10 -2
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +58 -18
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MessageStrip.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +10 -0
- package/src/sap/m/p13n/PersistenceProvider.js +7 -2
- package/src/sap/m/p13n/Popup.js +8 -3
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +15 -2
- package/src/sap/m/p13n/SelectionPanel.js +224 -38
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/handler/xConfigHandler.js +20 -11
- 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 +9 -4
- package/src/sap/m/p13n/modules/xConfigAPI.js +18 -2
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +2 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/plugins/UploadSetwithTable.js +416 -407
- 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/table/ColumnWidthController.js +17 -2
- package/src/sap/m/table/Util.js +2 -2
- 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 +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +39 -39
- package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +3 -2
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +33 -19
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +3 -3
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +33 -19
- package/src/sap/m/themes/base/ActionTile.less +3 -3
- package/src/sap/m/themes/base/DynamicDateRange.less +6 -1
- package/src/sap/m/themes/base/GenericTile.less +19 -17
- package/src/sap/m/themes/base/IconTabBar.less +11 -10
- package/src/sap/m/themes/base/ImageContent.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +1 -0
- package/src/sap/m/themes/base/MessageStrip.less +2 -2
- package/src/sap/m/themes/base/MessageToast.less +3 -3
- package/src/sap/m/themes/base/MessageView.less +16 -24
- package/src/sap/m/themes/base/NumericContent.less +4 -4
- package/src/sap/m/themes/base/ObjectStatus.less +29 -29
- package/src/sap/m/themes/base/Popover.less +5 -14
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +10 -2
- package/src/sap/m/themes/base/SplitButton.less +7 -3
- package/src/sap/m/themes/base/StandardTile.less +15 -15
- package/src/sap/m/themes/base/StandardTreeItem.less +1 -1
- package/src/sap/m/themes/base/StepInput.less +5 -2
- package/src/sap/m/themes/base/SuggestionsPopover.less +18 -16
- package/src/sap/m/themes/base/Switch.less +41 -98
- package/src/sap/m/themes/base/TabContainer.less +13 -10
- package/src/sap/m/themes/base/TabStrip.less +78 -46
- package/src/sap/m/themes/base/Table.less +63 -63
- package/src/sap/m/themes/base/TablePersoDialog.less +20 -20
- package/src/sap/m/themes/base/Text.less +22 -17
- package/src/sap/m/themes/base/TextArea.less +45 -17
- package/src/sap/m/themes/base/Tile.less +11 -15
- package/src/sap/m/themes/base/TileContainer.less +30 -37
- package/src/sap/m/themes/base/TileContent.less +2 -1
- package/src/sap/m/themes/base/TimePicker.less +14 -20
- package/src/sap/m/themes/base/TimePickerClock.less +246 -30
- package/src/sap/m/themes/base/TimePickerClocks.less +6 -3
- package/src/sap/m/themes/base/TimePickerInputs.less +3 -4
- package/src/sap/m/themes/base/TimePickerSliders.less +141 -48
- package/src/sap/m/themes/base/Title.less +12 -23
- package/src/sap/m/themes/base/ToggleButton.less +40 -31
- package/src/sap/m/themes/base/TreeItemBase.less +10 -10
- package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +30 -8
- package/src/sap/m/themes/base/WheelSlider.less +121 -43
- package/src/sap/m/themes/base/WheelSliderContainer.less +12 -5
- package/src/sap/m/themes/base/illustrations/metadata.json +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Empty.svg +2 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Empty.svg +2 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Empty.svg +2 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Empty.svg +2 -0
- package/src/sap/m/themes/base/p13n.SelectionPanel.less +16 -0
- package/src/sap/m/themes/sap_hcb/base_Popover.less +1 -8
- package/src/sap/m/themes/sap_hcb/base_TabContainer.less +5 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +5 -4
- package/src/sap/m/upload/FilterPanel.js +1 -0
- package/src/sap/m/upload/UploadItem.js +53 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +39 -1
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +0 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BeforeSearch.svg +0 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoActivities.svg +0 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoData.svg +0 -9
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoEntries.svg +0 -12
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail.svg +0 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoNotifications.svg +0 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems.svg +0 -9
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks.svg +0 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessBalloon.svg +0 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessCheckMark.svg +0 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UnableToLoad.svg +0 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UnableToUpload.svg +0 -10
package/src/sap/m/MessageView.js
CHANGED
|
@@ -119,7 +119,7 @@ sap.ui.define([
|
|
|
119
119
|
* 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
|
|
120
120
|
* container’s sizes are not defined.
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.135.0
|
|
123
123
|
*
|
|
124
124
|
* @extends sap.ui.core.Control
|
|
125
125
|
* @constructor
|
|
@@ -378,9 +378,6 @@ sap.ui.define([
|
|
|
378
378
|
|
|
379
379
|
if (oItemTitleRef && (oItemTitleRef.offsetWidth < oItemTitleRef.scrollWidth)) {
|
|
380
380
|
|
|
381
|
-
// if title's text overflows, make the item type Navigation
|
|
382
|
-
oListItem.setType(ListType.Navigation);
|
|
383
|
-
|
|
384
381
|
if (this.getItems().length === 1) {
|
|
385
382
|
this._fnHandleForwardNavigation(oListItem, "show");
|
|
386
383
|
}
|
|
@@ -453,6 +450,7 @@ sap.ui.define([
|
|
|
453
450
|
MessageView.prototype._updateDescriptionPage = function (oMessageItem, oListItem) {
|
|
454
451
|
this._clearDetailsPage();
|
|
455
452
|
this._setTitle(oMessageItem, oListItem);
|
|
453
|
+
this._setSubtitle(oMessageItem);
|
|
456
454
|
this._setDescription(oMessageItem);
|
|
457
455
|
this._setIcon(oMessageItem, oListItem);
|
|
458
456
|
this._detailsPage.invalidate();
|
|
@@ -810,7 +808,7 @@ sap.ui.define([
|
|
|
810
808
|
if (!oMessageItem) {
|
|
811
809
|
return null;
|
|
812
810
|
}
|
|
813
|
-
|
|
811
|
+
const nCharLimit = 140;
|
|
814
812
|
var sType = oMessageItem.getType(),
|
|
815
813
|
that = this,
|
|
816
814
|
listItemType = this._getItemType(oMessageItem),
|
|
@@ -824,6 +822,8 @@ sap.ui.define([
|
|
|
824
822
|
type: listItemType,
|
|
825
823
|
messageType: oMessageItem.getType(),
|
|
826
824
|
activeTitle: oMessageItem.getActiveTitle(),
|
|
825
|
+
wrapping: true,
|
|
826
|
+
wrapCharLimit: nCharLimit,
|
|
827
827
|
activeTitlePress: function () {
|
|
828
828
|
that.fireActiveTitlePress({ item: oMessageItem });
|
|
829
829
|
}
|
|
@@ -1007,6 +1007,21 @@ sap.ui.define([
|
|
|
1007
1007
|
this._detailsPage.addAggregation("content", oDetailsContent);
|
|
1008
1008
|
};
|
|
1009
1009
|
|
|
1010
|
+
/**
|
|
1011
|
+
* Sets subtitle part of details page
|
|
1012
|
+
* @param {sap.m.MessageItem} oMessageItem The message item
|
|
1013
|
+
* @private
|
|
1014
|
+
*/
|
|
1015
|
+
MessageView.prototype._setSubtitle = function (oMessageItem) {
|
|
1016
|
+
var sText = oMessageItem.getSubtitle(),
|
|
1017
|
+
sId = this.getId() + "MessageSubtitleText";
|
|
1018
|
+
|
|
1019
|
+
this._oMessageSubtitleText = new Text(sId, {
|
|
1020
|
+
text: sText
|
|
1021
|
+
}).addStyleClass("sapMMsgViewSubtitleText");
|
|
1022
|
+
this._detailsPage.addContent(this._oMessageSubtitleText);
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1010
1025
|
/**
|
|
1011
1026
|
* Sets description text part of details page
|
|
1012
1027
|
* When markup description is used it is sanitized within it's container's setter method (MessageItem)
|
|
@@ -1277,6 +1292,7 @@ sap.ui.define([
|
|
|
1277
1292
|
|
|
1278
1293
|
MessageView.prototype._navigateToDetails = function(oMessageItem, oListItem, sTransiotionName, bSuppressNavigate) {
|
|
1279
1294
|
this._setTitle(oMessageItem, oListItem);
|
|
1295
|
+
this._setSubtitle(oMessageItem);
|
|
1280
1296
|
this._setDescription(oMessageItem);
|
|
1281
1297
|
this._setIcon(oMessageItem, oListItem);
|
|
1282
1298
|
this._detailsPage.invalidate();
|
|
@@ -1357,4 +1373,4 @@ sap.ui.define([
|
|
|
1357
1373
|
|
|
1358
1374
|
return MessageView;
|
|
1359
1375
|
|
|
1360
|
-
});
|
|
1376
|
+
});
|
|
@@ -145,7 +145,7 @@ function(
|
|
|
145
145
|
* </ul>
|
|
146
146
|
*
|
|
147
147
|
* @author SAP SE
|
|
148
|
-
* @version 1.
|
|
148
|
+
* @version 1.135.0
|
|
149
149
|
*
|
|
150
150
|
* @constructor
|
|
151
151
|
* @extends sap.m.ComboBoxBase
|
|
@@ -387,27 +387,20 @@ function(
|
|
|
387
387
|
* @param {jQuery.Event} oEvent The event object
|
|
388
388
|
* @private
|
|
389
389
|
*/
|
|
390
|
-
MultiComboBox.prototype.handleDownEvent = function
|
|
390
|
+
MultiComboBox.prototype.handleDownEvent = function(oEvent){
|
|
391
391
|
if (!this.isOpen()) {
|
|
392
392
|
return;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
var oSrcControl = oEvent.srcControl,
|
|
396
396
|
oSrcDomRef = oSrcControl && oSrcControl.getDomRef(),
|
|
397
|
-
bFocusInInput = containsOrEquals(this.getDomRef(), oSrcDomRef)
|
|
398
|
-
oValueStateHeader = this.getPicker().getCustomHeader(),
|
|
399
|
-
oValueStateHeaderDom = oValueStateHeader && oValueStateHeader.getDomRef();
|
|
397
|
+
bFocusInInput = containsOrEquals(this.getDomRef(), oSrcDomRef);
|
|
400
398
|
|
|
401
399
|
oEvent.setMarked();
|
|
402
400
|
// note: Prevent document scrolling when Down key is pressed
|
|
403
401
|
oEvent.preventDefault();
|
|
404
402
|
|
|
405
|
-
if (bFocusInInput && this.
|
|
406
|
-
this._handleFormattedTextNav();
|
|
407
|
-
return;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
if ((bFocusInInput || containsOrEquals(oValueStateHeaderDom, oSrcDomRef)) && this.getShowSelectAll()) {
|
|
403
|
+
if (bFocusInInput && this.getShowSelectAll()) {
|
|
411
404
|
this.focusSelectAll();
|
|
412
405
|
return;
|
|
413
406
|
}
|
|
@@ -443,12 +436,6 @@ function(
|
|
|
443
436
|
// note: Prevent document scrolling when Home key is pressed
|
|
444
437
|
oEvent.preventDefault();
|
|
445
438
|
|
|
446
|
-
if (this.getValueState() !== ValueState.None) {
|
|
447
|
-
this._handleFormattedTextNav();
|
|
448
|
-
oEvent.stopPropagation(true);
|
|
449
|
-
return;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
439
|
if (this.getShowSelectAll()) {
|
|
453
440
|
this.focusSelectAll();
|
|
454
441
|
oEvent.stopPropagation(true);
|
|
@@ -498,38 +485,6 @@ function(
|
|
|
498
485
|
ComboBoxBase.prototype._handlePopupOpenAndItemsLoad.apply(this, arguments);
|
|
499
486
|
};
|
|
500
487
|
|
|
501
|
-
/**
|
|
502
|
-
* Generates an event delegate for keyboard navigation for <code>sap.m.FormattedText</code> value state header.
|
|
503
|
-
* If the focus is on the formatted text value state message:
|
|
504
|
-
* - pressing the Up arrow key will move the focus to the input,
|
|
505
|
-
* - pressing the Down arrow key - will select the first selectable item.
|
|
506
|
-
*
|
|
507
|
-
* @param {object} oValueStateHeader The value state header.
|
|
508
|
-
* @param {array} aValueStateLinks The links in <code>sap.m.FormattedText</code> value state message.
|
|
509
|
-
* @returns {object} Delegate for navigation and focus handling for <code>sap.m.ValueStateHeader</code> containing <code>sap.m.FormattedText</code> message with links.
|
|
510
|
-
*
|
|
511
|
-
* @private
|
|
512
|
-
*/
|
|
513
|
-
MultiComboBox.prototype._valueStateNavDelegate = function(oValueStateHeader, aValueStateLinks) {
|
|
514
|
-
return {
|
|
515
|
-
onsapdown: this.handleDownEvent,
|
|
516
|
-
onsapup: this.focus,
|
|
517
|
-
onsapend: this.handleEndEvent,
|
|
518
|
-
onfocusout: function(oEvent) {
|
|
519
|
-
// Links should not be tabbable after the focus is moved outside of the value state header
|
|
520
|
-
oValueStateHeader.removeStyleClass("sapMFocusable");
|
|
521
|
-
|
|
522
|
-
// Check if the element getting the focus is outside the value state header
|
|
523
|
-
if (!oValueStateHeader.getDomRef().contains(oEvent.relatedTarget)) {
|
|
524
|
-
aValueStateLinks.forEach(function(oLink) {
|
|
525
|
-
oLink.getDomRef().setAttribute("tabindex", "-1");
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
},
|
|
529
|
-
onsapshow: this.close,
|
|
530
|
-
onsaphide: this.close
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
488
|
|
|
534
489
|
/**
|
|
535
490
|
* Event delegate for the last link in the <code>sap.m.FormattedText</code> value state message.
|
|
@@ -553,54 +508,49 @@ function(
|
|
|
553
508
|
*
|
|
554
509
|
* @private
|
|
555
510
|
*/
|
|
556
|
-
MultiComboBox.prototype._formattedTextLinksNav = {
|
|
557
|
-
|
|
558
|
-
|
|
511
|
+
MultiComboBox.prototype._formattedTextLinksNav = function(){
|
|
512
|
+
return {
|
|
513
|
+
onsapup: this.focus,
|
|
514
|
+
onsapdown: this.handleDownEvent
|
|
515
|
+
};
|
|
559
516
|
};
|
|
560
517
|
|
|
561
518
|
/**
|
|
562
|
-
* Handles the focus and
|
|
563
|
-
* when <code>sap.m.Link</code>
|
|
519
|
+
* Handles the focus and navigation of value state header links
|
|
520
|
+
* when <code>sap.m.Link</code> elements are present in the value state message
|
|
564
521
|
*
|
|
565
522
|
* @private
|
|
566
523
|
*/
|
|
567
|
-
MultiComboBox.prototype._handleFormattedTextNav = function() {
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
oLastValueStateLink = aValueStateLinks ? aValueStateLinks[aValueStateLinks.length - 1] : null,
|
|
571
|
-
oFirstValueStateLink = aValueStateLinks ? aValueStateLinks[0] : null;
|
|
524
|
+
MultiComboBox.prototype._handleFormattedTextNav = function () {
|
|
525
|
+
var oCustomHeader = this.getPicker().getCustomHeader();
|
|
526
|
+
var aValueStateLinks = this.getValueStateLinks();
|
|
572
527
|
|
|
573
|
-
if (!oCustomHeader.getDomRef()
|
|
528
|
+
if (!oCustomHeader.getDomRef() || aValueStateLinks.length === 0) {
|
|
574
529
|
return;
|
|
575
530
|
}
|
|
576
531
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
oCustomHeader.addEventDelegate(this.oValueStateNavDelegate, this);
|
|
580
|
-
}
|
|
532
|
+
const oLastValueStateLink = aValueStateLinks[aValueStateLinks.length - 1];
|
|
533
|
+
const oFirstValueStateLink = aValueStateLinks[0];
|
|
581
534
|
|
|
582
|
-
|
|
583
|
-
oCustomHeader.getDomRef().setAttribute("tabindex", "-1");
|
|
584
|
-
oCustomHeader.addStyleClass("sapMFocusable");
|
|
585
|
-
oCustomHeader.focus();
|
|
535
|
+
oFirstValueStateLink.focus();
|
|
586
536
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
aValueStateLinks.forEach(function(oLink) {
|
|
590
|
-
oLink.getDomRef().setAttribute("tabindex", "0");
|
|
591
|
-
oLink.addEventDelegate(this._formattedTextLinksNav, this);
|
|
592
|
-
}, this);
|
|
537
|
+
if (!this.bSetLinksDelegates) {
|
|
538
|
+
this.bSetLinksDelegates = true;
|
|
593
539
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
oCustomHeader.focus();
|
|
598
|
-
oCustomHeader.addStyleClass("sapMFocusable");
|
|
599
|
-
}
|
|
600
|
-
} : this.oMoveFocusBackToVSHeader;
|
|
540
|
+
aValueStateLinks.forEach(function(oLink) {
|
|
541
|
+
oLink.addEventDelegate(this._formattedTextLinksNav(), this);
|
|
542
|
+
}, this);
|
|
601
543
|
|
|
602
|
-
|
|
603
|
-
|
|
544
|
+
const oMoveFocusBackToInput = {
|
|
545
|
+
onsaptabprevious: function (oEvent) {
|
|
546
|
+
oEvent.preventDefault();
|
|
547
|
+
this.getFocusDomRef().focus();
|
|
548
|
+
}
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
oLastValueStateLink.addEventDelegate(this._closePickerDelegate, this);
|
|
552
|
+
oFirstValueStateLink.addEventDelegate(oMoveFocusBackToInput, this);
|
|
553
|
+
}
|
|
604
554
|
};
|
|
605
555
|
|
|
606
556
|
/**
|
|
@@ -925,6 +875,16 @@ function(
|
|
|
925
875
|
* @private
|
|
926
876
|
*/
|
|
927
877
|
MultiComboBox.prototype.onkeydown = function(oEvent) {
|
|
878
|
+
if (this.areHotKeysPressed(oEvent) && this.isOpen()) {
|
|
879
|
+
// Override the ComboBoxBase onkeydown method to prevent the default behavior
|
|
880
|
+
// of the ComboBoxBase when the hotkeys are pressed
|
|
881
|
+
// The default behavior would execute SuggestionsPopover handleKeyboardNavigation method
|
|
882
|
+
// that will select (not focus) the first list item and this is not a desired behavior for the MultiComboBox
|
|
883
|
+
this._handleFormattedTextNav();
|
|
884
|
+
|
|
885
|
+
return;
|
|
886
|
+
}
|
|
887
|
+
|
|
928
888
|
var bEditable = this.getEditable(),
|
|
929
889
|
oTokenizer = this.getAggregation("tokenizer"),
|
|
930
890
|
iTokensCount = oTokenizer.getTokens().length;
|
|
@@ -1441,24 +1401,10 @@ function(
|
|
|
1441
1401
|
* @private
|
|
1442
1402
|
*/
|
|
1443
1403
|
MultiComboBox.prototype.onAfterOpen = function() {
|
|
1444
|
-
var oDomRef = this.getFocusDomRef()
|
|
1445
|
-
aValueStateLinks = this.getValueStateLinks();
|
|
1404
|
+
var oDomRef = this.getFocusDomRef();
|
|
1446
1405
|
|
|
1447
1406
|
oDomRef && this.getFocusDomRef().setAttribute("aria-expanded", "true");
|
|
1448
1407
|
this._bPickerIsOpening = false;
|
|
1449
|
-
|
|
1450
|
-
// If there are links in the value state take the links out of
|
|
1451
|
-
// the tab chain by default. They will be tabbable only if the focus in the value state message
|
|
1452
|
-
aValueStateLinks.forEach(function(oLink) {
|
|
1453
|
-
oLink.addDelegate({
|
|
1454
|
-
onAfterRendering: function() {
|
|
1455
|
-
if (this.getFocusDomRef()) {
|
|
1456
|
-
this.getFocusDomRef().setAttribute("tabindex", "-1");
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
}, oLink);
|
|
1460
|
-
});
|
|
1461
|
-
|
|
1462
1408
|
// close error message when the list is open, otherwise the list can be covered by the message
|
|
1463
1409
|
this.closeValueStateMessage();
|
|
1464
1410
|
};
|
|
@@ -1955,6 +1901,10 @@ function(
|
|
|
1955
1901
|
}, this);
|
|
1956
1902
|
}
|
|
1957
1903
|
}
|
|
1904
|
+
|
|
1905
|
+
if (this.areHotKeysPressed(oEvent)) {
|
|
1906
|
+
this._handleFormattedTextNav(oEvent);
|
|
1907
|
+
}
|
|
1958
1908
|
},
|
|
1959
1909
|
|
|
1960
1910
|
onmousedown: function(oEvent) {
|
|
@@ -2037,8 +1987,6 @@ function(
|
|
|
2037
1987
|
|
|
2038
1988
|
if (this.getShowSelectAll()) {
|
|
2039
1989
|
this.focusSelectAll();
|
|
2040
|
-
} else if (this.getValueState() !== ValueState.None) {
|
|
2041
|
-
this._handleFormattedTextNav();
|
|
2042
1990
|
} else {
|
|
2043
1991
|
this.focus();
|
|
2044
1992
|
}
|
|
@@ -3823,11 +3771,6 @@ function(
|
|
|
3823
3771
|
onsapdown: this.handleDownEvent,
|
|
3824
3772
|
onsapup: function (oEvent) {
|
|
3825
3773
|
oEvent.preventDefault();
|
|
3826
|
-
if (this.getValueState() !== ValueState.None) {
|
|
3827
|
-
this._handleFormattedTextNav();
|
|
3828
|
-
return;
|
|
3829
|
-
}
|
|
3830
|
-
|
|
3831
3774
|
this.getFocusDomRef().focus();
|
|
3832
3775
|
},
|
|
3833
3776
|
onsaphome: this.handleHomeEvent,
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(['./ComboBoxBaseRenderer','./ComboBoxTextFieldRenderer', "sap/ui/core/Lib", 'sap/ui/core/Renderer'],
|
|
7
|
-
function(ComboBoxBaseRenderer, ComboBoxTextFieldRenderer, Library, Renderer) {
|
|
6
|
+
sap.ui.define(['./ComboBoxBaseRenderer','./ComboBoxTextFieldRenderer', "sap/ui/core/Lib", 'sap/ui/core/Renderer', 'sap/ui/core/library'],
|
|
7
|
+
function(ComboBoxBaseRenderer, ComboBoxTextFieldRenderer, Library, Renderer, coreLibrary) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
|
+
var ValueState = coreLibrary.ValueState;
|
|
11
|
+
|
|
10
12
|
/**
|
|
11
13
|
* MultiComboBox renderer.
|
|
12
14
|
* @namespace
|
|
@@ -45,6 +47,12 @@ sap.ui.define(['./ComboBoxBaseRenderer','./ComboBoxTextFieldRenderer', "sap/ui/c
|
|
|
45
47
|
oTokenizer = oControl.getAggregation("tokenizer"),
|
|
46
48
|
oInvisibleTextId = oTokenizer && oTokenizer.getTokensInfoId();
|
|
47
49
|
|
|
50
|
+
if (oControl.getValueState() !== ValueState.Error && oControl.getValueStateLinksForAcc().length ){
|
|
51
|
+
sAriaDescribedBy = sAriaDescribedBy
|
|
52
|
+
? `${sAriaDescribedBy} ${oControl.getValueStateLinksShortcutsId()}`
|
|
53
|
+
: oControl.getValueStateLinksShortcutsId();
|
|
54
|
+
}
|
|
55
|
+
|
|
48
56
|
return (sAriaDescribedBy ? sAriaDescribedBy + " " : "") + oInvisibleTextId;
|
|
49
57
|
};
|
|
50
58
|
|
|
@@ -60,6 +68,12 @@ sap.ui.define(['./ComboBoxBaseRenderer','./ComboBoxTextFieldRenderer', "sap/ui/c
|
|
|
60
68
|
|
|
61
69
|
mAccessibilityState.roledescription = oResourceBundle.getText("MULTICOMBOBOX_ARIA_ROLE_DESCRIPTION");
|
|
62
70
|
|
|
71
|
+
if (oControl.getValueState() === ValueState.Error && oControl.getValueStateLinksForAcc().length) {
|
|
72
|
+
mAccessibilityState.errormessage = mAccessibilityState.errormessage
|
|
73
|
+
? `${mAccessibilityState.errormessage} ${oControl.getValueStateLinksShortcutsId()}`
|
|
74
|
+
: oControl.getValueStateLinksShortcutsId();
|
|
75
|
+
}
|
|
76
|
+
|
|
63
77
|
return mAccessibilityState;
|
|
64
78
|
};
|
|
65
79
|
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/Lib", "sap/ui/core/XMLComposite", "./library", "sap/
|
|
|
17
17
|
* @implements sap.ui.core.IFormContent
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.135.0
|
|
21
21
|
* @experimental since 1.52
|
|
22
22
|
* @since 1.52.0
|
|
23
23
|
* @alias sap.m.MultiEditField
|
package/src/sap/m/MultiInput.js
CHANGED
|
@@ -87,8 +87,8 @@ function(
|
|
|
87
87
|
* <li> When you want the user to select from a predefined set of options. Use {@link sap.m.MultiComboBox} instead.</li>
|
|
88
88
|
* </ul>
|
|
89
89
|
* <h3>Responsive Behavior</h3>
|
|
90
|
-
* If there are many tokens, the control shows only the
|
|
91
|
-
* In case the length of the
|
|
90
|
+
* If there are many tokens, the control shows only the first selected tokens that fit and for the others a label <i>N-more</i> is provided.
|
|
91
|
+
* In case the length of the first selected token is exceeding the width of the control, only a label <i>N-Items</i> is shown.
|
|
92
92
|
* In both cases, pressing on the label will show the tokens in a popup.
|
|
93
93
|
* <u>On Phones:</u>
|
|
94
94
|
* <ul>
|
|
@@ -110,7 +110,7 @@ function(
|
|
|
110
110
|
* @extends sap.m.Input
|
|
111
111
|
*
|
|
112
112
|
* @author SAP SE
|
|
113
|
-
* @version 1.
|
|
113
|
+
* @version 1.135.0
|
|
114
114
|
*
|
|
115
115
|
* @constructor
|
|
116
116
|
* @public
|
|
@@ -290,10 +290,13 @@ function(
|
|
|
290
290
|
|
|
291
291
|
this.setAggregation("tokenizer", oTokenizer);
|
|
292
292
|
|
|
293
|
+
// Predefine the afterPopupClose function because in the standalone tokenizer the n-more popup
|
|
294
|
+
// closes when the focus is lost and the tokenizer goes to Narrow mode
|
|
295
|
+
// The tokenizer should stay in Loose mode when the focus goes to the input
|
|
296
|
+
oTokenizer.afterPopupClose = this._onAfterCloseTokensPicker.bind(this);
|
|
297
|
+
|
|
293
298
|
oTokenizer.getTokensPopup()
|
|
294
299
|
.attachBeforeOpen(this._onBeforeOpenTokensPicker.bind(this))
|
|
295
|
-
.attachAfterClose(this._onAfterCloseTokensPicker.bind(this))
|
|
296
|
-
|
|
297
300
|
/* Prevent closing of n more popover when input is clicked */
|
|
298
301
|
._getPopup().setExtraContent([oTokenizer, this]);
|
|
299
302
|
|
|
@@ -691,14 +694,19 @@ function(
|
|
|
691
694
|
};
|
|
692
695
|
|
|
693
696
|
MultiInput.prototype._onLiveChange = function (eventArgs) {
|
|
694
|
-
var
|
|
695
|
-
|
|
696
|
-
});
|
|
697
|
+
var aTokens = this.getAggregation("tokenizer").getTokens();
|
|
698
|
+
var bClearTokens = aTokens.length > 0 && aTokens.every((oToken) => oToken.getSelected());
|
|
697
699
|
|
|
698
700
|
if (!bClearTokens) {
|
|
699
701
|
return;
|
|
700
702
|
}
|
|
701
703
|
|
|
704
|
+
this.fireTokenUpdate({
|
|
705
|
+
type: Tokenizer.TokenUpdateType.Removed,
|
|
706
|
+
addedTokens: [],
|
|
707
|
+
removedTokens: aTokens
|
|
708
|
+
});
|
|
709
|
+
|
|
702
710
|
this.removeAllTokens();
|
|
703
711
|
};
|
|
704
712
|
|
package/src/sap/m/NewsContent.js
CHANGED
|
@@ -47,7 +47,7 @@ function(library, Localization, Control, coreLibrary, Text, Element, Locale, Key
|
|
|
47
47
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
48
48
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.135.0
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -62,7 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
*
|
|
63
63
|
* @extends sap.ui.core.Control
|
|
64
64
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.135.0
|
|
66
66
|
*
|
|
67
67
|
* @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
|
|
68
68
|
* @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/ToolbarLayoutData', 'sap/m/library', "sap/base/Log"],
|
|
|
22
22
|
* Holds layout data for the {@link sap.m.OverflowToolbar} items.
|
|
23
23
|
* @extends sap.m.ToolbarLayoutData
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.135.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>filterItems</code> aggregation in P13nFilterPanel control.
|
|
19
19
|
* @extends sap.m.P13nFilterItem
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.135.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.56.0
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>columnsItems</code> aggregation in <code>P13nColumnsPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.135.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|