@openui5/sap.m 1.120.6 → 1.121.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 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +4 -4
- package/src/sap/m/.library +18 -2
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +11 -11
- package/src/sap/m/ActionSheet.js +12 -8
- package/src/sap/m/ActionSheetRenderer.js +4 -4
- package/src/sap/m/ActionTile.js +7 -1
- package/src/sap/m/ActionTileContent.js +86 -7
- package/src/sap/m/ActionTileContentRenderer.js +4 -41
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +6 -6
- package/src/sap/m/Avatar.js +32 -14
- package/src/sap/m/Bar.js +5 -5
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +12 -4
- package/src/sap/m/BreadcrumbsRenderer.js +1 -1
- package/src/sap/m/BusyDialog.js +19 -33
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +8 -8
- package/src/sap/m/ButtonRenderer.js +0 -4
- package/src/sap/m/Carousel.js +53 -25
- package/src/sap/m/CarouselLayout.js +14 -3
- package/src/sap/m/CarouselRenderer.js +4 -4
- package/src/sap/m/CheckBox.js +46 -5
- package/src/sap/m/CheckBoxRenderer.js +10 -3
- package/src/sap/m/ColorPalette.js +4 -2
- package/src/sap/m/ColorPalettePopover.js +5 -3
- package/src/sap/m/ColorPaletteRenderer.js +3 -3
- package/src/sap/m/Column.js +3 -4
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +59 -20
- package/src/sap/m/ColumnListItemRenderer.js +8 -9
- 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 +6 -6
- package/src/sap/m/ComboBox.js +16 -9
- package/src/sap/m/ComboBoxBase.js +10 -9
- package/src/sap/m/ComboBoxTextField.js +6 -4
- package/src/sap/m/ContentConfig.js +142 -0
- 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 +19 -18
- package/src/sap/m/DatePickerRenderer.js +3 -3
- package/src/sap/m/DateRangeSelection.js +16 -13
- package/src/sap/m/DateRangeSelectionRenderer.js +3 -3
- package/src/sap/m/DateTimeField.js +17 -9
- package/src/sap/m/DateTimeInput.js +6 -4
- package/src/sap/m/DateTimePicker.js +39 -30
- package/src/sap/m/DateTimePickerRenderer.js +4 -2
- package/src/sap/m/Dialog.js +21 -9
- package/src/sap/m/DialogRenderer.js +10 -3
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +5 -5
- package/src/sap/m/DynamicDate.js +5 -3
- package/src/sap/m/DynamicDateFormat.js +7 -6
- package/src/sap/m/DynamicDateOption.js +10 -5
- package/src/sap/m/DynamicDateRange.js +56 -43
- package/src/sap/m/DynamicDateUtil.js +3 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +5 -9
- package/src/sap/m/ExpandableTextRenderer.js +3 -3
- package/src/sap/m/FacetFilter.js +17 -8
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +7 -7
- package/src/sap/m/FacetFilterRenderer.js +4 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +4 -4
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +9 -9
- package/src/sap/m/FlexBox.js +2 -2
- package/src/sap/m/FlexItemData.js +17 -17
- package/src/sap/m/FormattedText.js +7 -6
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +5 -5
- package/src/sap/m/GenericTile.js +102 -14
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +3 -3
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +3 -3
- package/src/sap/m/GrowingEnablement.js +7 -6
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +5 -5
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +4 -4
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -5
- package/src/sap/m/IconTabBarSelectList.js +2 -2
- package/src/sap/m/IconTabFilter.js +27 -15
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +4 -4
- package/src/sap/m/IconTabHeader.js +61 -28
- package/src/sap/m/IconTabHeaderRenderer.js +5 -5
- package/src/sap/m/IconTabSeparator.js +7 -7
- package/src/sap/m/IllustratedMessage.js +8 -6
- package/src/sap/m/IllustratedMessageType.js +12 -0
- package/src/sap/m/Illustration.js +4 -4
- package/src/sap/m/IllustrationPool.js +3 -3
- package/src/sap/m/Image.js +6 -3
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +65 -36
- package/src/sap/m/InputBase.js +33 -8
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +5 -6
- package/src/sap/m/Label.js +6 -6
- package/src/sap/m/LightBox.js +4 -4
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +30 -6
- package/src/sap/m/LinkRenderer.js +4 -4
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +43 -24
- package/src/sap/m/ListItemBase.js +7 -6
- package/src/sap/m/ListItemBaseRenderer.js +3 -0
- package/src/sap/m/MaskEnabler.js +8 -6
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +2 -2
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +19 -17
- package/src/sap/m/MenuButton.js +8 -6
- package/src/sap/m/MenuItem.js +9 -9
- package/src/sap/m/MenuListItem.js +5 -4
- package/src/sap/m/MessageBox.js +5 -3
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +4 -2
- package/src/sap/m/MessagePopover.js +9 -6
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +9 -7
- package/src/sap/m/MessageStripRenderer.js +5 -2
- package/src/sap/m/MessageStripUtilities.js +6 -4
- package/src/sap/m/MessageToast.js +8 -7
- package/src/sap/m/MessageView.js +29 -6
- package/src/sap/m/MessageViewRenderer.js +2 -2
- package/src/sap/m/MultiComboBox.js +36 -17
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +4 -4
- package/src/sap/m/MultiInput.js +66 -19
- package/src/sap/m/MultiInputRenderer.js +3 -3
- package/src/sap/m/NavContainer.js +14 -9
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +4 -4
- package/src/sap/m/NotificationListGroup.js +4 -4
- package/src/sap/m/NotificationListItem.js +4 -4
- package/src/sap/m/NumericContent.js +6 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +6 -6
- package/src/sap/m/ObjectAttribute.js +7 -6
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +15 -11
- package/src/sap/m/ObjectHeaderRenderer.js +4 -4
- package/src/sap/m/ObjectIdentifier.js +37 -8
- package/src/sap/m/ObjectIdentifierRenderer.js +3 -3
- package/src/sap/m/ObjectListItem.js +4 -4
- package/src/sap/m/ObjectMarker.js +6 -4
- package/src/sap/m/ObjectNumber.js +4 -3
- package/src/sap/m/ObjectNumberRenderer.js +6 -6
- package/src/sap/m/ObjectStatus.js +28 -22
- package/src/sap/m/ObjectStatusRenderer.js +26 -20
- package/src/sap/m/OverflowToolbar.js +2 -2
- package/src/sap/m/OverflowToolbarAssociativePopover.js +3 -3
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +2 -2
- 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 +33 -11
- package/src/sap/m/P13nConditionPanel.js +6 -4
- package/src/sap/m/P13nDialog.js +27 -13
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +18 -12
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +71 -49
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +5 -4
- 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 +28 -7
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +6 -5
- package/src/sap/m/PDFViewer.js +3 -6
- package/src/sap/m/Page.js +4 -8
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +5 -4
- package/src/sap/m/Panel.js +10 -5
- package/src/sap/m/PlanningCalendar.js +160 -109
- package/src/sap/m/PlanningCalendarHeader.js +9 -7
- package/src/sap/m/PlanningCalendarLegend.js +5 -5
- package/src/sap/m/PlanningCalendarRow.js +26 -15
- package/src/sap/m/PlanningCalendarView.js +1 -4
- package/src/sap/m/Popover.js +19 -21
- package/src/sap/m/PopoverRenderer.js +4 -4
- package/src/sap/m/ProgressIndicator.js +15 -13
- package/src/sap/m/ProgressIndicatorRenderer.js +3 -4
- package/src/sap/m/PullToRefresh.js +4 -3
- 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/QuickViewCardRenderer.js +3 -3
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +29 -17
- package/src/sap/m/RadioButton.js +4 -4
- package/src/sap/m/RadioButtonGroup.js +38 -5
- package/src/sap/m/RadioButtonGroupRenderer.js +4 -4
- package/src/sap/m/RadioButtonRenderer.js +3 -3
- package/src/sap/m/RangeSlider.js +9 -7
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +7 -6
- package/src/sap/m/RatingIndicatorRenderer.js +4 -4
- package/src/sap/m/ResponsivePopover.js +1 -3
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +3 -3
- package/src/sap/m/ScrollContainer.js +6 -6
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +7 -5
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +30 -16
- package/src/sap/m/SelectDialog.js +5 -3
- package/src/sap/m/SelectDialogBase.js +6 -6
- package/src/sap/m/SelectList.js +6 -6
- package/src/sap/m/SelectionDetails.js +7 -3
- 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 +4 -4
- package/src/sap/m/ShellRenderer.js +3 -2
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +41 -9
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +122 -54
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +22 -20
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +315 -61
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +88 -35
- package/src/sap/m/SinglePlanningCalendarMonthView.js +3 -4
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -5
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +6 -5
- package/src/sap/m/SlideTile.js +6 -6
- package/src/sap/m/SlideTileRenderer.js +1 -3
- package/src/sap/m/Slider.js +38 -11
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +4 -4
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +10 -8
- package/src/sap/m/SliderTooltipRenderer.js +3 -3
- package/src/sap/m/SplitApp.js +2 -1
- package/src/sap/m/SplitButton.js +5 -3
- package/src/sap/m/SplitContainer.js +20 -11
- package/src/sap/m/StandardDynamicDateOption.js +16 -12
- package/src/sap/m/StandardListItem.js +4 -3
- package/src/sap/m/StandardListItemRenderer.js +3 -3
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +6 -4
- package/src/sap/m/Suggest.js +5 -5
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsList.js +9 -7
- package/src/sap/m/SuggestionsListRenderer.js +2 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +13 -11
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +9 -6
- package/src/sap/m/TabContainerItem.js +5 -8
- package/src/sap/m/TabStrip.js +23 -12
- package/src/sap/m/TabStripItem.js +7 -10
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +4 -5
- package/src/sap/m/TablePersoController.js +10 -8
- package/src/sap/m/TablePersoDialog.js +19 -16
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +4 -4
- package/src/sap/m/TableSelectDialog.js +5 -3
- package/src/sap/m/Text.js +36 -39
- package/src/sap/m/TextArea.js +5 -3
- package/src/sap/m/TextRenderer.js +2 -7
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileAttribute.js +64 -0
- package/src/sap/m/TileAttributeRenderer.js +70 -0
- package/src/sap/m/TileContainer.js +10 -8
- package/src/sap/m/TileContent.js +8 -4
- package/src/sap/m/TileRenderer.js +3 -3
- package/src/sap/m/TimePicker.js +24 -19
- package/src/sap/m/TimePickerClock.js +4 -3
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +12 -10
- package/src/sap/m/TimePickerSlider.js +9 -7
- package/src/sap/m/TimePickerSliders.js +17 -13
- package/src/sap/m/TimePickerSlidersRenderer.js +3 -3
- package/src/sap/m/Title.js +5 -4
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToggleButton.js +4 -3
- package/src/sap/m/Token.js +6 -6
- package/src/sap/m/Tokenizer.js +16 -10
- package/src/sap/m/Toolbar.js +4 -4
- 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 +4 -2
- package/src/sap/m/TreeItemBase.js +4 -3
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +28 -24
- 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 +5 -5
- package/src/sap/m/VariantItem.js +8 -3
- package/src/sap/m/VariantManagement.js +112 -33
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +34 -21
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +9 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +4 -3
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/WheelSliderContainerRenderer.js +3 -3
- package/src/sap/m/Wizard.js +17 -15
- package/src/sap/m/WizardProgressNavigator.js +18 -2
- package/src/sap/m/WizardProgressNavigatorRenderer.js +9 -5
- package/src/sap/m/WizardRenderer.js +6 -4
- package/src/sap/m/WizardStep.js +9 -11
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -7
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +4 -4
- package/src/sap/m/changeHandler/MoveTableColumns.js +3 -2
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/delegate/ValueStateMessage.js +3 -3
- package/src/sap/m/designtime/IconTabBar.designtime.js +3 -2
- package/src/sap/m/designtime/Link.designtime.js +4 -4
- package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +0 -4
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +91 -91
- package/src/sap/m/flexibility/EngineFlex.js +14 -8
- package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +4 -4
- package/src/sap/m/library.js +181 -59
- package/src/sap/m/messagebundle.properties +113 -90
- package/src/sap/m/messagebundle_ar.properties +16 -10
- package/src/sap/m/messagebundle_bg.properties +19 -13
- package/src/sap/m/messagebundle_ca.properties +16 -10
- package/src/sap/m/messagebundle_cnr.properties +21 -15
- package/src/sap/m/messagebundle_cs.properties +16 -10
- package/src/sap/m/messagebundle_cy.properties +19 -13
- package/src/sap/m/messagebundle_da.properties +14 -8
- package/src/sap/m/messagebundle_de.properties +12 -6
- package/src/sap/m/messagebundle_el.properties +27 -21
- package/src/sap/m/messagebundle_en.properties +1164 -22
- package/src/sap/m/messagebundle_en_GB.properties +23 -17
- package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -22
- package/src/sap/m/messagebundle_es.properties +19 -13
- package/src/sap/m/messagebundle_es_MX.properties +18 -12
- package/src/sap/m/messagebundle_et.properties +14 -8
- package/src/sap/m/messagebundle_fi.properties +21 -15
- package/src/sap/m/messagebundle_fr.properties +15 -9
- package/src/sap/m/messagebundle_fr_CA.properties +11 -5
- package/src/sap/m/messagebundle_hi.properties +24 -18
- package/src/sap/m/messagebundle_hr.properties +15 -9
- package/src/sap/m/messagebundle_hu.properties +20 -14
- package/src/sap/m/messagebundle_id.properties +15 -9
- package/src/sap/m/messagebundle_it.properties +17 -11
- package/src/sap/m/messagebundle_iw.properties +13 -7
- package/src/sap/m/messagebundle_ja.properties +23 -17
- package/src/sap/m/messagebundle_kk.properties +14 -8
- package/src/sap/m/messagebundle_ko.properties +18 -12
- package/src/sap/m/messagebundle_lt.properties +17 -11
- package/src/sap/m/messagebundle_lv.properties +26 -20
- package/src/sap/m/messagebundle_mk.properties +20 -14
- package/src/sap/m/messagebundle_ms.properties +13 -7
- package/src/sap/m/messagebundle_nl.properties +16 -10
- package/src/sap/m/messagebundle_no.properties +15 -9
- package/src/sap/m/messagebundle_pl.properties +16 -10
- package/src/sap/m/messagebundle_pt.properties +16 -10
- package/src/sap/m/messagebundle_pt_PT.properties +13 -7
- package/src/sap/m/messagebundle_ro.properties +13 -7
- package/src/sap/m/messagebundle_ru.properties +15 -9
- package/src/sap/m/messagebundle_sh.properties +21 -15
- package/src/sap/m/messagebundle_sk.properties +13 -7
- package/src/sap/m/messagebundle_sl.properties +14 -8
- package/src/sap/m/messagebundle_sr.properties +21 -15
- package/src/sap/m/messagebundle_sv.properties +15 -9
- package/src/sap/m/messagebundle_th.properties +12 -6
- package/src/sap/m/messagebundle_tr.properties +15 -9
- package/src/sap/m/messagebundle_uk.properties +15 -9
- package/src/sap/m/messagebundle_vi.properties +16 -10
- package/src/sap/m/messagebundle_zh_CN.properties +12 -6
- package/src/sap/m/messagebundle_zh_TW.properties +12 -6
- package/src/sap/m/p13n/.eslintrc.json +19 -0
- package/src/sap/m/p13n/AbstractContainer.js +43 -29
- package/src/sap/m/p13n/AbstractContainerItem.js +8 -8
- package/src/sap/m/p13n/BasePanel.js +123 -76
- package/src/sap/m/p13n/Container.js +80 -50
- package/src/sap/m/p13n/Engine.js +331 -294
- package/src/sap/m/p13n/FilterController.js +335 -0
- package/src/sap/m/p13n/FilterPanel.js +291 -0
- package/src/sap/m/p13n/FlexUtil.js +23 -21
- package/src/sap/m/p13n/GroupController.js +97 -85
- package/src/sap/m/p13n/GroupPanel.js +30 -25
- package/src/sap/m/p13n/MetadataHelper.js +65 -21
- package/src/sap/m/p13n/PersistenceProvider.js +11 -9
- package/src/sap/m/p13n/Popup.js +63 -45
- package/src/sap/m/p13n/QueryPanel.js +117 -93
- package/src/sap/m/p13n/SelectionController.js +302 -237
- package/src/sap/m/p13n/SelectionPanel.js +117 -83
- package/src/sap/m/p13n/SortController.js +100 -89
- package/src/sap/m/p13n/SortPanel.js +46 -31
- package/src/sap/m/p13n/enums/PersistenceMode.js +57 -0
- package/src/sap/m/p13n/{enum → enums}/ProcessingStrategy.js +10 -8
- package/src/sap/m/p13n/handler/xConfigHandler.js +175 -161
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +151 -133
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +28 -28
- package/src/sap/m/p13n/modification/ModificationHandler.js +15 -15
- package/src/sap/m/p13n/modules/AdaptationProvider.js +7 -7
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +20 -18
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +7 -7
- package/src/sap/m/p13n/modules/UIManager.js +119 -117
- package/src/sap/m/p13n/modules/xConfigAPI.js +74 -68
- package/src/sap/m/plugins/CellSelector.js +142 -26
- package/src/sap/m/plugins/ColumnResizer.js +12 -17
- package/src/sap/m/plugins/ContextMenuSetting.js +155 -0
- package/src/sap/m/plugins/CopyProvider.js +170 -110
- package/src/sap/m/plugins/DataStateIndicator.js +9 -6
- package/src/sap/m/plugins/PasteProvider.js +18 -10
- package/src/sap/m/plugins/PluginBase.js +39 -15
- 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 +3 -3
- 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 +3 -3
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +3 -3
- 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 -5
- 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 +4 -2
- 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 +6 -12
- 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 +2 -3
- package/src/sap/m/table/Util.js +67 -40
- 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 +5 -5
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +14 -21
- 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 +7 -5
- 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 +6 -4
- package/src/sap/m/table/columnmenu/QuickTotal.js +7 -5
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionSheet.less +10 -3
- package/src/sap/m/themes/base/ActionTile.less +7 -4
- package/src/sap/m/themes/base/Carousel.less +1 -1
- package/src/sap/m/themes/base/ContextMenuSetting.less +3 -0
- package/src/sap/m/themes/base/IconTabBar.less +2 -2
- package/src/sap/m/themes/base/Label.less +2 -1
- package/src/sap/m/themes/base/Link.less +1 -1
- package/src/sap/m/themes/base/ListItemBase.less +1 -1
- package/src/sap/m/themes/base/MenuButton.less +2 -2
- package/src/sap/m/themes/base/MessageView.less +6 -0
- package/src/sap/m/themes/base/MultiComboBox.less +7 -4
- package/src/sap/m/themes/base/NumericContent.less +2 -2
- package/src/sap/m/themes/base/ObjectListItem.less +1 -1
- package/src/sap/m/themes/base/ObjectNumber.less +4 -4
- package/src/sap/m/themes/base/ObjectStatus.less +263 -160
- package/src/sap/m/themes/base/Panel.less +18 -4
- package/src/sap/m/themes/base/Popover.less +5 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +21 -0
- package/src/sap/m/themes/base/StandardListItem.less +1 -1
- package/src/sap/m/themes/base/SuggestionItem.less +6 -0
- package/src/sap/m/themes/base/Table.less +0 -5
- package/src/sap/m/themes/base/TablePersoDialog.less +4 -2
- package/src/sap/m/themes/base/Text.less +2 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -2
- package/src/sap/m/themes/base/UploadSet.less +55 -0
- package/src/sap/m/themes/base/VariantManagement.less +2 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SignOut.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NewMail.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SignOut.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +59 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SignOut.svg +113 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SignOut.svg +23 -0
- package/src/sap/m/themes/base/library.source.less +2 -1
- 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 +5 -5
- package/src/sap/m/upload/FilterPanel.js +5 -3
- package/src/sap/m/upload/UploadSet.js +122 -61
- package/src/sap/m/upload/UploadSetItem.js +31 -7
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +7 -6
- package/src/sap/m/upload/UploadSetwithTableItem.js +5 -5
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
- package/src/sap/m/upload/p13n/PersManager.js +4 -2
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +5 -4
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +5 -2
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +5 -4
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +5 -4
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +3 -3
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/m/CustomAttribute.js +0 -53
- package/src/sap/m/p13n/enum/PersistenceMode.js +0 -55
|
@@ -6,20 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
//Provides control sap.ui.unified.PlanningCalendarRow.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
'sap/ui/core/Core',
|
|
10
9
|
'sap/ui/core/Element',
|
|
11
10
|
'sap/m/CustomListItem',
|
|
11
|
+
"sap/ui/core/Lib",
|
|
12
12
|
'sap/ui/unified/DateTypeRange',
|
|
13
13
|
'sap/ui/unified/library'
|
|
14
14
|
], function (
|
|
15
|
-
Core,
|
|
16
15
|
Element,
|
|
17
16
|
CustomListItem,
|
|
17
|
+
Library,
|
|
18
18
|
DateTypeRange,
|
|
19
19
|
unifiedLibrary
|
|
20
20
|
) {
|
|
21
21
|
"use strict";
|
|
22
22
|
|
|
23
|
+
// shortcut for sap.ui.unified.CalendarDayType
|
|
24
|
+
var CalendarDayType = unifiedLibrary.CalendarDayType;
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* Constructor for a new <code>PlanningCalendarRow</code>.
|
|
@@ -35,7 +37,7 @@ sap.ui.define([
|
|
|
35
37
|
* The <code>sap.m.PlanningCalendarRow</code> allows you to modify appointments at row level.
|
|
36
38
|
*
|
|
37
39
|
* @extends sap.ui.core.Element
|
|
38
|
-
* @version 1.
|
|
40
|
+
* @version 1.121.0
|
|
39
41
|
*
|
|
40
42
|
* @constructor
|
|
41
43
|
* @public
|
|
@@ -180,8 +182,12 @@ sap.ui.define([
|
|
|
180
182
|
/**
|
|
181
183
|
* Defines the text that is displayed when no {@link sap.ui.unified.CalendarAppointment CalendarAppointments} are assigned.
|
|
182
184
|
*/
|
|
183
|
-
noAppointmentsText : {type : "string", group : "Misc", defaultValue : null}
|
|
185
|
+
noAppointmentsText : {type : "string", group : "Misc", defaultValue : null},
|
|
184
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Defines the text that will be announced by the screen reader when a user navigates to the row header.
|
|
189
|
+
*/
|
|
190
|
+
rowHeaderDescription: {type : "string", group : "Misc", defaultValue : null}
|
|
185
191
|
},
|
|
186
192
|
aggregations : {
|
|
187
193
|
|
|
@@ -204,11 +210,13 @@ sap.ui.define([
|
|
|
204
210
|
intervalHeaders : {type : "sap.ui.unified.CalendarAppointment", multiple : true, singularName : "intervalHeader"},
|
|
205
211
|
|
|
206
212
|
/**
|
|
207
|
-
* Holds the special dates in the context of a row. A single
|
|
213
|
+
* Holds the special dates in the context of a row. A single <code>sap.ui.unified.DateTypeRange</code> instance can be set.
|
|
214
|
+
*
|
|
215
|
+
* <b>Note</b> Only <code>sap.ui.unified.DateTypeRange</code> isntances configured with <code>sap.ui.unified.CalendarDayType.NonWorking</code>
|
|
216
|
+
* or <code>sap.ui.unified.CalendarDayType.Working</code> type will be visualized in the row.
|
|
217
|
+
* In all other cases the <code>sap.ui.unified.DateTypeRange</code> instances will be ignored and will not be displayed in the control.
|
|
218
|
+
* Assigning more than one of these values in combination for the same date will lead to unpredictable results.
|
|
208
219
|
*
|
|
209
|
-
* <b>Note</b> Only date or date ranges of type <code>sap.ui.unified.CalendarDayType.NonWorking</code> will
|
|
210
|
-
* be visualized in the <code>PlanningCalendarRow</code>. If the aggregation is set as another type,
|
|
211
|
-
* the date or date range will be ignored and will not be displayed in the control.
|
|
212
220
|
* @since 1.56
|
|
213
221
|
*/
|
|
214
222
|
specialDates : {type : "sap.ui.unified.DateTypeRange", multiple : true, singularName : "specialDate"},
|
|
@@ -216,10 +224,10 @@ sap.ui.define([
|
|
|
216
224
|
/**
|
|
217
225
|
* Holds the header content of the row.
|
|
218
226
|
*
|
|
219
|
-
* <b>Note:</b> If the <code>headerContent</code> aggregation is added, then the set icon, description, title
|
|
220
|
-
* and tooltip are ignored
|
|
227
|
+
* <b>Note:</b> <li>If the <code>headerContent</code> aggregation is added, then the set icon, description, title
|
|
228
|
+
* and tooltip are ignored.</li>
|
|
229
|
+
* <li>The application developer has to ensure, that the size of the content conforms with the size of the header.</li>
|
|
221
230
|
* @since 1.67
|
|
222
|
-
* @experimental Since 1.67, providing only limited functionality. Also, the API might be changed in the future.
|
|
223
231
|
*/
|
|
224
232
|
headerContent : {type : "sap.ui.core.Control", multiple : true, singularName : "headerContent",
|
|
225
233
|
forwarding: {
|
|
@@ -364,7 +372,7 @@ sap.ui.define([
|
|
|
364
372
|
PlanningCalendarRow.prototype._getPlanningCalendarCustomRowHeader = function() {
|
|
365
373
|
if (!this.oRowHeader) {
|
|
366
374
|
this.oRowHeader = new CustomListItem(this.getId() + "-CustomHead", {
|
|
367
|
-
accDescription:
|
|
375
|
+
accDescription: Library.getResourceBundleFor("sap.m").getText("PC_CUSTOM_ROW_HEADER_CONTENT_DESC")
|
|
368
376
|
});
|
|
369
377
|
}
|
|
370
378
|
|
|
@@ -374,11 +382,14 @@ sap.ui.define([
|
|
|
374
382
|
PlanningCalendarRow.prototype._getSpecialDates = function(){
|
|
375
383
|
var specialDates = this.getSpecialDates();
|
|
376
384
|
for (var i = 0; i < specialDates.length; i++) {
|
|
377
|
-
var bNeedsSecondTypeAdding = specialDates[i].getSecondaryType() ===
|
|
378
|
-
&& specialDates[i].getType() !==
|
|
385
|
+
var bNeedsSecondTypeAdding = (specialDates[i].getSecondaryType() === CalendarDayType.NonWorking
|
|
386
|
+
&& specialDates[i].getType() !== CalendarDayType.NonWorking)
|
|
387
|
+
|| (specialDates[i].getSecondaryType() === CalendarDayType.Working
|
|
388
|
+
&& specialDates[i].getType() !== CalendarDayType.Working);
|
|
389
|
+
|
|
379
390
|
if (bNeedsSecondTypeAdding) {
|
|
380
391
|
var newSpecialDate = new DateTypeRange();
|
|
381
|
-
newSpecialDate.setType(
|
|
392
|
+
newSpecialDate.setType(specialDates[i].getSecondaryType());
|
|
382
393
|
newSpecialDate.setStartDate(specialDates[i].getStartDate());
|
|
383
394
|
if (specialDates[i].getEndDate()) {
|
|
384
395
|
newSpecialDate.setEndDate(specialDates[i].getEndDate());
|
|
@@ -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.121.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -54,7 +54,6 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
|
54
54
|
/**
|
|
55
55
|
* An integer that defines the period size.
|
|
56
56
|
*
|
|
57
|
-
* @experimental Since 1.93. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
58
57
|
* @since 1.93
|
|
59
58
|
* */
|
|
60
59
|
intervalSize: {type: "int", group: "Appearance", defaultValue: 1},
|
|
@@ -62,7 +61,6 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
|
62
61
|
/**
|
|
63
62
|
* A function that formats the interval.
|
|
64
63
|
*
|
|
65
|
-
* @experimental Since 1.93. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
66
64
|
* @since 1.93
|
|
67
65
|
*
|
|
68
66
|
*/
|
|
@@ -71,7 +69,6 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/library'],
|
|
|
71
69
|
/**
|
|
72
70
|
* Defines if the view will be relative.
|
|
73
71
|
* NOTE: Relative views, can be only used with intervalType - Day and when used they need intervalSize and intervalLabelFormatter defined.
|
|
74
|
-
* @experimental Since 1.93. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
75
72
|
* @since 1.93
|
|
76
73
|
*/
|
|
77
74
|
relative: {type: "boolean", group: "Appearance", defaultValue: false},
|
package/src/sap/m/Popover.js
CHANGED
|
@@ -11,6 +11,7 @@ sap.ui.define([
|
|
|
11
11
|
'./InstanceManager',
|
|
12
12
|
'./library',
|
|
13
13
|
'./Title',
|
|
14
|
+
"sap/base/i18n/Localization",
|
|
14
15
|
'sap/ui/core/Control',
|
|
15
16
|
'sap/ui/core/Popup',
|
|
16
17
|
'sap/ui/core/delegate/ScrollEnablement',
|
|
@@ -27,7 +28,6 @@ sap.ui.define([
|
|
|
27
28
|
"sap/ui/dom/getScrollbarSize",
|
|
28
29
|
"sap/ui/events/KeyCodes",
|
|
29
30
|
"sap/base/Log",
|
|
30
|
-
"sap/ui/core/Configuration",
|
|
31
31
|
"sap/ui/dom/jquery/Focusable", // jQuery Plugin "firstFocusableDomRef", "lastFocusableDomRef"
|
|
32
32
|
"sap/ui/dom/jquery/rect" // jQuery Plugin "rect"
|
|
33
33
|
],
|
|
@@ -37,6 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
InstanceManager,
|
|
38
38
|
library,
|
|
39
39
|
Title,
|
|
40
|
+
Localization,
|
|
40
41
|
Control,
|
|
41
42
|
Popup,
|
|
42
43
|
ScrollEnablement,
|
|
@@ -52,8 +53,7 @@ sap.ui.define([
|
|
|
52
53
|
jQuery,
|
|
53
54
|
getScrollbarSize,
|
|
54
55
|
KeyCodes,
|
|
55
|
-
Log
|
|
56
|
-
Configuration
|
|
56
|
+
Log
|
|
57
57
|
) {
|
|
58
58
|
"use strict";
|
|
59
59
|
|
|
@@ -122,7 +122,7 @@ sap.ui.define([
|
|
|
122
122
|
* @extends sap.ui.core.Control
|
|
123
123
|
* @implements sap.ui.core.PopupInterface
|
|
124
124
|
* @author SAP SE
|
|
125
|
-
* @version 1.
|
|
125
|
+
* @version 1.121.0
|
|
126
126
|
*
|
|
127
127
|
* @public
|
|
128
128
|
* @alias sap.m.Popover
|
|
@@ -226,10 +226,8 @@ sap.ui.define([
|
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Whether resize option is enabled.
|
|
229
|
-
*
|
|
230
|
-
* @experimental since 1.36.4 Do not use directly on Popover while in experimental mode!
|
|
229
|
+
* NOTE: This property is effective only on Desktop
|
|
231
230
|
* @since 1.36.4
|
|
232
|
-
* @private
|
|
233
231
|
*/
|
|
234
232
|
resizable: {type: "boolean", group: "Dimension", defaultValue: false},
|
|
235
233
|
|
|
@@ -496,7 +494,7 @@ sap.ui.define([
|
|
|
496
494
|
},
|
|
497
495
|
onAfterRendering: function () {
|
|
498
496
|
if (this._sFocusControlId && !containsOrEquals(this.getDomRef(), document.activeElement)) {
|
|
499
|
-
Element.
|
|
497
|
+
Element.getElementById(this._sFocusControlId).focus();
|
|
500
498
|
}
|
|
501
499
|
}
|
|
502
500
|
};
|
|
@@ -960,7 +958,7 @@ sap.ui.define([
|
|
|
960
958
|
if (this._oPreviousFocus) {
|
|
961
959
|
oActiveElement = document.activeElement || {};
|
|
962
960
|
// if the current focused control/element is the same as the focused control/element before popover is open, no need to restore focus.
|
|
963
|
-
bSameFocusElement = (this._oPreviousFocus.sFocusId ===
|
|
961
|
+
bSameFocusElement = (this._oPreviousFocus.sFocusId === Element.getActiveElement()?.getId()) ||
|
|
964
962
|
(this._oPreviousFocus.sFocusId === oActiveElement.id);
|
|
965
963
|
|
|
966
964
|
// restore previous focus, if the current control isn't the same control as
|
|
@@ -1133,7 +1131,7 @@ sap.ui.define([
|
|
|
1133
1131
|
|
|
1134
1132
|
// Set focus to the first visible focusable element
|
|
1135
1133
|
var sFocusId = this._getInitialFocusId(),
|
|
1136
|
-
oControl = Element.
|
|
1134
|
+
oControl = Element.getElementById(sFocusId),
|
|
1137
1135
|
oDomById = (sFocusId ? window.document.getElementById(sFocusId) : null);
|
|
1138
1136
|
if (oControl && oControl.getFocusDomRef()){
|
|
1139
1137
|
oControl.getFocusDomRef().focus();
|
|
@@ -1243,7 +1241,7 @@ sap.ui.define([
|
|
|
1243
1241
|
* @param {jQuery.Event} oEvent The event object
|
|
1244
1242
|
*/
|
|
1245
1243
|
Popover.prototype.onmousedown = function (oEvent) {
|
|
1246
|
-
var bRTL =
|
|
1244
|
+
var bRTL = Localization.getRTL();
|
|
1247
1245
|
if (!oEvent.target.classList || !oEvent.target.classList.contains("sapMPopoverResizeHandle")) {
|
|
1248
1246
|
return;
|
|
1249
1247
|
}
|
|
@@ -1388,7 +1386,7 @@ sap.ui.define([
|
|
|
1388
1386
|
iFlipOffset = oFlipPlacement === PlacementType.PreferredRightOrFlip ? Math.abs(iParentWidth) : -Math.abs(iParentWidth);
|
|
1389
1387
|
}
|
|
1390
1388
|
|
|
1391
|
-
var bRtl =
|
|
1389
|
+
var bRtl = Localization.getRTL();
|
|
1392
1390
|
var iOffsetX = iFlipOffset * (bRtl ? -1 : 1) + this.getOffsetX() * (bRtl ? -1 : 1);
|
|
1393
1391
|
return iOffsetX;
|
|
1394
1392
|
};
|
|
@@ -1523,7 +1521,7 @@ sap.ui.define([
|
|
|
1523
1521
|
var iPopoverWidth = this.$().outerWidth();
|
|
1524
1522
|
var bPreferredLeftOrFlip = this.getPlacement() === PlacementType.PreferredLeftOrFlip;
|
|
1525
1523
|
var bPreferredRightOrFlip = this.getPlacement() === PlacementType.PreferredRightOrFlip;
|
|
1526
|
-
var bRtl =
|
|
1524
|
+
var bRtl = Localization.getRTL();
|
|
1527
1525
|
|
|
1528
1526
|
if (bPreferredPlacementLeft && iLeftSpace > iPopoverWidth + this._arrowOffset) {
|
|
1529
1527
|
this._bHorizontalFlip = false;
|
|
@@ -1619,7 +1617,7 @@ sap.ui.define([
|
|
|
1619
1617
|
var $this = this.$();
|
|
1620
1618
|
var iHeight = $this.outerHeight();
|
|
1621
1619
|
var iWidth = $this.outerWidth();
|
|
1622
|
-
var bRtl =
|
|
1620
|
+
var bRtl = Localization.getRTL();
|
|
1623
1621
|
|
|
1624
1622
|
var $parent = jQuery(this._getOpenByDomRef());
|
|
1625
1623
|
var bHasParent = $parent[0] !== undefined;
|
|
@@ -1793,7 +1791,7 @@ sap.ui.define([
|
|
|
1793
1791
|
*/
|
|
1794
1792
|
Popover.prototype._recalculateMargins = function (sCalculatedPlacement, oPosParams) {
|
|
1795
1793
|
var fNewCalc;
|
|
1796
|
-
var bRtl =
|
|
1794
|
+
var bRtl = Localization.getRTL();
|
|
1797
1795
|
|
|
1798
1796
|
//make the popover never cover the control or dom node that opens the popover
|
|
1799
1797
|
switch (sCalculatedPlacement) {
|
|
@@ -1846,7 +1844,7 @@ sap.ui.define([
|
|
|
1846
1844
|
bOverRight = iPosToRightBorder < (oPosParams._fPopoverMarginRight + fScrollbarSize),
|
|
1847
1845
|
bOverTop = oPosParams._fPopoverOffset.top < oPosParams._fPopoverMarginTop,
|
|
1848
1846
|
bOverBottom = iPosToBottomBorder < oPosParams._fPopoverMarginBottom,
|
|
1849
|
-
bRtl =
|
|
1847
|
+
bRtl = Localization.getRTL();
|
|
1850
1848
|
|
|
1851
1849
|
if (bExceedHorizontal) {
|
|
1852
1850
|
iLeft = oPosParams._fPopoverMarginLeft;
|
|
@@ -1975,7 +1973,7 @@ sap.ui.define([
|
|
|
1975
1973
|
*/
|
|
1976
1974
|
Popover.prototype._getArrowOffsetCss = function (sCalculatedPlacement, oPosParams) {
|
|
1977
1975
|
var iPosArrow,
|
|
1978
|
-
bRtl =
|
|
1976
|
+
bRtl = Localization.getRTL();
|
|
1979
1977
|
|
|
1980
1978
|
// Recalculate Popover width and height because they can be changed after position adjustments
|
|
1981
1979
|
oPosParams._fPopoverWidth = oPosParams._$popover.outerWidth();
|
|
@@ -2330,7 +2328,7 @@ sap.ui.define([
|
|
|
2330
2328
|
if (this.isOpen()) {
|
|
2331
2329
|
//restore the focus after rendering when popover is already open
|
|
2332
2330
|
var sFocusId = this._getInitialFocusId(),
|
|
2333
|
-
oControl = Element.
|
|
2331
|
+
oControl = Element.getElementById(sFocusId),
|
|
2334
2332
|
oDomById = (sFocusId ? window.document.getElementById(sFocusId) : null);
|
|
2335
2333
|
if (oControl && oControl.getFocusDomRef()){
|
|
2336
2334
|
oControl.getFocusDomRef().focus();
|
|
@@ -2562,7 +2560,7 @@ sap.ui.define([
|
|
|
2562
2560
|
|
|
2563
2561
|
Popover.prototype.setLeftButton = function (vButton) {
|
|
2564
2562
|
if (!(vButton instanceof Button)) {
|
|
2565
|
-
vButton = Element.
|
|
2563
|
+
vButton = Element.getElementById(vButton);
|
|
2566
2564
|
}
|
|
2567
2565
|
|
|
2568
2566
|
//setting leftButton also sets the beginButton
|
|
@@ -2572,7 +2570,7 @@ sap.ui.define([
|
|
|
2572
2570
|
|
|
2573
2571
|
Popover.prototype.setRightButton = function (vButton) {
|
|
2574
2572
|
if (!(vButton instanceof Button)) {
|
|
2575
|
-
vButton = Element.
|
|
2573
|
+
vButton = Element.getElementById(vButton);
|
|
2576
2574
|
}
|
|
2577
2575
|
|
|
2578
2576
|
//setting rightButton also sets the endButton
|
|
@@ -2678,7 +2676,7 @@ sap.ui.define([
|
|
|
2678
2676
|
};
|
|
2679
2677
|
|
|
2680
2678
|
Popover.prototype.invalidate = function (oOrigin) {
|
|
2681
|
-
if (this.isOpen()) {
|
|
2679
|
+
if (this.oPopup && this.isOpen() && this.oPopup.getOpenState() !== OpenState.CLOSING) {
|
|
2682
2680
|
Control.prototype.invalidate.apply(this, arguments);
|
|
2683
2681
|
}
|
|
2684
2682
|
return this;
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
'sap/ui/Device',
|
|
8
8
|
'sap/m/library',
|
|
9
|
+
"sap/ui/core/ControlBehavior",
|
|
9
10
|
"sap/ui/dom/getScrollbarSize",
|
|
10
|
-
"sap/ui/core/IconPool"
|
|
11
|
-
"sap/ui/core/Configuration"
|
|
11
|
+
"sap/ui/core/IconPool" // side effect: required when calling RenderManager#icon
|
|
12
12
|
],
|
|
13
|
-
function(Device, library,
|
|
13
|
+
function(Device, library, ControlBehavior, getScrollbarSize) {
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
16
16
|
// shortcut for sap.m.PlacementType
|
|
@@ -152,7 +152,7 @@ sap.ui.define([
|
|
|
152
152
|
|
|
153
153
|
// Note: If this property should become public in the future, the property will have to be set on a level
|
|
154
154
|
// that will encapsulate the header and the footer of the popover as well.
|
|
155
|
-
if (
|
|
155
|
+
if (ControlBehavior.isAccessibilityEnabled()
|
|
156
156
|
&& oControl.getProperty("ariaRoleApplication")) {
|
|
157
157
|
oRm.attr("role", "application");
|
|
158
158
|
}
|
|
@@ -10,6 +10,7 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/core/Control',
|
|
11
11
|
"sap/ui/Device",
|
|
12
12
|
'sap/ui/core/Icon',
|
|
13
|
+
"sap/ui/core/Lib",
|
|
13
14
|
'sap/ui/core/ResizeHandler',
|
|
14
15
|
'sap/ui/core/ValueStateSupport',
|
|
15
16
|
'sap/ui/core/library',
|
|
@@ -19,17 +20,18 @@ sap.ui.define([
|
|
|
19
20
|
"sap/m/Text"
|
|
20
21
|
],
|
|
21
22
|
function(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
library,
|
|
24
|
+
Control,
|
|
25
|
+
Device,
|
|
26
|
+
Icon,
|
|
27
|
+
Library,
|
|
28
|
+
ResizeHandler,
|
|
29
|
+
ValueStateSupport,
|
|
30
|
+
coreLibrary,
|
|
31
|
+
ProgressIndicatorRenderer,
|
|
32
|
+
Log,
|
|
33
|
+
Popover,
|
|
34
|
+
Text
|
|
33
35
|
) {
|
|
34
36
|
"use strict";
|
|
35
37
|
|
|
@@ -59,7 +61,7 @@ sap.ui.define([
|
|
|
59
61
|
* @extends sap.ui.core.Control
|
|
60
62
|
*
|
|
61
63
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
64
|
+
* @version 1.121.0
|
|
63
65
|
*
|
|
64
66
|
* @constructor
|
|
65
67
|
* @public
|
|
@@ -416,7 +418,7 @@ sap.ui.define([
|
|
|
416
418
|
* The object contains the accessibility information of <code>sap.m.ProgressIndicator</code>
|
|
417
419
|
*/
|
|
418
420
|
ProgressIndicator.prototype.getAccessibilityInfo = function() {
|
|
419
|
-
var oBundle =
|
|
421
|
+
var oBundle = Library.getResourceBundleFor("sap.m"),
|
|
420
422
|
sDisplayValue = this.getDisplayValue(),
|
|
421
423
|
sDescription = sDisplayValue ? sDisplayValue : oBundle.getText("ACC_CTR_STATE_PROGRESS", [this.getPercentValue()]);
|
|
422
424
|
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(["sap/ui/core/library",
|
|
7
|
-
|
|
8
|
-
function(coreLibrary, Configuration) {
|
|
6
|
+
sap.ui.define(["sap/ui/core/ControlBehavior", "sap/ui/core/library", "sap/ui/core/Configuration"],
|
|
7
|
+
function(ControlBehavior, coreLibrary, Configuration) {
|
|
9
8
|
"use strict";
|
|
10
9
|
|
|
11
10
|
|
|
@@ -38,7 +37,7 @@ sap.ui.define(["sap/ui/core/library",
|
|
|
38
37
|
sTextDirectionLowerCase = oControl.getTextDirection().toLowerCase(),
|
|
39
38
|
sControlId = oControl.getId(),
|
|
40
39
|
bEnabled = oControl.getEnabled(),
|
|
41
|
-
sAnimationMode =
|
|
40
|
+
sAnimationMode = ControlBehavior.getAnimationMode(),
|
|
42
41
|
bAnimate = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal
|
|
43
42
|
&& oControl.getDisplayAnimation();
|
|
44
43
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.PullToRefresh.
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/ui/core/Lib",
|
|
9
10
|
"sap/ui/thirdparty/jquery",
|
|
10
11
|
'./library',
|
|
11
12
|
'sap/ui/core/Control',
|
|
@@ -17,7 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
"sap/m/BusyIndicator",
|
|
18
19
|
"sap/m/ImageHelper"
|
|
19
20
|
],
|
|
20
|
-
function(jQuery, library, Control, Device, PullToRefreshRenderer, KeyCodes, encodeXML, InvisibleText, BusyIndicator, ImageHelper) {
|
|
21
|
+
function(Library, jQuery, library, Control, Device, PullToRefreshRenderer, KeyCodes, encodeXML, InvisibleText, BusyIndicator, ImageHelper) {
|
|
21
22
|
"use strict";
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -36,7 +37,7 @@ sap.ui.define([
|
|
|
36
37
|
* @extends sap.ui.core.Control
|
|
37
38
|
*
|
|
38
39
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
40
|
+
* @version 1.121.0
|
|
40
41
|
*
|
|
41
42
|
* @constructor
|
|
42
43
|
* @public
|
|
@@ -363,7 +364,7 @@ sap.ui.define([
|
|
|
363
364
|
};
|
|
364
365
|
|
|
365
366
|
PullToRefresh.prototype._getRB = function(){
|
|
366
|
-
return
|
|
367
|
+
return Library.getResourceBundleFor("sap.m");
|
|
367
368
|
};
|
|
368
369
|
|
|
369
370
|
return PullToRefresh;
|
package/src/sap/m/QuickView.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/core/
|
|
9
|
-
], function (
|
|
8
|
+
"sap/ui/core/Lib"
|
|
9
|
+
], function (Library) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
.class("sapMQuickViewCard")
|
|
29
29
|
.accessibilityState({
|
|
30
30
|
label: {
|
|
31
|
-
value:
|
|
31
|
+
value: Library.getResourceBundleFor("sap.m").getText("ARIA_ROLEDESCRIPTION_CARD"),
|
|
32
32
|
append: true
|
|
33
33
|
}
|
|
34
34
|
});
|
|
@@ -7,13 +7,12 @@
|
|
|
7
7
|
// Provides control sap.m.QuickViewPage
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./library",
|
|
10
|
-
"sap/ui/core/Core",
|
|
11
10
|
"sap/ui/core/Control",
|
|
12
11
|
"sap/ui/core/IconPool",
|
|
12
|
+
"sap/ui/core/Lib",
|
|
13
13
|
"sap/ui/layout/form/SimpleForm",
|
|
14
14
|
"sap/ui/layout/VerticalLayout",
|
|
15
15
|
"sap/ui/layout/HorizontalLayout",
|
|
16
|
-
"sap/m/library",
|
|
17
16
|
"sap/m/Avatar",
|
|
18
17
|
"sap/m/Page",
|
|
19
18
|
"sap/m/Button",
|
|
@@ -36,13 +35,12 @@ sap.ui.define([
|
|
|
36
35
|
"sap/ui/dom/jquery/Focusable" // jQuery Plugin "firstFocusableDomRef"
|
|
37
36
|
], function (
|
|
38
37
|
library,
|
|
39
|
-
Core,
|
|
40
38
|
Control,
|
|
41
39
|
IconPool,
|
|
40
|
+
Library,
|
|
42
41
|
SimpleForm,
|
|
43
42
|
VerticalLayout,
|
|
44
43
|
HorizontalLayout,
|
|
45
|
-
mLibrary,
|
|
46
44
|
Avatar,
|
|
47
45
|
Page,
|
|
48
46
|
Button,
|
|
@@ -87,10 +85,10 @@ sap.ui.define([
|
|
|
87
85
|
// shortcut for sap.m.EmptyIndicator
|
|
88
86
|
var EmptyIndicatorMode = library.EmptyIndicatorMode;
|
|
89
87
|
|
|
90
|
-
var oRB =
|
|
88
|
+
var oRB = Library.getResourceBundleFor('sap.m');
|
|
91
89
|
|
|
92
90
|
// shortcut for sap.m.PageBackgroundDesign
|
|
93
|
-
var PageBackgroundDesign =
|
|
91
|
+
var PageBackgroundDesign = library.PageBackgroundDesign;
|
|
94
92
|
|
|
95
93
|
/**
|
|
96
94
|
* Constructor for a new QuickViewPage.
|
|
@@ -105,7 +103,7 @@ sap.ui.define([
|
|
|
105
103
|
* @extends sap.ui.core.Control
|
|
106
104
|
*
|
|
107
105
|
* @author SAP SE
|
|
108
|
-
* @version 1.
|
|
106
|
+
* @version 1.121.0
|
|
109
107
|
*
|
|
110
108
|
* @constructor
|
|
111
109
|
* @public
|
|
@@ -212,9 +210,10 @@ sap.ui.define([
|
|
|
212
210
|
*/
|
|
213
211
|
|
|
214
212
|
QuickViewPage.prototype.init = function() {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
213
|
+
/**
|
|
214
|
+
* @deprecated As of version 1.111.
|
|
215
|
+
*/
|
|
216
|
+
this._initCrossAppNavigationService();
|
|
218
217
|
};
|
|
219
218
|
|
|
220
219
|
/**
|
|
@@ -466,16 +465,22 @@ sap.ui.define([
|
|
|
466
465
|
href: sTitleUrl,
|
|
467
466
|
target: "_blank"
|
|
468
467
|
});
|
|
469
|
-
} else if (this.getCrossAppNavCallback && this.getCrossAppNavCallback() && sTitle) {
|
|
470
|
-
oTitle = new Link({
|
|
471
|
-
text: sTitle
|
|
472
|
-
});
|
|
473
|
-
oTitle.attachPress(this._crossApplicationNavigation.bind(this));
|
|
474
468
|
} else if (sTitle) {
|
|
475
469
|
oTitle = new Title({
|
|
476
470
|
text: sTitle,
|
|
477
471
|
level: CoreTitleLevel.H3
|
|
478
472
|
});
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @deprecated As of version 1.111.
|
|
476
|
+
*/
|
|
477
|
+
if (this.getCrossAppNavCallback()) {
|
|
478
|
+
oTitle.destroy();
|
|
479
|
+
oTitle = new Link({
|
|
480
|
+
text: sTitle
|
|
481
|
+
});
|
|
482
|
+
oTitle.attachPress(this._crossApplicationNavigation.bind(this));
|
|
483
|
+
}
|
|
479
484
|
}
|
|
480
485
|
|
|
481
486
|
this.setPageTitleControl(oTitle);
|
|
@@ -596,7 +601,10 @@ sap.ui.define([
|
|
|
596
601
|
* @private
|
|
597
602
|
*/
|
|
598
603
|
QuickViewPage.prototype._crossApplicationNavigation = function () {
|
|
599
|
-
|
|
604
|
+
/**
|
|
605
|
+
* @deprecated As of version 1.111.
|
|
606
|
+
*/
|
|
607
|
+
if (this.getCrossAppNavCallback() && this.oCrossAppNavigator) {
|
|
600
608
|
var targetConfigCallback = this.getCrossAppNavCallback();
|
|
601
609
|
if (typeof targetConfigCallback == "function") {
|
|
602
610
|
var targetConfig = targetConfigCallback();
|
|
@@ -612,7 +620,11 @@ sap.ui.define([
|
|
|
612
620
|
|
|
613
621
|
URLHelper.redirect(href);
|
|
614
622
|
}
|
|
615
|
-
|
|
623
|
+
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
if (this.getTitleUrl()) {
|
|
616
628
|
URLHelper.redirect(this.getTitleUrl(), true);
|
|
617
629
|
}
|
|
618
630
|
};
|
package/src/sap/m/RadioButton.js
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
10
|
'sap/ui/core/Control',
|
|
11
|
-
'sap/ui/core/Core',
|
|
12
11
|
'sap/ui/core/EnabledPropagator',
|
|
12
|
+
"sap/ui/core/Lib",
|
|
13
13
|
'sap/ui/core/message/MessageMixin',
|
|
14
14
|
'sap/m/Label',
|
|
15
15
|
'sap/ui/core/library',
|
|
@@ -19,8 +19,8 @@ sap.ui.define([
|
|
|
19
19
|
function(
|
|
20
20
|
library,
|
|
21
21
|
Control,
|
|
22
|
-
Core,
|
|
23
22
|
EnabledPropagator,
|
|
23
|
+
Library,
|
|
24
24
|
MessageMixin,
|
|
25
25
|
Label,
|
|
26
26
|
coreLibrary,
|
|
@@ -91,7 +91,7 @@ function(
|
|
|
91
91
|
* @implements sap.ui.core.IFormContent
|
|
92
92
|
*
|
|
93
93
|
* @author SAP SE
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.121.0
|
|
95
95
|
*
|
|
96
96
|
* @constructor
|
|
97
97
|
* @public
|
|
@@ -453,7 +453,7 @@ function(
|
|
|
453
453
|
* @returns {sap.ui.core.AccessibilityInfo} The <code>sap.m.RadioButton</code> accessibility information
|
|
454
454
|
*/
|
|
455
455
|
RadioButton.prototype.getAccessibilityInfo = function() {
|
|
456
|
-
var oBundle =
|
|
456
|
+
var oBundle = Library.getResourceBundleFor("sap.m");
|
|
457
457
|
return {
|
|
458
458
|
role: "radio",
|
|
459
459
|
type: oBundle.getText("ACC_CTR_TYPE_RADIO"),
|