@openui5/sap.m 1.113.0 → 1.115.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/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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 +83 -13
- package/src/sap/m/AvatarRenderer.js +4 -2
- 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 +396 -218
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +14 -9
- 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 +61 -29
- package/src/sap/m/DateTimeField.js +7 -7
- 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 +4 -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 +4 -4
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +23 -25
- 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 +12 -7
- 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 +6 -2
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/ImageCustomData.js +45 -0
- package/src/sap/m/ImageHelper.js +110 -0
- package/src/sap/m/Input.js +1 -1
- 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 +2 -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 +10 -5
- package/src/sap/m/MultiComboBox.js +24 -5
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +12 -16
- 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 +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 +43 -18
- 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 +22 -12
- 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 +34 -9
- package/src/sap/m/SearchFieldRenderer.js +6 -1
- 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 +50 -35
- package/src/sap/m/TablePersoController.js +4 -2
- package/src/sap/m/TablePersoDialog.js +4 -2
- 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 +21 -2
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +18 -4
- package/src/sap/m/WizardStepRenderer.js +4 -2
- 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/designtime/Table.designtime.js +12 -7
- package/src/sap/m/flexibility/Table.flexibility.js +5 -4
- package/src/sap/m/imageUtils/getCacheBustedUrl.js +56 -0
- package/src/sap/m/library.js +49 -90
- package/src/sap/m/messagebundle.properties +17 -0
- package/src/sap/m/messagebundle_ar.properties +43 -32
- package/src/sap/m/messagebundle_bg.properties +23 -12
- package/src/sap/m/messagebundle_ca.properties +11 -0
- package/src/sap/m/messagebundle_cs.properties +12 -1
- package/src/sap/m/messagebundle_cy.properties +11 -0
- package/src/sap/m/messagebundle_da.properties +18 -7
- package/src/sap/m/messagebundle_de.properties +13 -2
- package/src/sap/m/messagebundle_el.properties +11 -0
- package/src/sap/m/messagebundle_en.properties +12 -1
- package/src/sap/m/messagebundle_en_GB.properties +12 -1
- package/src/sap/m/messagebundle_en_US_sappsd.properties +12 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +12 -1
- package/src/sap/m/messagebundle_en_US_saptrc.properties +12 -1
- package/src/sap/m/messagebundle_es.properties +11 -0
- package/src/sap/m/messagebundle_es_MX.properties +11 -0
- package/src/sap/m/messagebundle_et.properties +11 -0
- package/src/sap/m/messagebundle_fi.properties +18 -7
- package/src/sap/m/messagebundle_fr.properties +12 -1
- package/src/sap/m/messagebundle_fr_CA.properties +11 -0
- package/src/sap/m/messagebundle_hi.properties +11 -0
- package/src/sap/m/messagebundle_hr.properties +15 -4
- package/src/sap/m/messagebundle_hu.properties +12 -1
- package/src/sap/m/messagebundle_id.properties +11 -0
- package/src/sap/m/messagebundle_it.properties +40 -29
- package/src/sap/m/messagebundle_iw.properties +11 -0
- package/src/sap/m/messagebundle_ja.properties +18 -7
- package/src/sap/m/messagebundle_kk.properties +37 -26
- package/src/sap/m/messagebundle_ko.properties +12 -1
- package/src/sap/m/messagebundle_lt.properties +11 -0
- package/src/sap/m/messagebundle_lv.properties +11 -0
- package/src/sap/m/messagebundle_ms.properties +12 -1
- package/src/sap/m/messagebundle_nl.properties +16 -5
- package/src/sap/m/messagebundle_no.properties +11 -0
- package/src/sap/m/messagebundle_pl.properties +13 -2
- package/src/sap/m/messagebundle_pt.properties +13 -2
- package/src/sap/m/messagebundle_pt_PT.properties +11 -0
- package/src/sap/m/messagebundle_ro.properties +14 -3
- package/src/sap/m/messagebundle_ru.properties +11 -0
- package/src/sap/m/messagebundle_sh.properties +14 -3
- package/src/sap/m/messagebundle_sk.properties +16 -5
- package/src/sap/m/messagebundle_sl.properties +25 -14
- package/src/sap/m/messagebundle_sv.properties +11 -0
- package/src/sap/m/messagebundle_th.properties +11 -0
- package/src/sap/m/messagebundle_tr.properties +11 -0
- package/src/sap/m/messagebundle_uk.properties +19 -8
- package/src/sap/m/messagebundle_vi.properties +11 -0
- package/src/sap/m/messagebundle_zh_CN.properties +13 -2
- package/src/sap/m/messagebundle_zh_TW.properties +12 -1
- 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 +22 -5
- 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 +13 -3
- 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 +10 -2
- package/src/sap/m/plugins/CopyProvider.js +133 -6
- 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/rules/Input.support.js +37 -23
- 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/Carousel.less +24 -31
- 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 +2 -1
- package/src/sap/m/themes/base/InputBase.less +28 -17
- package/src/sap/m/themes/base/Label.less +38 -22
- package/src/sap/m/themes/base/Link.less +19 -16
- package/src/sap/m/themes/base/ListBase.less +1 -1
- package/src/sap/m/themes/base/MessageToast.less +7 -0
- package/src/sap/m/themes/base/MessageView.less +1 -1
- package/src/sap/m/themes/base/ObjectHeader.less +20 -0
- package/src/sap/m/themes/base/Popover.less +1 -2
- package/src/sap/m/themes/base/SearchField.less +5 -0
- package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
- package/src/sap/m/themes/base/TabContainer.less +1 -0
- package/src/sap/m/themes/base/Table.less +1 -21
- 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/themes/sap_hcb/Link.less +0 -10
- package/src/sap/m/upload/UploadSet.js +27 -20
- 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
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @extends sap.m.InputBase
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.115.0
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
valueFormat: {type: "string", group: "Data", defaultValue: null},
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Holds a reference to a JavaScript Date
|
|
91
|
+
* Holds a reference to a UI5Date or JavaScript Date object. The <code>value</code> (string)
|
|
92
92
|
* property will be set according to it. Alternatively, if the <code>value</code>
|
|
93
93
|
* and <code>valueFormat</code> pair properties are supplied instead,
|
|
94
94
|
* the <code>dateValue</code> will be instantiated according to the parsed
|
|
@@ -100,7 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
dateValue: {type: "object", group: "Data", defaultValue: null},
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
* Holds a reference to a JavaScript Date
|
|
103
|
+
* Holds a reference to a UI5Date or JavaScript Date object to define the initially focused
|
|
104
104
|
* date/time when the picker popup is opened.
|
|
105
105
|
*
|
|
106
106
|
* <b>Notes:</b>
|
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
* <li>Setting this property does not change the <code>value</code> property.</li>
|
|
109
109
|
* <li>Depending on the context this property is used in ({@link sap.m.TimePicker},
|
|
110
110
|
* {@link sap.m.DatePicker} or {@link sap.m.DateTimePicker}), it takes into account only the time part, only
|
|
111
|
-
* the date part or both parts of the JavaScript Date
|
|
111
|
+
* the date part or both parts of the UI5Date or JavaScript Date object.</li>
|
|
112
112
|
* </ul>
|
|
113
113
|
* @since 1.54
|
|
114
114
|
*/
|
|
@@ -228,16 +228,16 @@ sap.ui.define([
|
|
|
228
228
|
/**
|
|
229
229
|
* Setter for property <code>dateValue</code>.
|
|
230
230
|
*
|
|
231
|
-
* The date and time in DateTimeField as JavaScript Date object.
|
|
231
|
+
* The date and time in DateTimeField as UI5Date or JavaScript Date object.
|
|
232
232
|
*
|
|
233
|
-
* @param {Date} oDate A
|
|
233
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
|
|
234
234
|
* @returns {this} Reference to <code>this</code> for method chaining
|
|
235
235
|
* @public
|
|
236
236
|
*/
|
|
237
237
|
DateTimeField.prototype.setDateValue = function (oDate) {
|
|
238
238
|
|
|
239
239
|
if (!this._isValidDate(oDate)) {
|
|
240
|
-
throw new Error("Date must be a JavaScript date object; " + this);
|
|
240
|
+
throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
if (deepEqual(this.getDateValue(), oDate)) {
|
|
@@ -19,7 +19,8 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/core/library',
|
|
20
20
|
'sap/ui/Device',
|
|
21
21
|
"./DateTimeInputRenderer",
|
|
22
|
-
"sap/ui/core/Configuration"
|
|
22
|
+
"sap/ui/core/Configuration",
|
|
23
|
+
"sap/ui/core/date/UI5Date"
|
|
23
24
|
],
|
|
24
25
|
function(
|
|
25
26
|
jQuery,
|
|
@@ -35,7 +36,8 @@ function(
|
|
|
35
36
|
coreLibrary,
|
|
36
37
|
Device,
|
|
37
38
|
DateTimeInputRenderer,
|
|
38
|
-
Configuration
|
|
39
|
+
Configuration,
|
|
40
|
+
UI5Date
|
|
39
41
|
) {
|
|
40
42
|
"use strict";
|
|
41
43
|
|
|
@@ -64,7 +66,7 @@ function(
|
|
|
64
66
|
* @extends sap.ui.core.Control
|
|
65
67
|
*
|
|
66
68
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
69
|
+
* @version 1.115.0
|
|
68
70
|
*
|
|
69
71
|
* @constructor
|
|
70
72
|
* @public
|
|
@@ -361,7 +363,7 @@ function(
|
|
|
361
363
|
|
|
362
364
|
sValue = this.validateProperty("value", sValue);
|
|
363
365
|
if (sValue.toLowerCase() == "now") {
|
|
364
|
-
return this.setDateValue(
|
|
366
|
+
return this.setDateValue(UI5Date.getInstance());
|
|
365
367
|
}
|
|
366
368
|
|
|
367
369
|
if (sValue === this.getValue()) {
|
|
@@ -99,19 +99,50 @@ sap.ui.define([
|
|
|
99
99
|
*
|
|
100
100
|
* On app level, there are two options to provide a date for the
|
|
101
101
|
* <code>DateTimePicker</code> - as a string to the <code>value</code> property
|
|
102
|
-
* or as a JavaScript Date object to the <code>dateValue</code> property (only one
|
|
102
|
+
* or as a UI5Date or JavaScript Date object to the <code>dateValue</code> property (only one
|
|
103
103
|
* of these properties should be used at a time):
|
|
104
104
|
*
|
|
105
105
|
* <ul><li>Use the <code>value</code> property if you want to bind the
|
|
106
106
|
* <code>DateTimePicker</code> to a model using the
|
|
107
107
|
* <code>sap.ui.model.type.DateTime</code></li>
|
|
108
|
+
* @example <caption> binding the <code>value</code> property by using types </caption>
|
|
109
|
+
* new sap.ui.model.json.JSONModel({date: sap.ui.core.date.UI5Date.getInstance(2022,10,10,12,10,10)});
|
|
110
|
+
*
|
|
111
|
+
* new sap.m.DateTimePicker({
|
|
112
|
+
* value: {
|
|
113
|
+
* type: "sap.ui.model.type.DateTime",
|
|
114
|
+
* path: "/date"
|
|
115
|
+
* }
|
|
116
|
+
* });
|
|
117
|
+
*
|
|
108
118
|
* <li>Use the <code>value</code> property if the date is provided as a string from
|
|
109
119
|
* the backend or inside the app (for example, as ABAP type DATS field)</li>
|
|
120
|
+
* @example <caption> binding the <code>value</code> property by using types </caption>
|
|
121
|
+
* new sap.ui.model.json.JSONModel({date:"2022-11-10-12-10-10"});
|
|
122
|
+
*
|
|
123
|
+
* new sap.m.DateTimePicker({
|
|
124
|
+
* value: {
|
|
125
|
+
* type: "sap.ui.model.type.DateTime",
|
|
126
|
+
* path: "/date",
|
|
127
|
+
* formatOptions: {
|
|
128
|
+
* source: {
|
|
129
|
+
* pattern: "yyyy-MM-dd-HH-mm-ss"
|
|
130
|
+
* }
|
|
131
|
+
* }
|
|
132
|
+
* }
|
|
133
|
+
* });
|
|
134
|
+
*
|
|
135
|
+
* <b>Note:</b> There are multiple binding type choices, such as:
|
|
136
|
+
* sap.ui.model.type.Date
|
|
137
|
+
* sap.ui.model.odata.type.DateTime
|
|
138
|
+
* sap.ui.model.odata.type.DateTimeOffset
|
|
139
|
+
* sap.ui.model.odata.type.DateTimeWithTimezone
|
|
140
|
+
* See {@link sap.ui.model.type.Date}, {@link sap.ui.model.odata.type.DateTime}, {@link sap.ui.model.odata.type.DateTimeOffset} or {@link sap.ui.model.odata.type.DateTimeWithTimezone}
|
|
141
|
+
*
|
|
110
142
|
* <li>Use the <code>dateValue</code> property if the date is already provided as a
|
|
111
|
-
* JavaScript Date object or you want to work with a JavaScript Date object.
|
|
143
|
+
* UI5Date or JavaScript Date object or you want to work with a UI5Date or JavaScript Date object.
|
|
112
144
|
* Use <code>dateValue</code> as a helper property to easily obtain the day, month, year,
|
|
113
|
-
* hours, minutes and seconds of the chosen date and time. Although possible to bind it,
|
|
114
|
-
* the recommendation is not to do it.
|
|
145
|
+
* hours, minutes and seconds of the chosen date and time. Although it's possible to bind it, it's not recommended to do so.
|
|
115
146
|
* When binding is needed, use <code>value</code> property instead</li></ul>
|
|
116
147
|
*
|
|
117
148
|
* <h3>Formatting</h3>
|
|
@@ -145,7 +176,7 @@ sap.ui.define([
|
|
|
145
176
|
* mobile devices, it opens in full screen.
|
|
146
177
|
*
|
|
147
178
|
* @extends sap.m.DatePicker
|
|
148
|
-
* @version 1.
|
|
179
|
+
* @version 1.115.0
|
|
149
180
|
*
|
|
150
181
|
* @constructor
|
|
151
182
|
* @public
|
|
@@ -332,7 +363,7 @@ sap.ui.define([
|
|
|
332
363
|
});
|
|
333
364
|
oSwitcher.attachSelect(this._handleSelect, this);
|
|
334
365
|
|
|
335
|
-
this.setAggregation("_switcher", oSwitcher
|
|
366
|
+
this.setAggregation("_switcher", oSwitcher);
|
|
336
367
|
}
|
|
337
368
|
|
|
338
369
|
if (Device.system.phone || jQuery('html').hasClass("sapUiMedia-Std-Phone") || this.getForcePhoneView()) {
|
|
@@ -579,9 +610,9 @@ sap.ui.define([
|
|
|
579
610
|
};
|
|
580
611
|
|
|
581
612
|
/**
|
|
582
|
-
* Set minimum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a JavaScript
|
|
613
|
+
* Set minimum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a UI5Date or JavaScript Date object.
|
|
583
614
|
*
|
|
584
|
-
* @param {Date} oDate A
|
|
615
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
|
|
585
616
|
* @returns {this} Reference to <code>this</code> for method chaining
|
|
586
617
|
* @public
|
|
587
618
|
*/
|
|
@@ -595,9 +626,9 @@ sap.ui.define([
|
|
|
595
626
|
};
|
|
596
627
|
|
|
597
628
|
/**
|
|
598
|
-
* Set maximum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a JavaScript
|
|
629
|
+
* Set maximum date that can be shown and selected in the <code>DateTimePicker</code>. This must be a UI5Date or JavaScript Date object.
|
|
599
630
|
*
|
|
600
|
-
* @param {Date} oDate A
|
|
631
|
+
* @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
|
|
601
632
|
* @returns {this} Reference to <code>this</code> for method chaining
|
|
602
633
|
* @public
|
|
603
634
|
*/
|
|
@@ -1100,7 +1131,7 @@ sap.ui.define([
|
|
|
1100
1131
|
* @name sap.m.DateTimePicker#getDateValue
|
|
1101
1132
|
* @function
|
|
1102
1133
|
* @public
|
|
1103
|
-
* @returns {Date}
|
|
1134
|
+
* @returns {Date|module:sap/ui/core/date/UI5Date} date instance
|
|
1104
1135
|
* @since 1.102
|
|
1105
1136
|
*/
|
|
1106
1137
|
|
package/src/sap/m/Dialog.js
CHANGED
|
@@ -167,7 +167,7 @@ function(
|
|
|
167
167
|
*
|
|
168
168
|
* @implements sap.ui.core.PopupInterface
|
|
169
169
|
* @author SAP SE
|
|
170
|
-
* @version 1.
|
|
170
|
+
* @version 1.115.0
|
|
171
171
|
*
|
|
172
172
|
* @constructor
|
|
173
173
|
* @public
|
|
@@ -640,7 +640,7 @@ function(
|
|
|
640
640
|
|
|
641
641
|
// title alignment
|
|
642
642
|
if (oHeader && oHeader.setTitleAlignment) {
|
|
643
|
-
oHeader.
|
|
643
|
+
oHeader.setTitleAlignment(this.getTitleAlignment());
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
if (oHeader && this._getTitles(oHeader).length === 0) {
|
package/src/sap/m/DynamicDate.js
CHANGED
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.ui.model.SimpleType
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.115.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -54,7 +54,6 @@ sap.ui.define([
|
|
|
54
54
|
* @param {int} [oConstraints.maximum] Greatest resulting date allowed for this type. Must be provided as a timestamps.
|
|
55
55
|
* @since 1.92
|
|
56
56
|
* @alias sap.m.DynamicDate
|
|
57
|
-
* @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
58
57
|
*/
|
|
59
58
|
var DynamicDate = SimpleType.extend("sap.m.DynamicDate", /** @lends sap.m.DynamicDate.prototype */ {
|
|
60
59
|
|
|
@@ -163,15 +162,15 @@ sap.ui.define([
|
|
|
163
162
|
case "minimum":
|
|
164
163
|
if (iTimestamp < iConstraintValue) {
|
|
165
164
|
aViolatedConstraints.push("minimum");
|
|
166
|
-
aMessages.push(oMBundle.getText(sErrorGenericTextKey, [
|
|
167
|
-
aMessages.push(oBundle.getText("Date.Minimum", [
|
|
165
|
+
aMessages.push(oMBundle.getText(sErrorGenericTextKey, [UI5Date.getInstance(iTimestamp).toDateString()]));
|
|
166
|
+
aMessages.push(oBundle.getText("Date.Minimum", [UI5Date.getInstance(iConstraintValue).toDateString()]));
|
|
168
167
|
}
|
|
169
168
|
break;
|
|
170
169
|
case "maximum":
|
|
171
170
|
if (iTimestamp > iConstraintValue) {
|
|
172
171
|
aViolatedConstraints.push("maximum");
|
|
173
|
-
aMessages.push(oMBundle.getText(sErrorGenericTextKey, [
|
|
174
|
-
aMessages.push(oBundle.getText("Date.Maximum", [
|
|
172
|
+
aMessages.push(oMBundle.getText(sErrorGenericTextKey, [UI5Date.getInstance(iTimestamp).toDateString()]));
|
|
173
|
+
aMessages.push(oBundle.getText("Date.Maximum", [UI5Date.getInstance(iConstraintValue).toDateString()]));
|
|
175
174
|
}
|
|
176
175
|
break;
|
|
177
176
|
}
|
|
@@ -29,7 +29,6 @@ sap.ui.define([
|
|
|
29
29
|
* @public
|
|
30
30
|
* @hideconstructor
|
|
31
31
|
* @alias sap.m.DynamicDateFormat
|
|
32
|
-
* @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
33
32
|
*/
|
|
34
33
|
var DynamicDateFormat = function() {
|
|
35
34
|
// Do not use the constructor
|
|
@@ -227,17 +226,21 @@ sap.ui.define([
|
|
|
227
226
|
}
|
|
228
227
|
|
|
229
228
|
var aFormattedParams = aParams.map(function(param) {
|
|
230
|
-
|
|
229
|
+
var oParamValue = param;
|
|
230
|
+
if (param.getJSDate) {
|
|
231
|
+
oParamValue = param.getJSDate();
|
|
232
|
+
}
|
|
233
|
+
if (oParamValue instanceof Date) {
|
|
231
234
|
if (sKey === "DATETIMERANGE" || sKey === "FROMDATETIME" || sKey === "TODATETIME" || sKey === "DATETIME") {
|
|
232
|
-
return this._dateTimeFormatter.format(
|
|
235
|
+
return this._dateTimeFormatter.format(oParamValue);
|
|
233
236
|
}
|
|
234
|
-
return this._dateFormatter.format(
|
|
237
|
+
return this._dateFormatter.format(oParamValue);
|
|
235
238
|
}
|
|
236
239
|
|
|
237
|
-
if (typeof (
|
|
238
|
-
return this._numberFormatter.format(
|
|
240
|
+
if (typeof (oParamValue) === "number") {
|
|
241
|
+
return this._numberFormatter.format(oParamValue);
|
|
239
242
|
} else {
|
|
240
|
-
return
|
|
243
|
+
return oParamValue.toString();
|
|
241
244
|
}
|
|
242
245
|
}, this);
|
|
243
246
|
|
|
@@ -40,12 +40,11 @@ sap.ui.define([
|
|
|
40
40
|
* @extends sap.ui.core.Element
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.115.0
|
|
44
44
|
*
|
|
45
45
|
* @public
|
|
46
46
|
* @since 1.92
|
|
47
47
|
* @alias sap.m.DynamicDateOption
|
|
48
|
-
* @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
49
48
|
*/
|
|
50
49
|
var DynamicDateOption = Element.extend("sap.m.DynamicDateOption", /** @lends sap.m.DynamicDateOption.prototype */ {
|
|
51
50
|
metadata: {
|
|
@@ -80,10 +79,10 @@ sap.ui.define([
|
|
|
80
79
|
};
|
|
81
80
|
|
|
82
81
|
/**
|
|
83
|
-
* Defines the UI types of the option. They are used to create predefined
|
|
84
|
-
*
|
|
82
|
+
* Defines the UI types of the option. They are used to create predefined UI for
|
|
83
|
+
* the DynamicDateRange's value help dialog corresponding to this option.
|
|
85
84
|
* The types are DynamicDateValueHelpUIType instances. Their possible values are "date",
|
|
86
|
-
* "daterange", "month", "int". The created UI consists of Calendar or Input controls.
|
|
85
|
+
* "datetime", "daterange", "month", "int". The created UI consists of Calendar or Input controls.
|
|
87
86
|
*
|
|
88
87
|
* @param {sap.m.DynamicDateRange} oControl The control instance
|
|
89
88
|
* @returns {sap.m.DynamicDateValueHelpUIType[]} An array with the option's UI types
|
|
@@ -95,7 +94,8 @@ sap.ui.define([
|
|
|
95
94
|
|
|
96
95
|
/**
|
|
97
96
|
* Creates the option's value help UI. Mainly used for custom scenarios where
|
|
98
|
-
* getValueHelpUITypes is not enough to define the UI.
|
|
97
|
+
* getValueHelpUITypes is not enough to define the UI. In custom options, you can
|
|
98
|
+
* create different controls that are used by the user to input data via interaction.
|
|
99
99
|
*
|
|
100
100
|
* @param {sap.m.DynamicDateRange} oControl The control instance
|
|
101
101
|
* @param {function(sap.ui.base.Event)} fnControlsUpdated A callback invoked when any of the created controls updates its value
|
|
@@ -252,6 +252,12 @@ sap.ui.define([
|
|
|
252
252
|
* Provides the order index of the option's group.
|
|
253
253
|
* Used for grouping within the options list inside a DynamicDateRange's popup.
|
|
254
254
|
* Standard options are arranged in 6 groups - from 1 to 6.
|
|
255
|
+
* 1 - Single Dates
|
|
256
|
+
* 2 - Date Ranges
|
|
257
|
+
* 3 - Weeks
|
|
258
|
+
* 4 - Months
|
|
259
|
+
* 5 - Quarters
|
|
260
|
+
* 6 - Years
|
|
255
261
|
*
|
|
256
262
|
* @returns {int} A group index
|
|
257
263
|
* @public
|