@openui5/sap.m 1.106.0 → 1.107.1
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 +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- 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 -3
- 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/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- 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 +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- 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 +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- 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/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +1 -1
- 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 +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.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 +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- 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 +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
|
@@ -20,10 +20,11 @@ sap.ui.define([
|
|
|
20
20
|
'sap/ui/unified/calendar/CustomMonthPicker',
|
|
21
21
|
'sap/ui/unified/calendar/CustomYearPicker',
|
|
22
22
|
'sap/ui/unified/calendar/IndexPicker',
|
|
23
|
+
'sap/ui/core/Configuration',
|
|
23
24
|
'sap/ui/core/IconPool',
|
|
24
25
|
'sap/ui/core/InvisibleText',
|
|
25
26
|
'sap/ui/core/library',
|
|
26
|
-
|
|
27
|
+
'./PlanningCalendarHeaderRenderer'
|
|
27
28
|
],
|
|
28
29
|
function(
|
|
29
30
|
Element,
|
|
@@ -40,6 +41,7 @@ function(
|
|
|
40
41
|
CustomMonthPicker,
|
|
41
42
|
CustomYearPicker,
|
|
42
43
|
IndexPicker,
|
|
44
|
+
Configuration,
|
|
43
45
|
IconPool,
|
|
44
46
|
InvisibleText,
|
|
45
47
|
coreLibrary,
|
|
@@ -88,7 +90,7 @@ function(
|
|
|
88
90
|
* @extends sap.ui.core.Control
|
|
89
91
|
*
|
|
90
92
|
* @author SAP SE
|
|
91
|
-
* @version 1.
|
|
93
|
+
* @version 1.107.1
|
|
92
94
|
*
|
|
93
95
|
* @constructor
|
|
94
96
|
* @private
|
|
@@ -96,135 +98,139 @@ function(
|
|
|
96
98
|
* @alias sap.m.PlanningCalendarHeader
|
|
97
99
|
*/
|
|
98
100
|
|
|
99
|
-
var PlanningCalendarHeader = Control.extend("sap.m.PlanningCalendarHeader", /** @lends sap.m.PlanningCalendarHeader.prototype */ {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
101
|
+
var PlanningCalendarHeader = Control.extend("sap.m.PlanningCalendarHeader", /** @lends sap.m.PlanningCalendarHeader.prototype */ {
|
|
102
|
+
metadata : {
|
|
103
|
+
|
|
104
|
+
library : "sap.m",
|
|
105
|
+
|
|
106
|
+
properties : {
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Determines the title of the <code>PlanningCalendarHeader</code>.
|
|
110
|
+
*/
|
|
111
|
+
title: { type: "string", group: "Appearance", defaultValue: "" },
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Determines the start date used in the calendar picker, as a JavaScript date object. It is considered as a local date.
|
|
115
|
+
* The time part will be ignored. The current date is used as default.
|
|
116
|
+
*/
|
|
117
|
+
startDate: { type : "object", group : "Data" },
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Determines the text of the button which opens the calendar picker.
|
|
121
|
+
*/
|
|
122
|
+
pickerText : { type : "string", group : "Data" }
|
|
123
|
+
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
aggregations : {
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The controls to be passed to the toolbar.
|
|
130
|
+
*/
|
|
131
|
+
actions : { type : "sap.ui.core.Control", multiple: true, singularName: "action" },
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Hidden, for internal use only.
|
|
135
|
+
* The toolbar which contains the title, the SegmentedButton for the views and the controls from the actions aggregation.
|
|
136
|
+
*
|
|
137
|
+
* @private
|
|
138
|
+
*/
|
|
139
|
+
_actionsToolbar : { type: "sap.m.OverflowToolbar", multiple: false, visibility : "hidden" },
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Hidden, for internal use only.
|
|
143
|
+
* The toolbar which contains the navigation inner controls.
|
|
144
|
+
*
|
|
145
|
+
* @private
|
|
146
|
+
*/
|
|
147
|
+
_navigationToolbar : { type: "sap.m.Toolbar", multiple: false, visibility : "hidden" },
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Hidden, for internal use only.
|
|
151
|
+
* The popup which contains the calendar for navigation.
|
|
152
|
+
*
|
|
153
|
+
* @private
|
|
154
|
+
*/
|
|
155
|
+
_calendarPicker : { type : "sap.ui.unified.Calendar", multiple : false, visibility : "hidden" },
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Hidden, for internal use only.
|
|
159
|
+
* The popup which contains the month picker for navigation.
|
|
160
|
+
*
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
163
|
+
_monthPicker : { type : "sap.ui.unified.internal.CustomMonthPicker", multiple : false, visibility : "hidden" },
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Hidden, for internal use only.
|
|
167
|
+
* The popup which contains the year picker for navigation.
|
|
168
|
+
*
|
|
169
|
+
* @private
|
|
170
|
+
*/
|
|
171
|
+
_yearPicker : { type : "sap.ui.unified.internal.CustomYearPicker", multiple : false, visibility : "hidden" },
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Hidden, for internal use only.
|
|
175
|
+
* The popup which contains the index picker for navigation.
|
|
176
|
+
*
|
|
177
|
+
* @private
|
|
178
|
+
*/
|
|
179
|
+
_indexPicker : { type : "sap.ui.unified.calendar.IndexPicker", multiple : false, visibility : "hidden" }
|
|
180
|
+
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
events : {
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* <code>startDate</code> was changed while navigating backward in the <code>PlanningCalendarHeader</code>.
|
|
187
|
+
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
188
|
+
*/
|
|
189
|
+
pressPrevious: {},
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* <code>startDate</code> was changed while navigating through the Today button in the
|
|
193
|
+
* <code>PlanningCalendarHeader</code>.
|
|
194
|
+
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
195
|
+
*/
|
|
196
|
+
pressToday: {},
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* <code>startDate</code> was changed while navigating forward in the <code>PlanningCalendarHeader</code>.
|
|
200
|
+
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
201
|
+
*/
|
|
202
|
+
pressNext: {},
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* A date was selected through the calendar picker.
|
|
206
|
+
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
207
|
+
*/
|
|
208
|
+
dateSelect: {},
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The calendar picker popup was closed and no date was selected.
|
|
212
|
+
*/
|
|
213
|
+
cancel: {},
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The view was changed by user interaction.
|
|
217
|
+
*/
|
|
218
|
+
viewChange : {}
|
|
219
|
+
},
|
|
220
|
+
|
|
221
|
+
associations: {
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Association to control / ID which is shown in the picker popup.
|
|
225
|
+
* @since 1.70.0
|
|
226
|
+
*/
|
|
227
|
+
currentPicker: { type: "sap.ui.core.Control", multiple: false }
|
|
228
|
+
}
|
|
179
229
|
|
|
180
|
-
events : {
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* <code>startDate</code> was changed while navigating backward in the <code>PlanningCalendarHeader</code>.
|
|
184
|
-
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
185
|
-
*/
|
|
186
|
-
pressPrevious: {},
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* <code>startDate</code> was changed while navigating through the Today button in the
|
|
190
|
-
* <code>PlanningCalendarHeader</code>.
|
|
191
|
-
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
192
|
-
*/
|
|
193
|
-
pressToday: {},
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* <code>startDate</code> was changed while navigating forward in the <code>PlanningCalendarHeader</code>.
|
|
197
|
-
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
198
|
-
*/
|
|
199
|
-
pressNext: {},
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* A date was selected through the calendar picker.
|
|
203
|
-
* The new value can be obtained, using the <code>sap.m.PlanningCalendarHeader#getStartDate()</code> method.
|
|
204
|
-
*/
|
|
205
|
-
dateSelect: {},
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* The calendar picker popup was closed and no date was selected.
|
|
209
|
-
*/
|
|
210
|
-
cancel: {},
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The view was changed by user interaction.
|
|
214
|
-
*/
|
|
215
|
-
viewChange : {}
|
|
216
230
|
},
|
|
217
231
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Association to control / ID which is shown in the picker popup.
|
|
222
|
-
* @since 1.70.0
|
|
223
|
-
*/
|
|
224
|
-
currentPicker: { type: "sap.ui.core.Control", multiple: false }
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
}});
|
|
232
|
+
renderer: PlanningCalendarHeaderRenderer
|
|
233
|
+
});
|
|
228
234
|
|
|
229
235
|
// Number of items to be skipped when removing content from actions aggregation.
|
|
230
236
|
// In the _actionsToolbar content are placed the sap.m.Title control, containing the value from the title property,
|
|
@@ -587,7 +593,7 @@ function(
|
|
|
587
593
|
var $Popover = this._oPopup.$();
|
|
588
594
|
var iOffsetX = Math.floor(($Popover.width() - this._oPickerBtn.$().width()) / 2);
|
|
589
595
|
|
|
590
|
-
this._oPopup.setOffsetX(
|
|
596
|
+
this._oPopup.setOffsetX(Configuration.getRTL() ? iOffsetX : -iOffsetX);
|
|
591
597
|
|
|
592
598
|
var iOffsetY = this._oPickerBtn.$().height();
|
|
593
599
|
|
|
@@ -23,36 +23,39 @@ sap.ui.define(['sap/ui/unified/CalendarLegend', 'sap/ui/unified/CalendarAppointm
|
|
|
23
23
|
* @extends sap.ui.unified.CalendarLegend
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.107.1
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
30
30
|
* @since 1.50
|
|
31
31
|
* @alias sap.m.PlanningCalendarLegend
|
|
32
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
33
32
|
*/
|
|
34
|
-
var PlanningCalendarLegend = CalendarLegend.extend("sap.m.PlanningCalendarLegend", /** @lends sap.m.PlanningCalendarLegend.prototype */ {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
33
|
+
var PlanningCalendarLegend = CalendarLegend.extend("sap.m.PlanningCalendarLegend", /** @lends sap.m.PlanningCalendarLegend.prototype */ {
|
|
34
|
+
metadata : {
|
|
35
|
+
|
|
36
|
+
library : "sap.m",
|
|
37
|
+
properties: {
|
|
38
|
+
/**
|
|
39
|
+
* Defines the text displayed in the header of the items list. It is commonly related to the calendar days.
|
|
40
|
+
*/
|
|
41
|
+
itemsHeader: { type: "string", group: "Appearance" },
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Defines the text displayed in the header of the appointment items list. It is commonly related to the calendar appointments.
|
|
45
|
+
*/
|
|
46
|
+
appointmentItemsHeader: { type: "string", group: "Appearance" }
|
|
47
|
+
},
|
|
48
|
+
aggregations : {
|
|
49
|
+
/**
|
|
50
|
+
* The legend items which show color and type information about the calendar appointments.
|
|
51
|
+
*/
|
|
52
|
+
appointmentItems: {type: "sap.ui.unified.CalendarLegendItem", multiple: true, singularName: "appointmentItem"}
|
|
53
|
+
},
|
|
54
|
+
designtime: "sap/m/designtime/PlanningCalendarLegend.designtime"
|
|
47
55
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
*/
|
|
52
|
-
appointmentItems: {type: "sap.ui.unified.CalendarLegendItem", multiple: true, singularName: "appointmentItem"}
|
|
53
|
-
},
|
|
54
|
-
designtime: "sap/m/designtime/PlanningCalendarLegend.designtime"
|
|
55
|
-
}});
|
|
56
|
+
|
|
57
|
+
renderer: PlanningCalendarLegendRenderer
|
|
58
|
+
});
|
|
56
59
|
|
|
57
60
|
/** Default value for column width. */
|
|
58
61
|
PlanningCalendarLegend._COLUMN_WIDTH_DEFAULT = "auto";
|
|
@@ -35,13 +35,12 @@ sap.ui.define([
|
|
|
35
35
|
* The <code>sap.m.PlanningCalendarRow</code> allows you to modify appointments at row level.
|
|
36
36
|
*
|
|
37
37
|
* @extends sap.ui.core.Element
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.107.1
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
42
42
|
* @since 1.34
|
|
43
43
|
* @alias sap.m.PlanningCalendarRow
|
|
44
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
45
44
|
*/
|
|
46
45
|
var PlanningCalendarRow = Element.extend("sap.m.PlanningCalendarRow", /** @lends sap.m.PlanningCalendarRow.prototype */ { metadata : {
|
|
47
46
|
|
|
@@ -25,13 +25,12 @@ 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.107.1
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
32
32
|
* @since 1.34.0
|
|
33
33
|
* @alias sap.m.PlanningCalendarView
|
|
34
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
35
34
|
*/
|
|
36
35
|
var PlanningCalendarView = Element.extend("sap.m.PlanningCalendarView", /** @lends sap.m.PlanningCalendarView.prototype */ { metadata : {
|
|
37
36
|
|
package/src/sap/m/Popover.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
/*!
|
|
3
2
|
* OpenUI5
|
|
4
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
@@ -27,7 +26,8 @@ sap.ui.define([
|
|
|
27
26
|
"sap/ui/dom/getScrollbarSize",
|
|
28
27
|
"sap/ui/events/KeyCodes",
|
|
29
28
|
"sap/base/Log",
|
|
30
|
-
"sap/ui/
|
|
29
|
+
"sap/ui/core/Configuration",
|
|
30
|
+
"sap/ui/dom/jquery/Focusable", // jQuery Plugin "firstFocusableDomRef", "lastFocusableDomRef"
|
|
31
31
|
"sap/ui/dom/jquery/rect", // jQuery Plugin "rect"
|
|
32
32
|
"sap/ui/dom/jquery/control" // jQuery Plugin "control"
|
|
33
33
|
],
|
|
@@ -51,7 +51,8 @@ sap.ui.define([
|
|
|
51
51
|
jQuery,
|
|
52
52
|
getScrollbarSize,
|
|
53
53
|
KeyCodes,
|
|
54
|
-
Log
|
|
54
|
+
Log,
|
|
55
|
+
Configuration
|
|
55
56
|
) {
|
|
56
57
|
"use strict";
|
|
57
58
|
|
|
@@ -120,12 +121,11 @@ sap.ui.define([
|
|
|
120
121
|
* @extends sap.ui.core.Control
|
|
121
122
|
* @implements sap.ui.core.PopupInterface
|
|
122
123
|
* @author SAP SE
|
|
123
|
-
* @version 1.
|
|
124
|
+
* @version 1.107.1
|
|
124
125
|
*
|
|
125
126
|
* @public
|
|
126
127
|
* @alias sap.m.Popover
|
|
127
128
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/popover/ Popover}
|
|
128
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
129
129
|
*/
|
|
130
130
|
var Popover = Control.extend("sap.m.Popover", /** @lends sap.m.Popover.prototype */ {
|
|
131
131
|
metadata: {
|
|
@@ -388,7 +388,9 @@ sap.ui.define([
|
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
designtime: "sap/m/designtime/Popover.designtime"
|
|
391
|
-
}
|
|
391
|
+
},
|
|
392
|
+
|
|
393
|
+
renderer: PopoverRenderer
|
|
392
394
|
});
|
|
393
395
|
|
|
394
396
|
|
|
@@ -805,7 +807,6 @@ sap.ui.define([
|
|
|
805
807
|
* @param {boolean} bSkipInstanceManager Indicates whether popover should be managed by InstanceManager or not
|
|
806
808
|
* @returns {this} Reference to the control instance for chaining
|
|
807
809
|
* @public
|
|
808
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
809
810
|
*/
|
|
810
811
|
Popover.prototype.openBy = function (oControl, bSkipInstanceManager) {
|
|
811
812
|
// If already opened with the needed content then return
|
|
@@ -943,7 +944,6 @@ sap.ui.define([
|
|
|
943
944
|
*
|
|
944
945
|
* @return {this} Reference to the control instance for chaining
|
|
945
946
|
* @public
|
|
946
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
947
947
|
*/
|
|
948
948
|
Popover.prototype.close = function () {
|
|
949
949
|
var eOpenState = this.oPopup.getOpenState(),
|
|
@@ -981,7 +981,6 @@ sap.ui.define([
|
|
|
981
981
|
* @return {boolean} whether the Popover is currently opened
|
|
982
982
|
* @public
|
|
983
983
|
* @since 1.9.1
|
|
984
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
985
984
|
*/
|
|
986
985
|
Popover.prototype.isOpen = function () {
|
|
987
986
|
return this.oPopup && this.oPopup.isOpen();
|
|
@@ -1245,7 +1244,7 @@ sap.ui.define([
|
|
|
1245
1244
|
* @param {jQuery.Event} oEvent The event object
|
|
1246
1245
|
*/
|
|
1247
1246
|
Popover.prototype.onmousedown = function (oEvent) {
|
|
1248
|
-
var bRTL =
|
|
1247
|
+
var bRTL = Configuration.getRTL();
|
|
1249
1248
|
if (!oEvent.target.classList || !oEvent.target.classList.contains("sapMPopoverResizeHandle")) {
|
|
1250
1249
|
return;
|
|
1251
1250
|
}
|
|
@@ -1390,7 +1389,7 @@ sap.ui.define([
|
|
|
1390
1389
|
iFlipOffset = oFlipPlacement === PlacementType.PreferredRightOrFlip ? Math.abs(iParentWidth) : -Math.abs(iParentWidth);
|
|
1391
1390
|
}
|
|
1392
1391
|
|
|
1393
|
-
var bRtl =
|
|
1392
|
+
var bRtl = Configuration.getRTL();
|
|
1394
1393
|
var iOffsetX = iFlipOffset * (bRtl ? -1 : 1) + this.getOffsetX() * (bRtl ? -1 : 1);
|
|
1395
1394
|
return iOffsetX;
|
|
1396
1395
|
};
|
|
@@ -1526,7 +1525,7 @@ sap.ui.define([
|
|
|
1526
1525
|
var iPopoverWidth = this.$().outerWidth();
|
|
1527
1526
|
var bPreferredLeftOrFlip = this.getPlacement() === PlacementType.PreferredLeftOrFlip;
|
|
1528
1527
|
var bPreferredRightOrFlip = this.getPlacement() === PlacementType.PreferredRightOrFlip;
|
|
1529
|
-
var bRtl =
|
|
1528
|
+
var bRtl = Configuration.getRTL();
|
|
1530
1529
|
|
|
1531
1530
|
if (bPreferredPlacementLeft && iLeftSpace > iPopoverWidth + this._arrowOffset) {
|
|
1532
1531
|
this._bHorizontalFlip = false;
|
|
@@ -1624,7 +1623,7 @@ sap.ui.define([
|
|
|
1624
1623
|
var $this = this.$();
|
|
1625
1624
|
var iHeight = $this.outerHeight();
|
|
1626
1625
|
var iWidth = $this.outerWidth();
|
|
1627
|
-
var bRtl =
|
|
1626
|
+
var bRtl = Configuration.getRTL();
|
|
1628
1627
|
|
|
1629
1628
|
var $parent = jQuery(this._getOpenByDomRef());
|
|
1630
1629
|
var bHasParent = $parent[0] !== undefined;
|
|
@@ -1798,7 +1797,7 @@ sap.ui.define([
|
|
|
1798
1797
|
*/
|
|
1799
1798
|
Popover.prototype._recalculateMargins = function (sCalculatedPlacement, oPosParams) {
|
|
1800
1799
|
var fNewCalc;
|
|
1801
|
-
var bRtl =
|
|
1800
|
+
var bRtl = Configuration.getRTL();
|
|
1802
1801
|
|
|
1803
1802
|
//make the popover never cover the control or dom node that opens the popover
|
|
1804
1803
|
switch (sCalculatedPlacement) {
|
|
@@ -1851,7 +1850,7 @@ sap.ui.define([
|
|
|
1851
1850
|
bOverRight = iPosToRightBorder < (oPosParams._fPopoverMarginRight + fScrollbarSize),
|
|
1852
1851
|
bOverTop = oPosParams._fPopoverOffset.top < oPosParams._fPopoverMarginTop,
|
|
1853
1852
|
bOverBottom = iPosToBottomBorder < oPosParams._fPopoverMarginBottom,
|
|
1854
|
-
bRtl =
|
|
1853
|
+
bRtl = Configuration.getRTL();
|
|
1855
1854
|
|
|
1856
1855
|
if (bExceedHorizontal) {
|
|
1857
1856
|
iLeft = oPosParams._fPopoverMarginLeft;
|
|
@@ -1984,7 +1983,7 @@ sap.ui.define([
|
|
|
1984
1983
|
*/
|
|
1985
1984
|
Popover.prototype._getArrowOffsetCss = function (sCalculatedPlacement, oPosParams) {
|
|
1986
1985
|
var iPosArrow,
|
|
1987
|
-
bRtl =
|
|
1986
|
+
bRtl = Configuration.getRTL();
|
|
1988
1987
|
|
|
1989
1988
|
// Recalculate Popover width and height because they can be changed after position adjustments
|
|
1990
1989
|
oPosParams._fPopoverWidth = oPosParams._$popover.outerWidth();
|
|
@@ -7,9 +7,10 @@ sap.ui.define([
|
|
|
7
7
|
'sap/ui/Device',
|
|
8
8
|
'sap/m/library',
|
|
9
9
|
"sap/ui/dom/getScrollbarSize",
|
|
10
|
-
"sap/ui/core/IconPool"
|
|
10
|
+
"sap/ui/core/IconPool",
|
|
11
|
+
"sap/ui/core/Configuration"
|
|
11
12
|
],
|
|
12
|
-
function(Device, library, getScrollbarSize, IconPool) {
|
|
13
|
+
function(Device, library, getScrollbarSize, IconPool, Configuration) {
|
|
13
14
|
"use strict";
|
|
14
15
|
|
|
15
16
|
// shortcut for sap.m.PlacementType
|
|
@@ -148,7 +149,7 @@ sap.ui.define([
|
|
|
148
149
|
|
|
149
150
|
// Note: If this property should become public in the future, the property will have to be set on a level
|
|
150
151
|
// that will encapsulate the header and the footer of the popover as well.
|
|
151
|
-
if (
|
|
152
|
+
if (Configuration.getAccessibility()
|
|
152
153
|
&& oControl.getProperty("ariaRoleApplication")) {
|
|
153
154
|
oRm.attr("role", "application");
|
|
154
155
|
}
|
|
@@ -160,7 +161,7 @@ sap.ui.define([
|
|
|
160
161
|
.class("sapMPopoverScroll");
|
|
161
162
|
|
|
162
163
|
if (!oControl.getHorizontalScrolling()) {
|
|
163
|
-
oRm.style(
|
|
164
|
+
oRm.style(Configuration.getRTL() ? "margin-left" : "margin-right", getScrollbarSize().width + "px");
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
oRm.openEnd();
|