@openui5/sap.m 1.96.2 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +2 -1
- 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 +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +10 -2
- package/src/sap/m/AvatarRenderer.js +3 -0
- package/src/sap/m/Bar.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +6 -5
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +39 -6
- package/src/sap/m/ComboBoxBase.js +121 -15
- package/src/sap/m/ComboBoxTextField.js +21 -7
- 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 +42 -9
- package/src/sap/m/DatePickerRenderer.js +13 -0
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +48 -52
- package/src/sap/m/Dialog.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 +5 -5
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +2 -4
- package/src/sap/m/DynamicDateUtil.js +8 -6
- 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 +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +8 -1
- package/src/sap/m/GenericTagRenderer.js +1 -1
- package/src/sap/m/GenericTile.js +6 -32
- package/src/sap/m/GenericTileRenderer.js +6 -5
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +13 -3
- package/src/sap/m/IconTabSeparator.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 +29 -3
- package/src/sap/m/InputBase.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- 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 +35 -6
- 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 +66 -37
- package/src/sap/m/MultiComboBoxRenderer.js +4 -0
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListGroupRenderer.js +1 -0
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +19 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/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 +3 -3
- 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 +4 -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 +19 -3
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +25 -5
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -2
- package/src/sap/m/PlanningCalendarRow.js +8 -3
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +13 -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 +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +20 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +18 -7
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +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 +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +28 -28
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -15
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +3 -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 +1 -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 +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +93 -67
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +33 -3
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +11 -15
- package/src/sap/m/TabStripRenderer.js +1 -1
- package/src/sap/m/Table.js +4 -3
- 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 +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +43 -4
- 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 +1 -1
- package/src/sap/m/TimePickerRenderer.js +4 -0
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/ToggleButtonRenderer.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +18 -6
- 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 +16 -4
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/IconTabBar.designtime.js +2 -1
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +0 -6
- package/src/sap/m/library.js +65 -4
- package/src/sap/m/messagebundle.properties +32 -1
- package/src/sap/m/messagebundle_ar.properties +37 -0
- package/src/sap/m/messagebundle_bg.properties +37 -0
- package/src/sap/m/messagebundle_ca.properties +37 -0
- package/src/sap/m/messagebundle_cs.properties +38 -1
- package/src/sap/m/messagebundle_cy.properties +37 -0
- package/src/sap/m/messagebundle_da.properties +37 -0
- package/src/sap/m/messagebundle_de.properties +37 -0
- package/src/sap/m/messagebundle_el.properties +37 -0
- package/src/sap/m/messagebundle_en.properties +37 -0
- package/src/sap/m/messagebundle_en_GB.properties +37 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +46 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +3 -39
- package/src/sap/m/messagebundle_en_US_saptrc.properties +61 -3
- package/src/sap/m/messagebundle_es.properties +40 -3
- package/src/sap/m/messagebundle_es_MX.properties +38 -1
- package/src/sap/m/messagebundle_et.properties +37 -0
- package/src/sap/m/messagebundle_fi.properties +37 -0
- package/src/sap/m/messagebundle_fr.properties +45 -8
- package/src/sap/m/messagebundle_fr_CA.properties +37 -0
- package/src/sap/m/messagebundle_hi.properties +37 -0
- package/src/sap/m/messagebundle_hr.properties +37 -0
- package/src/sap/m/messagebundle_hu.properties +37 -0
- package/src/sap/m/messagebundle_id.properties +38 -1
- package/src/sap/m/messagebundle_it.properties +37 -0
- package/src/sap/m/messagebundle_iw.properties +37 -0
- package/src/sap/m/messagebundle_ja.properties +37 -0
- package/src/sap/m/messagebundle_kk.properties +37 -0
- package/src/sap/m/messagebundle_ko.properties +37 -0
- package/src/sap/m/messagebundle_lt.properties +37 -0
- package/src/sap/m/messagebundle_lv.properties +37 -0
- package/src/sap/m/messagebundle_ms.properties +37 -0
- package/src/sap/m/messagebundle_nl.properties +37 -0
- package/src/sap/m/messagebundle_no.properties +37 -0
- package/src/sap/m/messagebundle_pl.properties +37 -0
- package/src/sap/m/messagebundle_pt.properties +37 -0
- package/src/sap/m/messagebundle_pt_PT.properties +38 -1
- package/src/sap/m/messagebundle_ro.properties +38 -1
- package/src/sap/m/messagebundle_ru.properties +38 -1
- package/src/sap/m/messagebundle_sh.properties +38 -1
- package/src/sap/m/messagebundle_sk.properties +37 -0
- package/src/sap/m/messagebundle_sl.properties +37 -0
- package/src/sap/m/messagebundle_sv.properties +37 -0
- package/src/sap/m/messagebundle_th.properties +37 -0
- package/src/sap/m/messagebundle_tr.properties +37 -0
- package/src/sap/m/messagebundle_uk.properties +37 -0
- package/src/sap/m/messagebundle_vi.properties +37 -0
- package/src/sap/m/messagebundle_zh_CN.properties +37 -0
- package/src/sap/m/messagebundle_zh_TW.properties +37 -0
- package/src/sap/m/p13n/AbstractContainer.js +47 -4
- package/src/sap/m/p13n/AbstractContainerItem.js +82 -82
- package/src/sap/m/p13n/BasePanel.js +31 -30
- package/src/sap/m/p13n/Container.js +67 -5
- package/src/sap/m/p13n/GroupPanel.js +4 -2
- package/src/sap/m/p13n/Popup.js +358 -0
- package/src/sap/m/p13n/QueryPanel.js +6 -2
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +4 -2
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ActionItem.js +69 -0
- package/src/sap/m/table/ColumnMenu.js +377 -0
- package/src/sap/m/table/ColumnMenuEntry.js +101 -0
- package/src/sap/m/table/ColumnMenuRenderer.js +82 -0
- package/src/sap/m/table/Item.js +130 -0
- package/src/sap/m/table/ItemBase.js +153 -0
- package/src/sap/m/table/QuickAction.js +53 -0
- package/src/sap/m/table/QuickActionBase.js +53 -0
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/themes/base/AbstractContainer.less +15 -0
- package/src/sap/m/themes/base/Breadcrumbs.less +2 -2
- package/src/sap/m/themes/base/ColumnMenu.less +41 -0
- package/src/sap/m/themes/base/ComboBox.less +2 -2
- package/src/sap/m/themes/base/ComboBoxBase.less +20 -0
- package/src/sap/m/themes/base/DatePicker.less +4 -0
- package/src/sap/m/themes/base/DateTimePicker.less +20 -1
- package/src/sap/m/themes/base/GenericTile.less +25 -14
- package/src/sap/m/themes/base/Input.less +2 -2
- package/src/sap/m/themes/base/MultiComboBox.less +3 -3
- package/src/sap/m/themes/base/ObjectAttribute.less +3 -4
- package/src/sap/m/themes/base/P13nDialog.less +1 -5
- package/src/sap/m/themes/base/ProgressIndicator.less +3 -2
- package/src/sap/m/themes/base/ScrollContainer.less +1 -3
- package/src/sap/m/themes/base/Select.less +2 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +16 -16
- package/src/sap/m/themes/base/TextArea.less +1 -1
- package/src/sap/m/themes/base/TimePicker.less +3 -0
- package/src/sap/m/themes/base/ValueStateHeader.less +1 -3
- package/src/sap/m/themes/base/ViewSettingsDialog.less +5 -1
- package/src/sap/m/themes/base/WizardProgressNavigator.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/base/p13n.Container.less +4 -0
- package/src/sap/m/themes/sap_hcb/ComboBox.less +9 -0
- package/src/sap/m/themes/sap_hcb/Input.less +4 -0
- package/src/sap/m/themes/sap_hcb/MultiComboBox.less +8 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +3 -0
- package/src/sap/m/themes/sap_hcb/WizardProgressNavigator.less +0 -4
- package/src/sap/m/themes/sap_hcb/library.source.less +2 -0
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides control sap.m.StandardDynamicDateOption.
|
|
8
|
-
sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepInput', './RadioButton', './RadioButtonGroup', 'sap/ui/unified/Calendar', 'sap/ui/unified/calendar/MonthPicker', 'sap/ui/core/format/DateFormat', '
|
|
9
|
-
function(Element, DynamicDateOption, Label, StepInput, RadioButton, RadioButtonGroup, Calendar, MonthPicker, DateFormat,
|
|
8
|
+
sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepInput', './RadioButton', './RadioButtonGroup', 'sap/ui/unified/Calendar', 'sap/ui/unified/calendar/MonthPicker', 'sap/ui/core/format/DateFormat', 'sap/ui/core/date/UniversalDateUtils', 'sap/ui/core/date/UniversalDate', 'sap/m/DynamicDateValueHelpUIType', './library'],
|
|
9
|
+
function(Element, DynamicDateOption, Label, StepInput, RadioButton, RadioButtonGroup, Calendar, MonthPicker, DateFormat, UniversalDateUtils, UniversalDate, DynamicDateValueHelpUIType, library) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
21
21
|
* @extends sap.m.DynamicDateOption
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.97.0
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
* @alias sap.m.StandardDynamicDateOption
|
|
@@ -69,6 +69,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
69
69
|
"FROM": "FROM",
|
|
70
70
|
"TO": "TO",
|
|
71
71
|
"YEARTODATE": "YEARTODATE",
|
|
72
|
+
"DATETOYEAR":"DATETOYEAR",
|
|
72
73
|
"TODAYFROMTO": "TODAYFROMTO",
|
|
73
74
|
"QUARTER1": "QUARTER1",
|
|
74
75
|
"QUARTER2": "QUARTER2",
|
|
@@ -117,6 +118,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
117
118
|
"FROM": _Groups.DateRanges,
|
|
118
119
|
"TO": _Groups.DateRanges,
|
|
119
120
|
"YEARTODATE": _Groups.DateRanges,
|
|
121
|
+
"DATETOYEAR": _Groups.DateRanges,
|
|
120
122
|
"TODAYFROMTO": _Groups.DateRanges,
|
|
121
123
|
"QUARTER1": _Groups.Quarters,
|
|
122
124
|
"QUARTER2": _Groups.Quarters,
|
|
@@ -134,6 +136,16 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
134
136
|
|
|
135
137
|
StandardDynamicDateOption.Keys = Keys;
|
|
136
138
|
|
|
139
|
+
StandardDynamicDateOption.prototype.exit = function() {
|
|
140
|
+
if (this.aValueHelpUITypes) {
|
|
141
|
+
while (this.aValueHelpUITypes.length) {
|
|
142
|
+
this.aValueHelpUITypes.pop().destroy();
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
delete this.aValueHelpUITypes;
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
137
149
|
StandardDynamicDateOption.prototype.getText = function(oControl) {
|
|
138
150
|
var sKey = this.getKey();
|
|
139
151
|
var oOptions = oControl._getOptions();
|
|
@@ -171,71 +183,82 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
171
183
|
StandardDynamicDateOption.prototype.getValueHelpUITypes = function(oControl) {
|
|
172
184
|
var sKey = this.getKey();
|
|
173
185
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
186
|
+
if (!this.aValueHelpUITypes) { //the empty array is still an initialized value and can be reused
|
|
187
|
+
switch (sKey) {
|
|
188
|
+
case Keys.TODAY:
|
|
189
|
+
case Keys.YESTERDAY:
|
|
190
|
+
case Keys.TOMORROW:
|
|
191
|
+
case Keys.THISWEEK:
|
|
192
|
+
case Keys.THISMONTH:
|
|
193
|
+
case Keys.THISQUARTER:
|
|
194
|
+
case Keys.THISYEAR:
|
|
195
|
+
case Keys.LASTWEEK:
|
|
196
|
+
case Keys.LASTMONTH:
|
|
197
|
+
case Keys.LASTQUARTER:
|
|
198
|
+
case Keys.LASTYEAR:
|
|
199
|
+
case Keys.NEXTWEEK:
|
|
200
|
+
case Keys.NEXTMONTH:
|
|
201
|
+
case Keys.NEXTQUARTER:
|
|
202
|
+
case Keys.NEXTYEAR:
|
|
203
|
+
case Keys.YEARTODATE:
|
|
204
|
+
case Keys.DATETOYEAR:
|
|
205
|
+
case Keys.QUARTER1:
|
|
206
|
+
case Keys.QUARTER2:
|
|
207
|
+
case Keys.QUARTER3:
|
|
208
|
+
case Keys.QUARTER4:
|
|
209
|
+
this.aValueHelpUITypes = [];
|
|
210
|
+
break;
|
|
211
|
+
case Keys.DATE:
|
|
212
|
+
case Keys.FROM:
|
|
213
|
+
case Keys.TO:
|
|
214
|
+
this.aValueHelpUITypes = [
|
|
215
|
+
new DynamicDateValueHelpUIType({
|
|
216
|
+
type: "date"
|
|
217
|
+
})];
|
|
218
|
+
break;
|
|
219
|
+
case Keys.DATERANGE:
|
|
220
|
+
this.aValueHelpUITypes = [
|
|
221
|
+
new DynamicDateValueHelpUIType({
|
|
222
|
+
type: "daterange"
|
|
223
|
+
})];
|
|
224
|
+
break;
|
|
225
|
+
case Keys.SPECIFICMONTH:
|
|
226
|
+
this.aValueHelpUITypes = [
|
|
227
|
+
new DynamicDateValueHelpUIType({
|
|
228
|
+
type: "month"
|
|
229
|
+
})];
|
|
230
|
+
break;
|
|
231
|
+
case Keys.LASTDAYS:
|
|
232
|
+
case Keys.LASTWEEKS:
|
|
233
|
+
case Keys.LASTMONTHS:
|
|
234
|
+
case Keys.LASTQUARTERS:
|
|
235
|
+
case Keys.LASTYEARS:
|
|
236
|
+
case Keys.NEXTDAYS:
|
|
237
|
+
case Keys.NEXTWEEKS:
|
|
238
|
+
case Keys.NEXTMONTHS:
|
|
239
|
+
case Keys.NEXTQUARTERS:
|
|
240
|
+
case Keys.NEXTYEARS:
|
|
241
|
+
this.aValueHelpUITypes = [
|
|
242
|
+
new DynamicDateValueHelpUIType({
|
|
243
|
+
text: _resourceBundle.getText("DDR_LASTNEXTX_LABEL"),
|
|
244
|
+
type: "int"
|
|
245
|
+
})];
|
|
246
|
+
break;
|
|
247
|
+
case Keys.TODAYFROMTO:
|
|
248
|
+
this.aValueHelpUITypes = [
|
|
249
|
+
new DynamicDateValueHelpUIType({
|
|
250
|
+
text: _resourceBundle.getText("DDR_TODAYFROMTO_FROM_LABEL"),
|
|
251
|
+
type: "int"
|
|
252
|
+
}),
|
|
253
|
+
new DynamicDateValueHelpUIType({
|
|
254
|
+
text: _resourceBundle.getText("DDR_TODAYFROMTO_TO_LABEL"),
|
|
255
|
+
type: "int"
|
|
256
|
+
})];
|
|
257
|
+
break;
|
|
258
|
+
}
|
|
238
259
|
}
|
|
260
|
+
|
|
261
|
+
return this.aValueHelpUITypes.slice(0);
|
|
239
262
|
};
|
|
240
263
|
|
|
241
264
|
/**
|
|
@@ -559,6 +582,8 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
559
582
|
return [oValue.values[0], oValue.values[0]];
|
|
560
583
|
case "YEARTODATE":
|
|
561
584
|
return UniversalDateUtils.ranges.yearToDate();
|
|
585
|
+
case "DATETOYEAR":
|
|
586
|
+
return UniversalDateUtils.ranges.dateToYear();
|
|
562
587
|
case "TODAYFROMTO":
|
|
563
588
|
if (oValue.values.length !== 2) {
|
|
564
589
|
return [];
|
|
@@ -605,6 +630,7 @@ sap.ui.define(['sap/ui/core/Element', './DynamicDateOption', './Label', './StepI
|
|
|
605
630
|
case "NEXTQUARTER":
|
|
606
631
|
case "NEXTYEAR":
|
|
607
632
|
case "YEARTODATE":
|
|
633
|
+
case "DATETOYEAR":
|
|
608
634
|
case "QUARTER1":
|
|
609
635
|
case "QUARTER2":
|
|
610
636
|
case "QUARTER3":
|
package/src/sap/m/StepInput.js
CHANGED
package/src/sap/m/Switch.js
CHANGED
|
@@ -12,6 +12,9 @@ sap.ui.define(['sap/ui/core/Element',
|
|
|
12
12
|
function(Element, IconPool, TabStripItem, library) {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
|
+
// shortcut for sap.m.ImageHelper
|
|
16
|
+
var ImageHelper = library.ImageHelper;
|
|
17
|
+
|
|
15
18
|
/**
|
|
16
19
|
* Constructor for a new <code>TabContainerItem</code>.
|
|
17
20
|
*
|
|
@@ -23,7 +26,7 @@ sap.ui.define(['sap/ui/core/Element',
|
|
|
23
26
|
* @extends sap.ui.core.Element
|
|
24
27
|
*
|
|
25
28
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
29
|
+
* @version 1.97.0
|
|
27
30
|
*
|
|
28
31
|
* @constructor
|
|
29
32
|
* @public
|
|
@@ -141,8 +144,35 @@ sap.ui.define(['sap/ui/core/Element',
|
|
|
141
144
|
* @return {this} <code>this</code> to allow method chaining
|
|
142
145
|
* @public
|
|
143
146
|
*/
|
|
144
|
-
TabContainerItem.prototype.setIcon = function(sIcon) {
|
|
145
|
-
|
|
147
|
+
TabContainerItem.prototype.setIcon = function(sIcon, bSuppressRendering) {
|
|
148
|
+
var mProperties,
|
|
149
|
+
aCssClasses = ['sapMTabContIcon'],
|
|
150
|
+
oImage = this.getAggregation("_image"),
|
|
151
|
+
sImgId = this.getId() + "-img",
|
|
152
|
+
bDecorative = !!(this.getName() || this.getAdditionalText());
|
|
153
|
+
|
|
154
|
+
if (!sIcon) {
|
|
155
|
+
this.setProperty("icon", sIcon, bSuppressRendering);
|
|
156
|
+
if (oImage) {
|
|
157
|
+
this.destroyAggregation("_image");
|
|
158
|
+
}
|
|
159
|
+
return this;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (this.getIcon() !== sIcon) {
|
|
163
|
+
this.setProperty("icon", sIcon, bSuppressRendering);
|
|
164
|
+
|
|
165
|
+
mProperties = {
|
|
166
|
+
src : sIcon,
|
|
167
|
+
id: sImgId,
|
|
168
|
+
decorative: bDecorative,
|
|
169
|
+
tooltip: this.getIconTooltip()
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
oImage = ImageHelper.getImageControl(sImgId, oImage, undefined, mProperties, aCssClasses);
|
|
173
|
+
this.setAggregation("_image", oImage, bSuppressRendering);
|
|
174
|
+
}
|
|
175
|
+
return this;
|
|
146
176
|
};
|
|
147
177
|
|
|
148
178
|
/**
|
package/src/sap/m/TabStrip.js
CHANGED
|
@@ -25,7 +25,7 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
|
|
|
25
25
|
* @extends sap.ui.core.Item
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.97.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
@@ -234,6 +234,12 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
|
|
|
234
234
|
}
|
|
235
235
|
ManagedObject.prototype.setProperty.call(this, sName, vValue, bSupressInvalidation);
|
|
236
236
|
|
|
237
|
+
if ((sName === "text" && this.getAdditionalText() !== "" && this.getAggregation("_image")) ||
|
|
238
|
+
(sName === "additionalText" && this.getText() !== "" && this.getAggregation("_image"))) {
|
|
239
|
+
// update the decorative state of the icon if the text or additional text is changed
|
|
240
|
+
this.getAggregation("_image").setDecorative(vValue !== "");
|
|
241
|
+
}
|
|
242
|
+
|
|
237
243
|
// optimisation to not invalidate and rerender the whole parent DOM, but only manipulate the CSS class
|
|
238
244
|
// for invisibility on the concrete DOM element that needs to change
|
|
239
245
|
if (this.getParent() && this.getParent().changeItemState) {
|
|
@@ -249,23 +255,12 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
|
|
|
249
255
|
return this;
|
|
250
256
|
};
|
|
251
257
|
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Property setter for the icon
|
|
255
|
-
*
|
|
256
|
-
* @param {sap.ui.core.URI} sIcon - new value of the Icon property
|
|
257
|
-
* @return {this} this to allow method chaining
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
TabStripItem.prototype.setIcon = function(sIcon) {
|
|
261
|
-
return this._setIcon(sIcon);
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
TabStripItem.prototype._setIcon = function(sIcon, bSuppressRendering) {
|
|
258
|
+
TabStripItem.prototype.setIcon = function(sIcon, bSuppressRendering) {
|
|
265
259
|
var mProperties,
|
|
266
260
|
aCssClasses = ['sapMTabContIcon'],
|
|
267
261
|
oImage = this.getAggregation("_image"),
|
|
268
|
-
sImgId = this.getId() + "-img"
|
|
262
|
+
sImgId = this.getId() + "-img",
|
|
263
|
+
bDecorative = !!(this.getText() || this.getAdditionalText());
|
|
269
264
|
|
|
270
265
|
if (!sIcon) {
|
|
271
266
|
this.setProperty("icon", sIcon, bSuppressRendering);
|
|
@@ -281,6 +276,7 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
|
|
|
281
276
|
mProperties = {
|
|
282
277
|
src : sIcon,
|
|
283
278
|
id: sImgId,
|
|
279
|
+
decorative: bDecorative,
|
|
284
280
|
tooltip: this.getIconTooltip()
|
|
285
281
|
};
|
|
286
282
|
|
|
@@ -316,7 +316,7 @@ sap.ui.define([
|
|
|
316
316
|
mAccAttributes["describedby"] = sDescribedBy;
|
|
317
317
|
mAccAttributes["posinset"] = iIndex + 1;
|
|
318
318
|
mAccAttributes["setsize"] = aItems.length;
|
|
319
|
-
|
|
319
|
+
|
|
320
320
|
if (oTabStripParent && oTabStripParent.getRenderer && oTabStripParent.getRenderer().getContentDomId) {
|
|
321
321
|
mAccAttributes["controls"] = oTabStripParent.getRenderer().getContentDomId(oTabStripParent);
|
|
322
322
|
}
|
package/src/sap/m/Table.js
CHANGED
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @extends sap.m.ListBase
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.97.0
|
|
69
69
|
*
|
|
70
70
|
* @constructor
|
|
71
71
|
* @public
|
|
@@ -472,12 +472,13 @@ sap.ui.define([
|
|
|
472
472
|
*/
|
|
473
473
|
Table.prototype._checkLastColumnWidth = function() {
|
|
474
474
|
var $this = this.$();
|
|
475
|
+
var oTableDomRef = this.getTableDomRef();
|
|
475
476
|
|
|
476
|
-
if (!$this.length) {
|
|
477
|
+
if (!$this.length || !oTableDomRef) {
|
|
477
478
|
return;
|
|
478
479
|
}
|
|
479
480
|
|
|
480
|
-
if ($this[0].clientWidth <
|
|
481
|
+
if ($this[0].clientWidth < oTableDomRef.clientWidth) {
|
|
481
482
|
$this.find(".sapMListTblCell:visible").eq(0).addClass("sapMTableLastColumn").width("");
|
|
482
483
|
}
|
|
483
484
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class Table Personalization Controller
|
|
39
39
|
* @extends sap.ui.base.ManagedObject
|
|
40
40
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.97.0
|
|
42
42
|
* @alias sap.m.TablePersoController
|
|
43
43
|
*/
|
|
44
44
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
* @class Table Personalization Dialog
|
|
88
88
|
* @extends sap.ui.base.ManagedObject
|
|
89
89
|
* @author SAP
|
|
90
|
-
* @version 1.
|
|
90
|
+
* @version 1.97.0
|
|
91
91
|
* @alias sap.m.TablePersoDialog
|
|
92
92
|
*/
|
|
93
93
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.97.0
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
|
|
@@ -98,7 +98,7 @@ sap.ui.define([
|
|
|
98
98
|
* When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
99
99
|
* @extends sap.m.SelectDialogBase
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
101
|
+
* @version 1.97.0
|
|
102
102
|
*
|
|
103
103
|
* @constructor
|
|
104
104
|
* @public
|
package/src/sap/m/Text.js
CHANGED
|
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
|
|
|
54
54
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
55
55
|
*
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.97.0
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
package/src/sap/m/TextArea.js
CHANGED
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -140,7 +140,7 @@ function(
|
|
|
140
140
|
* @extends sap.m.DateTimeField
|
|
141
141
|
*
|
|
142
142
|
* @author SAP SE
|
|
143
|
-
* @version 1.
|
|
143
|
+
* @version 1.97.0
|
|
144
144
|
*
|
|
145
145
|
* @constructor
|
|
146
146
|
* @public
|
|
@@ -232,7 +232,23 @@ function(
|
|
|
232
232
|
*
|
|
233
233
|
* - on both device types, if there is a keyboard attached: 24 or 00 can be typed directly.
|
|
234
234
|
*/
|
|
235
|
-
support2400: {type: "boolean", group: "Misc", defaultValue: false}
|
|
235
|
+
support2400: {type: "boolean", group: "Misc", defaultValue: false},
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Determines whether the input field of the picker is hidden or visible.
|
|
239
|
+
* When set to <code>true</code>, the input field becomes invisible and there is no way to open the picker popover.
|
|
240
|
+
* In that case it can be opened by another control through calling of picker's <code>openBy</code> method, and
|
|
241
|
+
* the opening control's DOM reference must be provided as parameter.
|
|
242
|
+
*
|
|
243
|
+
* Note: Since the picker is not responsible for accessibility attributes of the control which opens its popover,
|
|
244
|
+
* those attributes should be added by the application developer. The following is recommended to be added to the
|
|
245
|
+
* opening control: a text or tooltip that describes the action (example: "Open Time Picker"), and also aria-haspopup
|
|
246
|
+
* attribute with value of <code>sap.ui.core.aria.HasPopup.Dialog</code>.
|
|
247
|
+
*
|
|
248
|
+
* @since 1.97
|
|
249
|
+
*/
|
|
250
|
+
hideInput: { type: "boolean", group: "Misc", defaultValue: false }
|
|
251
|
+
|
|
236
252
|
},
|
|
237
253
|
aggregations: {
|
|
238
254
|
|
|
@@ -1277,22 +1293,45 @@ function(
|
|
|
1277
1293
|
}
|
|
1278
1294
|
};
|
|
1279
1295
|
|
|
1296
|
+
/**
|
|
1297
|
+
* Opens the picker popover. The popover is positioned relatively to the control given as <code>oDomRef</code> parameter on tablet or desktop
|
|
1298
|
+
* and is full screen on phone. Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
|
|
1299
|
+
*
|
|
1300
|
+
* Note: use this method to open the picker popover only when the <code>hideInput</code> property is set to <code>true</code>. Please consider
|
|
1301
|
+
* opening of the picker popover by another control only in scenarios that comply with Fiori guidelines. For example, opening the picker popover
|
|
1302
|
+
* by another popover is not recommended.
|
|
1303
|
+
* The application developer should implement the following accessibility attributes to the opening control: a text or tooltip that describes
|
|
1304
|
+
* the action (example: "Open Time Picker"), and aria-haspopup attribute with value of <code>sap.ui.core.aria.HasPopup.Dialog</code>.
|
|
1305
|
+
*
|
|
1306
|
+
* @since 1.97
|
|
1307
|
+
* @param {HTMLElement} oDomRef DOM reference of the opening control. On tablet or desktop, the popover is positioned relatively to this control.
|
|
1308
|
+
* @public
|
|
1309
|
+
*/
|
|
1310
|
+
TimePicker.prototype.openBy = function(oDomRef) {
|
|
1311
|
+
this._openPicker(oDomRef);
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1280
1314
|
/**
|
|
1281
1315
|
* Opens the picker.
|
|
1282
1316
|
*
|
|
1283
1317
|
* Creates the picker if necessary.
|
|
1284
1318
|
*
|
|
1319
|
+
* @param {HTMLElement} oDomRef DOM reference of the opening control. On tablet or desktop, the TimePicker popover is positioned relative to this control.
|
|
1285
1320
|
* @returns {sap.m.ResponsivePopover} The picker part as a control, used for chaining
|
|
1286
1321
|
* @private
|
|
1287
1322
|
*/
|
|
1288
|
-
TimePicker.prototype._openPicker = function () {
|
|
1323
|
+
TimePicker.prototype._openPicker = function (oDomRef) {
|
|
1289
1324
|
var oPicker = this._getPicker();
|
|
1290
1325
|
|
|
1291
1326
|
if (!oPicker) {
|
|
1292
1327
|
oPicker = this._createPicker(this._getDisplayFormatPattern());
|
|
1293
1328
|
}
|
|
1294
1329
|
|
|
1295
|
-
|
|
1330
|
+
if (!oDomRef) {
|
|
1331
|
+
oDomRef = this.getDomRef();
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
oPicker.openBy(oDomRef);
|
|
1296
1335
|
oPicker.getContent()[0]._sMinutes = this._sMinutes;
|
|
1297
1336
|
oPicker.getContent()[0]._sSeconds = this._sSeconds;
|
|
1298
1337
|
|