@openui5/sap.m 1.105.1 → 1.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +4 -4
- package/src/sap/m/.library +20 -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/CarouselRenderer.js +3 -3
- 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 +5 -6
- 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 +3 -4
- 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 +148 -143
- 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 +83 -75
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +10 -7
- 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 +131 -132
- 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 +4 -3
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +65 -22
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +36 -10
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingEnablement.js +23 -25
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +44 -43
- 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 +152 -166
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +38 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +11 -3
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -0
- package/src/sap/m/Image.js +270 -197
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +375 -367
- 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/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +5 -6
- 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 +452 -458
- package/src/sap/m/ListItemBase.js +116 -107
- 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 +111 -103
- 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/OverflowToolbarAssociativePopoverControls.js +0 -5
- package/src/sap/m/OverflowToolbarButton.js +2 -3
- 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 -95
- 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/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +23 -10
- 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 +344 -340
- 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 +15 -15
- 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 +407 -422
- 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 +17 -12
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerClocksRenderer.js +3 -1
- 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 +79 -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 +13 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +6 -3
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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/library.js +40 -116
- package/src/sap/m/messagebundle.properties +22 -10
- package/src/sap/m/messagebundle_ar.properties +20 -6
- package/src/sap/m/messagebundle_bg.properties +19 -5
- package/src/sap/m/messagebundle_ca.properties +19 -5
- package/src/sap/m/messagebundle_cs.properties +30 -16
- package/src/sap/m/messagebundle_cy.properties +19 -5
- package/src/sap/m/messagebundle_da.properties +19 -5
- package/src/sap/m/messagebundle_de.properties +20 -6
- package/src/sap/m/messagebundle_el.properties +19 -5
- package/src/sap/m/messagebundle_en.properties +18 -4
- package/src/sap/m/messagebundle_en_GB.properties +18 -4
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +23 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -2
- package/src/sap/m/messagebundle_es.properties +19 -5
- package/src/sap/m/messagebundle_es_MX.properties +19 -5
- package/src/sap/m/messagebundle_et.properties +19 -5
- package/src/sap/m/messagebundle_fi.properties +19 -5
- package/src/sap/m/messagebundle_fr.properties +20 -6
- package/src/sap/m/messagebundle_fr_CA.properties +20 -6
- package/src/sap/m/messagebundle_hi.properties +19 -5
- package/src/sap/m/messagebundle_hr.properties +20 -6
- package/src/sap/m/messagebundle_hu.properties +19 -5
- package/src/sap/m/messagebundle_id.properties +19 -5
- package/src/sap/m/messagebundle_it.properties +20 -6
- package/src/sap/m/messagebundle_iw.properties +19 -5
- package/src/sap/m/messagebundle_ja.properties +19 -5
- package/src/sap/m/messagebundle_kk.properties +19 -5
- package/src/sap/m/messagebundle_ko.properties +20 -6
- package/src/sap/m/messagebundle_lt.properties +20 -6
- package/src/sap/m/messagebundle_lv.properties +19 -5
- package/src/sap/m/messagebundle_ms.properties +19 -5
- package/src/sap/m/messagebundle_nl.properties +19 -5
- package/src/sap/m/messagebundle_no.properties +19 -5
- package/src/sap/m/messagebundle_pl.properties +19 -5
- package/src/sap/m/messagebundle_pt.properties +19 -5
- package/src/sap/m/messagebundle_pt_PT.properties +19 -5
- package/src/sap/m/messagebundle_ro.properties +19 -5
- package/src/sap/m/messagebundle_ru.properties +19 -5
- package/src/sap/m/messagebundle_sh.properties +20 -6
- package/src/sap/m/messagebundle_sk.properties +19 -5
- package/src/sap/m/messagebundle_sl.properties +20 -6
- package/src/sap/m/messagebundle_sv.properties +19 -5
- package/src/sap/m/messagebundle_th.properties +19 -5
- package/src/sap/m/messagebundle_tr.properties +19 -5
- package/src/sap/m/messagebundle_uk.properties +19 -5
- package/src/sap/m/messagebundle_vi.properties +19 -5
- package/src/sap/m/messagebundle_zh_CN.properties +19 -5
- package/src/sap/m/messagebundle_zh_TW.properties +19 -5
- 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 +21 -7
- 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 +37 -15
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +3 -3
- 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/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- 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 +17 -5
- 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 +64 -22
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +19 -4
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +9 -3
- 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 +11 -12
- package/src/sap/m/table/columnmenu/QuickTotal.js +9 -3
- 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/Carousel.less +8 -8
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/DisplayListItem.less +3 -3
- package/src/sap/m/themes/base/GenericTile.less +7 -0
- 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 +295 -13
- 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
|
@@ -18,7 +18,8 @@ sap.ui.define([
|
|
|
18
18
|
'sap/ui/model/odata/type/ODataType',
|
|
19
19
|
'sap/ui/core/library',
|
|
20
20
|
'sap/ui/Device',
|
|
21
|
-
"./DateTimeInputRenderer"
|
|
21
|
+
"./DateTimeInputRenderer",
|
|
22
|
+
"sap/ui/core/Configuration"
|
|
22
23
|
],
|
|
23
24
|
function(
|
|
24
25
|
jQuery,
|
|
@@ -33,7 +34,8 @@ function(
|
|
|
33
34
|
ODataType,
|
|
34
35
|
coreLibrary,
|
|
35
36
|
Device,
|
|
36
|
-
DateTimeInputRenderer
|
|
37
|
+
DateTimeInputRenderer,
|
|
38
|
+
Configuration
|
|
37
39
|
) {
|
|
38
40
|
"use strict";
|
|
39
41
|
|
|
@@ -62,154 +64,157 @@ function(
|
|
|
62
64
|
* @extends sap.ui.core.Control
|
|
63
65
|
*
|
|
64
66
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
67
|
+
* @version 1.107.0
|
|
66
68
|
*
|
|
67
69
|
* @constructor
|
|
68
70
|
* @public
|
|
69
71
|
* @since 1.9.1
|
|
70
72
|
* @deprecated as of version 1.32.8, replaced by {@link sap.m.DatePicker}, {@link sap.m.TimePicker} or {@link sap.m.DateTimePicker}
|
|
71
73
|
* @alias sap.m.DateTimeInput
|
|
72
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
73
74
|
*/
|
|
74
|
-
var DateTimeInput = Control.extend("sap.m.DateTimeInput", /** @lends sap.m.DateTimeInput.prototype */ {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
|
|
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
|
-
|
|
75
|
+
var DateTimeInput = Control.extend("sap.m.DateTimeInput", /** @lends sap.m.DateTimeInput.prototype */ {
|
|
76
|
+
metadata : {
|
|
77
|
+
|
|
78
|
+
library : "sap.m",
|
|
79
|
+
deprecated: true,
|
|
80
|
+
designtime: "sap/m/designtime/DateTimeInput.designtime",
|
|
81
|
+
properties : {
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Defines the value of the control.
|
|
85
|
+
*
|
|
86
|
+
* The new value must be in the format set by <code>valueFormat</code>.
|
|
87
|
+
*
|
|
88
|
+
* The "Now" literal can also be assigned as a parameter to show the current date and/or time.
|
|
89
|
+
*/
|
|
90
|
+
value: { type: "string", group: "Data", defaultValue: null, bindable: "bindable" },
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Defines the width of the control.
|
|
94
|
+
*/
|
|
95
|
+
width: { type: "sap.ui.core.CSSSize", group: "Dimension", defaultValue: "100%" },
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Indicates whether the user can interact with the control or not.
|
|
99
|
+
* <b>Note:</b> Disabled controls cannot be focused and they are out of the tab-chain.
|
|
100
|
+
*/
|
|
101
|
+
enabled: { type: "boolean", group: "Behavior", defaultValue: true },
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Defines whether the control can be modified by the user or not.
|
|
105
|
+
* <b>Note:</b> A user can tab to non-editable control, highlight it, and copy the text from it.
|
|
106
|
+
* @since 1.12.0
|
|
107
|
+
*/
|
|
108
|
+
editable: { type: "boolean", group: "Behavior", defaultValue: true },
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Visualizes the validation state of the control, e.g. <code>Error</code>, <code>Warning</code>, <code>Success</code>.
|
|
112
|
+
*/
|
|
113
|
+
valueState: { type: "sap.ui.core.ValueState", group: "Appearance", defaultValue: ValueState.None },
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Defines the text that appears in the value state message pop-up. If this is not specified, a default text is shown from the resource bundle.
|
|
117
|
+
* @since 1.26.0
|
|
118
|
+
*/
|
|
119
|
+
valueStateText: { type: "string", group: "Misc", defaultValue: null },
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Indicates whether the value state message should be shown or not.
|
|
123
|
+
* @since 1.26.0
|
|
124
|
+
*/
|
|
125
|
+
showValueStateMessage: { type: "boolean", group: "Misc", defaultValue: true },
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Defines the name of the control for the purposes of form submission.
|
|
129
|
+
*/
|
|
130
|
+
name: { type: "string", group: "Misc", defaultValue: null },
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Defines a short hint intended to aid the user with data entry when the control has no value.
|
|
134
|
+
*/
|
|
135
|
+
placeholder: { type: "string", group: "Misc", defaultValue: null },
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Defines the horizontal alignment of the text that is shown inside the input field.
|
|
139
|
+
* @since 1.26.0
|
|
140
|
+
*/
|
|
141
|
+
textAlign: { type: "sap.ui.core.TextAlign", group: "Appearance", defaultValue: TextAlign.Initial },
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Defines the text directionality of the input field, e.g. <code>RTL</code>, <code>LTR</code>
|
|
145
|
+
* @since 1.28.0
|
|
146
|
+
*/
|
|
147
|
+
textDirection: { type: "sap.ui.core.TextDirection", group: "Appearance", defaultValue: TextDirection.Inherit },
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Type of DateTimeInput (e.g. Date, Time, DateTime)
|
|
151
|
+
*/
|
|
152
|
+
type : {type : "sap.m.DateTimeInputType", group : "Data", defaultValue : DateTimeInputType.Date},
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Displays date value in this given format in text field. Default value is taken from locale settings.
|
|
156
|
+
* If you use data-binding on value property with type sap.ui.model.type.Date then you can ignore this property or the latter wins.
|
|
157
|
+
* If the user's browser supports native picker then this property is overwritten by browser with locale settings.
|
|
158
|
+
*/
|
|
159
|
+
displayFormat : {type : "string", group : "Appearance", defaultValue : null},
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Given value property should match with valueFormat to parse date. Default value is taken from locale settings.
|
|
163
|
+
* You can only set and get value in this format.
|
|
164
|
+
* If you use data-binding on value property with type sap.ui.model.type.Date you can ignore this property or the latter wins.
|
|
165
|
+
*/
|
|
166
|
+
valueFormat : {type : "string", group : "Data", defaultValue : null},
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* This property as JavaScript Date Object can be used to assign a new value which is independent from valueFormat.
|
|
170
|
+
*/
|
|
171
|
+
dateValue : {type : "object", group : "Data", defaultValue : null}
|
|
172
|
+
},
|
|
173
|
+
aggregations: {
|
|
174
|
+
|
|
175
|
+
_picker: {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"}
|
|
176
|
+
|
|
177
|
+
},
|
|
178
|
+
associations: {
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Association to controls / IDs that label this control (see WAI-ARIA attribute aria-labelledby).
|
|
182
|
+
* @since 1.27.0
|
|
183
|
+
*/
|
|
184
|
+
ariaLabelledBy: { type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy" }
|
|
185
|
+
},
|
|
186
|
+
events : {
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* This event gets fired when the selection has finished and the value has changed.
|
|
190
|
+
*/
|
|
191
|
+
change : {
|
|
192
|
+
parameters : {
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* The string value of the control in given valueFormat (or locale format).
|
|
196
|
+
*/
|
|
197
|
+
value : {type : "string"},
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The value of control as JavaScript Date Object or null if value is empty.
|
|
201
|
+
*/
|
|
202
|
+
dateValue : {type : "object"},
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* if set, the entered value is a valid date.
|
|
206
|
+
* If not set the entered value cannot be converted to a date.
|
|
207
|
+
* @since 1.38.0
|
|
208
|
+
*/
|
|
209
|
+
valid : {type : "boolean"}
|
|
210
|
+
|
|
211
|
+
}
|
|
209
212
|
}
|
|
210
213
|
}
|
|
211
|
-
}
|
|
212
|
-
|
|
214
|
+
},
|
|
215
|
+
|
|
216
|
+
renderer: DateTimeInputRenderer
|
|
217
|
+
});
|
|
213
218
|
|
|
214
219
|
|
|
215
220
|
!(function(oPrototype, $, oDevice) {
|
|
@@ -286,7 +291,7 @@ function(
|
|
|
286
291
|
|
|
287
292
|
case DateTimeInputType.Time:
|
|
288
293
|
oPicker = new TimePicker(this.getId() + "-Picker",
|
|
289
|
-
{localeId:
|
|
294
|
+
{localeId: Configuration.getFormatSettings().getFormatLocale().toString()});
|
|
290
295
|
break;
|
|
291
296
|
|
|
292
297
|
default: // default is date
|
|
@@ -24,9 +24,10 @@ sap.ui.define([
|
|
|
24
24
|
'./SegmentedButtonItem',
|
|
25
25
|
'./ResponsivePopover',
|
|
26
26
|
'./Button',
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
'sap/ui/core/IconPool',
|
|
28
|
+
'sap/ui/qunit/utils/waitForThemeApplied',
|
|
29
|
+
'sap/ui/core/Configuration',
|
|
30
|
+
'sap/ui/dom/jquery/cursorPos' // provides jQuery.fn.cursorPos
|
|
30
31
|
], function(
|
|
31
32
|
jQuery,
|
|
32
33
|
InputBase,
|
|
@@ -47,7 +48,8 @@ sap.ui.define([
|
|
|
47
48
|
ResponsivePopover,
|
|
48
49
|
Button,
|
|
49
50
|
IconPool,
|
|
50
|
-
waitForThemeApplied
|
|
51
|
+
waitForThemeApplied,
|
|
52
|
+
Configuration
|
|
51
53
|
) {
|
|
52
54
|
"use strict";
|
|
53
55
|
|
|
@@ -55,8 +57,7 @@ sap.ui.define([
|
|
|
55
57
|
var PlacementType = library.PlacementType,
|
|
56
58
|
ButtonType = library.ButtonType,
|
|
57
59
|
// From Device.media.RANGESETS.SAP_STANDARD - "Phone": For screens smaller than 600 pixels.
|
|
58
|
-
STANDART_PHONE_RANGESET = "Phone"
|
|
59
|
-
CalendarType = coreLibrary.CalendarType;
|
|
60
|
+
STANDART_PHONE_RANGESET = "Phone";
|
|
60
61
|
|
|
61
62
|
/**
|
|
62
63
|
* Constructor for a new <code>DateTimePicker</code>.
|
|
@@ -142,83 +143,88 @@ sap.ui.define([
|
|
|
142
143
|
* mobile devices, it opens in full screen.
|
|
143
144
|
*
|
|
144
145
|
* @extends sap.m.DatePicker
|
|
145
|
-
* @version 1.
|
|
146
|
+
* @version 1.107.0
|
|
146
147
|
*
|
|
147
148
|
* @constructor
|
|
148
149
|
* @public
|
|
149
150
|
* @since 1.38.0
|
|
150
151
|
* @alias sap.m.DateTimePicker
|
|
151
152
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/datetime-picker/ Date/Time Picker}
|
|
152
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
153
153
|
*/
|
|
154
|
-
var DateTimePicker = DatePicker.extend("sap.m.DateTimePicker", /** @lends sap.m.DateTimePicker.prototype */ {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
|
|
154
|
+
var DateTimePicker = DatePicker.extend("sap.m.DateTimePicker", /** @lends sap.m.DateTimePicker.prototype */ {
|
|
155
|
+
metadata : {
|
|
156
|
+
|
|
157
|
+
library : "sap.m",
|
|
158
|
+
properties: {
|
|
159
|
+
/**
|
|
160
|
+
* Sets the minutes step. If the step is less than 1, it will be automatically converted back to 1.
|
|
161
|
+
* The minutes clock is populated only by multiples of the step.
|
|
162
|
+
* @since 1.56
|
|
163
|
+
*/
|
|
164
|
+
minutesStep: {type: "int", group: "Misc", defaultValue: 1 },
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Sets the seconds step. If the step is less than 1, it will be automatically converted back to 1.
|
|
168
|
+
* The seconds clock is populated only by multiples of the step.
|
|
169
|
+
* @since 1.56
|
|
170
|
+
*/
|
|
171
|
+
secondsStep: {type: "int", group: "Misc", defaultValue: 1 },
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Determines whether there is a shortcut navigation to current time.
|
|
175
|
+
*
|
|
176
|
+
* @since 1.98
|
|
177
|
+
*/
|
|
178
|
+
showCurrentTimeButton: { type: "boolean", group: "Behavior", defaultValue: false },
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Determines whether to show the timezone or not.
|
|
182
|
+
* @since 1.99
|
|
183
|
+
*/
|
|
184
|
+
showTimezone: { type: "boolean", group: "Behavior" },
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The IANA timezone ID, e.g <code>"Europe/Berlin"</code>. Date and time are displayed in this timezone.
|
|
188
|
+
* The <code>value</code> property string is treated as if it is formatted in this timezone.
|
|
189
|
+
* The <code>dateValue</code> property should not be used as this could lead to an unpredictable results. Use <code>getValue()</code> instead.
|
|
190
|
+
* @since 1.99
|
|
191
|
+
*/
|
|
192
|
+
timezone: { type: "string", group: "Data" }
|
|
193
|
+
},
|
|
194
|
+
designtime: "sap/m/designtime/DateTimePicker.designtime",
|
|
195
|
+
dnd: { draggable: false, droppable: true }
|
|
192
196
|
},
|
|
193
|
-
designtime: "sap/m/designtime/DateTimePicker.designtime",
|
|
194
|
-
dnd: { draggable: false, droppable: true }
|
|
195
|
-
}, constructor: function(sId, mSettings, oScope) {
|
|
196
|
-
var mSortedSettings;
|
|
197
|
-
|
|
198
|
-
if ( typeof sId !== 'string' && sId !== undefined ) {
|
|
199
|
-
// shift arguments in case sId was missing, but mSettings was given
|
|
200
|
-
oScope = mSettings;
|
|
201
|
-
mSettings = sId;
|
|
202
|
-
sId = mSettings && mSettings.id;
|
|
203
|
-
}
|
|
204
197
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
198
|
+
constructor: function(sId, mSettings, oScope) {
|
|
199
|
+
var mSortedSettings;
|
|
200
|
+
|
|
201
|
+
if ( typeof sId !== 'string' && sId !== undefined ) {
|
|
202
|
+
// shift arguments in case sId was missing, but mSettings was given
|
|
203
|
+
oScope = mSettings;
|
|
204
|
+
mSettings = sId;
|
|
205
|
+
sId = mSettings && mSettings.id;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
mSortedSettings = mSettings ? Object.keys(mSettings)
|
|
209
|
+
.sort(function(sKey1, sKey2) {
|
|
210
|
+
if (sKey1 === "timezone") {
|
|
211
|
+
return -1;
|
|
212
|
+
} else if (sKey2 === "timezone") {
|
|
213
|
+
return 1;
|
|
214
|
+
}
|
|
212
215
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
return 0;
|
|
217
|
+
})
|
|
218
|
+
.reduce(function (acc, key) {
|
|
219
|
+
acc[key] = mSettings[key];
|
|
220
|
+
return acc;
|
|
221
|
+
}, {}) : mSettings;
|
|
219
222
|
|
|
220
|
-
|
|
221
|
-
|
|
223
|
+
DatePicker.call(this, sId, mSortedSettings, oScope);
|
|
224
|
+
},
|
|
225
|
+
|
|
226
|
+
renderer: DateTimePickerRenderer
|
|
227
|
+
});
|
|
222
228
|
|
|
223
229
|
var DateTimeFormatStyles = {
|
|
224
230
|
Short: "short",
|
|
@@ -663,7 +669,7 @@ sap.ui.define([
|
|
|
663
669
|
if (oFormatOptions.calendarType === undefined) {
|
|
664
670
|
oFormatOptions.calendarType = bDisplayFormat
|
|
665
671
|
? this.getDisplayFormatType()
|
|
666
|
-
:
|
|
672
|
+
: Configuration.getCalendarType();
|
|
667
673
|
}
|
|
668
674
|
|
|
669
675
|
if (oFormatOptions.strictParsing === undefined) {
|
|
@@ -821,7 +827,10 @@ sap.ui.define([
|
|
|
821
827
|
|
|
822
828
|
DateTimePicker.prototype._getPickerParser = function() {
|
|
823
829
|
if (!this._clocksParser) {
|
|
824
|
-
this._clocksParser = DateFormat.getDateTimeWithTimezoneInstance({
|
|
830
|
+
this._clocksParser = DateFormat.getDateTimeWithTimezoneInstance({
|
|
831
|
+
showTimezone: false,
|
|
832
|
+
calendarType: this.getDisplayFormatType()
|
|
833
|
+
});
|
|
825
834
|
}
|
|
826
835
|
|
|
827
836
|
return this._clocksParser;
|
|
@@ -1035,7 +1044,6 @@ sap.ui.define([
|
|
|
1035
1044
|
* @public
|
|
1036
1045
|
* @returns {object}
|
|
1037
1046
|
* @since 1.102
|
|
1038
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1039
1047
|
*/
|
|
1040
1048
|
|
|
1041
1049
|
DateTimePicker.prototype.getLocaleId = function(){
|
|
@@ -39,7 +39,7 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
DateTimePickerRenderer.writeAdditionalContent = function(oRm, oControl) {
|
|
42
|
-
var sTimezone = oControl._getTranslatedTimezone(true);
|
|
42
|
+
var sTimezone = oControl._getTranslatedTimezone(true) || oControl._getTimezone(true);
|
|
43
43
|
|
|
44
44
|
if (!oControl._getShowTimezone()) {
|
|
45
45
|
return;
|
package/src/sap/m/Dialog.js
CHANGED
|
@@ -178,13 +178,12 @@ function(
|
|
|
178
178
|
*
|
|
179
179
|
* @implements sap.ui.core.PopupInterface
|
|
180
180
|
* @author SAP SE
|
|
181
|
-
* @version 1.
|
|
181
|
+
* @version 1.107.0
|
|
182
182
|
*
|
|
183
183
|
* @constructor
|
|
184
184
|
* @public
|
|
185
185
|
* @alias sap.m.Dialog
|
|
186
186
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/dialog/ Dialog}
|
|
187
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
188
187
|
*/
|
|
189
188
|
var Dialog = Control.extend("sap.m.Dialog", /** @lends sap.m.Dialog.prototype */ {
|
|
190
189
|
metadata: {
|
|
@@ -450,7 +449,9 @@ function(
|
|
|
450
449
|
}
|
|
451
450
|
},
|
|
452
451
|
designtime: "sap/m/designtime/Dialog.designtime"
|
|
453
|
-
}
|
|
452
|
+
},
|
|
453
|
+
|
|
454
|
+
renderer: DialogRenderer
|
|
454
455
|
});
|
|
455
456
|
|
|
456
457
|
ResponsivePaddingsEnablement.call(Dialog.prototype, {
|
|
@@ -643,7 +644,6 @@ function(
|
|
|
643
644
|
*
|
|
644
645
|
* @return {this} <code>this</code> to allow method chaining
|
|
645
646
|
* @public
|
|
646
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
647
647
|
*/
|
|
648
648
|
Dialog.prototype.open = function () {
|
|
649
649
|
|
|
@@ -693,7 +693,6 @@ function(
|
|
|
693
693
|
*
|
|
694
694
|
* @return {this} <code>this</code> to allow method chaining
|
|
695
695
|
* @public
|
|
696
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
697
696
|
*/
|
|
698
697
|
Dialog.prototype.close = function () {
|
|
699
698
|
this._bOpenAfterClose = false;
|
|
@@ -728,7 +727,6 @@ function(
|
|
|
728
727
|
* @returns {boolean} Whether the dialog is open.
|
|
729
728
|
* @public
|
|
730
729
|
* @since 1.9.1
|
|
731
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
732
730
|
*/
|
|
733
731
|
Dialog.prototype.isOpen = function () {
|
|
734
732
|
return !!this.oPopup && this.oPopup.isOpen();
|
|
@@ -1267,7 +1265,12 @@ function(
|
|
|
1267
1265
|
oPosition = {
|
|
1268
1266
|
top: Math.round(oAreaDimensions.top + iTop)
|
|
1269
1267
|
};
|
|
1270
|
-
|
|
1268
|
+
|
|
1269
|
+
if (this._bRTL) {
|
|
1270
|
+
oPosition.right = Math.round(window.innerWidth - oAreaDimensions.right + iLeft);
|
|
1271
|
+
} else {
|
|
1272
|
+
oPosition.left = Math.round(oAreaDimensions.left + iLeft);
|
|
1273
|
+
}
|
|
1271
1274
|
|
|
1272
1275
|
return oPosition;
|
|
1273
1276
|
};
|