@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
package/src/sap/m/Text.js
CHANGED
|
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.101.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
*
|
|
62
62
|
* @override
|
|
63
63
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
64
|
-
* @param {sap.
|
|
64
|
+
* @param {sap.m.TextArea} oControl An object representation of the control that should be rendered.
|
|
65
65
|
*/
|
|
66
66
|
TextAreaRenderer.endInputTag = function(oRm, oControl) {
|
|
67
67
|
oRm.openEnd();
|
package/src/sap/m/Tile.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.101.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @private
|
|
90
90
|
*/
|
|
91
91
|
Tile.prototype.onAfterRendering = function(){
|
|
92
|
-
if (this._rendered && !this._bIsDragged && this.getParent()
|
|
92
|
+
if (this._rendered && !this._bIsDragged && this.getParent() && this.getParent().isA("sap.m.TileContainer")) {
|
|
93
93
|
this.setPos(this._posX,this._posY);
|
|
94
94
|
}
|
|
95
95
|
this._rendered = true;
|
|
@@ -249,7 +249,7 @@ sap.ui.define([
|
|
|
249
249
|
if (!bVisible) {
|
|
250
250
|
this._rendered = false;
|
|
251
251
|
}
|
|
252
|
-
if (this.getParent() && this.getParent()
|
|
252
|
+
if (this.getParent() && this.getParent().isA("sap.m.TileContainer")) {
|
|
253
253
|
this.getParent().invalidate(); // Force rerendering of TileContainer, so the tiles can be rearanged
|
|
254
254
|
}
|
|
255
255
|
return this;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
10
|
'sap/ui/core/Control',
|
|
11
|
+
'sap/ui/core/Core',
|
|
11
12
|
'sap/ui/core/IconPool',
|
|
12
13
|
'sap/ui/Device',
|
|
13
14
|
'sap/ui/core/ResizeHandler',
|
|
@@ -22,6 +23,7 @@ sap.ui.define([
|
|
|
22
23
|
function(
|
|
23
24
|
library,
|
|
24
25
|
Control,
|
|
26
|
+
oCore,
|
|
25
27
|
IconPool,
|
|
26
28
|
Device,
|
|
27
29
|
ResizeHandler,
|
|
@@ -44,7 +46,7 @@ function(
|
|
|
44
46
|
* @extends sap.ui.core.Control
|
|
45
47
|
*
|
|
46
48
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
49
|
+
* @version 1.101.0
|
|
48
50
|
*
|
|
49
51
|
* @constructor
|
|
50
52
|
* @public
|
|
@@ -419,7 +421,7 @@ function(
|
|
|
419
421
|
}
|
|
420
422
|
this._oTileDimensionCalculator = new TileDimensionCalculator(this);
|
|
421
423
|
|
|
422
|
-
this._bRtl =
|
|
424
|
+
this._bRtl = oCore.getConfiguration().getRTL();
|
|
423
425
|
//Keeps info about the current page and total page count. In addition the old(previous) values of the same are kept.
|
|
424
426
|
this._oPagesInfo = (function (bRightToLeftMode) {
|
|
425
427
|
var iCurrentPage, iCount,
|
|
@@ -1988,7 +1990,7 @@ function(
|
|
|
1988
1990
|
* @private
|
|
1989
1991
|
*/
|
|
1990
1992
|
TileContainer.prototype._renderTile = function(oTile, iIndex) {
|
|
1991
|
-
var oRm =
|
|
1993
|
+
var oRm = oCore.createRenderManager(),
|
|
1992
1994
|
oContent = this.$("cnt")[0];
|
|
1993
1995
|
|
|
1994
1996
|
oRm.renderControl(oTile);
|
|
@@ -2005,7 +2007,7 @@ function(
|
|
|
2005
2007
|
|
|
2006
2008
|
/**
|
|
2007
2009
|
* Calculates the dimension of TileContainer root DOM element.
|
|
2008
|
-
* @return {{width, height:
|
|
2010
|
+
* @return {{width: any, height: any, outerheight: any, outerwidth: any}}
|
|
2009
2011
|
* @private
|
|
2010
2012
|
*/
|
|
2011
2013
|
TileContainer.prototype._calculateDimension = function(){
|
|
@@ -25,7 +25,7 @@ sap.ui.define([],
|
|
|
25
25
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
26
26
|
*
|
|
27
27
|
* @param {sap.ui.core.RenderManager} rm The RenderManager that can be used for writing to the Render-Output-Buffer
|
|
28
|
-
* @param {sap.
|
|
28
|
+
* @param {sap.m.TileContainer} oControl an object representation of the control that should be rendered
|
|
29
29
|
*/
|
|
30
30
|
TileContainerRenderer.render = function(rm, oControl) {
|
|
31
31
|
var id = oControl.getId();
|
package/src/sap/m/TileContent.js
CHANGED
|
@@ -10,6 +10,8 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
10
10
|
|
|
11
11
|
var Priority = Core.Priority;
|
|
12
12
|
|
|
13
|
+
var LoadState = library.LoadState;
|
|
14
|
+
|
|
13
15
|
/**
|
|
14
16
|
* Constructor for a new sap.m.TileContent control.
|
|
15
17
|
*
|
|
@@ -20,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
20
22
|
* @extends sap.ui.core.Control
|
|
21
23
|
*
|
|
22
24
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
25
|
+
* @version 1.101.0
|
|
24
26
|
* @since 1.34.0
|
|
25
27
|
*
|
|
26
28
|
* @public
|
|
@@ -61,7 +63,12 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
61
63
|
* Adds a priority badge before the content. Works only in Generic Tile ActionMode.
|
|
62
64
|
* @experimental Since 1.96
|
|
63
65
|
*/
|
|
64
|
-
"priority" : {type: "sap.ui.core.Priority", group: "Misc", defaultValue: Priority.None}
|
|
66
|
+
"priority" : {type: "sap.ui.core.Priority", group: "Misc", defaultValue: Priority.None},
|
|
67
|
+
/**
|
|
68
|
+
* The load status.
|
|
69
|
+
* @since 1.100.0
|
|
70
|
+
*/
|
|
71
|
+
"state": {type: "sap.m.LoadState", group: "Misc", defaultValue: LoadState.Loaded}
|
|
65
72
|
},
|
|
66
73
|
defaultAggregation : "content",
|
|
67
74
|
aggregations : {
|
|
@@ -78,9 +85,34 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
78
85
|
TileContent.prototype.init = function() {
|
|
79
86
|
this._bRenderFooter = true;
|
|
80
87
|
this._bRenderContent = true;
|
|
88
|
+
this._bStateSetManually = false;
|
|
81
89
|
};
|
|
82
90
|
|
|
83
91
|
TileContent.prototype.onBeforeRendering = function() {
|
|
92
|
+
var sState = this.mProperties.hasOwnProperty("state");
|
|
93
|
+
if (sState && !this._bStateSetManually) {
|
|
94
|
+
if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
|
|
95
|
+
if (this.getParent().getState() === LoadState.Failed) {
|
|
96
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
97
|
+
} else if (this.getParent().getState() === LoadState.Disabled) {
|
|
98
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
99
|
+
this.setProperty("disabled", this.getState() === LoadState.Disabled, true);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
|
|
104
|
+
if (this.getParent().getState() === LoadState.Failed) {
|
|
105
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
106
|
+
} else if (this.getParent().getState() === LoadState.Disabled) {
|
|
107
|
+
this.setProperty("state", LoadState.Loaded, true);
|
|
108
|
+
this.setProperty("disabled", this.getState() === LoadState.Disabled, true);
|
|
109
|
+
} else {
|
|
110
|
+
this.setProperty("state", this.getParent().getState(), true);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
this._bStateSetManually = true;
|
|
114
|
+
}
|
|
115
|
+
|
|
84
116
|
if (this.getContent() && this._oDelegate) {
|
|
85
117
|
if (this.getDisabled()) {
|
|
86
118
|
this.getContent().addDelegate(this._oDelegate);
|
|
@@ -139,7 +171,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
139
171
|
/**
|
|
140
172
|
* Returns the ContentType
|
|
141
173
|
* @private
|
|
142
|
-
* @returns {
|
|
174
|
+
* @returns {string} The ContentType text
|
|
143
175
|
*/
|
|
144
176
|
TileContent.prototype._getContentType = function() {
|
|
145
177
|
if (this.getContent()) {
|
|
@@ -153,7 +185,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
153
185
|
/**
|
|
154
186
|
* Returns the Footer text
|
|
155
187
|
* @private
|
|
156
|
-
* @returns {
|
|
188
|
+
* @returns {string} The Footer text
|
|
157
189
|
*/
|
|
158
190
|
TileContent.prototype._getFooterText = function() {
|
|
159
191
|
var resourceBundle = sap.ui.getCore().getLibraryResourceBundle('sap.m');
|
|
@@ -177,7 +209,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
177
209
|
/**
|
|
178
210
|
* Returns the Alttext
|
|
179
211
|
*
|
|
180
|
-
* @returns {
|
|
212
|
+
* @returns {string} The AltText text
|
|
181
213
|
*/
|
|
182
214
|
TileContent.prototype.getAltText = function() {
|
|
183
215
|
var sAltText = "";
|
|
@@ -24,7 +24,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
24
24
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
25
25
|
*
|
|
26
26
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
27
|
-
* @param {sap.
|
|
27
|
+
* @param {sap.m.TileContent} oControl An object representation of the control that should be rendered
|
|
28
28
|
*/
|
|
29
29
|
TileContentRenderer.render = function(oRm, oControl) {
|
|
30
30
|
|
|
@@ -36,15 +36,52 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
36
36
|
var sFrameTypeClass = encodeCSS("sapMFrameType" + oControl.getFrameType());
|
|
37
37
|
|
|
38
38
|
oRm.openStart("div", oControl);
|
|
39
|
-
oRm.class("sapMTileCnt");
|
|
39
|
+
oRm.class(oControl.getState() == "Disabled" ? "sapMTileCnt sapMTileCntDisabled" : "sapMTileCnt");
|
|
40
40
|
oRm.class(sContentTypeClass);
|
|
41
41
|
oRm.class(sFrameTypeClass);
|
|
42
42
|
if (sTooltip.trim()) { // trim check needed since IE11 renders white spaces
|
|
43
43
|
oRm.attr("title", sTooltip);
|
|
44
44
|
}
|
|
45
45
|
oRm.openEnd();
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
if (oControl.getState() == "Loading") {
|
|
47
|
+
oRm.openStart("div").class("sapMTileCntContentShimmerPlaceholderItem");
|
|
48
|
+
oRm.class("sapMTileCntContentShimmerPlaceholderWithDescription");
|
|
49
|
+
oRm.openEnd();
|
|
50
|
+
oRm.openStart("div").class("sapMTileCntContentShimmerPlaceholderRows")
|
|
51
|
+
.openEnd();
|
|
52
|
+
if (!(oControl.getParent().getFrameType() === "TwoByHalf" || oControl.getParent().getFrameType() === "OneByHalf")) {
|
|
53
|
+
oRm.openStart("div")
|
|
54
|
+
.class("sapMTileCntContentShimmerPlaceholderItemBox")
|
|
55
|
+
.class("sapMTileCntLoadingShimmer")
|
|
56
|
+
.openEnd()
|
|
57
|
+
.close("div");
|
|
58
|
+
}
|
|
59
|
+
oRm.openStart("div")
|
|
60
|
+
.class("sapMTileCntContentShimmerPlaceholderItemTextFooter")
|
|
61
|
+
.class("sapMTileCntLoadingShimmer")
|
|
62
|
+
.openEnd()
|
|
63
|
+
.close("div");
|
|
64
|
+
oRm.close("div");
|
|
65
|
+
oRm.close("div");
|
|
66
|
+
} else if (oControl.getState() == "Failed"){
|
|
67
|
+
oRm.openStart("div", oControl.getId() + "-failed-ftr");
|
|
68
|
+
oRm.class("sapMTileCntFtrFld");
|
|
69
|
+
oRm.openEnd();
|
|
70
|
+
oRm.openStart("div", oControl.getId() + "-failed-icon");
|
|
71
|
+
oRm.class("sapMTileCntFtrFldIcn");
|
|
72
|
+
oRm.openEnd();
|
|
73
|
+
oRm.renderControl(oControl.getParent()._oWarningIcon);
|
|
74
|
+
oRm.close("div");
|
|
75
|
+
oRm.openStart("div", oControl.getId() + "-failed-text");
|
|
76
|
+
oRm.class("sapMTileCntFtrFldTxt");
|
|
77
|
+
oRm.openEnd();
|
|
78
|
+
oRm.renderControl(oControl.getParent().getAggregation("_failedMessageText"));
|
|
79
|
+
oRm.close("div");
|
|
80
|
+
oRm.close("div");
|
|
81
|
+
} else {
|
|
82
|
+
this._renderContent(oRm, oControl);
|
|
83
|
+
this._renderFooter(oRm, oControl);
|
|
84
|
+
}
|
|
48
85
|
|
|
49
86
|
oRm.close("div");
|
|
50
87
|
};
|
|
@@ -54,7 +91,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
54
91
|
*
|
|
55
92
|
* @private
|
|
56
93
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
57
|
-
* @param {sap.
|
|
94
|
+
* @param {sap.m.TileContent} oControl an object representation of the control whose content should be rendered
|
|
58
95
|
*/
|
|
59
96
|
TileContentRenderer._renderContent = function(oRm, oControl) {
|
|
60
97
|
if (!oControl._bRenderContent) {
|
|
@@ -116,7 +153,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
116
153
|
*
|
|
117
154
|
* @private
|
|
118
155
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
119
|
-
* @param {sap.
|
|
156
|
+
* @param {sap.m.TileContent} oControl an object representation of the control whose footer should be rendered
|
|
120
157
|
*/
|
|
121
158
|
|
|
122
159
|
TileContentRenderer._renderFooter = function(oRm, oControl) {
|
|
@@ -22,7 +22,7 @@ sap.ui.define([],
|
|
|
22
22
|
/**
|
|
23
23
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
24
24
|
* @param {sap.ui.core.RenderManager} rm The RenderManager that can be used for writing to the render output buffer
|
|
25
|
-
* @param {sap.
|
|
25
|
+
* @param {sap.m.Tile} oControl An object representation of the control that should be rendered
|
|
26
26
|
*/
|
|
27
27
|
TileRenderer.render = function(rm, oControl) {
|
|
28
28
|
var oTileContainer,
|
|
@@ -41,7 +41,7 @@ sap.ui.define([],
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* WAI ARIA if in TileContainer context */
|
|
44
|
-
if (oControl.getParent()
|
|
44
|
+
if (oControl.getParent() && oControl.getParent().isA("sap.m.TileContainer")) {
|
|
45
45
|
oTileContainer = oControl.getParent();
|
|
46
46
|
aVisibleTiles = oTileContainer._getVisibleTiles();
|
|
47
47
|
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -140,7 +140,7 @@ function(
|
|
|
140
140
|
* @extends sap.m.DateTimeField
|
|
141
141
|
*
|
|
142
142
|
* @author SAP SE
|
|
143
|
-
* @version 1.
|
|
143
|
+
* @version 1.101.0
|
|
144
144
|
*
|
|
145
145
|
* @constructor
|
|
146
146
|
* @public
|
|
@@ -598,25 +598,11 @@ function(
|
|
|
598
598
|
var oClocks = this._getClocks();
|
|
599
599
|
|
|
600
600
|
if (oClocks) {
|
|
601
|
-
//WAI-ARIA region
|
|
602
|
-
this._handleAriaOnExpandCollapse(true);
|
|
603
|
-
|
|
604
601
|
oClocks.showFirstClock();
|
|
605
602
|
oClocks._focusActiveButton();
|
|
606
603
|
}
|
|
607
604
|
};
|
|
608
605
|
|
|
609
|
-
/**
|
|
610
|
-
* Called before the clock picker closes.
|
|
611
|
-
*
|
|
612
|
-
* @override
|
|
613
|
-
* @public
|
|
614
|
-
*/
|
|
615
|
-
TimePicker.prototype.onBeforeClose = function() {
|
|
616
|
-
//WAI-ARIA region
|
|
617
|
-
this._handleAriaOnExpandCollapse(false);
|
|
618
|
-
};
|
|
619
|
-
|
|
620
606
|
/**
|
|
621
607
|
* Called after the clock picker closes.
|
|
622
608
|
*
|
|
@@ -664,31 +650,6 @@ function(
|
|
|
664
650
|
oInputs._setTimeValues(oDateValue, TimePickerInternals._isHoursValue24(sDisplayFormattedValue, iIndexOfHH, iIndexOfH));
|
|
665
651
|
};
|
|
666
652
|
|
|
667
|
-
/**
|
|
668
|
-
* Called after the numeric picker appears.
|
|
669
|
-
*
|
|
670
|
-
* @private
|
|
671
|
-
*/
|
|
672
|
-
TimePicker.prototype.onAfterNumericOpen = function() {
|
|
673
|
-
var oInputs = this._getInputs();
|
|
674
|
-
|
|
675
|
-
if (oInputs) {
|
|
676
|
-
//WAI-ARIA region
|
|
677
|
-
this._handleAriaOnExpandCollapse(true);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
};
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* Called before the numeric picker closes.
|
|
684
|
-
*
|
|
685
|
-
* @private
|
|
686
|
-
*/
|
|
687
|
-
TimePicker.prototype.onBeforeNumericClose = function() {
|
|
688
|
-
//WAI-ARIA region
|
|
689
|
-
this._handleAriaOnExpandCollapse(false);
|
|
690
|
-
};
|
|
691
|
-
|
|
692
653
|
/**
|
|
693
654
|
* Returns Value help icon.
|
|
694
655
|
*
|
|
@@ -1492,7 +1453,6 @@ function(
|
|
|
1492
1453
|
],
|
|
1493
1454
|
ariaLabelledBy: InvisibleText.getStaticId("sap.m", "TIMEPICKER_SET_TIME"),
|
|
1494
1455
|
beforeOpen: this.onBeforeOpen.bind(this),
|
|
1495
|
-
beforeClose: this.onBeforeClose.bind(this),
|
|
1496
1456
|
afterOpen: this.onAfterOpen.bind(this),
|
|
1497
1457
|
afterClose: this.onAfterClose.bind(this)
|
|
1498
1458
|
});
|
|
@@ -1600,9 +1560,7 @@ function(
|
|
|
1600
1560
|
],
|
|
1601
1561
|
|
|
1602
1562
|
ariaLabelledBy: InvisibleText.getStaticId("sap.m", "TIMEPICKER_SET_TIME"),
|
|
1603
|
-
beforeOpen: this.onBeforeNumericOpen.bind(this)
|
|
1604
|
-
afterOpen: this.onAfterNumericOpen.bind(this),
|
|
1605
|
-
beforeClose: this.onBeforeNumericClose.bind(this)
|
|
1563
|
+
beforeOpen: this.onBeforeNumericOpen.bind(this)
|
|
1606
1564
|
});
|
|
1607
1565
|
|
|
1608
1566
|
oPicker.open = function() {
|
|
@@ -1779,15 +1737,6 @@ function(
|
|
|
1779
1737
|
|
|
1780
1738
|
};
|
|
1781
1739
|
|
|
1782
|
-
/**
|
|
1783
|
-
* Handles the correct value for ARIA expanded attribute on the TimePicker's input field.
|
|
1784
|
-
*
|
|
1785
|
-
* @private
|
|
1786
|
-
*/
|
|
1787
|
-
TimePicker.prototype._handleAriaOnExpandCollapse = function (bExpanded) {
|
|
1788
|
-
this.getFocusDomRef().setAttribute("aria-expanded", bExpanded);
|
|
1789
|
-
};
|
|
1790
|
-
|
|
1791
1740
|
/**
|
|
1792
1741
|
* Changes the time value in the input field.
|
|
1793
1742
|
*
|
|
@@ -2151,7 +2100,7 @@ function(
|
|
|
2151
2100
|
* Shifts hours, minutes and seconds indexes if period ("a", see http://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table)
|
|
2152
2101
|
* is before corresponding hours, minutes & seconds fields.
|
|
2153
2102
|
*
|
|
2154
|
-
* @param {
|
|
2103
|
+
* @param {number} shiftValue the shift value
|
|
2155
2104
|
*/
|
|
2156
2105
|
TimeSemanticMaskHelper.prototype.shiftIndexes = function(shiftValue) {
|
|
2157
2106
|
if (this.iAmPmChar1Index < this.iHourNumber1Index) { //both a and h,hh,H,HH exist in this case
|
|
@@ -2229,7 +2178,7 @@ function(
|
|
|
2229
2178
|
* @param {string} sValue
|
|
2230
2179
|
*/
|
|
2231
2180
|
TimePicker.prototype._getAlteredUserInputValue = function (sValue) {
|
|
2232
|
-
return sValue ? this._formatValue(this._parseValue(sValue), true) : sValue;
|
|
2181
|
+
return sValue ? this._formatValue(this._parseValue(sValue, true), true) : sValue;
|
|
2233
2182
|
};
|
|
2234
2183
|
|
|
2235
2184
|
/**
|
|
@@ -2253,7 +2202,6 @@ function(
|
|
|
2253
2202
|
type: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("ACC_CTR_TYPE_TIMEINPUT"),
|
|
2254
2203
|
description: [sValue, oRenderer.getLabelledByAnnouncement(this), oRenderer.getDescribedByAnnouncement(this)].join(" ").trim(),
|
|
2255
2204
|
autocomplete: "none",
|
|
2256
|
-
expanded: false,
|
|
2257
2205
|
haspopup: true,
|
|
2258
2206
|
owns: this.getId() + "-clocks"
|
|
2259
2207
|
});
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.core.Control
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.101.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
@@ -564,7 +564,7 @@ sap.ui.define([
|
|
|
564
564
|
*
|
|
565
565
|
* @private
|
|
566
566
|
*/
|
|
567
|
-
|
|
567
|
+
TimePickerClock.prototype._resetLongTouch = function() {
|
|
568
568
|
if (this._longTouchId) {
|
|
569
569
|
clearTimeout(this._longTouchId);
|
|
570
570
|
}
|
|
@@ -573,10 +573,9 @@ sap.ui.define([
|
|
|
573
573
|
/**
|
|
574
574
|
* Starts new long touch period.
|
|
575
575
|
*
|
|
576
|
-
* @param {boolean} bStartNew Whether to start new long touch period after clearing previous one
|
|
577
576
|
* @private
|
|
578
577
|
*/
|
|
579
|
-
|
|
578
|
+
TimePickerClock.prototype._startLongTouch = function() {
|
|
580
579
|
this._longTouchId = setTimeout(function() {
|
|
581
580
|
var iValue = this._iSelectedValue;
|
|
582
581
|
this._longTouchId = null;
|
|
@@ -584,7 +583,7 @@ sap.ui.define([
|
|
|
584
583
|
this._toggle2400();
|
|
585
584
|
}
|
|
586
585
|
}.bind(this), LONG_TOUCH_DURATION);
|
|
587
|
-
|
|
586
|
+
};
|
|
588
587
|
|
|
589
588
|
/**
|
|
590
589
|
* Returns real maximum value of the clock items depending on existing of inner items.
|
|
@@ -605,7 +604,7 @@ sap.ui.define([
|
|
|
605
604
|
* @returns {this} the clock object for chaining
|
|
606
605
|
* @private
|
|
607
606
|
*/
|
|
608
|
-
|
|
607
|
+
TimePickerClock.prototype._toggle2400 = function(bSkipSelection) {
|
|
609
608
|
var bIs24HoursVisible = this._get24HoursVisible(),
|
|
610
609
|
iValue = bIs24HoursVisible ? 0 : 24;
|
|
611
610
|
this._cancelTouchOut = true;
|
|
@@ -22,7 +22,7 @@ sap.ui.define([],
|
|
|
22
22
|
* Renders the HTML for a {@link sap.m.TimePickerClock}, using the provided {@link sap.ui.core.RenderManager}.
|
|
23
23
|
*
|
|
24
24
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
25
|
-
* @param {sap.
|
|
25
|
+
* @param {sap.m.TimePickerClock} oControl An object representation of the control that should be rendered
|
|
26
26
|
*/
|
|
27
27
|
TimePickerClockRenderer.render = function(oRm, oControl) {
|
|
28
28
|
var iReplacement = oControl.getLastItemReplacement(),
|
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @extends sap.ui.core.Control
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.101.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -1021,10 +1021,11 @@ sap.ui.define([
|
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Attaches events of the clocks.
|
|
1023
1023
|
*
|
|
1024
|
-
* @param {sap.m.
|
|
1024
|
+
* @param {sap.m.TimePickerClock} oClock Clock to attach events to
|
|
1025
|
+
* @param {sap.m.internal.ToggleSpinButton} oButton button to attach events to
|
|
1025
1026
|
* @private
|
|
1026
1027
|
*/
|
|
1027
|
-
|
|
1028
|
+
TimePickerClocks.prototype._attachEvents = function(oClock, oButton) {
|
|
1028
1029
|
|
|
1029
1030
|
oClock.attachChange(function(oEvent) {
|
|
1030
1031
|
var iSelected = oEvent.getParameter("value"),
|
|
@@ -1078,7 +1079,7 @@ sap.ui.define([
|
|
|
1078
1079
|
* @param {int} iClockIndex the index (in _clocks aggregation) of the clock
|
|
1079
1080
|
* @private
|
|
1080
1081
|
*/
|
|
1081
|
-
|
|
1082
|
+
TimePickerClocks.prototype._switchClock = function(iClockIndex) {
|
|
1082
1083
|
var aClocks = this.getAggregation("_clocks"),
|
|
1083
1084
|
aButtons = this.getAggregation("_buttons"),
|
|
1084
1085
|
oActiveClock = this._getActiveClock();
|
|
@@ -1161,7 +1162,7 @@ sap.ui.define([
|
|
|
1161
1162
|
* @param {boolean} bEnabled An enabled state
|
|
1162
1163
|
* @private
|
|
1163
1164
|
*/
|
|
1164
|
-
|
|
1165
|
+
TimePickerClocks.prototype._setControlValueAndEnabled = function (oClock, oButton, vValue, bEnabled) {
|
|
1165
1166
|
oClock.setSelectedValue(parseInt(vValue));
|
|
1166
1167
|
oClock.setEnabled(bEnabled);
|
|
1167
1168
|
oButton.setEnabled(bEnabled);
|
|
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/Device"], function(Device) {
|
|
|
19
19
|
* Renders the HTML for the given {@link sap.m.TimePickerClocks} 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.TimePickerClocks} oControl An object representation of the control that should be rendered
|
|
23
23
|
*/
|
|
24
24
|
TimePickerClocksRenderer.render = function(oRm, oControl) {
|
|
25
25
|
oRm.openStart("div", oControl); // outer wrapper
|
|
@@ -38,7 +38,7 @@ sap.ui.define(["sap/ui/Device"], function(Device) {
|
|
|
38
38
|
* Renders the buttons for the given {@link sap.m.TimePickerClocks} control, using the provided {@link sap.ui.core.RenderManager}.
|
|
39
39
|
*
|
|
40
40
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer
|
|
41
|
-
* @param {sap.
|
|
41
|
+
* @param {sap.m.TimePickerClocks} oControl An object representation of the control that should be rendered
|
|
42
42
|
*/
|
|
43
43
|
TimePickerClocksRenderer.renderButtons = function(oRm, oControl) {
|
|
44
44
|
var aButtons = oControl.getAggregation("_buttons"),
|
|
@@ -83,7 +83,7 @@ sap.ui.define(["sap/ui/Device"], function(Device) {
|
|
|
83
83
|
* Renders the clocks for the given {@link sap.m.TimePickerClocks} control, using the provided {@link sap.ui.core.RenderManager}.
|
|
84
84
|
*
|
|
85
85
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer
|
|
86
|
-
* @param {sap.
|
|
86
|
+
* @param {sap.m.TimePickerClocks} oControl An object representation of the control that should be rendered
|
|
87
87
|
*/
|
|
88
88
|
TimePickerClocksRenderer.renderClocks = function(oRm, oControl) {
|
|
89
89
|
var aClocks = oControl.getAggregation("_clocks"),
|
|
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/Device"], function(Device) {
|
|
|
19
19
|
* Renders the HTML for the given {@link sap.m.TimePickerInputs} 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.TimePickerInputs} oControl An object representation of the control that should be rendered
|
|
23
23
|
*/
|
|
24
24
|
TimePickerInputsRenderer.render = function(oRm, oControl) {
|
|
25
25
|
var aControls = oControl.getAggregation("_inputs"),
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @extends sap.ui.core.Control
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.101.0
|
|
49
49
|
*
|
|
50
50
|
* @constructor
|
|
51
51
|
* @private
|
|
@@ -431,7 +431,7 @@ sap.ui.define([
|
|
|
431
431
|
* @private
|
|
432
432
|
*/
|
|
433
433
|
TimePickerInternals.prototype._getTimeSeparators = function (sDisplayFormat) {
|
|
434
|
-
var aFormatParts =
|
|
434
|
+
var aFormatParts = DateFormat.getInstance({ pattern: sDisplayFormat }).aFormatArray,
|
|
435
435
|
aSeparators = [],
|
|
436
436
|
bPreviousWasEntity,
|
|
437
437
|
iIndex;
|
|
@@ -529,8 +529,9 @@ sap.ui.define([
|
|
|
529
529
|
* 00:00:00 with displayFormat "mm:HH:ss" -> 00:24:00
|
|
530
530
|
* 0:00:00 with displayFormat "H:mm:ss" -> 24:00:00
|
|
531
531
|
* 00:0:00 with displayFormat "mm:H:ss" -> 00:24:00
|
|
532
|
-
* @param
|
|
533
|
-
* @param
|
|
532
|
+
* @param {string} sValue Value to replace the zeroes in
|
|
533
|
+
* @param {int} iIndexOfHH index of the HH in the displayFormat
|
|
534
|
+
* @param {int} iIndexOfH index of the H in the displayFormat
|
|
534
535
|
* @private
|
|
535
536
|
*/
|
|
536
537
|
TimePickerInternals._replaceZeroHoursWith24 = function (sValue, iIndexOfHH, iIndexOfH) {
|
|
@@ -553,8 +554,9 @@ sap.ui.define([
|
|
|
553
554
|
* 00:24:00 with displayFormat "mm:HH:ss" -> 00:00:00
|
|
554
555
|
* 24:00:00 with displayFormat "H:mm:ss" -> 0:00:00
|
|
555
556
|
* 00:24:00 with displayFormat "mm:H:ss" -> 00:0:00
|
|
556
|
-
* @param
|
|
557
|
-
* @param
|
|
557
|
+
* @param {string} sValue Value to replace the 24 with zeroes in
|
|
558
|
+
* @param {int} iIndexOfHH index of the HH in the displayFormat
|
|
559
|
+
* @param {int} iIndexOfH index of the H in the displayFormat
|
|
558
560
|
* @private
|
|
559
561
|
*/
|
|
560
562
|
TimePickerInternals._replace24HoursWithZero = function (sValue, iIndexOfHH, iIndexOfH) {
|