@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
package/src/sap/m/Text.js
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
// Provides control sap.m.Text
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
|
-
|
|
10
|
+
"sap/base/i18n/Localization",
|
|
11
11
|
'sap/ui/core/Control',
|
|
12
12
|
'sap/ui/core/library',
|
|
13
13
|
'sap/ui/Device',
|
|
14
14
|
'sap/m/HyphenationSupport',
|
|
15
15
|
"./TextRenderer"
|
|
16
16
|
],
|
|
17
|
-
function(library,
|
|
17
|
+
function(library, Localization, Control, coreLibrary, Device, HyphenationSupport, TextRenderer) {
|
|
18
18
|
"use strict";
|
|
19
19
|
|
|
20
20
|
// shortcut for sap.ui.core.TextAlign
|
|
@@ -53,8 +53,13 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
53
53
|
* @extends sap.ui.core.Control
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
|
|
57
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
|
|
58
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
|
|
59
|
+
* @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
|
|
60
|
+
*
|
|
56
61
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
62
|
+
* @version 1.121.0
|
|
58
63
|
*
|
|
59
64
|
* @constructor
|
|
60
65
|
* @public
|
|
@@ -113,7 +118,6 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
113
118
|
/**
|
|
114
119
|
* Limits the number of lines for wrapping texts.
|
|
115
120
|
*
|
|
116
|
-
* <b>Note</b>: The multi-line overflow indicator depends on the browser line clamping support. For such browsers, this will be shown as ellipsis, for the other browsers the overflow will just be hidden.
|
|
117
121
|
* @since 1.13.2
|
|
118
122
|
*/
|
|
119
123
|
maxLines: { type: "int", group: "Appearance", defaultValue: null },
|
|
@@ -150,6 +154,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
150
154
|
* @since 1.22
|
|
151
155
|
* @protected
|
|
152
156
|
* @type {int}
|
|
157
|
+
* @deprecated As of version 1.121.
|
|
153
158
|
*/
|
|
154
159
|
Text.prototype.normalLineHeight = 1.2;
|
|
155
160
|
|
|
@@ -161,6 +166,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
161
166
|
* @since 1.22
|
|
162
167
|
* @protected
|
|
163
168
|
* @type {boolean}
|
|
169
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
164
170
|
*/
|
|
165
171
|
Text.prototype.cacheLineHeight = true;
|
|
166
172
|
|
|
@@ -172,6 +178,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
172
178
|
* @since 1.13.2
|
|
173
179
|
* @protected
|
|
174
180
|
* @type {string}
|
|
181
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
175
182
|
*/
|
|
176
183
|
Text.prototype.ellipsis = '...';
|
|
177
184
|
|
|
@@ -183,6 +190,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
183
190
|
* @protected
|
|
184
191
|
* @readonly
|
|
185
192
|
* @static
|
|
193
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
186
194
|
*/
|
|
187
195
|
Text.hasNativeLineClamp = ("webkitLineClamp" in document.documentElement.style);
|
|
188
196
|
|
|
@@ -194,6 +202,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
194
202
|
* @param {HTMLElement} oDomRef DOM reference of the text node container.
|
|
195
203
|
* @param {string} [sNodeValue] new Node value.
|
|
196
204
|
* @since 1.30.3
|
|
205
|
+
* @deprecated As of version 1.121. Since native line clamp is now available in all supported browsers and the renderer uses <code>apiVersion: 2</code>, this method is no longer needed.
|
|
197
206
|
*/
|
|
198
207
|
Text.setNodeValue = function (oDomRef, sNodeValue) {
|
|
199
208
|
sNodeValue = sNodeValue || "";
|
|
@@ -209,7 +218,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
209
218
|
* Gets the text.
|
|
210
219
|
*
|
|
211
220
|
* @public
|
|
212
|
-
* @param {boolean} bNormalize Indication for normalized text.
|
|
221
|
+
* @param {boolean} [bNormalize] Indication for normalized text.
|
|
213
222
|
* @returns {string} Text value.
|
|
214
223
|
*/
|
|
215
224
|
Text.prototype.getText = function (bNormalize) {
|
|
@@ -223,39 +232,6 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
223
232
|
|
|
224
233
|
return sText;
|
|
225
234
|
};
|
|
226
|
-
/**
|
|
227
|
-
* Overwrites onAfterRendering
|
|
228
|
-
*
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
|
-
Text.prototype.onAfterRendering = function () {
|
|
232
|
-
// required adaptations after rendering
|
|
233
|
-
// check visible, max-lines and line-clamping support
|
|
234
|
-
if (this.getVisible() &&
|
|
235
|
-
this.hasMaxLines() &&
|
|
236
|
-
!this.canUseNativeLineClamp()) {
|
|
237
|
-
|
|
238
|
-
if (Core.isThemeApplied()) {
|
|
239
|
-
// set max-height for maxLines support
|
|
240
|
-
this.clampHeight();
|
|
241
|
-
} else {
|
|
242
|
-
Core.attachThemeChanged(this._handleThemeLoad, this);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Fired when the theme is loaded
|
|
249
|
-
*
|
|
250
|
-
* @private
|
|
251
|
-
*/
|
|
252
|
-
Text.prototype._handleThemeLoad = function() {
|
|
253
|
-
|
|
254
|
-
// set max-height for maxLines support
|
|
255
|
-
this.clampHeight();
|
|
256
|
-
|
|
257
|
-
Core.detachThemeChanged(this._handleThemeLoad, this);
|
|
258
|
-
};
|
|
259
235
|
|
|
260
236
|
/**
|
|
261
237
|
* Determines whether max lines should be rendered or not.
|
|
@@ -296,6 +272,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
296
272
|
* @since 1.20
|
|
297
273
|
* @protected
|
|
298
274
|
* @return {boolean}
|
|
275
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
299
276
|
*/
|
|
300
277
|
Text.prototype.canUseNativeLineClamp = function () {
|
|
301
278
|
// has line clamp feature
|
|
@@ -309,7 +286,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
309
286
|
}
|
|
310
287
|
|
|
311
288
|
// is text direction inherited as rtl
|
|
312
|
-
if (this.getTextDirection() == TextDirection.Inherit &&
|
|
289
|
+
if (this.getTextDirection() == TextDirection.Inherit && Localization.getRTL()) {
|
|
313
290
|
return false;
|
|
314
291
|
}
|
|
315
292
|
|
|
@@ -324,6 +301,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
324
301
|
* @returns {int} returns calculated line height
|
|
325
302
|
* @see sap.m.Text#cacheLineHeight
|
|
326
303
|
* @since 1.22
|
|
304
|
+
* @deprecated As of version 1.121
|
|
327
305
|
*/
|
|
328
306
|
Text.prototype.getLineHeight = function (oDomRef) {
|
|
329
307
|
// return cached value if possible and available
|
|
@@ -377,6 +355,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
377
355
|
* @param {HTMLElement} [oDomRef] DOM reference of the text container.
|
|
378
356
|
* @returns {int} The clamp height of the text.
|
|
379
357
|
* @since 1.22
|
|
358
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
380
359
|
*/
|
|
381
360
|
Text.prototype.getClampHeight = function (oDomRef) {
|
|
382
361
|
oDomRef = oDomRef || this.getTextDomRef();
|
|
@@ -390,6 +369,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
390
369
|
* @param {HTMLElement} [oDomRef] DOM reference of the text container.
|
|
391
370
|
* @returns {int} Calculated max height value.
|
|
392
371
|
* @since 1.22
|
|
372
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
393
373
|
*/
|
|
394
374
|
Text.prototype.clampHeight = function (oDomRef) {
|
|
395
375
|
oDomRef = oDomRef || this.getTextDomRef();
|
|
@@ -416,6 +396,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
416
396
|
* @param {int} [iEndPos] End point of the ellipsis search.
|
|
417
397
|
* @returns {int|undefined} Returns found ellipsis position or <code>undefined</code>.
|
|
418
398
|
* @since 1.20
|
|
399
|
+
* @deprecated As of version 1.121. Native line clamp is now available in all supported browsers.
|
|
419
400
|
*/
|
|
420
401
|
Text.prototype.clampText = function (oDomRef, iStartPos, iEndPos) {
|
|
421
402
|
// check DOM reference
|
|
@@ -528,6 +509,22 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
528
509
|
};
|
|
529
510
|
};
|
|
530
511
|
|
|
512
|
+
Text.prototype.getFormFormattedValue = function () {
|
|
513
|
+
return this.getText();
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
Text.prototype.getFormValueProperty = function () {
|
|
517
|
+
return "text";
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
Text.prototype.getFormObservingProperties = function() {
|
|
521
|
+
return ["text"];
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
Text.prototype.getFormRenderAsControl = function () {
|
|
525
|
+
return true;
|
|
526
|
+
};
|
|
527
|
+
|
|
531
528
|
// Add hyphenation to Text functionality
|
|
532
529
|
HyphenationSupport.mixInto(Text.prototype);
|
|
533
530
|
|
package/src/sap/m/TextArea.js
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./InputBase',
|
|
10
10
|
'./Text',
|
|
11
|
+
"sap/ui/core/Lib",
|
|
11
12
|
'sap/ui/core/ResizeHandler',
|
|
12
13
|
'./library',
|
|
13
14
|
'sap/ui/core/library',
|
|
@@ -21,6 +22,7 @@ sap.ui.define([
|
|
|
21
22
|
function(
|
|
22
23
|
InputBase,
|
|
23
24
|
Text,
|
|
25
|
+
Lib,
|
|
24
26
|
ResizeHandler,
|
|
25
27
|
library,
|
|
26
28
|
coreLibrary,
|
|
@@ -84,7 +86,7 @@ function(
|
|
|
84
86
|
* @extends sap.m.InputBase
|
|
85
87
|
*
|
|
86
88
|
* @author SAP SE
|
|
87
|
-
* @version 1.
|
|
89
|
+
* @version 1.121.0
|
|
88
90
|
*
|
|
89
91
|
* @constructor
|
|
90
92
|
* @public
|
|
@@ -307,7 +309,7 @@ function(
|
|
|
307
309
|
*/
|
|
308
310
|
TextArea.prototype._setGrowingMaxHeight = function () {
|
|
309
311
|
var oHiddenDiv = this.getDomRef('hidden'),
|
|
310
|
-
oLoadedLibraries =
|
|
312
|
+
oLoadedLibraries = Lib.all(),
|
|
311
313
|
fLineHeight,
|
|
312
314
|
fMaxHeight,
|
|
313
315
|
oStyle;
|
|
@@ -599,7 +601,7 @@ function(
|
|
|
599
601
|
};
|
|
600
602
|
|
|
601
603
|
TextArea.prototype._getCounterValue = function () {
|
|
602
|
-
var oBundle =
|
|
604
|
+
var oBundle = Lib.getResourceBundleFor("sap.m"),
|
|
603
605
|
iCharactersExceeded = this.getMaxLength() - this.getValue().length,
|
|
604
606
|
bExceeded = (iCharactersExceeded < 0 ? true : false),
|
|
605
607
|
sMessageBundleKey = "TEXTAREA_CHARACTER" + ( Math.abs(iCharactersExceeded) === 1 ? "" : "S") + "_" + (bExceeded ? "EXCEEDED" : "LEFT");
|
|
@@ -122,13 +122,8 @@ sap.ui.define([
|
|
|
122
122
|
TextRenderer.renderMaxLines = function(oRm, oText) {
|
|
123
123
|
oRm.openStart("span", oText.getId() + "-inner");
|
|
124
124
|
oRm.class("sapMTextMaxLine");
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
if (oText.canUseNativeLineClamp()) {
|
|
128
|
-
oRm.class("sapMTextLineClamp");
|
|
129
|
-
oRm.style("-webkit-line-clamp", oText.getMaxLines());
|
|
130
|
-
}
|
|
131
|
-
|
|
125
|
+
oRm.class("sapMTextLineClamp");
|
|
126
|
+
oRm.style("-webkit-line-clamp", oText.getMaxLines());
|
|
132
127
|
oRm.openEnd();
|
|
133
128
|
this.renderText(oRm, oText);
|
|
134
129
|
oRm.close("span");
|
package/src/sap/m/Tile.js
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
'sap/ui/core/Control',
|
|
9
|
+
'sap/m/TileAttributeRenderer'
|
|
10
|
+
], function (
|
|
11
|
+
Control,
|
|
12
|
+
TileAttributeRenderer
|
|
13
|
+
) {
|
|
14
|
+
"use strict";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Constructor for a new TileAttribute.
|
|
18
|
+
*
|
|
19
|
+
* @class
|
|
20
|
+
* Holds details of an attribute used in the ActionTile.
|
|
21
|
+
*
|
|
22
|
+
* @extends sap.ui.core.Control
|
|
23
|
+
*
|
|
24
|
+
* @constructor
|
|
25
|
+
* @private
|
|
26
|
+
* @since 1.107.0
|
|
27
|
+
* @alias sap.m.TileAttribute
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
var TileAttribute = Control.extend("sap.m.TileAttribute", /** @lends sap.m.TileAttribute.prototype */{
|
|
31
|
+
metadata: {
|
|
32
|
+
library: "sap.m",
|
|
33
|
+
properties: {
|
|
34
|
+
/**
|
|
35
|
+
* key of the attribute that identifies its position, if the attribute is rendered as a group.
|
|
36
|
+
*/
|
|
37
|
+
key: {
|
|
38
|
+
type:"int",group:"Misc",defaultValue:0
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* Label of the attribute. If set to null, the label is not displayed.
|
|
42
|
+
*/
|
|
43
|
+
label: {
|
|
44
|
+
type: "string", group: "Misc", defaultValue: null
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
defaultAggregation: "contentConfig",
|
|
48
|
+
aggregations: {
|
|
49
|
+
/**
|
|
50
|
+
* LinkTileContent is being added to the GenericTile, it is advised to use in TwoByOne frameType
|
|
51
|
+
*/
|
|
52
|
+
contentConfig: {type: "sap.m.ContentConfig", multiple: false,bindable: "bindable"}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
renderer: {
|
|
56
|
+
apiVersion: 2,
|
|
57
|
+
render: function(oRm, oControl) {
|
|
58
|
+
TileAttributeRenderer.render(oRm,oControl);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
return TileAttribute;
|
|
64
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([],
|
|
8
|
+
function() {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* TileAttributeRenderer
|
|
13
|
+
* @namespace
|
|
14
|
+
*/
|
|
15
|
+
var TileAttributeRenderer = {
|
|
16
|
+
apiVersion: 2 // enable in-place DOM patching
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
21
|
+
*
|
|
22
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
23
|
+
* @param {sap.m.ActionTileContent} oControl An object representation of the control that is rendered
|
|
24
|
+
*/
|
|
25
|
+
TileAttributeRenderer.render = function(oRm, oControl) {
|
|
26
|
+
oRm.openStart("div",oControl.getId());
|
|
27
|
+
oRm.class("sapMElementWrapper");
|
|
28
|
+
oRm.openEnd();
|
|
29
|
+
this._renderLabel(oRm,oControl);
|
|
30
|
+
this._renderValue(oRm,oControl);
|
|
31
|
+
oRm.close("div");
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Renders label and value properties inside the TileAttribute
|
|
36
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
37
|
+
* @param {sap.m.ActionTileContent} oControl The control that is rendered
|
|
38
|
+
* @private
|
|
39
|
+
*/
|
|
40
|
+
TileAttributeRenderer._renderLabel = function(oRm, oControl) {
|
|
41
|
+
var sClassName = "sapMATCLabel",
|
|
42
|
+
sId = "-label",
|
|
43
|
+
sText = oControl.getLabel();
|
|
44
|
+
oRm.openStart("div", oControl.getId() + "-" + sId);
|
|
45
|
+
oRm.class(sClassName);
|
|
46
|
+
oRm.openEnd();
|
|
47
|
+
oRm.text(sText);
|
|
48
|
+
oRm.close("div");
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Renders label and value properties inside the TileAttribute
|
|
53
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
54
|
+
* @param {sap.m.ActionTileContent} oControl The control that is rendered
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
TileAttributeRenderer._renderValue = function(oRm, oControl) {
|
|
58
|
+
var sClassName = "sapMATCValue",
|
|
59
|
+
sId = "-value";
|
|
60
|
+
oRm.openStart("div", oControl.getId() + "-" + sId);
|
|
61
|
+
oRm.class(sClassName);
|
|
62
|
+
oRm.openEnd();
|
|
63
|
+
var oConfig = oControl.getContentConfig();
|
|
64
|
+
if (oConfig) {
|
|
65
|
+
oRm.renderControl(oConfig._getConfigInstance());
|
|
66
|
+
}
|
|
67
|
+
oRm.close("div");
|
|
68
|
+
};
|
|
69
|
+
return TileAttributeRenderer;
|
|
70
|
+
}, /* bExport= */ true);
|
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
// Provides control sap.m.TileContainer.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
|
+
"sap/base/i18n/Localization",
|
|
10
11
|
'sap/ui/core/Control',
|
|
11
|
-
'sap/ui/core/Core',
|
|
12
12
|
'sap/ui/core/Element',
|
|
13
13
|
'sap/ui/core/IconPool',
|
|
14
14
|
'sap/ui/Device',
|
|
15
|
+
"sap/ui/core/RenderManager",
|
|
15
16
|
'sap/ui/core/ResizeHandler',
|
|
16
17
|
'./TileContainerRenderer',
|
|
17
18
|
"sap/base/Log",
|
|
@@ -21,11 +22,12 @@ sap.ui.define([
|
|
|
21
22
|
],
|
|
22
23
|
function(
|
|
23
24
|
library,
|
|
25
|
+
Localization,
|
|
24
26
|
Control,
|
|
25
|
-
oCore,
|
|
26
27
|
Element,
|
|
27
28
|
IconPool,
|
|
28
29
|
Device,
|
|
30
|
+
RenderManager,
|
|
29
31
|
ResizeHandler,
|
|
30
32
|
TileContainerRenderer,
|
|
31
33
|
Log,
|
|
@@ -46,7 +48,7 @@ function(
|
|
|
46
48
|
* @extends sap.ui.core.Control
|
|
47
49
|
*
|
|
48
50
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
51
|
+
* @version 1.121.0
|
|
50
52
|
*
|
|
51
53
|
* @constructor
|
|
52
54
|
* @public
|
|
@@ -135,7 +137,7 @@ function(
|
|
|
135
137
|
|
|
136
138
|
IconPool.insertFontFaceStyle();
|
|
137
139
|
|
|
138
|
-
TileContainer.prototype._bRtl =
|
|
140
|
+
TileContainer.prototype._bRtl = Localization.getRTL();
|
|
139
141
|
|
|
140
142
|
/**
|
|
141
143
|
* Initializes the control.
|
|
@@ -424,7 +426,7 @@ function(
|
|
|
424
426
|
}
|
|
425
427
|
this._oTileDimensionCalculator = new TileDimensionCalculator(this);
|
|
426
428
|
|
|
427
|
-
this._bRtl =
|
|
429
|
+
this._bRtl = Localization.getRTL();
|
|
428
430
|
//Keeps info about the current page and total page count. In addition the old(previous) values of the same are kept.
|
|
429
431
|
this._oPagesInfo = (function (bRightToLeftMode) {
|
|
430
432
|
var iCurrentPage, iCount,
|
|
@@ -1028,9 +1030,9 @@ function(
|
|
|
1028
1030
|
return this;
|
|
1029
1031
|
};
|
|
1030
1032
|
|
|
1031
|
-
TileContainer.prototype.
|
|
1033
|
+
TileContainer.prototype.invalidate = function() {
|
|
1032
1034
|
if (!this._oDragSession || this._oDragSession.bDropped) {
|
|
1033
|
-
Control.prototype.
|
|
1035
|
+
Control.prototype.invalidate.apply(this);
|
|
1034
1036
|
}
|
|
1035
1037
|
};
|
|
1036
1038
|
|
|
@@ -1990,7 +1992,7 @@ function(
|
|
|
1990
1992
|
* @private
|
|
1991
1993
|
*/
|
|
1992
1994
|
TileContainer.prototype._renderTile = function(oTile, iIndex) {
|
|
1993
|
-
var oRm =
|
|
1995
|
+
var oRm = new RenderManager().getInterface(),
|
|
1994
1996
|
oContent = this.$("cnt")[0];
|
|
1995
1997
|
|
|
1996
1998
|
oRm.renderControl(oTile);
|
package/src/sap/m/TileContent.js
CHANGED
|
@@ -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(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './TileContentRenderer', 'sap/ui/core/
|
|
8
|
-
function(library, Core, Control, TileContentRenderer,
|
|
7
|
+
sap.ui.define(['./library', "sap/base/i18n/Localization", 'sap/ui/core/library', 'sap/ui/core/Control', './TileContentRenderer', 'sap/ui/core/Lib'],
|
|
8
|
+
function(library, Localization, Core, Control, TileContentRenderer, CoreLib) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
var Priority = library.Priority;
|
|
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.121.0
|
|
28
28
|
* @since 1.34.0
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
@@ -136,6 +136,10 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
136
136
|
TileContent.prototype.onAfterRendering = function() {
|
|
137
137
|
var oContent = this.getContent();
|
|
138
138
|
if (oContent) {
|
|
139
|
+
const oParent = this.getParent();
|
|
140
|
+
if (oParent && oParent.isA("sap.m.GenericTile") ) {
|
|
141
|
+
oParent._applyCssStyle(this);
|
|
142
|
+
}
|
|
139
143
|
var thisRef = this.$();
|
|
140
144
|
var aTooltipEments = thisRef.find("*");
|
|
141
145
|
// tooltip of the entire tile
|
|
@@ -206,7 +210,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
206
210
|
var sUnit = this.getUnit();
|
|
207
211
|
if (sUnit) {
|
|
208
212
|
if (sFooter) {
|
|
209
|
-
if (
|
|
213
|
+
if (Localization.getRTL()) {
|
|
210
214
|
return resourceBundle.getText('TILECONTENT_FOOTER_TEXT', [sFooter, sUnit]);
|
|
211
215
|
} else {
|
|
212
216
|
return resourceBundle.getText('TILECONTENT_FOOTER_TEXT', [sUnit, sFooter]);
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for control sap.m.Text
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
"sap/ui/core/
|
|
9
|
+
"sap/ui/core/Lib"
|
|
10
10
|
],
|
|
11
|
-
function(
|
|
11
|
+
function(Library) {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @param {sap.m.Tile} oControl An object representation of the control that should be rendered
|
|
27
27
|
*/
|
|
28
28
|
TileRenderer.render = function(rm, oControl) {
|
|
29
|
-
var oRB =
|
|
29
|
+
var oRB = Library.getResourceBundleFor("sap.m"),
|
|
30
30
|
oTileContainer,
|
|
31
31
|
aVisibleTiles;
|
|
32
32
|
|