@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
|
@@ -19,6 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/core/Icon',
|
|
20
20
|
"sap/ui/core/LabelEnablement",
|
|
21
21
|
'sap/ui/core/format/DateFormat',
|
|
22
|
+
'sap/ui/core/format/TimezoneUtil',
|
|
22
23
|
'sap/ui/base/ManagedObjectObserver',
|
|
23
24
|
'sap/ui/Device',
|
|
24
25
|
'./Label',
|
|
@@ -35,8 +36,9 @@ sap.ui.define([
|
|
|
35
36
|
'./NavContainer',
|
|
36
37
|
'./DynamicDateRangeRenderer',
|
|
37
38
|
'./StandardDynamicDateOption',
|
|
38
|
-
'
|
|
39
|
-
'
|
|
39
|
+
'./library',
|
|
40
|
+
'sap/ui/thirdparty/jquery',
|
|
41
|
+
'sap/ui/dom/jquery/Focusable'], // provides jQuery.fn.firstFocusableDomRef
|
|
40
42
|
function(
|
|
41
43
|
InvisibleText,
|
|
42
44
|
Element,
|
|
@@ -51,6 +53,7 @@ sap.ui.define([
|
|
|
51
53
|
Icon,
|
|
52
54
|
LabelEnablement,
|
|
53
55
|
DateFormat,
|
|
56
|
+
TimezoneUtil,
|
|
54
57
|
ManagedObjectObserver,
|
|
55
58
|
Device,
|
|
56
59
|
Label,
|
|
@@ -67,8 +70,8 @@ sap.ui.define([
|
|
|
67
70
|
NavContainer,
|
|
68
71
|
DynamicDateRangeRenderer,
|
|
69
72
|
StandardDynamicDateOption,
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
library,
|
|
74
|
+
jQuery
|
|
72
75
|
) {
|
|
73
76
|
"use strict";
|
|
74
77
|
|
|
@@ -118,7 +121,7 @@ sap.ui.define([
|
|
|
118
121
|
* is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
|
|
119
122
|
*
|
|
120
123
|
* @author SAP SE
|
|
121
|
-
* @version 1.
|
|
124
|
+
* @version 1.101.0
|
|
122
125
|
*
|
|
123
126
|
* @constructor
|
|
124
127
|
* @public
|
|
@@ -239,8 +242,11 @@ sap.ui.define([
|
|
|
239
242
|
"FIRSTDAYYEAR",
|
|
240
243
|
"LASTDAYYEAR",
|
|
241
244
|
"DATERANGE",
|
|
245
|
+
"DATETIMERANGE",
|
|
242
246
|
"FROM",
|
|
243
247
|
"TO",
|
|
248
|
+
"FROMDATETIME",
|
|
249
|
+
"TODATETIME",
|
|
244
250
|
"YEARTODATE",
|
|
245
251
|
"DATETOYEAR",
|
|
246
252
|
"LASTDAYS",
|
|
@@ -258,6 +264,7 @@ sap.ui.define([
|
|
|
258
264
|
"LASTWEEK",
|
|
259
265
|
"NEXTWEEK",
|
|
260
266
|
"SPECIFICMONTH",
|
|
267
|
+
"SPECIFICMONTHINYEAR",
|
|
261
268
|
"THISMONTH",
|
|
262
269
|
"LASTMONTH",
|
|
263
270
|
"NEXTMONTH",
|
|
@@ -270,7 +277,8 @@ sap.ui.define([
|
|
|
270
277
|
"QUARTER4",
|
|
271
278
|
"THISYEAR",
|
|
272
279
|
"LASTYEAR",
|
|
273
|
-
"NEXTYEAR"
|
|
280
|
+
"NEXTYEAR",
|
|
281
|
+
"DATETIME"
|
|
274
282
|
]
|
|
275
283
|
}
|
|
276
284
|
},
|
|
@@ -378,10 +386,13 @@ sap.ui.define([
|
|
|
378
386
|
};
|
|
379
387
|
|
|
380
388
|
DynamicDateRange.prototype.setValue = function(oValue) {
|
|
389
|
+
var sOptionKey = oValue && oValue.operator;
|
|
390
|
+
|
|
381
391
|
// substutude the semantically equivalent values
|
|
382
392
|
oValue = this._substitudeValue(oValue);
|
|
383
393
|
|
|
384
394
|
this.setProperty("value", oValue);
|
|
395
|
+
this._oSelectedOption = DynamicDateUtil.getOption(sOptionKey);
|
|
385
396
|
|
|
386
397
|
// Forward Dynamic Date Range control property values to inner sap.m.Input instance.
|
|
387
398
|
this._updateInputValue(oValue);
|
|
@@ -427,6 +438,13 @@ sap.ui.define([
|
|
|
427
438
|
if (typeof (vOption) === "string") {
|
|
428
439
|
return this._createHeaderListItem(vOption);
|
|
429
440
|
}
|
|
441
|
+
if (vOption.getKey() === "FROMDATETIME") {
|
|
442
|
+
vOption._bAdditionalTimeText = !!this._findOption("FROM");
|
|
443
|
+
} else if (vOption.getKey() === "TODATETIME") {
|
|
444
|
+
vOption._bAdditionalTimeText = !!this._findOption("TO");
|
|
445
|
+
} else if (vOption.getKey() === "DATETIMERANGE") {
|
|
446
|
+
vOption._bAdditionalTimeText = !!this._findOption("DATERANGE");
|
|
447
|
+
}
|
|
430
448
|
return this._createListItem(vOption);
|
|
431
449
|
}, this).forEach(function(oItem) {
|
|
432
450
|
oItem.addDelegate(this._oListItemDelegate, this);
|
|
@@ -440,6 +458,19 @@ sap.ui.define([
|
|
|
440
458
|
}
|
|
441
459
|
};
|
|
442
460
|
|
|
461
|
+
/**
|
|
462
|
+
* Searches if there is an option with the given key included.
|
|
463
|
+
*
|
|
464
|
+
* @param {string} sKey option key to be searched against
|
|
465
|
+
* @returns {object|undefined} object if the object exists
|
|
466
|
+
* @private
|
|
467
|
+
*/
|
|
468
|
+
DynamicDateRange.prototype._findOption = function(sKey) {
|
|
469
|
+
return this._getOptions().find(function(oOption) {
|
|
470
|
+
return oOption.getKey() === sKey;
|
|
471
|
+
});
|
|
472
|
+
};
|
|
473
|
+
|
|
443
474
|
/**
|
|
444
475
|
* Appends an option key, identifying an additional option to be used by the control.
|
|
445
476
|
*
|
|
@@ -468,6 +499,8 @@ sap.ui.define([
|
|
|
468
499
|
if (oValue && oValue.operator !== "PARSEERROR") {
|
|
469
500
|
sInputValue = this._enhanceInputValue(this._formatValue(oValue), oValue);
|
|
470
501
|
this._oInput.setValue(sInputValue);
|
|
502
|
+
} else if (oValue === undefined) {
|
|
503
|
+
this._oInput.setValue("");
|
|
471
504
|
}
|
|
472
505
|
};
|
|
473
506
|
|
|
@@ -555,11 +588,24 @@ sap.ui.define([
|
|
|
555
588
|
};
|
|
556
589
|
|
|
557
590
|
DynamicDateRange.prototype._getDatesLabelFormatter = function() {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
591
|
+
var oFormatOptions,
|
|
592
|
+
aValueHelpTypes = this._oSelectedOption ? this._oSelectedOption.getValueHelpUITypes() : [],
|
|
593
|
+
sType = aValueHelpTypes && aValueHelpTypes.length ? aValueHelpTypes[0].getType() : "";
|
|
561
594
|
|
|
562
|
-
|
|
595
|
+
if (!this._oDatesLabelFormatter) {
|
|
596
|
+
switch (sType) {
|
|
597
|
+
case "datetime":
|
|
598
|
+
oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
|
|
599
|
+
oFormatOptions.singleIntervalValue = true;
|
|
600
|
+
oFormatOptions.interval = true;
|
|
601
|
+
this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
|
|
602
|
+
break;
|
|
603
|
+
default:
|
|
604
|
+
oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
|
|
605
|
+
oFormatOptions.singleIntervalValue = true;
|
|
606
|
+
oFormatOptions.interval = true;
|
|
607
|
+
this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
|
|
608
|
+
}
|
|
563
609
|
}
|
|
564
610
|
|
|
565
611
|
return this._oDatesLabelFormatter;
|
|
@@ -583,7 +629,9 @@ sap.ui.define([
|
|
|
583
629
|
* @private
|
|
584
630
|
*/
|
|
585
631
|
DynamicDateRange.prototype._addSuggestionItem = function(oSuggestValue) {
|
|
586
|
-
var aResultingDates = DynamicDateUtil.toDates(oSuggestValue)
|
|
632
|
+
var aResultingDates = DynamicDateUtil.toDates(oSuggestValue).map(function(oDate) {
|
|
633
|
+
return this._convertDate(oDate);
|
|
634
|
+
}, this);
|
|
587
635
|
|
|
588
636
|
var oItem = new ListItem({
|
|
589
637
|
text: DynamicDateUtil.getOption(oSuggestValue.operator).format(oSuggestValue, this._getFormatter()),
|
|
@@ -652,15 +700,52 @@ sap.ui.define([
|
|
|
652
700
|
};
|
|
653
701
|
|
|
654
702
|
DynamicDateRange.prototype._toDatesString = function(oValue) {
|
|
655
|
-
|
|
703
|
+
var aDates = DynamicDateUtil.toDates(oValue).map(function(oDate) {
|
|
704
|
+
return this._convertDate(oDate);
|
|
705
|
+
}, this);
|
|
706
|
+
|
|
707
|
+
return this._getDatesLabelFormatter().format(aDates);
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
DynamicDateRange.prototype._convertDate = function(oDate) {
|
|
711
|
+
var sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
712
|
+
var oParts = this._getPickerParser().parse(
|
|
713
|
+
sFormattedDate,
|
|
714
|
+
sap.ui.getCore().getConfiguration().getTimezone()
|
|
715
|
+
);
|
|
716
|
+
var oNewDate = oParts ? new Date(oParts[0].getTime()) : oParts;
|
|
717
|
+
|
|
718
|
+
return oNewDate;
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
DynamicDateRange.prototype._reverseConvertDate = function(oDate) {
|
|
722
|
+
var sFormattedDate = this._getPickerParser().format(
|
|
723
|
+
oDate,
|
|
724
|
+
sap.ui.getCore().getConfiguration().getTimezone()
|
|
725
|
+
);
|
|
726
|
+
var oParts = this._getPickerParser().parse(
|
|
727
|
+
sFormattedDate,
|
|
728
|
+
TimezoneUtil.getLocalTimezone()
|
|
729
|
+
);
|
|
730
|
+
var oNewDate = oParts ? new Date(oParts[0].getTime()) : oParts;
|
|
731
|
+
|
|
732
|
+
return oNewDate;
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
DynamicDateRange.prototype._getPickerParser = function() {
|
|
736
|
+
if (!this._calendarParser) {
|
|
737
|
+
this._calendarParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: false });
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
return this._calendarParser;
|
|
656
741
|
};
|
|
657
742
|
|
|
658
743
|
DynamicDateRange.prototype._createPopup = function() {
|
|
659
744
|
if (!this._oPopup) {
|
|
660
745
|
this._oPopup = new ResponsivePopover(this.getId() + "-RP", {
|
|
661
746
|
//read the documentation about those two - the page addapts its size to its container...
|
|
662
|
-
contentHeight: '
|
|
663
|
-
contentWidth:
|
|
747
|
+
contentHeight: '512px',
|
|
748
|
+
contentWidth: '320px',
|
|
664
749
|
showCloseButton: false,
|
|
665
750
|
showArrow: false,
|
|
666
751
|
showHeader: false,
|
|
@@ -688,6 +773,7 @@ sap.ui.define([
|
|
|
688
773
|
}, this);
|
|
689
774
|
|
|
690
775
|
this._oPopup.attachAfterClose(function() {
|
|
776
|
+
this._oPreviousSelectedOption = this._oSelectedOption;
|
|
691
777
|
this._setFooterVisibility(false);
|
|
692
778
|
this.invalidate();
|
|
693
779
|
}, this);
|
|
@@ -700,7 +786,11 @@ sap.ui.define([
|
|
|
700
786
|
|
|
701
787
|
this._oPopup.setEndButton(new Button({
|
|
702
788
|
text: oResourceBundle.getText("DYNAMIC_DATE_RANGE_CANCEL"),
|
|
703
|
-
press:
|
|
789
|
+
press: function() {
|
|
790
|
+
this._oSelectedOption = this._oPreviousSelectedOption;
|
|
791
|
+
this._oDatesLabelFormatter = null;
|
|
792
|
+
this._closePopup();
|
|
793
|
+
}.bind(this)
|
|
704
794
|
}));
|
|
705
795
|
|
|
706
796
|
this._setFooterVisibility(false);
|
|
@@ -785,7 +875,7 @@ sap.ui.define([
|
|
|
785
875
|
DynamicDateRange.prototype._createListItem = function(oOption) {
|
|
786
876
|
var bIsFixedOption = this._isFixedOption(oOption);
|
|
787
877
|
|
|
788
|
-
return new DynamicDateRangeListItem(this.getId() + "-option-" + oOption.getKey(), {
|
|
878
|
+
return new DynamicDateRangeListItem(this.getId() + "-option-" + oOption.getKey().replaceAll(" ", ""), {
|
|
789
879
|
type: bIsFixedOption ? ListType.Active : ListType.Navigation,
|
|
790
880
|
title: oOption.getText(this),
|
|
791
881
|
wrapping: true,
|
|
@@ -806,6 +896,11 @@ sap.ui.define([
|
|
|
806
896
|
var sOptionKey = oEvent.getSource().getOptionKey(),
|
|
807
897
|
oOption = DynamicDateUtil.getOption(sOptionKey);
|
|
808
898
|
|
|
899
|
+
if (this._oPreviousSelectedOption && this._oPreviousSelectedOption.getKey() !== sOptionKey) {
|
|
900
|
+
this._oDatesLabelFormatter = null;
|
|
901
|
+
}
|
|
902
|
+
this._oPreviousSelectedOption = this._oSelectedOption;
|
|
903
|
+
|
|
809
904
|
this._oSelectedOption = oOption;
|
|
810
905
|
if (this._isFixedOption(oOption)) {
|
|
811
906
|
this._applyValue();
|
|
@@ -864,8 +959,15 @@ sap.ui.define([
|
|
|
864
959
|
return;
|
|
865
960
|
}
|
|
866
961
|
|
|
867
|
-
aResultDates = DynamicDateUtil.toDates(oOutputValue)
|
|
962
|
+
aResultDates = DynamicDateUtil.toDates(oOutputValue).map(function(oDate) {
|
|
963
|
+
return this._convertDate(oDate);
|
|
964
|
+
}, this);
|
|
965
|
+
|
|
868
966
|
if (aResultDates) {
|
|
967
|
+
if (this._oSelectedOption.getKey() === "FROMDATETIME" || this._oSelectedOption.getKey() === "TODATETIME"
|
|
968
|
+
|| this._oSelectedOption.getKey() === "FROM" || this._oSelectedOption.getKey() === "TO") {
|
|
969
|
+
aResultDates.push(null);
|
|
970
|
+
}
|
|
869
971
|
sFormattedDates = this._getDatesLabelFormatter().format(aResultDates);
|
|
870
972
|
this._getDatesLabel().setText(oResourceBundle.getText("DDR_INFO_DATES", [sFormattedDates]));
|
|
871
973
|
}
|
|
@@ -1028,8 +1130,8 @@ sap.ui.define([
|
|
|
1028
1130
|
|
|
1029
1131
|
if (oToPage === oOptionDetailsPage) {
|
|
1030
1132
|
this.aInputControls.forEach(function(oControl) {
|
|
1031
|
-
if (
|
|
1032
|
-
oControl.addAriaLabelledBy(oToPage.getAggregation("_internalHeader"));
|
|
1133
|
+
if (oControl.$().firstFocusableDomRef()) {
|
|
1134
|
+
oControl.addAriaLabelledBy && oControl.addAriaLabelledBy(oToPage.getAggregation("_internalHeader"));
|
|
1033
1135
|
|
|
1034
1136
|
if (!this._isCalendarBasedControl(oControl) && oControl.addAriaDescribedBy) {
|
|
1035
1137
|
oControl.addAriaDescribedBy(oToPage.getFooter().getContent()[0]);
|
|
@@ -1074,6 +1176,14 @@ sap.ui.define([
|
|
|
1074
1176
|
DynamicDateRange.prototype._applyValue = function() {
|
|
1075
1177
|
this._oOutput = this._oSelectedOption.getValueHelpOutput(this);
|
|
1076
1178
|
|
|
1179
|
+
this._oOutput.values = this._oOutput.values.map(function(val) {
|
|
1180
|
+
if (val instanceof Date) {
|
|
1181
|
+
return this._convertDate(val);
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
return val;
|
|
1185
|
+
}, this);
|
|
1186
|
+
|
|
1077
1187
|
var prevValue = this.getValue();
|
|
1078
1188
|
this.setValue(this._oOutput);
|
|
1079
1189
|
this.fireChange({ prevValue: prevValue, value: this.getValue(), valid: true });
|
|
@@ -1170,16 +1280,6 @@ sap.ui.define([
|
|
|
1170
1280
|
var DynamicDateRangeInputRenderer = Renderer.extend(InputRenderer);
|
|
1171
1281
|
DynamicDateRangeInputRenderer.apiVersion = 2;
|
|
1172
1282
|
|
|
1173
|
-
/**
|
|
1174
|
-
* Returns ARIA accessibility role for the control.
|
|
1175
|
-
*
|
|
1176
|
-
* @param {sap.ui.core.Control} oControl an object representation of the control
|
|
1177
|
-
* @returns {String}
|
|
1178
|
-
*/
|
|
1179
|
-
DynamicDateRangeInputRenderer.getAriaRole = function(oControl) {
|
|
1180
|
-
return "combobox";
|
|
1181
|
-
};
|
|
1182
|
-
|
|
1183
1283
|
DynamicDateRangeInputRenderer.writeInnerAttributes = function(oRm, oControl) {
|
|
1184
1284
|
oRm.attr("type", "text");
|
|
1185
1285
|
};
|
|
@@ -1214,7 +1314,6 @@ sap.ui.define([
|
|
|
1214
1314
|
|
|
1215
1315
|
mAccessibilityState.roledescription = oResourceBundle.getText("ACC_CTR_TYPE_DYNAMIC_DATE_RANGE");
|
|
1216
1316
|
mAccessibilityState.role = this.getAriaRole();
|
|
1217
|
-
mAccessibilityState.expanded = oDynamicDateRange._oPopup ? oDynamicDateRange._oPopup.isOpen() : false;
|
|
1218
1317
|
mAccessibilityState.haspopup = coreLibrary.aria.HasPopup.ListBox.toLowerCase();
|
|
1219
1318
|
mAccessibilityState.autocomplete = "list";
|
|
1220
1319
|
mAccessibilityState.controls = oDynamicDateRange._oPopup && oDynamicDateRange._oPopup.getDomRef() ?
|
|
@@ -1244,7 +1343,6 @@ sap.ui.define([
|
|
|
1244
1343
|
/**
|
|
1245
1344
|
* Getter for the originating control.
|
|
1246
1345
|
*
|
|
1247
|
-
* @param {void}
|
|
1248
1346
|
* @returns {sap.ui.core.Control}
|
|
1249
1347
|
*/
|
|
1250
1348
|
DynamicDateRangeInput.prototype._getControlOrigin = function() {
|
|
@@ -1265,6 +1363,13 @@ sap.ui.define([
|
|
|
1265
1363
|
&& (!this._bClearButtonPressed);
|
|
1266
1364
|
};
|
|
1267
1365
|
|
|
1366
|
+
DynamicDateRangeInput.prototype.onfocusin = function (oEvent) {
|
|
1367
|
+
Input.prototype.onfocusin.apply(this, arguments);
|
|
1368
|
+
if (this._getControlOrigin()._oPopup && this._getControlOrigin()._oPopup.isOpen()) {
|
|
1369
|
+
this._getControlOrigin()._closePopup();
|
|
1370
|
+
}
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1268
1373
|
var DynamicDateRangeListItem = StandardListItem.extend("sap.m.DynamicDateRangeListItem", {
|
|
1269
1374
|
metadata: {
|
|
1270
1375
|
library: "sap.m",
|
|
@@ -1278,13 +1383,17 @@ sap.ui.define([
|
|
|
1278
1383
|
// Overwrite the sap.m.StandardListItem.getNavigationControl method, in order to change the navigation icon URI
|
|
1279
1384
|
DynamicDateRangeListItem.prototype.getNavigationControl = function() {
|
|
1280
1385
|
var oNavControl = StandardListItem.prototype.getNavigationControl.apply(this, arguments),
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1386
|
+
sOptionKey = this.getOptionKey(),
|
|
1387
|
+
aValueTypes = DynamicDateUtil.getOption(sOptionKey).getValueTypes(),
|
|
1388
|
+
bDateOption = ["SPECIFICMONTH", "DATE", "DATERANGE", "FROM", "TO"].includes(sOptionKey),
|
|
1389
|
+
bDateTimeOption = aValueTypes && aValueTypes.length && aValueTypes[0] === "datetime",
|
|
1390
|
+
sNavgationIconURI;
|
|
1285
1391
|
|
|
1286
|
-
if (bDateOption) {
|
|
1392
|
+
if (bDateOption || bDateTimeOption) {
|
|
1287
1393
|
oNavControl.addStyleClass("sapMDDRDateOption");
|
|
1394
|
+
sNavgationIconURI = bDateOption ? IconPool.getIconURI("appointment-2") : IconPool.getIconURI("date-time");
|
|
1395
|
+
} else {
|
|
1396
|
+
sNavgationIconURI = IconPool.getIconURI("slim-arrow-right");
|
|
1288
1397
|
}
|
|
1289
1398
|
|
|
1290
1399
|
oNavControl.setSrc(sNavgationIconURI);
|
|
@@ -1292,18 +1401,5 @@ sap.ui.define([
|
|
|
1292
1401
|
return oNavControl;
|
|
1293
1402
|
};
|
|
1294
1403
|
|
|
1295
|
-
function _isCompact(oRef) {
|
|
1296
|
-
var oDomRef = oRef;
|
|
1297
|
-
|
|
1298
|
-
while (oDomRef && oDomRef.classList) {
|
|
1299
|
-
if (oDomRef.classList.contains("sapUiSizeCompact")) {
|
|
1300
|
-
return true;
|
|
1301
|
-
}
|
|
1302
|
-
oDomRef = oDomRef.parentNode;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
return false;
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
1404
|
return DynamicDateRange;
|
|
1309
1405
|
});
|
|
@@ -19,7 +19,7 @@ sap.ui.define(["sap/m/InputBaseRenderer", 'sap/ui/core/Renderer'],
|
|
|
19
19
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
20
20
|
*
|
|
21
21
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
22
|
-
* @param {sap.
|
|
22
|
+
* @param {sap.m.DynamicDateRange} oControl an object representation of the control that should be rendered
|
|
23
23
|
*/
|
|
24
24
|
DynamicDateRangeRenderer.render = function(oRm, oControl) {
|
|
25
25
|
|
|
@@ -27,6 +27,9 @@ sap.ui.define([
|
|
|
27
27
|
"LASTDAYQUARTER",
|
|
28
28
|
"FIRSTDAYYEAR",
|
|
29
29
|
"LASTDAYYEAR",
|
|
30
|
+
"DATETIMERANGE",
|
|
31
|
+
"FROMDATETIME",
|
|
32
|
+
"TODATETIME",
|
|
30
33
|
"DATERANGE",
|
|
31
34
|
"FROM",
|
|
32
35
|
"TO",
|
|
@@ -67,11 +70,10 @@ sap.ui.define([
|
|
|
67
70
|
];
|
|
68
71
|
|
|
69
72
|
/**
|
|
70
|
-
* @class
|
|
71
73
|
* The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
|
|
72
74
|
*
|
|
75
|
+
* @namespace
|
|
73
76
|
* @alias sap.m.DynamicDateUtil
|
|
74
|
-
* @static
|
|
75
77
|
* @public
|
|
76
78
|
* @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
77
79
|
*/
|
|
@@ -112,6 +114,8 @@ sap.ui.define([
|
|
|
112
114
|
"NEXTYEARS": new StandardDynamicDateOption({ key: "NEXTYEARS", valueTypes: ["int"] }),
|
|
113
115
|
"FROM": new StandardDynamicDateOption({ key: "FROM", valueTypes: ["date"] }),
|
|
114
116
|
"TO": new StandardDynamicDateOption({ key: "TO", valueTypes: ["date"] }),
|
|
117
|
+
"FROMDATETIME": new StandardDynamicDateOption({ key: "FROMDATETIME", valueTypes: ["datetime"] }),
|
|
118
|
+
"TODATETIME": new StandardDynamicDateOption({ key: "TODATETIME", valueTypes: ["datetime"] }),
|
|
115
119
|
"YEARTODATE": new StandardDynamicDateOption({ key: "YEARTODATE", valueTypes: [] }),
|
|
116
120
|
"DATETOYEAR": new StandardDynamicDateOption({ key: "DATETOYEAR", valueTypes: [] }),
|
|
117
121
|
"TODAYFROMTO": new StandardDynamicDateOption({ key: "TODAYFROMTO", valueTypes: ["int", "int"] }),
|
|
@@ -120,8 +124,11 @@ sap.ui.define([
|
|
|
120
124
|
"QUARTER3": new StandardDynamicDateOption({ key: "QUARTER3", valueTypes: [] }),
|
|
121
125
|
"QUARTER4": new StandardDynamicDateOption({ key: "QUARTER4", valueTypes: [] }),
|
|
122
126
|
"SPECIFICMONTH": new StandardDynamicDateOption({ key: "SPECIFICMONTH", valueTypes: ["int"] }),
|
|
127
|
+
"SPECIFICMONTHINYEAR": new StandardDynamicDateOption({ key: "SPECIFICMONTHINYEAR", valueTypes: ["int", "int"] }),
|
|
123
128
|
"DATERANGE": new StandardDynamicDateOption({ key: "DATERANGE", valueTypes: ["date", "date"] }),
|
|
124
|
-
"DATE": new StandardDynamicDateOption({ key: "DATE", valueTypes: ["date"] })
|
|
129
|
+
"DATE": new StandardDynamicDateOption({ key: "DATE", valueTypes: ["date"] }),
|
|
130
|
+
"DATETIME": new StandardDynamicDateOption({ key: "DATETIME", valueTypes: ["datetime"] }),
|
|
131
|
+
"DATETIMERANGE": new StandardDynamicDateOption({ key: "DATETIMERANGE", valueTypes: ["datetime", "datetime"] })
|
|
125
132
|
},
|
|
126
133
|
_allKeys: STANDARD_KEYS_ARRAY.slice(0)
|
|
127
134
|
};
|
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Represents a value for the {@link sap.m.FacetFilterList} control.
|
|
22
22
|
* @extends sap.m.ListItemBase
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.101.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -16,7 +16,7 @@ sap.ui.define(['./ListItemBaseRenderer', 'sap/ui/core/Renderer'],
|
|
|
16
16
|
*
|
|
17
17
|
* @param {sap.ui.core.RenderManager}
|
|
18
18
|
* oRm The RenderManager that can be used for writing to the render output buffer
|
|
19
|
-
* @param {sap.
|
|
19
|
+
* @param {sap.m.FacetFilterItem}
|
|
20
20
|
* oControl An object representation of the control that should be rendered
|
|
21
21
|
*/
|
|
22
22
|
FacetFilterItemRenderer.renderLIContent = function(oRm, oControl) {
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* be closed.
|
|
53
53
|
*
|
|
54
54
|
* @extends sap.m.List
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.101.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -613,9 +613,11 @@ sap.ui.define([
|
|
|
613
613
|
|
|
614
614
|
// Checks whether given model is one of the OData Models
|
|
615
615
|
function isODataModel(oModel) {
|
|
616
|
-
return oModel
|
|
617
|
-
oModel
|
|
618
|
-
oModel
|
|
616
|
+
return oModel && (
|
|
617
|
+
oModel.isA("sap.ui.model.odata.ODataModel") ||
|
|
618
|
+
oModel.isA("sap.ui.model.odata.v2.ODataModel") ||
|
|
619
|
+
oModel.isA("sap.ui.model.odata.v4.ODataModel")
|
|
620
|
+
);
|
|
619
621
|
}
|
|
620
622
|
|
|
621
623
|
if (force || (sSearchVal !== this._searchValue)) {
|
|
@@ -876,7 +878,7 @@ sap.ui.define([
|
|
|
876
878
|
* This method overrides runs when the list updates its items.
|
|
877
879
|
* The reason for the update is given by sReason, which for example, can be when the
|
|
878
880
|
* list is filtered or when it grows.
|
|
879
|
-
* @param {
|
|
881
|
+
* @param {string} sReason reason for update
|
|
880
882
|
*/
|
|
881
883
|
FacetFilterList.prototype.updateItems = function(sReason) {
|
|
882
884
|
var oPrevActiveElement = document.activeElement;
|
|
@@ -26,7 +26,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
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} oRm The RenderManager that can be used for writing to the render output buffer
|
|
29
|
-
* @param {sap.
|
|
29
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
30
30
|
*/
|
|
31
31
|
FacetFilterRenderer.render = function(oRm, oControl){
|
|
32
32
|
if (oControl.getType() === FacetFilterType.Light || oControl.getShowSummaryBar()) {
|
|
@@ -42,7 +42,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
42
42
|
*
|
|
43
43
|
*
|
|
44
44
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
45
|
-
* @param {sap.
|
|
45
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
46
46
|
*/
|
|
47
47
|
FacetFilterRenderer.renderSimpleFlow = function(oRm, oControl) {
|
|
48
48
|
|
|
@@ -102,7 +102,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
102
102
|
*
|
|
103
103
|
*
|
|
104
104
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
105
|
-
* @param {sap.
|
|
105
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
106
106
|
*/
|
|
107
107
|
FacetFilterRenderer.renderSummaryBar = function(oRm, oControl) {
|
|
108
108
|
|
|
@@ -123,9 +123,9 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
123
123
|
*
|
|
124
124
|
* This method should be used when text is reached frequently.
|
|
125
125
|
*
|
|
126
|
-
* @param {
|
|
127
|
-
* @param {
|
|
128
|
-
* @returns {
|
|
126
|
+
* @param {string} sKey Key of the announcement
|
|
127
|
+
* @param {string} sBundleText Key of the announcement
|
|
128
|
+
* @returns {string} Id of the generated invisible aria node
|
|
129
129
|
* @protected
|
|
130
130
|
*/
|
|
131
131
|
FacetFilterRenderer.getAriaAnnouncement = function(sKey, sBundleText) {
|
|
@@ -168,7 +168,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
168
168
|
/**
|
|
169
169
|
* Prepares the "Add Filter" button by adding positioning information and then renders it.
|
|
170
170
|
*
|
|
171
|
-
* @param {sap.
|
|
171
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
172
172
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
173
173
|
*
|
|
174
174
|
* @returns {FacetFilterRenderer} <code>this</code> to allow method chaining
|
|
@@ -186,7 +186,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
186
186
|
/**
|
|
187
187
|
* Replaces the old positioning information with updated one.
|
|
188
188
|
*
|
|
189
|
-
* @param {sap.
|
|
189
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
190
190
|
* @param {sap.m.Button} oButton The button on which positioning information will be added
|
|
191
191
|
* @param {int} iPosInSet Button's position in the set
|
|
192
192
|
* @param {int} iSetSize Set's total size
|
|
@@ -204,7 +204,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
204
204
|
/**
|
|
205
205
|
* Removes the old positioning information.
|
|
206
206
|
*
|
|
207
|
-
* @param {sap.
|
|
207
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
208
208
|
* @param {sap.m.Button} oButton The button from which old positioning information will be removed
|
|
209
209
|
* @returns {FacetFilterRenderer} <code>this</code> to allow method chaining
|
|
210
210
|
*/
|
|
@@ -231,7 +231,7 @@ sap.ui.define(["sap/m/library", "sap/ui/Device", "sap/ui/core/InvisibleText"],
|
|
|
231
231
|
/**
|
|
232
232
|
* Creates a label in the static area, which contains positioning information.
|
|
233
233
|
*
|
|
234
|
-
* @param {sap.
|
|
234
|
+
* @param {sap.m.FacetFilter} oControl An object representation of the control that should be rendered
|
|
235
235
|
* @param {int} iPosInSet Position in the set
|
|
236
236
|
* @param {int} iSetSize Set's total size
|
|
237
237
|
* @returns {sap.ui.core.InvisibleText} oStaticLabel The newly created label
|
package/src/sap/m/FeedContent.js
CHANGED
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Control
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.101.0
|
|
32
32
|
* @since 1.34
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
@@ -133,7 +133,7 @@ sap.ui.define([
|
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Returns the Alttext
|
|
136
|
-
* @returns {
|
|
136
|
+
* @returns {string} The AltText text
|
|
137
137
|
*/
|
|
138
138
|
FeedContent.prototype.getAltText = function() {
|
|
139
139
|
var sAltText = "";
|
package/src/sap/m/FeedInput.js
CHANGED
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @extends sap.ui.core.Control
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.101.0
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @public
|
|
@@ -243,7 +243,7 @@ sap.ui.define([
|
|
|
243
243
|
value,
|
|
244
244
|
addTarget = tagName === "a";
|
|
245
245
|
// add UI5 specific classes when appropriate
|
|
246
|
-
var cssClass = this._renderingRules.ELEMENTS[tagName].cssClass
|
|
246
|
+
var cssClass = (this._renderingRules.ELEMENTS[tagName] && this._renderingRules.ELEMENTS[tagName].cssClass) ? this._renderingRules.ELEMENTS[tagName].cssClass : "";
|
|
247
247
|
for (var i = 0; i < attribs.length; i += 2) {
|
|
248
248
|
// attribs[i] is the name of the tag's attribute.
|
|
249
249
|
// attribs[i+1] is its corresponding value.
|
|
@@ -18,7 +18,7 @@ sap.ui.define([],
|
|
|
18
18
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
19
19
|
*
|
|
20
20
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
21
|
-
* @param {sap.
|
|
21
|
+
* @param {sap.m.FeedInput} oControl an object representation of the control that should be rendered
|
|
22
22
|
*/
|
|
23
23
|
FeedInputRenderer.render = function (oRm, oControl) {
|
|
24
24
|
var sMyId = oControl.getId();
|