@openui5/sap.m 1.110.0 → 1.111.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/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 +2 -1
- package/src/sap/m/ActionSheet.js +2 -2
- 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 +20 -19
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +7 -11
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +4 -2
- package/src/sap/m/CheckBoxRenderer.js +2 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +12 -3
- 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 +2 -2
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +3 -3
- package/src/sap/m/ComboBoxBase.js +4 -8
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.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 +23 -51
- package/src/sap/m/DateRangeSelection.js +46 -45
- package/src/sap/m/DateTimeField.js +14 -21
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +108 -98
- package/src/sap/m/DateTimePickerRenderer.js +15 -5
- package/src/sap/m/Dialog.js +6 -2
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +5 -5
- package/src/sap/m/DynamicDateFormat.js +21 -4
- package/src/sap/m/DynamicDateOption.js +22 -16
- package/src/sap/m/DynamicDateRange.js +198 -43
- package/src/sap/m/DynamicDateUtil.js +14 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +16 -21
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- 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 +8 -8
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +14 -1
- package/src/sap/m/IconTabHeaderRenderer.js +25 -3
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +61 -25
- package/src/sap/m/IllustratedMessageRenderer.js +13 -5
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +7 -7
- package/src/sap/m/InputBase.js +5 -5
- package/src/sap/m/InputBaseRenderer.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 +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -5
- package/src/sap/m/ListItemBase.js +2 -7
- 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 +4 -4
- package/src/sap/m/MenuButton.js +20 -2
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +53 -35
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +22 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +3 -4
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +6 -18
- package/src/sap/m/MultiComboBox.js +46 -33
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +28 -3
- package/src/sap/m/NavContainer.js +66 -2
- 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 +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +36 -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/PDFViewerRenderer.js +13 -5
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +2 -3
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +2 -3
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -4
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- 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 +19 -9
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +2 -2
- 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 +1 -1
- package/src/sap/m/SegmentedButton.js +2 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +44 -2
- package/src/sap/m/SelectDialog.js +3 -1
- package/src/sap/m/SelectDialogBase.js +18 -8
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +3 -3
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +2 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +28 -29
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +22 -8
- package/src/sap/m/Slider.js +2 -2
- 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 +51 -18
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- 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 +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +2 -2
- 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 +2 -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 +1 -1
- package/src/sap/m/TimePicker.js +10 -33
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +7 -5
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +5 -3
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- 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 +4 -2
- 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 +1 -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 +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +4 -0
- 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/designtime/TimePicker.designtime.js +5 -0
- package/src/sap/m/inputUtils/ListHelpers.js +3 -1
- package/src/sap/m/inputUtils/typeAhead.js +10 -0
- package/src/sap/m/library.js +66 -3
- package/src/sap/m/messagebundle.properties +33 -7
- package/src/sap/m/messagebundle_ar.properties +20 -2
- package/src/sap/m/messagebundle_bg.properties +23 -5
- package/src/sap/m/messagebundle_ca.properties +20 -2
- package/src/sap/m/messagebundle_cs.properties +18 -0
- package/src/sap/m/messagebundle_cy.properties +18 -0
- package/src/sap/m/messagebundle_da.properties +18 -0
- package/src/sap/m/messagebundle_de.properties +23 -5
- package/src/sap/m/messagebundle_el.properties +22 -4
- package/src/sap/m/messagebundle_en.properties +20 -2
- package/src/sap/m/messagebundle_en_GB.properties +18 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -1
- package/src/sap/m/messagebundle_en_US_saptrc.properties +19 -1
- package/src/sap/m/messagebundle_es.properties +20 -2
- package/src/sap/m/messagebundle_es_MX.properties +20 -2
- package/src/sap/m/messagebundle_et.properties +18 -0
- package/src/sap/m/messagebundle_fi.properties +18 -0
- package/src/sap/m/messagebundle_fr.properties +46 -28
- package/src/sap/m/messagebundle_fr_CA.properties +18 -0
- package/src/sap/m/messagebundle_hi.properties +27 -9
- package/src/sap/m/messagebundle_hr.properties +18 -0
- package/src/sap/m/messagebundle_hu.properties +18 -0
- package/src/sap/m/messagebundle_id.properties +20 -2
- package/src/sap/m/messagebundle_it.properties +24 -6
- package/src/sap/m/messagebundle_iw.properties +18 -0
- package/src/sap/m/messagebundle_ja.properties +18 -0
- package/src/sap/m/messagebundle_kk.properties +18 -0
- package/src/sap/m/messagebundle_ko.properties +19 -1
- package/src/sap/m/messagebundle_lt.properties +18 -0
- package/src/sap/m/messagebundle_lv.properties +20 -2
- package/src/sap/m/messagebundle_ms.properties +18 -0
- package/src/sap/m/messagebundle_nl.properties +18 -0
- package/src/sap/m/messagebundle_no.properties +21 -3
- package/src/sap/m/messagebundle_pl.properties +18 -0
- package/src/sap/m/messagebundle_pt.properties +20 -2
- package/src/sap/m/messagebundle_pt_PT.properties +18 -0
- package/src/sap/m/messagebundle_ro.properties +18 -0
- package/src/sap/m/messagebundle_ru.properties +18 -0
- package/src/sap/m/messagebundle_sh.properties +18 -0
- package/src/sap/m/messagebundle_sk.properties +18 -0
- package/src/sap/m/messagebundle_sl.properties +18 -0
- package/src/sap/m/messagebundle_sv.properties +18 -0
- package/src/sap/m/messagebundle_th.properties +22 -4
- package/src/sap/m/messagebundle_tr.properties +18 -0
- package/src/sap/m/messagebundle_uk.properties +18 -0
- package/src/sap/m/messagebundle_vi.properties +18 -0
- package/src/sap/m/messagebundle_zh_CN.properties +18 -0
- package/src/sap/m/messagebundle_zh_TW.properties +18 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +3 -2
- package/src/sap/m/p13n/BasePanel.js +28 -26
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +19 -13
- 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 +11 -8
- package/src/sap/m/p13n/Popup.js +8 -6
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +22 -7
- 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/enum/PersistenceMode.js +3 -0
- package/src/sap/m/p13n/enum/ProcessingStrategy.js +2 -1
- package/src/sap/m/p13n/handler/xConfigHandler.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 +1 -1
- 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 +1 -1
- package/src/sap/m/plugins/CopyProvider.js +6 -6
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/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 +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +8 -3
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +2 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +72 -77
- package/src/sap/m/table/columnmenu/MenuRenderer.js +1 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- 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 +3 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +2 -2
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +94 -5
- package/src/sap/m/themes/base/InputBase.less +7 -1
- package/src/sap/m/themes/base/Label.less +1 -0
- package/src/sap/m/themes/base/MultiComboBox.less +6 -4
- package/src/sap/m/themes/base/ObjectStatus.less +26 -0
- package/src/sap/m/themes/base/SlideTile.less +4 -4
- package/src/sap/m/themes/base/SuggestionsPopover.less +14 -6
- package/src/sap/m/themes/base/Table.less +0 -10
- package/src/sap/m/themes/base/Text.less +1 -0
- package/src/sap/m/themes/base/Tokenizer.less +23 -0
- package/src/sap/m/themes/sap_hcb/ObjectStatus.less +26 -0
- package/src/sap/m/themes/sap_horizon/Label.less +10 -0
- package/src/sap/m/themes/sap_horizon/Text.less +10 -0
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
'sap/ui/thirdparty/jquery',
|
|
41
41
|
'sap/ui/core/Configuration',
|
|
42
42
|
'sap/ui/unified/calendar/CalendarUtils',
|
|
43
|
-
|
|
43
|
+
"sap/ui/core/CustomData"
|
|
44
44
|
], function(
|
|
45
45
|
InvisibleText,
|
|
46
46
|
Element,
|
|
@@ -75,7 +75,8 @@ sap.ui.define([
|
|
|
75
75
|
library,
|
|
76
76
|
jQuery,
|
|
77
77
|
Configuration,
|
|
78
|
-
CalendarUtils
|
|
78
|
+
CalendarUtils,
|
|
79
|
+
CustomData
|
|
79
80
|
) {
|
|
80
81
|
"use strict";
|
|
81
82
|
|
|
@@ -125,7 +126,7 @@ sap.ui.define([
|
|
|
125
126
|
* is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
|
|
126
127
|
*
|
|
127
128
|
* @author SAP SE
|
|
128
|
-
* @version 1.
|
|
129
|
+
* @version 1.111.0
|
|
129
130
|
*
|
|
130
131
|
* @constructor
|
|
131
132
|
* @public
|
|
@@ -252,11 +253,15 @@ sap.ui.define([
|
|
|
252
253
|
"TODATETIME",
|
|
253
254
|
"YEARTODATE",
|
|
254
255
|
"DATETOYEAR",
|
|
256
|
+
"LASTMINUTES",
|
|
257
|
+
"LASTHOURS",
|
|
255
258
|
"LASTDAYS",
|
|
256
259
|
"LASTWEEKS",
|
|
257
260
|
"LASTMONTHS",
|
|
258
261
|
"LASTQUARTERS",
|
|
259
262
|
"LASTYEARS",
|
|
263
|
+
"NEXTMINUTES",
|
|
264
|
+
"NEXTHOURS",
|
|
260
265
|
"NEXTDAYS",
|
|
261
266
|
"NEXTWEEKS",
|
|
262
267
|
"NEXTMONTHS",
|
|
@@ -298,7 +303,15 @@ sap.ui.define([
|
|
|
298
303
|
*
|
|
299
304
|
* @since 1.105
|
|
300
305
|
*/
|
|
301
|
-
hideInput: { type: "boolean", group: "Misc", defaultValue: false }
|
|
306
|
+
hideInput: { type: "boolean", group: "Misc", defaultValue: false },
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* If set, the calendar week numbering is used for display.
|
|
310
|
+
* If not set, the calendar week numbering of the global configuration is used.
|
|
311
|
+
* @since 1.111.0
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
|
|
302
315
|
|
|
303
316
|
},
|
|
304
317
|
aggregations: {
|
|
@@ -340,6 +353,16 @@ sap.ui.define([
|
|
|
340
353
|
|
|
341
354
|
MessageMixin.call(DynamicDateRange.prototype);
|
|
342
355
|
|
|
356
|
+
var aDateTimeOperators = [
|
|
357
|
+
"LASTHOURS",
|
|
358
|
+
"LASTMINUTES",
|
|
359
|
+
"NEXTHOURS",
|
|
360
|
+
"NEXTMINUTES"
|
|
361
|
+
];
|
|
362
|
+
|
|
363
|
+
var aLastOptions = ["LASTMINUTES", "LASTHOURS", "LASTDAYS", "LASTWEEKS", "LASTMONTHS", "LASTQUARTERS", "LASTYEARS"];
|
|
364
|
+
var aNextOptions = ["NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS", "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS"];
|
|
365
|
+
|
|
343
366
|
DynamicDateRange.prototype.init = function() {
|
|
344
367
|
this._oInput = new DynamicDateRangeInput(this.getId() + "-input", {
|
|
345
368
|
showValueHelp: true,
|
|
@@ -404,14 +427,19 @@ sap.ui.define([
|
|
|
404
427
|
this._oInput.setValueState(this.getValueState());
|
|
405
428
|
this._oInput.setValueStateText(this.getValueStateText());
|
|
406
429
|
|
|
407
|
-
this.setValue(this.
|
|
430
|
+
this.setValue(this._substituteMissingValue(this.getValue()));
|
|
408
431
|
};
|
|
409
432
|
|
|
433
|
+
/**
|
|
434
|
+
* Setter for the <code>value</code> control property.
|
|
435
|
+
* @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
|
|
436
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
437
|
+
*/
|
|
410
438
|
DynamicDateRange.prototype.setValue = function(oValue) {
|
|
411
439
|
var sOptionKey = oValue && oValue.operator;
|
|
412
440
|
|
|
413
|
-
//
|
|
414
|
-
oValue = this.
|
|
441
|
+
// substitute the semantically equivalent values
|
|
442
|
+
oValue = this._substituteValue(oValue);
|
|
415
443
|
|
|
416
444
|
this.setProperty("value", oValue);
|
|
417
445
|
this._oSelectedOption = DynamicDateUtil.getOption(sOptionKey);
|
|
@@ -610,25 +638,85 @@ sap.ui.define([
|
|
|
610
638
|
});
|
|
611
639
|
};
|
|
612
640
|
|
|
613
|
-
DynamicDateRange.prototype.
|
|
614
|
-
var
|
|
615
|
-
|
|
641
|
+
DynamicDateRange.prototype._getValueHelpTypeForFormatter = function() {
|
|
642
|
+
var sOptionKey = this._oSelectedOption ? this._oSelectedOption.getKey() : '',
|
|
643
|
+
aLastOptionsSelectedIndex = aLastOptions.indexOf(sOptionKey),
|
|
644
|
+
aNextOptionsSelectedIndex = aNextOptions.indexOf(sOptionKey),
|
|
645
|
+
aPopupContent = this._oNavContainer ? this._oNavContainer.getPages()[1].getContent()[3] || [] : [],
|
|
646
|
+
aButtons = aPopupContent.getButtons ? aPopupContent.getButtons() : [],
|
|
647
|
+
aSuggestionItems = this.getAggregation('_input').getAggregation('suggestionItems'),
|
|
648
|
+
oValue = this.getValue(),
|
|
649
|
+
oCustomData,
|
|
650
|
+
aPopupContent,
|
|
651
|
+
aButtons,
|
|
652
|
+
aValueHelpTypes,
|
|
653
|
+
sType,
|
|
654
|
+
iButtonSelectedIndex,
|
|
655
|
+
sRealOptionKey,
|
|
656
|
+
sSuggestionOptionKey;
|
|
657
|
+
|
|
658
|
+
if (
|
|
659
|
+
!oValue &&
|
|
660
|
+
(!aButtons[0] || !aButtons[0].getDomRef()) &&
|
|
661
|
+
aSuggestionItems && aSuggestionItems.length &&
|
|
662
|
+
aSuggestionItems[aSuggestionItems.length - 1].getCustomData
|
|
663
|
+
) {
|
|
664
|
+
oCustomData = aSuggestionItems[aSuggestionItems.length - 1].getCustomData()[0];
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
if (oCustomData) {
|
|
668
|
+
sSuggestionOptionKey = oCustomData.getValue();
|
|
669
|
+
aLastOptionsSelectedIndex = aDateTimeOperators.indexOf(sSuggestionOptionKey);
|
|
670
|
+
aNextOptionsSelectedIndex = aDateTimeOperators.indexOf(sSuggestionOptionKey);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
if (oCustomData && sSuggestionOptionKey) {
|
|
674
|
+
if (aDateTimeOperators.indexOf(sSuggestionOptionKey) > -1) {
|
|
675
|
+
sType = 'datetime';
|
|
676
|
+
return sType;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
//if option requires extra formatting.
|
|
681
|
+
if (this._oNavContainer && aButtons.length && (aLastOptionsSelectedIndex > -1 || aNextOptionsSelectedIndex > -1)) {
|
|
682
|
+
iButtonSelectedIndex = aButtons[0].getParent().getSelectedIndex();
|
|
683
|
+
if (aLastOptionsSelectedIndex > -1) {
|
|
684
|
+
sRealOptionKey = aLastOptions[iButtonSelectedIndex];
|
|
685
|
+
} else if (aNextOptionsSelectedIndex > -1) {
|
|
686
|
+
sRealOptionKey = aNextOptions[iButtonSelectedIndex];
|
|
687
|
+
}
|
|
688
|
+
aValueHelpTypes = this._oSelectedOption ? this._oSelectedOption.getValueHelpUITypes() : [];
|
|
616
689
|
sType = aValueHelpTypes && aValueHelpTypes.length ? aValueHelpTypes[0].getType() : "";
|
|
617
690
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
case "datetime":
|
|
621
|
-
oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
|
|
622
|
-
oFormatOptions.singleIntervalValue = true;
|
|
623
|
-
oFormatOptions.interval = true;
|
|
624
|
-
this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
|
|
625
|
-
break;
|
|
626
|
-
default:
|
|
627
|
-
oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
|
|
628
|
-
oFormatOptions.singleIntervalValue = true;
|
|
629
|
-
oFormatOptions.interval = true;
|
|
630
|
-
this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
|
|
691
|
+
if (aDateTimeOperators.indexOf(sRealOptionKey) > -1) {
|
|
692
|
+
sType = 'datetime';
|
|
631
693
|
}
|
|
694
|
+
|
|
695
|
+
return sType;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
aValueHelpTypes = this._oSelectedOption ? this._oSelectedOption.getValueHelpUITypes() : [];
|
|
699
|
+
|
|
700
|
+
return aValueHelpTypes && aValueHelpTypes.length ? aValueHelpTypes[0].getType() : "";
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
DynamicDateRange.prototype._getDatesLabelFormatter = function() {
|
|
704
|
+
var oFormatOptions,
|
|
705
|
+
sType = this._getValueHelpTypeForFormatter();
|
|
706
|
+
|
|
707
|
+
switch (sType) {
|
|
708
|
+
case "datetime":
|
|
709
|
+
oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
|
|
710
|
+
oFormatOptions.singleIntervalValue = true;
|
|
711
|
+
oFormatOptions.interval = true;
|
|
712
|
+
this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
|
|
713
|
+
|
|
714
|
+
break;
|
|
715
|
+
default:
|
|
716
|
+
oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
|
|
717
|
+
oFormatOptions.singleIntervalValue = true;
|
|
718
|
+
oFormatOptions.interval = true;
|
|
719
|
+
this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
|
|
632
720
|
}
|
|
633
721
|
|
|
634
722
|
return this._oDatesLabelFormatter;
|
|
@@ -653,7 +741,7 @@ sap.ui.define([
|
|
|
653
741
|
*/
|
|
654
742
|
DynamicDateRange.prototype._addSuggestionItem = function(oSuggestValue) {
|
|
655
743
|
var bTimezone = this._checkFormatterUTCTimezone(oSuggestValue);
|
|
656
|
-
var aValueDates = DynamicDateUtil.toDates(oSuggestValue);
|
|
744
|
+
var aValueDates = DynamicDateUtil.toDates(oSuggestValue, this.getCalendarWeekNumbering());
|
|
657
745
|
var aResultingDates = [];
|
|
658
746
|
for (var i = 0; i < aValueDates.length; i++) {
|
|
659
747
|
aResultingDates[i] = this._convertDate(aValueDates[i], bTimezone);
|
|
@@ -661,10 +749,19 @@ sap.ui.define([
|
|
|
661
749
|
|
|
662
750
|
var oItem = new ListItem({
|
|
663
751
|
text: DynamicDateUtil.getOption(oSuggestValue.operator).format(oSuggestValue, this._getFormatter()),
|
|
664
|
-
additionalText:
|
|
752
|
+
additionalText: '',
|
|
753
|
+
customData: [
|
|
754
|
+
new CustomData({
|
|
755
|
+
key : "operator",
|
|
756
|
+
value: oSuggestValue.operator
|
|
757
|
+
})
|
|
758
|
+
]
|
|
665
759
|
});
|
|
666
760
|
|
|
667
761
|
this._oInput.addSuggestionItem(oItem);
|
|
762
|
+
|
|
763
|
+
// Called after addSuggestionItem because the suggested items are needed in _getDatesLabelFormatter.
|
|
764
|
+
oItem.setAdditionalText(this._getDatesLabelFormatter().format(aResultingDates));
|
|
668
765
|
};
|
|
669
766
|
|
|
670
767
|
/**
|
|
@@ -705,7 +802,7 @@ sap.ui.define([
|
|
|
705
802
|
|
|
706
803
|
/**
|
|
707
804
|
* Checks if the <code>value</code> property operator corresponds to a date range.
|
|
708
|
-
* @param {
|
|
805
|
+
* @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
|
|
709
806
|
* @returns {boolean} True in case of a date range
|
|
710
807
|
* @private
|
|
711
808
|
*/
|
|
@@ -715,7 +812,7 @@ sap.ui.define([
|
|
|
715
812
|
|
|
716
813
|
/**
|
|
717
814
|
* Swaps the start and end date of the value if the start date is after the end date.
|
|
718
|
-
* @param {
|
|
815
|
+
* @param {Array<Date>} aValues An array of JS Dates
|
|
719
816
|
* @private
|
|
720
817
|
*/
|
|
721
818
|
DynamicDateRange.prototype._swapDates = function(aValues) {
|
|
@@ -752,12 +849,11 @@ sap.ui.define([
|
|
|
752
849
|
|
|
753
850
|
DynamicDateRange.prototype._toDatesString = function(oValue) {
|
|
754
851
|
var bTimezone = this._checkFormatterUTCTimezone(oValue);
|
|
755
|
-
var aValueDates = DynamicDateUtil.toDates(oValue);
|
|
852
|
+
var aValueDates = DynamicDateUtil.toDates(oValue, this.getCalendarWeekNumbering());
|
|
756
853
|
var aDates = [];
|
|
757
854
|
for (var i = 0; i < aValueDates.length; i++) {
|
|
758
855
|
aDates[i] = this._convertDate(aValueDates[i], bTimezone);
|
|
759
856
|
}
|
|
760
|
-
|
|
761
857
|
return this._getDatesLabelFormatter().format(aDates);
|
|
762
858
|
};
|
|
763
859
|
|
|
@@ -791,7 +887,6 @@ sap.ui.define([
|
|
|
791
887
|
if (!this._calendarParser) {
|
|
792
888
|
this._calendarParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: false });
|
|
793
889
|
}
|
|
794
|
-
|
|
795
890
|
return this._calendarParser;
|
|
796
891
|
};
|
|
797
892
|
|
|
@@ -1009,9 +1104,10 @@ sap.ui.define([
|
|
|
1009
1104
|
var oOutputValue = this._oSelectedOption.getValueHelpOutput(this),
|
|
1010
1105
|
bTimezone = this._checkFormatterUTCTimezone(oOutputValue),
|
|
1011
1106
|
aResultDates = [],
|
|
1012
|
-
sFormattedDates
|
|
1107
|
+
sFormattedDates,
|
|
1108
|
+
sSelectedOptionKey;
|
|
1013
1109
|
|
|
1014
|
-
var aValueDates = DynamicDateUtil.toDates(oOutputValue);
|
|
1110
|
+
var aValueDates = DynamicDateUtil.toDates(oOutputValue, this.getCalendarWeekNumbering());
|
|
1015
1111
|
|
|
1016
1112
|
if (!oOutputValue || !oOutputValue.operator || !DynamicDateUtil.getOption(oOutputValue.operator)) {
|
|
1017
1113
|
return;
|
|
@@ -1026,8 +1122,13 @@ sap.ui.define([
|
|
|
1026
1122
|
}
|
|
1027
1123
|
|
|
1028
1124
|
if (aResultDates) {
|
|
1029
|
-
|
|
1030
|
-
|
|
1125
|
+
sSelectedOptionKey = this._oSelectedOption.getKey();
|
|
1126
|
+
if (
|
|
1127
|
+
sSelectedOptionKey === "FROMDATETIME" ||
|
|
1128
|
+
sSelectedOptionKey === "TODATETIME" ||
|
|
1129
|
+
sSelectedOptionKey === "FROM" ||
|
|
1130
|
+
sSelectedOptionKey === "TO"
|
|
1131
|
+
) {
|
|
1031
1132
|
aResultDates.push(null);
|
|
1032
1133
|
}
|
|
1033
1134
|
sFormattedDates = this._getDatesLabelFormatter().format(aResultDates, true);
|
|
@@ -1130,6 +1231,31 @@ sap.ui.define([
|
|
|
1130
1231
|
return this._oOptionsList;
|
|
1131
1232
|
};
|
|
1132
1233
|
|
|
1234
|
+
/**
|
|
1235
|
+
* Function which determines which DDR option should be focused. Also considers hidden options.
|
|
1236
|
+
* @param {object} oValue The DynamicDateRange value.
|
|
1237
|
+
*/
|
|
1238
|
+
DynamicDateRange.prototype._determineOptionFocus = function (oValue) {
|
|
1239
|
+
var aOptions = this._oOptionsList.getItems(),
|
|
1240
|
+
oOption = aOptions.filter(
|
|
1241
|
+
function (oItem) { return oItem.getOptionKey && oItem.getOptionKey() === oValue.operator; }
|
|
1242
|
+
)[0];
|
|
1243
|
+
|
|
1244
|
+
if (!oOption) {
|
|
1245
|
+
if (aLastOptions.indexOf(oValue.operator) > -1) {
|
|
1246
|
+
oOption = aOptions.filter(
|
|
1247
|
+
function (oItem) { return oItem.getOptionKey && oItem.getOptionKey() === aLastOptions[0];}
|
|
1248
|
+
)[0];
|
|
1249
|
+
} else if (aNextOptions.indexOf(oValue.operator) > -1) {
|
|
1250
|
+
oOption = aOptions.filter(
|
|
1251
|
+
function (oItem) { return oItem.getOptionKey && oItem.getOptionKey() === aNextOptions[0];}
|
|
1252
|
+
)[0];
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
return oOption;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1133
1259
|
/**
|
|
1134
1260
|
* Applies focus to the navigated page.
|
|
1135
1261
|
*
|
|
@@ -1142,18 +1268,24 @@ sap.ui.define([
|
|
|
1142
1268
|
oElementToFocus;
|
|
1143
1269
|
|
|
1144
1270
|
if (oToPage === oOptionsListPage && oValue) {
|
|
1145
|
-
oElementToFocus = this.
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1271
|
+
oElementToFocus = this._determineOptionFocus(oValue) || oElementToFocus;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
if (!oToPage.getDomRef()) {
|
|
1275
|
+
return;
|
|
1149
1276
|
}
|
|
1150
1277
|
|
|
1151
1278
|
if (!oElementToFocus) {
|
|
1152
1279
|
oElementToFocus = jQuery(oToPage.getDomRef().querySelector("section")).firstFocusableDomRef();
|
|
1153
1280
|
}
|
|
1154
1281
|
|
|
1155
|
-
oElementToFocus
|
|
1156
|
-
|
|
1282
|
+
if (oValue && oValue.operator !== "PARSEERROR" && oElementToFocus) {
|
|
1283
|
+
oElementToFocus.setSelected && oElementToFocus.setSelected(true);
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
if (oElementToFocus) {
|
|
1287
|
+
oElementToFocus.focus();
|
|
1288
|
+
}
|
|
1157
1289
|
|
|
1158
1290
|
this._reApplyFocusToElement(oToPage, oValue);
|
|
1159
1291
|
};
|
|
@@ -1263,7 +1395,7 @@ sap.ui.define([
|
|
|
1263
1395
|
DynamicDateRange.prototype._applyValue = function() {
|
|
1264
1396
|
this._oOutput = this._oSelectedOption.getValueHelpOutput(this);
|
|
1265
1397
|
var sTimezone = this._checkFormatterUTCTimezone(this._oOutput);
|
|
1266
|
-
var aValueDates = DynamicDateUtil.toDates(this._oOutput);
|
|
1398
|
+
var aValueDates = DynamicDateUtil.toDates(this._oOutput, this.getCalendarWeekNumbering());
|
|
1267
1399
|
for (var i = 0; i < aValueDates.length; i++) {
|
|
1268
1400
|
if (this._oOutput.values[i] instanceof Date) {
|
|
1269
1401
|
this._oOutput.values[i] = this._convertDate(aValueDates[i], sTimezone);
|
|
@@ -1338,7 +1470,7 @@ sap.ui.define([
|
|
|
1338
1470
|
* @private
|
|
1339
1471
|
* @returns {object} A substituted value if needed, or the same value if not
|
|
1340
1472
|
*/
|
|
1341
|
-
DynamicDateRange.prototype.
|
|
1473
|
+
DynamicDateRange.prototype._substituteValue = function(oValue) {
|
|
1342
1474
|
var sKey, aParams, oNewValue;
|
|
1343
1475
|
|
|
1344
1476
|
if (!oValue || !oValue.operator || !oValue.values) {
|
|
@@ -1390,7 +1522,7 @@ sap.ui.define([
|
|
|
1390
1522
|
* @private
|
|
1391
1523
|
* @returns {object} A substituted value if needed, or the same value if not
|
|
1392
1524
|
*/
|
|
1393
|
-
DynamicDateRange.prototype.
|
|
1525
|
+
DynamicDateRange.prototype._substituteMissingValue = function(oValue) {
|
|
1394
1526
|
var oNewValue = oValue;
|
|
1395
1527
|
|
|
1396
1528
|
if (oValue && oValue.operator === "YESTERDAY" && !this.getOptions().includes("YESTERDAY") && this.getOptions().includes("LASTDAYS")) {
|
|
@@ -1412,6 +1544,29 @@ sap.ui.define([
|
|
|
1412
1544
|
return this._getFormatter()._checkFormatterUTCTimezone(oValue.operator);
|
|
1413
1545
|
};
|
|
1414
1546
|
|
|
1547
|
+
/**
|
|
1548
|
+
* Returns a date range from a provided object in the format of the DynamicDateRange's value.
|
|
1549
|
+
* @example
|
|
1550
|
+
* var aDates = DynamicDateRange.toDates({operator: StandardDynamicDateRangeKeys.TODAY, values: []});
|
|
1551
|
+
* aDates[0].toString()
|
|
1552
|
+
* // output: "Fri Mar 31 2023 00:00:00 GMT+0200 (Eastern European Standard Time)" - assuming TODAY is Mar 31, 2023, 2:37:00 PM in the configured time zone
|
|
1553
|
+
*
|
|
1554
|
+
* @param {sap.m.DynamicDateRangeValue} oValue A <code>sap.m.DynamicDateRangeValue</code>
|
|
1555
|
+
* @param {string} sCalendarWeekNumbering The type of calendar week numbering
|
|
1556
|
+
* @returns {Date[]} An array of two date objects - start and end date
|
|
1557
|
+
* @static
|
|
1558
|
+
* @public
|
|
1559
|
+
*/
|
|
1560
|
+
DynamicDateRange.toDates = function(oValue, sCalendarWeekNumbering) {
|
|
1561
|
+
return DynamicDateUtil.toDates(oValue, sCalendarWeekNumbering).map(function (oDate) {
|
|
1562
|
+
if (oDate instanceof Date) {
|
|
1563
|
+
return oDate;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
return oDate.getJSDate();
|
|
1567
|
+
});
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1415
1570
|
var DynamicDateRangeInputRenderer = Renderer.extend(InputRenderer);
|
|
1416
1571
|
|
|
1417
1572
|
DynamicDateRangeInputRenderer.apiVersion = 2;
|
|
@@ -37,11 +37,15 @@ sap.ui.define([
|
|
|
37
37
|
"TO",
|
|
38
38
|
"YEARTODATE",
|
|
39
39
|
"DATETOYEAR",
|
|
40
|
+
"LASTMINUTES",
|
|
41
|
+
"LASTHOURS",
|
|
40
42
|
"LASTDAYS",
|
|
41
43
|
"LASTWEEKS",
|
|
42
44
|
"LASTMONTHS",
|
|
43
45
|
"LASTQUARTERS",
|
|
44
46
|
"LASTYEARS",
|
|
47
|
+
"NEXTMINUTES",
|
|
48
|
+
"NEXTHOURS",
|
|
45
49
|
"NEXTDAYS",
|
|
46
50
|
"NEXTWEEKS",
|
|
47
51
|
"NEXTMONTHS",
|
|
@@ -104,11 +108,15 @@ sap.ui.define([
|
|
|
104
108
|
"NEXTMONTH": new StandardDynamicDateOption({ key: "NEXTMONTH", valueTypes: [] }),
|
|
105
109
|
"NEXTQUARTER": new StandardDynamicDateOption({ key: "NEXTQUARTER", valueTypes: [] }),
|
|
106
110
|
"NEXTYEAR": new StandardDynamicDateOption({ key: "NEXTYEAR", valueTypes: [] }),
|
|
111
|
+
"LASTMINUTES": new StandardDynamicDateOption({ key: "LASTMINUTES", valueTypes: ["int"] }),
|
|
112
|
+
"LASTHOURS": new StandardDynamicDateOption({ key: "LASTHOURS", valueTypes: ["int"] }),
|
|
107
113
|
"LASTDAYS": new StandardDynamicDateOption({ key: "LASTDAYS", valueTypes: ["int"] }),
|
|
108
114
|
"LASTWEEKS": new StandardDynamicDateOption({ key: "LASTWEEKS", valueTypes: ["int"] }),
|
|
109
115
|
"LASTMONTHS": new StandardDynamicDateOption({ key: "LASTMONTHS", valueTypes: ["int"] }),
|
|
110
116
|
"LASTQUARTERS": new StandardDynamicDateOption({ key: "LASTQUARTERS", valueTypes: ["int"] }),
|
|
111
117
|
"LASTYEARS": new StandardDynamicDateOption({ key: "LASTYEARS", valueTypes: ["int"] }),
|
|
118
|
+
"NEXTMINUTES": new StandardDynamicDateOption({ key: "NEXTMINUTES", valueTypes: ["int"] }),
|
|
119
|
+
"NEXTHOURS": new StandardDynamicDateOption({ key: "NEXTHOURS", valueTypes: ["int"] }),
|
|
112
120
|
"NEXTDAYS": new StandardDynamicDateOption({ key: "NEXTDAYS", valueTypes: ["int"] }),
|
|
113
121
|
"NEXTWEEKS": new StandardDynamicDateOption({ key: "NEXTWEEKS", valueTypes: ["int"] }),
|
|
114
122
|
"NEXTMONTHS": new StandardDynamicDateOption({ key: "NEXTMONTHS", valueTypes: ["int"] }),
|
|
@@ -191,13 +199,13 @@ sap.ui.define([
|
|
|
191
199
|
};
|
|
192
200
|
|
|
193
201
|
/**
|
|
194
|
-
* Parses a string to an array of objects
|
|
202
|
+
* Parses a string to an array of objects of type <code>sap.m.DynamicDateRangeValue</code>.
|
|
195
203
|
* Uses the provided formatter.
|
|
196
204
|
*
|
|
197
205
|
* @param {string} sValue The string to be parsed
|
|
198
206
|
* @param {sap.m.DynamicDateFormat} oFormatter A dynamic date formatter
|
|
199
|
-
* @param {
|
|
200
|
-
* @returns {
|
|
207
|
+
* @param {string[]} aOptionKeys array of option names
|
|
208
|
+
* @returns {sap.m.DynamicDateRangeValue[]} An array of <code>sap.m.DynamicDateRangeValue</code> objects
|
|
201
209
|
* @static
|
|
202
210
|
* @public
|
|
203
211
|
*/
|
|
@@ -235,13 +243,14 @@ sap.ui.define([
|
|
|
235
243
|
* Calculates a date range from a provided object in the format of the DynamicDateRange's value.
|
|
236
244
|
*
|
|
237
245
|
* @param {string} oValue The provided value
|
|
246
|
+
* @param {string} sCalendarWeekNumbering The type of calendar week numbering
|
|
238
247
|
* @returns {sap.ui.core.date.UniversalDate[]} An array of two date objects - start and end date
|
|
239
248
|
* @static
|
|
240
249
|
* @public
|
|
241
250
|
*/
|
|
242
|
-
DynamicDateUtil.toDates = function(oValue) {
|
|
251
|
+
DynamicDateUtil.toDates = function(oValue, sCalendarWeekNumbering) {
|
|
243
252
|
var sKey = oValue.operator;
|
|
244
|
-
return DynamicDateUtil._options[sKey].toDates(oValue);
|
|
253
|
+
return DynamicDateUtil._options[sKey].toDates(oValue, sCalendarWeekNumbering);
|
|
245
254
|
};
|
|
246
255
|
|
|
247
256
|
|
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -172,7 +172,7 @@ sap.ui.define([
|
|
|
172
172
|
*
|
|
173
173
|
* @extends sap.ui.core.Control
|
|
174
174
|
* @implements sap.ui.core.IShrinkable
|
|
175
|
-
* @version 1.
|
|
175
|
+
* @version 1.111.0
|
|
176
176
|
*
|
|
177
177
|
* @constructor
|
|
178
178
|
* @public
|
|
@@ -1646,6 +1646,7 @@ sap.ui.define([
|
|
|
1646
1646
|
},
|
|
1647
1647
|
beginButton : new Button({
|
|
1648
1648
|
text : this._bundle.getText("FACETFILTER_ACCEPT"),
|
|
1649
|
+
type: ButtonType.Emphasized,
|
|
1649
1650
|
tooltip:this._bundle.getText("FACETFILTER_ACCEPT"),
|
|
1650
1651
|
press : function() {
|
|
1651
1652
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Represents a value for the {@link sap.m.FacetFilterList} control.
|
|
22
22
|
* @extends sap.m.ListItemBase
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.111.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
package/src/sap/m/FeedContent.js
CHANGED
package/src/sap/m/FeedInput.js
CHANGED
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* @class text
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.111.0
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.38
|
|
34
34
|
* @alias HeaderAdapter
|
|
@@ -228,7 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
* Constructor for an sap.m.Fiori20Adapter.
|
|
229
229
|
*
|
|
230
230
|
* @class text
|
|
231
|
-
* @version 1.
|
|
231
|
+
* @version 1.111.0
|
|
232
232
|
* @private
|
|
233
233
|
* @since 1.38
|
|
234
234
|
* @alias sap.m.Fiori20Adapter
|
package/src/sap/m/FlexBox.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
24
24
|
* @class
|
|
25
25
|
* Holds layout data for a FlexBox / HBox / VBox.
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.111.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -46,7 +46,7 @@ function(
|
|
|
46
46
|
* @class
|
|
47
47
|
* The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.111.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|