@openui5/sap.m 1.101.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +2 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +4 -4
- package/src/sap/m/ActionSheet.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 +12 -22
- package/src/sap/m/BarInPageEnabler.js +1 -1
- package/src/sap/m/Breadcrumbs.js +29 -4
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +4 -4
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +13 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +10 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +6 -2
- 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 +22 -2
- package/src/sap/m/ComboBoxBase.js +7 -7
- 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 +25 -7
- package/src/sap/m/DateRangeSelection.js +5 -5
- package/src/sap/m/DateTimeField.js +22 -10
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +22 -10
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +4 -11
- package/src/sap/m/DialogRenderer.js +1 -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 +72 -18
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +105 -26
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +36 -28
- 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 +2 -2
- package/src/sap/m/FormattedText.js +10 -10
- package/src/sap/m/GenericTag.js +5 -5
- package/src/sap/m/GenericTile.js +98 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -1
- package/src/sap/m/GenericTileRenderer.js +98 -62
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +171 -95
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +50 -65
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +4 -4
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +8 -2
- 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 +2 -14
- package/src/sap/m/InputBase.js +16 -9
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InstanceManager.js +14 -19
- 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 +17 -16
- package/src/sap/m/ListItemBase.js +5 -4
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +10 -0
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +2 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +3 -3
- package/src/sap/m/MessageBox.js +1020 -908
- 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 +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +15 -10
- package/src/sap/m/NavContainer.js +4 -4
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +175 -79
- package/src/sap/m/NotificationListGroup.js +1 -2
- package/src/sap/m/NotificationListGroupRenderer.js +4 -16
- package/src/sap/m/NotificationListItem.js +5 -16
- package/src/sap/m/NotificationListItemRenderer.js +0 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +14 -1
- package/src/sap/m/ObjectAttributeRenderer.js +5 -4
- package/src/sap/m/ObjectHeader.js +4 -4
- package/src/sap/m/ObjectHeaderRenderer.js +11 -11
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +7 -4
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +51 -12
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
- 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 +32 -35
- package/src/sap/m/P13nDialog.js +3 -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 +4 -4
- 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 +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +2 -2
- 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 +3 -3
- package/src/sap/m/PopoverRenderer.js +2 -2
- package/src/sap/m/ProgressIndicator.js +15 -29
- package/src/sap/m/ProgressIndicatorRenderer.js +7 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +2 -2
- 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 +2 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +2 -2
- package/src/sap/m/RangeSlider.js +82 -59
- package/src/sap/m/RangeSliderRenderer.js +34 -2
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +7 -6
- 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 +5 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +31 -8
- package/src/sap/m/SelectDialog.js +14 -18
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +8 -8
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectRenderer.js +37 -13
- package/src/sap/m/SelectionDetails.js +1 -1
- 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 +5 -6
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +5 -5
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- 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 +1 -1
- package/src/sap/m/Slider.js +14 -5
- package/src/sap/m/SliderRenderer.js +27 -2
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +3 -3
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +3 -11
- package/src/sap/m/StandardDynamicDateOption.js +12 -10
- package/src/sap/m/StandardListItem.js +3 -3
- package/src/sap/m/StandardListItemRenderer.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 +3 -2
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +6 -4
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +7 -1
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +2 -2
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableRenderer.js +27 -0
- package/src/sap/m/TableSelectDialog.js +13 -9
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +4 -3
- package/src/sap/m/TextRenderer.js +2 -0
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +6 -6
- package/src/sap/m/TileContent.js +26 -14
- package/src/sap/m/TileContentRenderer.js +16 -7
- package/src/sap/m/TimePicker.js +82 -20
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +1 -0
- package/src/sap/m/TimePickerInputs.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 +1 -1
- package/src/sap/m/Title.js +2 -2
- 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 +14 -3
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +6 -2
- 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 +5 -5
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2492 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +4 -4
- 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 -2
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
- 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/VariantManagement.designtime.js +56 -0
- package/src/sap/m/designtime/messagebundle_de.properties +2 -2
- package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
- package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
- package/src/sap/m/library.js +48 -5
- package/src/sap/m/messagebundle.properties +156 -12
- package/src/sap/m/messagebundle_ar.properties +103 -7
- package/src/sap/m/messagebundle_bg.properties +103 -7
- package/src/sap/m/messagebundle_ca.properties +103 -7
- package/src/sap/m/messagebundle_cs.properties +105 -9
- package/src/sap/m/messagebundle_cy.properties +103 -7
- package/src/sap/m/messagebundle_da.properties +103 -7
- package/src/sap/m/messagebundle_de.properties +104 -8
- package/src/sap/m/messagebundle_el.properties +103 -7
- package/src/sap/m/messagebundle_en.properties +103 -7
- package/src/sap/m/messagebundle_en_GB.properties +103 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +103 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +105 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -7
- package/src/sap/m/messagebundle_es.properties +103 -7
- package/src/sap/m/messagebundle_es_MX.properties +103 -7
- package/src/sap/m/messagebundle_et.properties +103 -7
- package/src/sap/m/messagebundle_fi.properties +103 -7
- package/src/sap/m/messagebundle_fr.properties +117 -21
- package/src/sap/m/messagebundle_fr_CA.properties +103 -7
- package/src/sap/m/messagebundle_hi.properties +103 -7
- package/src/sap/m/messagebundle_hr.properties +103 -7
- package/src/sap/m/messagebundle_hu.properties +103 -7
- package/src/sap/m/messagebundle_id.properties +103 -7
- package/src/sap/m/messagebundle_it.properties +110 -14
- package/src/sap/m/messagebundle_iw.properties +103 -7
- package/src/sap/m/messagebundle_ja.properties +103 -7
- package/src/sap/m/messagebundle_kk.properties +103 -7
- package/src/sap/m/messagebundle_ko.properties +114 -18
- package/src/sap/m/messagebundle_lt.properties +103 -7
- package/src/sap/m/messagebundle_lv.properties +103 -7
- package/src/sap/m/messagebundle_ms.properties +103 -7
- package/src/sap/m/messagebundle_nl.properties +103 -7
- package/src/sap/m/messagebundle_no.properties +107 -11
- package/src/sap/m/messagebundle_pl.properties +103 -7
- package/src/sap/m/messagebundle_pt.properties +112 -16
- package/src/sap/m/messagebundle_pt_PT.properties +103 -7
- package/src/sap/m/messagebundle_ro.properties +104 -8
- package/src/sap/m/messagebundle_ru.properties +103 -7
- package/src/sap/m/messagebundle_sh.properties +104 -8
- package/src/sap/m/messagebundle_sk.properties +103 -7
- package/src/sap/m/messagebundle_sl.properties +105 -9
- package/src/sap/m/messagebundle_sv.properties +103 -7
- package/src/sap/m/messagebundle_th.properties +103 -7
- package/src/sap/m/messagebundle_tr.properties +104 -8
- package/src/sap/m/messagebundle_uk.properties +104 -8
- package/src/sap/m/messagebundle_vi.properties +103 -7
- package/src/sap/m/messagebundle_zh_CN.properties +104 -8
- package/src/sap/m/messagebundle_zh_TW.properties +107 -11
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +16 -5
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +55 -33
- package/src/sap/m/p13n/SelectionPanel.js +31 -6
- package/src/sap/m/p13n/SortPanel.js +24 -13
- package/src/sap/m/plugins/ColumnResizer.js +12 -6
- package/src/sap/m/plugins/DataStateIndicator.js +13 -4
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +2 -2
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/DatePicker.support.js +4 -3
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -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 +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +3 -3
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
- 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 +17 -13
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -11
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
- package/src/sap/m/table/columnmenu/Menu.js +41 -27
- package/src/sap/m/table/columnmenu/MenuRenderer.js +4 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +2 -11
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -13
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +2 -22
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -13
- package/src/sap/m/themes/base/ActionListItem.less +2 -2
- package/src/sap/m/themes/base/Breadcrumbs.less +11 -0
- package/src/sap/m/themes/base/Button.less +1 -6
- package/src/sap/m/themes/base/Carousel.less +72 -87
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/Dialog.less +6 -2
- package/src/sap/m/themes/base/GenericTag.less +5 -3
- package/src/sap/m/themes/base/GenericTile.less +412 -148
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/InputBase.less +2 -1
- package/src/sap/m/themes/base/LightBox.less +6 -16
- package/src/sap/m/themes/base/ListItemBase.less +1 -12
- package/src/sap/m/themes/base/MenuButton.less +16 -0
- package/src/sap/m/themes/base/MessageBox.less +9 -8
- package/src/sap/m/themes/base/NewsContent.less +0 -9
- package/src/sap/m/themes/base/NotificationListBase.less +9 -14
- package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
- package/src/sap/m/themes/base/NotificationListItem.less +14 -18
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +5 -0
- package/src/sap/m/themes/base/ObjectStatus.less +3 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/Select.less +1 -3
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +19 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/StandardListItem.less +6 -9
- package/src/sap/m/themes/base/Table.less +22 -21
- package/src/sap/m/themes/base/TextArea.less +5 -0
- package/src/sap/m/themes/base/TimePickerClock.less +7 -0
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/themes/base/Token.less +3 -2
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -0
- package/src/sap/m/themes/base/VariantManagement.less +97 -0
- package/src/sap/m/themes/base/Wizard.less +5 -4
- package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/upload/UploadSet.js +90 -14
- package/src/sap/m/upload/UploadSetItem.js +18 -5
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +46 -0
|
@@ -46,7 +46,7 @@ function(
|
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.103.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -132,7 +132,7 @@ function(
|
|
|
132
132
|
|
|
133
133
|
IconPool.insertFontFaceStyle();
|
|
134
134
|
|
|
135
|
-
TileContainer.prototype._bRtl
|
|
135
|
+
TileContainer.prototype._bRtl = oCore.getConfiguration().getRTL();
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Initializes the control.
|
|
@@ -615,7 +615,7 @@ function(
|
|
|
615
615
|
for (var i = 0;i < aTiles.length; i++) {
|
|
616
616
|
var oTile = aTiles[i];
|
|
617
617
|
|
|
618
|
-
if (oTile
|
|
618
|
+
if (oTile.isA("sap.m.Tile")) {
|
|
619
619
|
oTile.isEditable(bEditable);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -1609,7 +1609,7 @@ function(
|
|
|
1609
1609
|
oEvent.srcControl = oEvent.srcControl.getParent();
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
if (oEvent.srcControl
|
|
1612
|
+
if (oEvent.srcControl && oEvent.srcControl.isA("sap.m.Tile") && this.getEditable()) {
|
|
1613
1613
|
|
|
1614
1614
|
if (oEvent.target.className != "sapMTCRemove") {
|
|
1615
1615
|
this._initDragSession(oEvent);
|
|
@@ -1978,7 +1978,7 @@ function(
|
|
|
1978
1978
|
*/
|
|
1979
1979
|
TileContainer.prototype._handleAriaActiveDescendant = function () {
|
|
1980
1980
|
var oActiveElement = jQuery(document.activeElement).control(0);
|
|
1981
|
-
if (oActiveElement
|
|
1981
|
+
if (oActiveElement && oActiveElement.isA("sap.m.Tile") && oActiveElement.getParent() === this) {
|
|
1982
1982
|
this.getDomRef().setAttribute("aria-activedescendant", oActiveElement.getId());
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
@@ -2101,7 +2101,7 @@ function(
|
|
|
2101
2101
|
};
|
|
2102
2102
|
/**
|
|
2103
2103
|
* Calculates the dimension (width and height) of a Tile.
|
|
2104
|
-
* @returns {object} Width and height of a tile or undefined if no DOM yet.
|
|
2104
|
+
* @returns {object|undefined} Width and height of a tile or <code>undefined</code> if no DOM yet.
|
|
2105
2105
|
* @protected
|
|
2106
2106
|
*/
|
|
2107
2107
|
TileDimensionCalculator.prototype.calc = function(visibleTiles) {
|
package/src/sap/m/TileContent.js
CHANGED
|
@@ -8,10 +8,12 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
8
8
|
function(library, Core, Control, TileContentRenderer) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
|
-
var Priority =
|
|
11
|
+
var Priority = library.Priority;
|
|
12
12
|
|
|
13
13
|
var LoadState = library.LoadState;
|
|
14
14
|
|
|
15
|
+
var GenericTileMode = library.GenericTileMode;
|
|
16
|
+
|
|
15
17
|
/**
|
|
16
18
|
* Constructor for a new sap.m.TileContent control.
|
|
17
19
|
*
|
|
@@ -22,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
22
24
|
* @extends sap.ui.core.Control
|
|
23
25
|
*
|
|
24
26
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
27
|
+
* @version 1.103.0
|
|
26
28
|
* @since 1.34.0
|
|
27
29
|
*
|
|
28
30
|
* @public
|
|
@@ -63,7 +65,12 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
63
65
|
* Adds a priority badge before the content. Works only in Generic Tile ActionMode.
|
|
64
66
|
* @experimental Since 1.96
|
|
65
67
|
*/
|
|
66
|
-
"priority" : {type: "sap.
|
|
68
|
+
"priority" : {type: "sap.m.Priority", group: "Misc", defaultValue: Priority.None},
|
|
69
|
+
/**
|
|
70
|
+
* Sets the Text inside the Priority badge in Generic Tile ActionMode.
|
|
71
|
+
* @experimental Since 1.103
|
|
72
|
+
*/
|
|
73
|
+
"priorityText" : {type: "string", group: "Misc", defaultValue: null},
|
|
67
74
|
/**
|
|
68
75
|
* The load status.
|
|
69
76
|
* @since 1.100.0
|
|
@@ -215,14 +222,30 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
215
222
|
var sAltText = "";
|
|
216
223
|
var bIsFirst = true;
|
|
217
224
|
var oContent = this.getContent();
|
|
225
|
+
var oParent = this.getParent();
|
|
218
226
|
|
|
219
227
|
if (oContent) {
|
|
228
|
+
var oContentDom = oContent.getDomRef();
|
|
220
229
|
if (oContent.getAltText) {
|
|
221
230
|
sAltText += oContent.getAltText();
|
|
222
231
|
bIsFirst = false;
|
|
223
232
|
} else if (oContent.getTooltip_AsString()) {
|
|
224
233
|
sAltText += oContent.getTooltip_AsString();
|
|
225
234
|
bIsFirst = false;
|
|
235
|
+
} else if (oParent && oParent.isA("sap.m.GenericTile") && oParent.getMode() === GenericTileMode.ActionMode) {
|
|
236
|
+
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY"),
|
|
237
|
+
sPriorityText = this.getPriorityText();
|
|
238
|
+
if (sPriorityText && this.getPriority()){
|
|
239
|
+
sAltText += sPriorityText + " " + sPriority;
|
|
240
|
+
bIsFirst = false;
|
|
241
|
+
}
|
|
242
|
+
if (oContent.isA("sap.m.Text")){
|
|
243
|
+
sAltText += (bIsFirst ? "" : "\n") + oContent.getText();
|
|
244
|
+
bIsFirst = false;
|
|
245
|
+
} else if (oContentDom && oContent.isA("sap.m.FormattedText")) {
|
|
246
|
+
sAltText += (bIsFirst ? "" : "\n") + oContentDom.innerText;
|
|
247
|
+
bIsFirst = false;
|
|
248
|
+
}
|
|
226
249
|
}
|
|
227
250
|
}
|
|
228
251
|
if (this.getUnit()) {
|
|
@@ -268,16 +291,5 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
|
|
|
268
291
|
return this;
|
|
269
292
|
};
|
|
270
293
|
|
|
271
|
-
/**
|
|
272
|
-
* Returns priority text from resource bundle
|
|
273
|
-
* @param {string} sPriority The priority value
|
|
274
|
-
* @returns {string} The priority text
|
|
275
|
-
* @private
|
|
276
|
-
*/
|
|
277
|
-
TileContent.prototype._getPriorityText = function(sPriority) {
|
|
278
|
-
var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle('sap.m');
|
|
279
|
-
return oResourceBundle.getText('ACTION_PRIORITY_' + sPriority.toUpperCase());
|
|
280
|
-
};
|
|
281
|
-
|
|
282
294
|
return TileContent;
|
|
283
295
|
});
|
|
@@ -10,7 +10,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
10
10
|
|
|
11
11
|
var GenericTileMode = library.GenericTileMode,
|
|
12
12
|
FrameType = library.FrameType,
|
|
13
|
-
Priority =
|
|
13
|
+
Priority = library.Priority;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* TileContent renderer.
|
|
@@ -30,6 +30,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
30
30
|
|
|
31
31
|
var sTooltip = oControl.getTooltip_AsString();
|
|
32
32
|
var sContentTypeClass = oControl._getContentType();
|
|
33
|
+
var sPriority = oControl.getPriority();
|
|
33
34
|
if (sContentTypeClass) {
|
|
34
35
|
sContentTypeClass = encodeCSS(sContentTypeClass);
|
|
35
36
|
}
|
|
@@ -39,6 +40,11 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
39
40
|
oRm.class(oControl.getState() == "Disabled" ? "sapMTileCnt sapMTileCntDisabled" : "sapMTileCnt");
|
|
40
41
|
oRm.class(sContentTypeClass);
|
|
41
42
|
oRm.class(sFrameTypeClass);
|
|
43
|
+
if (sPriority === Priority.None){
|
|
44
|
+
oRm.class("sapMGTNoPriority");
|
|
45
|
+
} else {
|
|
46
|
+
oRm.class("sapMGTPriority");
|
|
47
|
+
}
|
|
42
48
|
if (sTooltip.trim()) { // trim check needed since IE11 renders white spaces
|
|
43
49
|
oRm.attr("title", sTooltip);
|
|
44
50
|
}
|
|
@@ -102,7 +108,10 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
102
108
|
oPriority = oControl.getPriority(),
|
|
103
109
|
oTile = oControl.getParent(),
|
|
104
110
|
bIsActionMode = oTile instanceof GenericTile && oTile.getMode() === GenericTileMode.ActionMode && oTile.getFrameType() === FrameType.TwoByOne,
|
|
105
|
-
|
|
111
|
+
sPriorityText = oControl.getPriorityText(),
|
|
112
|
+
bRenderPriority = bIsActionMode && oPriority && oPriority !== Priority.None && sPriorityText,
|
|
113
|
+
sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY"),
|
|
114
|
+
iMaxLines = (oPriority && sPriorityText) ? 1 : 3; //if the Priority is present then the text should have 1 line else 3 lines in ActionMode
|
|
106
115
|
|
|
107
116
|
if (oContent) {
|
|
108
117
|
if (bRenderPriority) {
|
|
@@ -127,12 +136,15 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
127
136
|
oRm.openStart("span", oControl.getId() + "-priority-value");
|
|
128
137
|
oRm.class("sapMTilePriorityValue");
|
|
129
138
|
oRm.openEnd();
|
|
130
|
-
oRm.text(
|
|
139
|
+
oRm.text(sPriorityText + " " + sPriority);
|
|
131
140
|
oRm.close("span");
|
|
132
141
|
oRm.close("div");
|
|
133
142
|
oRm.close("div");
|
|
143
|
+
oRm.close("div");
|
|
144
|
+
}
|
|
145
|
+
if (oContent.isA("sap.m.Text") && bIsActionMode && (oControl.getFrameType() === FrameType.TwoByOne || oControl.getFrameType() === FrameType.Auto)) {
|
|
146
|
+
oContent.setProperty("maxLines", iMaxLines,true);
|
|
134
147
|
}
|
|
135
|
-
|
|
136
148
|
oRm.openStart("div", oControl.getId() + "-content");
|
|
137
149
|
oRm.class("sapMTileCntContent");
|
|
138
150
|
oRm.openEnd();
|
|
@@ -142,9 +154,6 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile",
|
|
|
142
154
|
oRm.renderControl(oContent);
|
|
143
155
|
oRm.close("div");
|
|
144
156
|
|
|
145
|
-
if (bRenderPriority) {
|
|
146
|
-
oRm.close("div");
|
|
147
|
-
}
|
|
148
157
|
}
|
|
149
158
|
};
|
|
150
159
|
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -21,6 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
'./MaskEnabler',
|
|
22
22
|
'sap/ui/Device',
|
|
23
23
|
'sap/ui/core/format/DateFormat',
|
|
24
|
+
'sap/ui/core/format/TimezoneUtil',
|
|
24
25
|
'sap/ui/core/Locale',
|
|
25
26
|
'sap/m/library',
|
|
26
27
|
'sap/ui/core/LocaleData',
|
|
@@ -47,6 +48,7 @@ function(
|
|
|
47
48
|
MaskEnabler,
|
|
48
49
|
Device,
|
|
49
50
|
DateFormat,
|
|
51
|
+
TimezoneUtil,
|
|
50
52
|
Locale,
|
|
51
53
|
library,
|
|
52
54
|
LocaleData,
|
|
@@ -140,7 +142,7 @@ function(
|
|
|
140
142
|
* @extends sap.m.DateTimeField
|
|
141
143
|
*
|
|
142
144
|
* @author SAP SE
|
|
143
|
-
* @version 1.
|
|
145
|
+
* @version 1.103.0
|
|
144
146
|
*
|
|
145
147
|
* @constructor
|
|
146
148
|
* @public
|
|
@@ -273,7 +275,23 @@ function(
|
|
|
273
275
|
* Internal aggregation that contains the inner numeric _picker pop-up.
|
|
274
276
|
*/
|
|
275
277
|
_numPicker: { type: "sap.m.Popover", multiple: false, visibility: "hidden" }
|
|
276
|
-
|
|
278
|
+
},
|
|
279
|
+
events: {
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Fired when <code>value help</code> dialog opens.
|
|
283
|
+
* @since 1.102.0
|
|
284
|
+
*/
|
|
285
|
+
afterValueHelpOpen: {},
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Fired when <code>value help</code> dialog closes.
|
|
289
|
+
* @since 1.102.0
|
|
290
|
+
*/
|
|
291
|
+
afterValueHelpClose: {}
|
|
292
|
+
|
|
293
|
+
},
|
|
294
|
+
|
|
277
295
|
dnd: { draggable: false, droppable: true }
|
|
278
296
|
}});
|
|
279
297
|
|
|
@@ -505,6 +523,7 @@ function(
|
|
|
505
523
|
bOpen = oNumericPicker && oNumericPicker.isOpen();
|
|
506
524
|
|
|
507
525
|
if (!this._isMobileDevice()) {
|
|
526
|
+
DateTimeField.prototype.onfocusin.apply(this, arguments);
|
|
508
527
|
MaskEnabler.onfocusin.apply(this, arguments);
|
|
509
528
|
}
|
|
510
529
|
if (oPicker && oPicker.isOpen() && !bIconClicked) {
|
|
@@ -568,21 +587,29 @@ function(
|
|
|
568
587
|
/* Set the timevalues of the picker here to prevent user from seeing it */
|
|
569
588
|
var oClocks = this._getClocks(),
|
|
570
589
|
oDateValue = this.getDateValue(),
|
|
571
|
-
|
|
590
|
+
iDateValueMilliseconds = oDateValue ? oDateValue.getMilliseconds() : 0,
|
|
572
591
|
sFormat = this._getFormatter(true).oFormatOptions.pattern,
|
|
573
592
|
iIndexOfHH = sFormat.indexOf("HH"),
|
|
574
|
-
iIndexOfH = sFormat.indexOf("H")
|
|
593
|
+
iIndexOfH = sFormat.indexOf("H"),
|
|
594
|
+
sInputValue = TimePickerInternals._isHoursValue24(this._$input.val(), iIndexOfHH, iIndexOfH) ?
|
|
595
|
+
TimePickerInternals._replace24HoursWithZero(this._$input.val(), iIndexOfHH, iIndexOfH) : this._$input.val(),
|
|
596
|
+
sFormattedDate;
|
|
575
597
|
|
|
576
598
|
var oCurrentDateValue = this._getFormatter(true).parse(sInputValue) || oDateValue;
|
|
577
599
|
var sDisplayFormattedValue = this._getFormatter(true).format(oCurrentDateValue);
|
|
578
600
|
|
|
579
601
|
oClocks.setValue(sDisplayFormattedValue);
|
|
580
602
|
|
|
603
|
+
sFormattedDate = this._getPickerParser().format(oDateValue || new Date(),
|
|
604
|
+
sap.ui.getCore().getConfiguration().getTimezone());
|
|
605
|
+
oDateValue = this._getPickerParser().parse(sFormattedDate, TimezoneUtil.getLocalTimezone())[ 0 ];
|
|
606
|
+
oDateValue.setMilliseconds(iDateValueMilliseconds);
|
|
607
|
+
|
|
581
608
|
if (this._shouldSetInitialFocusedDateValue()) {
|
|
582
|
-
oDateValue = this.getInitialFocusedDateValue();
|
|
609
|
+
oDateValue = this.getInitialFocusedDateValue() || oDateValue;
|
|
583
610
|
}
|
|
584
611
|
|
|
585
|
-
oClocks._setTimeValues(oDateValue, TimePickerInternals._isHoursValue24(
|
|
612
|
+
oClocks._setTimeValues(oDateValue, TimePickerInternals._isHoursValue24(this._$input.val(), iIndexOfHH, iIndexOfH));
|
|
586
613
|
|
|
587
614
|
/* Mark input as active */
|
|
588
615
|
this.$().addClass(InputBase.ICON_PRESSED_CSS_CLASS);
|
|
@@ -601,6 +628,7 @@ function(
|
|
|
601
628
|
oClocks.showFirstClock();
|
|
602
629
|
oClocks._focusActiveButton();
|
|
603
630
|
}
|
|
631
|
+
this.fireAfterValueHelpOpen();
|
|
604
632
|
};
|
|
605
633
|
|
|
606
634
|
/**
|
|
@@ -612,6 +640,7 @@ function(
|
|
|
612
640
|
TimePicker.prototype.onAfterClose = function() {
|
|
613
641
|
this.$().removeClass(InputBase.ICON_PRESSED_CSS_CLASS);
|
|
614
642
|
this._getClocks().showFirstClock(); // prepare for the next opening
|
|
643
|
+
this.fireAfterValueHelpClose();
|
|
615
644
|
};
|
|
616
645
|
|
|
617
646
|
/**
|
|
@@ -675,9 +704,13 @@ function(
|
|
|
675
704
|
sThatValue,
|
|
676
705
|
bThatValue2400,
|
|
677
706
|
bEnabled2400,
|
|
678
|
-
sFormat = this.getValueFormat(),
|
|
679
|
-
iIndexOfHH
|
|
680
|
-
iIndexOfH
|
|
707
|
+
sFormat = this.getValueFormat() || (this._sValueFormat && this._sValueFormat.oFormatOptions.pattern),
|
|
708
|
+
iIndexOfHH,
|
|
709
|
+
iIndexOfH;
|
|
710
|
+
|
|
711
|
+
sFormat = sFormat ? sFormat : "";
|
|
712
|
+
iIndexOfHH = sFormat.indexOf("HH");
|
|
713
|
+
iIndexOfH = sFormat.indexOf("H");
|
|
681
714
|
|
|
682
715
|
sValue = sValue || this._$input.val();
|
|
683
716
|
sThatValue = sValue;
|
|
@@ -913,13 +946,21 @@ function(
|
|
|
913
946
|
* @public
|
|
914
947
|
*/
|
|
915
948
|
TimePicker.prototype.setValue = function(sValue) {
|
|
949
|
+
if (sValue) {
|
|
950
|
+
this._getFormatter(); // initialise DateFormatter
|
|
951
|
+
}
|
|
952
|
+
|
|
916
953
|
var oDate,
|
|
917
954
|
sOutputValue,
|
|
918
|
-
sFormat = this.getValueFormat(),
|
|
919
|
-
iIndexOfHH = sFormat.indexOf("HH"),
|
|
920
|
-
iIndexOfH = sFormat.indexOf("H"),
|
|
955
|
+
sFormat = this.getValueFormat() || (this._sValueFormat && this._sValueFormat.oFormatOptions.pattern),
|
|
921
956
|
oClocks = this._getClocks(),
|
|
922
|
-
oInputs = this._getInputs()
|
|
957
|
+
oInputs = this._getInputs(),
|
|
958
|
+
iIndexOfHH,
|
|
959
|
+
iIndexOfH;
|
|
960
|
+
|
|
961
|
+
sFormat = sFormat ? sFormat : "";
|
|
962
|
+
iIndexOfHH = sFormat.indexOf("HH");
|
|
963
|
+
iIndexOfH = sFormat.indexOf("H");
|
|
923
964
|
|
|
924
965
|
sValue = this.validateProperty("value", sValue);
|
|
925
966
|
|
|
@@ -1464,7 +1505,7 @@ function(
|
|
|
1464
1505
|
oPopover.setShowArrow(false);
|
|
1465
1506
|
}
|
|
1466
1507
|
|
|
1467
|
-
oPopover.oPopup.
|
|
1508
|
+
oPopover.oPopup.setExtraContent([oIcon]);
|
|
1468
1509
|
|
|
1469
1510
|
if (Device.system.phone) {
|
|
1470
1511
|
sArialabelledby = this.$("inner").attr("aria-labelledby");
|
|
@@ -1609,7 +1650,11 @@ function(
|
|
|
1609
1650
|
*/
|
|
1610
1651
|
TimePicker.prototype._handleOkPress = function(oEvent) {
|
|
1611
1652
|
var oDate = this._getClocks().getTimeValues(),
|
|
1612
|
-
sValue
|
|
1653
|
+
sValue,
|
|
1654
|
+
sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
1655
|
+
|
|
1656
|
+
oDate = this._getPickerParser()
|
|
1657
|
+
.parse(sFormattedDate, sap.ui.getCore().getConfiguration().getTimezone())[0];
|
|
1613
1658
|
|
|
1614
1659
|
this._isClockPicker = true;
|
|
1615
1660
|
this._isNumericPicker = false;
|
|
@@ -1639,7 +1684,11 @@ function(
|
|
|
1639
1684
|
*/
|
|
1640
1685
|
TimePicker.prototype._handleNumericOkPress = function(oEvent) {
|
|
1641
1686
|
var oDate = this._getInputs().getTimeValues(),
|
|
1642
|
-
sValue
|
|
1687
|
+
sValue,
|
|
1688
|
+
sFormattedDate = this._getPickerParser().format(oDate, TimezoneUtil.getLocalTimezone());
|
|
1689
|
+
|
|
1690
|
+
oDate = this._getPickerParser()
|
|
1691
|
+
.parse(sFormattedDate, sap.ui.getCore().getConfiguration().getTimezone())[0];
|
|
1643
1692
|
|
|
1644
1693
|
this._isClockPicker = false;
|
|
1645
1694
|
this._isNumericPicker = true;
|
|
@@ -1705,11 +1754,15 @@ function(
|
|
|
1705
1754
|
*/
|
|
1706
1755
|
TimePicker.prototype._formatValue = function(oDate, bValueFormat) {
|
|
1707
1756
|
var sValue = DateTimeField.prototype._formatValue.apply(this, arguments),
|
|
1708
|
-
sFormat = this.getValueFormat(),
|
|
1709
|
-
iIndexOfHH
|
|
1710
|
-
iIndexOfH
|
|
1757
|
+
sFormat = this.getValueFormat() || (this._sValueFormat && this._sValueFormat.oFormatOptions.pattern),
|
|
1758
|
+
iIndexOfHH,
|
|
1759
|
+
iIndexOfH,
|
|
1711
1760
|
bFieldValueIs24;
|
|
1712
1761
|
|
|
1762
|
+
sFormat = sFormat ? sFormat : "";
|
|
1763
|
+
iIndexOfHH = sFormat.indexOf("HH");
|
|
1764
|
+
iIndexOfH = sFormat.indexOf("H");
|
|
1765
|
+
|
|
1713
1766
|
if (oDate) {
|
|
1714
1767
|
// in display format the formatter returns strings without the leading space
|
|
1715
1768
|
// that we use in the mask - "9:15" instead of " 9:15"
|
|
@@ -1723,7 +1776,8 @@ function(
|
|
|
1723
1776
|
}
|
|
1724
1777
|
|
|
1725
1778
|
if ((this._isNumericPicker && this.isNumericOpen() && this._getInputs() && this._getInputs()._getHoursInput() && this._getInputs()._getHoursInput().getValue() === "24") ||
|
|
1726
|
-
(this._isClockPicker && this.isOpen() && this._getClocks() && this._getClocks()._getHoursClock() && this._getClocks()._getHoursClock().getSelectedValue() === 24)
|
|
1779
|
+
(this._isClockPicker && this.isOpen() && this._getClocks() && this._getClocks()._getHoursClock() && this._getClocks()._getHoursClock().getSelectedValue() === 24) ||
|
|
1780
|
+
(this._sLastChangeValue && this._sLastChangeValue.indexOf("24") > -1)) {
|
|
1727
1781
|
bFieldValueIs24 = true;
|
|
1728
1782
|
}
|
|
1729
1783
|
|
|
@@ -2251,6 +2305,14 @@ function(
|
|
|
2251
2305
|
this._setCursorPosition(Math.max(this._iUserInputStartPosition, iStart));
|
|
2252
2306
|
};
|
|
2253
2307
|
|
|
2308
|
+
TimePicker.prototype._getPickerParser = function() {
|
|
2309
|
+
if (!this._clocksParser) {
|
|
2310
|
+
this._clocksParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: false });
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
return this._clocksParser;
|
|
2314
|
+
};
|
|
2315
|
+
|
|
2254
2316
|
/**
|
|
2255
2317
|
* Fires when the input operation has finished and the value has changed.
|
|
2256
2318
|
*
|
package/src/sap/m/Title.js
CHANGED
|
@@ -73,7 +73,7 @@ sap.ui.define([
|
|
|
73
73
|
* @implements sap.ui.core.IShrinkable
|
|
74
74
|
*
|
|
75
75
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.103.0
|
|
77
77
|
* @since 1.27.0
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
@@ -201,7 +201,7 @@ sap.ui.define([
|
|
|
201
201
|
|
|
202
202
|
if (sTitle) {
|
|
203
203
|
var oTitle = sap.ui.getCore().byId(sTitle);
|
|
204
|
-
if (oTitle && oTitle
|
|
204
|
+
if (oTitle && oTitle.isA("sap.ui.core.Title")) {
|
|
205
205
|
return oTitle;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -51,7 +51,7 @@ sap.ui.define([],
|
|
|
51
51
|
* style class support on existing elements by calling this function.
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.103.0
|
|
55
55
|
*
|
|
56
56
|
* @param {string} sAggregationName the name of the aggregation which should be affected
|
|
57
57
|
* @param {object} fnGetTitleID function that would return the ID of the title
|
package/src/sap/m/Token.js
CHANGED
package/src/sap/m/Tokenizer.js
CHANGED
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
*
|
|
79
79
|
* @extends sap.ui.core.Control
|
|
80
80
|
* @author SAP SE
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.103.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -992,6 +992,13 @@ sap.ui.define([
|
|
|
992
992
|
}
|
|
993
993
|
};
|
|
994
994
|
|
|
995
|
+
Tokenizer.prototype._shouldPreventModifier = function (oEvent) {
|
|
996
|
+
var bShouldPreventOnMac = Device.os.macintosh && oEvent.metaKey;
|
|
997
|
+
var bShouldPreventOnWindows = Device.os.windows && oEvent.altKey;
|
|
998
|
+
|
|
999
|
+
return bShouldPreventOnMac || bShouldPreventOnWindows;
|
|
1000
|
+
};
|
|
1001
|
+
|
|
995
1002
|
/**
|
|
996
1003
|
* Pseudo event for pseudo 'previous' event with modifiers (Ctrl, Alt or Shift).
|
|
997
1004
|
*
|
|
@@ -1000,7 +1007,9 @@ sap.ui.define([
|
|
|
1000
1007
|
* @private
|
|
1001
1008
|
*/
|
|
1002
1009
|
Tokenizer.prototype.onsappreviousmodifiers = function (oEvent) {
|
|
1003
|
-
this.
|
|
1010
|
+
if (!this._shouldPreventModifier(oEvent)) {
|
|
1011
|
+
this.onsapprevious(oEvent);
|
|
1012
|
+
}
|
|
1004
1013
|
};
|
|
1005
1014
|
|
|
1006
1015
|
/**
|
|
@@ -1011,7 +1020,9 @@ sap.ui.define([
|
|
|
1011
1020
|
* @private
|
|
1012
1021
|
*/
|
|
1013
1022
|
Tokenizer.prototype.onsapnextmodifiers = function (oEvent) {
|
|
1014
|
-
this.
|
|
1023
|
+
if (!this._shouldPreventModifier(oEvent)) {
|
|
1024
|
+
this.onsapnext(oEvent);
|
|
1025
|
+
}
|
|
1015
1026
|
};
|
|
1016
1027
|
|
|
1017
1028
|
/**
|
package/src/sap/m/Toolbar.js
CHANGED
|
@@ -72,7 +72,7 @@ function(
|
|
|
72
72
|
* @implements sap.ui.core.Toolbar,sap.m.IBar
|
|
73
73
|
*
|
|
74
74
|
* @author SAP SE
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.103.0
|
|
76
76
|
*
|
|
77
77
|
* @constructor
|
|
78
78
|
* @public
|
|
@@ -419,6 +419,12 @@ function(
|
|
|
419
419
|
return sRole;
|
|
420
420
|
};
|
|
421
421
|
|
|
422
|
+
Toolbar.prototype.getAccessibilityInfo = function () {
|
|
423
|
+
return {
|
|
424
|
+
children: this.getContent()
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
|
|
422
428
|
/*
|
|
423
429
|
* Augment design property setter.
|
|
424
430
|
* 2nd parameter can be used to define auto design context.
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['./library', 'sap/ui/core/LayoutData'],
|
|
|
25
25
|
* <code>layoutData</code> aggregation of {@link sap.m.ToolbarSpacer} and if set it's ignored.
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.core.LayoutData
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -41,7 +41,11 @@ sap.ui.define(['./library', 'sap/ui/core/LayoutData'],
|
|
|
41
41
|
/**
|
|
42
42
|
* Determines whether the control, when in a toolbar, is shrinkable or not. For controls with fixed width (100px, 5rem, etc...) this property is ignored.
|
|
43
43
|
*
|
|
44
|
-
*
|
|
44
|
+
* <b>Notes:</b>
|
|
45
|
+
* <ul>
|
|
46
|
+
* <li>Nested layout controls should not be shrinkable.</li>
|
|
47
|
+
* <li>This property has no effect on <code>sap.m.Breadcrumbs</code> as it is shrinkable by default.</li>
|
|
48
|
+
* </ul>
|
|
45
49
|
*/
|
|
46
50
|
shrinkable : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
47
51
|
|
package/src/sap/m/Tree.js
CHANGED