@openui5/sap.m 1.106.0 → 1.107.1
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 +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- 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 +4 -3
- 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/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- 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 +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- 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 +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.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 +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- 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/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -33,6 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
"sap/ui/unified/calendar/CustomYearPicker",
|
|
34
34
|
"sap/ui/core/LabelEnablement",
|
|
35
35
|
"sap/ui/unified/library",
|
|
36
|
+
"sap/ui/core/Configuration",
|
|
36
37
|
"sap/ui/dom/jquery/cursorPos"
|
|
37
38
|
],
|
|
38
39
|
function(
|
|
@@ -61,7 +62,8 @@ sap.ui.define([
|
|
|
61
62
|
CustomMonthPicker,
|
|
62
63
|
CustomYearPicker,
|
|
63
64
|
LabelEnablement,
|
|
64
|
-
unifiedLibrary
|
|
65
|
+
unifiedLibrary,
|
|
66
|
+
Configuration
|
|
65
67
|
) {
|
|
66
68
|
"use strict";
|
|
67
69
|
|
|
@@ -150,158 +152,161 @@ sap.ui.define([
|
|
|
150
152
|
* the close event), or select Cancel.
|
|
151
153
|
*
|
|
152
154
|
* @extends sap.m.DateTimeField
|
|
153
|
-
* @version 1.
|
|
155
|
+
* @version 1.107.1
|
|
154
156
|
*
|
|
155
157
|
* @constructor
|
|
156
158
|
* @public
|
|
157
159
|
* @since 1.22.0
|
|
158
160
|
* @alias sap.m.DatePicker
|
|
159
161
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/date-picker/ Date Picker}
|
|
160
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
161
162
|
*/
|
|
162
|
-
var DatePicker = DateTimeField.extend("sap.m.DatePicker", /** @lends sap.m.DatePicker.prototype */ {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
163
|
+
var DatePicker = DateTimeField.extend("sap.m.DatePicker", /** @lends sap.m.DatePicker.prototype */ {
|
|
164
|
+
metadata : {
|
|
165
|
+
|
|
166
|
+
library : "sap.m",
|
|
167
|
+
properties : {
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Displays date in this given type in input field. Default value is taken from locale settings.
|
|
171
|
+
* Accepted are values of <code>sap.ui.core.CalendarType</code> or an empty string. If no type is set, the default type of the
|
|
172
|
+
* configuration is used.
|
|
173
|
+
* <b>Note:</b> If data binding on <code>value</code> property with type <code>sap.ui.model.type.Date</code> is used, this property will be ignored.
|
|
174
|
+
* @since 1.28.6
|
|
175
|
+
*/
|
|
176
|
+
displayFormatType : {type : "string", group : "Appearance", defaultValue : ""},
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* If set, the days in the calendar popup are also displayed in this calendar type
|
|
180
|
+
* If not set, the dates are only displayed in the primary calendar type
|
|
181
|
+
* @since 1.34.1
|
|
182
|
+
*/
|
|
183
|
+
secondaryCalendarType : {type : "sap.ui.core.CalendarType", group : "Appearance", defaultValue : null},
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Minimum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
|
|
187
|
+
*
|
|
188
|
+
* <b>Note:</b> If the <code>minDate</code> is set to be after the <code>maxDate</code>,
|
|
189
|
+
* the <code>maxDate</code> and the <code>minDate</code> are switched before rendering.
|
|
190
|
+
* @since 1.38.0
|
|
191
|
+
*/
|
|
192
|
+
minDate : {type : "object", group : "Misc", defaultValue : null},
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Maximum date that can be shown and selected in the <code>DatePicker</code>. This must be a JavaScript date object.
|
|
196
|
+
*
|
|
197
|
+
* <b>Note:</b> If the <code>maxDate</code> is set to be before the <code>minDate</code>,
|
|
198
|
+
* the <code>maxDate</code> and the <code>minDate</code> are switched before rendering.
|
|
199
|
+
* @since 1.38.0
|
|
200
|
+
*/
|
|
201
|
+
maxDate : {type : "object", group : "Misc", defaultValue : null},
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Hides or shows the popover's footer.
|
|
205
|
+
*
|
|
206
|
+
* @since 1.70
|
|
207
|
+
*/
|
|
208
|
+
showFooter : {type : "boolean", group : "Misc", defaultValue : false},
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Determines whether there is a shortcut navigation to Today. When used in Month, Year or
|
|
212
|
+
* Year-range picker view, the calendar navigates to Day picker view.
|
|
213
|
+
*
|
|
214
|
+
* Note: The Current date button appears if the <code>displayFormat</code> property allows entering day.
|
|
215
|
+
*
|
|
216
|
+
* @since 1.95
|
|
217
|
+
*/
|
|
218
|
+
showCurrentDateButton : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Determines whether the input field of the picker is hidden or visible.
|
|
222
|
+
* When set to <code>true</code>, the input field becomes invisible and there is no way to open the picker popover.
|
|
223
|
+
* In that case it can be opened by another control through calling of picker's <code>openBy</code> method, and
|
|
224
|
+
* the opening control's DOM reference must be provided as parameter.
|
|
225
|
+
*
|
|
226
|
+
* Note: Since the picker is not responsible for accessibility attributes of the control which opens its popover,
|
|
227
|
+
* those attributes should be added by the application developer. The following is recommended to be added to the
|
|
228
|
+
* opening control: a text or tooltip that describes the action (example: "Open Date Picker"), and also aria-haspopup
|
|
229
|
+
* attribute with value of <code>sap.ui.core.aria.HasPopup.Dialog</code>.
|
|
230
|
+
*
|
|
231
|
+
* @since 1.97
|
|
232
|
+
*/
|
|
233
|
+
hideInput: { type: "boolean", group: "Misc", defaultValue: false }
|
|
232
234
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
aggregations : {
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Date Range with type to visualize special days in the Calendar.
|
|
239
|
-
* If one day is assigned to more than one Type, only the first one will be used.
|
|
240
|
-
*
|
|
241
|
-
* To set a single date (instead of a range), set only the startDate property of the sap.ui.unified.DateRange class.
|
|
242
|
-
*
|
|
243
|
-
* <b>Note:</b> Since 1.48 you could set a non-working day via the sap.ui.unified.CalendarDayType.NonWorking
|
|
244
|
-
* enum type just as any other special date type using sap.ui.unified.DateRangeType.
|
|
245
|
-
*
|
|
246
|
-
* @since 1.38.5
|
|
247
|
-
*/
|
|
248
|
-
specialDates : {type : "sap.ui.core.Element", multiple : true, singularName : "specialDate"},
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Internal aggregation that contains the inner picker pop-up.
|
|
252
|
-
*
|
|
253
|
-
* @since 1.70
|
|
254
|
-
*/
|
|
255
|
-
_popup: { type: "sap.m.ResponsivePopover", multiple : false, visibility: "hidden" }
|
|
256
|
-
},
|
|
257
|
-
|
|
258
|
-
associations: {
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Association to the <code>CalendarLegend</code> explaining the colors of the <code>specialDates</code>.
|
|
262
|
-
*
|
|
263
|
-
* <b>Note</b> The legend does not have to be rendered but must exist, and all required types must be assigned.
|
|
264
|
-
* @since 1.38.5
|
|
265
|
-
*/
|
|
266
|
-
legend: { type: "sap.ui.core.Control", multiple: false}
|
|
267
|
-
},
|
|
268
|
-
events : {
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Fired when navigating in <code>Calendar</code> popup.
|
|
272
|
-
* @since 1.46.0
|
|
273
|
-
*/
|
|
274
|
-
navigate : {
|
|
275
|
-
parameters : {
|
|
235
|
+
},
|
|
276
236
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
237
|
+
aggregations : {
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Date Range with type to visualize special days in the Calendar.
|
|
241
|
+
* If one day is assigned to more than one Type, only the first one will be used.
|
|
242
|
+
*
|
|
243
|
+
* To set a single date (instead of a range), set only the startDate property of the sap.ui.unified.DateRange class.
|
|
244
|
+
*
|
|
245
|
+
* <b>Note:</b> Since 1.48 you could set a non-working day via the sap.ui.unified.CalendarDayType.NonWorking
|
|
246
|
+
* enum type just as any other special date type using sap.ui.unified.DateRangeType.
|
|
247
|
+
*
|
|
248
|
+
* @since 1.38.5
|
|
249
|
+
*/
|
|
250
|
+
specialDates : {type : "sap.ui.core.Element", multiple : true, singularName : "specialDate"},
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Internal aggregation that contains the inner picker pop-up.
|
|
254
|
+
*
|
|
255
|
+
* @since 1.70
|
|
256
|
+
*/
|
|
257
|
+
_popup: { type: "sap.m.ResponsivePopover", multiple : false, visibility: "hidden" }
|
|
258
|
+
},
|
|
281
259
|
|
|
282
|
-
|
|
283
|
-
* Indicates if the event is fired, due to popup being opened.
|
|
284
|
-
*/
|
|
285
|
-
afterPopupOpened : {type : "boolean"}
|
|
260
|
+
associations: {
|
|
286
261
|
|
|
287
|
-
|
|
262
|
+
/**
|
|
263
|
+
* Association to the <code>CalendarLegend</code> explaining the colors of the <code>specialDates</code>.
|
|
264
|
+
*
|
|
265
|
+
* <b>Note</b> The legend does not have to be rendered but must exist, and all required types must be assigned.
|
|
266
|
+
* @since 1.38.5
|
|
267
|
+
*/
|
|
268
|
+
legend: { type: "sap.ui.core.Control", multiple: false}
|
|
288
269
|
},
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
270
|
+
events : {
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Fired when navigating in <code>Calendar</code> popup.
|
|
274
|
+
* @since 1.46.0
|
|
275
|
+
*/
|
|
276
|
+
navigate : {
|
|
277
|
+
parameters : {
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Date range containing the start and end date displayed in the <code>Calendar</code> popup.
|
|
281
|
+
*/
|
|
282
|
+
dateRange : {type : "sap.ui.unified.DateRange"},
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Indicates if the event is fired, due to popup being opened.
|
|
286
|
+
*/
|
|
287
|
+
afterPopupOpened : {type : "boolean"}
|
|
288
|
+
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Fired when <code>value help</code> dialog opens.
|
|
294
|
+
* @since 1.102.0
|
|
295
|
+
*/
|
|
296
|
+
afterValueHelpOpen : {},
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Fired when <code>value help</code> dialog closes.
|
|
300
|
+
* @since 1.102.0
|
|
301
|
+
*/
|
|
302
|
+
afterValueHelpClose : {}
|
|
303
|
+
},
|
|
304
|
+
designtime: "sap/m/designtime/DatePicker.designtime",
|
|
305
|
+
dnd: { draggable: false, droppable: true }
|
|
301
306
|
},
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
307
|
+
|
|
308
|
+
renderer: DatePickerRenderer
|
|
309
|
+
});
|
|
305
310
|
|
|
306
311
|
|
|
307
312
|
/**
|
|
@@ -1441,7 +1446,7 @@ sap.ui.define([
|
|
|
1441
1446
|
};
|
|
1442
1447
|
|
|
1443
1448
|
DatePicker.prototype._getTimezone = function(bUseDefaultAsFallback) {
|
|
1444
|
-
return
|
|
1449
|
+
return Configuration.getTimezone();
|
|
1445
1450
|
};
|
|
1446
1451
|
|
|
1447
1452
|
/* sets cursor inside the input in order to focus it */
|
|
@@ -19,6 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
"sap/base/util/deepEqual",
|
|
20
20
|
"sap/base/Log",
|
|
21
21
|
"sap/base/assert",
|
|
22
|
+
"sap/ui/core/Configuration",
|
|
22
23
|
"sap/ui/dom/jquery/cursorPos" // jQuery Plugin "cursorPos"
|
|
23
24
|
],
|
|
24
25
|
function(
|
|
@@ -34,7 +35,8 @@ sap.ui.define([
|
|
|
34
35
|
CustomYearPicker,
|
|
35
36
|
deepEqual,
|
|
36
37
|
Log,
|
|
37
|
-
assert
|
|
38
|
+
assert,
|
|
39
|
+
Configuration
|
|
38
40
|
) {
|
|
39
41
|
"use strict";
|
|
40
42
|
|
|
@@ -128,48 +130,51 @@ sap.ui.define([
|
|
|
128
130
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
129
131
|
*
|
|
130
132
|
* @extends sap.m.DatePicker
|
|
131
|
-
* @version 1.
|
|
132
|
-
* @version 1.
|
|
133
|
+
* @version 1.107.1
|
|
134
|
+
* @version 1.107.1
|
|
133
135
|
*
|
|
134
136
|
* @constructor
|
|
135
137
|
* @public
|
|
136
138
|
* @since 1.22.0
|
|
137
139
|
* @alias sap.m.DateRangeSelection
|
|
138
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
139
140
|
*/
|
|
140
|
-
var DateRangeSelection = DatePicker.extend("sap.m.DateRangeSelection", /** @lends sap.m.DateRangeSelection.prototype */ {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
141
|
+
var DateRangeSelection = DatePicker.extend("sap.m.DateRangeSelection", /** @lends sap.m.DateRangeSelection.prototype */ {
|
|
142
|
+
metadata : {
|
|
143
|
+
|
|
144
|
+
library : "sap.m",
|
|
145
|
+
properties : {
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Delimiter between start and end date. Default value is "-".
|
|
149
|
+
* If no delimiter is given, the one defined for the used locale is used.
|
|
150
|
+
*/
|
|
151
|
+
delimiter : {type : "string", group : "Misc", defaultValue : '-'},
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* The end date of the range as JavaScript Date object. This is independent from any formatter.
|
|
155
|
+
*
|
|
156
|
+
* <b>Note:</b> If this property is used, the <code>value</code> property should not be changed from the caller.
|
|
157
|
+
*/
|
|
158
|
+
secondDateValue : {type : "object", group : "Data", defaultValue : null},
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Start date of the range.
|
|
162
|
+
* @deprecated since version 1.22.0, replaced by <code>dateValue</code> property of the {@link sap.m.DateTimeField}
|
|
163
|
+
*/
|
|
164
|
+
from : {type : "object", group : "Misc", defaultValue : null, deprecated: true},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* End date of the range.
|
|
168
|
+
* @deprecated since version 1.22.0, replaced by <code>secondDateValue</code> property
|
|
169
|
+
*/
|
|
170
|
+
to : {type : "object", group : "Misc", defaultValue : null, deprecated: true}
|
|
171
|
+
},
|
|
172
|
+
designtime: "sap/m/designtime/DateRangeSelection.designtime",
|
|
173
|
+
dnd: { draggable: false, droppable: true }
|
|
169
174
|
},
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
175
|
+
|
|
176
|
+
renderer: DateRangeSelectionRenderer
|
|
177
|
+
});
|
|
173
178
|
|
|
174
179
|
var HYPHEN = String.fromCharCode(45),
|
|
175
180
|
ENDASH = String.fromCharCode(8211),
|
|
@@ -235,7 +240,7 @@ sap.ui.define([
|
|
|
235
240
|
|
|
236
241
|
if (!sPlaceholder) {
|
|
237
242
|
oBinding = this.getBinding("value");
|
|
238
|
-
oLocale =
|
|
243
|
+
oLocale = Configuration.getFormatSettings().getFormatLocale();
|
|
239
244
|
oLocaleData = LocaleData.getInstance(oLocale);
|
|
240
245
|
|
|
241
246
|
if (oBinding && oBinding.getType() && oBinding.getType().isA("sap.ui.model.type.DateInterval")) {
|
|
@@ -825,7 +830,7 @@ sap.ui.define([
|
|
|
825
830
|
if (!this._oDateRange.getEndDate() || this._oDateRange.getEndDate().getTime() !== oEndDate.getTime()) {
|
|
826
831
|
sFormattedEndDate = this._getPickerParser().format(
|
|
827
832
|
oEndDate,
|
|
828
|
-
|
|
833
|
+
Configuration.getTimezone()
|
|
829
834
|
);
|
|
830
835
|
oEndDate = this._getPickerParser().parse(sFormattedEndDate, TimezoneUtil.getLocalTimezone())[0];
|
|
831
836
|
|
|
@@ -842,7 +847,7 @@ sap.ui.define([
|
|
|
842
847
|
DateRangeSelection.prototype._selectDate = function () {
|
|
843
848
|
var aSelectedDates = this._getCalendar().getSelectedDates();
|
|
844
849
|
var sFormattedDate, oParts;
|
|
845
|
-
var sTimezone =
|
|
850
|
+
var sTimezone = Configuration.getTimezone();
|
|
846
851
|
|
|
847
852
|
if (aSelectedDates.length > 0) {
|
|
848
853
|
var oDate1 = aSelectedDates[0].getStartDate();
|
|
@@ -1165,7 +1170,7 @@ sap.ui.define([
|
|
|
1165
1170
|
|
|
1166
1171
|
if (!sDelimiter) {
|
|
1167
1172
|
if (!this._sLocaleDelimiter) {
|
|
1168
|
-
var oLocale =
|
|
1173
|
+
var oLocale = Configuration.getFormatSettings().getFormatLocale();
|
|
1169
1174
|
var oLocaleData = LocaleData.getInstance(oLocale);
|
|
1170
1175
|
var sPattern = oLocaleData.getIntervalPattern();
|
|
1171
1176
|
var iIndex1 = sPattern.indexOf("{0}") + 3;
|
|
@@ -19,6 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
"sap/base/util/deepEqual",
|
|
20
20
|
"sap/base/Log",
|
|
21
21
|
"sap/ui/thirdparty/jquery",
|
|
22
|
+
"sap/ui/core/Configuration",
|
|
22
23
|
// jQuery Plugin "cursorPos"
|
|
23
24
|
"sap/ui/dom/jquery/cursorPos"
|
|
24
25
|
], function(
|
|
@@ -34,7 +35,8 @@ sap.ui.define([
|
|
|
34
35
|
DateTimeFieldRenderer,
|
|
35
36
|
deepEqual,
|
|
36
37
|
Log,
|
|
37
|
-
jQuery
|
|
38
|
+
jQuery,
|
|
39
|
+
Configuration
|
|
38
40
|
) {
|
|
39
41
|
"use strict";
|
|
40
42
|
|
|
@@ -59,13 +61,12 @@ sap.ui.define([
|
|
|
59
61
|
* @extends sap.m.InputBase
|
|
60
62
|
*
|
|
61
63
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
64
|
+
* @version 1.107.1
|
|
63
65
|
*
|
|
64
66
|
* @constructor
|
|
65
67
|
* @public
|
|
66
68
|
* @since 1.50.0
|
|
67
69
|
* @alias sap.m.DateTimeField
|
|
68
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
69
70
|
*/
|
|
70
71
|
var DateTimeField = InputBase.extend("sap.m.DateTimeField", /** @lends sap.m.DateTimeField.prototype */ {
|
|
71
72
|
metadata: {
|
|
@@ -131,7 +132,9 @@ sap.ui.define([
|
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
|
-
}
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
renderer: DateTimeFieldRenderer
|
|
135
138
|
});
|
|
136
139
|
|
|
137
140
|
DateTimeField.prototype.setValue = function (sValue) {
|
|
@@ -364,7 +367,7 @@ sap.ui.define([
|
|
|
364
367
|
|
|
365
368
|
DateTimeField.prototype._getLocaleBasedPattern = function (sPlaceholder) {
|
|
366
369
|
return LocaleData.getInstance(
|
|
367
|
-
|
|
370
|
+
Configuration.getFormatSettings().getFormatLocale()
|
|
368
371
|
).getDatePattern(sPlaceholder);
|
|
369
372
|
};
|
|
370
373
|
|
|
@@ -410,7 +413,7 @@ sap.ui.define([
|
|
|
410
413
|
// convert to local date because it was parsed as UTC date
|
|
411
414
|
sFormatted = this._getTimezoneFormatter().format(oDate, "UTC");
|
|
412
415
|
oDateLocal = this._getTimezoneFormatter().parse(sFormatted,
|
|
413
|
-
|
|
416
|
+
Configuration.getTimezone())[0];
|
|
414
417
|
|
|
415
418
|
oDate = oDateLocal;
|
|
416
419
|
}
|
|
@@ -435,7 +438,7 @@ sap.ui.define([
|
|
|
435
438
|
if (this._isSupportedBindingType(oBindingType)) {
|
|
436
439
|
if ((oBindingType.oFormatOptions && oBindingType.oFormatOptions.UTC) || (oBindingType.oConstraints && oBindingType.oConstraints.isDateOnly)) {
|
|
437
440
|
// convert to UTC date because it will be formatted as UTC date
|
|
438
|
-
sFormatted = this._getTimezoneFormatter().format(oDate,
|
|
441
|
+
sFormatted = this._getTimezoneFormatter().format(oDate, Configuration.getTimezone());
|
|
439
442
|
oDateUTC = this._getTimezoneFormatter().parse(sFormatted, "UTC")[ 0 ];
|
|
440
443
|
|
|
441
444
|
oDate = oDateUTC;
|
|
@@ -503,7 +506,7 @@ sap.ui.define([
|
|
|
503
506
|
}
|
|
504
507
|
|
|
505
508
|
if (!sCalendarType) {
|
|
506
|
-
sCalendarType =
|
|
509
|
+
sCalendarType = Configuration.getCalendarType();
|
|
507
510
|
}
|
|
508
511
|
|
|
509
512
|
if (bDisplayFormat) {
|