@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
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] initial settings for the new control
|
|
17
17
|
* @class Type for <code>columnsItems</code> aggregation in <code>P13nDimMeasurePanel</code> control.
|
|
18
18
|
* @extends sap.ui.core.Item
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.117.0
|
|
20
20
|
* @constructor
|
|
21
21
|
* @author SAP SE
|
|
22
22
|
* @public
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* dimensions and measures for table personalization.
|
|
90
90
|
* @extends sap.m.P13nPanel
|
|
91
91
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.117.0
|
|
93
93
|
* @constructor
|
|
94
94
|
* @public
|
|
95
95
|
* @since 1.34.0
|
|
@@ -648,8 +648,7 @@ sap.ui.define([
|
|
|
648
648
|
},
|
|
649
649
|
selectionChange: jQuery.proxy(this._onChartTypeChange, this),
|
|
650
650
|
layoutData: new OverflowToolbarLayoutData({
|
|
651
|
-
|
|
652
|
-
stayInOverflow: false
|
|
651
|
+
priority: OverflowToolbarPriority.NeverOverflow
|
|
653
652
|
})
|
|
654
653
|
});
|
|
655
654
|
|
|
@@ -675,8 +674,7 @@ sap.ui.define([
|
|
|
675
674
|
minWidth: "12.5rem",
|
|
676
675
|
maxWidth: "23.077rem",
|
|
677
676
|
shrinkable: true,
|
|
678
|
-
|
|
679
|
-
stayInOverflow: false
|
|
677
|
+
priority: OverflowToolbarPriority.NeverOverflow
|
|
680
678
|
})
|
|
681
679
|
}), new Button({
|
|
682
680
|
text: {
|
|
@@ -694,7 +692,6 @@ sap.ui.define([
|
|
|
694
692
|
type: ButtonType.Transparent,
|
|
695
693
|
press: jQuery.proxy(this._onSwitchButtonShowSelected, this),
|
|
696
694
|
layoutData: new OverflowToolbarLayoutData({
|
|
697
|
-
moveToOverflow: true,
|
|
698
695
|
priority: OverflowToolbarPriority.High
|
|
699
696
|
})
|
|
700
697
|
}), new OverflowToolbarButton({
|
|
@@ -707,7 +704,6 @@ sap.ui.define([
|
|
|
707
704
|
},
|
|
708
705
|
press: jQuery.proxy(this.onPressButtonMoveToTop, this),
|
|
709
706
|
layoutData: new OverflowToolbarLayoutData({
|
|
710
|
-
moveToOverflow: true,
|
|
711
707
|
priority: OverflowToolbarPriority.Low,
|
|
712
708
|
group: 2
|
|
713
709
|
})
|
|
@@ -721,7 +717,6 @@ sap.ui.define([
|
|
|
721
717
|
},
|
|
722
718
|
press: jQuery.proxy(this.onPressButtonMoveUp, this),
|
|
723
719
|
layoutData: new OverflowToolbarLayoutData({
|
|
724
|
-
moveToOverflow: true,
|
|
725
720
|
priority: OverflowToolbarPriority.High,
|
|
726
721
|
group: 1
|
|
727
722
|
})
|
|
@@ -735,7 +730,6 @@ sap.ui.define([
|
|
|
735
730
|
},
|
|
736
731
|
press: jQuery.proxy(this.onPressButtonMoveDown, this),
|
|
737
732
|
layoutData: new OverflowToolbarLayoutData({
|
|
738
|
-
moveToOverflow: true,
|
|
739
733
|
priority: OverflowToolbarPriority.High,
|
|
740
734
|
group: 1
|
|
741
735
|
})
|
|
@@ -749,7 +743,6 @@ sap.ui.define([
|
|
|
749
743
|
},
|
|
750
744
|
press: jQuery.proxy(this.onPressButtonMoveToBottom, this),
|
|
751
745
|
layoutData: new OverflowToolbarLayoutData({
|
|
752
|
-
moveToOverflow: true,
|
|
753
746
|
priority: OverflowToolbarPriority.Low,
|
|
754
747
|
group: 2
|
|
755
748
|
})
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>filterItems</code> aggregation in P13nFilterPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.26.0
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @param {object} [mSettings] initial settings for the new control
|
|
24
24
|
* @class The P13nFilterPanel control is used to define filter-specific settings for table personalization.
|
|
25
25
|
* @extends sap.m.P13nPanel
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.117.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.26.0
|
|
@@ -496,48 +496,33 @@ sap.ui.define([
|
|
|
496
496
|
}
|
|
497
497
|
aKeyFields = [];
|
|
498
498
|
sModelName = (this.getBindingInfo("items") || {}).model;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
vPropertyValue = oMetadata.hasProperty(sName) ? oMetadata.getProperty(sName).get(oItem) : oMetadata.getAggregation(sName).get(oItem),
|
|
503
|
-
vContextValue;
|
|
504
|
-
|
|
505
|
-
if (oBinding && oContext) {
|
|
506
|
-
vContextValue = oContext.getObject()[oBinding.getPath()];
|
|
507
|
-
if (sName === "text") {
|
|
508
|
-
return vContextValue || vContextValue === "" ? vContextValue : vPropertyValue;
|
|
509
|
-
} else {
|
|
510
|
-
return vContextValue;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
return vPropertyValue;
|
|
514
|
-
};
|
|
515
|
-
this.getItems().forEach(function(oItem_) {
|
|
516
|
-
var oContext = oItem_.getBindingContext(sModelName),
|
|
499
|
+
|
|
500
|
+
this.getItems().forEach(function(oItem) {
|
|
501
|
+
var oContext = oItem.getBindingContext(sModelName),
|
|
517
502
|
oField,
|
|
518
503
|
bNullable,
|
|
519
504
|
oFieldExclude;
|
|
520
505
|
|
|
521
506
|
// Update key of model (in case of 'restore' the key in model gets lost because it is overwritten by Restore Snapshot)
|
|
522
|
-
if (
|
|
523
|
-
oContext.getObject()[
|
|
507
|
+
if (oItem.getBinding("key")) {
|
|
508
|
+
oContext.getObject()[oItem.getBinding("key").getPath()] = oItem.getKey();
|
|
524
509
|
}
|
|
525
510
|
aKeyFields.push(oField = {
|
|
526
|
-
key:
|
|
527
|
-
text:
|
|
528
|
-
tooltip:
|
|
529
|
-
maxLength:
|
|
530
|
-
type:
|
|
531
|
-
typeInstance:
|
|
532
|
-
formatSettings:
|
|
533
|
-
precision:
|
|
534
|
-
scale:
|
|
535
|
-
isDefault:
|
|
536
|
-
values:
|
|
511
|
+
key: oItem.getColumnKey(),
|
|
512
|
+
text: oItem.getText(),
|
|
513
|
+
tooltip: oItem.getTooltip(),
|
|
514
|
+
maxLength: oItem.getMaxLength(),
|
|
515
|
+
type: oItem.getType(),
|
|
516
|
+
typeInstance: oItem.getTypeInstance(),
|
|
517
|
+
formatSettings: oItem.getFormatSettings(),
|
|
518
|
+
precision: oItem.getPrecision(),
|
|
519
|
+
scale: oItem.getScale(),
|
|
520
|
+
isDefault: oItem.getIsDefault(),
|
|
521
|
+
values: oItem.getValues()
|
|
537
522
|
});
|
|
538
523
|
|
|
539
524
|
if (bEnableEmptyOperations) {
|
|
540
|
-
bNullable =
|
|
525
|
+
bNullable = oItem.getNullable();
|
|
541
526
|
|
|
542
527
|
// Copy the oField object and add it to the exclude array - we need this only when exclude
|
|
543
528
|
// operations are enabled
|
|
@@ -561,21 +546,21 @@ sap.ui.define([
|
|
|
561
546
|
|
|
562
547
|
var aConditions = [];
|
|
563
548
|
sModelName = (this.getBindingInfo("filterItems") || {}).model;
|
|
564
|
-
this.getFilterItems().forEach(function(
|
|
549
|
+
this.getFilterItems().forEach(function(oFilterItem) {
|
|
565
550
|
|
|
566
551
|
// the "filterItems" aggregation data - obtained via getFilterItems() - has the old state !
|
|
567
|
-
var oContext =
|
|
552
|
+
var oContext = oFilterItem.getBindingContext(sModelName);
|
|
568
553
|
// Update key of model (in case of 'restore' the key in model gets lost because it is overwritten by Restore Snapshot)
|
|
569
|
-
if (
|
|
570
|
-
oContext.getObject()[
|
|
554
|
+
if (oFilterItem.getBinding("key") && oContext) {
|
|
555
|
+
oContext.getObject()[oFilterItem.getBinding("key").getPath()] = oFilterItem.getKey();
|
|
571
556
|
}
|
|
572
557
|
aConditions.push({
|
|
573
|
-
key:
|
|
574
|
-
keyField:
|
|
575
|
-
operation:
|
|
576
|
-
value1:
|
|
577
|
-
value2:
|
|
578
|
-
exclude:
|
|
558
|
+
key: oFilterItem.getKey(),
|
|
559
|
+
keyField: oFilterItem.getColumnKey(),
|
|
560
|
+
operation: oFilterItem.getOperation(),
|
|
561
|
+
value1: oFilterItem.getValue1(),
|
|
562
|
+
value2: oFilterItem.getValue2(),
|
|
563
|
+
exclude: oFilterItem.getExclude()
|
|
579
564
|
});
|
|
580
565
|
});
|
|
581
566
|
this.setConditions(aConditions);
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>groupItems</code> aggregation in P13nGroupPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.28.0
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] initial settings for the new control
|
|
28
28
|
* @class The P13nGroupPanel control is used to define group-specific settings for table personalization.
|
|
29
29
|
* @extends sap.m.P13nPanel
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.117.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @deprecated as of version 1.98. Use the {@link sap.m.p13n.GroupPanel} instead.
|
|
33
33
|
* @public
|
package/src/sap/m/P13nItem.js
CHANGED
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Base type for <code>items</code> aggregation in <code>P13nPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Element
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.26.0
|
package/src/sap/m/P13nPanel.js
CHANGED
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class An abstract base type for <code>panels</code> aggregation in <code>P13nDialog</code> control.
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @abstract
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>selectionItems</code> aggregation in <code>P13nSelectionPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @private
|
|
@@ -22,6 +22,9 @@ sap.ui.define([
|
|
|
22
22
|
// shortcut for sap.m.P13nPanelType
|
|
23
23
|
var P13nPanelType = library.P13nPanelType;
|
|
24
24
|
|
|
25
|
+
// shortcut for sap.ui.core.VerticalAlign
|
|
26
|
+
var OverflowToolbarPriority = library.OverflowToolbarPriority;
|
|
27
|
+
|
|
25
28
|
/**
|
|
26
29
|
* Constructor for a new P13nSelectionPanel.
|
|
27
30
|
*
|
|
@@ -30,7 +33,7 @@ sap.ui.define([
|
|
|
30
33
|
* @class The P13nSelectionPanel control is used to define selection settings like the visibility or the order of items.
|
|
31
34
|
* @extends sap.m.P13nPanel
|
|
32
35
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
36
|
+
* @version 1.117.0
|
|
34
37
|
* @constructor
|
|
35
38
|
* @private
|
|
36
39
|
* @since 1.46.0
|
|
@@ -429,8 +432,7 @@ sap.ui.define([
|
|
|
429
432
|
minWidth: "12.5rem",
|
|
430
433
|
maxWidth: "23.077rem",
|
|
431
434
|
shrinkable: true,
|
|
432
|
-
|
|
433
|
-
stayInOverflow: false
|
|
435
|
+
priority: OverflowToolbarPriority.NeverOverflow
|
|
434
436
|
// priority: OverflowToolbarPriority.High
|
|
435
437
|
})
|
|
436
438
|
})
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>sortItems</code> aggregation in P13nSortPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.117.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.26.0
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @param {object} [mSettings] initial settings for the new control
|
|
27
27
|
* @class The P13nSortPanel control is used to define settings for sorting in table personalization.
|
|
28
28
|
* @extends sap.m.P13nPanel
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.117.0
|
|
30
30
|
* @constructor
|
|
31
31
|
* @deprecated as of version 1.98. Use the {@link sap.m.p13n.SortPanel} instead.
|
|
32
32
|
* @public
|
package/src/sap/m/PDFViewer.js
CHANGED
|
@@ -89,7 +89,7 @@ sap.ui.define(['sap/ui/Device', "sap/base/Log", "sap/base/security/URLListValida
|
|
|
89
89
|
* case: if "Always download pdf's" option is enabled in browser setting.. in that
|
|
90
90
|
* case display error content (to retain control behaviour)
|
|
91
91
|
*/
|
|
92
|
-
if (!oControl._isDisplayTypeLink() && !this._isPdfPluginEnabled()) {
|
|
92
|
+
if (!oControl._isDisplayTypeLink() && !this._isPdfPluginEnabled() && Device.system.desktop) {
|
|
93
93
|
this.renderErrorContent(oRm, oControl);
|
|
94
94
|
} else if (oControl._isEmbeddedModeAllowed() && this._isPdfPluginEnabled()) {
|
|
95
95
|
this.renderPdfContent(oRm, oControl);
|
package/src/sap/m/Page.js
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./library",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
|
+
"sap/ui/core/Lib",
|
|
11
12
|
"sap/ui/core/delegate/ScrollEnablement",
|
|
12
13
|
"sap/m/Title",
|
|
13
14
|
"sap/m/Button",
|
|
@@ -25,6 +26,7 @@ sap.ui.define([
|
|
|
25
26
|
function(
|
|
26
27
|
library,
|
|
27
28
|
Control,
|
|
29
|
+
Library,
|
|
28
30
|
ScrollEnablement,
|
|
29
31
|
Title,
|
|
30
32
|
Button,
|
|
@@ -93,7 +95,7 @@ function(
|
|
|
93
95
|
* @extends sap.ui.core.Control
|
|
94
96
|
* @mixes sap.ui.core.ContextMenuSupport
|
|
95
97
|
* @author SAP SE
|
|
96
|
-
* @version 1.
|
|
98
|
+
* @version 1.117.0
|
|
97
99
|
*
|
|
98
100
|
* @public
|
|
99
101
|
* @alias sap.m.Page
|
|
@@ -406,7 +408,7 @@ function(
|
|
|
406
408
|
return;
|
|
407
409
|
}
|
|
408
410
|
|
|
409
|
-
var sBackText = this.getNavButtonTooltip() ||
|
|
411
|
+
var sBackText = this.getNavButtonTooltip() || Library.getResourceBundleFor("sap.m").getText("PAGE_NAVBUTTON_TEXT"); // any other types than "Back" do not make sense anymore in Blue Crystal
|
|
410
412
|
|
|
411
413
|
if (!this._navBtn) {
|
|
412
414
|
this._navBtn = new Button(this.getId() + "-navButton", {
|
|
@@ -576,8 +578,8 @@ function(
|
|
|
576
578
|
};
|
|
577
579
|
|
|
578
580
|
/**
|
|
579
|
-
* Returns the sap.ui.core.ScrollEnablement delegate which is used with this control.
|
|
580
|
-
* @returns {sap.ui.core.ScrollEnablement} The scroll enablement delegate
|
|
581
|
+
* Returns the sap.ui.core.delegate.ScrollEnablement delegate which is used with this control.
|
|
582
|
+
* @returns {sap.ui.core.delegate.ScrollEnablement} The scroll enablement delegate
|
|
581
583
|
* @private
|
|
582
584
|
*/
|
|
583
585
|
Page.prototype.getScrollDelegate = function () {
|
|
@@ -733,7 +735,7 @@ function(
|
|
|
733
735
|
Page.prototype._getHeaderToolbarAriaLabelledBy = function (sId) {
|
|
734
736
|
if (!this._oHeaderToolbarInvisibleText) {
|
|
735
737
|
this._oHeaderToolbarInvisibleText = new InvisibleText(sId + "-InvisibleText", {
|
|
736
|
-
text:
|
|
738
|
+
text: Library.getResourceBundleFor("sap.m").getText("ARIA_LABEL_TOOLBAR_HEADER_ACTIONS")
|
|
737
739
|
}).toStatic();
|
|
738
740
|
}
|
|
739
741
|
|
|
@@ -753,7 +755,7 @@ function(
|
|
|
753
755
|
Page.prototype._getFooterToolbarAriaLabelledBy = function (sId) {
|
|
754
756
|
if (!this._oFooterToolbarInvisibleText) {
|
|
755
757
|
this._oFooterToolbarInvisibleText = new InvisibleText(sId + "-InvisibleText", {
|
|
756
|
-
text:
|
|
758
|
+
text: Library.getResourceBundleFor("sap.m").getText("ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS")
|
|
757
759
|
}).toStatic();
|
|
758
760
|
}
|
|
759
761
|
|
package/src/sap/m/Panel.js
CHANGED
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* @extends sap.ui.core.Control
|
|
68
68
|
*
|
|
69
69
|
* @author SAP SE
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.117.0
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|
|
@@ -132,7 +132,16 @@ sap.ui.define([
|
|
|
132
132
|
* Depending on the usage you can change the role from the default <code>Form</code> to <code>Region</code> or <code>Complementary</code>.
|
|
133
133
|
* @since 1.46
|
|
134
134
|
*/
|
|
135
|
-
accessibleRole: {type: "sap.m.PanelAccessibleRole", group: "Accessibility", defaultValue: PanelAccessibleRole.Form}
|
|
135
|
+
accessibleRole: {type: "sap.m.PanelAccessibleRole", group: "Accessibility", defaultValue: PanelAccessibleRole.Form},
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Indicates whether the Panel header is sticky or not.
|
|
139
|
+
* If stickyHeader is set to true, then whenever you scroll the content or
|
|
140
|
+
* the application, the header of the panel will be always visible and
|
|
141
|
+
* a solid color will be used for its design.
|
|
142
|
+
* @since 1.117
|
|
143
|
+
*/
|
|
144
|
+
stickyHeader: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
136
145
|
|
|
137
146
|
},
|
|
138
147
|
defaultAggregation: "content",
|
|
@@ -38,12 +38,16 @@ sap.ui.define(["sap/m/library", "sap/ui/Device"],
|
|
|
38
38
|
|
|
39
39
|
PanelRenderer.startPanel = function (oRm, oControl) {
|
|
40
40
|
var bIsExpandable = oControl.getExpandable(),
|
|
41
|
+
bIsStickyPanel = oControl.getStickyHeader(),
|
|
41
42
|
oAccAttributes = {
|
|
42
43
|
role: oControl.getAccessibleRole().toLowerCase()
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
oRm.openStart("div", oControl);
|
|
46
47
|
oRm.class("sapMPanel");
|
|
48
|
+
if (bIsStickyPanel) {
|
|
49
|
+
oRm.class("sapMPanelHasStickyHeader");
|
|
50
|
+
}
|
|
47
51
|
|
|
48
52
|
if (bIsExpandable) {
|
|
49
53
|
oRm.class("sapMPanelExpandable");
|
|
@@ -67,12 +71,17 @@ sap.ui.define(["sap/m/library", "sap/ui/Device"],
|
|
|
67
71
|
PanelRenderer.renderHeader = function (oRm, oControl) {
|
|
68
72
|
var bIsExpandable = oControl.getExpandable(),
|
|
69
73
|
bIsExpanded = oControl.getExpanded(),
|
|
74
|
+
bIsStickyPanel = oControl.getStickyHeader(),
|
|
70
75
|
oHeaderTBar = oControl.getHeaderToolbar(),
|
|
71
76
|
sHeaderClass;
|
|
72
77
|
|
|
73
78
|
oRm.openStart("div");
|
|
74
79
|
oRm.class("sapMPanelHeadingDiv");
|
|
75
80
|
|
|
81
|
+
if (bIsStickyPanel) {
|
|
82
|
+
oRm.class("sapMPanelStickyHeadingDiv");
|
|
83
|
+
}
|
|
84
|
+
|
|
76
85
|
if (!oHeaderTBar) {
|
|
77
86
|
oRm.attr('role', 'heading');
|
|
78
87
|
oRm.attr('aria-level', '2');
|
|
@@ -50,6 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
'sap/m/library',
|
|
51
51
|
"sap/base/util/deepEqual",
|
|
52
52
|
"sap/base/Log",
|
|
53
|
+
"sap/m/List",
|
|
53
54
|
"sap/ui/thirdparty/jquery",
|
|
54
55
|
"sap/ui/dom/jquery/control" // jQuery Plugin "control"
|
|
55
56
|
], function(
|
|
@@ -97,6 +98,7 @@ sap.ui.define([
|
|
|
97
98
|
library,
|
|
98
99
|
deepEqual,
|
|
99
100
|
Log,
|
|
101
|
+
List,
|
|
100
102
|
jQuery
|
|
101
103
|
) {
|
|
102
104
|
"use strict";
|
|
@@ -195,7 +197,7 @@ sap.ui.define([
|
|
|
195
197
|
* {@link sap.m.PlanningCalendarView PlanningCalendarView}'s properties.
|
|
196
198
|
*
|
|
197
199
|
* @extends sap.ui.core.Control
|
|
198
|
-
* @version 1.
|
|
200
|
+
* @version 1.117.0
|
|
199
201
|
*
|
|
200
202
|
* @constructor
|
|
201
203
|
* @public
|
|
@@ -3810,9 +3812,13 @@ sap.ui.define([
|
|
|
3810
3812
|
|
|
3811
3813
|
oRowTimeline.setAssociation("row", oRow.getId());
|
|
3812
3814
|
|
|
3813
|
-
oListItem =
|
|
3814
|
-
|
|
3815
|
-
|
|
3815
|
+
oListItem = oRowHeader.isA("sap.m.CustomListItem")
|
|
3816
|
+
? new PlanningCalendarRowListItem(oRow.getId() + LISTITEM_SUFFIX, {
|
|
3817
|
+
cells: [new List({items: [oRowHeader]}), oRowTimeline]
|
|
3818
|
+
})
|
|
3819
|
+
: new PlanningCalendarRowListItem(oRow.getId() + LISTITEM_SUFFIX, {
|
|
3820
|
+
cells: [oRowHeader, oRowTimeline]
|
|
3821
|
+
});
|
|
3816
3822
|
|
|
3817
3823
|
this._updateRowTimeline(oRow);
|
|
3818
3824
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
|
25
25
|
* The <code>PlanningCalendarView</code> defines the type of the intervals (hours, days, months)
|
|
26
26
|
* and how many intervals are displayed.
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.117.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
package/src/sap/m/Popover.js
CHANGED
|
@@ -120,7 +120,7 @@ sap.ui.define([
|
|
|
120
120
|
* @extends sap.ui.core.Control
|
|
121
121
|
* @implements sap.ui.core.PopupInterface
|
|
122
122
|
* @author SAP SE
|
|
123
|
-
* @version 1.
|
|
123
|
+
* @version 1.117.0
|
|
124
124
|
*
|
|
125
125
|
* @public
|
|
126
126
|
* @alias sap.m.Popover
|
|
@@ -494,7 +494,7 @@ sap.ui.define([
|
|
|
494
494
|
},
|
|
495
495
|
onAfterRendering: function () {
|
|
496
496
|
if (this._sFocusControlId && !containsOrEquals(this.getDomRef(), document.activeElement)) {
|
|
497
|
-
|
|
497
|
+
Element.registry.get(this._sFocusControlId).focus();
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
};
|
|
@@ -1131,7 +1131,7 @@ sap.ui.define([
|
|
|
1131
1131
|
|
|
1132
1132
|
// Set focus to the first visible focusable element
|
|
1133
1133
|
var sFocusId = this._getInitialFocusId(),
|
|
1134
|
-
oControl =
|
|
1134
|
+
oControl = Element.registry.get(sFocusId),
|
|
1135
1135
|
oDomById = (sFocusId ? window.document.getElementById(sFocusId) : null);
|
|
1136
1136
|
if (oControl && oControl.getFocusDomRef()){
|
|
1137
1137
|
oControl.getFocusDomRef().focus();
|
|
@@ -1902,7 +1902,7 @@ sap.ui.define([
|
|
|
1902
1902
|
iMaxContentWidth = this._getMaxContentWidth(oPosParams),
|
|
1903
1903
|
iMaxContentHeight = this._getMaxContentHeight(oPosParams);
|
|
1904
1904
|
|
|
1905
|
-
|
|
1905
|
+
//make sure iMaxContentHeight is NEVER less than 0
|
|
1906
1906
|
iMaxContentHeight = Math.max(iMaxContentHeight, 0);
|
|
1907
1907
|
|
|
1908
1908
|
oCSS["max-width"] = iMaxContentWidth + "px";
|
|
@@ -2329,7 +2329,7 @@ sap.ui.define([
|
|
|
2329
2329
|
if (this.isOpen()) {
|
|
2330
2330
|
//restore the focus after rendering when popover is already open
|
|
2331
2331
|
var sFocusId = this._getInitialFocusId(),
|
|
2332
|
-
oControl =
|
|
2332
|
+
oControl = Element.registry.get(sFocusId),
|
|
2333
2333
|
oDomById = (sFocusId ? window.document.getElementById(sFocusId) : null);
|
|
2334
2334
|
if (oControl && oControl.getFocusDomRef()){
|
|
2335
2335
|
oControl.getFocusDomRef().focus();
|
|
@@ -2547,17 +2547,13 @@ sap.ui.define([
|
|
|
2547
2547
|
|
|
2548
2548
|
this._createInternalHeader();
|
|
2549
2549
|
|
|
2550
|
-
//this is used in the getAggregation method
|
|
2550
|
+
// this is used in the getAggregation method
|
|
2551
2551
|
this._endButton = oButton;
|
|
2552
2552
|
|
|
2553
|
+
this._internalHeader.removeContentRight(oOldEndButton);
|
|
2554
|
+
|
|
2553
2555
|
if (oButton) {
|
|
2554
|
-
|
|
2555
|
-
this._internalHeader.removeAggregation("contentRight", oOldEndButton, true);
|
|
2556
|
-
}
|
|
2557
|
-
this._internalHeader.insertAggregation("contentRight", oButton, 1, true);
|
|
2558
|
-
this._internalHeader.invalidate();
|
|
2559
|
-
} else {
|
|
2560
|
-
this._internalHeader.removeContentRight(oOldEndButton);
|
|
2556
|
+
this._internalHeader.addContentRight(oButton);
|
|
2561
2557
|
}
|
|
2562
2558
|
|
|
2563
2559
|
return this;
|
|
@@ -2565,7 +2561,7 @@ sap.ui.define([
|
|
|
2565
2561
|
|
|
2566
2562
|
Popover.prototype.setLeftButton = function (vButton) {
|
|
2567
2563
|
if (!(vButton instanceof Button)) {
|
|
2568
|
-
vButton =
|
|
2564
|
+
vButton = Element.registry.get(vButton);
|
|
2569
2565
|
}
|
|
2570
2566
|
|
|
2571
2567
|
//setting leftButton also sets the beginButton
|
|
@@ -2575,7 +2571,7 @@ sap.ui.define([
|
|
|
2575
2571
|
|
|
2576
2572
|
Popover.prototype.setRightButton = function (vButton) {
|
|
2577
2573
|
if (!(vButton instanceof Button)) {
|
|
2578
|
-
vButton =
|
|
2574
|
+
vButton = Element.registry.get(vButton);
|
|
2579
2575
|
}
|
|
2580
2576
|
|
|
2581
2577
|
//setting rightButton also sets the endButton
|
|
@@ -2620,8 +2616,8 @@ sap.ui.define([
|
|
|
2620
2616
|
};
|
|
2621
2617
|
|
|
2622
2618
|
/**
|
|
2623
|
-
* Returns the sap.ui.core.ScrollEnablement delegate which is used with this control.
|
|
2624
|
-
* @returns {sap.ui.core.ScrollEnablement} The scroll delegate
|
|
2619
|
+
* Returns the sap.ui.core.delegate.ScrollEnablement delegate which is used with this control.
|
|
2620
|
+
* @returns {sap.ui.core.delegate.ScrollEnablement} The scroll delegate
|
|
2625
2621
|
* @private
|
|
2626
2622
|
*/
|
|
2627
2623
|
Popover.prototype.getScrollDelegate = function () {
|