@openui5/sap.m 1.90.10 → 1.90.13
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/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- 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 +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- 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 +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +6 -3
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- package/src/sap/m/ListItemBase.js +1 -1
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +28 -20
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.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 +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- 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 +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +3 -2
- package/src/sap/m/PDFViewerRenderer.js +10 -9
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- 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/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- 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 +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- 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 +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- 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 +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/library.js +9 -4
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/upload/UploadSet.js +7 -9
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/Uploader.js +1 -3
package/src/sap/m/Image.js
CHANGED
package/src/sap/m/Input.js
CHANGED
|
@@ -159,7 +159,7 @@ function(
|
|
|
159
159
|
*
|
|
160
160
|
* @extends sap.m.InputBase
|
|
161
161
|
* @author SAP SE
|
|
162
|
-
* @version 1.90.
|
|
162
|
+
* @version 1.90.13
|
|
163
163
|
*
|
|
164
164
|
* @constructor
|
|
165
165
|
* @public
|
|
@@ -563,6 +563,11 @@ function(
|
|
|
563
563
|
if (this.getId().indexOf("popup-input") === -1) {
|
|
564
564
|
this._createSuggestionsPopover();
|
|
565
565
|
}
|
|
566
|
+
|
|
567
|
+
// We need to set this to empty string as we are comparing it with sValue in the before rendering
|
|
568
|
+
// phase of the life cycle. Without this line, initially the condition fails and fires liveChange event
|
|
569
|
+
// even though there is no user input (check Input.prototype.onsapright).
|
|
570
|
+
this._setTypedInValue("");
|
|
566
571
|
};
|
|
567
572
|
|
|
568
573
|
/**
|
|
@@ -647,8 +652,6 @@ function(
|
|
|
647
652
|
this.setProperty("width", "100%", true);
|
|
648
653
|
}
|
|
649
654
|
|
|
650
|
-
this._resetTypeAhead();
|
|
651
|
-
|
|
652
655
|
if (this._hasTabularSuggestions()) {
|
|
653
656
|
this._getSuggestionsTable().setAutoPopinMode(this.getEnableTableAutoPopinMode());
|
|
654
657
|
this._getSuggestionsTable().setContextualWidth(this.getEnableTableAutoPopinMode() ? "Auto" : "Inherit");
|
package/src/sap/m/InputBase.js
CHANGED
package/src/sap/m/Label.js
CHANGED
package/src/sap/m/LightBox.js
CHANGED
package/src/sap/m/Link.js
CHANGED
package/src/sap/m/List.js
CHANGED
package/src/sap/m/ListBase.js
CHANGED
package/src/sap/m/MaskEnabler.js
CHANGED
package/src/sap/m/MaskInput.js
CHANGED
package/src/sap/m/Menu.js
CHANGED
package/src/sap/m/MenuButton.js
CHANGED
package/src/sap/m/MenuItem.js
CHANGED
package/src/sap/m/MessageItem.js
CHANGED
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* The message toast has the same behavior on all devices. However, you can adjust the width of the control, for example, for use on a desktop device.
|
|
71
71
|
*
|
|
72
72
|
* @author SAP SE
|
|
73
|
-
* @version 1.90.
|
|
73
|
+
* @version 1.90.13
|
|
74
74
|
*
|
|
75
75
|
* @namespace
|
|
76
76
|
* @public
|
package/src/sap/m/MessageView.js
CHANGED
|
@@ -112,7 +112,7 @@ sap.ui.define([
|
|
|
112
112
|
* The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
|
|
113
113
|
* container’s sizes are not defined.
|
|
114
114
|
* @author SAP SE
|
|
115
|
-
* @version 1.90.
|
|
115
|
+
* @version 1.90.13
|
|
116
116
|
*
|
|
117
117
|
* @extends sap.ui.core.Control
|
|
118
118
|
* @constructor
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/XMLComposite", "./library", "sap/ui/core/Item"], fun
|
|
|
17
17
|
* @implements sap.ui.core.IFormContent
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.90.
|
|
20
|
+
* @version 1.90.13
|
|
21
21
|
* @experimental since 1.52
|
|
22
22
|
* @since 1.52.0
|
|
23
23
|
* @alias sap.m.MultiEditField
|
package/src/sap/m/MultiInput.js
CHANGED
package/src/sap/m/NewsContent.js
CHANGED
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
107
|
*
|
|
108
108
|
* @author SAP SE
|
|
109
|
-
* @version 1.90.
|
|
109
|
+
* @version 1.90.13
|
|
110
110
|
* @since 1.34
|
|
111
111
|
*
|
|
112
112
|
* @public
|
|
@@ -122,37 +122,37 @@ sap.ui.define([
|
|
|
122
122
|
/**
|
|
123
123
|
* If set to true, the change of the value will be animated.
|
|
124
124
|
*/
|
|
125
|
-
"animateTextChange": {type: "boolean", group: "Behavior", defaultValue: true},
|
|
125
|
+
"animateTextChange": { type: "boolean", group: "Behavior", defaultValue: true },
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* If set to true, the value parameter contains a numeric value and scale. If set to false (default), the value parameter contains a numeric value only.
|
|
129
129
|
*/
|
|
130
|
-
"formatterValue": {type: "boolean", group: "Data", defaultValue: false},
|
|
130
|
+
"formatterValue": { type: "boolean", group: "Data", defaultValue: false },
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* The icon to be displayed as a graphical element within the control. This can be an image or an icon from the icon font.
|
|
134
134
|
*/
|
|
135
|
-
"icon": {type: "sap.ui.core.URI", group: "Appearance", defaultValue: null},
|
|
135
|
+
"icon": { type: "sap.ui.core.URI", group: "Appearance", defaultValue: null },
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Description of an icon that is used in the tooltip.
|
|
139
139
|
*/
|
|
140
|
-
"iconDescription": {type: "string", group: "Accessibility", defaultValue: null},
|
|
140
|
+
"iconDescription": { type: "string", group: "Accessibility", defaultValue: null },
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* The indicator arrow that shows value deviation.
|
|
144
144
|
*/
|
|
145
|
-
"indicator": {type: "sap.m.DeviationIndicator", group: "Appearance", defaultValue: "None"},
|
|
145
|
+
"indicator": { type: "sap.m.DeviationIndicator", group: "Appearance", defaultValue: "None" },
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* If set to true, the omitted value property is set to 0.
|
|
149
149
|
*/
|
|
150
|
-
"nullifyValue": {type: "boolean", group: "Behavior", defaultValue: true},
|
|
150
|
+
"nullifyValue": { type: "boolean", group: "Behavior", defaultValue: true },
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* The scaling prefix. Financial characters can be used for currencies and counters. The SI prefixes can be used for units. If the scaling prefix contains more than three characters, only the first three characters are displayed.
|
|
154
154
|
*/
|
|
155
|
-
"scale": {type: "string", group: "Appearance", defaultValue: null},
|
|
155
|
+
"scale": { type: "string", group: "Appearance", defaultValue: null },
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Updates the size of the control. If not set, then the default size is applied based on the device tile.
|
|
@@ -166,32 +166,32 @@ sap.ui.define([
|
|
|
166
166
|
* <b>Note</b> If <code>adaptiveFontSize</code> is set to <code>true</code> the default value of this property will vary between languages.
|
|
167
167
|
* If <code>adaptiveFontSize</code> is set to <code>false</code> the default value of this property is <code>4</code>.
|
|
168
168
|
*/
|
|
169
|
-
"truncateValueTo": {type: "int", group: "Appearance"},
|
|
169
|
+
"truncateValueTo": { type: "int", group: "Appearance" },
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* The actual value.
|
|
173
173
|
*/
|
|
174
|
-
"value": {type: "string", group: "Data", defaultValue: null},
|
|
174
|
+
"value": { type: "string", group: "Data", defaultValue: null },
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* The semantic color of the value.
|
|
178
178
|
*/
|
|
179
|
-
"valueColor": {type: "sap.m.ValueColor", group: "Appearance", defaultValue: "Neutral"},
|
|
179
|
+
"valueColor": { type: "sap.m.ValueColor", group: "Appearance", defaultValue: "Neutral" },
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
182
|
* The width of the control. If it is not set, the size of the control is defined by the 'size' property.
|
|
183
183
|
*/
|
|
184
|
-
"width": {type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: null},
|
|
184
|
+
"width": { type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: null },
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* If the value is set to false, the content is adjusted to the whole size of the control.
|
|
188
188
|
*/
|
|
189
|
-
"withMargin": {type: "boolean", group: "Appearance", defaultValue: true},
|
|
189
|
+
"withMargin": { type: "boolean", group: "Appearance", defaultValue: true },
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Indicates the load status.
|
|
193
193
|
*/
|
|
194
|
-
"state": {type: "sap.m.LoadState", group: "Behavior", defaultValue: "Loaded"},
|
|
194
|
+
"state": { type: "sap.m.LoadState", group: "Behavior", defaultValue: "Loaded" },
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* If set to its default value true this property applies the appropriate font style class based on the language. When set to false the font size will always be large
|
|
@@ -199,7 +199,7 @@ sap.ui.define([
|
|
|
199
199
|
* @experimental As of version 1.73 Disclaimer: this property is in a beta state - incompatible API changes may be done before its official public release. Use at your own discretion.
|
|
200
200
|
* @since 1.73
|
|
201
201
|
*/
|
|
202
|
-
"adaptiveFontSize": {type: "boolean", group: "Appearance", defaultValue: true}
|
|
202
|
+
"adaptiveFontSize": { type: "boolean", group: "Appearance", defaultValue: true }
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
},
|
|
@@ -235,8 +235,8 @@ sap.ui.define([
|
|
|
235
235
|
|
|
236
236
|
NumericContent.prototype._getMaxDigitsData = function () {
|
|
237
237
|
var sFontClass = null,
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
sLang = sap.ui.getCore().getConfiguration().getLanguage().toLowerCase(),
|
|
239
|
+
iMaxLength = LANG_MAP[sLang] || 4;
|
|
240
240
|
|
|
241
241
|
if (this.getAdaptiveFontSize()) {
|
|
242
242
|
switch (iMaxLength) {
|
|
@@ -299,7 +299,7 @@ sap.ui.define([
|
|
|
299
299
|
* Shows/hides icon depending if it fits or not.
|
|
300
300
|
* @private
|
|
301
301
|
*/
|
|
302
|
-
NumericContent.prototype._checkIfIconFits = function() {
|
|
302
|
+
NumericContent.prototype._checkIfIconFits = function () {
|
|
303
303
|
//first check if parent tile is going to resize in the future so resize it now for our calculation
|
|
304
304
|
var oParentTile = this._getParentTile();
|
|
305
305
|
if (oParentTile && (oParentTile.isA("sap.m.GenericTile") || oParentTile.isA("sap.m.SlideTile"))) {
|
|
@@ -504,9 +504,17 @@ sap.ui.define([
|
|
|
504
504
|
// remove the invisible unicode character LTR and RTL mark before processing the regular expression.
|
|
505
505
|
var sTrimmedValue = sValue.replace(String.fromCharCode(8206), "").replace(String.fromCharCode(8207), "");
|
|
506
506
|
|
|
507
|
+
// extract value and scale information from string using regex.
|
|
508
|
+
var aValueMatches = sTrimmedValue.match(/([+-., \d]*)/g) || [];
|
|
509
|
+
var aScaleMatches = sTrimmedValue.match(/[^+-., \d]/g) || [];
|
|
510
|
+
|
|
507
511
|
return {
|
|
508
|
-
|
|
509
|
-
|
|
512
|
+
value: aValueMatches.reduce(function (acc, curVal){
|
|
513
|
+
return acc + curVal;
|
|
514
|
+
}, '').trim(),
|
|
515
|
+
scale: aScaleMatches.reduce(function (acc, curVal){
|
|
516
|
+
return acc + curVal;
|
|
517
|
+
}, '').trim()
|
|
510
518
|
};
|
|
511
519
|
};
|
|
512
520
|
|
|
@@ -36,7 +36,7 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
36
36
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
37
37
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
38
38
|
* @extends sap.ui.core.Control
|
|
39
|
-
* @version 1.90.
|
|
39
|
+
* @version 1.90.13
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|