@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
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./List',
|
|
10
10
|
'./library',
|
|
11
|
+
"sap/ui/core/Element",
|
|
11
12
|
'sap/ui/model/ChangeReason',
|
|
12
13
|
'sap/ui/model/Filter',
|
|
13
14
|
'./FacetFilterListRenderer',
|
|
@@ -16,7 +17,7 @@ sap.ui.define([
|
|
|
16
17
|
"sap/ui/model/FilterOperator",
|
|
17
18
|
"sap/ui/model/FilterType"
|
|
18
19
|
],
|
|
19
|
-
function(List, library, ChangeReason, Filter, FacetFilterListRenderer, FacetFilterItem, Log, FilterOperator, FilterType) {
|
|
20
|
+
function(List, library, Element, ChangeReason, Filter, FacetFilterListRenderer, FacetFilterItem, Log, FilterOperator, FilterType) {
|
|
20
21
|
"use strict";
|
|
21
22
|
|
|
22
23
|
|
|
@@ -52,7 +53,7 @@ sap.ui.define([
|
|
|
52
53
|
* be closed.
|
|
53
54
|
*
|
|
54
55
|
* @extends sap.m.List
|
|
55
|
-
* @version 1.
|
|
56
|
+
* @version 1.121.0
|
|
56
57
|
*
|
|
57
58
|
* @constructor
|
|
58
59
|
* @public
|
|
@@ -334,8 +335,7 @@ sap.ui.define([
|
|
|
334
335
|
* Returns the keys of the selected elements as an associative array.
|
|
335
336
|
* An empty object is returned if no items are selected.
|
|
336
337
|
*
|
|
337
|
-
* @returns {Object<string, string
|
|
338
|
-
|
|
338
|
+
* @returns {Object<string, string>} Object with the selected keys
|
|
339
339
|
* @public
|
|
340
340
|
* @since 1.20.3
|
|
341
341
|
*/
|
|
@@ -353,7 +353,7 @@ sap.ui.define([
|
|
|
353
353
|
* If oKeys is <code>undefined</code>, <code>null</code>, or {} (empty object) then all items will be deselected.
|
|
354
354
|
* After this method completes, only those items with matching keys will be selected. All other items in the list will be deselected.
|
|
355
355
|
*
|
|
356
|
-
* @param {Object<string, string
|
|
356
|
+
* @param {Object<string, string | undefined> | null} [oKeys]
|
|
357
357
|
* Associative array indicating which FacetFilterItems should be selected in the list. Each property must be set to the value of a FacetFilterItem.key property. Each property value should be set to the FacetFilterItem.text property value. The text value is used to display the FacetFilterItem text when the FacetFilterList button or FacetFilter summary bar is displayed. If no property value is set then the property key is used for the text.
|
|
358
358
|
* @type {void}
|
|
359
359
|
* @public
|
|
@@ -564,7 +564,7 @@ sap.ui.define([
|
|
|
564
564
|
*/
|
|
565
565
|
FacetFilterList.prototype._updateActiveState = function() {
|
|
566
566
|
|
|
567
|
-
var oCheckbox =
|
|
567
|
+
var oCheckbox = Element.getElementById(this.getAssociation("allcheckbox"));
|
|
568
568
|
if (Object.getOwnPropertyNames(this._oSelectedKeys).length > 0 || (oCheckbox && oCheckbox.getSelected())) {
|
|
569
569
|
this.setActive(true);
|
|
570
570
|
}
|
|
@@ -708,7 +708,7 @@ sap.ui.define([
|
|
|
708
708
|
}
|
|
709
709
|
|
|
710
710
|
if (this.getMode() === ListMode.MultiSelect) {
|
|
711
|
-
oCheckbox =
|
|
711
|
+
oCheckbox = Element.getElementById(this.getAssociation("allcheckbox"));
|
|
712
712
|
bAtLeastOneItemIsSelected = iItemsCount > 0 && iItemsCount === aItems.filter(isSelected).length;
|
|
713
713
|
bSelectAllSelected = this.getActive() && bAtLeastOneItemIsSelected;
|
|
714
714
|
oCheckbox && oCheckbox.setSelected(bSelectAllSelected);
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
8
|
-
function(library, Device, InvisibleText) {
|
|
7
|
+
sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/Element", "sap/ui/core/Lib", "sap/ui/core/InvisibleText"],
|
|
8
|
+
function(library, Device, Element, Library, InvisibleText) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -221,7 +221,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// Destroy the item itself
|
|
224
|
-
oItem =
|
|
224
|
+
oItem = Element.getElementById(sItemId);
|
|
225
225
|
oItem && oItem.destroy();
|
|
226
226
|
});
|
|
227
227
|
|
|
@@ -237,7 +237,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
237
237
|
* @returns {sap.ui.core.InvisibleText} oStaticLabel The newly created label
|
|
238
238
|
*/
|
|
239
239
|
FacetFilterRenderer.createStaticPositioningLabel = function (oControl, iPosInSet, iSetSize) {
|
|
240
|
-
var oRB =
|
|
240
|
+
var oRB = Library.getResourceBundleFor("sap.m"),
|
|
241
241
|
sFacetFilterText = oRB.getText("FACETFILTER_ARIA_FACET_FILTER"),
|
|
242
242
|
sPositioningText = oRB.getText("FACETFILTERLIST_ARIA_POSITION", [iPosInSet, iSetSize]),
|
|
243
243
|
oStaticLabel = new InvisibleText({ text: sFacetFilterText + " " + sPositioningText }).toStatic();
|
package/src/sap/m/FeedContent.js
CHANGED
package/src/sap/m/FeedInput.js
CHANGED
|
@@ -16,8 +16,8 @@ sap.ui.define([
|
|
|
16
16
|
"sap/m/Avatar",
|
|
17
17
|
"sap/m/AvatarShape",
|
|
18
18
|
"sap/m/AvatarSize",
|
|
19
|
+
"sap/ui/core/Theming",
|
|
19
20
|
"sap/ui/util/openWindow",
|
|
20
|
-
"sap/ui/core/Configuration",
|
|
21
21
|
"sap/ui/core/Lib"
|
|
22
22
|
],
|
|
23
23
|
function(
|
|
@@ -32,8 +32,8 @@ function(
|
|
|
32
32
|
Avatar,
|
|
33
33
|
AvatarShape,
|
|
34
34
|
AvatarSize,
|
|
35
|
+
Theming,
|
|
35
36
|
openWindow,
|
|
36
|
-
Configuration,
|
|
37
37
|
CoreLib
|
|
38
38
|
) {
|
|
39
39
|
"use strict";
|
|
@@ -60,7 +60,7 @@ function(
|
|
|
60
60
|
* @extends sap.m.ListItemBase
|
|
61
61
|
*
|
|
62
62
|
* @author SAP SE
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.121.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -332,7 +332,7 @@ function(
|
|
|
332
332
|
return;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
sTheme =
|
|
335
|
+
sTheme = Theming.getTheme();
|
|
336
336
|
oActionSheetPopover = event.getSource().getParent();
|
|
337
337
|
oActionSheetPopover.removeStyleClass("sapContrast sapContrastPlus");
|
|
338
338
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for the sap.m.FeedListItem
|
|
8
|
-
sap.ui.define(["./ListItemBaseRenderer", "sap/
|
|
9
|
-
function(ListItemBaseRenderer, Renderer, Device
|
|
8
|
+
sap.ui.define(["./ListItemBaseRenderer", "sap/base/i18n/Localization", "sap/ui/core/Renderer", "sap/ui/Device"],
|
|
9
|
+
function(ListItemBaseRenderer, Localization, Renderer, Device) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -126,7 +126,7 @@ sap.ui.define(["./ListItemBaseRenderer", "sap/ui/core/Renderer", "sap/ui/Device"
|
|
|
126
126
|
if (oControl.getInfo() || oControl.getTimestamp()) {
|
|
127
127
|
// info and date
|
|
128
128
|
oRm.openStart('p').class("sapMFeedListItemFooter").class("sapUiSelectable").openEnd();
|
|
129
|
-
if (!
|
|
129
|
+
if (!Localization.getRTL()) {
|
|
130
130
|
if (oControl.getInfo()) {
|
|
131
131
|
this._writeInfo(oRm, oControl, sMyId);
|
|
132
132
|
// Write Interpunct separator if necessary (with spaces before and after)
|
|
@@ -9,12 +9,12 @@ sap.ui.define([
|
|
|
9
9
|
'sap/ui/base/Object',
|
|
10
10
|
'sap/ui/base/EventProvider',
|
|
11
11
|
'sap/ui/base/ManagedObjectObserver',
|
|
12
|
-
"sap/ui/core/Core",
|
|
13
12
|
'sap/ui/Device',
|
|
14
13
|
"sap/base/Log",
|
|
14
|
+
"sap/ui/core/Element",
|
|
15
15
|
"sap/ui/thirdparty/jquery"
|
|
16
16
|
],
|
|
17
|
-
function(BaseObject, EventProvider, ManagedObjectObserver,
|
|
17
|
+
function(BaseObject, EventProvider, ManagedObjectObserver, Device, Log, Element, jQuery) {
|
|
18
18
|
"use strict";
|
|
19
19
|
|
|
20
20
|
var oEventProvider = new EventProvider(),
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* @class text
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.121.0
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.38
|
|
34
34
|
* @alias HeaderAdapter
|
|
@@ -228,7 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
* Constructor for an sap.m.Fiori20Adapter.
|
|
229
229
|
*
|
|
230
230
|
* @class text
|
|
231
|
-
* @version 1.
|
|
231
|
+
* @version 1.121.0
|
|
232
232
|
* @private
|
|
233
233
|
* @since 1.38
|
|
234
234
|
* @alias sap.m.Fiori20Adapter
|
|
@@ -263,7 +263,7 @@ sap.ui.define([
|
|
|
263
263
|
}]);
|
|
264
264
|
|
|
265
265
|
var sCurrentViewId = this._getCurrentlyAdaptedTopViewId();
|
|
266
|
-
if (sCurrentViewId &&
|
|
266
|
+
if (sCurrentViewId && Element.getElementById(sCurrentViewId)) {
|
|
267
267
|
this._fireViewChange(sCurrentViewId, oAdaptOptions);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
@@ -412,7 +412,7 @@ sap.ui.define([
|
|
|
412
412
|
oAdaptOptions: oAdaptOptions
|
|
413
413
|
}]);
|
|
414
414
|
sCurrentViewId = this._getCurrentlyAdaptedTopViewId();
|
|
415
|
-
if (sCurrentViewId &&
|
|
415
|
+
if (sCurrentViewId && Element.getElementById(sCurrentViewId)) {
|
|
416
416
|
this._fireViewChange(sCurrentViewId, oAdaptOptions);
|
|
417
417
|
}
|
|
418
418
|
}.bind(this);
|
|
@@ -443,7 +443,7 @@ sap.ui.define([
|
|
|
443
443
|
oAdaptOptions: oAdaptOptions
|
|
444
444
|
}]);
|
|
445
445
|
sCurrentViewId = this._getCurrentlyAdaptedTopViewId();
|
|
446
|
-
if (sCurrentViewId &&
|
|
446
|
+
if (sCurrentViewId && Element.getElementById(sCurrentViewId)) {
|
|
447
447
|
this._fireViewChange(sCurrentViewId, oAdaptOptions);
|
|
448
448
|
}
|
|
449
449
|
}.bind(this);
|
|
@@ -473,7 +473,7 @@ sap.ui.define([
|
|
|
473
473
|
oAdaptOptions: oAdaptOptions
|
|
474
474
|
}]);
|
|
475
475
|
sCurrentViewId = this._getCurrentlyAdaptedTopViewId();
|
|
476
|
-
if (sCurrentViewId &&
|
|
476
|
+
if (sCurrentViewId && Element.getElementById(sCurrentViewId)) {
|
|
477
477
|
this._fireViewChange(sCurrentViewId, oAdaptOptions);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
@@ -583,7 +583,7 @@ sap.ui.define([
|
|
|
583
583
|
};
|
|
584
584
|
|
|
585
585
|
Fiori20Adapter._getTotalCachedInfoToMerge = function(sViewId) {
|
|
586
|
-
var oView =
|
|
586
|
+
var oView = Element.getElementById(sViewId),
|
|
587
587
|
oCachedViewInfo = this._getCachedViewInfoToMerge(sViewId),
|
|
588
588
|
isMasterView,
|
|
589
589
|
isDetailView,
|
package/src/sap/m/FlexBox.js
CHANGED
|
@@ -62,7 +62,7 @@ function(
|
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.121.0
|
|
66
66
|
*
|
|
67
67
|
* @public
|
|
68
68
|
* @alias sap.m.FlexBox
|
|
@@ -277,7 +277,7 @@ function(
|
|
|
277
277
|
* Sets the render type of the FlexBox.
|
|
278
278
|
*
|
|
279
279
|
* @public
|
|
280
|
-
* @param {
|
|
280
|
+
* @param {sap.m.FlexRendertype} sValue Render type in string format.
|
|
281
281
|
* @returns {this} <code>this</code> FlexBox reference for chaining.
|
|
282
282
|
*/
|
|
283
283
|
FlexBox.prototype.setRenderType = function(sValue) {
|
|
@@ -24,7 +24,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
24
24
|
* @class
|
|
25
25
|
* Holds layout data for a FlexBox / HBox / VBox.
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.121.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -116,7 +116,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
116
116
|
* Sets the <code>alignSelf</code> property.
|
|
117
117
|
*
|
|
118
118
|
* @public
|
|
119
|
-
* @param {
|
|
119
|
+
* @param {sap.m.FlexAlignSelf} sValue Align option.
|
|
120
120
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
121
121
|
*/
|
|
122
122
|
FlexItemData.prototype.setAlignSelf = function(sValue) {
|
|
@@ -131,11 +131,11 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
131
131
|
* Sets the order.
|
|
132
132
|
*
|
|
133
133
|
* @public
|
|
134
|
-
* @param {
|
|
134
|
+
* @param {int} iValue Order in integer format.
|
|
135
135
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
136
136
|
*/
|
|
137
|
-
FlexItemData.prototype.setOrder = function(
|
|
138
|
-
this.setProperty("order",
|
|
137
|
+
FlexItemData.prototype.setOrder = function(iValue) {
|
|
138
|
+
this.setProperty("order", iValue, true);
|
|
139
139
|
FlexBoxStylingHelper.setStyle(null, this, "order", this.getOrder());
|
|
140
140
|
|
|
141
141
|
return this;
|
|
@@ -145,11 +145,11 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
145
145
|
* Sets the <code>growFactor</code> property.
|
|
146
146
|
*
|
|
147
147
|
* @public
|
|
148
|
-
* @param {
|
|
148
|
+
* @param {float} fValue Grow factor as a number.
|
|
149
149
|
* @returns {this} this FlexItemData reference for chaining.
|
|
150
150
|
*/
|
|
151
|
-
FlexItemData.prototype.setGrowFactor = function(
|
|
152
|
-
this.setProperty("growFactor",
|
|
151
|
+
FlexItemData.prototype.setGrowFactor = function(fValue) {
|
|
152
|
+
this.setProperty("growFactor", fValue, true);
|
|
153
153
|
FlexBoxStylingHelper.setStyle(null, this, "flex-grow", this.getGrowFactor());
|
|
154
154
|
|
|
155
155
|
return this;
|
|
@@ -159,12 +159,12 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
159
159
|
* Sets the <code>shrinkFactor</code> property.
|
|
160
160
|
*
|
|
161
161
|
* @public
|
|
162
|
-
* @param {
|
|
162
|
+
* @param {float} fValue Shrink factor as a number.
|
|
163
163
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
164
164
|
* @see https://www.w3.org/TR/css-flexbox-1/#propdef-flex-shrink
|
|
165
165
|
*/
|
|
166
|
-
FlexItemData.prototype.setShrinkFactor = function(
|
|
167
|
-
this.setProperty("shrinkFactor",
|
|
166
|
+
FlexItemData.prototype.setShrinkFactor = function(fValue) {
|
|
167
|
+
this.setProperty("shrinkFactor", fValue, true);
|
|
168
168
|
FlexBoxStylingHelper.setStyle(null, this, "flex-shrink", this.getShrinkFactor());
|
|
169
169
|
|
|
170
170
|
return this;
|
|
@@ -174,7 +174,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
174
174
|
* Sets the base size for flex items.
|
|
175
175
|
*
|
|
176
176
|
* @public
|
|
177
|
-
* @param {
|
|
177
|
+
* @param {sap.ui.core.CSSSize} sValue Base size in string format.
|
|
178
178
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
179
179
|
*/
|
|
180
180
|
FlexItemData.prototype.setBaseSize = function(sValue) {
|
|
@@ -188,7 +188,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
188
188
|
* Sets minimum height.
|
|
189
189
|
*
|
|
190
190
|
* @public
|
|
191
|
-
* @param {
|
|
191
|
+
* @param {sap.ui.core.CSSSize} sValue Minimum height in string format.
|
|
192
192
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
193
193
|
*/
|
|
194
194
|
FlexItemData.prototype.setMinHeight = function(sValue) {
|
|
@@ -202,7 +202,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
202
202
|
* Sets maximum height.
|
|
203
203
|
*
|
|
204
204
|
* @public
|
|
205
|
-
* @param {
|
|
205
|
+
* @param {sap.ui.core.CSSSize} sValue Maximum height in string format.
|
|
206
206
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
207
207
|
*/
|
|
208
208
|
FlexItemData.prototype.setMaxHeight = function(sValue) {
|
|
@@ -216,7 +216,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
216
216
|
* Sets minimum width.
|
|
217
217
|
*
|
|
218
218
|
* @public
|
|
219
|
-
* @param {
|
|
219
|
+
* @param {sap.ui.core.CSSSize} sValue Minimum width in string format.
|
|
220
220
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
221
221
|
*/
|
|
222
222
|
FlexItemData.prototype.setMinWidth = function(sValue) {
|
|
@@ -230,7 +230,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
230
230
|
* Sets maximum width.
|
|
231
231
|
*
|
|
232
232
|
* @public
|
|
233
|
-
* @param {
|
|
233
|
+
* @param {sap.ui.core.CSSSize} sValue Maximum width in string format.
|
|
234
234
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
235
235
|
*/
|
|
236
236
|
FlexItemData.prototype.setMaxWidth = function(sValue) {
|
|
@@ -244,7 +244,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
244
244
|
* Sets background design for flex items.
|
|
245
245
|
*
|
|
246
246
|
* @public
|
|
247
|
-
* @param {
|
|
247
|
+
* @param {sap.m.BackgroundDesign} sValue Background design in string format.
|
|
248
248
|
* @returns {this} <code>this</code> FlexItemData reference for chaining.
|
|
249
249
|
*/
|
|
250
250
|
FlexItemData.prototype.setBackgroundDesign = function(sValue) {
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// Provides control sap.m.FormattedText.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
|
+
"sap/ui/core/Element",
|
|
10
11
|
'sap/ui/core/library',
|
|
11
12
|
'sap/ui/core/Control',
|
|
12
13
|
'./FormattedTextAnchorGenerator',
|
|
@@ -14,11 +15,11 @@ sap.ui.define([
|
|
|
14
15
|
"sap/base/Log",
|
|
15
16
|
"sap/base/security/URLListValidator",
|
|
16
17
|
"sap/base/security/sanitizeHTML",
|
|
17
|
-
"sap/ui/util/openWindow"
|
|
18
|
-
'sap/ui/core/Core'
|
|
18
|
+
"sap/ui/util/openWindow"
|
|
19
19
|
],
|
|
20
20
|
function(
|
|
21
21
|
library,
|
|
22
|
+
Element,
|
|
22
23
|
coreLibrary,
|
|
23
24
|
Control,
|
|
24
25
|
FormattedTextAnchorGenerator,
|
|
@@ -26,8 +27,7 @@ function(
|
|
|
26
27
|
Log,
|
|
27
28
|
URLListValidator,
|
|
28
29
|
sanitizeHTML0,
|
|
29
|
-
openWindow
|
|
30
|
-
Core
|
|
30
|
+
openWindow
|
|
31
31
|
) {
|
|
32
32
|
"use strict";
|
|
33
33
|
|
|
@@ -46,7 +46,7 @@ function(
|
|
|
46
46
|
* @class
|
|
47
47
|
* The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.121.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -169,6 +169,7 @@ function(
|
|
|
169
169
|
'class' : 1,
|
|
170
170
|
'a::href' : 1,
|
|
171
171
|
'a::target' : 1,
|
|
172
|
+
'a::title' : 1,
|
|
172
173
|
'dir' : 1
|
|
173
174
|
},
|
|
174
175
|
// rules for the allowed tags
|
|
@@ -329,7 +330,7 @@ function(
|
|
|
329
330
|
return;
|
|
330
331
|
}
|
|
331
332
|
oEvent.preventDefault();
|
|
332
|
-
var oLink =
|
|
333
|
+
var oLink = Element.getElementById(oEvent.currentTarget.id);
|
|
333
334
|
if (oLink && oLink.isA('sap.m.Link') && (oLink.getAccessibleRole() === library.LinkAccessibleRole.Button || !oLink.getHref())) {
|
|
334
335
|
return;
|
|
335
336
|
}
|
package/src/sap/m/GenericTag.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"./library",
|
|
9
|
-
"sap/ui/core/
|
|
10
|
-
"sap/ui/core/
|
|
11
|
-
], function(library,
|
|
9
|
+
"sap/ui/core/Lib",
|
|
10
|
+
"sap/ui/core/library"
|
|
11
|
+
], function(library, Library, coreLibrary) {
|
|
12
12
|
"use strict";
|
|
13
13
|
//shortcut for sap.m.GenericTagDesign
|
|
14
14
|
var GenericTagDesign = library.GenericTagDesign,
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
|
|
32
32
|
GenericTagRenderer.render = function(oRm, oControl) {
|
|
33
33
|
var aLabelledBy = this._getAriaLabelledBy(oControl),
|
|
34
|
-
oResourceBundle =
|
|
34
|
+
oResourceBundle = Library.getResourceBundleFor("sap.m"),
|
|
35
35
|
sTooltip = oControl.getTooltip_AsString();
|
|
36
36
|
|
|
37
37
|
oRm.openStart("div", oControl);
|
|
@@ -127,7 +127,7 @@ sap.ui.define([
|
|
|
127
127
|
};
|
|
128
128
|
|
|
129
129
|
GenericTagRenderer._getGenericTagStatusText = function(oControl) {
|
|
130
|
-
var oResourceBundle =
|
|
130
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.m"),
|
|
131
131
|
sARIAStatusText;
|
|
132
132
|
|
|
133
133
|
switch (oControl.getStatus()) {
|