@openui5/sap.m 1.98.0 → 1.101.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +6 -6
- 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 +2 -2
- package/src/sap/m/ActionListItemRenderer.js +5 -7
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSelectRenderer.js +1 -1
- package/src/sap/m/ActionSheet.js +12 -5
- package/src/sap/m/ActionSheetRenderer.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 +21 -4
- package/src/sap/m/AvatarRenderer.js +6 -1
- package/src/sap/m/BadgeCustomData.js +6 -4
- package/src/sap/m/BadgeEnabler.js +3 -2
- package/src/sap/m/Bar.js +6 -5
- package/src/sap/m/BarRenderer.js +6 -6
- package/src/sap/m/Breadcrumbs.js +81 -7
- package/src/sap/m/BreadcrumbsRenderer.js +3 -7
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/BusyIndicatorRenderer.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/ButtonRenderer.js +3 -3
- package/src/sap/m/Carousel.js +22 -17
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +10 -4
- package/src/sap/m/CheckBox.js +2 -4
- package/src/sap/m/CheckBoxRenderer.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/ColumnListItemRenderer.js +10 -11
- 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 +3 -2
- package/src/sap/m/ComboBoxBase.js +5 -3
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxRenderer.js +4 -4
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ComboBoxTextFieldRenderer.js +2 -2
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomListItemRenderer.js +4 -6
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +2 -2
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +36 -7
- package/src/sap/m/DatePickerRenderer.js +1 -6
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
- package/src/sap/m/DateTimeField.js +15 -6
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +375 -89
- package/src/sap/m/DateTimePickerRenderer.js +57 -0
- package/src/sap/m/Dialog.js +20 -7
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +4 -6
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DraftIndicatorRenderer.js +1 -1
- package/src/sap/m/DynamicDate.js +3 -3
- package/src/sap/m/DynamicDateFormat.js +33 -1
- package/src/sap/m/DynamicDateOption.js +144 -9
- package/src/sap/m/DynamicDateRange.js +145 -49
- package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
- package/src/sap/m/DynamicDateUtil.js +10 -3
- 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/FacetFilterItemRenderer.js +1 -1
- package/src/sap/m/FacetFilterList.js +7 -5
- package/src/sap/m/FacetFilterRenderer.js +10 -10
- package/src/sap/m/FeedContent.js +2 -2
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedInputRenderer.js +1 -1
- package/src/sap/m/FeedListItem.js +7 -7
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +12 -7
- 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 +4 -1
- package/src/sap/m/GenericTag.js +5 -3
- package/src/sap/m/GenericTagRenderer.js +13 -5
- package/src/sap/m/GenericTile.js +62 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +77 -3
- package/src/sap/m/GenericTileRenderer.js +89 -42
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +2 -2
- package/src/sap/m/GrowingEnablement.js +53 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HBoxRenderer.js +1 -1
- package/src/sap/m/HeaderContainer.js +87 -16
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HeaderContainerRenderer.js +1 -1
- package/src/sap/m/HyphenationSupport.js +1 -5
- package/src/sap/m/IconTabBar.js +2 -2
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +3 -5
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +9 -13
- package/src/sap/m/IconTabHeaderRenderer.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +29 -8
- package/src/sap/m/IllustratedMessageRenderer.js +5 -5
- package/src/sap/m/IllustratedMessageType.js +26 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +4 -2
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +2 -2
- package/src/sap/m/ImageRenderer.js +1 -1
- package/src/sap/m/Input.js +13 -23
- package/src/sap/m/InputBase.js +6 -8
- package/src/sap/m/InputBaseRenderer.js +53 -39
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +4 -6
- package/src/sap/m/InputRenderer.js +12 -9
- package/src/sap/m/Label.js +3 -3
- package/src/sap/m/LabelRenderer.js +2 -2
- package/src/sap/m/LightBox.js +5 -5
- package/src/sap/m/LightBoxItem.js +2 -3
- package/src/sap/m/LightBoxRenderer.js +1 -1
- package/src/sap/m/Link.js +2 -2
- package/src/sap/m/LinkRenderer.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +50 -10
- package/src/sap/m/ListBaseRenderer.js +38 -24
- package/src/sap/m/ListItemBase.js +4 -3
- package/src/sap/m/ListItemBaseRenderer.js +23 -23
- package/src/sap/m/MaskEnabler.js +11 -11
- package/src/sap/m/MaskInput.js +9 -1
- package/src/sap/m/MaskInputRenderer.js +9 -43
- package/src/sap/m/MaskInputRule.js +5 -5
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +5 -1
- package/src/sap/m/MenuButtonRenderer.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuListItemRenderer.js +2 -2
- package/src/sap/m/MessageBox.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/MessagePageRenderer.js +1 -1
- package/src/sap/m/MessagePopover.js +19 -34
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessagePopoverRenderer.js +1 -1
- package/src/sap/m/MessageStrip.js +2 -2
- package/src/sap/m/MessageStripRenderer.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +3 -3
- package/src/sap/m/MultiComboBox.js +6 -4
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +44 -27
- package/src/sap/m/NavContainer.js +53 -53
- package/src/sap/m/NavContainerRenderer.js +1 -1
- package/src/sap/m/NewsContent.js +2 -2
- 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/NotificationListGroupRenderer.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NotificationListItemRenderer.js +1 -1
- package/src/sap/m/NotificationListRenderer.js +2 -2
- package/src/sap/m/NumericContent.js +30 -22
- package/src/sap/m/NumericContentRenderer.js +10 -10
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +4 -5
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +20 -7
- package/src/sap/m/ObjectHeaderRenderer.js +3 -3
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectListItemRenderer.js +2 -2
- package/src/sap/m/ObjectMarker.js +35 -11
- package/src/sap/m/ObjectMarkerRenderer.js +15 -3
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -2
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -5
- package/src/sap/m/OverflowToolbar.js +23 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +4 -3
- package/src/sap/m/PDFViewerRenderer.js +15 -7
- 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/PanelRenderer.js +1 -1
- package/src/sap/m/PlanningCalendar.js +16 -15
- package/src/sap/m/PlanningCalendarHeader.js +1 -4
- 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 +25 -9
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +3 -3
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/PullToRefreshRenderer.js +2 -2
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewCardRenderer.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +5 -2
- package/src/sap/m/QuickViewPageRenderer.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +14 -2
- package/src/sap/m/RadioButtonRenderer.js +1 -2
- package/src/sap/m/RangeSlider.js +17 -6
- package/src/sap/m/RangeSliderRenderer.js +5 -5
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/RatingIndicatorRenderer.js +1 -1
- package/src/sap/m/ResponsivePopover.js +3 -5
- package/src/sap/m/ResponsivePopoverRenderer.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +3 -3
- package/src/sap/m/ScrollBarRenderer.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/ScrollContainerRenderer.js +1 -1
- package/src/sap/m/SearchField.js +2 -2
- package/src/sap/m/SegmentedButton.js +17 -7
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +2 -2
- package/src/sap/m/Select.js +36 -6
- package/src/sap/m/SelectDialog.js +4 -4
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectListRenderer.js +5 -5
- package/src/sap/m/SelectRenderer.js +5 -5
- package/src/sap/m/SelectionDetails.js +3 -5
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +3 -3
- package/src/sap/m/SelectionDetailsRenderer.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/ShellRenderer.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +21 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +118 -67
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +16 -14
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +24 -10
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.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 +2 -2
- package/src/sap/m/SlideTileRenderer.js +9 -2
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +9 -9
- package/src/sap/m/SliderTooltip.js +3 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- package/src/sap/m/SliderTooltipContainer.js +6 -2
- package/src/sap/m/SliderTooltipContainerRenderer.js +1 -1
- package/src/sap/m/SliderTooltipRenderer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +3 -1
- package/src/sap/m/SplitButtonRenderer.js +1 -1
- package/src/sap/m/SplitContainer.js +24 -31
- package/src/sap/m/StandardDynamicDateOption.js +154 -12
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardListItemRenderer.js +8 -8
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +4 -4
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +7 -22
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -3
- package/src/sap/m/TabContainerRenderer.js +2 -2
- package/src/sap/m/TabStrip.js +2 -2
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +41 -9
- 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/TableRenderer.js +10 -5
- package/src/sap/m/TableSelectDialog.js +19 -19
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/TextAreaRenderer.js +1 -1
- package/src/sap/m/Tile.js +3 -3
- package/src/sap/m/TileContainer.js +6 -4
- package/src/sap/m/TileContainerRenderer.js +1 -1
- package/src/sap/m/TileContent.js +37 -5
- package/src/sap/m/TileContentRenderer.js +43 -6
- package/src/sap/m/TileRenderer.js +2 -2
- package/src/sap/m/TimePicker.js +4 -56
- package/src/sap/m/TimePickerClock.js +5 -6
- package/src/sap/m/TimePickerClockRenderer.js +1 -1
- package/src/sap/m/TimePickerClocks.js +6 -5
- package/src/sap/m/TimePickerClocksRenderer.js +3 -3
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +1 -1
- package/src/sap/m/TimePickerInternals.js +8 -6
- package/src/sap/m/TimePickerRenderer.js +5 -17
- package/src/sap/m/TimePickerSlider.js +2 -2
- package/src/sap/m/TimePickerSliderRenderer.js +2 -2
- package/src/sap/m/TimePickerSliders.js +7 -5
- package/src/sap/m/TimePickerSlidersRenderer.js +1 -1
- package/src/sap/m/Title.js +1 -5
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/TitleRenderer.js +2 -2
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -2
- package/src/sap/m/TokenRenderer.js +21 -3
- package/src/sap/m/Tokenizer.js +8 -8
- package/src/sap/m/TokenizerRenderer.js +41 -7
- package/src/sap/m/Toolbar.js +5 -5
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarRenderer.js +3 -3
- package/src/sap/m/ToolbarSeparator.js +5 -3
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +6 -6
- package/src/sap/m/TreeItemBaseRenderer.js +2 -2
- package/src/sap/m/TreeRenderer.js +2 -2
- package/src/sap/m/UploadCollection.js +5 -3
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionRenderer.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/VBoxRenderer.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 +118 -61
- package/src/sap/m/ViewSettingsDialogRenderer.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 +2 -2
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/WheelSliderContainerRenderer.js +1 -1
- package/src/sap/m/WheelSliderRenderer.js +2 -2
- package/src/sap/m/Wizard.js +22 -4
- package/src/sap/m/WizardProgressNavigator.js +10 -3
- 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 +5 -5
- package/src/sap/m/delegate/DateNavigation.js +2 -2
- package/src/sap/m/designtime/ListBase.designtime.js +29 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
- package/src/sap/m/inputUtils/typeAhead.js +7 -7
- package/src/sap/m/library.js +74 -38
- package/src/sap/m/messagebundle.properties +80 -20
- package/src/sap/m/messagebundle_ar.properties +48 -14
- package/src/sap/m/messagebundle_bg.properties +77 -43
- package/src/sap/m/messagebundle_ca.properties +48 -14
- package/src/sap/m/messagebundle_cs.properties +50 -16
- package/src/sap/m/messagebundle_cy.properties +48 -14
- package/src/sap/m/messagebundle_da.properties +49 -15
- package/src/sap/m/messagebundle_de.properties +49 -15
- package/src/sap/m/messagebundle_el.properties +53 -19
- package/src/sap/m/messagebundle_en.properties +46 -12
- package/src/sap/m/messagebundle_en_GB.properties +46 -12
- package/src/sap/m/messagebundle_en_US_sappsd.properties +48 -12
- package/src/sap/m/messagebundle_en_US_saprigi.properties +291 -66
- package/src/sap/m/messagebundle_en_US_saptrc.properties +46 -12
- package/src/sap/m/messagebundle_es.properties +48 -14
- package/src/sap/m/messagebundle_es_MX.properties +48 -14
- package/src/sap/m/messagebundle_et.properties +48 -14
- package/src/sap/m/messagebundle_fi.properties +49 -15
- package/src/sap/m/messagebundle_fr.properties +61 -27
- package/src/sap/m/messagebundle_fr_CA.properties +47 -13
- package/src/sap/m/messagebundle_hi.properties +46 -12
- package/src/sap/m/messagebundle_hr.properties +48 -14
- package/src/sap/m/messagebundle_hu.properties +49 -15
- package/src/sap/m/messagebundle_id.properties +48 -14
- package/src/sap/m/messagebundle_it.properties +55 -21
- package/src/sap/m/messagebundle_iw.properties +48 -14
- package/src/sap/m/messagebundle_ja.properties +51 -17
- package/src/sap/m/messagebundle_kk.properties +48 -14
- package/src/sap/m/messagebundle_ko.properties +48 -14
- package/src/sap/m/messagebundle_lt.properties +48 -14
- package/src/sap/m/messagebundle_lv.properties +48 -14
- package/src/sap/m/messagebundle_ms.properties +47 -13
- package/src/sap/m/messagebundle_nl.properties +48 -14
- package/src/sap/m/messagebundle_no.properties +48 -14
- package/src/sap/m/messagebundle_pl.properties +48 -14
- package/src/sap/m/messagebundle_pt.properties +71 -37
- package/src/sap/m/messagebundle_pt_PT.properties +49 -15
- package/src/sap/m/messagebundle_ro.properties +48 -14
- package/src/sap/m/messagebundle_ru.properties +48 -14
- package/src/sap/m/messagebundle_sh.properties +48 -14
- package/src/sap/m/messagebundle_sk.properties +48 -14
- package/src/sap/m/messagebundle_sl.properties +48 -14
- package/src/sap/m/messagebundle_sv.properties +49 -15
- package/src/sap/m/messagebundle_th.properties +55 -21
- package/src/sap/m/messagebundle_tr.properties +48 -14
- package/src/sap/m/messagebundle_uk.properties +48 -14
- package/src/sap/m/messagebundle_vi.properties +47 -13
- package/src/sap/m/messagebundle_zh_CN.properties +48 -14
- package/src/sap/m/messagebundle_zh_TW.properties +47 -13
- package/src/sap/m/p13n/AbstractContainer.js +15 -8
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +39 -20
- package/src/sap/m/p13n/Container.js +20 -14
- package/src/sap/m/p13n/GroupPanel.js +6 -5
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +93 -30
- package/src/sap/m/p13n/SelectionPanel.js +16 -8
- package/src/sap/m/p13n/SortPanel.js +9 -6
- package/src/sap/m/plugins/ColumnResizer.js +38 -9
- 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/rules/Breadcrumbs.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/Tokenizer.support.js +4 -2
- 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 +7 -14
- 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 +2 -2
- 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 +104 -23
- package/src/sap/m/table/{ActionItem.js → columnmenu/ActionItem.js} +9 -10
- package/src/sap/m/table/{ColumnMenuEntry.js → columnmenu/Entry.js} +16 -16
- package/src/sap/m/table/{Item.js → columnmenu/Item.js} +8 -8
- package/src/sap/m/table/{ItemBase.js → columnmenu/ItemBase.js} +11 -12
- package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +556 -0
- package/src/sap/m/table/columnmenu/MenuRenderer.js +57 -0
- package/src/sap/m/table/columnmenu/QuickAction.js +65 -0
- package/src/sap/m/table/columnmenu/QuickActionBase.js +54 -0
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +51 -0
- package/src/sap/m/table/columnmenu/QuickGroup.js +146 -0
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +59 -0
- package/src/sap/m/table/columnmenu/QuickSort.js +80 -0
- package/src/sap/m/table/columnmenu/QuickSortItem.js +118 -0
- package/src/sap/m/table/columnmenu/QuickTotal.js +157 -0
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +59 -0
- package/src/sap/m/themes/base/AbstractContainer.less +2 -3
- package/src/sap/m/themes/base/Avatar.less +11 -5
- package/src/sap/m/themes/base/Button.less +2 -2
- package/src/sap/m/themes/base/Carousel.less +5 -0
- package/src/sap/m/themes/base/CheckBox.less +0 -5
- package/src/sap/m/themes/base/ColumnMenu.less +17 -13
- package/src/sap/m/themes/base/DatePicker.less +7 -2
- package/src/sap/m/themes/base/DateTimePicker.less +147 -1
- package/src/sap/m/themes/base/Dialog.less +4 -6
- package/src/sap/m/themes/base/DynamicDateRange.less +3 -1
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +418 -55
- package/src/sap/m/themes/base/HeaderContainer.less +25 -0
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- package/src/sap/m/themes/base/IllustratedMessage.less +16 -16
- package/src/sap/m/themes/base/Input.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +112 -10
- package/src/sap/m/themes/base/Label.less +4 -1
- package/src/sap/m/themes/base/Link.less +12 -4
- package/src/sap/m/themes/base/ListBase.less +4 -0
- package/src/sap/m/themes/base/MenuButton.less +4 -4
- package/src/sap/m/themes/base/MessageToast.less +2 -2
- package/src/sap/m/themes/base/MultiInput.less +1 -1
- package/src/sap/m/themes/base/NewsContent.less +7 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -5
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -1
- package/src/sap/m/themes/base/ObjectMarker.less +3 -1
- package/src/sap/m/themes/base/ObjectStatus.less +5 -0
- package/src/sap/m/themes/base/Page.less +1 -1
- package/src/sap/m/themes/base/Popover.less +10 -7
- package/src/sap/m/themes/base/RadioButton.less +22 -3
- package/src/sap/m/themes/base/SearchField.less +23 -59
- package/src/sap/m/themes/base/SplitButton.less +5 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
- package/src/sap/m/themes/base/TextArea.less +27 -0
- package/src/sap/m/themes/base/TileContent.less +45 -1
- package/src/sap/m/themes/base/Token.less +14 -13
- package/src/sap/m/themes/base/Tokenizer.less +2 -2
- package/src/sap/m/themes/base/ValueStateMessage.less +3 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -72
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +33 -18
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +1 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +3 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +12 -9
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +41 -40
- package/src/sap/m/themes/base/illustrations/{sapIllus-Dialog-SimpleCheckmark.svg → sapIllus-Dialog-SimpleCheckMark.svg} +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +29 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessBalloon.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessCheckMark.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +45 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +28 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoadImage.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -85
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +42 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +15 -12
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -42
- package/src/sap/m/themes/base/illustrations/{sapIllus-Scene-SimpleCheckmark.svg → sapIllus-Scene-SimpleCheckMark.svg} +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +49 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessBalloon.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessCheckMark.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +58 -53
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoadImage.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +24 -16
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +10 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +8 -13
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +11 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +37 -39
- package/src/sap/m/themes/base/illustrations/{sapIllus-Spot-SimpleCheckmark.svg → sapIllus-Spot-SimpleCheckMark.svg} +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +38 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessBalloon.svg +19 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessCheckMark.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +28 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoadImage.svg +36 -0
- package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +0 -12
- package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
- package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
- package/src/sap/m/themes/sap_hcb/Token.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateMessage.less +12 -1
- package/src/sap/m/upload/UploadSet.js +421 -59
- package/src/sap/m/upload/UploadSetItem.js +77 -8
- package/src/sap/m/upload/UploadSetRenderer.js +1 -1
- package/src/sap/m/table/ColumnMenu.js +0 -378
- package/src/sap/m/table/ColumnMenuRenderer.js +0 -82
- package/src/sap/m/table/QuickAction.js +0 -53
- package/src/sap/m/table/QuickActionBase.js +0 -53
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +0 -21
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +0 -54
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +0 -18
|
@@ -86,7 +86,7 @@ function(
|
|
|
86
86
|
*
|
|
87
87
|
* @extends sap.ui.core.Control
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.101.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -817,7 +817,6 @@ function(
|
|
|
817
817
|
*
|
|
818
818
|
* NOTE: It depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
819
819
|
* The "show", "slide" and "fade" transitions do not use any parameter.
|
|
820
|
-
* @type this
|
|
821
820
|
* @public
|
|
822
821
|
* @since 1.10.0
|
|
823
822
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -859,7 +858,6 @@ function(
|
|
|
859
858
|
* In order to use the transitionParameters property, the data property must be used (at least "null" must be given) for a proper parameter order.
|
|
860
859
|
*
|
|
861
860
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
862
|
-
* @type this
|
|
863
861
|
* @public
|
|
864
862
|
* @since 1.10.0
|
|
865
863
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -874,10 +872,10 @@ function(
|
|
|
874
872
|
|
|
875
873
|
/**
|
|
876
874
|
* Proxy to the _safeBackToPage methods of the internal nav containers
|
|
877
|
-
* @param pageId
|
|
878
|
-
* @param transitionName
|
|
879
|
-
* @param backData
|
|
880
|
-
* @param oTransitionParameters
|
|
875
|
+
* @param {string} pageId
|
|
876
|
+
* @param {string} transitionName
|
|
877
|
+
* @param {object} backData
|
|
878
|
+
* @param {object} oTransitionParameters
|
|
881
879
|
* @private
|
|
882
880
|
*/
|
|
883
881
|
SplitContainer.prototype._safeBackToPage = function(pageId, transitionName, backData, oTransitionParameters) {
|
|
@@ -901,7 +899,7 @@ function(
|
|
|
901
899
|
* Options are "slide" (horizontal movement from the right), "baseSlide", "fade", "flip", and "show" and the names of any registered custom transitions.
|
|
902
900
|
* @param {object} oData
|
|
903
901
|
* This optional object can carry any payload data which would have been given to the inserted previous page if the user would have done a normal forward navigation to it.
|
|
904
|
-
* @
|
|
902
|
+
* @returns {this}
|
|
905
903
|
* @public
|
|
906
904
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
907
905
|
*/
|
|
@@ -939,7 +937,6 @@ function(
|
|
|
939
937
|
*
|
|
940
938
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
941
939
|
* The "show", "slide" and "fade" transitions do not use any parameter.
|
|
942
|
-
* @type this
|
|
943
940
|
* @public
|
|
944
941
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
945
942
|
*/
|
|
@@ -959,14 +956,13 @@ function(
|
|
|
959
956
|
* For back navigation this can be used, for example, when returning from a detail page to transfer any settings done there.
|
|
960
957
|
*
|
|
961
958
|
* When the transitionParameters object is used, this data object must also be given (either as object or as null) in order to have a proper parameter order.
|
|
962
|
-
* @param {object}
|
|
959
|
+
* @param {object} oTransitionParameters
|
|
963
960
|
* This optional object can give additional information to the transition function, like the DOM element, which triggered the transition or the desired transition duration.
|
|
964
961
|
* The animation type can NOT be selected here - it is always the inverse of the "to" navigation.
|
|
965
962
|
*
|
|
966
963
|
* In order to use the transitionParameters property, the data property must be used (at least "null" must be given) for a proper parameter order.
|
|
967
964
|
*
|
|
968
965
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
969
|
-
* @type this
|
|
970
966
|
* @public
|
|
971
967
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
972
968
|
*/
|
|
@@ -994,14 +990,13 @@ function(
|
|
|
994
990
|
* Use case: in scenarios where the entity triggering the navigation can or should not directly initialize the target page, it can fill this object and the target page itself (or a listener on it) can take over the initialization, using the given data.
|
|
995
991
|
*
|
|
996
992
|
* When the transitionParameters object is used, this data object must also be given (either as object or as null) in order to have a proper parameter order.
|
|
997
|
-
* @param {object}
|
|
993
|
+
* @param {object} oTransitionParameters
|
|
998
994
|
* This optional object can contain additional information for the transition function, like the DOM element, which triggered the transition or the desired transition duration.
|
|
999
995
|
*
|
|
1000
996
|
* For a proper parameter order, the data parameter must be given when the transitionParameters parameter is used (it can be given as "null").
|
|
1001
997
|
*
|
|
1002
998
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
1003
999
|
* The "show", "slide" and "fade" transitions do not use any parameter.
|
|
1004
|
-
* @type this
|
|
1005
1000
|
* @public
|
|
1006
1001
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1007
1002
|
*/
|
|
@@ -1020,14 +1015,13 @@ function(
|
|
|
1020
1015
|
* For back navigation this can be used, for example, when returning from a detail page to transfer any settings done there.
|
|
1021
1016
|
*
|
|
1022
1017
|
* When the transitionParameters object is used, this data object must also be given (either as object or as null) in order to have a proper parameter order.
|
|
1023
|
-
* @param {object}
|
|
1018
|
+
* @param {object} oTransitionParameters
|
|
1024
1019
|
* This optional object can give additional information to the transition function, like the DOM element, which triggered the transition or the desired transition duration.
|
|
1025
1020
|
* The animation type can NOT be selected here - it is always the inverse of the "to" navigation.
|
|
1026
1021
|
*
|
|
1027
1022
|
* In order to use the transitionParameters property, the data property must be used (at least "null" must be given) for a proper parameter order.
|
|
1028
1023
|
*
|
|
1029
1024
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
1030
|
-
* @type this
|
|
1031
1025
|
* @public
|
|
1032
1026
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1033
1027
|
*/
|
|
@@ -1052,14 +1046,13 @@ function(
|
|
|
1052
1046
|
* For back navigation this can be used e.g. when returning from a detail page to transfer any settings done there.
|
|
1053
1047
|
*
|
|
1054
1048
|
* When the "transitionParameters" object is used, this "data" object must also be given (either as object or as null) in order to have a proper parameter order.
|
|
1055
|
-
* @param {object}
|
|
1049
|
+
* @param {object} oTransitionParameters
|
|
1056
1050
|
* This optional object can give additional information to the transition function, like the DOM element which triggered the transition or the desired transition duration.
|
|
1057
1051
|
* The animation type can NOT be selected here - it is always the inverse of the "to" navigation.
|
|
1058
1052
|
*
|
|
1059
1053
|
* In order to use the transitionParameters property, the data property must be used (at least "null" must be given) for a proper parameter order.
|
|
1060
1054
|
*
|
|
1061
1055
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
1062
|
-
* @type sap.ui.core.Control
|
|
1063
1056
|
* @public
|
|
1064
1057
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1065
1058
|
*/
|
|
@@ -1080,14 +1073,13 @@ function(
|
|
|
1080
1073
|
* For back navigation this can be used, for example, when returning from a detail page to transfer any settings done there.
|
|
1081
1074
|
*
|
|
1082
1075
|
* When the transitionParameters object is used, this data object must also be given (either as object or as null) in order to have a proper parameter order.
|
|
1083
|
-
* @param {object}
|
|
1076
|
+
* @param {object} oTransitionParameters
|
|
1084
1077
|
* This optional object can give additional information to the transition function, like the DOM element, which triggered the transition or the desired transition duration.
|
|
1085
1078
|
* The animation type can NOT be selected here - it is always the inverse of the "to" navigation.
|
|
1086
1079
|
*
|
|
1087
1080
|
* In order to use the transitionParameters property, the data property must be used (at least "null" must be given) for a proper parameter order.
|
|
1088
1081
|
*
|
|
1089
1082
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
1090
|
-
* @type sap.ui.core.Control
|
|
1091
1083
|
* @public
|
|
1092
1084
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1093
1085
|
*/
|
|
@@ -1285,7 +1277,7 @@ function(
|
|
|
1285
1277
|
* The content entities between which this SplitContainer navigates in either master area or detail area depending on the master parameter. These can be of type sap.m.Page, sap.ui.core.mvc.View, sap.m.Carousel or any other control with fullscreen/page semantics.
|
|
1286
1278
|
* @param {boolean} bMaster
|
|
1287
1279
|
* States if the page should be added to the master area. If it's set to false, the page is added to detail area.
|
|
1288
|
-
* @
|
|
1280
|
+
* @returns {this}
|
|
1289
1281
|
* @public
|
|
1290
1282
|
* @since 1.11.1
|
|
1291
1283
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -1302,7 +1294,7 @@ function(
|
|
|
1302
1294
|
/**
|
|
1303
1295
|
* Used to make the master page visible when in ShowHideMode and the device is in portrait mode.
|
|
1304
1296
|
*
|
|
1305
|
-
*
|
|
1297
|
+
* @@returns {this}
|
|
1306
1298
|
* @public
|
|
1307
1299
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1308
1300
|
*/
|
|
@@ -1358,7 +1350,7 @@ function(
|
|
|
1358
1350
|
/**
|
|
1359
1351
|
* Used to hide the master page when in ShowHideMode and the device is in portrait mode.
|
|
1360
1352
|
*
|
|
1361
|
-
* @
|
|
1353
|
+
* @returns {this}
|
|
1362
1354
|
* @public
|
|
1363
1355
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1364
1356
|
*/
|
|
@@ -1482,9 +1474,10 @@ function(
|
|
|
1482
1474
|
/**
|
|
1483
1475
|
* Returns the page with the given ID in master area (if there's no page that has the given ID, null is returned).
|
|
1484
1476
|
*
|
|
1485
|
-
* @param {string}
|
|
1477
|
+
* @param {string} pageId
|
|
1486
1478
|
* The ID of the page that needs to be fetched
|
|
1487
|
-
* @
|
|
1479
|
+
* @returns {sap.ui.core.Control|null}
|
|
1480
|
+
* The requested page
|
|
1488
1481
|
* @public
|
|
1489
1482
|
* @since 1.11.1
|
|
1490
1483
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -1497,8 +1490,8 @@ function(
|
|
|
1497
1490
|
/**
|
|
1498
1491
|
* Returns the page with the given ID in detail area. If there's no page that has the given ID, null is returned.
|
|
1499
1492
|
*
|
|
1500
|
-
* @param {string}
|
|
1501
|
-
* @
|
|
1493
|
+
* @param {string} pageId The ID of the page that needs to be fetched.
|
|
1494
|
+
* @returns {sap.ui.core.Control|null} the requested page
|
|
1502
1495
|
* @public
|
|
1503
1496
|
* @since 1.11.1
|
|
1504
1497
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -1511,11 +1504,11 @@ function(
|
|
|
1511
1504
|
/**
|
|
1512
1505
|
* Returns the page with the given ID from either master area, or detail area depending on the master parameter (if there's no page that has the given ID, null is returned).
|
|
1513
1506
|
*
|
|
1514
|
-
* @param {string}
|
|
1507
|
+
* @param {string} pageId
|
|
1515
1508
|
* The ID of the page that needs to be fetched
|
|
1516
1509
|
* @param {boolean} bMaster
|
|
1517
1510
|
* If the page with given ID should be fetched from the master area. If it's set to false, the page will be fetched from detail area.
|
|
1518
|
-
* @
|
|
1511
|
+
* @returns {sap.ui.core.Control|null}
|
|
1519
1512
|
* @public
|
|
1520
1513
|
* @since 1.11.1
|
|
1521
1514
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -1530,12 +1523,12 @@ function(
|
|
|
1530
1523
|
|
|
1531
1524
|
|
|
1532
1525
|
/**
|
|
1533
|
-
*
|
|
1534
1526
|
* Returns whether master area is currently displayed on the screen.
|
|
1527
|
+
*
|
|
1535
1528
|
* In desktop browser or tablet, this method returns true when master area is displayed on the screen, regardless if in portrait or landscape mode.
|
|
1536
1529
|
* On mobile phone devices, this method returns true when the currently displayed page is from the pages, which are added to the master area, otherwise, it returns false.
|
|
1537
1530
|
*
|
|
1538
|
-
* @
|
|
1531
|
+
* @returns {boolean}
|
|
1539
1532
|
* @public
|
|
1540
1533
|
* @since 1.16.5
|
|
1541
1534
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -1965,7 +1958,7 @@ function(
|
|
|
1965
1958
|
aHeaderContent = oHeaderAggregation.aAggregationContent;
|
|
1966
1959
|
|
|
1967
1960
|
for (var i = 0; i < aHeaderContent.length; i++) {
|
|
1968
|
-
if (aHeaderContent[i] instanceof
|
|
1961
|
+
if (aHeaderContent[i] instanceof Button && aHeaderContent[i].getVisible()
|
|
1969
1962
|
&& (aHeaderContent[i].getType() == ButtonType.Back || (aHeaderContent[i].getType() == ButtonType.Up
|
|
1970
1963
|
&& aHeaderContent[i] !== this._oShowMasterBtn))) {
|
|
1971
1964
|
this._bDetailNavButton = true;
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.m.DynamicDateOption
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.101.0
|
|
56
56
|
*
|
|
57
57
|
* @public
|
|
58
58
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -70,11 +70,14 @@ sap.ui.define([
|
|
|
70
70
|
|
|
71
71
|
var Keys = {
|
|
72
72
|
"DATE": "DATE",
|
|
73
|
+
"DATETIME": "DATETIME",
|
|
73
74
|
"DATERANGE": "DATERANGE",
|
|
75
|
+
"DATETIMERANGE": "DATETIMERANGE",
|
|
74
76
|
"TODAY": "TODAY",
|
|
75
77
|
"YESTERDAY": "YESTERDAY",
|
|
76
78
|
"TOMORROW": "TOMORROW",
|
|
77
79
|
"SPECIFICMONTH": "SPECIFICMONTH",
|
|
80
|
+
"SPECIFICMONTHINYEAR": "SPECIFICMONTHINYEAR",
|
|
78
81
|
"FIRSTDAYWEEK": "FIRSTDAYWEEK",
|
|
79
82
|
"LASTDAYWEEK": "LASTDAYWEEK",
|
|
80
83
|
"FIRSTDAYMONTH":"FIRSTDAYMONTH",
|
|
@@ -107,6 +110,8 @@ sap.ui.define([
|
|
|
107
110
|
"NEXTYEARS": "NEXTYEARS",
|
|
108
111
|
"FROM": "FROM",
|
|
109
112
|
"TO": "TO",
|
|
113
|
+
"FROMDATETIME": "FROMDATETIME",
|
|
114
|
+
"TODATETIME": "TODATETIME",
|
|
110
115
|
"YEARTODATE": "YEARTODATE",
|
|
111
116
|
"DATETOYEAR":"DATETOYEAR",
|
|
112
117
|
"TODAYFROMTO": "TODAYFROMTO",
|
|
@@ -127,11 +132,14 @@ sap.ui.define([
|
|
|
127
132
|
|
|
128
133
|
var _OptionsGroup = {
|
|
129
134
|
"DATE": _Groups.SingleDates,
|
|
135
|
+
"DATETIME": _Groups.SingleDates,
|
|
130
136
|
"DATERANGE": _Groups.DateRanges,
|
|
137
|
+
"DATETIMERANGE": _Groups.DateRanges,
|
|
131
138
|
"TODAY": _Groups.SingleDates,
|
|
132
139
|
"YESTERDAY": _Groups.SingleDates,
|
|
133
140
|
"TOMORROW": _Groups.SingleDates,
|
|
134
141
|
"SPECIFICMONTH": _Groups.Months,
|
|
142
|
+
"SPECIFICMONTHINYEAR": _Groups.Months,
|
|
135
143
|
"FIRSTDAYWEEK": _Groups.SingleDates,
|
|
136
144
|
"LASTDAYWEEK": _Groups.SingleDates,
|
|
137
145
|
"FIRSTDAYMONTH":_Groups.SingleDates,
|
|
@@ -164,6 +172,8 @@ sap.ui.define([
|
|
|
164
172
|
"NEXTYEARS": _Groups.DateRanges,
|
|
165
173
|
"FROM": _Groups.DateRanges,
|
|
166
174
|
"TO": _Groups.DateRanges,
|
|
175
|
+
"FROMDATETIME": _Groups.DateRanges,
|
|
176
|
+
"TODATETIME": _Groups.DateRanges,
|
|
167
177
|
"YEARTODATE": _Groups.DateRanges,
|
|
168
178
|
"DATETOYEAR": _Groups.DateRanges,
|
|
169
179
|
"TODAYFROMTO": _Groups.DateRanges,
|
|
@@ -221,6 +231,12 @@ sap.ui.define([
|
|
|
221
231
|
case Keys.NEXTQUARTERS:
|
|
222
232
|
case Keys.NEXTYEARS:
|
|
223
233
|
return this._getXPeriodTitle(aParams[1].getOptions());
|
|
234
|
+
case Keys.FROMDATETIME:
|
|
235
|
+
case Keys.TODATETIME:
|
|
236
|
+
case Keys.DATETIMERANGE:
|
|
237
|
+
return oControl._findOption(sKey)._bAdditionalTimeText ?
|
|
238
|
+
_resourceBundle.getText("DYNAMIC_DATE_" + sKey + "_TITLE") + " (" + _resourceBundle.getText("DYNAMIC_DATE_DATETIME_TITLE") + ")" :
|
|
239
|
+
_resourceBundle.getText("DYNAMIC_DATE_" + sKey + "_TITLE");
|
|
224
240
|
default:
|
|
225
241
|
return _resourceBundle.getText("DYNAMIC_DATE_" + sKey + "_TITLE");
|
|
226
242
|
}
|
|
@@ -262,6 +278,14 @@ sap.ui.define([
|
|
|
262
278
|
case Keys.QUARTER4:
|
|
263
279
|
this.aValueHelpUITypes = [];
|
|
264
280
|
break;
|
|
281
|
+
case Keys.DATETIME:
|
|
282
|
+
case Keys.FROMDATETIME:
|
|
283
|
+
case Keys.TODATETIME:
|
|
284
|
+
this.aValueHelpUITypes = [
|
|
285
|
+
new DynamicDateValueHelpUIType({
|
|
286
|
+
type: "datetime"
|
|
287
|
+
})];
|
|
288
|
+
break;
|
|
265
289
|
case Keys.DATE:
|
|
266
290
|
case Keys.FROM:
|
|
267
291
|
case Keys.TO:
|
|
@@ -282,6 +306,12 @@ sap.ui.define([
|
|
|
282
306
|
type: "month"
|
|
283
307
|
})];
|
|
284
308
|
break;
|
|
309
|
+
case Keys.SPECIFICMONTHINYEAR:
|
|
310
|
+
this.aValueHelpUITypes = [
|
|
311
|
+
new DynamicDateValueHelpUIType({
|
|
312
|
+
type: "custommonth"
|
|
313
|
+
})];
|
|
314
|
+
break;
|
|
285
315
|
case Keys.LASTDAYS:
|
|
286
316
|
case Keys.LASTWEEKS:
|
|
287
317
|
case Keys.LASTMONTHS:
|
|
@@ -311,6 +341,17 @@ sap.ui.define([
|
|
|
311
341
|
additionalText: _resourceBundle.getText("DDR_TODAYFROMTO_TO_ADDITIONAL_LABEL")
|
|
312
342
|
})];
|
|
313
343
|
break;
|
|
344
|
+
case Keys.DATETIMERANGE:
|
|
345
|
+
this.aValueHelpUITypes = [
|
|
346
|
+
new DynamicDateValueHelpUIType({
|
|
347
|
+
text: _resourceBundle.getText("DDR_DATETIMERANGE_FROM_LABEL"),
|
|
348
|
+
type: "datetime"
|
|
349
|
+
}),
|
|
350
|
+
new DynamicDateValueHelpUIType({
|
|
351
|
+
text: _resourceBundle.getText("DDR_DATETIMERANGE_TO_LABEL"),
|
|
352
|
+
type: "datetime"
|
|
353
|
+
})];
|
|
354
|
+
break;
|
|
314
355
|
}
|
|
315
356
|
}
|
|
316
357
|
|
|
@@ -319,22 +360,24 @@ sap.ui.define([
|
|
|
319
360
|
|
|
320
361
|
/**
|
|
321
362
|
* Creates a UI for this DynamicDateOption.
|
|
322
|
-
* @param {
|
|
363
|
+
* @param {sap.m.DynamicDateRange} Control to create the UI for
|
|
323
364
|
* @param {function} fnControlsUpdated A callback invoked when any of the created controls updates its value
|
|
324
365
|
*
|
|
325
|
-
* Returns an array of controls which is mapped to the parameters of this DynamicDateOption.
|
|
366
|
+
* @return {sap.ui.core.Control[]} Returns an array of controls which is mapped to the parameters of this DynamicDateOption.
|
|
326
367
|
*/
|
|
327
368
|
StandardDynamicDateOption.prototype.createValueHelpUI = function(oControl, fnControlsUpdated) {
|
|
328
|
-
var oOptions = oControl._getOptions()
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
369
|
+
var oOptions = oControl._getOptions(),
|
|
370
|
+
oValue = oControl.getValue() && Object.assign({}, oControl.getValue()),
|
|
371
|
+
aParams = this.getValueHelpUITypes(oControl),
|
|
372
|
+
aControls = [];
|
|
373
|
+
|
|
332
374
|
if (!oControl.aControlsByParameters) {
|
|
333
375
|
oControl.aControlsByParameters = {};
|
|
334
376
|
}
|
|
335
377
|
oControl.aControlsByParameters[this.getKey()] = [];
|
|
336
|
-
|
|
337
|
-
var
|
|
378
|
+
|
|
379
|
+
var oLastOptionParam = this._getOptionParams(aLastOptions, oOptions),
|
|
380
|
+
oNextOptionParam = this._getOptionParams(aNextOptions, oOptions);
|
|
338
381
|
|
|
339
382
|
if (oLastOptionParam) {
|
|
340
383
|
aParams.push(oLastOptionParam);
|
|
@@ -344,6 +387,16 @@ sap.ui.define([
|
|
|
344
387
|
aParams.push(oNextOptionParam);
|
|
345
388
|
}
|
|
346
389
|
|
|
390
|
+
if (oValue && oValue.values) {
|
|
391
|
+
oValue.values = oValue.values.map(function(val) {
|
|
392
|
+
if (val instanceof Date) {
|
|
393
|
+
return oControl._reverseConvertDate(val);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
return val;
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
|
|
347
400
|
for (var iIndex = 0; iIndex < aParams.length; iIndex++) {
|
|
348
401
|
if (aParams[iIndex].getOptions() && aParams[iIndex].getOptions().length <= 1) {
|
|
349
402
|
break;
|
|
@@ -370,15 +423,28 @@ sap.ui.define([
|
|
|
370
423
|
case "date":
|
|
371
424
|
oInputControl = this._createDateControl(oValue, iIndex, fnControlsUpdated);
|
|
372
425
|
break;
|
|
426
|
+
case "datetime":
|
|
427
|
+
if (aParams.length === 1) {
|
|
428
|
+
// creates "single" DateTime option (embedded in the DynamicDateRange popup)
|
|
429
|
+
oInputControl = this._createDateTimeInnerControl(oValue, iIndex, fnControlsUpdated);
|
|
430
|
+
} else if (aParams.length === 2) {
|
|
431
|
+
oInputControl = this._createDateTimeControl(oValue, iIndex, fnControlsUpdated);
|
|
432
|
+
}
|
|
433
|
+
break;
|
|
373
434
|
case "daterange":
|
|
374
435
|
oInputControl = this._createDateRangeControl(oValue, iIndex, fnControlsUpdated);
|
|
375
436
|
break;
|
|
376
437
|
case "month":
|
|
377
438
|
oInputControl = this._createMonthControl(oValue, iIndex, fnControlsUpdated);
|
|
378
439
|
break;
|
|
440
|
+
case "custommonth":
|
|
441
|
+
oInputControl = this._createCustomMonthControl(oValue, iIndex, fnControlsUpdated);
|
|
442
|
+
break;
|
|
379
443
|
case "options":
|
|
380
444
|
oInputControl = this._createOptionsControl(oValue, iIndex, fnControlsUpdated, aParams);
|
|
381
445
|
break;
|
|
446
|
+
default:
|
|
447
|
+
break;
|
|
382
448
|
}
|
|
383
449
|
|
|
384
450
|
aControls.push(oInputControl);
|
|
@@ -402,7 +468,7 @@ sap.ui.define([
|
|
|
402
468
|
var iMin = this.getKey() === "TODAYFROMTO" ? -MAX_VALUE_HELP_INTEGER : MIN_VALUE_HELP_INTEGER;
|
|
403
469
|
var bUseDefaultValue = !oValue || this.getKey() !== oValue.operator;
|
|
404
470
|
|
|
405
|
-
if (
|
|
471
|
+
if (bUseDefaultValue) {
|
|
406
472
|
oControl.setValue(1);
|
|
407
473
|
}
|
|
408
474
|
|
|
@@ -474,17 +540,30 @@ sap.ui.define([
|
|
|
474
540
|
}
|
|
475
541
|
break;
|
|
476
542
|
case "month":
|
|
543
|
+
case "custommonth":
|
|
477
544
|
case "date":
|
|
478
545
|
case "daterange":
|
|
479
546
|
if (!oInputControl.getSelectedDates() || oInputControl.getSelectedDates().length == 0) {
|
|
480
547
|
return false;
|
|
481
548
|
}
|
|
482
549
|
break;
|
|
550
|
+
case "datetime":
|
|
551
|
+
if (aParams.length === 1) {
|
|
552
|
+
// validates "single" DateTime option (embedded in the DynamicDateRange popup)
|
|
553
|
+
if (!oInputControl.getCalendar().getSelectedDates() || oInputControl.getCalendar().getSelectedDates().length == 0) {
|
|
554
|
+
return false;
|
|
555
|
+
}
|
|
556
|
+
} else if (!oInputControl.getDateValue() && aParams.length === 2) {
|
|
557
|
+
return false;
|
|
558
|
+
}
|
|
559
|
+
break;
|
|
483
560
|
case "options":
|
|
484
561
|
if (oInputControl.getSelectedIndex() < 0) {
|
|
485
562
|
return false;
|
|
486
563
|
}
|
|
487
564
|
break;
|
|
565
|
+
default:
|
|
566
|
+
break;
|
|
488
567
|
}
|
|
489
568
|
}
|
|
490
569
|
|
|
@@ -527,6 +606,13 @@ sap.ui.define([
|
|
|
527
606
|
|
|
528
607
|
vOutput = oInputControl.getSelectedDates()[0].getStartDate().getMonth();
|
|
529
608
|
break;
|
|
609
|
+
case "custommonth":
|
|
610
|
+
if (!oInputControl.getSelectedDates() || !oInputControl.getSelectedDates().length) {
|
|
611
|
+
return null;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
vOutput = [oInputControl.getSelectedDates()[0].getStartDate().getMonth(), oInputControl.getSelectedDates()[0].getStartDate().getFullYear()];
|
|
615
|
+
break;
|
|
530
616
|
case "date":
|
|
531
617
|
if (!oInputControl.getSelectedDates().length) {
|
|
532
618
|
return null;
|
|
@@ -534,6 +620,31 @@ sap.ui.define([
|
|
|
534
620
|
|
|
535
621
|
vOutput = oInputControl.getSelectedDates()[0].getStartDate();
|
|
536
622
|
break;
|
|
623
|
+
case "datetime":
|
|
624
|
+
if (aParams.length === 1) {
|
|
625
|
+
// "single" DateTime picker (embedded in the DynamicDateRange popup)
|
|
626
|
+
var oDate,
|
|
627
|
+
oTimeDate,
|
|
628
|
+
oCalendar,
|
|
629
|
+
oClocks;
|
|
630
|
+
|
|
631
|
+
oCalendar = oInputControl.getCalendar();
|
|
632
|
+
oClocks = oInputControl.getClocks();
|
|
633
|
+
if (!oCalendar.getSelectedDates().length) {
|
|
634
|
+
return null;
|
|
635
|
+
}
|
|
636
|
+
oDate = oCalendar.getSelectedDates()[0].getStartDate();
|
|
637
|
+
oTimeDate = oClocks.getTimeValues();
|
|
638
|
+
oDate.setHours(oTimeDate.getHours(), oTimeDate.getMinutes(), oTimeDate.getSeconds());
|
|
639
|
+
vOutput = oDate;
|
|
640
|
+
} else if (aParams.length === 2) {
|
|
641
|
+
if (!oInputControl.getDateValue()) {
|
|
642
|
+
return null;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
vOutput = oInputControl.getDateValue();
|
|
646
|
+
}
|
|
647
|
+
break;
|
|
537
648
|
case "daterange":
|
|
538
649
|
if (!oInputControl.getSelectedDates().length) {
|
|
539
650
|
return null;
|
|
@@ -542,6 +653,8 @@ sap.ui.define([
|
|
|
542
653
|
var oEndDate = oInputControl.getSelectedDates()[0].getEndDate() || oInputControl.getSelectedDates()[0].getStartDate();
|
|
543
654
|
vOutput = [oInputControl.getSelectedDates()[0].getStartDate(), oEndDate];
|
|
544
655
|
break;
|
|
656
|
+
default:
|
|
657
|
+
break;
|
|
545
658
|
}
|
|
546
659
|
|
|
547
660
|
if (Array.isArray(vOutput)) {
|
|
@@ -584,13 +697,30 @@ sap.ui.define([
|
|
|
584
697
|
oDate.setMonth(oValue.values[0]);
|
|
585
698
|
oDate = UniversalDateUtils.getMonthStartDate(oDate);
|
|
586
699
|
return UniversalDateUtils.getRange(0, "MONTH", oDate);
|
|
700
|
+
case "SPECIFICMONTHINYEAR":
|
|
701
|
+
var oDate = new UniversalDate();
|
|
702
|
+
oDate.setMonth(oValue.values[0]);
|
|
703
|
+
oDate.setYear(oValue.values[1]);
|
|
704
|
+
oDate = UniversalDateUtils.getMonthStartDate(oDate);
|
|
705
|
+
return UniversalDateUtils.getRange(0, "MONTH", oDate);
|
|
587
706
|
case "DATE":
|
|
588
707
|
return UniversalDateUtils.getRange(0, "DAY", UniversalDate.getInstance(oValue.values[0]));
|
|
708
|
+
case "DATETIME":
|
|
709
|
+
var oDateTime = new UniversalDate.getInstance(oValue.values[0]);
|
|
710
|
+
return [oDateTime, oDateTime];
|
|
589
711
|
case "DATERANGE":
|
|
590
712
|
var oStart = UniversalDate.getInstance(oValue.values[0]);
|
|
591
713
|
var oEnd = UniversalDate.getInstance(oValue.values[1]);
|
|
592
714
|
|
|
593
715
|
return [UniversalDateUtils.resetStartTime(oStart), UniversalDateUtils.resetEndTime(oEnd)];
|
|
716
|
+
case "DATETIMERANGE":
|
|
717
|
+
var oStart = UniversalDate.getInstance(oValue.values[0]);
|
|
718
|
+
var oEnd = UniversalDate.getInstance(oValue.values[1]);
|
|
719
|
+
|
|
720
|
+
oStart.setMilliseconds(0);
|
|
721
|
+
oEnd.setMilliseconds(999);
|
|
722
|
+
|
|
723
|
+
return [oStart, oEnd];
|
|
594
724
|
case "TODAY":
|
|
595
725
|
return UniversalDateUtils.ranges.today();
|
|
596
726
|
case "YESTERDAY":
|
|
@@ -658,9 +788,21 @@ sap.ui.define([
|
|
|
658
788
|
case "NEXTYEARS":
|
|
659
789
|
return UniversalDateUtils.ranges.nextYears(iParamLastNext);
|
|
660
790
|
case "FROM":
|
|
661
|
-
return [
|
|
791
|
+
return [UniversalDate.getInstance(oValue.values[0])];
|
|
662
792
|
case "TO":
|
|
663
|
-
return [
|
|
793
|
+
return [UniversalDate.getInstance(oValue.values[0])];
|
|
794
|
+
case "FROMDATETIME":
|
|
795
|
+
var oDate = UniversalDate.getInstance(oValue.values[0]);
|
|
796
|
+
|
|
797
|
+
oDate.setMilliseconds(0);
|
|
798
|
+
|
|
799
|
+
return [oDate];
|
|
800
|
+
case "TODATETIME":
|
|
801
|
+
var oDate = UniversalDate.getInstance(oValue.values[0]);
|
|
802
|
+
|
|
803
|
+
oDate.setMilliseconds(999);
|
|
804
|
+
|
|
805
|
+
return [oDate];
|
|
664
806
|
case "YEARTODATE":
|
|
665
807
|
return UniversalDateUtils.ranges.yearToDate();
|
|
666
808
|
case "DATETOYEAR":
|
|
@@ -25,7 +25,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
25
25
|
* {@link sap.ui.core.RenderManager}.
|
|
26
26
|
*
|
|
27
27
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
28
|
-
* @param {sap.
|
|
28
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
29
29
|
*/
|
|
30
30
|
StandardListItemRenderer.renderLIAttributes = function(rm, oLI) {
|
|
31
31
|
var sIconURI = oLI.getIcon(),
|
|
@@ -57,7 +57,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
57
57
|
/**
|
|
58
58
|
* Renders the list item content element.
|
|
59
59
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
60
|
-
* @param {sap.
|
|
60
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
61
61
|
* @protected
|
|
62
62
|
*/
|
|
63
63
|
StandardListItemRenderer.renderLIContent = function(rm, oLI) {
|
|
@@ -99,7 +99,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
99
99
|
/**
|
|
100
100
|
* Renders the title wrapper.
|
|
101
101
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
102
|
-
* @param {sap.
|
|
102
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
103
103
|
* @protected
|
|
104
104
|
*/
|
|
105
105
|
StandardListItemRenderer.renderTitleWrapper = function(rm, oLI) {
|
|
@@ -143,7 +143,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
143
143
|
/**
|
|
144
144
|
* Renders the title text.
|
|
145
145
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
146
|
-
* @param {sap.
|
|
146
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
147
147
|
* @protected
|
|
148
148
|
*/
|
|
149
149
|
StandardListItemRenderer.renderTitle = function(rm, oLI) {
|
|
@@ -153,7 +153,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
153
153
|
/**
|
|
154
154
|
* Renders the description text.
|
|
155
155
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
156
|
-
* @param {sap.
|
|
156
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
157
157
|
* @protected
|
|
158
158
|
*/
|
|
159
159
|
StandardListItemRenderer.renderDescription = function (rm, oLI) {
|
|
@@ -197,7 +197,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
197
197
|
/**
|
|
198
198
|
* Renders the info text.
|
|
199
199
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
200
|
-
* @param {sap.
|
|
200
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
201
201
|
* @protected
|
|
202
202
|
*/
|
|
203
203
|
StandardListItemRenderer.renderInfo = function (rm, oLI) {
|
|
@@ -231,7 +231,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
231
231
|
/**
|
|
232
232
|
* Renders the expand/collapse text.
|
|
233
233
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
234
|
-
* @param {sap.
|
|
234
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
235
235
|
* @param {string} sWrapArea Defines the wrapping text area
|
|
236
236
|
* @protected
|
|
237
237
|
*/
|
|
@@ -255,7 +255,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Core", "sap/ui/core/Renderer"
|
|
|
255
255
|
/**
|
|
256
256
|
* Renders the wrapping behavior of the text.
|
|
257
257
|
* @param {sap.ui.core.RenderManager} rm The <code>RenderManager</code> that can be used for writing to the render output buffer
|
|
258
|
-
* @param {sap.
|
|
258
|
+
* @param {sap.m.StandardListItem} oLI An object representation of the control that is rendered
|
|
259
259
|
* @param {string} sWrapArea Defines the wrapping text area
|
|
260
260
|
* @protected
|
|
261
261
|
*/
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['./TileRenderer', 'sap/ui/core/ValueStateSupport', 'sap/ui/core/R
|
|
|
26
26
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
27
27
|
*
|
|
28
28
|
* @param {sap.ui.core.RenderManager} rm The RenderManager that can be used for writing to the render output buffer
|
|
29
|
-
* @param {sap.
|
|
29
|
+
* @param {sap.m.StandardTile} oTile An object representation of the control that should be rendered
|
|
30
30
|
*/
|
|
31
31
|
StandardTileRenderer._renderContent = function(rm, oTile) {
|
|
32
32
|
var infoState = oTile.getInfoState();
|