@openui5/sap.m 1.116.0 → 1.117.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/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 +1 -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 +23 -5
- package/src/sap/m/AvatarRenderer.js +16 -10
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +6 -5
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +24 -8
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +18 -4
- package/src/sap/m/CheckBox.js +8 -4
- package/src/sap/m/ColorPalette.js +1 -1
- 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 +3 -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/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 -5
- package/src/sap/m/DatePickerRenderer.js +3 -2
- package/src/sap/m/DateRangeSelection.js +45 -22
- package/src/sap/m/DateTimeField.js +3 -3
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/DateTimePickerRenderer.js +3 -1
- package/src/sap/m/Dialog.js +16 -10
- package/src/sap/m/DialogRenderer.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 +1 -1
- package/src/sap/m/DynamicDateOption.js +2 -2
- package/src/sap/m/DynamicDateRange.js +42 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -3
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- 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 +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +2 -2
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +12 -7
- 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/HyphenationSupport.js +13 -4
- package/src/sap/m/IconTabBar.js +3 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +3 -2
- 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 +4 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +4 -3
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +10 -6
- package/src/sap/m/InputBase.js +7 -5
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.js +3 -3
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +8 -3
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +59 -21
- package/src/sap/m/ListBaseRenderer.js +12 -4
- package/src/sap/m/ListItemBase.js +17 -8
- package/src/sap/m/ListItemBaseRenderer.js +6 -6
- 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 +14 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.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 +1 -1
- 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 +2 -2
- package/src/sap/m/MultiComboBox.js +3 -3
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +13 -2
- package/src/sap/m/NavContainer.js +21 -5
- 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 +6 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +9 -2
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +19 -3
- package/src/sap/m/ObjectStatusRenderer.js +14 -9
- package/src/sap/m/OverflowToolbar.js +24 -15
- package/src/sap/m/OverflowToolbarAssociativePopover.js +5 -5
- 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 +2 -8
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +2 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +3 -10
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +28 -43
- 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 +5 -3
- 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/PDFViewerRenderer.js +1 -1
- package/src/sap/m/Page.js +8 -6
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +11 -2
- package/src/sap/m/PanelRenderer.js +9 -0
- package/src/sap/m/PlanningCalendar.js +10 -4
- 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 +13 -17
- 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 +14 -1
- package/src/sap/m/QuickViewCardRenderer.js +0 -4
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +40 -28
- 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 +3 -3
- package/src/sap/m/SearchField.js +8 -12
- package/src/sap/m/SearchFieldRenderer.js +5 -5
- package/src/sap/m/SegmentedButton.js +4 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +3 -3
- package/src/sap/m/Select.js +18 -16
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +28 -4
- package/src/sap/m/SelectList.js +5 -6
- 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 +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +43 -43
- 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 +1 -1
- 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 +8 -13
- package/src/sap/m/StandardDynamicDateOption.js +2 -2
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -3
- package/src/sap/m/SuggestionItem.js +4 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- 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 +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +14 -12
- 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 +5 -5
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/TextRenderer.js +3 -3
- 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/TileRenderer.js +7 -4
- package/src/sap/m/TimePicker.js +13 -11
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +3 -2
- 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 +1 -1
- package/src/sap/m/Toolbar.js +4 -2
- 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 +2 -2
- 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 +12 -12
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +2 -2
- 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 +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +5 -5
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -0
- package/src/sap/m/library.js +55 -7
- package/src/sap/m/messagebundle.properties +5 -2
- package/src/sap/m/messagebundle_ar.properties +20 -10
- package/src/sap/m/messagebundle_bg.properties +19 -9
- package/src/sap/m/messagebundle_ca.properties +20 -10
- package/src/sap/m/messagebundle_cs.properties +20 -10
- package/src/sap/m/messagebundle_cy.properties +20 -10
- package/src/sap/m/messagebundle_da.properties +20 -10
- package/src/sap/m/messagebundle_de.properties +20 -10
- package/src/sap/m/messagebundle_el.properties +20 -10
- package/src/sap/m/messagebundle_en.properties +20 -10
- package/src/sap/m/messagebundle_en_GB.properties +20 -10
- package/src/sap/m/messagebundle_en_US_sappsd.properties +21 -11
- package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -11
- package/src/sap/m/messagebundle_en_US_saptrc.properties +21 -11
- package/src/sap/m/messagebundle_es.properties +20 -10
- package/src/sap/m/messagebundle_es_MX.properties +20 -10
- package/src/sap/m/messagebundle_et.properties +20 -10
- package/src/sap/m/messagebundle_fi.properties +19 -9
- package/src/sap/m/messagebundle_fr.properties +20 -10
- package/src/sap/m/messagebundle_fr_CA.properties +20 -10
- package/src/sap/m/messagebundle_hi.properties +20 -10
- package/src/sap/m/messagebundle_hr.properties +20 -10
- package/src/sap/m/messagebundle_hu.properties +19 -9
- package/src/sap/m/messagebundle_id.properties +21 -11
- package/src/sap/m/messagebundle_it.properties +20 -10
- package/src/sap/m/messagebundle_iw.properties +21 -11
- package/src/sap/m/messagebundle_ja.properties +20 -10
- package/src/sap/m/messagebundle_kk.properties +20 -10
- package/src/sap/m/messagebundle_ko.properties +21 -11
- package/src/sap/m/messagebundle_lt.properties +20 -10
- package/src/sap/m/messagebundle_lv.properties +20 -10
- package/src/sap/m/messagebundle_ms.properties +20 -10
- package/src/sap/m/messagebundle_nl.properties +22 -12
- package/src/sap/m/messagebundle_no.properties +20 -10
- package/src/sap/m/messagebundle_pl.properties +22 -12
- package/src/sap/m/messagebundle_pt.properties +20 -10
- package/src/sap/m/messagebundle_pt_PT.properties +20 -10
- package/src/sap/m/messagebundle_ro.properties +20 -10
- package/src/sap/m/messagebundle_ru.properties +18 -8
- package/src/sap/m/messagebundle_sh.properties +20 -10
- package/src/sap/m/messagebundle_sk.properties +20 -10
- package/src/sap/m/messagebundle_sl.properties +19 -9
- package/src/sap/m/messagebundle_sv.properties +20 -10
- package/src/sap/m/messagebundle_th.properties +21 -11
- package/src/sap/m/messagebundle_tr.properties +20 -10
- package/src/sap/m/messagebundle_uk.properties +20 -10
- package/src/sap/m/messagebundle_vi.properties +20 -10
- package/src/sap/m/messagebundle_zh_CN.properties +20 -10
- package/src/sap/m/messagebundle_zh_TW.properties +20 -10
- 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 +1 -2
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +32 -5
- package/src/sap/m/p13n/FlexUtil.js +7 -3
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +2 -97
- package/src/sap/m/p13n/Popup.js +25 -2
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +6 -2
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/enum/PersistenceMode.js +9 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +12 -12
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +24 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -13
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +5 -4
- package/src/sap/m/p13n/modules/xConfigAPI.js +26 -0
- package/src/sap/m/plugins/CellSelector.js +534 -799
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +8 -2
- 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/table/Util.js +6 -5
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.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 +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Avatar.less +50 -11
- package/src/sap/m/themes/base/Carousel.less +7 -0
- package/src/sap/m/themes/base/CellSelector.less +50 -105
- package/src/sap/m/themes/base/IconTabBar.less +1 -1
- package/src/sap/m/themes/base/Link.less +20 -24
- package/src/sap/m/themes/base/NumericContent.less +4 -0
- package/src/sap/m/themes/base/Panel.less +14 -0
- package/src/sap/m/themes/base/SearchField.less +5 -0
- package/src/sap/m/themes/base/Select.less +1 -0
- package/src/sap/m/themes/base/Table.less +4 -0
- package/src/sap/m/themes/base/UploadSet.less +13 -1
- package/src/sap/m/themes/base/VariantManagement.less +1 -0
- package/src/sap/m/upload/FilePreviewDialog.js +68 -34
- package/src/sap/m/upload/UploadSet.js +136 -64
- package/src/sap/m/upload/UploadSetItem.js +51 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/ui5.yaml +1 -1
package/src/sap/m/ListBase.js
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.ListBase.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/base/i18n/Localization",
|
|
10
|
+
"sap/ui/core/ControlBehavior",
|
|
9
11
|
"sap/ui/events/KeyCodes",
|
|
10
12
|
"sap/ui/Device",
|
|
11
13
|
"sap/ui/core/Core",
|
|
@@ -15,6 +17,7 @@ sap.ui.define([
|
|
|
15
17
|
"sap/ui/core/LabelEnablement",
|
|
16
18
|
"sap/ui/core/delegate/ItemNavigation",
|
|
17
19
|
"./library",
|
|
20
|
+
"sap/ui/core/library",
|
|
18
21
|
"./InstanceManager",
|
|
19
22
|
"./GrowingEnablement",
|
|
20
23
|
"./GroupHeaderListItem",
|
|
@@ -25,10 +28,13 @@ sap.ui.define([
|
|
|
25
28
|
"sap/base/Log",
|
|
26
29
|
"sap/ui/core/InvisibleMessage",
|
|
27
30
|
"sap/m/table/Util",
|
|
31
|
+
"sap/ui/core/Lib",
|
|
28
32
|
"sap/ui/dom/jquery/Selectors", // jQuery custom selectors ":sapTabbable"
|
|
29
33
|
"sap/ui/dom/jquery/Aria" // jQuery Plugin "addAriaLabelledBy", "removeAriaLabelledBy"
|
|
30
34
|
],
|
|
31
35
|
function(
|
|
36
|
+
Localization,
|
|
37
|
+
ControlBehavior,
|
|
32
38
|
KeyCodes,
|
|
33
39
|
Device,
|
|
34
40
|
Core,
|
|
@@ -38,6 +44,7 @@ function(
|
|
|
38
44
|
LabelEnablement,
|
|
39
45
|
ItemNavigation,
|
|
40
46
|
library,
|
|
47
|
+
coreLibrary,
|
|
41
48
|
InstanceManager,
|
|
42
49
|
GrowingEnablement,
|
|
43
50
|
GroupHeaderListItem,
|
|
@@ -47,7 +54,8 @@ function(
|
|
|
47
54
|
jQuery,
|
|
48
55
|
Log,
|
|
49
56
|
InvisibleMessage,
|
|
50
|
-
Util
|
|
57
|
+
Util,
|
|
58
|
+
Library
|
|
51
59
|
) {
|
|
52
60
|
"use strict";
|
|
53
61
|
|
|
@@ -79,6 +87,9 @@ function(
|
|
|
79
87
|
// shortcut for sap.m.MultiSelectMode
|
|
80
88
|
var MultiSelectMode = library.MultiSelectMode;
|
|
81
89
|
|
|
90
|
+
// shortcut for sap.ui.core.TitleLevel
|
|
91
|
+
var TitleLevel = coreLibrary.TitleLevel;
|
|
92
|
+
|
|
82
93
|
/**
|
|
83
94
|
* Constructor for a new ListBase.
|
|
84
95
|
*
|
|
@@ -97,7 +108,7 @@ function(
|
|
|
97
108
|
* @extends sap.ui.core.Control
|
|
98
109
|
*
|
|
99
110
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
111
|
+
* @version 1.117.0
|
|
101
112
|
*
|
|
102
113
|
* @constructor
|
|
103
114
|
* @public
|
|
@@ -118,10 +129,27 @@ function(
|
|
|
118
129
|
|
|
119
130
|
/**
|
|
120
131
|
* Defines the header text that appears in the control.
|
|
121
|
-
* <b>Note:</b>
|
|
132
|
+
* <b>Note:</b>
|
|
133
|
+
* If the <code>headerToolbar</code> aggregation is set, then this property is ignored.
|
|
134
|
+
* If this is the case, use, for example, a <code>sap.m.Title</code> control in the toolbar to define a header.
|
|
122
135
|
*/
|
|
123
136
|
headerText : {type : "string", group : "Misc", defaultValue : null},
|
|
124
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Defines the semantic header level of the header text (see {@link #getHeaderText headerText} property}).
|
|
140
|
+
* This information is, for example, used by assistive technologies, such as screenreaders, to create a hierarchical site
|
|
141
|
+
* map for faster navigation.
|
|
142
|
+
* Depending on this setting, either the ARIA equivalent of an HTML h1-h6 element is used or, when using the
|
|
143
|
+
* <code>Auto</code> level, no explicit level information is used.
|
|
144
|
+
*
|
|
145
|
+
* <b>Note:</b>
|
|
146
|
+
* If the <code>headerToolbar</code> aggregation is set, then this property is ignored.
|
|
147
|
+
* If this is the case, use, for example, a <code>sap.m.Title</code> control in the toolbar to define a header.
|
|
148
|
+
*
|
|
149
|
+
* @since 1.117.0
|
|
150
|
+
*/
|
|
151
|
+
headerLevel : {type : "sap.ui.core.TitleLevel", group : "Misc", defaultValue : TitleLevel.Auto},
|
|
152
|
+
|
|
125
153
|
/**
|
|
126
154
|
* Defines the header style of the control. Possible values are <code>Standard</code> and <code>Plain</code>.
|
|
127
155
|
* @since 1.14
|
|
@@ -258,17 +286,20 @@ function(
|
|
|
258
286
|
|
|
259
287
|
/**
|
|
260
288
|
* Defines the multi-selection mode for the control.
|
|
261
|
-
*
|
|
262
|
-
* the
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
289
|
+
*
|
|
290
|
+
* If the property is set to <code>ClearAll</code>, then selecting items via the
|
|
291
|
+
* keyboard shortcut <i>CTRL + A</i> and via the <code>selectAll</code> method is not possible.
|
|
292
|
+
* See {@link #selectAll selectAll} for more details.
|
|
293
|
+
* A selection of multiple items is still possible using the range selection feature.
|
|
294
|
+
* For more information about the range selection, see {@link topic:8a0d4efa29d44ef39219c18d832012da Keyboard Handling for Item Selection}.
|
|
295
|
+
*
|
|
296
|
+
* <b>Only relevant for <code>sap.m.Table</code>:</b>
|
|
297
|
+
* If <code>ClearAll</code> is set, the table renders a Deselect All icon in the column header,
|
|
298
|
+
* otherwise a Select All checkbox is shown. The Select All checkbox allows the user to select all the
|
|
299
|
+
* items in the control, and the Deselect All icon deselects the items.
|
|
266
300
|
*
|
|
267
301
|
* <b>Note:</b> This property must be used with the <code>MultiSelect</code> mode.
|
|
268
|
-
*
|
|
269
|
-
* via the range selection feature except <i>CTRL + A</i>.
|
|
270
|
-
* Additionally, the <i>CTRL + SHIFT + A</i> key combination can be used for deselecting all the items.
|
|
271
|
-
* For details on the range selection, please see {@link topic:8a0d4efa29d44ef39219c18d832012da Keyboard Handling for Item Selection}.
|
|
302
|
+
*
|
|
272
303
|
* @since 1.93
|
|
273
304
|
*/
|
|
274
305
|
multiSelectMode : {type: "sap.m.MultiSelectMode", group: "Behavior", defaultValue: MultiSelectMode.Default}
|
|
@@ -605,6 +636,7 @@ function(
|
|
|
605
636
|
|
|
606
637
|
// this gets called only with oData Model when first load or filter/sort
|
|
607
638
|
ListBase.prototype.refreshItems = function(sReason) {
|
|
639
|
+
this._bRefreshItems = true;
|
|
608
640
|
if (this._oGrowingDelegate) {
|
|
609
641
|
// inform growing delegate to handle
|
|
610
642
|
this._oGrowingDelegate.refreshItems(sReason);
|
|
@@ -850,7 +882,7 @@ function(
|
|
|
850
882
|
|
|
851
883
|
// return no data text from resource bundle when there is no custom
|
|
852
884
|
var sNoDataText = this.getProperty("noDataText");
|
|
853
|
-
sNoDataText = sNoDataText ||
|
|
885
|
+
sNoDataText = sNoDataText || Library.getResourceBundleFor("sap.m").getText("LIST_NO_DATA");
|
|
854
886
|
return sNoDataText;
|
|
855
887
|
};
|
|
856
888
|
|
|
@@ -1350,7 +1382,6 @@ function(
|
|
|
1350
1382
|
|
|
1351
1383
|
// fire updateFinished event delayed to make sure rendering phase is done
|
|
1352
1384
|
ListBase.prototype._fireUpdateFinished = function(oInfo) {
|
|
1353
|
-
this._hideBusyIndicator();
|
|
1354
1385
|
setTimeout(function() {
|
|
1355
1386
|
this._bItemNavigationInvalidated = true;
|
|
1356
1387
|
this.fireUpdateFinished({
|
|
@@ -1539,7 +1570,7 @@ function(
|
|
|
1539
1570
|
// announce the selection state changes
|
|
1540
1571
|
// but only announce if the document.activeElement is the listItem control, else selection control should announce the selection change
|
|
1541
1572
|
if (this.getAriaRole() === "list" && document.activeElement === oListItem.getDomRef()) {
|
|
1542
|
-
var oResourceBundle =
|
|
1573
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
1543
1574
|
InvisibleMessage.getInstance().announce(bSelected ? oResourceBundle.getText("LIST_ITEM_SELECTED") : oResourceBundle.getText("LIST_ITEM_NOT_SELECTED"), "Assertive");
|
|
1544
1575
|
}
|
|
1545
1576
|
}
|
|
@@ -1601,6 +1632,7 @@ function(
|
|
|
1601
1632
|
oEvent.ctrlKey ||
|
|
1602
1633
|
oEvent.altKey ||
|
|
1603
1634
|
oEvent.metaKey ||
|
|
1635
|
+
oEvent.code == "Tab" ||
|
|
1604
1636
|
this.getMode() !== ListMode.MultiSelect ||
|
|
1605
1637
|
!oItem.isSelectable() ||
|
|
1606
1638
|
oEvent.which === KeyCodes.F6) {
|
|
@@ -1867,7 +1899,7 @@ function(
|
|
|
1867
1899
|
// Swipe from the end to the begin - right to left in LTR and left to right in RTL languages.
|
|
1868
1900
|
ListBase.prototype.onswipeleft = function(oEvent) {
|
|
1869
1901
|
|
|
1870
|
-
var bRtl =
|
|
1902
|
+
var bRtl = Localization.getRTL();
|
|
1871
1903
|
var exceptDirection = bRtl ? SwipeDirection.EndToBegin : SwipeDirection.BeginToEnd;
|
|
1872
1904
|
var swipeDirection = this.getSwipeDirection();
|
|
1873
1905
|
|
|
@@ -1887,7 +1919,7 @@ function(
|
|
|
1887
1919
|
|
|
1888
1920
|
// Swipe from the begin to the end - left to right in LTR and right to left in RTL languages.
|
|
1889
1921
|
ListBase.prototype.onswiperight = function(oEvent) {
|
|
1890
|
-
var bRtl =
|
|
1922
|
+
var bRtl = Localization.getRTL();
|
|
1891
1923
|
var exceptDirection = bRtl ? SwipeDirection.BeginToEnd : SwipeDirection.EndToBegin;
|
|
1892
1924
|
var swipeDirection = this.getSwipeDirection();
|
|
1893
1925
|
|
|
@@ -1975,7 +2007,7 @@ function(
|
|
|
1975
2007
|
};
|
|
1976
2008
|
|
|
1977
2009
|
ListBase.prototype.getAccessibilityType = function() {
|
|
1978
|
-
return
|
|
2010
|
+
return Library.getResourceBundleFor("sap.m").getText("ACC_CTR_TYPE_LIST");
|
|
1979
2011
|
};
|
|
1980
2012
|
|
|
1981
2013
|
ListBase.prototype.getAccessibilityStates = function() {
|
|
@@ -1986,7 +2018,7 @@ function(
|
|
|
1986
2018
|
var sStates = "",
|
|
1987
2019
|
mMode = ListMode,
|
|
1988
2020
|
sMode = this.getMode(),
|
|
1989
|
-
oBundle =
|
|
2021
|
+
oBundle = Library.getResourceBundleFor("sap.m");
|
|
1990
2022
|
|
|
1991
2023
|
if (LabelEnablement.isRequired(this)) {
|
|
1992
2024
|
sStates += oBundle.getText("LIST_REQUIRED") + " ";
|
|
@@ -2054,7 +2086,7 @@ function(
|
|
|
2054
2086
|
this._handleStickyItemFocus(oItem.getDomRef());
|
|
2055
2087
|
|
|
2056
2088
|
if (oItem !== oFocusedControl ||
|
|
2057
|
-
!
|
|
2089
|
+
!ControlBehavior.isAccessibilityEnabled()) {
|
|
2058
2090
|
return;
|
|
2059
2091
|
}
|
|
2060
2092
|
|
|
@@ -2066,7 +2098,7 @@ function(
|
|
|
2066
2098
|
} else {
|
|
2067
2099
|
// prepare the announcement for the screen reader
|
|
2068
2100
|
var oAccInfo = oItem.getAccessibilityInfo(),
|
|
2069
|
-
oBundle =
|
|
2101
|
+
oBundle = Library.getResourceBundleFor("sap.m"),
|
|
2070
2102
|
sDescription = oItem.isGroupHeader() ? "" : oAccInfo.type + " . ";
|
|
2071
2103
|
|
|
2072
2104
|
if (this.isA("sap.m.Table")) {
|
|
@@ -2080,6 +2112,12 @@ function(
|
|
|
2080
2112
|
}
|
|
2081
2113
|
};
|
|
2082
2114
|
|
|
2115
|
+
ListBase.prototype.onItemFocusOut = function(oItem) {
|
|
2116
|
+
var oInvisibleText = ListBase.getInvisibleText(),
|
|
2117
|
+
$ItemDomRef = jQuery(oItem.getDomRef());
|
|
2118
|
+
$ItemDomRef.removeAriaLabelledBy(oInvisibleText.getId());
|
|
2119
|
+
};
|
|
2120
|
+
|
|
2083
2121
|
ListBase.prototype.updateInvisibleText = function(sText, oItemDomRef, bPrepend) {
|
|
2084
2122
|
var oInvisibleText = ListBase.getInvisibleText(),
|
|
2085
2123
|
$FocusedItem = jQuery(oItemDomRef || document.activeElement);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2009-2023 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(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText", "./ListItemBaseRenderer"],
|
|
7
|
-
function(library, Device, InvisibleText, ListItemBaseRenderer) {
|
|
6
|
+
sap.ui.define(["sap/m/library", "sap/ui/core/library", "sap/ui/Device", "sap/ui/core/InvisibleText", "./ListItemBaseRenderer"],
|
|
7
|
+
function(library, coreLibrary, Device, InvisibleText, ListItemBaseRenderer) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
|
|
@@ -17,6 +17,9 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText", ".
|
|
|
17
17
|
// shortcut for sap.m.ToolbarDesign
|
|
18
18
|
var ToolbarDesign = library.ToolbarDesign;
|
|
19
19
|
|
|
20
|
+
// shortcut for sap.ui.core.TitleLevel
|
|
21
|
+
var TitleLevel = coreLibrary.TitleLevel;
|
|
22
|
+
|
|
20
23
|
|
|
21
24
|
/**
|
|
22
25
|
* ListBase renderer.
|
|
@@ -101,10 +104,15 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText", ".
|
|
|
101
104
|
oHeaderTBar.addStyleClass("sapMTBHeader-CTX");
|
|
102
105
|
rm.renderControl(oHeaderTBar);
|
|
103
106
|
} else if (sHeaderText) {
|
|
104
|
-
rm.openStart("
|
|
107
|
+
rm.openStart("div", oControl.getId("header"));
|
|
108
|
+
rm.attr("role", "heading");
|
|
109
|
+
var sHeaderLevel = oControl.getHeaderLevel();
|
|
110
|
+
if (sHeaderLevel != TitleLevel.Auto) {
|
|
111
|
+
rm.attr("aria-level", sHeaderLevel[sHeaderLevel.length - 1]);
|
|
112
|
+
}
|
|
105
113
|
rm.class("sapMListHdr").class("sapMListHdrText").openEnd();
|
|
106
114
|
rm.text(sHeaderText);
|
|
107
|
-
rm.close("
|
|
115
|
+
rm.close("div");
|
|
108
116
|
}
|
|
109
117
|
|
|
110
118
|
// render info bar
|
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/events/KeyCodes",
|
|
11
11
|
"sap/ui/model/BindingMode",
|
|
12
12
|
"sap/ui/Device",
|
|
13
|
-
"sap/ui/core/Core",
|
|
14
13
|
"sap/ui/core/library",
|
|
15
14
|
"sap/ui/core/Control",
|
|
16
15
|
"sap/ui/core/IconPool",
|
|
@@ -24,6 +23,7 @@ sap.ui.define([
|
|
|
24
23
|
"./ListItemBaseRenderer",
|
|
25
24
|
"sap/base/strings/capitalize",
|
|
26
25
|
"sap/ui/thirdparty/jquery",
|
|
26
|
+
"sap/ui/core/Lib",
|
|
27
27
|
// jQuery custom selectors ":sapTabbable", ":sapFocusable"
|
|
28
28
|
"sap/ui/dom/jquery/Selectors"
|
|
29
29
|
],
|
|
@@ -32,7 +32,6 @@ function(
|
|
|
32
32
|
KeyCodes,
|
|
33
33
|
BindingMode,
|
|
34
34
|
Device,
|
|
35
|
-
Core,
|
|
36
35
|
coreLibrary,
|
|
37
36
|
Control,
|
|
38
37
|
IconPool,
|
|
@@ -45,7 +44,8 @@ function(
|
|
|
45
44
|
RadioButton,
|
|
46
45
|
ListItemBaseRenderer,
|
|
47
46
|
capitalize,
|
|
48
|
-
jQuery
|
|
47
|
+
jQuery,
|
|
48
|
+
Library
|
|
49
49
|
) {
|
|
50
50
|
"use strict";
|
|
51
51
|
|
|
@@ -78,7 +78,7 @@ function(
|
|
|
78
78
|
* @extends sap.ui.core.Control
|
|
79
79
|
*
|
|
80
80
|
* @author SAP SE
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.117.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -193,7 +193,7 @@ function(
|
|
|
193
193
|
});
|
|
194
194
|
|
|
195
195
|
ListItemBase.getAccessibilityText = function(oControl, bDetectEmpty, bHeaderAnnouncement) {
|
|
196
|
-
var oBundle =
|
|
196
|
+
var oBundle = Library.getResourceBundleFor("sap.m");
|
|
197
197
|
|
|
198
198
|
if (!oControl || !oControl.getVisible || !oControl.getVisible()) {
|
|
199
199
|
return bDetectEmpty ? oBundle.getText("CONTROL_EMPTY") : "";
|
|
@@ -456,7 +456,7 @@ function(
|
|
|
456
456
|
};
|
|
457
457
|
|
|
458
458
|
ListItemBase.prototype.getAccessibilityInfo = function() {
|
|
459
|
-
var oBundle =
|
|
459
|
+
var oBundle = Library.getResourceBundleFor("sap.m");
|
|
460
460
|
return {
|
|
461
461
|
type: this.getAccessibilityType(oBundle),
|
|
462
462
|
description: this.getAccessibilityDescription(oBundle),
|
|
@@ -527,7 +527,7 @@ function(
|
|
|
527
527
|
id: this.getId() + "-imgDel",
|
|
528
528
|
icon: this.DeleteIconURI,
|
|
529
529
|
type: ButtonType.Transparent,
|
|
530
|
-
tooltip:
|
|
530
|
+
tooltip: Library.getResourceBundleFor("sap.m").getText("LIST_ITEM_DELETE")
|
|
531
531
|
}).addStyleClass("sapMLIBIconDel sapMLIBSelectD").setParent(this, null, true).attachPress(function(oEvent) {
|
|
532
532
|
this.informList("Delete");
|
|
533
533
|
}, this);
|
|
@@ -564,7 +564,7 @@ function(
|
|
|
564
564
|
id: this.getId() + "-imgDet",
|
|
565
565
|
icon: this.DetailIconURI,
|
|
566
566
|
type: ButtonType.Transparent,
|
|
567
|
-
tooltip:
|
|
567
|
+
tooltip: Library.getResourceBundleFor("sap.m").getText("LIST_ITEM_EDIT")
|
|
568
568
|
}).addStyleClass("sapMLIBType sapMLIBIconDet").setParent(this, null, true).attachPress(function() {
|
|
569
569
|
this.fireDetailTap();
|
|
570
570
|
this.fireDetailPress();
|
|
@@ -1330,6 +1330,15 @@ function(
|
|
|
1330
1330
|
setTimeout(oList["setItemFocusable"].bind(oList, this), 0);
|
|
1331
1331
|
};
|
|
1332
1332
|
|
|
1333
|
+
ListItemBase.prototype.onfocusout = function(oEvent) {
|
|
1334
|
+
if (oEvent.isMarked() || oEvent.srcControl !== this) {
|
|
1335
|
+
return;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
this.informList("FocusOut", oEvent.srcControl);
|
|
1339
|
+
oEvent.setMarked();
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1333
1342
|
// inform the list for the vertical navigation
|
|
1334
1343
|
ListItemBase.prototype.onsapup = function(oEvent) {
|
|
1335
1344
|
if (oEvent.isMarked() ||
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["
|
|
8
|
-
function(
|
|
7
|
+
sap.ui.define(["sap/ui/core/ControlBehavior", "./library", "sap/ui/Device", "sap/ui/core/InvisibleText", "sap/ui/core/InvisibleRenderer", "sap/ui/core/Configuration", "sap/ui/core/Lib"],
|
|
8
|
+
function(ControlBehavior, library, Device, InvisibleText, InvisibleRenderer, Configuration, Library) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -85,7 +85,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
|
|
|
85
85
|
oModeControl.removeStyleClass("sapMLIBSelectAnimation sapMLIBUnselectAnimation");
|
|
86
86
|
|
|
87
87
|
// determine whether animation is necessary or not
|
|
88
|
-
if (
|
|
88
|
+
if (ControlBehavior.getAnimationMode() === Configuration.AnimationMode.none || !oLI.getListProperty("modeAnimationOn")) {
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -120,7 +120,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
|
|
|
120
120
|
|
|
121
121
|
ListItemBaseRenderer.renderCounterContent = function(rm, oLI, iCounter) {
|
|
122
122
|
rm.openStart("div", oLI.getId() + "-counter");
|
|
123
|
-
rm.attr("aria-label",
|
|
123
|
+
rm.attr("aria-label", Library.getResourceBundleFor("sap.m").getText("LIST_ITEM_COUNTER", iCounter));
|
|
124
124
|
rm.class("sapMLIBCounter");
|
|
125
125
|
rm.openEnd();
|
|
126
126
|
rm.text(iCounter);
|
|
@@ -310,7 +310,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
|
|
|
310
310
|
mAccessibilityState.selected = null;
|
|
311
311
|
if (oLI.isGroupHeader()) {
|
|
312
312
|
mAccessibilityState.role = "group";
|
|
313
|
-
mAccessibilityState.roledescription = oLI.getAccessibilityType(
|
|
313
|
+
mAccessibilityState.roledescription = oLI.getAccessibilityType(Library.getResourceBundleFor("sap.m"));
|
|
314
314
|
var aGroupedItems = oLI.getGroupedItems();
|
|
315
315
|
if (aGroupedItems && aGroupedItems.length) {
|
|
316
316
|
mAccessibilityState.owns = aGroupedItems.join(" ");
|
|
@@ -431,7 +431,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
|
|
|
431
431
|
this.renderTabIndex(rm, oLI);
|
|
432
432
|
|
|
433
433
|
// handle accessibility states
|
|
434
|
-
if (
|
|
434
|
+
if (ControlBehavior.isAccessibilityEnabled()) {
|
|
435
435
|
rm.accessibilityState(oLI, this.getAccessibilityState(oLI));
|
|
436
436
|
}
|
|
437
437
|
|
package/src/sap/m/MaskEnabler.js
CHANGED
package/src/sap/m/MaskInput.js
CHANGED
package/src/sap/m/Menu.js
CHANGED
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* @implements sap.ui.core.IContextMenu
|
|
71
71
|
*
|
|
72
72
|
* @author SAP SE
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.117.0
|
|
74
74
|
*
|
|
75
75
|
* @constructor
|
|
76
76
|
* @public
|
|
@@ -261,6 +261,19 @@ sap.ui.define([
|
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
+
/**
|
|
265
|
+
* Returns whether the <code>Menu</code> is currently open.
|
|
266
|
+
* @returns {boolean} true if menu is open
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
Menu.prototype.isOpen = function() {
|
|
270
|
+
if (Device.system.phone) {
|
|
271
|
+
return this._getDialog() && this._getDialog().isOpen();
|
|
272
|
+
} else {
|
|
273
|
+
return this._getVisualParent() && this._getVisualParent().isOpen();
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
|
|
264
277
|
/**
|
|
265
278
|
* Creates the dialog that contains the actual menu for mobile.
|
|
266
279
|
* @private
|
package/src/sap/m/MenuButton.js
CHANGED
package/src/sap/m/MenuItem.js
CHANGED
package/src/sap/m/MessageItem.js
CHANGED
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* 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.
|
|
73
73
|
*
|
|
74
74
|
* @author SAP SE
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.117.0
|
|
76
76
|
*
|
|
77
77
|
* @namespace
|
|
78
78
|
* @public
|
package/src/sap/m/MessageView.js
CHANGED
|
@@ -114,7 +114,7 @@ sap.ui.define([
|
|
|
114
114
|
* 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
|
|
115
115
|
* container’s sizes are not defined.
|
|
116
116
|
* @author SAP SE
|
|
117
|
-
* @version 1.
|
|
117
|
+
* @version 1.117.0
|
|
118
118
|
*
|
|
119
119
|
* @extends sap.ui.core.Control
|
|
120
120
|
* @constructor
|
|
@@ -896,7 +896,7 @@ sap.ui.define([
|
|
|
896
896
|
if (iCount > 0) {
|
|
897
897
|
oButton = new Button(this.getId() + "-" + sListName, {
|
|
898
898
|
text: sListName == "all" ? this._oResourceBundle.getText(sBundleText) : iCount,
|
|
899
|
-
tooltip: this._oResourceBundle.getText(sBundleText),
|
|
899
|
+
tooltip: sListName === "all" ? "" : this._oResourceBundle.getText(sBundleText),
|
|
900
900
|
icon: ICONS[sListName],
|
|
901
901
|
press: pressClosure(sListName)
|
|
902
902
|
}).addStyleClass(CSS_CLASS + "Btn" + sListName.charAt(0).toUpperCase() + sListName.slice(1));
|
|
@@ -145,7 +145,7 @@ function(
|
|
|
145
145
|
* </ul>
|
|
146
146
|
*
|
|
147
147
|
* @author SAP SE
|
|
148
|
-
* @version 1.
|
|
148
|
+
* @version 1.117.0
|
|
149
149
|
*
|
|
150
150
|
* @constructor
|
|
151
151
|
* @extends sap.m.ComboBoxBase
|
|
@@ -2099,8 +2099,8 @@ function(
|
|
|
2099
2099
|
var bIsPickerDialog = this.isPickerDialog(),
|
|
2100
2100
|
oInput = bIsPickerDialog ? this.getPickerTextField() : this,
|
|
2101
2101
|
sUpdateValue = this._sOldInput || this._sOldValue || "",
|
|
2102
|
-
bOkButtonPressed = bIsPickerDialog && oEvent
|
|
2103
|
-
|
|
2102
|
+
bOkButtonPressed = bIsPickerDialog && oEvent && oEvent.relatedTarget &&
|
|
2103
|
+
oEvent.relatedTarget.id.includes("-popup-closeButton");
|
|
2104
2104
|
if (!bOkButtonPressed) {
|
|
2105
2105
|
oInput.updateDomValue(sUpdateValue);
|
|
2106
2106
|
}
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/XMLComposite", "./library", "sap/ui/core/Item"], fun
|
|
|
17
17
|
* @implements sap.ui.core.IFormContent
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.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
|
@@ -107,7 +107,7 @@ function(
|
|
|
107
107
|
* @implements sap.ui.core.ISemanticFormContent
|
|
108
108
|
*
|
|
109
109
|
* @author SAP SE
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.117.0
|
|
111
111
|
*
|
|
112
112
|
* @constructor
|
|
113
113
|
* @public
|
|
@@ -1382,6 +1382,17 @@ function(
|
|
|
1382
1382
|
TokensChanged: "tokensChanged"
|
|
1383
1383
|
};
|
|
1384
1384
|
|
|
1385
|
+
/**
|
|
1386
|
+
*
|
|
1387
|
+
* @return {string} Indicates should token validator wait for asynchronous validation
|
|
1388
|
+
* @public
|
|
1389
|
+
* @function
|
|
1390
|
+
*/
|
|
1391
|
+
MultiInput.prototype.getWaitForAsyncValidation = function() {
|
|
1392
|
+
return MultiInput.WaitForAsyncValidation;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
|
|
1385
1396
|
MultiInput.WaitForAsyncValidation = "sap.m.MultiInput.WaitForAsyncValidation";
|
|
1386
1397
|
|
|
1387
1398
|
/**
|
|
@@ -1862,7 +1873,7 @@ function(
|
|
|
1862
1873
|
return null;
|
|
1863
1874
|
}
|
|
1864
1875
|
|
|
1865
|
-
if (oToken ===
|
|
1876
|
+
if (oToken === this.getWaitForAsyncValidation()) {
|
|
1866
1877
|
return null;
|
|
1867
1878
|
}
|
|
1868
1879
|
}
|