@openui5/sap.m 1.102.2 → 1.102.3
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/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/CustomDynamicDateOption.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 +14 -20
- package/src/sap/m/DateRangeSelection.js +45 -38
- package/src/sap/m/DateTimeField.js +31 -20
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +22 -15
- 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/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.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 +8 -6
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +53 -7
- 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/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.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 +1 -1
- 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 +21 -5
- package/src/sap/m/LinkRenderer.js +17 -9
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +4 -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 +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- 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 +5 -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 +1 -1
- 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/SelectDialogBase.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/StandardDynamicDateOption.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 +8 -9
- package/src/sap/m/TimePicker.js +14 -2
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +5 -3
- 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/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/library.js +27 -2
- package/src/sap/m/messagebundle.properties +6 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.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/table/Util.js +1 -1
- 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 +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- 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 +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Table.less +1 -1
- package/src/sap/m/upload/UploadSet.js +7 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.m",
|
|
3
|
-
"version": "1.102.
|
|
3
|
+
"version": "1.102.3",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.m",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.102.
|
|
18
|
-
"@openui5/sap.ui.layout": "1.102.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.102.
|
|
17
|
+
"@openui5/sap.ui.core": "1.102.3",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.102.3",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.102.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/m/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.102.
|
|
9
|
+
<version>1.102.3</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
|
|
12
12
|
|
package/src/sap/m/AccButton.js
CHANGED
package/src/sap/m/ActionSheet.js
CHANGED
package/src/sap/m/App.js
CHANGED
package/src/sap/m/Avatar.js
CHANGED
package/src/sap/m/Bar.js
CHANGED
package/src/sap/m/Breadcrumbs.js
CHANGED
package/src/sap/m/BusyDialog.js
CHANGED
package/src/sap/m/Button.js
CHANGED
package/src/sap/m/Carousel.js
CHANGED
|
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
|
|
|
15
15
|
* Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.102.
|
|
18
|
+
* @version 1.102.3
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.base.ManagedObject
|
|
21
21
|
*
|
package/src/sap/m/CheckBox.js
CHANGED
|
@@ -104,7 +104,7 @@ sap.ui.define([
|
|
|
104
104
|
* To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
|
|
105
105
|
*
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
|
-
* @version 1.102.
|
|
107
|
+
* @version 1.102.3
|
|
108
108
|
*
|
|
109
109
|
* @constructor
|
|
110
110
|
* @public
|
package/src/sap/m/Column.js
CHANGED
package/src/sap/m/ComboBox.js
CHANGED
package/src/sap/m/CustomTile.js
CHANGED
|
@@ -21,7 +21,7 @@ sap.ui.define(['./Tile', './library', './CustomTileRenderer'],
|
|
|
21
21
|
* Use the CustomTile control to display application specific content in the Tile control.
|
|
22
22
|
* The tile width is 8.5em and height is 10em.
|
|
23
23
|
* @extends sap.m.Tile
|
|
24
|
-
* @version 1.102.
|
|
24
|
+
* @version 1.102.3
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -152,7 +152,7 @@ sap.ui.define([
|
|
|
152
152
|
* the close event), or select Cancel.
|
|
153
153
|
*
|
|
154
154
|
* @extends sap.m.DateTimeField
|
|
155
|
-
* @version 1.102.
|
|
155
|
+
* @version 1.102.3
|
|
156
156
|
*
|
|
157
157
|
* @constructor
|
|
158
158
|
* @public
|
|
@@ -1060,22 +1060,9 @@ sap.ui.define([
|
|
|
1060
1060
|
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
|
-
// overwrite _getInputValue to do the conversion there
|
|
1064
|
-
DatePicker.prototype._getInputValue = function(sValue) {
|
|
1065
|
-
|
|
1066
|
-
sValue = (typeof sValue == "undefined") ? this._$input.val() : sValue.toString();
|
|
1067
|
-
|
|
1068
|
-
var oDate = this._parseValue(sValue, true);
|
|
1069
|
-
sValue = this._formatValue(oDate, true);
|
|
1070
|
-
|
|
1071
|
-
return sValue;
|
|
1072
|
-
|
|
1073
|
-
};
|
|
1074
|
-
|
|
1075
|
-
// overwrite _getInputValue to do the output conversion
|
|
1076
1063
|
DatePicker.prototype.updateDomValue = function(sValue) {
|
|
1077
1064
|
|
|
1078
|
-
if (this.isActive() &&
|
|
1065
|
+
if (this.isActive() && this._$input.val() !== sValue) {
|
|
1079
1066
|
// dom value updated other than value property
|
|
1080
1067
|
this._bCheckDomValue = true;
|
|
1081
1068
|
|
|
@@ -1085,11 +1072,18 @@ sap.ui.define([
|
|
|
1085
1072
|
var oDate = this._parseValue(sValue, true);
|
|
1086
1073
|
sValue = this._formatValue(oDate);
|
|
1087
1074
|
|
|
1088
|
-
//
|
|
1089
|
-
//
|
|
1090
|
-
|
|
1091
|
-
if (
|
|
1092
|
-
this.
|
|
1075
|
+
// if set to true, handle the user input and data
|
|
1076
|
+
// model updates concurrency in order to not overwrite
|
|
1077
|
+
// values coming from the user
|
|
1078
|
+
if (this._bPreferUserInteraction) {
|
|
1079
|
+
this.handleInputValueConcurrency(sValue);
|
|
1080
|
+
} else {
|
|
1081
|
+
// update the DOM value when necessary
|
|
1082
|
+
// otherwise cursor can goto end of text unnecessarily
|
|
1083
|
+
this._$input.val(sValue);
|
|
1084
|
+
if (document.activeElement === this._$input[0]) {
|
|
1085
|
+
this._$input.cursorPos(this._curpos);
|
|
1086
|
+
}
|
|
1093
1087
|
}
|
|
1094
1088
|
}
|
|
1095
1089
|
|
|
@@ -128,8 +128,8 @@ sap.ui.define([
|
|
|
128
128
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
129
129
|
*
|
|
130
130
|
* @extends sap.m.DatePicker
|
|
131
|
-
* @version 1.102.
|
|
132
|
-
* @version 1.102.
|
|
131
|
+
* @version 1.102.3
|
|
132
|
+
* @version 1.102.3
|
|
133
133
|
*
|
|
134
134
|
* @constructor
|
|
135
135
|
* @public
|
|
@@ -297,14 +297,26 @@ sap.ui.define([
|
|
|
297
297
|
* @public
|
|
298
298
|
*/
|
|
299
299
|
DateRangeSelection.prototype.setValue = function(sValue) {
|
|
300
|
+
sValue = this.validateProperty("value", sValue);
|
|
300
301
|
|
|
301
302
|
if (sValue !== this.getValue()) {
|
|
302
303
|
this.setLastValue(sValue);
|
|
303
304
|
} else {
|
|
304
305
|
return this;
|
|
305
306
|
}
|
|
306
|
-
|
|
307
|
-
this.
|
|
307
|
+
|
|
308
|
+
var aDates = this._parseAndValidateValue(sValue);
|
|
309
|
+
this.setProperty("dateValue", _normalizeDateValue(aDates[0]), this._bPreferUserInteraction);
|
|
310
|
+
this.setProperty("secondDateValue", _normalizeDateValue(aDates[1]), this._bPreferUserInteraction);
|
|
311
|
+
|
|
312
|
+
this._formatValueAndUpdateOutput(aDates);
|
|
313
|
+
this.setProperty("value", sValue, this._bPreferUserInteraction);
|
|
314
|
+
|
|
315
|
+
return this;
|
|
316
|
+
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
DateRangeSelection.prototype._parseAndValidateValue = function(sValue) {
|
|
308
320
|
this._bValid = true;
|
|
309
321
|
|
|
310
322
|
// Convert to date object(s)
|
|
@@ -318,22 +330,27 @@ sap.ui.define([
|
|
|
318
330
|
}
|
|
319
331
|
}
|
|
320
332
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
// Do not call InputBase.setValue because the displayed value and the output value might have different pattern
|
|
325
|
-
if (this.getDomRef()) {
|
|
326
|
-
// Convert to output
|
|
327
|
-
var sOutputValue = this._formatValue(aDates[0], aDates[1]);
|
|
333
|
+
return aDates;
|
|
334
|
+
};
|
|
328
335
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}
|
|
336
|
+
DateRangeSelection.prototype._formatValueAndUpdateOutput = function(aDates) {
|
|
337
|
+
if (!this.getDomRef()) {
|
|
338
|
+
return;
|
|
333
339
|
}
|
|
334
340
|
|
|
335
|
-
|
|
341
|
+
// Convert to output
|
|
342
|
+
var sOutputValue = this._formatValue(aDates[0], aDates[1]);
|
|
336
343
|
|
|
344
|
+
if (this._bPreferUserInteraction) {
|
|
345
|
+
// Handle the value concurrency before setting the value property of the control,
|
|
346
|
+
// in order to distinguish whether the user only focused the input field or typed in it
|
|
347
|
+
this.handleInputValueConcurrency(sOutputValue);
|
|
348
|
+
} else if (this._$input.val() !== sOutputValue) {
|
|
349
|
+
// update the DOM value when necessary
|
|
350
|
+
// otherwise cursor can go to the end of text unnecessarily
|
|
351
|
+
this._$input.val(sOutputValue);
|
|
352
|
+
this._curpos = this._$input.cursorPos();
|
|
353
|
+
}
|
|
337
354
|
};
|
|
338
355
|
|
|
339
356
|
/**
|
|
@@ -766,23 +783,6 @@ sap.ui.define([
|
|
|
766
783
|
|
|
767
784
|
};
|
|
768
785
|
|
|
769
|
-
// Overwrite DatePicker's _getInputValue to support two date range processing
|
|
770
|
-
DateRangeSelection.prototype._getInputValue = function(sValue) {
|
|
771
|
-
|
|
772
|
-
sValue = (typeof sValue == "undefined") ? this._$input.val() : sValue.toString();
|
|
773
|
-
|
|
774
|
-
if (!sValue) {
|
|
775
|
-
return "";
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
var aDates = this._parseValue(sValue);
|
|
779
|
-
sValue = this._formatValue( aDates[0], aDates[1]);
|
|
780
|
-
|
|
781
|
-
return sValue;
|
|
782
|
-
|
|
783
|
-
};
|
|
784
|
-
|
|
785
|
-
// overwrite _getInputValue to do the output conversion
|
|
786
786
|
DateRangeSelection.prototype.updateDomValue = function(sValue) {
|
|
787
787
|
|
|
788
788
|
// dom value updated other than value property
|
|
@@ -794,11 +794,18 @@ sap.ui.define([
|
|
|
794
794
|
var aDates = this._parseValue(sValue);
|
|
795
795
|
sValue = this._formatValue( aDates[0], aDates[1]);
|
|
796
796
|
|
|
797
|
-
//
|
|
798
|
-
//
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
this.
|
|
797
|
+
// if set to true, handle the user input and data
|
|
798
|
+
// model updates concurrency in order to not overwrite
|
|
799
|
+
// values coming from the user
|
|
800
|
+
if (this._bPreferUserInteraction) {
|
|
801
|
+
this.handleInputValueConcurrency(sValue);
|
|
802
|
+
} else {
|
|
803
|
+
// update the DOM value when necessary
|
|
804
|
+
// otherwise cursor can goto end of text unnecessarily
|
|
805
|
+
if (this.isActive() && (this._$input.val() !== sValue)) {
|
|
806
|
+
this._$input.val(sValue);
|
|
807
|
+
this._$input.cursorPos(this._curpos);
|
|
808
|
+
}
|
|
802
809
|
}
|
|
803
810
|
|
|
804
811
|
return this;
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @extends sap.m.InputBase
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.102.
|
|
62
|
+
* @version 1.102.3
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -123,8 +123,18 @@ sap.ui.define([
|
|
|
123
123
|
this.setLastValue(sValue);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
//
|
|
127
|
-
this.
|
|
126
|
+
// convert to date object and check validity on output
|
|
127
|
+
var oDate = this._parseAndValidateValue(sValue);
|
|
128
|
+
this.setProperty("dateValue", oDate, this._bPreferUserInteraction);
|
|
129
|
+
|
|
130
|
+
// do not call InputBase.setValue because the displayed value and the output value might have different pattern
|
|
131
|
+
this._formatValueAndUpdateOutput(oDate, sValue);
|
|
132
|
+
this.setProperty("value", sValue, this._bPreferUserInteraction);
|
|
133
|
+
|
|
134
|
+
return this;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
DateTimeField.prototype._parseAndValidateValue = function(sValue) {
|
|
128
138
|
this._bValid = true;
|
|
129
139
|
|
|
130
140
|
// convert to date object
|
|
@@ -146,25 +156,26 @@ sap.ui.define([
|
|
|
146
156
|
}
|
|
147
157
|
}
|
|
148
158
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
// do not call InputBase.setValue because the displayed value and the output value might have different pattern
|
|
152
|
-
if (this.getDomRef()) {
|
|
153
|
-
// convert to output
|
|
154
|
-
var sOutputValue;
|
|
155
|
-
if (oDate) {
|
|
156
|
-
sOutputValue = this._formatValue(oDate);
|
|
157
|
-
} else {
|
|
158
|
-
sOutputValue = sValue;
|
|
159
|
-
}
|
|
159
|
+
return oDate;
|
|
160
|
+
};
|
|
160
161
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
DateTimeField.prototype._formatValueAndUpdateOutput = function(oDate, sValue) {
|
|
163
|
+
if (!this.getDomRef()) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
// convert to output
|
|
167
|
+
var sOutputValue = oDate ? this._formatValue(oDate) : sValue;
|
|
168
|
+
|
|
169
|
+
if (this._bPreferUserInteraction) {
|
|
170
|
+
// Handle the value concurrency before setting the value property of the control,
|
|
171
|
+
// in order to distinguish whether the user only focused the input field or typed in it
|
|
172
|
+
this.handleInputValueConcurrency(sOutputValue);
|
|
173
|
+
} else if (this._$input.val() !== sOutputValue) {
|
|
174
|
+
// update the DOM value when necessary
|
|
175
|
+
// otherwise cursor can go to the end of text unnecessarily
|
|
176
|
+
this._$input.val(sOutputValue);
|
|
177
|
+
this._curpos = this._$input.cursorPos();
|
|
165
178
|
}
|
|
166
|
-
|
|
167
|
-
return this;
|
|
168
179
|
};
|
|
169
180
|
|
|
170
181
|
DateTimeField.prototype.setDateValue = function (oDate) {
|