@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
|
@@ -22,7 +22,9 @@ sap.ui.define([
|
|
|
22
22
|
"sap/base/strings/escapeRegExp",
|
|
23
23
|
"sap/m/inputUtils/forwardItemProperties",
|
|
24
24
|
"sap/m/inputUtils/highlightDOMElements",
|
|
25
|
-
"sap/m/inputUtils/ListHelpers"
|
|
25
|
+
"sap/m/inputUtils/ListHelpers",
|
|
26
|
+
"sap/ui/core/IconPool",
|
|
27
|
+
"sap/ui/core/Core"
|
|
26
28
|
],
|
|
27
29
|
function(
|
|
28
30
|
ComboBoxTextField,
|
|
@@ -42,7 +44,9 @@ sap.ui.define([
|
|
|
42
44
|
escapeRegExp,
|
|
43
45
|
forwardItemProperties,
|
|
44
46
|
highlightDOMElements,
|
|
45
|
-
ListHelpers
|
|
47
|
+
ListHelpers,
|
|
48
|
+
IconPool,
|
|
49
|
+
Core
|
|
46
50
|
) {
|
|
47
51
|
"use strict";
|
|
48
52
|
|
|
@@ -64,7 +68,7 @@ sap.ui.define([
|
|
|
64
68
|
* @abstract
|
|
65
69
|
*
|
|
66
70
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
71
|
+
* @version 1.97.0
|
|
68
72
|
*
|
|
69
73
|
* @constructor
|
|
70
74
|
* @public
|
|
@@ -98,7 +102,20 @@ sap.ui.define([
|
|
|
98
102
|
type: "boolean",
|
|
99
103
|
defaultValue: false,
|
|
100
104
|
hidden: true
|
|
101
|
-
}
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Specifies whether clear icon is shown.
|
|
109
|
+
* Pressing the icon will clear input's value and fire the change and liveChange events.
|
|
110
|
+
* @since 1.96
|
|
111
|
+
*/
|
|
112
|
+
showClearIcon: { type: "boolean", defaultValue: false },
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Specifies whether the clear icon should be shown/hidden on user interaction.
|
|
116
|
+
* @private
|
|
117
|
+
*/
|
|
118
|
+
effectiveShowClearIcon: { type: "boolean", defaultValue: false, visibility: "hidden" }
|
|
102
119
|
},
|
|
103
120
|
aggregations: {
|
|
104
121
|
|
|
@@ -146,6 +163,8 @@ sap.ui.define([
|
|
|
146
163
|
renderer: ComboBoxBaseRenderer
|
|
147
164
|
});
|
|
148
165
|
|
|
166
|
+
ComboBoxBase.ARROW_PRESSED_CSS_CLASS = "sapMComboBoxBaseArrowPressed";
|
|
167
|
+
|
|
149
168
|
/**
|
|
150
169
|
* Called when the composition of a passage of text has been completed or cancelled.
|
|
151
170
|
*
|
|
@@ -166,6 +185,17 @@ sap.ui.define([
|
|
|
166
185
|
/* Private methods */
|
|
167
186
|
/* =========================================================== */
|
|
168
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Determines if the clear icon should be visible or hidden based on the control's state
|
|
190
|
+
*
|
|
191
|
+
* @returns {boolean} True if the clear icon should be shown.
|
|
192
|
+
* @private
|
|
193
|
+
* @ui5-restricted sap.m.ComboBox,sap.m.MultiComboBox
|
|
194
|
+
*/
|
|
195
|
+
ComboBoxBase.prototype.shouldShowClearIcon = function () {
|
|
196
|
+
return this.getProperty("effectiveShowClearIcon") && !!this.getValue() && this.getEditable() && this.getEnabled();
|
|
197
|
+
};
|
|
198
|
+
|
|
169
199
|
/**
|
|
170
200
|
* Called whenever the binding of the aggregation items is changed.
|
|
171
201
|
* @param {string} sReason The reason for the update
|
|
@@ -234,16 +264,17 @@ sap.ui.define([
|
|
|
234
264
|
};
|
|
235
265
|
|
|
236
266
|
/**
|
|
237
|
-
* Decorates the Input
|
|
267
|
+
* Decorates the Input.
|
|
238
268
|
*
|
|
239
|
-
* @param
|
|
240
|
-
* @returns {*}
|
|
269
|
+
* @param {sap.m.InputBase} oInput The input which should be decorated
|
|
270
|
+
* @returns {*} The decorated input or undefined
|
|
241
271
|
* @private
|
|
242
272
|
* @ui5-restricted
|
|
243
273
|
*/
|
|
244
274
|
ComboBoxBase.prototype._decoratePopupInput = function (oInput) {
|
|
245
275
|
if (oInput) {
|
|
246
276
|
this.setTextFieldHandler(oInput);
|
|
277
|
+
oInput.setShowClearIcon(this.getShowClearIcon());
|
|
247
278
|
}
|
|
248
279
|
return oInput;
|
|
249
280
|
};
|
|
@@ -261,7 +292,7 @@ sap.ui.define([
|
|
|
261
292
|
oTextField._handleEvent = function(oEvent) {
|
|
262
293
|
oTextFieldHandleEvent.apply(this, arguments);
|
|
263
294
|
|
|
264
|
-
if (/keydown|sapdown|sapup|saphome|sapend|sappagedown|sappageup|input/.test(oEvent.type)) {
|
|
295
|
+
if (/keydown|keyup|sapdown|sapup|saphome|sapend|sappagedown|sappageup|input/.test(oEvent.type)) {
|
|
265
296
|
that._handleEvent(oEvent);
|
|
266
297
|
}
|
|
267
298
|
};
|
|
@@ -448,6 +479,66 @@ sap.ui.define([
|
|
|
448
479
|
return this._bItemsShownWithFilter;
|
|
449
480
|
};
|
|
450
481
|
|
|
482
|
+
/**
|
|
483
|
+
* Gets the clear icon.
|
|
484
|
+
*
|
|
485
|
+
* @returns {object} The clear icon
|
|
486
|
+
* @private
|
|
487
|
+
*/
|
|
488
|
+
ComboBoxBase.prototype._getClearIcon = function () {
|
|
489
|
+
if (this._oClearIcon) {
|
|
490
|
+
return this._oClearIcon;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
this._oClearIcon = this.addEndIcon({
|
|
494
|
+
src: IconPool.getIconURI("decline"),
|
|
495
|
+
noTabStop: true,
|
|
496
|
+
visible: false,
|
|
497
|
+
alt: this._oRb.getText("INPUT_CLEAR_ICON_ALT"),
|
|
498
|
+
useIconTooltip: false,
|
|
499
|
+
decorative: false,
|
|
500
|
+
press: this.handleClearIconPress.bind(this)
|
|
501
|
+
}, 0);
|
|
502
|
+
|
|
503
|
+
return this._oClearIcon;
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Function is called when the clear icon is pressed.
|
|
508
|
+
* Should be overwritten by subclasses.
|
|
509
|
+
*
|
|
510
|
+
* @param {jQuery.Event} oEvent The event object
|
|
511
|
+
* @protected
|
|
512
|
+
* @ui5-restricted sap.m.ComboBox, sap.m.MultiComboBox
|
|
513
|
+
*/
|
|
514
|
+
ComboBoxBase.prototype.handleClearIconPress = function (oEvent) {};
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Function is called on key up keyboard input.
|
|
518
|
+
*
|
|
519
|
+
* @param {jQuery.Event} oEvent The event object
|
|
520
|
+
* @private
|
|
521
|
+
*/
|
|
522
|
+
ComboBoxBase.prototype.onkeyup = function (oEvent) {
|
|
523
|
+
if (!this.getEnabled() || !this.getEditable()) {
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
this.getShowClearIcon() && this.setProperty("effectiveShowClearIcon", !!this.getValue());
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Sets the value property of the control.
|
|
532
|
+
*
|
|
533
|
+
* @param {string} sValue The new value
|
|
534
|
+
* @returns {this} this instance for method chaining
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
ComboBoxBase.prototype.setValue = function (sValue) {
|
|
538
|
+
ComboBoxTextField.prototype.setValue.apply(this, arguments);
|
|
539
|
+
this.setProperty("effectiveShowClearIcon", !!sValue);
|
|
540
|
+
return this;
|
|
541
|
+
};
|
|
451
542
|
|
|
452
543
|
/* =========================================================== */
|
|
453
544
|
/* Lifecycle methods */
|
|
@@ -455,6 +546,7 @@ sap.ui.define([
|
|
|
455
546
|
|
|
456
547
|
ComboBoxBase.prototype.init = function() {
|
|
457
548
|
ComboBoxTextField.prototype.init.apply(this, arguments);
|
|
549
|
+
this._oRb = Core.getLibraryResourceBundle("sap.m");
|
|
458
550
|
|
|
459
551
|
// sets the picker popup type
|
|
460
552
|
this.setPickerType(Device.system.phone ? "Dialog" : "Dropdown");
|
|
@@ -479,13 +571,13 @@ sap.ui.define([
|
|
|
479
571
|
this._bOnItemsLoadedScheduled = false;
|
|
480
572
|
this._bDoTypeAhead = true;
|
|
481
573
|
|
|
482
|
-
this.
|
|
574
|
+
this.getArrowIcon().addEventDelegate({
|
|
483
575
|
onmousedown: function (oEvent) {
|
|
484
576
|
this._bShouldClosePicker = this.isOpen();
|
|
485
577
|
}
|
|
486
578
|
}, this);
|
|
487
579
|
|
|
488
|
-
this.
|
|
580
|
+
this.getArrowIcon().attachPress(this._handlePopupOpenAndItemsLoad.bind(this, true, this));
|
|
489
581
|
|
|
490
582
|
// a method to define whether an item should be filtered in the picker
|
|
491
583
|
this.fnFilter = null;
|
|
@@ -520,21 +612,25 @@ sap.ui.define([
|
|
|
520
612
|
};
|
|
521
613
|
|
|
522
614
|
/**
|
|
523
|
-
* Fires when an object gets removed from the items aggregation
|
|
615
|
+
* Fires when an object gets removed from the items aggregation.
|
|
524
616
|
*
|
|
617
|
+
* @param {sap.ui.core.Item} oItem The item that should be removed
|
|
525
618
|
* @protected
|
|
526
619
|
*/
|
|
527
620
|
ComboBoxBase.prototype.handleItemRemoval = function (oItem) {};
|
|
528
621
|
|
|
529
622
|
/**
|
|
530
|
-
* Fires when an object gets inserted in the items aggregation
|
|
623
|
+
* Fires when an object gets inserted in the items aggregation.
|
|
531
624
|
*
|
|
625
|
+
* @param {sap.ui.core.Item} oItem The item that should be inserted
|
|
532
626
|
* @protected
|
|
533
627
|
*/
|
|
534
628
|
ComboBoxBase.prototype.handleItemInsertion = function (oItem) {};
|
|
535
629
|
|
|
536
630
|
/**
|
|
537
|
-
* Sets whether the list items should be recreated
|
|
631
|
+
* Sets whether the list items should be recreated.
|
|
632
|
+
*
|
|
633
|
+
* @param {boolean} bRecreate True if the list items should be recreated
|
|
538
634
|
* @protected
|
|
539
635
|
*/
|
|
540
636
|
ComboBoxBase.prototype.setRecreateItems = function (bRecreate) {
|
|
@@ -543,6 +639,8 @@ sap.ui.define([
|
|
|
543
639
|
|
|
544
640
|
/**
|
|
545
641
|
* Gets the flag indicating whether the list items should be recreated
|
|
642
|
+
*
|
|
643
|
+
* @returns {boolean} True if the list items should be recreated
|
|
546
644
|
* @protected
|
|
547
645
|
*/
|
|
548
646
|
ComboBoxBase.prototype.getRecreateItems = function () {
|
|
@@ -564,6 +662,12 @@ sap.ui.define([
|
|
|
564
662
|
it's new, because the old is already switched to have the value state header as parent */
|
|
565
663
|
this._updateSuggestionsPopoverValueState();
|
|
566
664
|
}
|
|
665
|
+
|
|
666
|
+
if (this.getShowClearIcon()) {
|
|
667
|
+
this._getClearIcon().setVisible(this.shouldShowClearIcon());
|
|
668
|
+
} else if (this._oClearIcon) {
|
|
669
|
+
this._getClearIcon().setVisible(false);
|
|
670
|
+
}
|
|
567
671
|
};
|
|
568
672
|
|
|
569
673
|
ComboBoxBase.prototype._handlePopupOpenAndItemsLoad = function (bOpenOnInteraction, oObjectToFocus) {
|
|
@@ -580,7 +684,7 @@ sap.ui.define([
|
|
|
580
684
|
// instead of closing and reopening the SuggestionsPopover we set the default filter
|
|
581
685
|
// and use it to show all items in the picker, while adding the correct style class to the
|
|
582
686
|
// ComboBoxes icon.
|
|
583
|
-
this.
|
|
687
|
+
this.toggleStyleClass(ComboBoxBase.ARROW_PRESSED_CSS_CLASS, true);
|
|
584
688
|
this.bOpenedByKeyboardOrButton = false;
|
|
585
689
|
this.clearFilter();
|
|
586
690
|
this._setItemsShownWithFilter(false);
|
|
@@ -614,6 +718,8 @@ sap.ui.define([
|
|
|
614
718
|
ComboBoxBase.prototype.exit = function() {
|
|
615
719
|
ComboBoxTextField.prototype.exit.apply(this, arguments);
|
|
616
720
|
|
|
721
|
+
this._oRb = null;
|
|
722
|
+
|
|
617
723
|
if (this._getGroupHeaderInvisibleText()) {
|
|
618
724
|
this._getGroupHeaderInvisibleText().destroy();
|
|
619
725
|
this._oGroupHeaderInvisibleText = null;
|
|
@@ -1026,7 +1132,7 @@ sap.ui.define([
|
|
|
1026
1132
|
ComboBoxBase.prototype.onBeforeOpen = function () {
|
|
1027
1133
|
this._updateSuggestionsPopoverValueState();
|
|
1028
1134
|
if (!this._getItemsShownWithFilter()) {
|
|
1029
|
-
this.
|
|
1135
|
+
this.toggleStyleClass(ComboBoxBase.ARROW_PRESSED_CSS_CLASS, true);
|
|
1030
1136
|
}
|
|
1031
1137
|
};
|
|
1032
1138
|
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.m.InputBase
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.97.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
ComboBoxTextField.prototype.init = function () {
|
|
76
76
|
InputBase.prototype.init.apply(this, arguments);
|
|
77
77
|
|
|
78
|
-
this.addEndIcon({
|
|
78
|
+
this._oArrowIcon = this.addEndIcon({
|
|
79
79
|
id: this.getId() + "-arrow",
|
|
80
80
|
src: "sap-icon://slim-arrow-down",
|
|
81
81
|
noTabStop: true,
|
|
@@ -86,13 +86,25 @@ sap.ui.define([
|
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* Returns the arrow icon
|
|
89
|
+
*
|
|
89
90
|
* @returns {sap.ui.core.Icon} Icon
|
|
90
|
-
* @
|
|
91
|
+
* @private
|
|
92
|
+
* @ui5-restricted sap.m.ComboBoxBase,sap.m.ComboBox,sap.m.MultiComboBox
|
|
91
93
|
*/
|
|
92
|
-
ComboBoxTextField.prototype.
|
|
93
|
-
return this.
|
|
94
|
+
ComboBoxTextField.prototype.getArrowIcon = function () {
|
|
95
|
+
return this._oArrowIcon;
|
|
94
96
|
};
|
|
95
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Returns the arrow icon
|
|
100
|
+
*
|
|
101
|
+
* Left for backward compatibility.
|
|
102
|
+
*
|
|
103
|
+
* @returns {sap.ui.core.Icon} Icon
|
|
104
|
+
* @protected
|
|
105
|
+
*/
|
|
106
|
+
ComboBoxTextField.prototype.getIcon = ComboBoxTextField.prototype.getArrowIcon;
|
|
107
|
+
|
|
96
108
|
/**
|
|
97
109
|
* Toggles the icon pressed style on or off.
|
|
98
110
|
*
|
|
@@ -107,7 +119,7 @@ sap.ui.define([
|
|
|
107
119
|
InputBase.prototype.onBeforeRendering.apply(this, arguments);
|
|
108
120
|
|
|
109
121
|
var aReferencingLabels = LabelEnablement.getReferencingLabels(this) || [],
|
|
110
|
-
oIcon = this.
|
|
122
|
+
oIcon = this.getArrowIcon();
|
|
111
123
|
|
|
112
124
|
oIcon.setVisible(this.getShowButton());
|
|
113
125
|
|
|
@@ -125,7 +137,7 @@ sap.ui.define([
|
|
|
125
137
|
*/
|
|
126
138
|
ComboBoxTextField.prototype.getOpenArea = function() {
|
|
127
139
|
// returns the div wrapping the icon
|
|
128
|
-
var oDomRef = this.
|
|
140
|
+
var oDomRef = this.getArrowIcon().getDomRef();
|
|
129
141
|
|
|
130
142
|
return oDomRef ? oDomRef.parentNode : oDomRef;
|
|
131
143
|
};
|
|
@@ -199,6 +211,8 @@ sap.ui.define([
|
|
|
199
211
|
|
|
200
212
|
ComboBoxTextField.prototype.exit = function() {
|
|
201
213
|
InputBase.prototype.exit.apply(this, arguments);
|
|
214
|
+
|
|
215
|
+
this._oArrowIcon = null;
|
|
202
216
|
};
|
|
203
217
|
|
|
204
218
|
return ComboBoxTextField;
|
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.97.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
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.97.0
|
|
152
152
|
*
|
|
153
153
|
* @constructor
|
|
154
154
|
* @public
|
|
@@ -211,7 +211,22 @@ sap.ui.define([
|
|
|
211
211
|
*
|
|
212
212
|
* @since 1.95
|
|
213
213
|
*/
|
|
214
|
-
showCurrentDateButton : {type : "boolean", group : "Behavior", defaultValue : false}
|
|
214
|
+
showCurrentDateButton : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Determines whether the input field of the picker is hidden or visible.
|
|
218
|
+
* When set to <code>true</code>, the input field becomes invisible and there is no way to open the picker popover.
|
|
219
|
+
* In that case it can be opened by another control through calling of picker's <code>openBy</code> method, and
|
|
220
|
+
* the opening control's DOM reference must be provided as parameter.
|
|
221
|
+
*
|
|
222
|
+
* Note: Since the picker is not responsible for accessibility attributes of the control which opens its popover,
|
|
223
|
+
* those attributes should be added by the application developer. The following is recommended to be added to the
|
|
224
|
+
* opening control: a text or tooltip that describes the action (example: "Open Date Picker"), and also aria-haspopup
|
|
225
|
+
* attribute with value of <code>sap.ui.core.aria.HasPopup.Dialog</code>.
|
|
226
|
+
*
|
|
227
|
+
* @since 1.97
|
|
228
|
+
*/
|
|
229
|
+
hideInput: { type: "boolean", group: "Misc", defaultValue: false }
|
|
215
230
|
|
|
216
231
|
},
|
|
217
232
|
|
|
@@ -1065,7 +1080,7 @@ sap.ui.define([
|
|
|
1065
1080
|
return this;
|
|
1066
1081
|
};
|
|
1067
1082
|
|
|
1068
|
-
function _open(){
|
|
1083
|
+
function _open(oDomRef){
|
|
1069
1084
|
this._createPopup();
|
|
1070
1085
|
|
|
1071
1086
|
this._createPopupContent();
|
|
@@ -1096,7 +1111,7 @@ sap.ui.define([
|
|
|
1096
1111
|
|
|
1097
1112
|
this._fillDateRange();
|
|
1098
1113
|
|
|
1099
|
-
this._openPopup();
|
|
1114
|
+
this._openPopup(oDomRef);
|
|
1100
1115
|
|
|
1101
1116
|
// Fire navigate event when the calendar popup opens
|
|
1102
1117
|
this.fireNavigate({
|
|
@@ -1162,13 +1177,33 @@ sap.ui.define([
|
|
|
1162
1177
|
};
|
|
1163
1178
|
|
|
1164
1179
|
// to be overwritten by DateTimePicker
|
|
1165
|
-
DatePicker.prototype._openPopup = function(){
|
|
1180
|
+
DatePicker.prototype._openPopup = function(oDomRef){
|
|
1166
1181
|
if (!this._oPopup) {
|
|
1167
1182
|
return;
|
|
1168
1183
|
}
|
|
1169
|
-
|
|
1170
|
-
|
|
1184
|
+
if (!oDomRef) {
|
|
1185
|
+
oDomRef = this.getDomRef();
|
|
1186
|
+
}
|
|
1187
|
+
this._oPopup._getPopup().setAutoCloseAreas([oDomRef]);
|
|
1188
|
+
this._oPopup.openBy(oDomRef || this);
|
|
1189
|
+
};
|
|
1171
1190
|
|
|
1191
|
+
/**
|
|
1192
|
+
* Opens the picker popover. The popover is positioned relatively to the control given as <code>oDomRef</code> parameter on tablet or desktop
|
|
1193
|
+
* and is full screen on phone. Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
|
|
1194
|
+
*
|
|
1195
|
+
* Note: use this method to open the picker popover only when the <code>hideInput</code> property is set to <code>true</code>. Please consider
|
|
1196
|
+
* opening of the picker popover by another control only in scenarios that comply with Fiori guidelines. For example, opening the picker popover
|
|
1197
|
+
* by another popover is not recommended.
|
|
1198
|
+
* The application developer should implement the following accessibility attributes to the opening control: a text or tooltip that describes
|
|
1199
|
+
* the action (example: "Open Date Picker"), and aria-haspopup attribute with value of <code>sap.ui.core.aria.HasPopup.Dialog</code>.
|
|
1200
|
+
*
|
|
1201
|
+
* @since 1.97
|
|
1202
|
+
* @param {HTMLElement} oDomRef DOM reference of the opening control. On tablet or desktop, the popover is positioned relatively to this control.
|
|
1203
|
+
* @public
|
|
1204
|
+
*/
|
|
1205
|
+
DatePicker.prototype.openBy = function(oDomRef) {
|
|
1206
|
+
_open.call(this, oDomRef);
|
|
1172
1207
|
};
|
|
1173
1208
|
|
|
1174
1209
|
/**
|
|
@@ -1563,8 +1598,6 @@ sap.ui.define([
|
|
|
1563
1598
|
|
|
1564
1599
|
}
|
|
1565
1600
|
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
1601
|
function _checkSpecialDate(oSpecialDate) {
|
|
1569
1602
|
|
|
1570
1603
|
var DateTypeRange = sap.ui.require("sap/ui/unified/DateTypeRange");
|
|
@@ -65,6 +65,19 @@ sap.ui.define(['sap/ui/core/Renderer', './InputBaseRenderer', 'sap/ui/core/libra
|
|
|
65
65
|
return mAccessibilityState;
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
+
/**
|
|
69
|
+
* Adds specific class to hide the <code>DatePicker</code> input field when the <code>hideInput</code> property is set to <code>true</code>.
|
|
70
|
+
* @protected
|
|
71
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
72
|
+
* @param {sap.ui.core.Control} oControl An object representation of the control that should be rendered.
|
|
73
|
+
*/
|
|
74
|
+
DatePickerRenderer.addOuterClasses = function(oRm, oControl) {
|
|
75
|
+
if (oControl.getHideInput()) {
|
|
76
|
+
oRm.class("sapMDatePickerHiddenInput");
|
|
77
|
+
}
|
|
78
|
+
InputBaseRenderer.addOuterClasses.apply(this, arguments);
|
|
79
|
+
};
|
|
80
|
+
|
|
68
81
|
return DatePickerRenderer;
|
|
69
82
|
|
|
70
83
|
}, /* bExport= */ true);
|
|
@@ -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.97.0
|
|
130
|
+
* @version 1.97.0
|
|
131
131
|
*
|
|
132
132
|
* @constructor
|
|
133
133
|
* @public
|