@openui5/sap.m 1.124.0 → 1.125.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 +5 -0
- package/THIRDPARTY.txt +7 -0
- package/package.json +4 -4
- package/src/sap/m/.library +15 -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 +59 -7
- 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 +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +96 -88
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +13 -21
- 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 +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 +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- 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 +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 +1 -1
- 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/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -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 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +2 -6
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +3 -3
- 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 +26 -17
- package/src/sap/m/GenericTileRenderer.js +2 -8
- package/src/sap/m/GroupHeaderListItem.js +1 -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 +5 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -8
- 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/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +7 -7
- 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/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 +1 -1
- package/src/sap/m/MultiComboBox.js +8 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +8 -11
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListGroupRenderer.js +1 -0
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NotificationListItemRenderer.js +1 -0
- package/src/sap/m/NumericContent.js +18 -14
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +2 -2
- 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 -6
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/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 +43 -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 +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 +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 +2 -2
- package/src/sap/m/SegmentedButton.js +1 -1
- 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 +17 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +7 -7
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +93 -68
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthView.js +6 -6
- package/src/sap/m/SinglePlanningCalendarView.js +8 -5
- package/src/sap/m/SinglePlanningCalendarWeekView.js +8 -8
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +8 -8
- 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 +10 -7
- 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 +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 +1 -1
- 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 +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/TileInfo.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 +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 +2 -3
- 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 +2 -2
- package/src/sap/m/UploadCollectionParameter.js +2 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -2
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +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/WizardStepRenderer.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/library.js +47 -2
- package/src/sap/m/messagebundle.properties +13 -3
- package/src/sap/m/messagebundle_ar.properties +10 -3
- package/src/sap/m/messagebundle_bg.properties +9 -2
- package/src/sap/m/messagebundle_ca.properties +9 -2
- package/src/sap/m/messagebundle_cnr.properties +9 -2
- package/src/sap/m/messagebundle_cs.properties +9 -2
- package/src/sap/m/messagebundle_cy.properties +9 -2
- package/src/sap/m/messagebundle_da.properties +9 -2
- package/src/sap/m/messagebundle_de.properties +13 -6
- package/src/sap/m/messagebundle_el.properties +9 -2
- package/src/sap/m/messagebundle_en.properties +9 -2
- package/src/sap/m/messagebundle_en_GB.properties +9 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -2
- package/src/sap/m/messagebundle_es.properties +9 -2
- package/src/sap/m/messagebundle_es_MX.properties +9 -2
- package/src/sap/m/messagebundle_et.properties +9 -2
- package/src/sap/m/messagebundle_fi.properties +9 -2
- package/src/sap/m/messagebundle_fr.properties +10 -3
- package/src/sap/m/messagebundle_fr_CA.properties +9 -2
- package/src/sap/m/messagebundle_hi.properties +9 -2
- package/src/sap/m/messagebundle_hr.properties +9 -2
- package/src/sap/m/messagebundle_hu.properties +10 -3
- package/src/sap/m/messagebundle_id.properties +9 -2
- package/src/sap/m/messagebundle_it.properties +9 -2
- package/src/sap/m/messagebundle_iw.properties +9 -2
- package/src/sap/m/messagebundle_ja.properties +9 -2
- package/src/sap/m/messagebundle_kk.properties +9 -2
- package/src/sap/m/messagebundle_ko.properties +9 -2
- package/src/sap/m/messagebundle_lt.properties +9 -2
- package/src/sap/m/messagebundle_lv.properties +9 -2
- package/src/sap/m/messagebundle_mk.properties +9 -2
- package/src/sap/m/messagebundle_ms.properties +9 -2
- package/src/sap/m/messagebundle_nl.properties +9 -2
- package/src/sap/m/messagebundle_no.properties +9 -2
- package/src/sap/m/messagebundle_pl.properties +9 -2
- package/src/sap/m/messagebundle_pt.properties +9 -2
- package/src/sap/m/messagebundle_pt_PT.properties +9 -2
- package/src/sap/m/messagebundle_ro.properties +9 -2
- package/src/sap/m/messagebundle_ru.properties +9 -2
- package/src/sap/m/messagebundle_sh.properties +9 -2
- package/src/sap/m/messagebundle_sk.properties +9 -2
- package/src/sap/m/messagebundle_sl.properties +9 -2
- package/src/sap/m/messagebundle_sr.properties +9 -2
- package/src/sap/m/messagebundle_sv.properties +9 -2
- package/src/sap/m/messagebundle_th.properties +9 -2
- package/src/sap/m/messagebundle_tr.properties +9 -2
- package/src/sap/m/messagebundle_uk.properties +15 -8
- package/src/sap/m/messagebundle_vi.properties +9 -2
- package/src/sap/m/messagebundle_zh_CN.properties +9 -2
- package/src/sap/m/messagebundle_zh_TW.properties +9 -2
- 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 -1
- package/src/sap/m/p13n/Container.js +7 -5
- package/src/sap/m/p13n/Engine.js +1 -1
- 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/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +7 -4
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- 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 +6 -4
- 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 +1 -1
- 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 +163 -279
- 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 +7 -3
- 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 +1 -1
- package/src/sap/m/table/Util.js +99 -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 +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/ActionTile.less +3 -12
- package/src/sap/m/themes/base/Button.less +0 -1
- package/src/sap/m/themes/base/Carousel.less +54 -7
- package/src/sap/m/themes/base/GroupHeaderListItem.less +1 -0
- package/src/sap/m/themes/base/MultiUnitPopover.less +21 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -1
- package/src/sap/m/themes/base/UploadSet.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -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 +3 -2
- package/src/sap/m/upload/UploadItem.js +8 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +33 -2
- 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/UploadSetwithTable.js +3 -3
- package/src/sap/m/upload/UploadSetwithTableItem.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
- package/src/sap/m/upload/p13n/PersManager.js +1 -1
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +1 -1
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +1 -1
package/src/sap/m/Carousel.js
CHANGED
|
@@ -55,8 +55,8 @@ sap.ui.define([
|
|
|
55
55
|
// shortcut for sap.m.CarouselArrowsPlacement
|
|
56
56
|
var CarouselArrowsPlacement = library.CarouselArrowsPlacement;
|
|
57
57
|
|
|
58
|
-
//
|
|
59
|
-
var
|
|
58
|
+
//shortcut for sap.m.CarouselPageIndicatorPlacementType
|
|
59
|
+
var CarouselPageIndicatorPlacementType = library.CarouselPageIndicatorPlacementType;
|
|
60
60
|
|
|
61
61
|
//shortcut for sap.m.BackgroundDesign
|
|
62
62
|
var BackgroundDesign = library.BackgroundDesign;
|
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
* <li><code>showPageIndicator</code> - determines if the indicator is displayed.</li>
|
|
108
108
|
* <li>If the pages are less than 9, the page indicator is represented with bullets.</li>
|
|
109
109
|
* <li>If the pages are 9 or more, the page indicator is numeric.</li>
|
|
110
|
-
* <li><code>pageIndicatorPlacement</code> - determines where the indicator is located. Default (<code>sap.m.
|
|
110
|
+
* <li><code>pageIndicatorPlacement</code> - determines where the indicator is located. Default (<code>sap.m.CarouselPageIndicatorPlacementType.Bottom</code>) - below the content.</li>
|
|
111
111
|
*</ul>
|
|
112
112
|
* Additionally, you can also change the location of the navigation arrows.
|
|
113
113
|
* By setting <code>arrowsPlacement</code> to <code>sap.m.CarouselArrowsPlacement.PageIndicator</code>, the arrows will be located at the bottom by the paging indicator.
|
|
@@ -132,7 +132,7 @@ sap.ui.define([
|
|
|
132
132
|
* @extends sap.ui.core.Control
|
|
133
133
|
*
|
|
134
134
|
* @author SAP SE
|
|
135
|
-
* @version 1.
|
|
135
|
+
* @version 1.125.0
|
|
136
136
|
*
|
|
137
137
|
* @constructor
|
|
138
138
|
* @public
|
|
@@ -167,9 +167,17 @@ sap.ui.define([
|
|
|
167
167
|
showPageIndicator : {type : "boolean", group : "Appearance", defaultValue : true},
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
* Defines where the carousel's page indicator is displayed.
|
|
170
|
+
* Defines where the carousel's page indicator is displayed.
|
|
171
|
+
* Possible values are sap.m.CarouselPageIndicatorPlacementType.Top, sap.m.CarouselPageIndicatorPlacementType.Bottom,
|
|
172
|
+
* CarouselPageIndicatorPlacementType.OverContentTop and CarouselPageIndicatorPlacementType.OverContentBottom.
|
|
173
|
+
*
|
|
174
|
+
* <b>Note:</b> when the page indicator is placed over the carousel's content (values "OverContentBottom" and "OverContentTop"),
|
|
175
|
+
* the properties <code>pageIndicatorBackgroundDesign</code> and <code>pageIndicatorBorderDesign</code> will not take effect.
|
|
176
|
+
*
|
|
177
|
+
* <b>Note:</b> We recommend using a page indicator placed over the carousel's content (values "OverContentBottom" and "OverContentTop")
|
|
178
|
+
* only if the content consists of images.
|
|
171
179
|
*/
|
|
172
|
-
pageIndicatorPlacement : {type : "sap.m.
|
|
180
|
+
pageIndicatorPlacement : {type : "sap.m.CarouselPageIndicatorPlacementType", group : "Appearance", defaultValue : CarouselPageIndicatorPlacementType.Bottom},
|
|
173
181
|
|
|
174
182
|
/**
|
|
175
183
|
* Show or hide busy indicator in the carousel when loading pages after swipe.
|
|
@@ -233,7 +241,15 @@ sap.ui.define([
|
|
|
233
241
|
* Provides getter and setter for the currently displayed page. For the setter, argument may be the control itself, which must be member of the carousel's page list, or the control's id.
|
|
234
242
|
* The getter will return the control id
|
|
235
243
|
*/
|
|
236
|
-
activePage : {type : "sap.ui.core.Control", multiple : false}
|
|
244
|
+
activePage : {type : "sap.ui.core.Control", multiple : false},
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Association to controls / IDs which label this control (see WAI-ARIA attribute <code>aria-labelledby</code>).
|
|
248
|
+
* @since 1.125
|
|
249
|
+
*/
|
|
250
|
+
ariaLabelledBy: {
|
|
251
|
+
type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"
|
|
252
|
+
}
|
|
237
253
|
},
|
|
238
254
|
events : {
|
|
239
255
|
|
|
@@ -333,6 +349,7 @@ sap.ui.define([
|
|
|
333
349
|
Carousel.prototype.init = function() {
|
|
334
350
|
this._aAllActivePages = [];
|
|
335
351
|
this._aAllActivePagesIndexes = [];
|
|
352
|
+
this._iFocusedPageIndex = -1;
|
|
336
353
|
this._bShouldFireEvent = true;
|
|
337
354
|
this._handleThemeAppliedBound = this._handleThemeApplied.bind(this);
|
|
338
355
|
|
|
@@ -381,6 +398,10 @@ sap.ui.define([
|
|
|
381
398
|
|
|
382
399
|
if (sActivePage) {
|
|
383
400
|
this._updateActivePages(sActivePage);
|
|
401
|
+
|
|
402
|
+
if (this._iFocusedPageIndex === -1) {
|
|
403
|
+
this._iFocusedPageIndex = this._aAllActivePagesIndexes[0];
|
|
404
|
+
}
|
|
384
405
|
}
|
|
385
406
|
|
|
386
407
|
if (this._sResizeListenerId) {
|
|
@@ -468,7 +489,17 @@ sap.ui.define([
|
|
|
468
489
|
};
|
|
469
490
|
|
|
470
491
|
Carousel.prototype.getFocusDomRef = function () {
|
|
471
|
-
|
|
492
|
+
if (!this.getPages().length) {
|
|
493
|
+
return this.getDomRef("noData");
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
if (this._iFocusedPageIndex === -1) {
|
|
497
|
+
return null;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
const sPageId = this.getPages()[this._iFocusedPageIndex].getId();
|
|
501
|
+
|
|
502
|
+
return this.getDomRef(sPageId + "-slide");
|
|
472
503
|
};
|
|
473
504
|
|
|
474
505
|
/**
|
|
@@ -498,50 +529,6 @@ sap.ui.define([
|
|
|
498
529
|
});
|
|
499
530
|
};
|
|
500
531
|
|
|
501
|
-
/**
|
|
502
|
-
* @param {int} iPreviousSlide carousel index of the previous active slide
|
|
503
|
-
* @param {int} iNextSlide carousel index of the next active slide
|
|
504
|
-
* @private
|
|
505
|
-
*/
|
|
506
|
-
Carousel.prototype._onAfterPageChanged = function (iPreviousSlide, iNextSlide) {
|
|
507
|
-
var bHasPages = this.getPages().length > 0;
|
|
508
|
-
|
|
509
|
-
if (!bHasPages) {
|
|
510
|
-
return;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
var iNewActivePageIndex;
|
|
514
|
-
|
|
515
|
-
if (this._iNewActivePageIndex !== undefined) {
|
|
516
|
-
iNewActivePageIndex = this._iNewActivePageIndex;
|
|
517
|
-
} else if (this._bPageIndicatorArrowPress || this._bSwipe) {
|
|
518
|
-
var bForward = iPreviousSlide < iNextSlide;
|
|
519
|
-
var iOldActivePageIndex = this._getPageIndex(this.getActivePage());
|
|
520
|
-
|
|
521
|
-
if (this._isPageDisplayed(iOldActivePageIndex)) {
|
|
522
|
-
iNewActivePageIndex = iOldActivePageIndex;
|
|
523
|
-
} else {
|
|
524
|
-
if (bForward) {
|
|
525
|
-
iNewActivePageIndex = this._iCurrSlideIndex;
|
|
526
|
-
} else {
|
|
527
|
-
iNewActivePageIndex = this._iCurrSlideIndex + this._getNumberOfItemsToShow() - 1;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
// loop happened
|
|
531
|
-
if (!this._isPageDisplayed(iNewActivePageIndex)) {
|
|
532
|
-
iNewActivePageIndex = iNextSlide;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
} else {
|
|
536
|
-
iNewActivePageIndex = iNextSlide;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
this._changeActivePage(iNewActivePageIndex);
|
|
540
|
-
|
|
541
|
-
delete this._bPageIndicatorArrowPress;
|
|
542
|
-
delete this._bSwipe;
|
|
543
|
-
};
|
|
544
|
-
|
|
545
532
|
/**
|
|
546
533
|
* Sets the width of the visible pages, rendered in the <code>Carousel</code> control.
|
|
547
534
|
*
|
|
@@ -588,7 +575,7 @@ sap.ui.define([
|
|
|
588
575
|
* @param {int} iNewIndex index of the new active slide
|
|
589
576
|
* @private
|
|
590
577
|
*/
|
|
591
|
-
Carousel.prototype._moveToPage = function(iNewIndex) {
|
|
578
|
+
Carousel.prototype._moveToPage = function(iNewIndex, iFocusPageIndex) {
|
|
592
579
|
if (!this._bIsInitialized || this.getPages().length === 0) {
|
|
593
580
|
return;
|
|
594
581
|
}
|
|
@@ -599,7 +586,8 @@ sap.ui.define([
|
|
|
599
586
|
iIndex = this._iCurrSlideIndex,
|
|
600
587
|
iLength = $items.length,
|
|
601
588
|
iNumberOfItemsToShow = this._getNumberOfItemsToShow(),
|
|
602
|
-
bLoop = this.getLoop()
|
|
589
|
+
bLoop = this.getLoop(),
|
|
590
|
+
bIsCarouselActive = this.getDomRef().contains(document.activeElement);
|
|
603
591
|
|
|
604
592
|
// prevent loop when carousel shows more pages than 1
|
|
605
593
|
if (bLoop && iNumberOfItemsToShow !== 1 &&
|
|
@@ -645,9 +633,16 @@ sap.ui.define([
|
|
|
645
633
|
|
|
646
634
|
this._updateTransformValue();
|
|
647
635
|
this._initActivePages();
|
|
636
|
+
this._updateItemsAttributes(iFocusPageIndex);
|
|
648
637
|
|
|
649
638
|
if (bTriggerEvents) {
|
|
650
|
-
this.
|
|
639
|
+
this._changeActivePage(this._aAllActivePagesIndexes[0]);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
// focus the new page after transition if the focus was in the carousel
|
|
643
|
+
if (bIsCarouselActive || this._bPageIndicatorArrowPress) {
|
|
644
|
+
this._focusPage(iFocusPageIndex);
|
|
645
|
+
this._bPageIndicatorArrowPress = false;
|
|
651
646
|
}
|
|
652
647
|
};
|
|
653
648
|
|
|
@@ -683,23 +678,29 @@ sap.ui.define([
|
|
|
683
678
|
activePages: this._aAllActivePagesIndexes
|
|
684
679
|
});
|
|
685
680
|
}
|
|
686
|
-
// focus the new page if the focus was in the carousel and is not on some of the page children
|
|
687
|
-
if (this.getDomRef().contains(document.activeElement) && !this.getFocusDomRef().contains(document.activeElement) || this._bPageIndicatorArrowPress) {
|
|
688
|
-
this.getFocusDomRef().focus({ preventScroll: true });
|
|
689
|
-
}
|
|
690
681
|
|
|
691
682
|
this._adjustArrowsVisibility();
|
|
692
|
-
this._updateItemsAttributes();
|
|
693
683
|
this._updatePageIndicator();
|
|
694
684
|
};
|
|
695
685
|
|
|
696
|
-
Carousel.prototype.
|
|
686
|
+
Carousel.prototype._focusPage = function(sPageIndex) {
|
|
687
|
+
this._iFocusedPageIndex = sPageIndex;
|
|
688
|
+
|
|
689
|
+
const oPageDomRef = this.getDomRef(this.getPages()[sPageIndex].getId() + "-slide");
|
|
690
|
+
|
|
691
|
+
// focus the new page if the is not on some of the page children
|
|
692
|
+
if (!oPageDomRef.contains(document.activeElement)) {
|
|
693
|
+
oPageDomRef.focus({ preventScroll: true });
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
Carousel.prototype._updateItemsAttributes = function (iSelectedPageIndex) {
|
|
697
698
|
this.$().find(Carousel._ITEM_SELECTOR).each(function (iIndex, oPage) {
|
|
698
|
-
var
|
|
699
|
+
var bSelected = iIndex === iSelectedPageIndex;
|
|
699
700
|
|
|
700
|
-
oPage.setAttribute("aria-selected",
|
|
701
|
+
oPage.setAttribute("aria-selected", bSelected);
|
|
701
702
|
oPage.setAttribute("aria-hidden", !this._isPageDisplayed(iIndex));
|
|
702
|
-
oPage.setAttribute("tabindex",
|
|
703
|
+
oPage.setAttribute("tabindex", bSelected ? 0 : -1);
|
|
703
704
|
}.bind(this));
|
|
704
705
|
};
|
|
705
706
|
|
|
@@ -775,7 +776,7 @@ sap.ui.define([
|
|
|
775
776
|
}
|
|
776
777
|
var iPageNr = this._getPageIndex(sPageId);
|
|
777
778
|
this._sOldActivePageId = this.getActivePage();
|
|
778
|
-
this._moveToPage(iPageNr);
|
|
779
|
+
this._moveToPage(iPageNr, iPageNr);
|
|
779
780
|
}
|
|
780
781
|
|
|
781
782
|
this.setAssociation("activePage", sPageId, true);
|
|
@@ -848,7 +849,14 @@ sap.ui.define([
|
|
|
848
849
|
*/
|
|
849
850
|
Carousel.prototype.previous = function () {
|
|
850
851
|
const iSlideIndex = this._calculateSlideIndex(this._iCurrSlideIndex, -1);
|
|
851
|
-
this.
|
|
852
|
+
let iFocusPageIndex = this._iFocusedPageIndex;
|
|
853
|
+
|
|
854
|
+
if (this._aAllActivePagesIndexes.at(-1) === this._iFocusedPageIndex) {
|
|
855
|
+
iFocusPageIndex = this._iFocusedPageIndex - 1;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
this._moveToPage(iSlideIndex, this._makeInRange(iFocusPageIndex, false));
|
|
859
|
+
|
|
852
860
|
return this;
|
|
853
861
|
};
|
|
854
862
|
|
|
@@ -860,7 +868,14 @@ sap.ui.define([
|
|
|
860
868
|
*/
|
|
861
869
|
Carousel.prototype.next = function () {
|
|
862
870
|
const iSlideIndex = this._calculateSlideIndex(this._iCurrSlideIndex, 1);
|
|
863
|
-
this.
|
|
871
|
+
let iFocusPageIndex = this._iFocusedPageIndex;
|
|
872
|
+
|
|
873
|
+
if (this._aAllActivePagesIndexes[0] === this._iFocusedPageIndex) {
|
|
874
|
+
iFocusPageIndex = this._iFocusedPageIndex + 1;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
this._moveToPage(iSlideIndex, this._makeInRange(iFocusPageIndex, false));
|
|
878
|
+
|
|
864
879
|
return this;
|
|
865
880
|
};
|
|
866
881
|
|
|
@@ -893,10 +908,6 @@ sap.ui.define([
|
|
|
893
908
|
return iActivePageIndex;
|
|
894
909
|
};
|
|
895
910
|
|
|
896
|
-
Carousel.prototype.onswipe = function() {
|
|
897
|
-
this._bSwipe = true;
|
|
898
|
-
};
|
|
899
|
-
|
|
900
911
|
/**
|
|
901
912
|
* Handles 'touchstart' event
|
|
902
913
|
*
|
|
@@ -915,8 +926,8 @@ sap.ui.define([
|
|
|
915
926
|
|
|
916
927
|
if (this._isPageIndicatorArrow(oEvent.target)) {
|
|
917
928
|
// prevent upcoming focusin event on the arrow and focusout on the active page
|
|
918
|
-
oEvent.preventDefault();
|
|
919
929
|
this._bPageIndicatorArrowPress = true;
|
|
930
|
+
oEvent.preventDefault();
|
|
920
931
|
return;
|
|
921
932
|
}
|
|
922
933
|
|
|
@@ -1130,7 +1141,7 @@ sap.ui.define([
|
|
|
1130
1141
|
};
|
|
1131
1142
|
|
|
1132
1143
|
/**
|
|
1133
|
-
* When any element is focused with mouse set its containing page
|
|
1144
|
+
* When any element is focused with mouse set its containing page focused page
|
|
1134
1145
|
* @param {HTMLElement} oFocusedElement The focused element
|
|
1135
1146
|
*/
|
|
1136
1147
|
Carousel.prototype._handlePageElemFocus = function(oFocusedElement) {
|
|
@@ -1145,11 +1156,7 @@ sap.ui.define([
|
|
|
1145
1156
|
if (oPage) {
|
|
1146
1157
|
var sPageId = oPage.getId();
|
|
1147
1158
|
|
|
1148
|
-
|
|
1149
|
-
this.getFocusDomRef().focus({ preventScroll: true });
|
|
1150
|
-
} else if (sPageId !== this.getActivePage()) {
|
|
1151
|
-
this._changeActivePage(this._getPageIndex(sPageId));
|
|
1152
|
-
}
|
|
1159
|
+
this._iFocusedPageIndex = this._getPageIndex(sPageId);
|
|
1153
1160
|
}
|
|
1154
1161
|
};
|
|
1155
1162
|
|
|
@@ -1234,7 +1241,7 @@ sap.ui.define([
|
|
|
1234
1241
|
* @private
|
|
1235
1242
|
*/
|
|
1236
1243
|
Carousel.prototype.onsaphome = function(oEvent) {
|
|
1237
|
-
this._fnSkipToIndex(oEvent, -this.
|
|
1244
|
+
this._fnSkipToIndex(oEvent, -this._iFocusedPageIndex, true);
|
|
1238
1245
|
};
|
|
1239
1246
|
|
|
1240
1247
|
/**
|
|
@@ -1244,7 +1251,7 @@ sap.ui.define([
|
|
|
1244
1251
|
* @private
|
|
1245
1252
|
*/
|
|
1246
1253
|
Carousel.prototype.onsapend = function(oEvent) {
|
|
1247
|
-
this._fnSkipToIndex(oEvent, this.getPages().length - this.
|
|
1254
|
+
this._fnSkipToIndex(oEvent, this.getPages().length - this._iFocusedPageIndex - 1, true);
|
|
1248
1255
|
};
|
|
1249
1256
|
|
|
1250
1257
|
/**
|
|
@@ -1403,23 +1410,24 @@ sap.ui.define([
|
|
|
1403
1410
|
|
|
1404
1411
|
oEvent.preventDefault();
|
|
1405
1412
|
|
|
1406
|
-
|
|
1407
|
-
var iNewActivePageIndex = this._makeInRange(this._getPageIndex(this.getActivePage()) + iOffset, bPreventLoop);
|
|
1413
|
+
var iSkipToIndex = this._makeInRange(this._iFocusedPageIndex + iOffset, bPreventLoop);
|
|
1408
1414
|
var sOldActivePageId = this.getActivePage();
|
|
1409
1415
|
var iNewSlideIndex = this._iCurrSlideIndex + iOffset;
|
|
1416
|
+
|
|
1410
1417
|
if (bPreventLoop) {
|
|
1411
1418
|
iNewSlideIndex = Math.max(0, Math.min(iNewSlideIndex, this.getPages().length - this._getNumberOfItemsToShow()));
|
|
1412
1419
|
}
|
|
1413
1420
|
|
|
1414
|
-
if (this._isPageDisplayed(
|
|
1415
|
-
this._changeActivePage(iNewActivePageIndex);
|
|
1416
|
-
} else {
|
|
1421
|
+
if (!this._isPageDisplayed(iSkipToIndex)) {
|
|
1417
1422
|
this._bShouldFireEvent = false;
|
|
1418
|
-
this._moveToPage(iNewSlideIndex);
|
|
1423
|
+
this._moveToPage(iNewSlideIndex, iSkipToIndex);
|
|
1419
1424
|
this._bShouldFireEvent = true;
|
|
1420
1425
|
this._sOldActivePageId = sOldActivePageId;
|
|
1421
|
-
this._changeActivePage(iNewActivePageIndex);
|
|
1422
1426
|
}
|
|
1427
|
+
|
|
1428
|
+
this._changeActivePage(this._aAllActivePagesIndexes[0]);
|
|
1429
|
+
this._updateItemsAttributes(iSkipToIndex);
|
|
1430
|
+
this._focusPage(iSkipToIndex);
|
|
1423
1431
|
};
|
|
1424
1432
|
|
|
1425
1433
|
Carousel.prototype._isPageDisplayed = function (iIndex) {
|
|
@@ -1568,7 +1576,7 @@ sap.ui.define([
|
|
|
1568
1576
|
}
|
|
1569
1577
|
|
|
1570
1578
|
this._adjustArrowsVisibility();
|
|
1571
|
-
this._updateItemsAttributes();
|
|
1579
|
+
this._updateItemsAttributes(this._getActivePageIndex());
|
|
1572
1580
|
this._updatePageIndicator();
|
|
1573
1581
|
|
|
1574
1582
|
this._updateTransformValue();
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/base/ManagedObject", "./library"], function (ManagedObjec
|
|
|
17
17
|
* Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.125.0
|
|
21
21
|
*
|
|
22
22
|
* @extends sap.ui.base.ManagedObject
|
|
23
23
|
*
|
|
@@ -15,8 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
// shortcut for sap.m.CarouselArrowsPlacement
|
|
16
16
|
var CarouselArrowsPlacement = library.CarouselArrowsPlacement;
|
|
17
17
|
|
|
18
|
-
// shortcut for sap.m.
|
|
19
|
-
var
|
|
18
|
+
// shortcut for sap.m.CarouselPageIndicatorPlacementType
|
|
19
|
+
var CarouselPageIndicatorPlacementType = library.CarouselPageIndicatorPlacementType;
|
|
20
20
|
|
|
21
21
|
var oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
22
22
|
|
|
@@ -48,12 +48,13 @@ sap.ui.define([
|
|
|
48
48
|
this._renderDummyArea(oRM, oCarousel, "before");
|
|
49
49
|
|
|
50
50
|
//visual indicator
|
|
51
|
-
if (sPageIndicatorPlacement ===
|
|
51
|
+
if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Top ||
|
|
52
|
+
sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.OverContentTop) {
|
|
52
53
|
this._renderPageIndicatorAndArrows(oRM, oCarousel, {
|
|
53
54
|
iPageCount: iPageCount,
|
|
54
55
|
iIndex: iIndex,
|
|
55
56
|
sArrowsPlacement : sArrowsPlacement,
|
|
56
|
-
|
|
57
|
+
sPlacement: sPageIndicatorPlacement,
|
|
57
58
|
bShowPageIndicator: oCarousel.getShowPageIndicator()
|
|
58
59
|
});
|
|
59
60
|
}
|
|
@@ -65,12 +66,13 @@ sap.ui.define([
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
//visual indicator
|
|
68
|
-
if (sPageIndicatorPlacement ===
|
|
69
|
+
if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.OverContentBottom
|
|
70
|
+
|| sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Bottom) {
|
|
69
71
|
this._renderPageIndicatorAndArrows(oRM, oCarousel, {
|
|
70
72
|
iPageCount: iPageCount,
|
|
71
73
|
iIndex: iIndex,
|
|
72
74
|
sArrowsPlacement : sArrowsPlacement,
|
|
73
|
-
|
|
75
|
+
sPlacement: sPageIndicatorPlacement,
|
|
74
76
|
bShowPageIndicator: oCarousel.getShowPageIndicator()
|
|
75
77
|
});
|
|
76
78
|
}
|
|
@@ -112,13 +114,13 @@ sap.ui.define([
|
|
|
112
114
|
|
|
113
115
|
if (aPages.length > 1 && (oCarousel.getShowPageIndicator() || oCarousel.getArrowsPlacement() === CarouselArrowsPlacement.PageIndicator)) {
|
|
114
116
|
|
|
115
|
-
if (sPageIndicatorPlacement ===
|
|
117
|
+
if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Bottom) {
|
|
116
118
|
oRM.class("sapMCrslBottomOffset");
|
|
117
119
|
|
|
118
120
|
if (oCarousel.getArrowsPlacement() === CarouselArrowsPlacement.PageIndicator) {
|
|
119
121
|
oRM.class("sapMCrslBottomArrowsOffset");
|
|
120
122
|
}
|
|
121
|
-
} else {
|
|
123
|
+
} else if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Top) {
|
|
122
124
|
oRM.class("sapMCrslTopOffset");
|
|
123
125
|
|
|
124
126
|
if (oCarousel.getArrowsPlacement() === CarouselArrowsPlacement.PageIndicator) {
|
|
@@ -187,7 +189,7 @@ sap.ui.define([
|
|
|
187
189
|
* @param {object} mSettings
|
|
188
190
|
* @param {int} mSettings.iPageCount
|
|
189
191
|
* @param {int} mSettings.iIndex
|
|
190
|
-
* @param {
|
|
192
|
+
* @param {string} mSettings.sPlacement
|
|
191
193
|
* @param {sap.m.CarouselArrowsPlacement} mSettings.sArrowsPlacement
|
|
192
194
|
* @param {boolean} mSettings.bShowPageIndicator
|
|
193
195
|
* @private
|
|
@@ -210,11 +212,7 @@ sap.ui.define([
|
|
|
210
212
|
return;
|
|
211
213
|
}
|
|
212
214
|
|
|
213
|
-
|
|
214
|
-
aOffsetClasses.push("sapMCrslControlsBottom");
|
|
215
|
-
} else {
|
|
216
|
-
aOffsetClasses.push("sapMCrslControlsTop");
|
|
217
|
-
}
|
|
215
|
+
aOffsetClasses.push("sapMCrslControls" + mSettings.sPlacement);
|
|
218
216
|
|
|
219
217
|
if (bShowIndicatorArrows) {
|
|
220
218
|
oRM.openStart("div").class("sapMCrslControls");
|
|
@@ -292,13 +290,7 @@ sap.ui.define([
|
|
|
292
290
|
var sArrowPositionHudClass;
|
|
293
291
|
|
|
294
292
|
if (oCarousel.getShowPageIndicator()) {
|
|
295
|
-
|
|
296
|
-
if (oCarousel.getPageIndicatorPlacement() === PlacementType.Top) {
|
|
297
|
-
sArrowPositionHudClass = "sapMCrslHudTop";
|
|
298
|
-
} else if (oCarousel.getPageIndicatorPlacement() === PlacementType.Bottom) {
|
|
299
|
-
sArrowPositionHudClass = "sapMCrslHudBottom";
|
|
300
|
-
}
|
|
301
|
-
|
|
293
|
+
sArrowPositionHudClass = "sapMCrslHud" + oCarousel.getPageIndicatorPlacement();
|
|
302
294
|
} else {
|
|
303
295
|
sArrowPositionHudClass = "sapMCrslHudMiddle";
|
|
304
296
|
}
|
package/src/sap/m/CheckBox.js
CHANGED
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
* To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
|
|
109
109
|
*
|
|
110
110
|
* @extends sap.ui.core.Control
|
|
111
|
-
* @version 1.
|
|
111
|
+
* @version 1.125.0
|
|
112
112
|
*
|
|
113
113
|
* @constructor
|
|
114
114
|
* @public
|
package/src/sap/m/Column.js
CHANGED
package/src/sap/m/ComboBox.js
CHANGED
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class This element is used within the TileAttribute control that generates either a link or text
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.125.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
29
|
* @experimental since 1.122
|
package/src/sap/m/CustomTile.js
CHANGED
|
@@ -21,7 +21,7 @@ sap.ui.define(['./Tile', './library', './CustomTileRenderer'],
|
|
|
21
21
|
* Use the CustomTile control to display application specific content in the Tile control.
|
|
22
22
|
* The tile width is 8.5em and height is 10em.
|
|
23
23
|
* @extends sap.m.Tile
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.125.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -168,8 +168,8 @@ sap.ui.define([
|
|
|
168
168
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
169
169
|
*
|
|
170
170
|
* @extends sap.m.DatePicker
|
|
171
|
-
* @version 1.
|
|
172
|
-
* @version 1.
|
|
171
|
+
* @version 1.125.0
|
|
172
|
+
* @version 1.125.0
|
|
173
173
|
*
|
|
174
174
|
* @constructor
|
|
175
175
|
* @public
|