@openui5/sap.m 1.120.7 → 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 +13 -5
- 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 +165 -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 +13 -20
- 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
|
@@ -52,7 +52,7 @@ sap.ui.define(["./library"],
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Renders the
|
|
55
|
+
* Renders the TileAttributess inside the ActionTileContent
|
|
56
56
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
57
57
|
* @param {sap.m.ActionTileContent} oControl The control that is rendered
|
|
58
58
|
* @private
|
|
@@ -61,46 +61,9 @@ sap.ui.define(["./library"],
|
|
|
61
61
|
oRm.openStart("div",oControl.getId() + "-contentContainer");
|
|
62
62
|
oRm.class("sapMContainer");
|
|
63
63
|
oRm.openEnd();
|
|
64
|
-
oControl.getAttributes().forEach(function(oAttribute
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
oRm.close("div");
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Renders the individual attribute inside the CustomAttribute
|
|
72
|
-
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
73
|
-
* @param {sap.m.ActionTileContent} oControl The control that is rendered
|
|
74
|
-
* @param {sap.m.ActionTileContent} oAttribute It represents a custom attribute
|
|
75
|
-
* @param {sap.m.ActionTileContent} iIndex It represents the index of the individual attribute
|
|
76
|
-
* @private
|
|
77
|
-
*/
|
|
78
|
-
ActionTileContentRenderer._renderAttribute = function(oRm, oControl,oAttribute,iIndex) {
|
|
79
|
-
oRm.openStart("div",oControl.getId() + "-wrapper-" + iIndex);
|
|
80
|
-
oRm.class("sapMElementWrapper");
|
|
81
|
-
oRm.openEnd();
|
|
82
|
-
this._renderElement(oRm,oControl,oAttribute,iIndex,true);
|
|
83
|
-
this._renderElement(oRm,oControl,oAttribute,iIndex,false);
|
|
84
|
-
oRm.close("div");
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Renders label and value properties inside the CustomAttribute
|
|
89
|
-
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
90
|
-
* @param {sap.m.ActionTileContent} oControl The control that is rendered
|
|
91
|
-
* @param {sap.m.ActionTileContent} oAttribute It represents a custom attribute
|
|
92
|
-
* @param {sap.m.ActionTileContent} iIndex It represents the index of the individual attribute
|
|
93
|
-
* @param {sap.m.ActionTileContent} bLabel If true, it renders a label, otherwise it renders a value
|
|
94
|
-
* @private
|
|
95
|
-
*/
|
|
96
|
-
ActionTileContentRenderer._renderElement = function(oRm, oControl,oAttribute,iIndex,bLabel) {
|
|
97
|
-
var sClassName = (bLabel) ? "sapMATCLabel" : "sapMATCValue",
|
|
98
|
-
sId = (bLabel) ? "-label" : "-value",
|
|
99
|
-
sText = (bLabel) ? oAttribute.getLabel() : oAttribute.getValue();
|
|
100
|
-
oRm.openStart("div", oControl.getId() + "-" + iIndex + sId);
|
|
101
|
-
oRm.class(sClassName);
|
|
102
|
-
oRm.openEnd();
|
|
103
|
-
oRm.text(sText);
|
|
64
|
+
oControl.getAttributes().forEach(function(oAttribute) {
|
|
65
|
+
oRm.renderControl(oAttribute);
|
|
66
|
+
});
|
|
104
67
|
oRm.close("div");
|
|
105
68
|
};
|
|
106
69
|
return ActionTileContentRenderer;
|
package/src/sap/m/App.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.AssociativeOverflowToolbar.
|
|
8
|
-
sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer', 'sap/ui/Device'],
|
|
9
|
-
function
|
|
8
|
+
sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer', 'sap/ui/Device', "sap/ui/core/Element"],
|
|
9
|
+
function(Log, OverflowToolbar, OverflowToolbarRenderer, Device, Element) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
|
|
|
20
20
|
* @extends sap.m.OverflowToolbar
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.121.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @private
|
|
@@ -44,7 +44,7 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
|
|
|
44
44
|
var aControls = [];
|
|
45
45
|
|
|
46
46
|
associativeArrayWithIds.forEach(function (controlId) {
|
|
47
|
-
var oControl =
|
|
47
|
+
var oControl = Element.getElementById(controlId);
|
|
48
48
|
if (oControl) {
|
|
49
49
|
aControls.push(oControl);
|
|
50
50
|
}
|
|
@@ -115,13 +115,13 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
|
|
|
115
115
|
case 'insertContent':
|
|
116
116
|
return this.insertContent(aArguments[0], aArguments[1]);
|
|
117
117
|
case 'removeContent':
|
|
118
|
-
return
|
|
118
|
+
return Element.getElementById(this.removeAssociation("content", aArguments[0], aArguments[1], aArguments[2])) || null;
|
|
119
119
|
case 'destroyContent':
|
|
120
120
|
this.removeAllAssociation("content", aArguments[0]);
|
|
121
121
|
return this;
|
|
122
122
|
case 'removeAllContent':
|
|
123
123
|
return this.removeAllAssociation("content", aArguments[0]).map(function (controlId) {
|
|
124
|
-
return
|
|
124
|
+
return Element.getElementById(controlId);
|
|
125
125
|
});
|
|
126
126
|
default:
|
|
127
127
|
return OverflowToolbar.prototype._callToolbarMethod.call(this, sFuncName, aArguments);
|
package/src/sap/m/Avatar.js
CHANGED
|
@@ -6,17 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.Avatar.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
"sap/ui/core/Control",
|
|
10
|
+
"sap/ui/core/IconPool",
|
|
11
|
+
"./AvatarRenderer",
|
|
12
|
+
"sap/ui/core/Lib",
|
|
13
|
+
"sap/ui/events/KeyCodes",
|
|
14
|
+
"sap/base/Log",
|
|
15
|
+
"sap/ui/core/Icon",
|
|
16
|
+
"./library",
|
|
16
17
|
"sap/ui/core/library",
|
|
17
18
|
'sap/ui/core/InvisibleText',
|
|
18
19
|
'sap/m/imageUtils/getCacheBustedUrl'
|
|
19
|
-
], function(Control, IconPool, AvatarRenderer, KeyCodes, Log, Icon, library, coreLibrary, InvisibleText, getCacheBustedUrl) {
|
|
20
|
+
], function(Control, IconPool, AvatarRenderer, Library, KeyCodes, Log, Icon, library, coreLibrary, InvisibleText, getCacheBustedUrl) {
|
|
20
21
|
"use strict";
|
|
21
22
|
|
|
22
23
|
// shortcut for sap.m.AvatarType
|
|
@@ -84,7 +85,7 @@ sap.ui.define([
|
|
|
84
85
|
* @extends sap.ui.core.Control
|
|
85
86
|
*
|
|
86
87
|
* @author SAP SE
|
|
87
|
-
* @version 1.
|
|
88
|
+
* @version 1.121.0
|
|
88
89
|
*
|
|
89
90
|
* @constructor
|
|
90
91
|
* @public
|
|
@@ -283,9 +284,9 @@ sap.ui.define([
|
|
|
283
284
|
* @type {string}
|
|
284
285
|
*/
|
|
285
286
|
Avatar.AVATAR_BADGE_TOOLTIP = {
|
|
286
|
-
"sap-icon://zoom-in" :
|
|
287
|
-
"sap-icon://camera":
|
|
288
|
-
"sap-icon://edit":
|
|
287
|
+
"sap-icon://zoom-in" : Library.getResourceBundleFor("sap.m").getText("AVATAR_TOOLTIP_ZOOMIN"),
|
|
288
|
+
"sap-icon://camera": Library.getResourceBundleFor("sap.m").getText("AVATAR_TOOLTIP_CAMERA"),
|
|
289
|
+
"sap-icon://edit": Library.getResourceBundleFor("sap.m").getText("AVATAR_TOOLTIP_EDIT")
|
|
289
290
|
};
|
|
290
291
|
|
|
291
292
|
Avatar.prototype.init = function () {
|
|
@@ -366,6 +367,24 @@ sap.ui.define([
|
|
|
366
367
|
return this.setAggregation("detailBox", oLightBox);
|
|
367
368
|
};
|
|
368
369
|
|
|
370
|
+
/**
|
|
371
|
+
* Destroys the <code>detailBox</code> aggregation.
|
|
372
|
+
* @returns {this} <code>this</code> for chaining
|
|
373
|
+
* @override
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
Avatar.prototype.destroyDetailBox = function () {
|
|
377
|
+
var oCurrentDetailBox = this.getDetailBox();
|
|
378
|
+
|
|
379
|
+
if (oCurrentDetailBox) {
|
|
380
|
+
this.detachPress(this._fnLightBoxOpen, oCurrentDetailBox);
|
|
381
|
+
this._fnLightBoxOpen = null;
|
|
382
|
+
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
return this.destroyAggregation("detailBox");
|
|
386
|
+
};
|
|
387
|
+
|
|
369
388
|
Avatar.prototype.setBadgeValueState = function(sValue) {
|
|
370
389
|
|
|
371
390
|
Object.keys(ValueState).forEach(function(val){
|
|
@@ -630,7 +649,7 @@ sap.ui.define([
|
|
|
630
649
|
};
|
|
631
650
|
|
|
632
651
|
Avatar.prototype._getDefaultTooltip = function() {
|
|
633
|
-
return
|
|
652
|
+
return Library.getResourceBundleFor("sap.m").getText("AVATAR_TOOLTIP");
|
|
634
653
|
};
|
|
635
654
|
|
|
636
655
|
Avatar.prototype._getBadgeIconSource = function() {
|
|
@@ -849,7 +868,6 @@ sap.ui.define([
|
|
|
849
868
|
* It can be used when you have applied ImageCustomData to the Avatar control and you want to force the browser to reload the image.
|
|
850
869
|
*
|
|
851
870
|
* @function
|
|
852
|
-
* @experimental
|
|
853
871
|
* @private
|
|
854
872
|
* @ui5-restricted sap.fe
|
|
855
873
|
*/
|
package/src/sap/m/Bar.js
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./BarInPageEnabler',
|
|
10
10
|
'./library',
|
|
11
|
+
"sap/base/i18n/Localization",
|
|
11
12
|
'sap/ui/core/Control',
|
|
12
13
|
'sap/ui/core/ResizeHandler',
|
|
13
14
|
'sap/ui/Device',
|
|
14
15
|
'./BarRenderer',
|
|
15
|
-
"sap/ui/thirdparty/jquery"
|
|
16
|
-
"sap/ui/core/Configuration"
|
|
16
|
+
"sap/ui/thirdparty/jquery"
|
|
17
17
|
],
|
|
18
|
-
function(BarInPageEnabler, library, Control, ResizeHandler, Device, BarRenderer, jQuery
|
|
18
|
+
function(BarInPageEnabler, library, Localization, Control, ResizeHandler, Device, BarRenderer, jQuery) {
|
|
19
19
|
"use strict";
|
|
20
20
|
|
|
21
21
|
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @implements sap.m.IBar
|
|
58
58
|
*
|
|
59
59
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.121.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -362,7 +362,7 @@ sap.ui.define([
|
|
|
362
362
|
*/
|
|
363
363
|
Bar.prototype._getMidBarCss = function(iRightBarWidth, iBarWidth, iLeftBarWidth) {
|
|
364
364
|
var iMidBarPlaceholderWidth = this._$MidBarPlaceHolder.outerWidth(true),
|
|
365
|
-
bRtl =
|
|
365
|
+
bRtl = Localization.getRTL(),
|
|
366
366
|
oMidBarCss = { visibility : "" };
|
|
367
367
|
|
|
368
368
|
/**
|
package/src/sap/m/BarRenderer.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
sap.ui.define(['./BarInPageEnabler', 'sap/ui/Device', "sap/base/Log", 'sap/m/HBox'
|
|
9
|
-
function(BarInPageEnabler, Device, Log, HBox
|
|
8
|
+
sap.ui.define(['./BarInPageEnabler', "sap/base/i18n/Localization", 'sap/ui/Device', "sap/base/Log", 'sap/m/HBox'],
|
|
9
|
+
function(BarInPageEnabler, Localization, Device, Log, HBox) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -131,7 +131,7 @@ sap.ui.define(['./BarInPageEnabler', 'sap/ui/Device', "sap/base/Log", 'sap/m/HBo
|
|
|
131
131
|
oRM.openStart("div", oControl.getId() + "-BarRight");
|
|
132
132
|
oRM.class("sapMBarRight");
|
|
133
133
|
oRM.class("sapMBarContainer");
|
|
134
|
-
if (
|
|
134
|
+
if (Localization.getRTL()) {
|
|
135
135
|
oRM.class("sapMRTL");
|
|
136
136
|
}
|
|
137
137
|
writeWidthIfContentOccupiesWholeArea("right", oRM, oControl);
|
package/src/sap/m/Breadcrumbs.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
// Provides control sap.m.Breadcrumbs.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/core/Control",
|
|
10
|
+
"sap/ui/core/Element",
|
|
11
|
+
"sap/ui/core/Lib",
|
|
10
12
|
"sap/ui/dom/units/Rem",
|
|
11
13
|
"sap/ui/core/theming/Parameters",
|
|
12
14
|
"sap/ui/util/openWindow",
|
|
@@ -24,6 +26,8 @@ sap.ui.define([
|
|
|
24
26
|
'sap/ui/core/InvisibleText'
|
|
25
27
|
], function(
|
|
26
28
|
Control,
|
|
29
|
+
Element,
|
|
30
|
+
Library,
|
|
27
31
|
Rem,
|
|
28
32
|
Parameters,
|
|
29
33
|
openWindow,
|
|
@@ -49,7 +53,7 @@ sap.ui.define([
|
|
|
49
53
|
SeparatorStyle = library.BreadcrumbsSeparatorStyle,
|
|
50
54
|
|
|
51
55
|
// shortcut for texts resource bundle
|
|
52
|
-
oResource =
|
|
56
|
+
oResource = Library.getResourceBundleFor("sap.m");
|
|
53
57
|
|
|
54
58
|
/**
|
|
55
59
|
* Constructor for a new <code>Breadcrumbs</code>.
|
|
@@ -68,7 +72,7 @@ sap.ui.define([
|
|
|
68
72
|
* @implements sap.m.IBreadcrumbs, sap.m.IOverflowToolbarContent, sap.ui.core.IShrinkable
|
|
69
73
|
*
|
|
70
74
|
* @author SAP SE
|
|
71
|
-
* @version 1.
|
|
75
|
+
* @version 1.121.0
|
|
72
76
|
*
|
|
73
77
|
* @constructor
|
|
74
78
|
* @public
|
|
@@ -201,6 +205,10 @@ sap.ui.define([
|
|
|
201
205
|
this.bRenderingPhase = false;
|
|
202
206
|
};
|
|
203
207
|
|
|
208
|
+
Breadcrumbs.prototype.focus = function () {
|
|
209
|
+
setTimeout(() => { Control.prototype.focus.apply(this, arguments); } , 0);
|
|
210
|
+
};
|
|
211
|
+
|
|
204
212
|
Breadcrumbs.prototype._setMinWidth = function () {
|
|
205
213
|
var oCurrentLocation = this._getCurrentLocation(),
|
|
206
214
|
iWidth,
|
|
@@ -360,7 +368,7 @@ sap.ui.define([
|
|
|
360
368
|
Breadcrumbs.prototype._destroyInvisibleTexts = function () {
|
|
361
369
|
var oControl;
|
|
362
370
|
this._aCachedInvisibleTexts.forEach(function (oData) {
|
|
363
|
-
oControl =
|
|
371
|
+
oControl = Element.getElementById(oData.controlId);
|
|
364
372
|
|
|
365
373
|
// remove reference to the invisible text on the sap.m.Link control
|
|
366
374
|
// check for control existence as it might have been destroyed already
|
|
@@ -454,7 +462,7 @@ sap.ui.define([
|
|
|
454
462
|
return;
|
|
455
463
|
}
|
|
456
464
|
|
|
457
|
-
oLink =
|
|
465
|
+
oLink = Element.getElementById(oSelectedItem.getKey());
|
|
458
466
|
|
|
459
467
|
/* if it's not a link, then it must be only the current location text, we shouldn't do anything */
|
|
460
468
|
if (!(oLink instanceof Link)) {
|
|
@@ -69,7 +69,7 @@ sap.ui.define(["sap/m/Text"], function (Text) {
|
|
|
69
69
|
oRm.openEnd();
|
|
70
70
|
oRm.renderControl(oControl);
|
|
71
71
|
if (!bSkipSeparator) {
|
|
72
|
-
oRm.openStart("span").class("sapMBreadcrumbsSeparator").openEnd().text(sSeparator).close("span");
|
|
72
|
+
oRm.openStart("span").class("sapMBreadcrumbsSeparator").attr("aria-hidden", true).openEnd().text(sSeparator).close("span");
|
|
73
73
|
}
|
|
74
74
|
oRm.close("li");
|
|
75
75
|
};
|
package/src/sap/m/BusyDialog.js
CHANGED
|
@@ -5,24 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.BusyDialog.
|
|
8
|
-
sap.ui.define(['./library',
|
|
9
|
-
|
|
10
|
-
'sap/m/Dialog',
|
|
11
|
-
'sap/m/BusyIndicator',
|
|
12
|
-
'sap/m/Label',
|
|
13
|
-
'sap/m/Button',
|
|
14
|
-
"sap/base/Log",
|
|
15
|
-
'sap/ui/core/Core',
|
|
16
|
-
'sap/ui/core/InvisibleText'],
|
|
17
|
-
function (library,
|
|
18
|
-
Control,
|
|
19
|
-
Dialog,
|
|
20
|
-
BusyIndicator,
|
|
21
|
-
Label,
|
|
22
|
-
Button,
|
|
23
|
-
Log,
|
|
24
|
-
Core,
|
|
25
|
-
InvisibleText) {
|
|
8
|
+
sap.ui.define(['./library', 'sap/ui/core/Control', 'sap/m/Dialog', 'sap/m/BusyIndicator', 'sap/m/Label', 'sap/m/Button', "sap/base/Log", 'sap/ui/core/Core', 'sap/ui/core/InvisibleText', "sap/ui/core/Lib"],
|
|
9
|
+
function(library, Control, Dialog, BusyIndicator, Label, Button, Log, Core, InvisibleText, Library) {
|
|
26
10
|
"use strict";
|
|
27
11
|
|
|
28
12
|
// shortcut for sap.m.TitleAlignment
|
|
@@ -62,7 +46,7 @@ sap.ui.define(['./library',
|
|
|
62
46
|
* @extends sap.ui.core.Control
|
|
63
47
|
*
|
|
64
48
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
49
|
+
* @version 1.121.0
|
|
66
50
|
*
|
|
67
51
|
* @public
|
|
68
52
|
* @alias sap.m.BusyDialog
|
|
@@ -264,10 +248,19 @@ sap.ui.define(['./library',
|
|
|
264
248
|
* @returns {this} BusyDialog reference for chaining.
|
|
265
249
|
*/
|
|
266
250
|
BusyDialog.prototype.open = function () {
|
|
267
|
-
var aAriaLabelledBy = this.getAriaLabelledBy();
|
|
268
|
-
|
|
269
251
|
Log.debug("sap.m.BusyDialog.open called at " + Date.now());
|
|
270
252
|
|
|
253
|
+
//if the code is not ready yet (new sap.m.BusyDialog().open()) wait 50ms and then try ot open it.
|
|
254
|
+
if (!document.body) {
|
|
255
|
+
this._iOpenTimer = setTimeout(function () {
|
|
256
|
+
this.open();
|
|
257
|
+
}.bind(this), 50);
|
|
258
|
+
|
|
259
|
+
return this;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
var aAriaLabelledBy = this.getAriaLabelledBy();
|
|
263
|
+
|
|
271
264
|
if (aAriaLabelledBy && aAriaLabelledBy.length) {
|
|
272
265
|
if (!this._oDialog._$dialog) {
|
|
273
266
|
var that = this;
|
|
@@ -279,14 +272,7 @@ sap.ui.define(['./library',
|
|
|
279
272
|
this._oDialog.addAriaLabelledBy(InvisibleText.getStaticId("sap.m", "BUSYDIALOG_TITLE"));
|
|
280
273
|
}
|
|
281
274
|
|
|
282
|
-
|
|
283
|
-
if (!document.body || !Core.isInitialized()) {
|
|
284
|
-
this._iOpenTimer = setTimeout(function () {
|
|
285
|
-
this.open();
|
|
286
|
-
}.bind(this), 50);
|
|
287
|
-
} else {
|
|
288
|
-
this._oDialog.open();
|
|
289
|
-
}
|
|
275
|
+
this._oDialog.open();
|
|
290
276
|
|
|
291
277
|
return this;
|
|
292
278
|
};
|
|
@@ -408,7 +394,7 @@ sap.ui.define(['./library',
|
|
|
408
394
|
* Sets custom icon.
|
|
409
395
|
*
|
|
410
396
|
* @public
|
|
411
|
-
* @param {
|
|
397
|
+
* @param {sap.ui.core.URI} sIcon Icon to use as a busy animation.
|
|
412
398
|
* @returns {this} BusyDialog reference for chaining.
|
|
413
399
|
*/
|
|
414
400
|
BusyDialog.prototype.setCustomIcon = function (sIcon) {
|
|
@@ -447,7 +433,7 @@ sap.ui.define(['./library',
|
|
|
447
433
|
* Sets the width of the custom icon.
|
|
448
434
|
*
|
|
449
435
|
* @public
|
|
450
|
-
* @param {
|
|
436
|
+
* @param {sap.ui.core.CSSSize} sWidth Width of the provided icon in CSSSize.
|
|
451
437
|
* @returns {this} BusyDialog reference for chaining.
|
|
452
438
|
*/
|
|
453
439
|
BusyDialog.prototype.setCustomIconWidth = function (sWidth) {
|
|
@@ -460,7 +446,7 @@ sap.ui.define(['./library',
|
|
|
460
446
|
* Sets the height of the custom icon.
|
|
461
447
|
*
|
|
462
448
|
* @public
|
|
463
|
-
* @param {
|
|
449
|
+
* @param {sap.ui.core.CSSSize} sHeight Height of the provided icon in CSSSize.
|
|
464
450
|
* @returns {this} BusyDialog reference for chaining.
|
|
465
451
|
*/
|
|
466
452
|
BusyDialog.prototype.setCustomIconHeight = function (sHeight) {
|
|
@@ -549,7 +535,7 @@ sap.ui.define(['./library',
|
|
|
549
535
|
*/
|
|
550
536
|
BusyDialog.prototype._getCancelButton = function () {
|
|
551
537
|
var cancelButtonText = this.getCancelButtonText();
|
|
552
|
-
cancelButtonText = cancelButtonText ? cancelButtonText :
|
|
538
|
+
cancelButtonText = cancelButtonText ? cancelButtonText : Library.getResourceBundleFor("sap.m").getText("BUSYDIALOG_CANCELBUTTON_TEXT");
|
|
553
539
|
|
|
554
540
|
// eslint-disable-next-line no-return-assign
|
|
555
541
|
return this._cancelButton ? this._cancelButton : this._cancelButton = new Button(this.getId() + 'busyCancelBtn', {
|
package/src/sap/m/Button.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
// Provides control sap.m.Button.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./library",
|
|
10
|
-
"sap/ui/core/Core",
|
|
11
10
|
"sap/ui/core/Control",
|
|
11
|
+
"sap/ui/core/Lib",
|
|
12
12
|
"sap/ui/core/ShortcutHintsMixin",
|
|
13
13
|
"sap/ui/core/EnabledPropagator",
|
|
14
14
|
"sap/ui/core/AccessKeysEnablement",
|
|
@@ -25,8 +25,8 @@ sap.ui.define([
|
|
|
25
25
|
"sap/m/Image"
|
|
26
26
|
], function(
|
|
27
27
|
library,
|
|
28
|
-
Core,
|
|
29
28
|
Control,
|
|
29
|
+
Library,
|
|
30
30
|
ShortcutHintsMixin,
|
|
31
31
|
EnabledPropagator,
|
|
32
32
|
AccessKeysEnablement,
|
|
@@ -98,7 +98,7 @@ sap.ui.define([
|
|
|
98
98
|
* @mixes sap.ui.core.ContextMenuSupport
|
|
99
99
|
*
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
101
|
+
* @version 1.121.0
|
|
102
102
|
*
|
|
103
103
|
* @constructor
|
|
104
104
|
* @public
|
|
@@ -369,7 +369,7 @@ sap.ui.define([
|
|
|
369
369
|
* @private
|
|
370
370
|
*/
|
|
371
371
|
Button.prototype._updateBadgeInvisibleText = function(vValue) {
|
|
372
|
-
var oRb =
|
|
372
|
+
var oRb = Library.getResourceBundleFor("sap.m"),
|
|
373
373
|
sInvisibleTextValue,
|
|
374
374
|
iPlusPos;
|
|
375
375
|
|
|
@@ -378,12 +378,12 @@ sap.ui.define([
|
|
|
378
378
|
|
|
379
379
|
iPlusPos = vValue.indexOf("+");
|
|
380
380
|
if (iPlusPos !== -1) {
|
|
381
|
-
sInvisibleTextValue = oRb.getText("BUTTON_BADGE_MORE_THAN_ITEMS", vValue.substr(0, iPlusPos));
|
|
381
|
+
sInvisibleTextValue = oRb.getText("BUTTON_BADGE_MORE_THAN_ITEMS", [vValue.substr(0, iPlusPos)]);
|
|
382
382
|
} else {
|
|
383
383
|
switch (vValue) {
|
|
384
384
|
case "": sInvisibleTextValue = ""; break;
|
|
385
|
-
case "1": sInvisibleTextValue = oRb.getText("BUTTON_BADGE_ONE_ITEM", vValue); break;
|
|
386
|
-
default: sInvisibleTextValue = oRb.getText("BUTTON_BADGE_MANY_ITEMS", vValue);
|
|
385
|
+
case "1": sInvisibleTextValue = oRb.getText("BUTTON_BADGE_ONE_ITEM", [vValue]); break;
|
|
386
|
+
default: sInvisibleTextValue = oRb.getText("BUTTON_BADGE_MANY_ITEMS", [vValue]);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
@@ -951,7 +951,7 @@ sap.ui.define([
|
|
|
951
951
|
|
|
952
952
|
return {
|
|
953
953
|
role: sAccessibleRole === ButtonAccessibleRole.Default ? "button" : sAccessibleRole.toLowerCase(),
|
|
954
|
-
type:
|
|
954
|
+
type: Library.getResourceBundleFor("sap.m").getText("ACC_CTR_TYPE_BUTTON"),
|
|
955
955
|
description: sDesc,
|
|
956
956
|
focusable: this.getEnabled(),
|
|
957
957
|
enabled: this.getEnabled()
|
|
@@ -76,10 +76,6 @@ sap.ui.define([
|
|
|
76
76
|
// button container style class
|
|
77
77
|
if (!oButton._isUnstyled()) {
|
|
78
78
|
oRm.class("sapMBtn");
|
|
79
|
-
// extend minimum button size if icon is set without text for button types back and up
|
|
80
|
-
if ((sType === ButtonType.Back || sType === ButtonType.Up) && oButton._getAppliedIcon() && !sText) {
|
|
81
|
-
oRm.class("sapMBtnBack");
|
|
82
|
-
}
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
//ARIA attributes
|