@openui5/sap.m 1.112.2 → 1.114.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/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 +11 -3
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +32 -3
- package/src/sap/m/AvatarRenderer.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/CarouselRenderer.js +2 -6
- 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 +12 -2
- package/src/sap/m/ComboBoxBase.js +2 -2
- 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 +52 -18
- package/src/sap/m/DatePickerRenderer.js +3 -1
- package/src/sap/m/DateRangeSelection.js +87 -26
- package/src/sap/m/DateRangeSelectionRenderer.js +3 -2
- package/src/sap/m/DateTimeField.js +26 -7
- package/src/sap/m/DateTimeInput.js +6 -4
- package/src/sap/m/DateTimePicker.js +86 -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 +311 -65
- 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 +2 -2
- package/src/sap/m/FeedListItem.js +14 -14
- 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 +62 -6
- package/src/sap/m/FormattedTextRenderer.js +10 -52
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +46 -40
- package/src/sap/m/GenericTileRenderer.js +17 -5
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +19 -13
- 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/IllustratedMessageType.js +12 -0
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +9 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/ImageHelper.js +110 -0
- package/src/sap/m/Input.js +23 -5
- 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 +2 -5
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/LightBoxRenderer.js +3 -0
- package/src/sap/m/Link.js +6 -8
- package/src/sap/m/LinkRenderer.js +2 -4
- package/src/sap/m/List.js +2 -2
- package/src/sap/m/ListBase.js +8 -7
- package/src/sap/m/ListItemBase.js +6 -5
- 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 +42 -35
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +8 -8
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +5 -0
- 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 +7 -2
- 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 +46 -10
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +18 -18
- 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 +1 -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 +9 -5
- 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 +51 -39
- 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 +5 -5
- package/src/sap/m/PopoverRenderer.js +0 -4
- 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/RatingIndicatorRenderer.js +3 -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 +9 -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 +84 -18
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +196 -17
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +32 -2
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +191 -12
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +25 -6
- 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/StandardListItemRenderer.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 -1
- 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/TimePickerRenderer.js +5 -1
- 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/TitleRenderer.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 +19 -10
- 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 +2 -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 +78 -83
- 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/delegate/ValueStateMessage.js +15 -4
- package/src/sap/m/designtime/PersistenceProvider.designtime.js +21 -0
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_uk.properties +2 -2
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +0 -2
- package/src/sap/m/library.js +46 -90
- package/src/sap/m/messagebundle.properties +51 -0
- package/src/sap/m/messagebundle_ar.properties +27 -3
- package/src/sap/m/messagebundle_bg.properties +49 -25
- package/src/sap/m/messagebundle_ca.properties +27 -3
- package/src/sap/m/messagebundle_cs.properties +28 -4
- package/src/sap/m/messagebundle_cy.properties +27 -3
- package/src/sap/m/messagebundle_da.properties +27 -3
- package/src/sap/m/messagebundle_de.properties +29 -5
- package/src/sap/m/messagebundle_el.properties +27 -3
- package/src/sap/m/messagebundle_en.properties +25 -1
- package/src/sap/m/messagebundle_en_GB.properties +25 -1
- package/src/sap/m/messagebundle_en_US_sappsd.properties +28 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +24 -0
- package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -0
- package/src/sap/m/messagebundle_es.properties +27 -3
- package/src/sap/m/messagebundle_es_MX.properties +27 -3
- package/src/sap/m/messagebundle_et.properties +27 -3
- package/src/sap/m/messagebundle_fi.properties +27 -3
- package/src/sap/m/messagebundle_fr.properties +27 -3
- package/src/sap/m/messagebundle_fr_CA.properties +27 -3
- package/src/sap/m/messagebundle_hi.properties +27 -3
- package/src/sap/m/messagebundle_hr.properties +27 -3
- package/src/sap/m/messagebundle_hu.properties +27 -3
- package/src/sap/m/messagebundle_id.properties +27 -3
- package/src/sap/m/messagebundle_it.properties +30 -6
- package/src/sap/m/messagebundle_iw.properties +28 -4
- package/src/sap/m/messagebundle_ja.properties +27 -3
- package/src/sap/m/messagebundle_kk.properties +32 -8
- package/src/sap/m/messagebundle_ko.properties +27 -3
- package/src/sap/m/messagebundle_lt.properties +27 -3
- package/src/sap/m/messagebundle_lv.properties +27 -3
- package/src/sap/m/messagebundle_ms.properties +27 -3
- package/src/sap/m/messagebundle_nl.properties +27 -3
- package/src/sap/m/messagebundle_no.properties +27 -3
- package/src/sap/m/messagebundle_pl.properties +27 -3
- package/src/sap/m/messagebundle_pt.properties +27 -3
- package/src/sap/m/messagebundle_pt_PT.properties +27 -3
- package/src/sap/m/messagebundle_ro.properties +27 -3
- package/src/sap/m/messagebundle_ru.properties +27 -3
- package/src/sap/m/messagebundle_sh.properties +28 -4
- package/src/sap/m/messagebundle_sk.properties +27 -3
- package/src/sap/m/messagebundle_sl.properties +28 -4
- package/src/sap/m/messagebundle_sv.properties +27 -3
- package/src/sap/m/messagebundle_th.properties +27 -3
- package/src/sap/m/messagebundle_tr.properties +27 -3
- package/src/sap/m/messagebundle_uk.properties +31 -7
- package/src/sap/m/messagebundle_vi.properties +27 -3
- package/src/sap/m/messagebundle_zh_CN.properties +28 -4
- package/src/sap/m/messagebundle_zh_TW.properties +27 -3
- 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 +113 -16
- package/src/sap/m/p13n/Container.js +38 -8
- package/src/sap/m/p13n/Engine.js +235 -186
- 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 +8 -1
- package/src/sap/m/p13n/QueryPanel.js +7 -2
- package/src/sap/m/p13n/SelectionController.js +42 -22
- 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/handler/xConfigHandler.js +38 -13
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +46 -23
- package/src/sap/m/p13n/modification/ModificationHandler.js +2 -2
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +4 -4
- package/src/sap/m/p13n/modules/UIManager.js +22 -13
- package/src/sap/m/p13n/modules/xConfigAPI.js +4 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +10 -2
- package/src/sap/m/plugins/CopyProvider.js +122 -5
- package/src/sap/m/plugins/DataStateIndicator.js +15 -3
- 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 +36 -30
- 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 +20 -7
- package/src/sap/m/themes/base/Carousel.less +0 -2
- package/src/sap/m/themes/base/FacetFilter.less +0 -4
- package/src/sap/m/themes/base/FeedInput.less +131 -113
- package/src/sap/m/themes/base/GenericTile.less +17 -2
- package/src/sap/m/themes/base/IllustratedMessage.less +1 -1
- package/src/sap/m/themes/base/Input.less +4 -0
- 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/Panel.less +1 -0
- package/src/sap/m/themes/base/PlanningCalendar.less +9 -0
- package/src/sap/m/themes/base/PlanningCalendarHeader.less +26 -1
- package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +75 -4
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +38 -8
- package/src/sap/m/themes/base/StandardListItem.less +1 -0
- 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/Toolbar.less +3 -2
- package/src/sap/m/themes/base/UploadCollection.less +1 -0
- package/src/sap/m/themes/base/Wizard.less +5 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoColumnsSet.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoColumnsSet.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Survey.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoColumnsSet.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Survey.svg +21 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoColumnsSet.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +32 -0
- package/src/sap/m/upload/UploadSet.js +53 -27
- package/src/sap/m/upload/UploadSetItem.js +40 -26
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +0 -110
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.0
|
|
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.0
|
|
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.0
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -931,7 +931,8 @@ sap.ui.define([
|
|
|
931
931
|
if (!this._selectAllCheckBox) {
|
|
932
932
|
this._selectAllCheckBox = new CheckBox({
|
|
933
933
|
id: this.getId("sa"),
|
|
934
|
-
activeHandling: false
|
|
934
|
+
activeHandling: false,
|
|
935
|
+
tooltip: Core.getLibraryResourceBundle("sap.m").getText("TABLE_SELECT_ALL_TOOLTIP")
|
|
935
936
|
}).addStyleClass("sapMLIBSelectM").setParent(this, null, true).attachSelect(function () {
|
|
936
937
|
if (this._selectAllCheckBox.getSelected()) {
|
|
937
938
|
this.selectAll(true);
|
|
@@ -1171,8 +1172,8 @@ sap.ui.define([
|
|
|
1171
1172
|
/**
|
|
1172
1173
|
* Sets the focus on the stored focus DOM reference.
|
|
1173
1174
|
*
|
|
1174
|
-
* If
|
|
1175
|
-
* the focus will be set as accurately as possible according to the information provided by {@
|
|
1175
|
+
* If <code>oFocusInfo.targetInfo</code> is of type {@link sap.ui.core.message.Message},
|
|
1176
|
+
* the focus will be set as accurately as possible according to the information provided by {@link sap.ui.core.message.Message}.
|
|
1176
1177
|
*
|
|
1177
1178
|
* @param {object} [oFocusInfo={}] Options for setting the focus
|
|
1178
1179
|
* @param {boolean} [oFocusInfo.preventScroll=false] @since 1.60 If set to <code>true</code>, the focused
|
|
@@ -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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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.0
|
|
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;
|
|
@@ -142,7 +142,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile"],
|
|
|
142
142
|
oRm.close("div");
|
|
143
143
|
}
|
|
144
144
|
if (oContent.isA("sap.m.Text") && bIsActionMode && (oControl.getFrameType() === FrameType.TwoByOne || oControl.getFrameType() === FrameType.Auto)) {
|
|
145
|
-
oContent.
|
|
145
|
+
oContent.setMaxLines(iMaxLines);
|
|
146
146
|
}
|
|
147
147
|
oRm.openStart("div", oControl.getId() + "-content");
|
|
148
148
|
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.0
|
|
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.0
|
|
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());
|
|
@@ -16,7 +16,8 @@ sap.ui.define([
|
|
|
16
16
|
"sap/ui/core/InvisibleText",
|
|
17
17
|
"sap/ui/events/KeyCodes",
|
|
18
18
|
"./TimePickerInputsRenderer",
|
|
19
|
-
"sap/ui/thirdparty/jquery"
|
|
19
|
+
"sap/ui/thirdparty/jquery",
|
|
20
|
+
'sap/ui/core/date/UI5Date'
|
|
20
21
|
],
|
|
21
22
|
function(
|
|
22
23
|
library,
|
|
@@ -30,7 +31,8 @@ sap.ui.define([
|
|
|
30
31
|
InvisibleText,
|
|
31
32
|
KeyCodes,
|
|
32
33
|
TimePickerInputsRenderer,
|
|
33
|
-
jQuery
|
|
34
|
+
jQuery,
|
|
35
|
+
UI5Date
|
|
34
36
|
) {
|
|
35
37
|
"use strict";
|
|
36
38
|
|
|
@@ -49,7 +51,7 @@ sap.ui.define([
|
|
|
49
51
|
* @extends sap.ui.core.Control
|
|
50
52
|
*
|
|
51
53
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
54
|
+
* @version 1.114.0
|
|
53
55
|
*
|
|
54
56
|
* @constructor
|
|
55
57
|
* @public
|
|
@@ -332,7 +334,7 @@ sap.ui.define([
|
|
|
332
334
|
/**
|
|
333
335
|
* Gets the time values from the clocks, as a date object.
|
|
334
336
|
*
|
|
335
|
-
* @returns {Date} A
|
|
337
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} A date instance
|
|
336
338
|
* @public
|
|
337
339
|
*/
|
|
338
340
|
TimePickerInputs.prototype.getTimeValues = function() {
|
|
@@ -342,7 +344,7 @@ sap.ui.define([
|
|
|
342
344
|
oFormatButton = this._getFormatButton(),
|
|
343
345
|
iHours = null,
|
|
344
346
|
sAmpm = null,
|
|
345
|
-
oDateValue =
|
|
347
|
+
oDateValue = UI5Date.getInstance();
|
|
346
348
|
|
|
347
349
|
if (oHoursInput) {
|
|
348
350
|
iHours = parseInt(oHoursInput.getValue());
|
|
@@ -404,7 +406,7 @@ sap.ui.define([
|
|
|
404
406
|
/**
|
|
405
407
|
* Set what inputs show.
|
|
406
408
|
*
|
|
407
|
-
* @param {object} oDate
|
|
409
|
+
* @param {object} oDate date instance
|
|
408
410
|
* @param {boolean} bHoursValueIs24 whether the hours value is 24 or not
|
|
409
411
|
* @private
|
|
410
412
|
*/
|
|
@@ -417,12 +419,12 @@ sap.ui.define([
|
|
|
417
419
|
iHours,
|
|
418
420
|
sAmPm = null;
|
|
419
421
|
|
|
420
|
-
oDate = oDate ||
|
|
422
|
+
oDate = oDate || UI5Date.getInstance();
|
|
421
423
|
|
|
422
424
|
// Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
|
|
423
425
|
// because Date object in the test is different than the Date object in the application (due to the iframe).
|
|
424
426
|
if (Object.prototype.toString.call(oDate) !== "[object Date]" || isNaN(oDate)) {
|
|
425
|
-
throw new Error("Date must be a JavaScript date object; " + this);
|
|
427
|
+
throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
|
|
426
428
|
}
|
|
427
429
|
|
|
428
430
|
if (!bHoursValueIs24) {
|
|
@@ -39,12 +39,12 @@ sap.ui.define([], function() {
|
|
|
39
39
|
oRm.attr("aria-roledescription", oControl._getAriaRoleDescription());
|
|
40
40
|
oRm.openEnd();
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
if (iIndex
|
|
45
|
-
sSeparator = aSeparators
|
|
46
|
-
if (
|
|
47
|
-
sSeparator = "
|
|
42
|
+
// render buttons and separators
|
|
43
|
+
for (iIndex = 0; iIndex < aSeparators.length; iIndex++) {
|
|
44
|
+
if (iIndex > 0 || aSeparators[iIndex] !== "") {
|
|
45
|
+
sSeparator = aSeparators[iIndex];
|
|
46
|
+
if (sSeparator === undefined) {
|
|
47
|
+
sSeparator = "";
|
|
48
48
|
}
|
|
49
49
|
oRm.openStart("span");
|
|
50
50
|
oRm.attr("aria-hidden", "true");
|
|
@@ -52,6 +52,7 @@ sap.ui.define([], function() {
|
|
|
52
52
|
oRm.text(sSeparator);
|
|
53
53
|
oRm.close("span");
|
|
54
54
|
}
|
|
55
|
+
aControls[iIndex] && oRm.renderControl(aControls[iIndex]);
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
oRm.renderControl(oControl._getCurrentTimeButton());
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.114.0
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @private
|
|
@@ -439,11 +439,22 @@ sap.ui.define([
|
|
|
439
439
|
TimePickerInternals.prototype._getTimeSeparators = function (sDisplayFormat) {
|
|
440
440
|
var aFormatParts = DateFormat.getInstance({ pattern: sDisplayFormat }).aFormatArray,
|
|
441
441
|
aSeparators = [],
|
|
442
|
+
bAmPmMarker,
|
|
442
443
|
bPreviousWasEntity,
|
|
443
444
|
iIndex;
|
|
444
445
|
|
|
446
|
+
if (!aFormatParts.length) {
|
|
447
|
+
return aSeparators;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (aFormatParts[0].type !== 'text') {
|
|
451
|
+
aSeparators.push("");
|
|
452
|
+
}
|
|
453
|
+
|
|
445
454
|
for (iIndex = 0; iIndex < aFormatParts.length; iIndex++) {
|
|
446
|
-
if (aFormatParts[iIndex].type
|
|
455
|
+
if (aFormatParts[iIndex].type === 'amPmMarker') {
|
|
456
|
+
bAmPmMarker = true;
|
|
457
|
+
} else if (aFormatParts[iIndex].type !== "text") {
|
|
447
458
|
if (bPreviousWasEntity) {
|
|
448
459
|
// there was previous non-separator entity, and this one is the same too, so add empty separator
|
|
449
460
|
aSeparators.push("");
|
|
@@ -458,6 +469,8 @@ sap.ui.define([
|
|
|
458
469
|
}
|
|
459
470
|
}
|
|
460
471
|
|
|
472
|
+
bAmPmMarker && aSeparators.push("");
|
|
473
|
+
|
|
461
474
|
return aSeparators;
|
|
462
475
|
};
|
|
463
476
|
|
|
@@ -44,7 +44,11 @@ sap.ui.define(['sap/ui/core/Renderer', './DateTimeFieldRenderer', 'sap/ui/core/l
|
|
|
44
44
|
* @param {sap.m.TimePicker} oControl An object representation of the control that should be rendered
|
|
45
45
|
*/
|
|
46
46
|
TimePickerRenderer.writeInnerValue = function(oRm, oControl) {
|
|
47
|
-
|
|
47
|
+
if (oControl._inPreferredUserInteraction()) {
|
|
48
|
+
oRm.attr("value", oControl._$input.val());
|
|
49
|
+
} else {
|
|
50
|
+
oRm.attr("value", oControl._formatValue(oControl.getDateValue()));
|
|
51
|
+
}
|
|
48
52
|
};
|
|
49
53
|
|
|
50
54
|
/**
|
|
@@ -17,7 +17,8 @@ sap.ui.define([
|
|
|
17
17
|
'sap/ui/Device',
|
|
18
18
|
'sap/ui/core/Locale',
|
|
19
19
|
"sap/ui/thirdparty/jquery",
|
|
20
|
-
"sap/ui/core/Configuration"
|
|
20
|
+
"sap/ui/core/Configuration",
|
|
21
|
+
'sap/ui/core/date/UI5Date'
|
|
21
22
|
],
|
|
22
23
|
function(
|
|
23
24
|
coreLibrary,
|
|
@@ -32,7 +33,8 @@ sap.ui.define([
|
|
|
32
33
|
Device,
|
|
33
34
|
Locale,
|
|
34
35
|
jQuery,
|
|
35
|
-
Configuration
|
|
36
|
+
Configuration,
|
|
37
|
+
UI5Date
|
|
36
38
|
) {
|
|
37
39
|
"use strict";
|
|
38
40
|
|
|
@@ -50,7 +52,7 @@ sap.ui.define([
|
|
|
50
52
|
* @extends sap.ui.core.Control
|
|
51
53
|
*
|
|
52
54
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
55
|
+
* @version 1.114.0
|
|
54
56
|
*
|
|
55
57
|
* @constructor
|
|
56
58
|
* @public
|
|
@@ -356,7 +358,7 @@ sap.ui.define([
|
|
|
356
358
|
oFormatSlider = this._getFormatSlider(),
|
|
357
359
|
iHours = null,
|
|
358
360
|
sAmpm = null,
|
|
359
|
-
oDateValue =
|
|
361
|
+
oDateValue = UI5Date.getInstance();
|
|
360
362
|
|
|
361
363
|
if (oHoursSlider) {
|
|
362
364
|
iHours = parseInt(oHoursSlider.getSelectedValue());
|
|
@@ -442,7 +444,7 @@ sap.ui.define([
|
|
|
442
444
|
iHours,
|
|
443
445
|
sAmPm = null;
|
|
444
446
|
|
|
445
|
-
oDate = oDate ||
|
|
447
|
+
oDate = oDate || UI5Date.getInstance();
|
|
446
448
|
|
|
447
449
|
// Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
|
|
448
450
|
// because Date object in the test is different than the Date object in the application (due to the iframe).
|
package/src/sap/m/Title.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define(["sap/ui/core/Configuration"],
|
|
|
51
51
|
* style class support on existing elements by calling this function.
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.114.0
|
|
55
55
|
*
|
|
56
56
|
* @param {string} sAggregationName the name of the aggregation which should be affected
|
|
57
57
|
* @param {object} fnGetTitleID function that would return the ID of the title
|