@openui5/sap.m 1.99.0 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +2 -2
- 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/ActionListItemRenderer.js +5 -7
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +2 -2
- 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/BadgeEnabler.js +3 -2
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +81 -8
- package/src/sap/m/BreadcrumbsRenderer.js +8 -7
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +2 -1
- package/src/sap/m/CheckBox.js +2 -4
- 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/ColumnListItemRenderer.js +9 -11
- 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 +2 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- 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/CustomListItemRenderer.js +4 -6
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +4 -3
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +4 -4
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +65 -22
- package/src/sap/m/DateTimePickerRenderer.js +19 -2
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +4 -6
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +8 -2
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +23 -6
- package/src/sap/m/DynamicDateUtil.js +1 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +6 -4
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +2 -2
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +10 -5
- 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 +5 -3
- package/src/sap/m/GenericTagRenderer.js +3 -3
- package/src/sap/m/GenericTile.js +6 -2
- package/src/sap/m/GenericTileRenderer.js +3 -10
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +39 -3
- 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/HyphenationSupport.js +0 -4
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarDragAndDropUtil.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +3 -5
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +7 -11
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- 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 -10
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputBaseRenderer.js +1 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +4 -6
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LabelRenderer.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 +1 -1
- package/src/sap/m/ListBaseRenderer.js +4 -6
- package/src/sap/m/ListItemBase.js +1 -1
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- 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 +2 -2
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +2 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +5 -5
- package/src/sap/m/NavContainer.js +17 -17
- 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 +29 -21
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +4 -5
- package/src/sap/m/ObjectAttributeRenderer.js +2 -2
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +3 -3
- 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/ObjectStatusRenderer.js +3 -4
- package/src/sap/m/OverflowToolbar.js +5 -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/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 +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 -2
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- 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 +1 -1
- 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 +5 -2
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +12 -1
- package/src/sap/m/RadioButtonRenderer.js +0 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/ResponsivePopover.js +3 -5
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +2 -2
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +13 -7
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +1 -1
- package/src/sap/m/Select.js +31 -3
- package/src/sap/m/SelectDialog.js +3 -3
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +3 -5
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +3 -3
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +5 -3
- 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 +2 -2
- package/src/sap/m/SlideTileRenderer.js +8 -1
- package/src/sap/m/Slider.js +1 -1
- 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 +4 -4
- package/src/sap/m/StandardDynamicDateOption.js +8 -8
- 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 +2 -2
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +2 -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 +2 -2
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +1 -1
- 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 +3 -3
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +3 -3
- package/src/sap/m/TileContainer.js +6 -4
- package/src/sap/m/TileContent.js +34 -2
- package/src/sap/m/TileContentRenderer.js +40 -3
- package/src/sap/m/TileRenderer.js +1 -1
- package/src/sap/m/TimePicker.js +2 -2
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +2 -2
- package/src/sap/m/TimePickerRenderer.js +2 -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/TitleRenderer.js +2 -2
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +5 -5
- package/src/sap/m/TokenizerRenderer.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 +5 -3
- 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 +5 -3
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionRenderer.js +1 -0
- 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/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +99 -41
- 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 +5 -5
- package/src/sap/m/delegate/DateNavigation.js +2 -2
- package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
- package/src/sap/m/inputUtils/typeAhead.js +7 -7
- package/src/sap/m/library.js +30 -17
- package/src/sap/m/messagebundle.properties +8 -5
- package/src/sap/m/messagebundle_ar.properties +14 -6
- package/src/sap/m/messagebundle_bg.properties +14 -6
- package/src/sap/m/messagebundle_ca.properties +14 -6
- package/src/sap/m/messagebundle_cs.properties +16 -8
- package/src/sap/m/messagebundle_cy.properties +14 -6
- package/src/sap/m/messagebundle_da.properties +14 -6
- package/src/sap/m/messagebundle_de.properties +15 -7
- package/src/sap/m/messagebundle_el.properties +17 -9
- package/src/sap/m/messagebundle_en.properties +13 -5
- package/src/sap/m/messagebundle_en_GB.properties +13 -5
- package/src/sap/m/messagebundle_en_US_sappsd.properties +14 -6
- package/src/sap/m/messagebundle_en_US_saprigi.properties +14 -6
- package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -6
- package/src/sap/m/messagebundle_es.properties +14 -6
- package/src/sap/m/messagebundle_es_MX.properties +14 -6
- package/src/sap/m/messagebundle_et.properties +14 -6
- package/src/sap/m/messagebundle_fi.properties +14 -6
- package/src/sap/m/messagebundle_fr.properties +16 -8
- package/src/sap/m/messagebundle_fr_CA.properties +13 -5
- package/src/sap/m/messagebundle_hi.properties +12 -4
- package/src/sap/m/messagebundle_hr.properties +14 -6
- package/src/sap/m/messagebundle_hu.properties +14 -6
- package/src/sap/m/messagebundle_id.properties +13 -5
- package/src/sap/m/messagebundle_it.properties +14 -6
- package/src/sap/m/messagebundle_iw.properties +14 -6
- package/src/sap/m/messagebundle_ja.properties +13 -5
- package/src/sap/m/messagebundle_kk.properties +14 -6
- package/src/sap/m/messagebundle_ko.properties +13 -5
- package/src/sap/m/messagebundle_lt.properties +14 -6
- package/src/sap/m/messagebundle_lv.properties +14 -6
- package/src/sap/m/messagebundle_ms.properties +13 -5
- package/src/sap/m/messagebundle_nl.properties +14 -6
- package/src/sap/m/messagebundle_no.properties +14 -6
- package/src/sap/m/messagebundle_pl.properties +14 -6
- package/src/sap/m/messagebundle_pt.properties +15 -7
- package/src/sap/m/messagebundle_pt_PT.properties +14 -6
- package/src/sap/m/messagebundle_ro.properties +14 -6
- package/src/sap/m/messagebundle_ru.properties +14 -6
- package/src/sap/m/messagebundle_sh.properties +14 -6
- package/src/sap/m/messagebundle_sk.properties +14 -6
- package/src/sap/m/messagebundle_sl.properties +14 -6
- package/src/sap/m/messagebundle_sv.properties +14 -6
- package/src/sap/m/messagebundle_th.properties +13 -5
- package/src/sap/m/messagebundle_tr.properties +14 -6
- package/src/sap/m/messagebundle_uk.properties +14 -6
- package/src/sap/m/messagebundle_vi.properties +13 -5
- package/src/sap/m/messagebundle_zh_CN.properties +14 -6
- package/src/sap/m/messagebundle_zh_TW.properties +13 -5
- 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 +26 -13
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +5 -3
- package/src/sap/m/p13n/SelectionPanel.js +15 -7
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +8 -8
- 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/rules/Breadcrumbs.support.js +1 -1
- package/src/sap/m/rules/Tokenizer.support.js +4 -2
- 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 +2 -2
- 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 +21 -18
- 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 +7 -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 +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 +2 -2
- package/src/sap/m/themes/base/DatePicker.less +7 -2
- package/src/sap/m/themes/base/GenericTile.less +27 -14
- package/src/sap/m/themes/base/Label.less +1 -1
- package/src/sap/m/themes/base/MenuButton.less +4 -4
- package/src/sap/m/themes/base/MessageToast.less +2 -2
- package/src/sap/m/themes/base/NumericContent.less +1 -5
- package/src/sap/m/themes/base/Page.less +1 -1
- package/src/sap/m/themes/base/RadioButton.less +1 -0
- package/src/sap/m/themes/base/SearchField.less +23 -59
- package/src/sap/m/themes/base/SplitButton.less +5 -0
- package/src/sap/m/themes/base/TileContent.less +41 -1
- package/src/sap/m/upload/UploadSet.js +236 -14
- package/src/sap/m/upload/UploadSetItem.js +64 -5
|
@@ -20,12 +20,10 @@ sap.ui.define(["./ListItemBaseRenderer", "sap/ui/core/Renderer"],
|
|
|
20
20
|
* Renders the HTML for the given control, using the provided
|
|
21
21
|
* {@link sap.ui.core.RenderManager}.
|
|
22
22
|
*
|
|
23
|
-
* @param {sap.ui.core.RenderManager}
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* oControl an object representation of the control that should be
|
|
28
|
-
* rendered
|
|
23
|
+
* @param {sap.ui.core.RenderManager} rm
|
|
24
|
+
* RenderManager that can be used to render the control's DOM
|
|
25
|
+
* @param {sap.m.CustomListItem} oLI
|
|
26
|
+
* The item to be rendered
|
|
29
27
|
*/
|
|
30
28
|
CustomListItemRenderer.renderLIAttributes = function(rm, oLI) {
|
|
31
29
|
rm.class("sapMCLI");
|
package/src/sap/m/CustomTile.js
CHANGED
|
@@ -21,7 +21,7 @@ sap.ui.define(['./Tile', './library', './CustomTileRenderer'],
|
|
|
21
21
|
* Use the CustomTile control to display application specific content in the Tile control.
|
|
22
22
|
* The tile width is 8.5em and height is 10em.
|
|
23
23
|
* @extends sap.m.Tile
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.100.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
|
@@ -34,7 +34,7 @@ sap.ui.define(['./TileRenderer', 'sap/ui/core/Renderer'],
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* WAI ARIA if in TileContainer context */
|
|
37
|
-
if (oControl.getParent()
|
|
37
|
+
if (oControl.getParent() && oControl.getParent().isA("sap.m.TileContainer")) {
|
|
38
38
|
// @ui5-non-local-rendering
|
|
39
39
|
oTileContainer = oControl.getParent();
|
|
40
40
|
aVisibleTiles = oTileContainer._getVisibleTiles();
|
|
@@ -18,8 +18,8 @@ sap.ui.define([
|
|
|
18
18
|
/**
|
|
19
19
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
20
20
|
*
|
|
21
|
-
* @param {sap.ui.core.RenderManager}
|
|
22
|
-
* @param {sap.m.CustomTreeItem}
|
|
21
|
+
* @param {sap.ui.core.RenderManager} rm RenderManager object
|
|
22
|
+
* @param {sap.m.CustomTreeItem} oLI The item to be rendered
|
|
23
23
|
*/
|
|
24
24
|
CustomTreeItemRenderer.renderLIAttributes = function(rm, oLI) {
|
|
25
25
|
rm.class("sapMCTI");
|
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -148,7 +148,7 @@ sap.ui.define([
|
|
|
148
148
|
* the close event), or select Cancel.
|
|
149
149
|
*
|
|
150
150
|
* @extends sap.m.DateTimeField
|
|
151
|
-
* @version 1.
|
|
151
|
+
* @version 1.100.0
|
|
152
152
|
*
|
|
153
153
|
* @constructor
|
|
154
154
|
* @public
|
|
@@ -1334,10 +1334,11 @@ sap.ui.define([
|
|
|
1334
1334
|
} else {
|
|
1335
1335
|
var oInitialFocusedDateValue = this.getInitialFocusedDateValue();
|
|
1336
1336
|
var oFocusDate = oInitialFocusedDateValue ? oInitialFocusedDateValue : new Date();
|
|
1337
|
-
var iMaxTimeMillis = this._oMaxDate.getTime();
|
|
1338
1337
|
|
|
1339
|
-
if (oFocusDate.getTime() < this._oMinDate.getTime()
|
|
1338
|
+
if (oFocusDate.getTime() < this._oMinDate.getTime()) {
|
|
1340
1339
|
oFocusDate = this._oMinDate;
|
|
1340
|
+
} else if (oFocusDate.getTime() > this._oMaxDate.getTime()) {
|
|
1341
|
+
oFocusDate = this._oMaxDate;
|
|
1341
1342
|
}
|
|
1342
1343
|
this._getCalendar().focusDate(oFocusDate);
|
|
1343
1344
|
|
|
@@ -126,8 +126,8 @@ sap.ui.define([
|
|
|
126
126
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
127
127
|
*
|
|
128
128
|
* @extends sap.m.DatePicker
|
|
129
|
-
* @version 1.
|
|
130
|
-
* @version 1.
|
|
129
|
+
* @version 1.100.0
|
|
130
|
+
* @version 1.100.0
|
|
131
131
|
*
|
|
132
132
|
* @constructor
|
|
133
133
|
* @public
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @extends sap.m.InputBase
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.100.0
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -308,7 +308,7 @@ sap.ui.define([
|
|
|
308
308
|
oDateLocal,
|
|
309
309
|
oDate;
|
|
310
310
|
|
|
311
|
-
if (
|
|
311
|
+
if (this._isSupportedBindingType(oBindingType)) {
|
|
312
312
|
try {
|
|
313
313
|
oDate = oBindingType.parseValue(sValue, "string");
|
|
314
314
|
|
|
@@ -352,7 +352,7 @@ sap.ui.define([
|
|
|
352
352
|
oFormatOptions,
|
|
353
353
|
oDateUTC;
|
|
354
354
|
|
|
355
|
-
if (
|
|
355
|
+
if (this._isSupportedBindingType(oBindingType)) {
|
|
356
356
|
if ((oBindingType.oFormatOptions && oBindingType.oFormatOptions.UTC) || (oBindingType.oConstraints && oBindingType.oConstraints.isDateOnly)) {
|
|
357
357
|
// convert to UTC date because it will be formatted as UTC date
|
|
358
358
|
oDateUTC = new Date(Date.UTC(oDate.getFullYear(), oDate.getMonth(), oDate.getDate(),
|
|
@@ -378,7 +378,7 @@ sap.ui.define([
|
|
|
378
378
|
};
|
|
379
379
|
|
|
380
380
|
DateTimeField.prototype._isSupportedBindingType = function (oBindingType) {
|
|
381
|
-
return oBindingType.isA([
|
|
381
|
+
return !!oBindingType && oBindingType.isA([
|
|
382
382
|
"sap.ui.model.type.Date",
|
|
383
383
|
"sap.ui.model.odata.type.DateTime",
|
|
384
384
|
"sap.ui.model.odata.type.DateTimeOffset"
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
// shortcut for sap.m.PlacementType and sap.m.ButtonType
|
|
58
58
|
var PlacementType = library.PlacementType,
|
|
59
59
|
ButtonType = library.ButtonType,
|
|
60
|
-
// From
|
|
60
|
+
// From Device.media.RANGESETS.SAP_STANDARD - "Phone": For screens smaller than 600 pixels.
|
|
61
61
|
STANDART_PHONE_RANGESET = "Phone",
|
|
62
62
|
CalendarType = coreLibrary.CalendarType;
|
|
63
63
|
|
|
@@ -145,7 +145,7 @@ sap.ui.define([
|
|
|
145
145
|
* mobile devices, it opens in full screen.
|
|
146
146
|
*
|
|
147
147
|
* @extends sap.m.DatePicker
|
|
148
|
-
* @version 1.
|
|
148
|
+
* @version 1.100.0
|
|
149
149
|
*
|
|
150
150
|
* @constructor
|
|
151
151
|
* @public
|
|
@@ -397,11 +397,40 @@ sap.ui.define([
|
|
|
397
397
|
this._bOnlyCalendar = false;
|
|
398
398
|
};
|
|
399
399
|
|
|
400
|
+
DateTimePicker.prototype.setValue = function(sValue) {
|
|
401
|
+
var sFallbackValue;
|
|
402
|
+
|
|
403
|
+
DatePicker.prototype.setValue.apply(this, arguments);
|
|
404
|
+
|
|
405
|
+
delete this._prefferedValue;
|
|
406
|
+
|
|
407
|
+
if (!this.getDateValue()) {
|
|
408
|
+
sFallbackValue = this._fallbackParse(sValue);
|
|
409
|
+
|
|
410
|
+
if (typeof sFallbackValue === "string") {
|
|
411
|
+
this._bValid = true;
|
|
412
|
+
this._prefferedValue = sFallbackValue;
|
|
413
|
+
|
|
414
|
+
// there is a re-render comming, but this updates the dom immediately to avoid flickering
|
|
415
|
+
if (this.getDomRef() && this._$input.val() !== sFallbackValue) {
|
|
416
|
+
this._$input.val(sFallbackValue);
|
|
417
|
+
this._curpos = this._$input.cursorPos();
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
return this;
|
|
423
|
+
};
|
|
424
|
+
|
|
400
425
|
DateTimePicker.prototype.setTimezone = function(sTimezone) {
|
|
401
426
|
var oCurrentDateValue,
|
|
402
427
|
sFormattedValue,
|
|
403
428
|
oNewDateValue;
|
|
404
429
|
|
|
430
|
+
if (this.getTimezone() === sTimezone) {
|
|
431
|
+
return this;
|
|
432
|
+
}
|
|
433
|
+
|
|
405
434
|
oCurrentDateValue = this.getDateValue() || this._parseValue(this.getValue(), false);
|
|
406
435
|
sFormattedValue = this._formatValue(oCurrentDateValue, false);
|
|
407
436
|
|
|
@@ -438,15 +467,15 @@ sap.ui.define([
|
|
|
438
467
|
DateTimePicker.prototype.onAfterRendering = function() {
|
|
439
468
|
if (this._getShowTimezone()) {
|
|
440
469
|
waitForThemeApplied().then(function() {
|
|
441
|
-
var oDummyContentDomRef =
|
|
470
|
+
var oDummyContentDomRef = this.$().find(".sapMDummyContent"),
|
|
442
471
|
iDummyWidth;
|
|
443
472
|
|
|
444
|
-
if (!oDummyContentDomRef) {
|
|
473
|
+
if (!oDummyContentDomRef || !oDummyContentDomRef.length) {
|
|
445
474
|
return;
|
|
446
475
|
}
|
|
447
476
|
|
|
448
|
-
iDummyWidth = oDummyContentDomRef.getBoundingClientRect().width;
|
|
449
|
-
|
|
477
|
+
iDummyWidth = oDummyContentDomRef[0].getBoundingClientRect().width;
|
|
478
|
+
this.$("inner").css("max-width", (iDummyWidth + 2) + "px");
|
|
450
479
|
}.bind(this));
|
|
451
480
|
}
|
|
452
481
|
};
|
|
@@ -597,11 +626,11 @@ sap.ui.define([
|
|
|
597
626
|
};
|
|
598
627
|
|
|
599
628
|
/**
|
|
600
|
-
* Gets the format options of the value or dateValue binding
|
|
601
|
-
* @returns {object} The binding format options or
|
|
629
|
+
* Gets the format options of the value or dateValue binding.
|
|
630
|
+
* @returns {object} The binding format options or undefined.
|
|
602
631
|
* @private
|
|
603
632
|
*/
|
|
604
|
-
DateTimePicker.prototype.
|
|
633
|
+
DateTimePicker.prototype._getBindingFormatOptions = function() {
|
|
605
634
|
var oBinding = this.getBinding("value") || this.getBinding("dateValue"),
|
|
606
635
|
oBindingType;
|
|
607
636
|
|
|
@@ -609,7 +638,7 @@ sap.ui.define([
|
|
|
609
638
|
oBindingType = oBinding.getType();
|
|
610
639
|
}
|
|
611
640
|
|
|
612
|
-
if (
|
|
641
|
+
if (this._isSupportedBindingType(oBindingType)) {
|
|
613
642
|
return jQuery.extend({}, oBindingType.getFormatOptions());
|
|
614
643
|
}
|
|
615
644
|
};
|
|
@@ -623,13 +652,13 @@ sap.ui.define([
|
|
|
623
652
|
* @private
|
|
624
653
|
*/
|
|
625
654
|
DateTimePicker.prototype._getTimezoneFormatOptions = function(bDisplayFormat) {
|
|
626
|
-
var oFormatOptions = this.
|
|
655
|
+
var oFormatOptions = this._getBindingFormatOptions() || {},
|
|
627
656
|
sFormat = bDisplayFormat ? this.getDisplayFormat() : this.getValueFormat(),
|
|
628
657
|
oBinding = this.getBinding("value") || this.getBinding("dateValue"),
|
|
629
658
|
oBindingType = oBinding && oBinding.getType && oBinding.getType();
|
|
630
659
|
|
|
631
|
-
if (bDisplayFormat || !this._getTimezone()
|
|
632
|
-
|
|
660
|
+
if (bDisplayFormat || !this._getTimezone() ||
|
|
661
|
+
(oBindingType && !oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"]))) {
|
|
633
662
|
oFormatOptions.showTimezone = DateFormatTimezoneDisplay.Hide;
|
|
634
663
|
}
|
|
635
664
|
|
|
@@ -647,7 +676,7 @@ sap.ui.define([
|
|
|
647
676
|
oFormatOptions.strictParsing = true;
|
|
648
677
|
}
|
|
649
678
|
|
|
650
|
-
if (sFormat &&
|
|
679
|
+
if (sFormat && !this._isSupportedBindingType(oBindingType)) {
|
|
651
680
|
oFormatOptions[this._checkStyle(sFormat) ? "style" : "pattern"] = sFormat;
|
|
652
681
|
}
|
|
653
682
|
|
|
@@ -739,14 +768,10 @@ sap.ui.define([
|
|
|
739
768
|
oBindingType = oBinding && oBinding.getType(),
|
|
740
769
|
aDateWithTimezone;
|
|
741
770
|
|
|
742
|
-
if (oBindingType) {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
return oBindingType.parseValue(sValue, "string", aCurrentBindingValues)[0];
|
|
747
|
-
} else if (!bDisplayFormat && this._isSupportedBindingType(oBindingType)) {
|
|
748
|
-
return DatePicker.prototype._parseValue.apply(this, arguments);
|
|
749
|
-
}
|
|
771
|
+
if (oBindingType && oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"])) {
|
|
772
|
+
var aCurrentBindingValues = oBinding.getCurrentValues().slice(0);
|
|
773
|
+
aCurrentBindingValues[1] = sTimezone || this._getTimezone(true);
|
|
774
|
+
return oBindingType.parseValue(sValue, "string", aCurrentBindingValues)[0];
|
|
750
775
|
}
|
|
751
776
|
|
|
752
777
|
aDateWithTimezone = this._getFormatter(bDisplayFormat)
|
|
@@ -767,6 +792,24 @@ sap.ui.define([
|
|
|
767
792
|
return this._getFormatter(!bValueFormat).format(oDate, sTimezone || this._getTimezone(true));
|
|
768
793
|
};
|
|
769
794
|
|
|
795
|
+
/**
|
|
796
|
+
* Tries to parse the value to see if it is a timezone only string.
|
|
797
|
+
* @param {string} sValue A value string
|
|
798
|
+
* @return {string|null} An empty string indicating success or null
|
|
799
|
+
* @private
|
|
800
|
+
*/
|
|
801
|
+
DateTimePicker.prototype._fallbackParse = function(sValue) {
|
|
802
|
+
return this._getFallbackParser().parse(sValue) ? "" : null;
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
DateTimePicker.prototype._getFallbackParser = function() {
|
|
806
|
+
if (!this._fallbackParser) {
|
|
807
|
+
this._fallbackParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: "Only" });
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
return this._fallbackParser;
|
|
811
|
+
};
|
|
812
|
+
|
|
770
813
|
DateTimePicker.prototype._getLocaleBasedPattern = function(sPlaceholder) {
|
|
771
814
|
var oLocaleData = LocaleData.getInstance(
|
|
772
815
|
Core.getConfiguration().getFormatSettings().getFormatLocale()
|
|
@@ -15,6 +15,14 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
|
|
|
15
15
|
|
|
16
16
|
DateTimePickerRenderer.apiVersion = 2;
|
|
17
17
|
|
|
18
|
+
DateTimePickerRenderer.writeInnerValue = function(oRm, oControl) {
|
|
19
|
+
if (!oControl.getDateValue() && typeof oControl._prefferedValue === "string") {
|
|
20
|
+
oRm.attr("value", oControl._prefferedValue);
|
|
21
|
+
} else {
|
|
22
|
+
DatePickerRenderer.writeInnerValue.apply(this, arguments);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
18
26
|
DateTimePickerRenderer.getDescribedByAnnouncement = function(oDP) {
|
|
19
27
|
|
|
20
28
|
var sBaseAnnouncement = InputBaseRenderer.getDescribedByAnnouncement.apply(this, arguments);
|
|
@@ -39,10 +47,9 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
|
|
|
39
47
|
|
|
40
48
|
oRm.openStart("div", oControl.getId() + "-timezoneLabel");
|
|
41
49
|
oRm.class("sapMDTPTimezoneLabel");
|
|
42
|
-
oRm.attr("title", sTimezone);
|
|
43
50
|
oRm.openEnd();
|
|
44
51
|
|
|
45
|
-
oRm.openStart("span");
|
|
52
|
+
oRm.openStart("span", oControl.getId() + "-timezoneID");
|
|
46
53
|
oRm.openEnd();
|
|
47
54
|
oRm.text(sTimezone);
|
|
48
55
|
oRm.close("span");
|
|
@@ -70,6 +77,16 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
|
|
|
70
77
|
}
|
|
71
78
|
};
|
|
72
79
|
|
|
80
|
+
DateTimePickerRenderer.getAriaDescribedBy = function(oControl) {
|
|
81
|
+
var sDescribedBy = InputBaseRenderer.getAriaDescribedBy.apply(this, arguments);
|
|
82
|
+
|
|
83
|
+
if (oControl._getShowTimezone()) {
|
|
84
|
+
sDescribedBy += " " + oControl.getId() + "-timezoneID";
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return sDescribedBy;
|
|
88
|
+
};
|
|
89
|
+
|
|
73
90
|
return DateTimePickerRenderer;
|
|
74
91
|
|
|
75
92
|
}, /* bExport= */ true);
|
package/src/sap/m/Dialog.js
CHANGED
|
@@ -24,12 +24,10 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
|
|
|
24
24
|
* Renders the HTML for the given control, using the provided
|
|
25
25
|
* {@link sap.ui.core.RenderManager}.
|
|
26
26
|
*
|
|
27
|
-
* @param {sap.ui.core.RenderManager}
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* oControl an object representation of the control that should be
|
|
32
|
-
* rendered
|
|
27
|
+
* @param {sap.ui.core.RenderManager} rm
|
|
28
|
+
* RenderManager that can be used to render the control's DOM
|
|
29
|
+
* @param {sap.m.DisplayListItem} oLI
|
|
30
|
+
* The item to be rendered
|
|
33
31
|
*/
|
|
34
32
|
DisplayListItemRenderer.renderLIAttributes = function(rm, oLI) {
|
|
35
33
|
rm.class("sapMDLI");
|
package/src/sap/m/DynamicDate.js
CHANGED
|
@@ -124,7 +124,7 @@ sap.ui.define([
|
|
|
124
124
|
* Create an instance of the DynamicDateFormat.
|
|
125
125
|
*
|
|
126
126
|
* @param {object} [oFormatOptions] Object which defines the format options
|
|
127
|
-
* @param {
|
|
127
|
+
* @param {sap.ui.core.Locale} [oLocale] Locale to get the formatter for
|
|
128
128
|
* @return {sap.m.DynamicDateFormat} Instance of the DynamicDateFormat
|
|
129
129
|
* @private
|
|
130
130
|
*/
|
|
@@ -143,6 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
oFormat.oLocaleData = LocaleData.getInstance(oLocale);
|
|
144
144
|
oFormat.oOriginalFormatOptions = deepExtend({}, DynamicDateFormat.oDefaultDynamicDateFormat, oFormatOptions);
|
|
145
145
|
oFormat._dateFormatter = DateFormat.getInstance(oFormat.oOriginalFormatOptions["date"]);
|
|
146
|
+
oFormat._dateTimeFormatter = DateFormat.getDateTimeInstance(oFormat.oOriginalFormatOptions["datetime"]);
|
|
146
147
|
// hack the date formatter not to parse relative
|
|
147
148
|
// dates like: "next month", "next quarter", "previous week"
|
|
148
149
|
[oFormat._dateFormatter].concat(oFormat._dateFormatter.aFallbackFormats).forEach(function(f) {
|
|
@@ -151,7 +152,12 @@ sap.ui.define([
|
|
|
151
152
|
};
|
|
152
153
|
});
|
|
153
154
|
|
|
154
|
-
oFormat._dateTimeFormatter
|
|
155
|
+
[oFormat._dateTimeFormatter].concat(oFormat._dateTimeFormatter.aFallbackFormats).forEach(function(f) {
|
|
156
|
+
f.parseRelative = function() {
|
|
157
|
+
return null;
|
|
158
|
+
};
|
|
159
|
+
});
|
|
160
|
+
|
|
155
161
|
oFormat._monthFormatter = DateFormat.getInstance(oFormat.oOriginalFormatOptions["month"]);
|
|
156
162
|
oFormat._yearFormatter = DateFormat.getInstance(oFormat.oOriginalFormatOptions["year"]);
|
|
157
163
|
oFormat._numberFormatter = NumberFormat.getInstance(oFormat.oOriginalFormatOptions["int"]);
|
|
@@ -35,8 +35,9 @@ sap.ui.define([
|
|
|
35
35
|
'./NavContainer',
|
|
36
36
|
'./DynamicDateRangeRenderer',
|
|
37
37
|
'./StandardDynamicDateOption',
|
|
38
|
-
'
|
|
39
|
-
'
|
|
38
|
+
'./library',
|
|
39
|
+
'sap/ui/thirdparty/jquery',
|
|
40
|
+
'sap/ui/dom/jquery/Focusable'], // provides jQuery.fn.firstFocusableDomRef
|
|
40
41
|
function(
|
|
41
42
|
InvisibleText,
|
|
42
43
|
Element,
|
|
@@ -67,8 +68,8 @@ sap.ui.define([
|
|
|
67
68
|
NavContainer,
|
|
68
69
|
DynamicDateRangeRenderer,
|
|
69
70
|
StandardDynamicDateOption,
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
library,
|
|
72
|
+
jQuery
|
|
72
73
|
) {
|
|
73
74
|
"use strict";
|
|
74
75
|
|
|
@@ -118,7 +119,7 @@ sap.ui.define([
|
|
|
118
119
|
* is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
|
|
119
120
|
*
|
|
120
121
|
* @author SAP SE
|
|
121
|
-
* @version 1.
|
|
122
|
+
* @version 1.100.0
|
|
122
123
|
*
|
|
123
124
|
* @constructor
|
|
124
125
|
* @public
|
|
@@ -383,10 +384,13 @@ sap.ui.define([
|
|
|
383
384
|
};
|
|
384
385
|
|
|
385
386
|
DynamicDateRange.prototype.setValue = function(oValue) {
|
|
387
|
+
var sOptionKey = oValue && oValue.operator;
|
|
388
|
+
|
|
386
389
|
// substutude the semantically equivalent values
|
|
387
390
|
oValue = this._substitudeValue(oValue);
|
|
388
391
|
|
|
389
392
|
this.setProperty("value", oValue);
|
|
393
|
+
this._oSelectedOption = DynamicDateUtil.getOption(sOptionKey);
|
|
390
394
|
|
|
391
395
|
// Forward Dynamic Date Range control property values to inner sap.m.Input instance.
|
|
392
396
|
this._updateInputValue(oValue);
|
|
@@ -590,11 +594,13 @@ sap.ui.define([
|
|
|
590
594
|
switch (sType) {
|
|
591
595
|
case "datetime":
|
|
592
596
|
oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
|
|
597
|
+
oFormatOptions.singleIntervalValue = true;
|
|
593
598
|
oFormatOptions.interval = true;
|
|
594
599
|
this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
|
|
595
600
|
break;
|
|
596
601
|
default:
|
|
597
602
|
oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
|
|
603
|
+
oFormatOptions.singleIntervalValue = true;
|
|
598
604
|
oFormatOptions.interval = true;
|
|
599
605
|
this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
|
|
600
606
|
}
|
|
@@ -914,6 +920,10 @@ sap.ui.define([
|
|
|
914
920
|
|
|
915
921
|
aResultDates = DynamicDateUtil.toDates(oOutputValue);
|
|
916
922
|
if (aResultDates) {
|
|
923
|
+
if (this._oSelectedOption.getKey() === "FROMDATETIME" || this._oSelectedOption.getKey() === "TODATETIME"
|
|
924
|
+
|| this._oSelectedOption.getKey() === "FROM" || this._oSelectedOption.getKey() === "TO") {
|
|
925
|
+
aResultDates.push(null);
|
|
926
|
+
}
|
|
917
927
|
sFormattedDates = this._getDatesLabelFormatter().format(aResultDates);
|
|
918
928
|
this._getDatesLabel().setText(oResourceBundle.getText("DDR_INFO_DATES", [sFormattedDates]));
|
|
919
929
|
}
|
|
@@ -1076,7 +1086,7 @@ sap.ui.define([
|
|
|
1076
1086
|
|
|
1077
1087
|
if (oToPage === oOptionDetailsPage) {
|
|
1078
1088
|
this.aInputControls.forEach(function(oControl) {
|
|
1079
|
-
if (
|
|
1089
|
+
if (oControl.$().firstFocusableDomRef()) {
|
|
1080
1090
|
oControl.addAriaLabelledBy && oControl.addAriaLabelledBy(oToPage.getAggregation("_internalHeader"));
|
|
1081
1091
|
|
|
1082
1092
|
if (!this._isCalendarBasedControl(oControl) && oControl.addAriaDescribedBy) {
|
|
@@ -1312,6 +1322,13 @@ sap.ui.define([
|
|
|
1312
1322
|
&& (!this._bClearButtonPressed);
|
|
1313
1323
|
};
|
|
1314
1324
|
|
|
1325
|
+
DynamicDateRangeInput.prototype.onfocusin = function (oEvent) {
|
|
1326
|
+
Input.prototype.onfocusin.apply(this, arguments);
|
|
1327
|
+
if (this._getControlOrigin()._oPopup && this._getControlOrigin()._oPopup.isOpen()) {
|
|
1328
|
+
this._getControlOrigin()._closePopup();
|
|
1329
|
+
}
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1315
1332
|
var DynamicDateRangeListItem = StandardListItem.extend("sap.m.DynamicDateRangeListItem", {
|
|
1316
1333
|
metadata: {
|
|
1317
1334
|
library: "sap.m",
|
|
@@ -70,11 +70,10 @@ sap.ui.define([
|
|
|
70
70
|
];
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* @class
|
|
74
73
|
* The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
|
|
75
74
|
*
|
|
75
|
+
* @namespace
|
|
76
76
|
* @alias sap.m.DynamicDateUtil
|
|
77
|
-
* @static
|
|
78
77
|
* @public
|
|
79
78
|
* @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
80
79
|
*/
|
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -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.100.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.100.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -613,9 +613,11 @@ sap.ui.define([
|
|
|
613
613
|
|
|
614
614
|
// Checks whether given model is one of the OData Models
|
|
615
615
|
function isODataModel(oModel) {
|
|
616
|
-
return oModel
|
|
617
|
-
oModel
|
|
618
|
-
oModel
|
|
616
|
+
return oModel && (
|
|
617
|
+
oModel.isA("sap.ui.model.odata.ODataModel") ||
|
|
618
|
+
oModel.isA("sap.ui.model.odata.v2.ODataModel") ||
|
|
619
|
+
oModel.isA("sap.ui.model.odata.v4.ODataModel")
|
|
620
|
+
);
|
|
619
621
|
}
|
|
620
622
|
|
|
621
623
|
if (force || (sSearchVal !== this._searchValue)) {
|