@openui5/sap.m 1.103.0 → 1.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +2 -3
- package/.reuse/dep5 +18 -1
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +36 -3
- 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/App.js +2 -3
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +2 -2
- package/src/sap/m/BadgeEnabler.js +1 -2
- package/src/sap/m/Bar.js +11 -10
- package/src/sap/m/Breadcrumbs.js +2 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +49 -10
- package/src/sap/m/ButtonRenderer.js +10 -2
- package/src/sap/m/Carousel.js +3 -4
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +46 -6
- package/src/sap/m/CheckBoxRenderer.js +1 -0
- 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 +5 -7
- package/src/sap/m/ColumnListItem.js +1 -4
- package/src/sap/m/ColumnListItemRenderer.js +1 -2
- package/src/sap/m/ColumnPopoverActionItem.js +3 -3
- package/src/sap/m/ColumnPopoverCustomItem.js +3 -3
- package/src/sap/m/ColumnPopoverItem.js +3 -3
- package/src/sap/m/ColumnPopoverSelectListItem.js +3 -5
- package/src/sap/m/ColumnPopoverSortItem.js +3 -3
- package/src/sap/m/ComboBox.js +6 -5
- package/src/sap/m/ComboBoxBase.js +1 -5
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxTextField.js +1 -7
- package/src/sap/m/ComboBoxTextFieldRenderer.js +19 -4
- 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 +3 -3
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +14 -24
- package/src/sap/m/DateRangeSelection.js +45 -38
- package/src/sap/m/DateTimeField.js +87 -20
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +52 -28
- package/src/sap/m/Dialog.js +38 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +2 -5
- package/src/sap/m/DynamicDateOption.js +43 -16
- package/src/sap/m/DynamicDateRange.js +49 -7
- package/src/sap/m/DynamicDateRangeRenderer.js +5 -2
- package/src/sap/m/DynamicDateUtil.js +23 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -2
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +4 -4
- 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 +67 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +16 -4
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +37 -11
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +3 -3
- package/src/sap/m/HeaderContainerItemNavigator.js +3 -6
- package/src/sap/m/IconTabBar.js +54 -22
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +5 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +64 -25
- package/src/sap/m/IllustratedMessageRenderer.js +10 -6
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +1 -0
- package/src/sap/m/IllustrationRenderer.js +1 -1
- package/src/sap/m/Image.js +2 -2
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +51 -7
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputBaseRenderer.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +4 -0
- package/src/sap/m/Label.js +34 -4
- package/src/sap/m/LabelRenderer.js +7 -2
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +95 -10
- package/src/sap/m/LinkRenderer.js +26 -12
- package/src/sap/m/List.js +38 -1
- package/src/sap/m/ListBase.js +104 -40
- package/src/sap/m/ListBaseRenderer.js +7 -15
- package/src/sap/m/ListItemBase.js +40 -11
- package/src/sap/m/ListItemBaseRenderer.js +17 -6
- package/src/sap/m/ListRenderer.js +2 -2
- package/src/sap/m/MaskEnabler.js +52 -2
- package/src/sap/m/MaskInput.js +23 -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/MessageBox.js +1 -1
- package/src/sap/m/MessageItem.js +3 -4
- package/src/sap/m/MessageListItem.js +8 -4
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +4 -1
- 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 +1 -1
- package/src/sap/m/MultiComboBox.js +5 -16
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -15
- package/src/sap/m/NavContainer.js +21 -19
- package/src/sap/m/NewsContent.js +2 -3
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +3 -7
- package/src/sap/m/NotificationListGroupRenderer.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 +3 -3
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +7 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +2 -3
- package/src/sap/m/ObjectNumberRenderer.js +10 -3
- package/src/sap/m/ObjectStatus.js +2 -3
- package/src/sap/m/ObjectStatusRenderer.js +2 -2
- package/src/sap/m/OverflowToolbar.js +3 -8
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
- package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +2 -2
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +3 -3
- package/src/sap/m/P13nColumnsItem.js +3 -3
- package/src/sap/m/P13nColumnsPanel.js +3 -3
- package/src/sap/m/P13nConditionPanel.js +10 -3
- package/src/sap/m/P13nDialog.js +3 -3
- package/src/sap/m/P13nDimMeasureItem.js +3 -3
- package/src/sap/m/P13nDimMeasurePanel.js +3 -3
- package/src/sap/m/P13nFilterItem.js +3 -3
- package/src/sap/m/P13nFilterPanel.js +3 -3
- package/src/sap/m/P13nGroupItem.js +3 -3
- package/src/sap/m/P13nGroupPanel.js +3 -3
- package/src/sap/m/P13nItem.js +3 -3
- package/src/sap/m/P13nOperationsHelper.js +2 -2
- package/src/sap/m/P13nPanel.js +3 -3
- package/src/sap/m/P13nSelectionItem.js +3 -3
- package/src/sap/m/P13nSelectionPanel.js +3 -3
- package/src/sap/m/P13nSortItem.js +3 -3
- package/src/sap/m/P13nSortPanel.js +3 -3
- package/src/sap/m/PDFViewer.js +2 -2
- package/src/sap/m/PDFViewerRenderer.js +1 -0
- package/src/sap/m/Page.js +1 -3
- 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 +4 -16
- package/src/sap/m/PlanningCalendarHeader.js +1 -5
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +11 -4
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/ProgressIndicatorRenderer.js +6 -3
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +3 -3
- package/src/sap/m/QuickViewBase.js +3 -3
- package/src/sap/m/QuickViewCard.js +3 -3
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +3 -3
- package/src/sap/m/QuickViewPage.js +3 -3
- package/src/sap/m/RadioButton.js +47 -20
- package/src/sap/m/RadioButtonGroup.js +29 -19
- package/src/sap/m/RangeSlider.js +1 -3
- package/src/sap/m/RatingIndicator.js +8 -1
- package/src/sap/m/RatingIndicatorRenderer.js +13 -4
- package/src/sap/m/ResponsivePopover.js +3 -3
- 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 +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +7 -13
- package/src/sap/m/SelectDialog.js +2 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectionDetails.js +2 -2
- 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 +5 -7
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +0 -2
- 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 +30 -5
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SliderTooltipContainerRenderer.js +2 -2
- package/src/sap/m/SliderTooltipRenderer.js +2 -2
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -3
- package/src/sap/m/SplitContainer.js +1 -5
- package/src/sap/m/StandardDynamicDateOption.js +9 -15
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardListItemRenderer.js +2 -2
- 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 +4 -2
- 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 +11 -9
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +6 -15
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +2 -9
- 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/TextAreaRenderer.js +1 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +8 -9
- package/src/sap/m/TileContentRenderer.js +3 -3
- package/src/sap/m/TimePicker.js +43 -6
- package/src/sap/m/TimePickerClock.js +2 -3
- package/src/sap/m/TimePickerClocks.js +5 -3
- package/src/sap/m/TimePickerClocksRenderer.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +3 -5
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +2 -2
- package/src/sap/m/Token.js +1 -3
- 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 +8 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/TreeRenderer.js +0 -10
- package/src/sap/m/UploadCollection.js +2 -2
- 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/VariantItem.js +160 -0
- package/src/sap/m/VariantManagement.js +665 -570
- 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 -3
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +12 -13
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -3
- package/src/sap/m/changeHandler/CombineButtons.js +19 -22
- package/src/sap/m/changeHandler/MoveTableColumns.js +6 -6
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +7 -6
- package/src/sap/m/delegate/DateNavigation.js +0 -4
- package/src/sap/m/designtime/Link.designtime.js +19 -11
- package/src/sap/m/designtime/VariantManagement.designtime.js +36 -26
- package/src/sap/m/flexibility/EngineFlex.js +48 -0
- package/src/sap/m/inputUtils/selectionRange.js +1 -2
- package/src/sap/m/library.js +30 -6
- package/src/sap/m/messagebundle.properties +30 -3
- package/src/sap/m/messagebundle_ar.properties +26 -8
- package/src/sap/m/messagebundle_bg.properties +20 -2
- package/src/sap/m/messagebundle_ca.properties +19 -1
- package/src/sap/m/messagebundle_cs.properties +20 -2
- package/src/sap/m/messagebundle_cy.properties +21 -3
- package/src/sap/m/messagebundle_da.properties +19 -1
- package/src/sap/m/messagebundle_de.properties +19 -1
- package/src/sap/m/messagebundle_el.properties +22 -4
- package/src/sap/m/messagebundle_en.properties +21 -3
- package/src/sap/m/messagebundle_en_GB.properties +21 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +20 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +18 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +20 -2
- package/src/sap/m/messagebundle_es.properties +20 -2
- package/src/sap/m/messagebundle_es_MX.properties +19 -1
- package/src/sap/m/messagebundle_et.properties +19 -1
- package/src/sap/m/messagebundle_fi.properties +23 -5
- package/src/sap/m/messagebundle_fr.properties +20 -2
- package/src/sap/m/messagebundle_fr_CA.properties +21 -3
- package/src/sap/m/messagebundle_hi.properties +21 -3
- package/src/sap/m/messagebundle_hr.properties +23 -5
- package/src/sap/m/messagebundle_hu.properties +21 -3
- package/src/sap/m/messagebundle_id.properties +21 -3
- package/src/sap/m/messagebundle_it.properties +20 -2
- package/src/sap/m/messagebundle_iw.properties +21 -3
- package/src/sap/m/messagebundle_ja.properties +20 -2
- package/src/sap/m/messagebundle_kk.properties +19 -1
- package/src/sap/m/messagebundle_ko.properties +27 -9
- package/src/sap/m/messagebundle_lt.properties +19 -1
- package/src/sap/m/messagebundle_lv.properties +19 -1
- package/src/sap/m/messagebundle_ms.properties +20 -2
- package/src/sap/m/messagebundle_nl.properties +33 -15
- package/src/sap/m/messagebundle_no.properties +21 -3
- package/src/sap/m/messagebundle_pl.properties +20 -2
- package/src/sap/m/messagebundle_pt.properties +24 -6
- package/src/sap/m/messagebundle_pt_PT.properties +19 -1
- package/src/sap/m/messagebundle_ro.properties +20 -2
- package/src/sap/m/messagebundle_ru.properties +20 -2
- package/src/sap/m/messagebundle_sh.properties +20 -2
- package/src/sap/m/messagebundle_sk.properties +19 -1
- package/src/sap/m/messagebundle_sl.properties +20 -2
- package/src/sap/m/messagebundle_sv.properties +19 -1
- package/src/sap/m/messagebundle_th.properties +52 -34
- package/src/sap/m/messagebundle_tr.properties +23 -5
- package/src/sap/m/messagebundle_uk.properties +20 -2
- package/src/sap/m/messagebundle_vi.properties +20 -2
- package/src/sap/m/messagebundle_zh_CN.properties +20 -2
- package/src/sap/m/messagebundle_zh_TW.properties +19 -1
- package/src/sap/m/p13n/AbstractContainer.js +7 -7
- package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
- package/src/sap/m/p13n/BasePanel.js +8 -7
- package/src/sap/m/p13n/Container.js +3 -3
- package/src/sap/m/p13n/Engine.js +1254 -0
- package/src/sap/m/p13n/FlexUtil.js +161 -0
- package/src/sap/m/p13n/GroupController.js +145 -0
- package/src/sap/m/p13n/GroupPanel.js +12 -5
- package/src/sap/m/p13n/MetadataHelper.js +35 -0
- package/src/sap/m/p13n/PersistenceProvider.js +160 -0
- package/src/sap/m/p13n/Popup.js +49 -12
- package/src/sap/m/p13n/QueryPanel.js +3 -3
- package/src/sap/m/p13n/SelectionController.js +548 -0
- package/src/sap/m/p13n/SelectionPanel.js +15 -3
- package/src/sap/m/p13n/SortController.js +153 -0
- package/src/sap/m/p13n/SortPanel.js +13 -3
- package/src/sap/m/p13n/enum/PersistenceMode.js +43 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +166 -0
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +90 -0
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +75 -0
- package/src/sap/m/p13n/modification/ModificationHandler.js +143 -0
- package/src/sap/m/p13n/modules/AdaptationProvider.js +67 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +147 -0
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +101 -0
- package/src/sap/m/p13n/modules/UIManager.js +230 -0
- package/src/sap/m/p13n/modules/xConfigAPI.js +288 -0
- package/src/sap/m/plugins/CellSelector.js +741 -0
- package/src/sap/m/plugins/ColumnResizer.js +15 -1
- package/src/sap/m/plugins/DataStateIndicator.js +2 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +4 -3
- 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 +3 -4
- 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 -3
- 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 +14 -7
- 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 +8 -2
- 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 +21 -3
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -3
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -3
- package/src/sap/m/table/columnmenu/QuickTotal.js +21 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
- package/src/sap/m/themes/base/Breadcrumbs.less +6 -0
- package/src/sap/m/themes/base/Button.less +0 -1
- package/src/sap/m/themes/base/CellSelector.less +9 -0
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/Dialog.less +1 -0
- package/src/sap/m/themes/base/DynamicDateRange.less +4 -0
- package/src/sap/m/themes/base/FeedContent.less +13 -5
- package/src/sap/m/themes/base/GenericTile.less +49 -9
- package/src/sap/m/themes/base/IllustratedMessage.less +7 -0
- package/src/sap/m/themes/base/NewsContent.less +6 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -1
- package/src/sap/m/themes/base/ObjectStatus.less +2 -1
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +5 -1
- package/src/sap/m/themes/base/SelectList.less +0 -5
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +7 -0
- package/src/sap/m/themes/base/SlideTile.less +35 -4
- package/src/sap/m/themes/base/Table.less +11 -2
- package/src/sap/m/themes/base/TileContent.less +17 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +110 -21
- package/src/sap/m/upload/UploadSetItem.js +18 -7
- package/src/sap/m/upload/UploadSetRenderer.js +8 -16
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +1 -2
|
@@ -13,7 +13,8 @@ sap.ui.define([
|
|
|
13
13
|
'sap/ui/unified/Calendar',
|
|
14
14
|
'sap/ui/unified/DateRange',
|
|
15
15
|
'sap/ui/unified/calendar/MonthPicker',
|
|
16
|
-
'sap/ui/unified/calendar/CustomMonthPicker'
|
|
16
|
+
'sap/ui/unified/calendar/CustomMonthPicker',
|
|
17
|
+
'sap/ui/core/format/TimezoneUtil'],
|
|
17
18
|
function(
|
|
18
19
|
Element,
|
|
19
20
|
Label,
|
|
@@ -22,7 +23,8 @@ sap.ui.define([
|
|
|
22
23
|
Calendar,
|
|
23
24
|
DateRange,
|
|
24
25
|
MonthPicker,
|
|
25
|
-
CustomMonthPicker
|
|
26
|
+
CustomMonthPicker,
|
|
27
|
+
TimezoneUtil) {
|
|
26
28
|
"use strict";
|
|
27
29
|
|
|
28
30
|
/**
|
|
@@ -36,7 +38,7 @@ sap.ui.define([
|
|
|
36
38
|
* @extends sap.ui.core.Element
|
|
37
39
|
*
|
|
38
40
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
41
|
+
* @version 1.105.0
|
|
40
42
|
*
|
|
41
43
|
* @public
|
|
42
44
|
* @since 1.92
|
|
@@ -131,7 +133,12 @@ sap.ui.define([
|
|
|
131
133
|
);
|
|
132
134
|
}
|
|
133
135
|
|
|
134
|
-
|
|
136
|
+
var bUTC = false;
|
|
137
|
+
if (oControl && oValue) {
|
|
138
|
+
bUTC = oControl._checkFormatterUTCTimezone(oValue.operator);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
oInputControl = this._createControl(i, aParams[i].getType(), oValue, fnControlsUpdated, valueHelpUiTypesCount, bUTC);
|
|
135
142
|
|
|
136
143
|
aControls.push(oInputControl);
|
|
137
144
|
oControl.aControlsByParameters[this.getKey()].push(oInputControl);
|
|
@@ -318,7 +325,7 @@ sap.ui.define([
|
|
|
318
325
|
|
|
319
326
|
// PRIVATE
|
|
320
327
|
|
|
321
|
-
DynamicDateOption.prototype._createControl = function(iIndex, sUIType, oValue, fnControlsUpdated, valueHelpUiTypesCount) {
|
|
328
|
+
DynamicDateOption.prototype._createControl = function(iIndex, sUIType, oValue, fnControlsUpdated, valueHelpUiTypesCount, bUTC) {
|
|
322
329
|
var oInputControl;
|
|
323
330
|
|
|
324
331
|
switch (sUIType) {
|
|
@@ -326,18 +333,18 @@ sap.ui.define([
|
|
|
326
333
|
oInputControl = this._createIntegerControl(oValue, iIndex, fnControlsUpdated);
|
|
327
334
|
break;
|
|
328
335
|
case "date":
|
|
329
|
-
oInputControl = this._createDateControl(oValue, iIndex, fnControlsUpdated);
|
|
336
|
+
oInputControl = this._createDateControl(oValue, iIndex, fnControlsUpdated, bUTC);
|
|
330
337
|
break;
|
|
331
338
|
case "datetime":
|
|
332
339
|
if (valueHelpUiTypesCount === 1) {
|
|
333
340
|
// Returns DateTimePicker PopupContent control (single "datetime" option)
|
|
334
|
-
oInputControl = this._createDateTimeInnerControl(oValue, iIndex, fnControlsUpdated);
|
|
341
|
+
oInputControl = this._createDateTimeInnerControl(oValue, iIndex, fnControlsUpdated, bUTC);
|
|
335
342
|
} else if (valueHelpUiTypesCount === 2) {
|
|
336
|
-
oInputControl = this._createDateTimeControl(oValue, iIndex, fnControlsUpdated);
|
|
343
|
+
oInputControl = this._createDateTimeControl(oValue, iIndex, fnControlsUpdated, bUTC);
|
|
337
344
|
}
|
|
338
345
|
break;
|
|
339
346
|
case "daterange":
|
|
340
|
-
oInputControl = this._createDateRangeControl(oValue, iIndex, fnControlsUpdated);
|
|
347
|
+
oInputControl = this._createDateRangeControl(oValue, iIndex, fnControlsUpdated, bUTC);
|
|
341
348
|
break;
|
|
342
349
|
case "month":
|
|
343
350
|
oInputControl = this._createMonthControl(oValue, iIndex, fnControlsUpdated);
|
|
@@ -371,7 +378,7 @@ sap.ui.define([
|
|
|
371
378
|
};
|
|
372
379
|
|
|
373
380
|
DynamicDateOption.prototype._createDateTimeControl = function(oValue, iIndex, fnControlsUpdated) {
|
|
374
|
-
var oControl = new DateTimePicker();
|
|
381
|
+
var oControl = new DateTimePicker({timezone: TimezoneUtil.getLocalTimezone()});
|
|
375
382
|
|
|
376
383
|
if (oValue && this.getKey() === oValue.operator) {
|
|
377
384
|
oControl.setDateValue(oValue.values[iIndex]);
|
|
@@ -386,14 +393,21 @@ sap.ui.define([
|
|
|
386
393
|
return oControl;
|
|
387
394
|
};
|
|
388
395
|
|
|
389
|
-
DynamicDateOption.prototype._createDateControl = function(oValue, iIndex, fnControlsUpdated) {
|
|
396
|
+
DynamicDateOption.prototype._createDateControl = function(oValue, iIndex, fnControlsUpdated, bUTC) {
|
|
390
397
|
var oControl = new Calendar({
|
|
391
398
|
width: "100%"
|
|
392
399
|
});
|
|
400
|
+
var oInputControlValue;
|
|
393
401
|
|
|
394
402
|
if (oValue && this.getKey() === oValue.operator) {
|
|
403
|
+
oInputControlValue = new Date(oValue.values[iIndex].getTime());
|
|
404
|
+
|
|
405
|
+
if (bUTC) {
|
|
406
|
+
oInputControlValue.setMinutes(oInputControlValue.getMinutes() + new Date().getTimezoneOffset());
|
|
407
|
+
}
|
|
408
|
+
|
|
395
409
|
oControl.addSelectedDate(new DateRange({
|
|
396
|
-
startDate:
|
|
410
|
+
startDate: oInputControlValue
|
|
397
411
|
}));
|
|
398
412
|
}
|
|
399
413
|
|
|
@@ -409,7 +423,7 @@ sap.ui.define([
|
|
|
409
423
|
/**
|
|
410
424
|
* Returns DateTimePicker PopupContent control (single "datetime" option)
|
|
411
425
|
*/
|
|
412
|
-
DynamicDateOption.prototype._createDateTimeInnerControl = function(oValue, iIndex, fnControlsUpdated) {
|
|
426
|
+
DynamicDateOption.prototype._createDateTimeInnerControl = function(oValue, iIndex, fnControlsUpdated, bUTC) {
|
|
413
427
|
var oControl = new DateTimePicker({
|
|
414
428
|
width: "100%"
|
|
415
429
|
}),
|
|
@@ -424,6 +438,11 @@ sap.ui.define([
|
|
|
424
438
|
|
|
425
439
|
if (oValue && this.getKey() === oValue.operator) {
|
|
426
440
|
var oValueCopy = new Date(oValue.values[iIndex]); // a copy is used to prevent time setting on pressing Cancel button
|
|
441
|
+
|
|
442
|
+
if (bUTC) {
|
|
443
|
+
oValueCopy.setMinutes(oValueCopy.getMinutes() + new Date().getTimezoneOffset());
|
|
444
|
+
}
|
|
445
|
+
|
|
427
446
|
oPopupContent.getCalendar().addSelectedDate(new DateRange({
|
|
428
447
|
startDate: oValueCopy
|
|
429
448
|
}));
|
|
@@ -453,7 +472,7 @@ sap.ui.define([
|
|
|
453
472
|
return oPopupContent;
|
|
454
473
|
};
|
|
455
474
|
|
|
456
|
-
DynamicDateOption.prototype._createDateRangeControl = function(oValue, iIndex, fnControlsUpdated) {
|
|
475
|
+
DynamicDateOption.prototype._createDateRangeControl = function(oValue, iIndex, fnControlsUpdated, bUTC) {
|
|
457
476
|
var oControl = new Calendar({
|
|
458
477
|
intervalSelection: true,
|
|
459
478
|
width: "100%"
|
|
@@ -461,9 +480,17 @@ sap.ui.define([
|
|
|
461
480
|
if (oValue && this.getKey() === oValue.operator) {
|
|
462
481
|
// a date range UI type maps to 2 consecutive date parameters from the value
|
|
463
482
|
// they also should be the last 2 parameters
|
|
483
|
+
var oInputControlStartValue = new Date(oValue.values[iIndex].getTime());
|
|
484
|
+
var oInputControlEndValue = new Date(oValue.values[iIndex + 1].getTime());
|
|
485
|
+
|
|
486
|
+
if (bUTC) {
|
|
487
|
+
oInputControlStartValue.setMinutes(oInputControlStartValue.getMinutes() + new Date().getTimezoneOffset());
|
|
488
|
+
oInputControlEndValue.setMinutes(oInputControlEndValue.getMinutes() + new Date().getTimezoneOffset());
|
|
489
|
+
}
|
|
490
|
+
|
|
464
491
|
oControl.addSelectedDate(new DateRange({
|
|
465
|
-
startDate:
|
|
466
|
-
endDate:
|
|
492
|
+
startDate: oInputControlStartValue,
|
|
493
|
+
endDate: oInputControlEndValue
|
|
467
494
|
}));
|
|
468
495
|
}
|
|
469
496
|
|
|
@@ -121,7 +121,7 @@ sap.ui.define([
|
|
|
121
121
|
* is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
|
|
122
122
|
*
|
|
123
123
|
* @author SAP SE
|
|
124
|
-
* @version 1.
|
|
124
|
+
* @version 1.105.0
|
|
125
125
|
*
|
|
126
126
|
* @constructor
|
|
127
127
|
* @public
|
|
@@ -280,7 +280,23 @@ sap.ui.define([
|
|
|
280
280
|
"NEXTYEAR",
|
|
281
281
|
"DATETIME"
|
|
282
282
|
]
|
|
283
|
-
}
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Determines whether the input field of the control is hidden or visible.
|
|
287
|
+
* When set to <code>true</code>, the input field becomes invisible and there is no way to open the value help popover.
|
|
288
|
+
* In that case it can be opened by another control through calling of control's <code>openBy</code> method, and
|
|
289
|
+
* the opening control's DOM reference must be provided as parameter.
|
|
290
|
+
*
|
|
291
|
+
* Note: Since the Dynamic Date Range is not responsible for accessibility attributes of the control which opens its popover,
|
|
292
|
+
* those attributes should be added by the application developer. The following is recommended to be added to the
|
|
293
|
+
* opening control: a text or tooltip that describes the action (example: "Open Dynamic Date Range"), and also aria-haspopup
|
|
294
|
+
* attribute with value of <code>true</code>.
|
|
295
|
+
*
|
|
296
|
+
* @since 1.105
|
|
297
|
+
*/
|
|
298
|
+
hideInput: { type: "boolean", group: "Misc", defaultValue: false }
|
|
299
|
+
|
|
284
300
|
},
|
|
285
301
|
aggregations: {
|
|
286
302
|
_input: { type: "sap.m.Input", multiple: false, visibility: "hidden" },
|
|
@@ -413,11 +429,12 @@ sap.ui.define([
|
|
|
413
429
|
/**
|
|
414
430
|
* Opens the value help dialog.
|
|
415
431
|
*
|
|
432
|
+
* @param {HTMLElement} oDomRef DOM reference of the opening control. On tablet or desktop, the popover is positioned relatively to this control.
|
|
416
433
|
* @returns {void}
|
|
417
434
|
* @since 1.92
|
|
418
435
|
* @public
|
|
419
436
|
*/
|
|
420
|
-
DynamicDateRange.prototype.open = function() {
|
|
437
|
+
DynamicDateRange.prototype.open = function(oDomRef) {
|
|
421
438
|
if (this.getEditable() && this.getEnabled()) {
|
|
422
439
|
this._createPopup();
|
|
423
440
|
this._createPopupContent();
|
|
@@ -456,7 +473,7 @@ sap.ui.define([
|
|
|
456
473
|
//reset value help page
|
|
457
474
|
this._oNavContainer.to(this._oNavContainer.getPages()[0]);
|
|
458
475
|
|
|
459
|
-
this._openPopup();
|
|
476
|
+
this._openPopup(oDomRef);
|
|
460
477
|
}
|
|
461
478
|
};
|
|
462
479
|
|
|
@@ -1177,13 +1194,37 @@ sap.ui.define([
|
|
|
1177
1194
|
oControl.isA("sap.ui.unified.calendar.Month");
|
|
1178
1195
|
};
|
|
1179
1196
|
|
|
1180
|
-
|
|
1197
|
+
/**
|
|
1198
|
+
* Opens the value help popover. The popover is positioned relatively to the control given as <code>oDomRef</code> parameter on tablet or desktop
|
|
1199
|
+
* and is full screen on phone. Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
|
|
1200
|
+
*
|
|
1201
|
+
* Note: use this method to open the value help popover only when the <code>hideInput</code> property is set to <code>true</code>. Please consider
|
|
1202
|
+
* opening of the value help popover by another control only in scenarios that comply with Fiori guidelines. For example, opening the value help
|
|
1203
|
+
* popover by another popover is not recommended.
|
|
1204
|
+
* The application developer should implement the following accessibility attributes to the opening control: a text or tooltip that describes
|
|
1205
|
+
* the action (example: "Open Dynamic Date Range"), and aria-haspopup attribute with value of <code>true</code>.
|
|
1206
|
+
*
|
|
1207
|
+
* @since 1.105
|
|
1208
|
+
* @param {HTMLElement} oDomRef DOM reference of the opening control. On tablet or desktop, the popover is positioned relatively to this control.
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
DynamicDateRange.prototype.openBy = function(oDomRef) {
|
|
1212
|
+
this.open(oDomRef);
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Opens the value help popup.
|
|
1217
|
+
*
|
|
1218
|
+
* @param {HTMLElement} oDomRef DOM reference of the opening control. On tablet or desktop, the value help popover is positioned relative to this control.
|
|
1219
|
+
* @private
|
|
1220
|
+
*/
|
|
1221
|
+
DynamicDateRange.prototype._openPopup = function(oDomRef) {
|
|
1181
1222
|
if (!this._oPopup) {
|
|
1182
1223
|
return;
|
|
1183
1224
|
}
|
|
1184
1225
|
|
|
1185
1226
|
this._oPopup._getPopup().setExtraContent([this._oInput.getDomRef()]);
|
|
1186
|
-
this._oPopup.openBy(this._oInput);
|
|
1227
|
+
this._oPopup.openBy(oDomRef || this._oInput);
|
|
1187
1228
|
};
|
|
1188
1229
|
|
|
1189
1230
|
DynamicDateRange.prototype._applyValue = function() {
|
|
@@ -1428,8 +1469,9 @@ sap.ui.define([
|
|
|
1428
1469
|
};
|
|
1429
1470
|
|
|
1430
1471
|
DynamicDateRangeInput.prototype.onfocusin = function (oEvent) {
|
|
1472
|
+
var oPopup = this._getControlOrigin()._oPopup;
|
|
1431
1473
|
Input.prototype.onfocusin.apply(this, arguments);
|
|
1432
|
-
if (
|
|
1474
|
+
if (oPopup && oPopup.isOpen() && (Device.system.desktop || Device.system.combi)) {
|
|
1433
1475
|
this._getControlOrigin()._closePopup();
|
|
1434
1476
|
}
|
|
1435
1477
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define([
|
|
7
|
-
function(
|
|
6
|
+
sap.ui.define([],
|
|
7
|
+
function() {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -25,6 +25,9 @@ sap.ui.define(["sap/m/InputBaseRenderer", 'sap/ui/core/Renderer'],
|
|
|
25
25
|
|
|
26
26
|
oRm.openStart("div", oControl);
|
|
27
27
|
oRm.class("sapMDynamicDateRange");
|
|
28
|
+
if (oControl.getHideInput()) {
|
|
29
|
+
oRm.class("sapMDDRHiddenInput");
|
|
30
|
+
}
|
|
28
31
|
oRm.openEnd();
|
|
29
32
|
|
|
30
33
|
oRm.renderControl(oControl._oInput);
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./StandardDynamicDateOption",
|
|
10
10
|
"sap/base/Log",
|
|
11
|
-
"./library"
|
|
11
|
+
"./library",
|
|
12
|
+
'sap/ui/core/format/TimezoneUtil',
|
|
13
|
+
'sap/ui/core/Core'
|
|
12
14
|
], function(
|
|
13
|
-
StandardDynamicDateOption, Log, library) {
|
|
15
|
+
StandardDynamicDateOption, Log, library, TimezoneUtil, Core) {
|
|
14
16
|
"use strict";
|
|
15
17
|
|
|
16
18
|
var STANDARD_KEYS_ARRAY = [
|
|
@@ -242,6 +244,25 @@ sap.ui.define([
|
|
|
242
244
|
return DynamicDateUtil._options[sKey].toDates(oValue);
|
|
243
245
|
};
|
|
244
246
|
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Returns a date in machine timezone setting, removing the offset added by the application configuration.
|
|
250
|
+
*
|
|
251
|
+
* @param {Date} oDate A local JS date with added offset
|
|
252
|
+
* @returns {Date} A local JS date with removed offset
|
|
253
|
+
* @static
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
DynamicDateUtil.removeTimezoneOffset = function(oDate) {
|
|
257
|
+
var oNewDate = new Date(oDate);
|
|
258
|
+
var sTimezone = Core.getConfiguration().getTimezone();
|
|
259
|
+
var iOffsetInSeconds = TimezoneUtil.calculateOffset(oNewDate, sTimezone) - oNewDate.getTimezoneOffset() * 60;
|
|
260
|
+
|
|
261
|
+
oNewDate.setSeconds(oNewDate.getSeconds() - iOffsetInSeconds);
|
|
262
|
+
|
|
263
|
+
return oNewDate;
|
|
264
|
+
};
|
|
265
|
+
|
|
245
266
|
return DynamicDateUtil;
|
|
246
267
|
|
|
247
268
|
}, true);
|
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
*
|
|
171
171
|
* @extends sap.ui.core.Control
|
|
172
172
|
* @implements sap.ui.core.IShrinkable
|
|
173
|
-
* @version 1.
|
|
173
|
+
* @version 1.105.0
|
|
174
174
|
*
|
|
175
175
|
* @constructor
|
|
176
176
|
* @public
|
|
@@ -1205,7 +1205,7 @@ sap.ui.define([
|
|
|
1205
1205
|
/**
|
|
1206
1206
|
*
|
|
1207
1207
|
* @param {sap.m.Popover} oPopover the Popover to be opened
|
|
1208
|
-
* @param {sap.
|
|
1208
|
+
* @param {sap.ui.core.Control} oControl The control the popover will be opened "by"
|
|
1209
1209
|
* @returns {this} <code>this</code> to allow method chaining
|
|
1210
1210
|
* @private
|
|
1211
1211
|
*/
|
|
@@ -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.105.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* be closed.
|
|
53
53
|
*
|
|
54
54
|
* @extends sap.m.List
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.105.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -328,7 +328,7 @@ sap.ui.define([
|
|
|
328
328
|
* Returns the keys of the selected elements as an associative array.
|
|
329
329
|
* An empty object is returned if no items are selected.
|
|
330
330
|
*
|
|
331
|
-
* @returns {
|
|
331
|
+
* @returns {Object.<string, string?>} Object with the selected keys
|
|
332
332
|
|
|
333
333
|
* @public
|
|
334
334
|
* @since 1.20.3
|
|
@@ -345,10 +345,10 @@ sap.ui.define([
|
|
|
345
345
|
/**
|
|
346
346
|
* Used to pre-select FacetFilterItems, such as when restoring FacetFilterList selections from a variant.
|
|
347
347
|
* Keys are cached separately from the actual FacetFilterItems so that they remain even when the physical items are removed by filtering or sorting.
|
|
348
|
-
* If
|
|
348
|
+
* If oKeys is <code>undefined</code>, <code>null</code>, or {} (empty object) then all items will be deselected.
|
|
349
349
|
* After this method completes, only those items with matching keys will be selected. All other items in the list will be deselected.
|
|
350
350
|
*
|
|
351
|
-
* @param {
|
|
351
|
+
* @param {Object.<string, string?>} oKeys
|
|
352
352
|
* Associative array indicating which FacetFilterItems should be selected in the list. Each property must be set to the value of a FacetFilterItem.key property. Each property value should be set to the FacetFilterItem.text property value. The text value is used to display the FacetFilterItem text when the FacetFilterList button or FacetFilter summary bar is displayed. If no property value is set then the property key is used for the text.
|
|
353
353
|
* @type {void}
|
|
354
354
|
* @public
|
package/src/sap/m/FeedContent.js
CHANGED
package/src/sap/m/FeedInput.js
CHANGED
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
*
|
|
28
28
|
*
|
|
29
29
|
* @class text
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.105.0
|
|
31
31
|
* @private
|
|
32
32
|
* @since 1.38
|
|
33
33
|
* @alias HeaderAdapter
|
|
@@ -227,7 +227,7 @@ sap.ui.define([
|
|
|
227
227
|
* Constructor for an sap.m.Fiori20Adapter.
|
|
228
228
|
*
|
|
229
229
|
* @class text
|
|
230
|
-
* @version 1.
|
|
230
|
+
* @version 1.105.0
|
|
231
231
|
* @private
|
|
232
232
|
* @since 1.38
|
|
233
233
|
* @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.105.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -44,7 +44,7 @@ function(
|
|
|
44
44
|
* @class
|
|
45
45
|
* The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.105.0
|
|
48
48
|
*
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|