@openui5/sap.m 1.117.1 → 1.119.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/THIRDPARTY.txt +2 -2
- package/package.json +4 -4
- package/src/sap/m/.library +16 -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 +5 -5
- package/src/sap/m/Bar.js +38 -19
- package/src/sap/m/BarRenderer.js +12 -1
- package/src/sap/m/Breadcrumbs.js +55 -2
- package/src/sap/m/BreadcrumbsRenderer.js +4 -0
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +11 -6
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.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 +13 -26
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +52 -13
- package/src/sap/m/ColumnListItemRenderer.js +96 -83
- 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 +3 -2
- 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 +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +25 -22
- package/src/sap/m/Dialog.js +1 -1
- 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/DynamicDateFormat.js +4 -0
- package/src/sap/m/DynamicDateOption.js +2 -2
- package/src/sap/m/DynamicDateRange.js +119 -6
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -2
- package/src/sap/m/FacetFilterItem.js +6 -2
- package/src/sap/m/FacetFilterList.js +8 -5
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +3 -3
- package/src/sap/m/FeedListItem.js +6 -5
- 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 +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +37 -2
- package/src/sap/m/GroupHeaderListItem.js +7 -4
- package/src/sap/m/GroupHeaderListItemRenderer.js +36 -17
- package/src/sap/m/GrowingEnablement.js +10 -6
- 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 +2 -2
- package/src/sap/m/IconTabBarRenderer.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +35 -10
- package/src/sap/m/IconTabFilter.js +2 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +4 -2
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +59 -7
- package/src/sap/m/IllustrationPool.js +47 -13
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +33 -22
- package/src/sap/m/InputBase.js +1 -1
- 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 +1 -1
- package/src/sap/m/List.js +1 -16
- package/src/sap/m/ListBase.js +109 -148
- package/src/sap/m/ListBaseRenderer.js +5 -9
- package/src/sap/m/ListItemBase.js +36 -133
- package/src/sap/m/ListItemBaseRenderer.js +26 -3
- 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 +33 -18
- package/src/sap/m/MenuButton.js +2 -2
- package/src/sap/m/MenuItem.js +23 -1
- package/src/sap/m/MenuListItem.js +6 -5
- 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 +13 -9
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +5 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -6
- package/src/sap/m/NavContainer.js +17 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -3
- 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 +16 -14
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +15 -3
- package/src/sap/m/ObjectHeaderRenderer.js +24 -9
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +10 -3
- package/src/sap/m/ObjectListItemRenderer.js +7 -1
- package/src/sap/m/ObjectMarker.js +2 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +17 -2
- 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 +2 -3
- 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 +5 -1
- package/src/sap/m/PanelRenderer.js +6 -1
- package/src/sap/m/PlanningCalendar.js +92 -24
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarLegendRenderer.js +5 -2
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- 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 +8 -2
- 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 +6 -4
- 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 +6 -4
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- 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 +12 -2
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +54 -30
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +8 -22
- 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 +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 +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +14 -14
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +5 -3
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +165 -141
- 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 +123 -90
- 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/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- 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/TimePickerSlider.js +2 -5
- 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 +3 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +25 -4
- 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 +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 +91 -19
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +35 -24
- 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 +12 -2
- 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 +4 -2
- 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 +3 -2
- package/src/sap/m/designtime/IconTabBar.designtime.js +20 -1
- package/src/sap/m/designtime/IconTabFilter.designtime.js +12 -3
- package/src/sap/m/designtime/messagebundle_hu.properties +1 -1
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +13 -4
- package/src/sap/m/library.js +146 -22
- package/src/sap/m/messagebundle.properties +74 -20
- package/src/sap/m/messagebundle_ar.properties +51 -44
- package/src/sap/m/messagebundle_bg.properties +116 -109
- package/src/sap/m/messagebundle_ca.properties +19 -12
- package/src/sap/m/messagebundle_cs.properties +42 -35
- package/src/sap/m/messagebundle_cy.properties +21 -14
- package/src/sap/m/messagebundle_da.properties +19 -12
- package/src/sap/m/messagebundle_de.properties +22 -15
- package/src/sap/m/messagebundle_el.properties +23 -16
- package/src/sap/m/messagebundle_en.properties +43 -9
- package/src/sap/m/messagebundle_en_GB.properties +12 -5
- package/src/sap/m/messagebundle_en_US_sappsd.properties +7 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +7 -0
- package/src/sap/m/messagebundle_en_US_saptrc.properties +7 -0
- package/src/sap/m/messagebundle_es.properties +32 -25
- package/src/sap/m/messagebundle_es_MX.properties +19 -12
- package/src/sap/m/messagebundle_et.properties +19 -12
- package/src/sap/m/messagebundle_fi.properties +25 -18
- package/src/sap/m/messagebundle_fr.properties +65 -58
- package/src/sap/m/messagebundle_fr_CA.properties +20 -13
- package/src/sap/m/messagebundle_hi.properties +26 -19
- package/src/sap/m/messagebundle_hr.properties +49 -42
- package/src/sap/m/messagebundle_hu.properties +21 -14
- package/src/sap/m/messagebundle_id.properties +22 -15
- package/src/sap/m/messagebundle_it.properties +49 -42
- package/src/sap/m/messagebundle_iw.properties +25 -18
- package/src/sap/m/messagebundle_ja.properties +60 -53
- package/src/sap/m/messagebundle_kk.properties +61 -54
- package/src/sap/m/messagebundle_ko.properties +29 -22
- package/src/sap/m/messagebundle_lt.properties +19 -12
- package/src/sap/m/messagebundle_lv.properties +19 -12
- package/src/sap/m/messagebundle_ms.properties +19 -12
- package/src/sap/m/messagebundle_nl.properties +31 -24
- package/src/sap/m/messagebundle_no.properties +22 -15
- package/src/sap/m/messagebundle_pl.properties +25 -18
- package/src/sap/m/messagebundle_pt.properties +21 -14
- package/src/sap/m/messagebundle_pt_PT.properties +19 -12
- package/src/sap/m/messagebundle_ro.properties +20 -13
- package/src/sap/m/messagebundle_ru.properties +20 -13
- package/src/sap/m/messagebundle_sh.properties +30 -23
- package/src/sap/m/messagebundle_sk.properties +26 -19
- package/src/sap/m/messagebundle_sl.properties +100 -93
- package/src/sap/m/messagebundle_sv.properties +31 -24
- package/src/sap/m/messagebundle_th.properties +38 -31
- package/src/sap/m/messagebundle_tr.properties +22 -15
- package/src/sap/m/messagebundle_uk.properties +57 -50
- package/src/sap/m/messagebundle_vi.properties +19 -12
- package/src/sap/m/messagebundle_zh_CN.properties +34 -27
- package/src/sap/m/messagebundle_zh_TW.properties +23 -16
- 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 +4 -10
- package/src/sap/m/p13n/Container.js +1 -15
- package/src/sap/m/p13n/Engine.js +42 -8
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/Popup.js +3 -3
- package/src/sap/m/p13n/QueryPanel.js +7 -2
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +18 -1
- 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 +1 -1
- package/src/sap/m/p13n/enum/ProcessingStrategy.js +10 -1
- package/src/sap/m/p13n/handler/xConfigHandler.js +6 -5
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +16 -3
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +5 -0
- package/src/sap/m/plugins/CellSelector.js +72 -29
- package/src/sap/m/plugins/ColumnResizer.js +3 -5
- package/src/sap/m/plugins/CopyProvider.js +27 -10
- package/src/sap/m/plugins/DataStateIndicator.js +4 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/rules/IconTabBar.support.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 +25 -6
- 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 +32 -3
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +12 -9
- 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 +5 -5
- package/src/sap/m/themes/base/Breadcrumbs.less +2 -1
- package/src/sap/m/themes/base/Button.less +2 -172
- package/src/sap/m/themes/base/CellSelector.less +9 -0
- package/src/sap/m/themes/base/ColumnListItem.less +12 -8
- package/src/sap/m/themes/base/DateTimePicker.less +9 -1
- package/src/sap/m/themes/base/Dialog.less +1 -1
- package/src/sap/m/themes/base/GroupHeaderListItem.less +4 -6
- package/src/sap/m/themes/base/IconTabBar.less +13 -0
- package/src/sap/m/themes/base/InputBase.less +2 -2
- package/src/sap/m/themes/base/ListItemBase.less +9 -6
- package/src/sap/m/themes/base/ObjectStatus.less +7 -1
- package/src/sap/m/themes/base/Panel.less +2 -5
- package/src/sap/m/themes/base/QuickView.less +1 -1
- package/src/sap/m/themes/base/SearchField.less +2 -2
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +9 -6
- package/src/sap/m/themes/base/StepInput.less +4 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +10 -4
- package/src/sap/m/themes/base/Table.less +30 -12
- package/src/sap/m/themes/base/TextArea.less +13 -29
- package/src/sap/m/themes/base/TimePicker.less +1 -0
- package/src/sap/m/themes/base/Toolbar.less +3 -1
- package/src/sap/m/themes/base/UploadCollection.less +0 -1
- package/src/sap/m/themes/base/{UploadSetTable.less → UploadSetwithTable.less} +0 -5
- package/src/sap/m/themes/base/VariantManagement.less +8 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +3 -0
- package/src/sap/m/themes/base/library.source.less +1 -1
- package/src/sap/m/themes/sap_hcb/InputBase.less +1 -2
- package/src/sap/m/upload/FilePreviewDialog.js +298 -141
- package/src/sap/m/upload/UploadSet.js +2 -3
- package/src/sap/m/upload/UploadSetItem.js +3 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +1211 -0
- package/src/sap/m/upload/{UploadSetTableItem.js → UploadSetwithTableItem.js} +81 -78
- package/src/sap/m/upload/{UploadSetTableItemRenderer.js → UploadSetwithTableItemRenderer.js} +6 -5
- package/src/sap/m/upload/{UploadSetTableRenderer.js → UploadSetwithTableRenderer.js} +7 -10
- package/src/sap/m/upload/UploaderTableItem.js +16 -18
- package/src/sap/m/upload/UploadSetTable.js +0 -929
package/src/sap/m/GenericTile.js
CHANGED
|
@@ -81,7 +81,7 @@ sap.ui.define([
|
|
|
81
81
|
* @extends sap.ui.core.Control
|
|
82
82
|
*
|
|
83
83
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
84
|
+
* @version 1.119.0
|
|
85
85
|
* @since 1.34.0
|
|
86
86
|
*
|
|
87
87
|
* @public
|
|
@@ -246,7 +246,16 @@ sap.ui.define([
|
|
|
246
246
|
* @experimental Since 1.113
|
|
247
247
|
* @since 1.113
|
|
248
248
|
*/
|
|
249
|
-
tileBadge: { type: "string", group: "Misc", defaultValue: "" }
|
|
249
|
+
tileBadge: { type: "string", group: "Misc", defaultValue: "" },
|
|
250
|
+
/**
|
|
251
|
+
* Sets the offset for the Drop Area associated with a Generic Tile.
|
|
252
|
+
* The offset is applied uniformly to all the tile edges.
|
|
253
|
+
* @experimental Since 1.113
|
|
254
|
+
* @internal
|
|
255
|
+
* @since 1.118
|
|
256
|
+
* @ui5-restricted Used by S/4 MyHome (ux.eng.s4producthomes1)
|
|
257
|
+
*/
|
|
258
|
+
dropAreaOffset: { type: "int", group: "Misc", defaultValue: 0 }
|
|
250
259
|
},
|
|
251
260
|
defaultAggregation: "tileContent",
|
|
252
261
|
aggregations: {
|
|
@@ -1203,6 +1212,10 @@ sap.ui.define([
|
|
|
1203
1212
|
}
|
|
1204
1213
|
};
|
|
1205
1214
|
|
|
1215
|
+
GenericTile.prototype.ondragend = function() {
|
|
1216
|
+
this.onDragComplete();
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1206
1219
|
GenericTile.prototype.ontap = function (event) {
|
|
1207
1220
|
if (!_isInnerTileButtonPressed(event, this)) {
|
|
1208
1221
|
var oParams;
|
|
@@ -1972,6 +1985,28 @@ GenericTile.prototype._isNavigateActionEnabled = function() {
|
|
|
1972
1985
|
URLHelper.redirect(sURL, true);
|
|
1973
1986
|
};
|
|
1974
1987
|
|
|
1988
|
+
/**
|
|
1989
|
+
* Calculates and returns the bounding client rectangle
|
|
1990
|
+
* of the drop area taking the offset property into account.
|
|
1991
|
+
* @private
|
|
1992
|
+
* @param {string} sDropLayout - current drop layout
|
|
1993
|
+
* @returns {object} mDropRect - bounding rectangle information factoring in offset, if required
|
|
1994
|
+
*/
|
|
1995
|
+
GenericTile.prototype.getDropAreaRect = function(sDropLayout) {
|
|
1996
|
+
var mDropRect = this.getDomRef().getBoundingClientRect().toJSON();
|
|
1997
|
+
var iDropAreaOffset = this.getDropAreaOffset();
|
|
1998
|
+
|
|
1999
|
+
if (sDropLayout === "Horizontal") {
|
|
2000
|
+
mDropRect.left -= iDropAreaOffset;
|
|
2001
|
+
mDropRect.right += iDropAreaOffset;
|
|
2002
|
+
} else {
|
|
2003
|
+
mDropRect.top -= iDropAreaOffset;
|
|
2004
|
+
mDropRect.bottom += iDropAreaOffset;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
return mDropRect;
|
|
2008
|
+
};
|
|
2009
|
+
|
|
1975
2010
|
/**
|
|
1976
2011
|
* Checks if any of the inner buttons in the Tile are focused or clicked
|
|
1977
2012
|
* @param {object} event - jQuery event object
|
|
@@ -29,8 +29,10 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
29
29
|
*
|
|
30
30
|
* @extends sap.m.ListItemBase
|
|
31
31
|
*
|
|
32
|
+
* @implements sap.m.ITableItem
|
|
33
|
+
|
|
32
34
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
35
|
+
* @version 1.119.0
|
|
34
36
|
*
|
|
35
37
|
* @constructor
|
|
36
38
|
* @public
|
|
@@ -39,7 +41,9 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
39
41
|
*/
|
|
40
42
|
var GroupHeaderListItem = ListItemBase.extend("sap.m.GroupHeaderListItem", /** @lends sap.m.GroupHeaderListItem.prototype */ {
|
|
41
43
|
metadata : {
|
|
42
|
-
|
|
44
|
+
interfaces : [
|
|
45
|
+
"sap.m.ITableItem"
|
|
46
|
+
],
|
|
43
47
|
library : "sap.m",
|
|
44
48
|
properties : {
|
|
45
49
|
|
|
@@ -99,12 +103,11 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
99
103
|
|
|
100
104
|
// defines the tag name
|
|
101
105
|
this.TagName = "tr";
|
|
106
|
+
this.aAriaOwns = [];
|
|
102
107
|
}
|
|
103
108
|
};
|
|
104
109
|
|
|
105
110
|
GroupHeaderListItem.prototype.getAccessibilityType = function(oBundle) {
|
|
106
|
-
var sType = this.getTable() ? "ROW" : "LISTITEM";
|
|
107
|
-
return oBundle.getText("LIST_ITEM_GROUP_HEADER") + " " + oBundle.getText("ACC_CTR_TYPE_" + sType);
|
|
108
111
|
};
|
|
109
112
|
|
|
110
113
|
GroupHeaderListItem.prototype.getContentAnnouncement = function() {
|
|
@@ -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(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRenderer", "./ColumnListItemRenderer"],
|
|
8
|
-
function(coreLibrary, Renderer, ListItemBaseRenderer, ColumnListItemRenderer) {
|
|
7
|
+
sap.ui.define(["sap/ui/core/Core", "sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRenderer", "./ColumnListItemRenderer"],
|
|
8
|
+
function(Core, coreLibrary, Renderer, ListItemBaseRenderer, ColumnListItemRenderer) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -21,22 +21,34 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
|
|
|
21
21
|
GroupHeaderListItemRenderer.apiVersion = 2;
|
|
22
22
|
|
|
23
23
|
GroupHeaderListItemRenderer.renderType = function(rm, oLI) {
|
|
24
|
-
var
|
|
25
|
-
|
|
24
|
+
var oTable = oLI.getTable();
|
|
25
|
+
if (!oTable || !oTable.doItemsNeedTypeColumn()) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
rm.openStart("td", oLI.getId() + "-TypeCell");
|
|
30
|
+
rm.class("sapMListTblNavCol");
|
|
31
|
+
rm.attr("role", "presentation");
|
|
32
|
+
rm.openEnd().close("td");
|
|
26
33
|
};
|
|
27
34
|
|
|
28
35
|
GroupHeaderListItemRenderer.renderNavigated = function(rm, oLI) {
|
|
29
|
-
var
|
|
30
|
-
|
|
36
|
+
var oBaseRenderer = oLI.getTable() ? ColumnListItemRenderer : ListItemBaseRenderer;
|
|
37
|
+
oBaseRenderer.renderNavigated.apply(oBaseRenderer, arguments);
|
|
31
38
|
};
|
|
32
39
|
|
|
33
40
|
// for dummy cell rendering position inherit from ColumnListItemRenderer
|
|
34
|
-
GroupHeaderListItemRenderer.renderContentLatter =
|
|
41
|
+
GroupHeaderListItemRenderer.renderContentLatter = function(rm, oLI) {
|
|
42
|
+
ColumnListItemRenderer.renderContentLatter.apply(this, arguments);
|
|
43
|
+
};
|
|
35
44
|
|
|
36
45
|
// GroupHeaderListItem does not respect mode, counter and highlight property of the LIB
|
|
37
|
-
GroupHeaderListItemRenderer.renderMode = function(
|
|
38
|
-
GroupHeaderListItemRenderer.renderCounter = function(
|
|
39
|
-
GroupHeaderListItemRenderer.renderHighlight = function(
|
|
46
|
+
GroupHeaderListItemRenderer.renderMode = function() {};
|
|
47
|
+
GroupHeaderListItemRenderer.renderCounter = function() {};
|
|
48
|
+
GroupHeaderListItemRenderer.renderHighlight = function() {};
|
|
49
|
+
|
|
50
|
+
// accesibility position is only relevant for the Table case therefore use the logic of CLI
|
|
51
|
+
GroupHeaderListItemRenderer.getAccessbilityPosition = ColumnListItemRenderer.getAccessbilityPosition;
|
|
40
52
|
|
|
41
53
|
/**
|
|
42
54
|
* Renders the attributes for the given list item, using the provided
|
|
@@ -54,6 +66,11 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
|
|
|
54
66
|
if (oLI.getUpperCase()) {
|
|
55
67
|
rm.class("sapMGHLIUpperCase");
|
|
56
68
|
}
|
|
69
|
+
|
|
70
|
+
var oTable = oLI.getTable();
|
|
71
|
+
if (oTable) {
|
|
72
|
+
rm.attr("aria-roledescription", Core.getLibraryResourceBundle("sap.m").getText("TABLE_GROUP_ROW"));
|
|
73
|
+
}
|
|
57
74
|
};
|
|
58
75
|
|
|
59
76
|
|
|
@@ -70,15 +87,21 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
|
|
|
70
87
|
GroupHeaderListItemRenderer.renderLIContentWrapper = function(rm, oLI) {
|
|
71
88
|
var oTable = oLI.getTable();
|
|
72
89
|
if (oTable) {
|
|
73
|
-
rm.openStart("td");
|
|
90
|
+
rm.openStart("td", oLI.getId() + "-cell");
|
|
74
91
|
rm.class("sapMGHLICell");
|
|
75
|
-
rm.attr("
|
|
92
|
+
rm.attr("role", "gridcell");
|
|
93
|
+
ColumnListItemRenderer.makeFocusable(rm);
|
|
94
|
+
rm.attr("colspan", oTable.getColCount() - oTable.doItemsNeedTypeColumn() - oTable.shouldRenderDummyColumn() - 1 /* Navigated cells are always rendered */);
|
|
76
95
|
rm.openEnd();
|
|
77
96
|
}
|
|
78
97
|
|
|
79
98
|
ListItemBaseRenderer.renderLIContentWrapper.apply(this, arguments);
|
|
80
99
|
|
|
81
100
|
if (oTable) {
|
|
101
|
+
// create dummy contents for the item navigation to mimic a matrix
|
|
102
|
+
for (var i = 1; i < oTable._colHeaderAriaOwns.length; i++) {
|
|
103
|
+
rm.openStart("div").class("sapMTblItemNav").openEnd().close("div");
|
|
104
|
+
}
|
|
82
105
|
rm.close("td");
|
|
83
106
|
}
|
|
84
107
|
};
|
|
@@ -112,11 +135,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
|
|
|
112
135
|
};
|
|
113
136
|
|
|
114
137
|
GroupHeaderListItemRenderer.getAriaRole = function(oLI) {
|
|
115
|
-
|
|
116
|
-
return "row";
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return ListItemBaseRenderer.getAriaRole.apply(this, arguments);
|
|
138
|
+
return oLI.getTable() ? "row" : "listitem";
|
|
120
139
|
};
|
|
121
140
|
|
|
122
141
|
return GroupHeaderListItemRenderer;
|
|
@@ -139,19 +139,23 @@ sap.ui.define([
|
|
|
139
139
|
// Navigate from last item to growing trigger and vice versa via arrow keys
|
|
140
140
|
var oControl = this._oControl;
|
|
141
141
|
if (oControl._oItemNavigation && !oEvent.isMarked()) {
|
|
142
|
-
var
|
|
142
|
+
var oItemNavigation = oControl._oItemNavigation;
|
|
143
|
+
var aItemDomRefs = oItemNavigation.getItemDomRefs();
|
|
144
|
+
var oFirstItemDomRef = aItemDomRefs[0];
|
|
145
|
+
var oLastItemDomRef = aItemDomRefs[aItemDomRefs.length - oItemNavigation.iColumns];
|
|
143
146
|
var sDir = oControl.getGrowingDirection();
|
|
144
|
-
if ((sDir != ListGrowingDirection.Upwards && oEvent.type == "sapdown" && oEvent.target ===
|
|
145
|
-
|| (sDir == ListGrowingDirection.Upwards && oEvent.type == "sapup" && oEvent.target ===
|
|
147
|
+
if ((sDir != ListGrowingDirection.Upwards && oEvent.type == "sapdown" && oEvent.target === oLastItemDomRef)
|
|
148
|
+
|| (sDir == ListGrowingDirection.Upwards && oEvent.type == "sapup" && oEvent.target === oFirstItemDomRef)) {
|
|
146
149
|
var $Trigger = oControl.$("trigger");
|
|
147
150
|
$Trigger.trigger("focus");
|
|
148
151
|
oEvent.setMarked();
|
|
149
152
|
oEvent.stopImmediatePropagation(); // to prevent ItemNavigation
|
|
150
|
-
} else if ((sDir == ListGrowingDirection.Upwards && oEvent.type == "sapdown")
|
|
151
|
-
|| (sDir != ListGrowingDirection.Upwards && oEvent.type == "sapup")
|
|
153
|
+
} else if (((sDir == ListGrowingDirection.Upwards && oEvent.type == "sapdown")
|
|
154
|
+
|| (sDir != ListGrowingDirection.Upwards && oEvent.type == "sapup"))
|
|
152
155
|
&& oEvent.target === oControl.getDomRef("trigger")) {
|
|
153
|
-
jQuery(
|
|
156
|
+
jQuery(oEvent.type == "sapdown" ? oFirstItemDomRef : oLastItemDomRef).trigger("focus");
|
|
154
157
|
oEvent.setMarked();
|
|
158
|
+
oEvent.stopImmediatePropagation(); // to prevent ItemNavigation
|
|
155
159
|
}
|
|
156
160
|
}
|
|
157
161
|
},
|
package/src/sap/m/GrowingList.js
CHANGED
package/src/sap/m/HBox.js
CHANGED
package/src/sap/m/IconTabBar.js
CHANGED
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* @implements sap.m.ObjectHeaderContainer, sap.f.IDynamicPageStickyContent
|
|
95
95
|
*
|
|
96
96
|
* @author SAP SE
|
|
97
|
-
* @version 1.
|
|
97
|
+
* @version 1.119.0
|
|
98
98
|
*
|
|
99
99
|
* @public
|
|
100
100
|
* @alias sap.m.IconTabBar
|
|
@@ -628,7 +628,7 @@ sap.ui.define([
|
|
|
628
628
|
* @returns {sap.m.IconTabBar|null} Aggregation for the IconTabBar.
|
|
629
629
|
*/
|
|
630
630
|
IconTabBar.prototype._getIconTabHeader = function () {
|
|
631
|
-
if (this.
|
|
631
|
+
if (this.isDestroyStarted()) {
|
|
632
632
|
return null;
|
|
633
633
|
}
|
|
634
634
|
|
|
@@ -12,7 +12,8 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/core/Control",
|
|
13
13
|
"sap/ui/core/delegate/ItemNavigation",
|
|
14
14
|
"sap/ui/core/theming/Parameters",
|
|
15
|
-
"sap/ui/core/library"
|
|
15
|
+
"sap/ui/core/library",
|
|
16
|
+
"sap/ui/events/KeyCodes"
|
|
16
17
|
], function(
|
|
17
18
|
library,
|
|
18
19
|
IconTabBarDragAndDropUtil,
|
|
@@ -20,7 +21,8 @@ sap.ui.define([
|
|
|
20
21
|
Control,
|
|
21
22
|
ItemNavigation,
|
|
22
23
|
Parameters,
|
|
23
|
-
coreLibrary
|
|
24
|
+
coreLibrary,
|
|
25
|
+
KeyCodes
|
|
24
26
|
) {
|
|
25
27
|
"use strict";
|
|
26
28
|
|
|
@@ -38,7 +40,7 @@ sap.ui.define([
|
|
|
38
40
|
* @extends sap.ui.core.Control
|
|
39
41
|
*
|
|
40
42
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
43
|
+
* @version 1.119.0
|
|
42
44
|
*
|
|
43
45
|
* @constructor
|
|
44
46
|
* @private
|
|
@@ -241,10 +243,37 @@ sap.ui.define([
|
|
|
241
243
|
};
|
|
242
244
|
|
|
243
245
|
/**
|
|
244
|
-
*
|
|
246
|
+
* Handle the key down event for SPACE and ENTER.
|
|
247
|
+
* @param {jQuery.Event} oEvent - the keyboard event.
|
|
245
248
|
* @private
|
|
246
249
|
*/
|
|
247
|
-
IconTabBarSelectList.prototype.
|
|
250
|
+
IconTabBarSelectList.prototype.onkeydown = function(oEvent) {
|
|
251
|
+
switch (oEvent.which) {
|
|
252
|
+
case KeyCodes.ENTER:
|
|
253
|
+
this._selectItem(oEvent);
|
|
254
|
+
oEvent.preventDefault();
|
|
255
|
+
break;
|
|
256
|
+
case KeyCodes.SPACE:
|
|
257
|
+
oEvent.preventDefault(); // prevent scrolling when focused on the tab
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
IconTabBarSelectList.prototype.onkeyup = function(oEvent) {
|
|
263
|
+
if (oEvent.which === KeyCodes.SPACE) {
|
|
264
|
+
this._selectItem(oEvent);
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
IconTabBarSelectList.prototype.ontap = function(oEvent) {
|
|
269
|
+
this._selectItem(oEvent);
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Handles tab selection.
|
|
274
|
+
* @private
|
|
275
|
+
*/
|
|
276
|
+
IconTabBarSelectList.prototype._selectItem = function (oEvent) {
|
|
248
277
|
var oTappedItem = oEvent.srcControl;
|
|
249
278
|
|
|
250
279
|
if (!oTappedItem) {
|
|
@@ -261,17 +290,13 @@ sap.ui.define([
|
|
|
261
290
|
|
|
262
291
|
oEvent.preventDefault();
|
|
263
292
|
|
|
264
|
-
if (oTappedItem
|
|
293
|
+
if (oTappedItem !== this.getSelectedItem()) {
|
|
265
294
|
this.fireSelectionChange({
|
|
266
295
|
selectedItem: oTappedItem
|
|
267
296
|
});
|
|
268
297
|
}
|
|
269
|
-
|
|
270
298
|
};
|
|
271
299
|
|
|
272
|
-
IconTabBarSelectList.prototype.onsapenter = IconTabBarSelectList.prototype.ontap;
|
|
273
|
-
IconTabBarSelectList.prototype.onsapspace = IconTabBarSelectList.prototype.ontap;
|
|
274
|
-
|
|
275
300
|
/**
|
|
276
301
|
* Checks if only an icon should be rendered.
|
|
277
302
|
* @private
|
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
* @implements sap.m.IconTab
|
|
94
94
|
*
|
|
95
95
|
* @author SAP SE
|
|
96
|
-
* @version 1.
|
|
96
|
+
* @version 1.119.0
|
|
97
97
|
*
|
|
98
98
|
* @constructor
|
|
99
99
|
* @public
|
|
@@ -1360,7 +1360,7 @@ sap.ui.define([
|
|
|
1360
1360
|
oRbArgs = [sText, oRootTab.getText()];
|
|
1361
1361
|
} else {
|
|
1362
1362
|
sRbKey = "ICONTABFILTER_BADGE_MSG";
|
|
1363
|
-
oRbArgs = sText;
|
|
1363
|
+
oRbArgs = [sText];
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* @extends sap.ui.core.Control
|
|
78
78
|
*
|
|
79
79
|
* @author SAP SE
|
|
80
|
-
* @version 1.
|
|
80
|
+
* @version 1.119.0
|
|
81
81
|
*
|
|
82
82
|
* @constructor
|
|
83
83
|
* @public
|
|
@@ -581,7 +581,7 @@ sap.ui.define([
|
|
|
581
581
|
} else {
|
|
582
582
|
//change the content aria-labelled by the newly selected tab;
|
|
583
583
|
if (bIsParentIconTabBar) {
|
|
584
|
-
oParent.$("content").attr('aria-labelledby', oItem.
|
|
584
|
+
oParent.$("content").attr('aria-labelledby', oItem._getRootTab().getId());
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
// set new item
|
|
@@ -1765,6 +1765,8 @@ sap.ui.define([
|
|
|
1765
1765
|
var oTab = oEvent.srcControl,
|
|
1766
1766
|
iTabStripEnd = this.indexOfItem(this._getItemsInStrip().pop());
|
|
1767
1767
|
|
|
1768
|
+
oEvent.preventDefault();
|
|
1769
|
+
|
|
1768
1770
|
this._moveTab(oTab, oEvent.keyCode, iTabStripEnd);
|
|
1769
1771
|
oTab.$().trigger("focus");
|
|
1770
1772
|
};
|
|
@@ -9,15 +9,24 @@ sap.ui.define([
|
|
|
9
9
|
"sap/base/Log",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
11
|
"./IllustrationRenderer",
|
|
12
|
-
"./IllustrationPool"
|
|
12
|
+
"./IllustrationPool",
|
|
13
|
+
"sap/ui/core/Core"
|
|
13
14
|
], function(
|
|
14
15
|
Log,
|
|
15
16
|
Control,
|
|
16
17
|
IllustrationRenderer,
|
|
17
|
-
IllustrationPool
|
|
18
|
+
IllustrationPool,
|
|
19
|
+
Core
|
|
18
20
|
) {
|
|
19
21
|
"use strict";
|
|
20
22
|
|
|
23
|
+
var oCollectionMap = {
|
|
24
|
+
"sap_horizon": 'v5/',
|
|
25
|
+
"sap_horizon_dark": 'v5/',
|
|
26
|
+
"sap_horizon_hcb": 'v5/hc/',
|
|
27
|
+
"sap_horizon_hcw": 'v5/hc/'
|
|
28
|
+
};
|
|
29
|
+
|
|
21
30
|
/**
|
|
22
31
|
* Constructor for a new <code>Illustration</code>.
|
|
23
32
|
*
|
|
@@ -32,7 +41,7 @@ sap.ui.define([
|
|
|
32
41
|
* @extends sap.ui.core.Control
|
|
33
42
|
*
|
|
34
43
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
44
|
+
* @version 1.119.0
|
|
36
45
|
*
|
|
37
46
|
* @constructor
|
|
38
47
|
* @public
|
|
@@ -94,32 +103,75 @@ sap.ui.define([
|
|
|
94
103
|
Illustration.prototype.onBeforeRendering = function() {
|
|
95
104
|
this._buildSymbolId();
|
|
96
105
|
if (this._sSymbolId) {
|
|
97
|
-
IllustrationPool.loadAsset(this._sSymbolId, this._sId);
|
|
106
|
+
IllustrationPool.loadAsset(this._sSymbolId, this._sId, this._sIdPrefix);
|
|
98
107
|
} else {
|
|
99
108
|
Log.warning(Illustration.CAN_NOT_BUILD_SYMBOL_MSG);
|
|
100
109
|
}
|
|
101
110
|
};
|
|
102
111
|
|
|
112
|
+
Illustration.prototype.onThemeChanged = function() {
|
|
113
|
+
this.invalidate();
|
|
114
|
+
};
|
|
115
|
+
|
|
103
116
|
/**
|
|
104
117
|
* PRIVATE METHODS
|
|
105
118
|
*/
|
|
106
119
|
|
|
107
120
|
/**
|
|
108
121
|
* Builds the Symbol ID which will be used for requiring the Illustration asset.
|
|
122
|
+
* If mapping is provided for the current theme, the Symbol ID will be built using the mapped type.
|
|
109
123
|
* @private
|
|
110
124
|
*/
|
|
111
|
-
Illustration.prototype._buildSymbolId = function() {
|
|
125
|
+
Illustration.prototype._buildSymbolId = function () {
|
|
112
126
|
var sSet = this.getSet(),
|
|
113
127
|
sMedia = this.getMedia(),
|
|
114
|
-
sType = this.getType()
|
|
128
|
+
sType = this.getType(),
|
|
129
|
+
oResult;
|
|
115
130
|
|
|
116
131
|
this._sSymbolId = "";
|
|
132
|
+
this._sIdPrefix = "";
|
|
117
133
|
|
|
118
134
|
if (sSet && sMedia && sType) {
|
|
119
|
-
|
|
135
|
+
oResult = this._formatType(sSet, sType);
|
|
136
|
+
this._sSymbolId = sSet + "-" + sMedia + "-" + oResult.mappedType;
|
|
137
|
+
this._sIdPrefix = oResult.prefix;
|
|
120
138
|
}
|
|
121
139
|
};
|
|
122
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Formats the type of the Illustration based on the current theme.
|
|
143
|
+
* @param {string} sSet The name of the Illustration set
|
|
144
|
+
* @param {string} sType The type of the Illustration
|
|
145
|
+
* @returns {string} The formatted type of the Illustration
|
|
146
|
+
* @private
|
|
147
|
+
*/
|
|
148
|
+
Illustration.prototype._formatType = function (sSet, sType) {
|
|
149
|
+
var sMappedType = sType,
|
|
150
|
+
sPrefix = "",
|
|
151
|
+
oMetadata = IllustrationPool.getIllustrationSetMetadata(sSet),
|
|
152
|
+
sCurrentTheme = Core.getConfiguration().getTheme(),
|
|
153
|
+
sCollectionPath = oCollectionMap[sCurrentTheme];
|
|
154
|
+
|
|
155
|
+
if (
|
|
156
|
+
sCollectionPath &&
|
|
157
|
+
oMetadata &&
|
|
158
|
+
oMetadata.aCollections &&
|
|
159
|
+
oMetadata.aCollections.length
|
|
160
|
+
) {
|
|
161
|
+
oMetadata.aCollections.forEach(function (oThemeMapping) {
|
|
162
|
+
if (oThemeMapping.prefix === sCollectionPath && oThemeMapping.mappings[sType]) {
|
|
163
|
+
sMappedType = oThemeMapping.mappings[sType];
|
|
164
|
+
sPrefix = oThemeMapping.prefix;
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
return {
|
|
170
|
+
mappedType: sMappedType,
|
|
171
|
+
prefix: sPrefix
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
|
|
123
175
|
return Illustration;
|
|
124
176
|
|
|
125
177
|
});
|