@openui5/sap.m 1.113.0 → 1.114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- 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 +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.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 +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +5 -3
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +19 -3
- package/src/sap/m/ButtonRenderer.js +9 -1
- package/src/sap/m/Carousel.js +3 -4
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.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/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 +14 -3
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +48 -18
- package/src/sap/m/DateRangeSelection.js +71 -32
- package/src/sap/m/DateTimeField.js +19 -14
- package/src/sap/m/DateTimeInput.js +6 -4
- package/src/sap/m/DateTimePicker.js +42 -11
- package/src/sap/m/Dialog.js +2 -2
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +5 -6
- package/src/sap/m/DynamicDateFormat.js +10 -7
- package/src/sap/m/DynamicDateOption.js +12 -6
- package/src/sap/m/DynamicDateRange.js +268 -45
- package/src/sap/m/DynamicDateUtil.js +5 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +7 -5
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +11 -4
- package/src/sap/m/FeedListItemAction.js +1 -1
- 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 +42 -51
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +23 -23
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +2 -4
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +11 -5
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +5 -6
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +5 -8
- package/src/sap/m/IllustratedMessage.js +30 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +0 -2
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/ImageHelper.js +110 -0
- package/src/sap/m/Input.js +3 -2
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +7 -16
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -2
- package/src/sap/m/ListItemBase.js +10 -3
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +4 -5
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +78 -10
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +24 -5
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- 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/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +6 -6
- package/src/sap/m/ObjectHeader.js +5 -5
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +5 -6
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +4 -7
- package/src/sap/m/OverflowToolbar.js +7 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/Page.js +2 -2
- 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/PlanningCalendar.js +11 -11
- package/src/sap/m/PlanningCalendarHeader.js +3 -3
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +15 -15
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -3
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +4 -10
- 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/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +2 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +17 -7
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +2 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +4 -3
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +44 -15
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +13 -13
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +9 -9
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +2 -2
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +4 -4
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +2 -3
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +4 -9
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +3 -6
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +3 -6
- package/src/sap/m/Table.js +5 -4
- 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/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +8 -8
- package/src/sap/m/TileContentRenderer.js +1 -6
- package/src/sap/m/TimePicker.js +38 -8
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +4 -4
- package/src/sap/m/TimePickerClocksRenderer.js +7 -9
- package/src/sap/m/TimePickerInputs.js +10 -8
- package/src/sap/m/TimePickerInputsRenderer.js +7 -6
- package/src/sap/m/TimePickerInternals.js +15 -2
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +7 -5
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +7 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +10 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +77 -78
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.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 +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- 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 +1 -1
- package/src/sap/m/delegate/DateNavigation.js +1 -1
- package/src/sap/m/designtime/PersistenceProvider.designtime.js +21 -0
- package/src/sap/m/library.js +25 -90
- package/src/sap/m/messagebundle.properties +15 -0
- package/src/sap/m/messagebundle_ar.properties +10 -0
- package/src/sap/m/messagebundle_bg.properties +10 -0
- package/src/sap/m/messagebundle_ca.properties +10 -0
- package/src/sap/m/messagebundle_cs.properties +11 -1
- package/src/sap/m/messagebundle_cy.properties +10 -0
- package/src/sap/m/messagebundle_da.properties +10 -0
- package/src/sap/m/messagebundle_de.properties +12 -2
- package/src/sap/m/messagebundle_el.properties +10 -0
- package/src/sap/m/messagebundle_en.properties +10 -0
- package/src/sap/m/messagebundle_en_GB.properties +10 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +10 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +10 -0
- package/src/sap/m/messagebundle_es.properties +10 -0
- package/src/sap/m/messagebundle_es_MX.properties +10 -0
- package/src/sap/m/messagebundle_et.properties +10 -0
- package/src/sap/m/messagebundle_fi.properties +10 -0
- package/src/sap/m/messagebundle_fr.properties +10 -0
- package/src/sap/m/messagebundle_fr_CA.properties +10 -0
- package/src/sap/m/messagebundle_hi.properties +10 -0
- package/src/sap/m/messagebundle_hr.properties +10 -0
- package/src/sap/m/messagebundle_hu.properties +10 -0
- package/src/sap/m/messagebundle_id.properties +10 -0
- package/src/sap/m/messagebundle_it.properties +13 -3
- package/src/sap/m/messagebundle_iw.properties +10 -0
- package/src/sap/m/messagebundle_ja.properties +11 -1
- package/src/sap/m/messagebundle_kk.properties +10 -0
- package/src/sap/m/messagebundle_ko.properties +11 -1
- package/src/sap/m/messagebundle_lt.properties +10 -0
- package/src/sap/m/messagebundle_lv.properties +10 -0
- package/src/sap/m/messagebundle_ms.properties +11 -1
- package/src/sap/m/messagebundle_nl.properties +10 -0
- package/src/sap/m/messagebundle_no.properties +10 -0
- package/src/sap/m/messagebundle_pl.properties +10 -0
- package/src/sap/m/messagebundle_pt.properties +10 -0
- package/src/sap/m/messagebundle_pt_PT.properties +10 -0
- package/src/sap/m/messagebundle_ro.properties +10 -0
- package/src/sap/m/messagebundle_ru.properties +10 -0
- package/src/sap/m/messagebundle_sh.properties +10 -0
- package/src/sap/m/messagebundle_sk.properties +10 -0
- package/src/sap/m/messagebundle_sl.properties +10 -0
- package/src/sap/m/messagebundle_sv.properties +10 -0
- package/src/sap/m/messagebundle_th.properties +10 -0
- package/src/sap/m/messagebundle_tr.properties +10 -0
- package/src/sap/m/messagebundle_uk.properties +10 -0
- package/src/sap/m/messagebundle_vi.properties +10 -0
- package/src/sap/m/messagebundle_zh_CN.properties +10 -0
- package/src/sap/m/messagebundle_zh_TW.properties +10 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +8 -4
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +1 -1
- package/src/sap/m/p13n/Popup.js +7 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +14 -13
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +19 -9
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +9 -1
- package/src/sap/m/plugins/CopyProvider.js +122 -5
- package/src/sap/m/plugins/DataStateIndicator.js +14 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +57 -3
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +14 -21
- package/src/sap/m/table/columnmenu/MenuRenderer.js +0 -6
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Button.less +4 -4
- package/src/sap/m/themes/base/FeedInput.less +1 -0
- package/src/sap/m/themes/base/GenericTile.less +5 -23
- package/src/sap/m/themes/base/IllustratedMessage.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +27 -15
- package/src/sap/m/themes/base/MessageToast.less +7 -0
- package/src/sap/m/themes/base/ObjectHeader.less +20 -0
- package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
- package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
- package/src/sap/m/themes/base/Table.less +0 -20
- package/src/sap/m/themes/base/TimePickerClocks.less +2 -1
- package/src/sap/m/themes/base/TimePickerInputs.less +2 -1
- package/src/sap/m/themes/base/Wizard.less +1 -1
- package/src/sap/m/upload/UploadSet.js +21 -18
- package/src/sap/m/upload/UploadSetItem.js +27 -25
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +0 -110
package/src/sap/m/SplitApp.js
CHANGED
package/src/sap/m/SplitButton.js
CHANGED
|
@@ -42,11 +42,10 @@ sap.ui.define([
|
|
|
42
42
|
* @extends sap.m.DynamicDateOption
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.114.1
|
|
46
46
|
*
|
|
47
|
-
* @
|
|
47
|
+
* @private
|
|
48
48
|
* @alias sap.m.StandardDynamicDateOption
|
|
49
|
-
* @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
50
49
|
*/
|
|
51
50
|
var StandardDynamicDateOption = DynamicDateOption.extend("sap.m.StandardDynamicDateOption", /** @lends sap.m.StandardDynamicDateOption.prototype */ {
|
|
52
51
|
metadata: {
|
|
@@ -11,24 +11,19 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/IconPool',
|
|
12
12
|
'sap/ui/core/library',
|
|
13
13
|
'sap/ui/Device',
|
|
14
|
-
'./StandardTileRenderer'
|
|
14
|
+
'./StandardTileRenderer',
|
|
15
|
+
'sap/m/ImageHelper'
|
|
15
16
|
],
|
|
16
|
-
function(Tile, library, IconPool, coreLibrary, Device, StandardTileRenderer) {
|
|
17
|
+
function(Tile, library, IconPool, coreLibrary, Device, StandardTileRenderer, ImageHelper) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
// shortcut for sap.m.ImageHelper
|
|
22
|
-
var ImageHelper = library.ImageHelper;
|
|
23
|
-
|
|
24
21
|
// shortcut for sap.m.StandardTileType
|
|
25
22
|
var StandardTileType = library.StandardTileType;
|
|
26
23
|
|
|
27
24
|
// shortcut for sap.ui.core.ValueState
|
|
28
25
|
var ValueState = coreLibrary.ValueState;
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
27
|
/**
|
|
33
28
|
* Constructor for a new StandardTile.
|
|
34
29
|
*
|
|
@@ -40,7 +35,7 @@ sap.ui.define([
|
|
|
40
35
|
* @extends sap.m.Tile
|
|
41
36
|
*
|
|
42
37
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
38
|
+
* @version 1.114.1
|
|
44
39
|
*
|
|
45
40
|
* @constructor
|
|
46
41
|
* @public
|
package/src/sap/m/StepInput.js
CHANGED
package/src/sap/m/Switch.js
CHANGED
|
@@ -8,13 +8,10 @@
|
|
|
8
8
|
sap.ui.define(['sap/ui/core/Element',
|
|
9
9
|
'sap/ui/core/IconPool',
|
|
10
10
|
'./TabStripItem',
|
|
11
|
-
'
|
|
12
|
-
function(Element, IconPool, TabStripItem,
|
|
11
|
+
'sap/m/ImageHelper'],
|
|
12
|
+
function(Element, IconPool, TabStripItem, ImageHelper) {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
|
-
// shortcut for sap.m.ImageHelper
|
|
16
|
-
var ImageHelper = library.ImageHelper;
|
|
17
|
-
|
|
18
15
|
/**
|
|
19
16
|
* Constructor for a new <code>TabContainerItem</code>.
|
|
20
17
|
*
|
|
@@ -26,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element',
|
|
|
26
23
|
* @extends sap.ui.core.Element
|
|
27
24
|
*
|
|
28
25
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
26
|
+
* @version 1.114.1
|
|
30
27
|
*
|
|
31
28
|
* @constructor
|
|
32
29
|
* @public
|
package/src/sap/m/TabStrip.js
CHANGED
|
@@ -4,16 +4,13 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
// Provides control sap.m.TabStripItem.
|
|
7
|
-
sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sap/ui/core/IconPool", "./AccButton"],
|
|
8
|
-
function(library, Item, ManagedObject, IconPool, AccButton) {
|
|
7
|
+
sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sap/ui/core/IconPool", "./AccButton", "sap/m/ImageHelper"],
|
|
8
|
+
function(library, Item, ManagedObject, IconPool, AccButton, ImageHelper) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
// shortcut for sap.m.ButtonType
|
|
12
12
|
var ButtonType = library.ButtonType;
|
|
13
13
|
|
|
14
|
-
// shortcut for sap.m.ImageHelper
|
|
15
|
-
var ImageHelper = library.ImageHelper;
|
|
16
|
-
|
|
17
14
|
/**
|
|
18
15
|
* Constructor for a new <code>TabStripItem</code>.
|
|
19
16
|
*
|
|
@@ -25,7 +22,7 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
|
|
|
25
22
|
* @extends sap.ui.core.Item
|
|
26
23
|
*
|
|
27
24
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
25
|
+
* @version 1.114.1
|
|
29
26
|
*
|
|
30
27
|
* @constructor
|
|
31
28
|
* @private
|
package/src/sap/m/Table.js
CHANGED
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @extends sap.m.ListBase
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.114.1
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -828,8 +828,9 @@ sap.ui.define([
|
|
|
828
828
|
|
|
829
829
|
// update the visible column count and colspan
|
|
830
830
|
// highlight, navigation and navigated indicator columns are getting rendered always
|
|
831
|
-
|
|
832
|
-
this
|
|
831
|
+
var iDummyColumnLength = $headRow.find(".sapMListTblDummyCell").length;
|
|
832
|
+
this._colCount = aVisibleColumns.length + 3 + !!ListBaseRenderer.ModeOrder[this.getMode()] + iDummyColumnLength;
|
|
833
|
+
this.$("tblBody").find(".sapMGHLICell").attr("colspan", this.getColSpan() - iDummyColumnLength);
|
|
833
834
|
this.$("nodata-text").attr("colspan", this.getColCount());
|
|
834
835
|
|
|
835
836
|
if (this.hasPopin()) {
|
|
@@ -1137,7 +1138,7 @@ sap.ui.define([
|
|
|
1137
1138
|
}
|
|
1138
1139
|
|
|
1139
1140
|
var $Row = jQuery();
|
|
1140
|
-
if (oEvent.target.
|
|
1141
|
+
if (jQuery(oEvent.target).closest(this.getDomRef("nodata"))[0]) {
|
|
1141
1142
|
$Row = this.$("nodata");
|
|
1142
1143
|
} else if (this.isHeaderRowEvent(oEvent)) {
|
|
1143
1144
|
$Row = this.$("tblHeader");
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @class Table Personalization Controller
|
|
40
40
|
* @extends sap.ui.base.ManagedObject
|
|
41
41
|
* @author SAP
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.114.1
|
|
43
43
|
* @alias sap.m.TablePersoController
|
|
44
44
|
*/
|
|
45
45
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
|
|
@@ -91,7 +91,7 @@ sap.ui.define([
|
|
|
91
91
|
* @class Table Personalization Dialog
|
|
92
92
|
* @extends sap.ui.base.ManagedObject
|
|
93
93
|
* @author SAP
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.114.1
|
|
95
95
|
* @alias sap.m.TablePersoDialog
|
|
96
96
|
*/
|
|
97
97
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.114.1
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
|
|
@@ -110,7 +110,7 @@ sap.ui.define([
|
|
|
110
110
|
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz and Horizon themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
111
111
|
* @extends sap.m.SelectDialogBase
|
|
112
112
|
* @author SAP SE
|
|
113
|
-
* @version 1.
|
|
113
|
+
* @version 1.114.1
|
|
114
114
|
*
|
|
115
115
|
* @constructor
|
|
116
116
|
* @public
|
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.114.1
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.114.1
|
|
28
28
|
* @since 1.34.0
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
@@ -101,21 +101,21 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
101
101
|
if (sState && !this._bStateSetManually) {
|
|
102
102
|
if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
|
|
103
103
|
if (this.getParent().getState() === LoadState.Failed) {
|
|
104
|
-
this.
|
|
104
|
+
this.setState(LoadState.Loaded);
|
|
105
105
|
} else if (this.getParent().getState() === LoadState.Disabled) {
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
106
|
+
this.setState(LoadState.Loaded);
|
|
107
|
+
this.setDisabled(this.getState() === LoadState.Disabled);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
} else {
|
|
111
111
|
if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
|
|
112
112
|
if (this.getParent().getState() === LoadState.Failed) {
|
|
113
|
-
this.
|
|
113
|
+
this.setState(LoadState.Loaded);
|
|
114
114
|
} else if (this.getParent().getState() === LoadState.Disabled) {
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
115
|
+
this.setState(LoadState.Loaded);
|
|
116
|
+
this.setDisabled(this.getState() === LoadState.Disabled);
|
|
117
117
|
} else {
|
|
118
|
-
this.
|
|
118
|
+
this.setState(this.getParent().getState());
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
this._bStateSetManually = true;
|
|
@@ -126,11 +126,6 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile"],
|
|
|
126
126
|
oRm.openStart("div", oControl.getId() + "-priority-content");
|
|
127
127
|
oRm.class("sapMTilePriorityCnt");
|
|
128
128
|
oRm.openEnd();
|
|
129
|
-
//Border
|
|
130
|
-
oRm.openStart("div", oControl.getId() + "-priority-border");
|
|
131
|
-
oRm.class("sapMTilePriorityBorder");
|
|
132
|
-
oRm.openEnd();
|
|
133
|
-
oRm.close("div");
|
|
134
129
|
//Value
|
|
135
130
|
oRm.openStart("span", oControl.getId() + "-priority-value");
|
|
136
131
|
oRm.class("sapMTilePriorityValue");
|
|
@@ -142,7 +137,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile"],
|
|
|
142
137
|
oRm.close("div");
|
|
143
138
|
}
|
|
144
139
|
if (oContent.isA("sap.m.Text") && bIsActionMode && (oControl.getFrameType() === FrameType.TwoByOne || oControl.getFrameType() === FrameType.Auto)) {
|
|
145
|
-
oContent.
|
|
140
|
+
oContent.setMaxLines(iMaxLines);
|
|
146
141
|
}
|
|
147
142
|
oRm.openStart("div", oControl.getId() + "-content");
|
|
148
143
|
oRm.class("sapMTileCntContent");
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -97,16 +97,46 @@ function(
|
|
|
97
97
|
*
|
|
98
98
|
* On app level, there are two options to provide value for the
|
|
99
99
|
* <code>TimePicker</code> - as a string to the <code>value</code> property or as a
|
|
100
|
-
* JavaScript Date object to the <code>dateValue</code> property (only one of these
|
|
100
|
+
* UI5Date or JavaScript Date object to the <code>dateValue</code> property (only one of these
|
|
101
101
|
* properties should be used at a time):
|
|
102
102
|
*
|
|
103
103
|
* <ul><li>Use the <code>value</code> property if you want to bind the
|
|
104
104
|
* <code>TimePicker</code> to a model using the
|
|
105
105
|
* <code>sap.ui.model.type.Time</code></li>
|
|
106
|
+
* @example <caption> binding the <code>value</code> property by using types </caption>
|
|
107
|
+
* new sap.ui.model.json.JSONModel({date: sap.ui.core.date.UI5Date.getInstance(2022,10,10,10,15,10)});
|
|
108
|
+
*
|
|
109
|
+
* new sap.m.TimePicker({
|
|
110
|
+
* value: {
|
|
111
|
+
* type: "sap.ui.model.type.Time",
|
|
112
|
+
* path:"/date"
|
|
113
|
+
* }
|
|
114
|
+
* });
|
|
115
|
+
*
|
|
106
116
|
* <li>Use the <code>value</code> property if the date is provided as a string from
|
|
107
117
|
* the backend or inside the app (for example, as ABAP type DATS field)</li>
|
|
118
|
+
* @example <caption> binding the <code>value</code> property by using types </caption>
|
|
119
|
+
* new sap.ui.model.json.JSONModel({date:"10:15:10"});
|
|
120
|
+
* new sap.m.TimePicker({
|
|
121
|
+
* value: {
|
|
122
|
+
* type: "sap.ui.model.type.Time",
|
|
123
|
+
* path: "/date",
|
|
124
|
+
* formatOptions: {
|
|
125
|
+
* source: {
|
|
126
|
+
* pattern: "HH:mm:ss"
|
|
127
|
+
* }
|
|
128
|
+
* }
|
|
129
|
+
* }
|
|
130
|
+
* });
|
|
131
|
+
*
|
|
132
|
+
* <b>Note:</b> There are multiple binding type choices, such as:
|
|
133
|
+
* sap.ui.model.type.Date
|
|
134
|
+
* sap.ui.model.odata.type.DateTime
|
|
135
|
+
* sap.ui.model.odata.type.DateTimeOffset
|
|
136
|
+
* See {@link sap.ui.model.type.Date}, {@link sap.ui.model.odata.type.DateTime} or {@link sap.ui.model.odata.type.DateTimeOffset}
|
|
137
|
+
*
|
|
108
138
|
* <li>Use the <code>dateValue</code> property if the date is already provided as a
|
|
109
|
-
* JavaScript Date object or you want to work with a JavaScript Date object.
|
|
139
|
+
* UI5Date or JavaScript Date object or you want to work with a UI5Date or JavaScript Date object.
|
|
110
140
|
* Use <code>dateValue</code> as a helper property to easily obtain the hours, minutes and seconds
|
|
111
141
|
* of the chosen time. Although possible to bind it, the recommendation is to not to do it.
|
|
112
142
|
* When binding is needed, use <code>value</code> property instead</li></ul>
|
|
@@ -144,7 +174,7 @@ function(
|
|
|
144
174
|
* @extends sap.m.DateTimeField
|
|
145
175
|
*
|
|
146
176
|
* @author SAP SE
|
|
147
|
-
* @version 1.
|
|
177
|
+
* @version 1.114.1
|
|
148
178
|
*
|
|
149
179
|
* @constructor
|
|
150
180
|
* @public
|
|
@@ -350,13 +380,13 @@ function(
|
|
|
350
380
|
*/
|
|
351
381
|
|
|
352
382
|
/**
|
|
353
|
-
* Holds a reference to a JavaScript Date
|
|
383
|
+
* Holds a reference to a UI5Date or JavaScript Date object. The <code>value</code> (string)
|
|
354
384
|
* property will be set according to it. Alternatively, if the <code>value</code>
|
|
355
385
|
* and <code>valueFormat</code> pair properties are supplied instead,
|
|
356
386
|
* the <code>dateValue</code> will be instantiated according to the parsed
|
|
357
387
|
* <code>value</code>.
|
|
358
388
|
*
|
|
359
|
-
* @returns {Date} the value of property <code>dateValue</code>
|
|
389
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} the value of property <code>dateValue</code>
|
|
360
390
|
* @public
|
|
361
391
|
* @name sap.m.TimePicker#getDateValue
|
|
362
392
|
* @function
|
|
@@ -863,7 +893,7 @@ function(
|
|
|
863
893
|
/**
|
|
864
894
|
* Handles data validation.
|
|
865
895
|
*
|
|
866
|
-
* @param {Date} oDate
|
|
896
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate date instance
|
|
867
897
|
* @private
|
|
868
898
|
*/
|
|
869
899
|
TimePicker.prototype._handleDateValidation = function (oDate) {
|
|
@@ -1053,7 +1083,7 @@ function(
|
|
|
1053
1083
|
* Sets the value of the date.
|
|
1054
1084
|
*
|
|
1055
1085
|
* @public
|
|
1056
|
-
* @param {Date} oDate A
|
|
1086
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
|
|
1057
1087
|
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1058
1088
|
*/
|
|
1059
1089
|
TimePicker.prototype.setDateValue = function(oDate) {
|
|
@@ -1742,7 +1772,7 @@ function(
|
|
|
1742
1772
|
*
|
|
1743
1773
|
* If bValueFormat is set, it converts it to the <code>valueFormat</code>.
|
|
1744
1774
|
*
|
|
1745
|
-
* @param {Date} oDate A
|
|
1775
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
|
|
1746
1776
|
* @param {boolean} bValueFormat Defines whether the result is in <code>valueFormat</code> or <code>displayFormat</code>
|
|
1747
1777
|
* @returns {string} Formatted value
|
|
1748
1778
|
* @private
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.ui.core.Control
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.114.1
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -470,7 +470,7 @@ sap.ui.define([
|
|
|
470
470
|
/**
|
|
471
471
|
* Gets the time values from the clocks, as a date object.
|
|
472
472
|
*
|
|
473
|
-
* @returns {Date} A
|
|
473
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} A date instance
|
|
474
474
|
* @public
|
|
475
475
|
*/
|
|
476
476
|
TimePickerClocks.prototype.getTimeValues = function() {
|
|
@@ -703,7 +703,7 @@ sap.ui.define([
|
|
|
703
703
|
/**
|
|
704
704
|
* Set what clocks show.
|
|
705
705
|
*
|
|
706
|
-
* @param {object} oDate
|
|
706
|
+
* @param {object} oDate date instance
|
|
707
707
|
* @param {boolean} bHoursValueIs24 whether the hours value is 24 or not
|
|
708
708
|
* @private
|
|
709
709
|
*/
|
|
@@ -723,7 +723,7 @@ sap.ui.define([
|
|
|
723
723
|
// Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
|
|
724
724
|
// because Date object in the test is different than the Date object in the application (due to the iframe).
|
|
725
725
|
if (Object.prototype.toString.call(oDate) !== "[object Date]" || isNaN(oDate)) {
|
|
726
|
-
throw new Error("Date must be a JavaScript date object; " + this);
|
|
726
|
+
throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
if (!bHoursValueIs24) {
|
|
@@ -45,7 +45,6 @@ sap.ui.define([], function() {
|
|
|
45
45
|
oSegButton = oControl.getAggregation("_buttonAmPm"),
|
|
46
46
|
aSeparators = oControl._getTimeSeparators(oControl._getDisplayFormatPattern()),
|
|
47
47
|
sSeparator,
|
|
48
|
-
iSepearatorsIndex,
|
|
49
48
|
iIndex;
|
|
50
49
|
|
|
51
50
|
if (aButtons) {
|
|
@@ -58,14 +57,12 @@ sap.ui.define([], function() {
|
|
|
58
57
|
oRm.attr("dir", "ltr");
|
|
59
58
|
oRm.openEnd();
|
|
60
59
|
|
|
61
|
-
// render buttons
|
|
62
|
-
for (iIndex = 0; iIndex <
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
if (!sSeparator) {
|
|
68
|
-
sSeparator = " ";
|
|
60
|
+
// render buttons and separators
|
|
61
|
+
for (iIndex = 0; iIndex < aSeparators.length; iIndex++) {
|
|
62
|
+
if (iIndex > 0 || aSeparators[iIndex] !== "") {
|
|
63
|
+
sSeparator = aSeparators[iIndex];
|
|
64
|
+
if (sSeparator === undefined) {
|
|
65
|
+
sSeparator = "";
|
|
69
66
|
}
|
|
70
67
|
oRm.openStart("span");
|
|
71
68
|
oRm.attr("aria-hidden", "true");
|
|
@@ -73,6 +70,7 @@ sap.ui.define([], function() {
|
|
|
73
70
|
oRm.text(sSeparator);
|
|
74
71
|
oRm.close("span");
|
|
75
72
|
}
|
|
73
|
+
aButtons[iIndex] && oRm.renderControl(aButtons[iIndex]);
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
oRm.renderControl(oControl._getCurrentTimeButton());
|