@openui5/sap.m 1.106.0 → 1.107.1
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/package.json +4 -4
- package/src/sap/m/.library +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- 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 +4 -3
- 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/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- 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 +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
package/src/sap/m/Input.js
CHANGED
|
@@ -157,376 +157,378 @@ function(
|
|
|
157
157
|
* @extends sap.m.InputBase
|
|
158
158
|
* @implements sap.ui.core.IAccessKeySupport
|
|
159
159
|
* @author SAP SE
|
|
160
|
-
* @version 1.
|
|
160
|
+
* @version 1.107.1
|
|
161
161
|
*
|
|
162
162
|
* @constructor
|
|
163
163
|
* @public
|
|
164
164
|
* @alias sap.m.Input
|
|
165
165
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/input-field/ Input}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
accesskey: { type: "string", defaultValue: "", visibility: "hidden" }
|
|
357
|
-
},
|
|
358
|
-
defaultAggregation : "suggestionItems",
|
|
359
|
-
aggregations : {
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* Defines the items displayed in the suggestion popup. Changing this aggregation
|
|
363
|
-
* (by calling <code>addSuggestionItem</code>, <code>insertSuggestionItem</code>,
|
|
364
|
-
* <code>removeSuggestionItem</code>, <code>removeAllSuggestionItems</code>, or
|
|
365
|
-
* <code>destroySuggestionItems</code>) after <code>Input</code> is rendered
|
|
366
|
-
* opens/closes the suggestion popup.
|
|
367
|
-
*
|
|
368
|
-
* To display suggestions with two text values, add <code>sap.ui.core.ListItem</code>
|
|
369
|
-
* as <code>SuggestionItems</code> (since 1.21.1). For the selected
|
|
370
|
-
* <code>ListItem</code>, only the first value is returned to the input field.
|
|
371
|
-
*
|
|
372
|
-
* <b>Note:</b> Only <code>text</code> and <code>additionalText</code> property values
|
|
373
|
-
* of the item are displayed. For example, if an <code>icon</code> is set, it is
|
|
374
|
-
* ignored. To display more information per item (including icons), you can use the
|
|
375
|
-
* <code>suggestionRows</code> aggregation.
|
|
376
|
-
*
|
|
377
|
-
* <b>Note:</b> Disabled items are not visualized in the list with the suggestions,
|
|
378
|
-
* however they can still be accessed through the aggregation.
|
|
379
|
-
* <b>Note:</b> If <code>suggestionItems</code> & <code>suggestionRows</code> are set in parallel, the last aggeragtion to come would overwrite the previous ones.
|
|
380
|
-
*
|
|
381
|
-
* @since 1.16.1
|
|
382
|
-
*/
|
|
383
|
-
suggestionItems : {type : "sap.ui.core.Item", multiple : true, singularName : "suggestionItem"},
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* The suggestionColumns and suggestionRows are for tabular input suggestions. This aggregation allows for binding the table columns; for more details see the aggregation "suggestionRows".
|
|
387
|
-
* @since 1.21.1
|
|
388
|
-
*/
|
|
389
|
-
suggestionColumns : {type : "sap.m.Column", multiple : true, singularName : "suggestionColumn", bindable : "bindable", forwarding: {getter:"_getSuggestionsTable", aggregation: "columns"}},
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* The suggestionColumns and suggestionRows are for tabular input suggestions. This aggregation allows for binding the table cells.
|
|
393
|
-
* The items of this aggregation are to be bound directly or to set in the suggest event method.
|
|
394
|
-
* <b>Note:</b> If <code>suggestionItems</code> & <code>suggestionRows</code> are set in parallel, the last aggeragtion to come would overwrite the previous ones.
|
|
395
|
-
* @since 1.21.1
|
|
396
|
-
*/
|
|
397
|
-
suggestionRows : {type : "sap.m.ColumnListItem", altTypes: ["sap.m.GroupHeaderListItem"], multiple : true, singularName : "suggestionRow", bindable : "bindable", forwarding: {getter: "_getSuggestionsTable", aggregation: "items"}},
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* The suggestion popup (can be a Dialog or Popover); aggregation needed to also propagate the model and bindings to the content of the popover
|
|
401
|
-
*/
|
|
402
|
-
_suggestionPopup : {type : "sap.ui.core.Control", multiple: false, visibility: "hidden"},
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* The icon on the right side of the Input
|
|
406
|
-
*/
|
|
407
|
-
_valueHelpIcon : {type : "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
408
|
-
},
|
|
409
|
-
associations: {
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Sets or retrieves the selected item from the suggestionItems.
|
|
413
|
-
* @since 1.44
|
|
414
|
-
*/
|
|
415
|
-
selectedItem: {type: "sap.ui.core.Item", multiple: false},
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Sets or retrieves the selected row from the suggestionRows.
|
|
419
|
-
* @since 1.44
|
|
420
|
-
*/
|
|
421
|
-
selectedRow: {type: "sap.m.ColumnListItem", multiple: false}
|
|
422
|
-
},
|
|
423
|
-
events : {
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* Fired when the value of the input is changed by user interaction - each keystroke, delete, paste, etc.
|
|
427
|
-
*
|
|
428
|
-
* <b>Note:</b> Browsing autocomplete suggestions does not fire the event.
|
|
429
|
-
*/
|
|
430
|
-
liveChange : {
|
|
431
|
-
parameters : {
|
|
432
|
-
/**
|
|
433
|
-
* The current value of the input, after a live change event.
|
|
434
|
-
*/
|
|
435
|
-
value : {type : "string"},
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Indicates that ESC key triggered the event. <b>Note:</b> This parameter will not be sent unless the ESC key is pressed.
|
|
439
|
-
* @since 1.48
|
|
440
|
-
*/
|
|
441
|
-
escPressed : {type : "boolean"},
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* The value of the input before pressing ESC key. <b>Note:</b> This parameter will not be sent unless the ESC key is pressed.
|
|
445
|
-
* @since 1.48
|
|
446
|
-
*/
|
|
447
|
-
previousValue : {type : "string"}
|
|
448
|
-
}
|
|
166
|
+
*/
|
|
167
|
+
var Input = InputBase.extend("sap.m.Input", /** @lends sap.m.Input.prototype */ {
|
|
168
|
+
metadata : {
|
|
169
|
+
interfaces : [
|
|
170
|
+
"sap.ui.core.IAccessKeySupport"
|
|
171
|
+
],
|
|
172
|
+
library : "sap.m",
|
|
173
|
+
properties : {
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* HTML type of the internal <code>input</code> tag (e.g. Text, Number, Email, Phone).
|
|
177
|
+
* The particular effect of this property differs depending on the browser and the current language settings,
|
|
178
|
+
* especially for the type Number.<br>
|
|
179
|
+
* This parameter is intended to be used with touch devices that use different soft keyboard layouts depending on the given input type.<br>
|
|
180
|
+
* Only the default value <code>sap.m.InputType.Text</code> may be used in combination with data model formats.
|
|
181
|
+
* <code>sap.ui.model</code> defines extended formats that are mostly incompatible with normal HTML
|
|
182
|
+
* representations for numbers and dates.
|
|
183
|
+
*/
|
|
184
|
+
type : {type : "sap.m.InputType", group : "Data", defaultValue : InputType.Text},
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Maximum number of characters. Value '0' means the feature is switched off.
|
|
188
|
+
* This parameter is not compatible with the input type <code>sap.m.InputType.Number</code>.
|
|
189
|
+
* If the input type is set to <code>Number</code>, the <code>maxLength</code> value is ignored.
|
|
190
|
+
* If the <code>maxLength</code> is set after there is already a longer value, this value will not get truncated.
|
|
191
|
+
* The <code>maxLength</code> property has effect only when the value is modified by user interaction.
|
|
192
|
+
*/
|
|
193
|
+
maxLength : {type : "int", group : "Behavior", defaultValue : 0},
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Only used if type=date and no datepicker is available.
|
|
197
|
+
* The data is displayed and the user input is parsed according to this format.
|
|
198
|
+
* <b>Note:</b> The value property is always of the form RFC 3339 (YYYY-MM-dd).
|
|
199
|
+
* @deprecated Since version 1.9.1.
|
|
200
|
+
* <code>sap.m.DatePicker</code>, <code>sap.m.TimePicker</code> or <code>sap.m.DateTimePicker</code> should be used for date/time inputs and formating.
|
|
201
|
+
*/
|
|
202
|
+
dateFormat : {type : "string", group : "Misc", defaultValue : 'YYYY-MM-dd', deprecated: true},
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* If set to true, a value help indicator will be displayed inside the control. When clicked the event "valueHelpRequest" will be fired.
|
|
206
|
+
* @since 1.16
|
|
207
|
+
*/
|
|
208
|
+
showValueHelp : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Set custom value help icon.
|
|
212
|
+
* @since 1.84.0
|
|
213
|
+
*/
|
|
214
|
+
valueHelpIconSrc : {type : "sap.ui.core.URI", group : "Behavior", defaultValue : "sap-icon://value-help"},
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* If this is set to true, suggest event is fired when user types in the input. Changing the suggestItems aggregation in suggest event listener will show suggestions within a popup. When runs on phone, input will first open a dialog where the input and suggestions are shown. When runs on a tablet, the suggestions are shown in a popup next to the input.
|
|
218
|
+
* @since 1.16.1
|
|
219
|
+
*/
|
|
220
|
+
showSuggestion : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* If set to true, direct text input is disabled and the control will trigger the event "valueHelpRequest" for all user interactions. The properties "showValueHelp", "editable", and "enabled" must be set to true, otherwise the property will have no effect.
|
|
224
|
+
* In this scenario, the <code>showItems</code> API will not work.
|
|
225
|
+
* @since 1.21.0
|
|
226
|
+
*/
|
|
227
|
+
valueHelpOnly : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Defines whether to filter the provided suggestions before showing them to the user.
|
|
231
|
+
*/
|
|
232
|
+
filterSuggests : {type : "boolean", group : "Behavior", defaultValue : true},
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* If set, the value of this parameter will control the horizontal size of the suggestion list to display more data. This allows suggestion lists to be wider than the input field if there is enough space available. By default, the suggestion list is always as wide as the input field.
|
|
236
|
+
* <b>Note:</b> The value will be ignored if the actual width of the input field is larger than the specified parameter value.
|
|
237
|
+
* @since 1.21.1
|
|
238
|
+
*/
|
|
239
|
+
maxSuggestionWidth : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Minimum length of the entered text in input before suggest event is fired. The default value is 1 which means the suggest event is fired after user types in input.
|
|
243
|
+
*
|
|
244
|
+
* <b>Note:</b> When it's set to 0, suggest event is fired when input with no text gets focus. In this case no suggestion popup will open.
|
|
245
|
+
* @since 1.21.2
|
|
246
|
+
*/
|
|
247
|
+
startSuggestion : {type : "int", group : "Behavior", defaultValue : 1},
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* For tabular suggestions, this flag will show/hide the button at the end of the suggestion table that triggers the event "valueHelpRequest" when pressed. The default value is true.
|
|
251
|
+
*
|
|
252
|
+
* <b>Note:</b> If suggestions are not tabular or no suggestions are used, the button will not be displayed and this flag is without effect.
|
|
253
|
+
* @since 1.22.1
|
|
254
|
+
*/
|
|
255
|
+
showTableSuggestionValueHelp : {type : "boolean", group : "Behavior", defaultValue : true},
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The description is a text after the input field, e.g. units of measurement, currencies.
|
|
259
|
+
*/
|
|
260
|
+
description: { type: "string", group: "Misc", defaultValue: null },
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* This property only takes effect if the description property is set. It controls the distribution of space between the input field and the description text. The default value is 50% leaving the other 50% for the description.
|
|
264
|
+
*/
|
|
265
|
+
fieldWidth: { type: "sap.ui.core.CSSSize", group: "Appearance", defaultValue: '50%' },
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Indicates when the value gets updated with the user changes: At each keystroke (true) or first when the user presses enter or tabs out (false).
|
|
269
|
+
*
|
|
270
|
+
* <b>Note:</b> When set to true and the value of the Input control is bound to a model, the change event becomes obsolete and will not be fired, as the value in the model will be updated each time the user provides input. In such cases, subscription to the liveChange event is more appropriate, as it corresponds to the way the underlying model gets updated.
|
|
271
|
+
* @since 1.24
|
|
272
|
+
*/
|
|
273
|
+
valueLiveUpdate : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
274
|
+
/**
|
|
275
|
+
* Defines the key of the selected item.
|
|
276
|
+
*
|
|
277
|
+
* <b>Note:</b> If duplicate keys exist, the first item matching the key is used.
|
|
278
|
+
* @since 1.44
|
|
279
|
+
*/
|
|
280
|
+
selectedKey: {type: "string", group: "Data", defaultValue: ""},
|
|
281
|
+
/**
|
|
282
|
+
* Defines the display text format mode.
|
|
283
|
+
* @since 1.44
|
|
284
|
+
*/
|
|
285
|
+
textFormatMode: {type: "sap.m.InputTextFormatMode", group: "Misc", defaultValue: InputTextFormatMode.Value},
|
|
286
|
+
/**
|
|
287
|
+
* Defines the display text formatter function.
|
|
288
|
+
* @since 1.44
|
|
289
|
+
*/
|
|
290
|
+
textFormatter: {type: "function", group: "Misc", defaultValue: null},
|
|
291
|
+
/**
|
|
292
|
+
* Defines the validation callback function called when a suggestion row gets selected.
|
|
293
|
+
* @since 1.44
|
|
294
|
+
*/
|
|
295
|
+
suggestionRowValidator: {type: "function", group: "Misc", defaultValue: null},
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Specifies whether the suggestions highlighting is enabled.
|
|
299
|
+
* @since 1.46
|
|
300
|
+
*/
|
|
301
|
+
enableSuggestionsHighlighting: {type: "boolean", group: "Behavior", defaultValue: true},
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Enables the <code>autoPopinMode</code> of <code>sap.m.Table</code>, when the input has tabular suggestions.
|
|
305
|
+
* <b>Note:</b> The <code>autoPopinMode</code> overwrites the <code>demandPopin</code> and the
|
|
306
|
+
* <code>minScreenWidth</code> properties of the <code>sap.m.Column</code>.
|
|
307
|
+
* When setting, <code>enableTableAutoPopinMode</code>, from true to false,
|
|
308
|
+
* the application must reconfigure the <code>demandPopin</code> and
|
|
309
|
+
* <code>minScreenWidth</code> properties of the <code>sap.m.Column</code> control by itself.
|
|
310
|
+
* @since 1.89
|
|
311
|
+
*/
|
|
312
|
+
enableTableAutoPopinMode: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Specifies whether autocomplete is enabled.
|
|
316
|
+
* Works only if "showSuggestion" property is set to true.
|
|
317
|
+
* <b>Note:</b> The autocomplete feature is disabled on Android devices due to a OS specific issue.
|
|
318
|
+
* @since 1.61
|
|
319
|
+
*/
|
|
320
|
+
autocomplete: {type: "boolean", group: "Behavior", defaultValue: true},
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Specifies whether clear icon is shown.
|
|
324
|
+
* Pressing the icon will clear input's value and fire the change and liveChange events.
|
|
325
|
+
* @since 1.94
|
|
326
|
+
*/
|
|
327
|
+
showClearIcon: { type: "boolean", defaultValue: false },
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Specifies whether the clear icon should be shown/hidden on user interaction.
|
|
331
|
+
* @private
|
|
332
|
+
*/
|
|
333
|
+
effectiveShowClearIcon: { type: "boolean", defaultValue: false, visibility: "hidden" },
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Specifies whether to display separators in tabular suggestions.
|
|
337
|
+
* @private
|
|
338
|
+
*/
|
|
339
|
+
separateSuggestions: { type: "boolean", defaultValue: false, visibility: "hidden" },
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Indicates whether the access keys ref of the control should be highlighted.
|
|
343
|
+
* NOTE: this property is used only when access keys feature is turned on.
|
|
344
|
+
*
|
|
345
|
+
* @private
|
|
346
|
+
*/
|
|
347
|
+
highlightAccKeysRef: { type: "boolean", defaultValue: false, visibility: "hidden" },
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Indicates which keyboard key should be pressed to focus the access key ref
|
|
351
|
+
* NOTE: this property is used only when access keys feature is turned on.
|
|
352
|
+
*
|
|
353
|
+
* @private
|
|
354
|
+
*/
|
|
355
|
+
accesskey: { type: "string", defaultValue: "", visibility: "hidden" }
|
|
449
356
|
},
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
357
|
+
defaultAggregation : "suggestionItems",
|
|
358
|
+
aggregations : {
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Defines the items displayed in the suggestion popup. Changing this aggregation
|
|
362
|
+
* (by calling <code>addSuggestionItem</code>, <code>insertSuggestionItem</code>,
|
|
363
|
+
* <code>removeSuggestionItem</code>, <code>removeAllSuggestionItems</code>, or
|
|
364
|
+
* <code>destroySuggestionItems</code>) after <code>Input</code> is rendered
|
|
365
|
+
* opens/closes the suggestion popup.
|
|
366
|
+
*
|
|
367
|
+
* To display suggestions with two text values, add <code>sap.ui.core.ListItem</code>
|
|
368
|
+
* as <code>SuggestionItems</code> (since 1.21.1). For the selected
|
|
369
|
+
* <code>ListItem</code>, only the first value is returned to the input field.
|
|
370
|
+
*
|
|
371
|
+
* <b>Note:</b> Only <code>text</code> and <code>additionalText</code> property values
|
|
372
|
+
* of the item are displayed. For example, if an <code>icon</code> is set, it is
|
|
373
|
+
* ignored. To display more information per item (including icons), you can use the
|
|
374
|
+
* <code>suggestionRows</code> aggregation.
|
|
375
|
+
*
|
|
376
|
+
* <b>Note:</b> Disabled items are not visualized in the list with the suggestions,
|
|
377
|
+
* however they can still be accessed through the aggregation.
|
|
378
|
+
* <b>Note:</b> If <code>suggestionItems</code> & <code>suggestionRows</code> are set in parallel, the last aggeragtion to come would overwrite the previous ones.
|
|
379
|
+
*
|
|
380
|
+
* @since 1.16.1
|
|
381
|
+
*/
|
|
382
|
+
suggestionItems : {type : "sap.ui.core.Item", multiple : true, singularName : "suggestionItem"},
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* The suggestionColumns and suggestionRows are for tabular input suggestions. This aggregation allows for binding the table columns; for more details see the aggregation "suggestionRows".
|
|
386
|
+
* @since 1.21.1
|
|
387
|
+
*/
|
|
388
|
+
suggestionColumns : {type : "sap.m.Column", multiple : true, singularName : "suggestionColumn", bindable : "bindable", forwarding: {getter:"_getSuggestionsTable", aggregation: "columns"}},
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* The suggestionColumns and suggestionRows are for tabular input suggestions. This aggregation allows for binding the table cells.
|
|
392
|
+
* The items of this aggregation are to be bound directly or to set in the suggest event method.
|
|
393
|
+
* <b>Note:</b> If <code>suggestionItems</code> & <code>suggestionRows</code> are set in parallel, the last aggeragtion to come would overwrite the previous ones.
|
|
394
|
+
* @since 1.21.1
|
|
395
|
+
*/
|
|
396
|
+
suggestionRows : {type : "sap.m.ColumnListItem", altTypes: ["sap.m.GroupHeaderListItem"], multiple : true, singularName : "suggestionRow", bindable : "bindable", forwarding: {getter: "_getSuggestionsTable", aggregation: "items"}},
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* The suggestion popup (can be a Dialog or Popover); aggregation needed to also propagate the model and bindings to the content of the popover
|
|
400
|
+
*/
|
|
401
|
+
_suggestionPopup : {type : "sap.ui.core.Control", multiple: false, visibility: "hidden"},
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* The icon on the right side of the Input
|
|
405
|
+
*/
|
|
406
|
+
_valueHelpIcon : {type : "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
463
407
|
},
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* The suggestion list is passed to this event for convenience. If you use list-based or tabular suggestions, fill the suggestionList with the items you want to suggest. Otherwise, directly add the suggestions to the "suggestionItems" aggregation of the input control.
|
|
479
|
-
*/
|
|
480
|
-
suggestionColumns : {type : "sap.m.ListBase"}
|
|
481
|
-
}
|
|
408
|
+
associations: {
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Sets or retrieves the selected item from the suggestionItems.
|
|
412
|
+
* @since 1.44
|
|
413
|
+
*/
|
|
414
|
+
selectedItem: {type: "sap.ui.core.Item", multiple: false},
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Sets or retrieves the selected row from the suggestionRows.
|
|
418
|
+
* @since 1.44
|
|
419
|
+
*/
|
|
420
|
+
selectedRow: {type: "sap.m.ColumnListItem", multiple: false}
|
|
482
421
|
},
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
422
|
+
events : {
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Fired when the value of the input is changed by user interaction - each keystroke, delete, paste, etc.
|
|
426
|
+
*
|
|
427
|
+
* <b>Note:</b> Browsing autocomplete suggestions does not fire the event.
|
|
428
|
+
*/
|
|
429
|
+
liveChange : {
|
|
430
|
+
parameters : {
|
|
431
|
+
/**
|
|
432
|
+
* The current value of the input, after a live change event.
|
|
433
|
+
*/
|
|
434
|
+
value : {type : "string"},
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Indicates that ESC key triggered the event. <b>Note:</b> This parameter will not be sent unless the ESC key is pressed.
|
|
438
|
+
* @since 1.48
|
|
439
|
+
*/
|
|
440
|
+
escPressed : {type : "boolean"},
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* The value of the input before pressing ESC key. <b>Note:</b> This parameter will not be sent unless the ESC key is pressed.
|
|
444
|
+
* @since 1.48
|
|
445
|
+
*/
|
|
446
|
+
previousValue : {type : "string"}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* When the value help indicator is clicked, this event will be fired.
|
|
452
|
+
* @since 1.16
|
|
453
|
+
*/
|
|
454
|
+
valueHelpRequest : {
|
|
455
|
+
parameters : {
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* The event parameter is set to true, when the button at the end of the suggestion table is clicked, otherwise false. It can be used to determine whether the "value help" trigger or the "show all items" trigger has been pressed.
|
|
459
|
+
*/
|
|
460
|
+
fromSuggestions : {type : "boolean"}
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* This event is fired when user types in the input and showSuggestion is set to true. Changing the suggestItems aggregation will show the suggestions within a popup.
|
|
466
|
+
* @since 1.16.1
|
|
467
|
+
*/
|
|
468
|
+
suggest : {
|
|
469
|
+
parameters : {
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The current value which has been typed in the input.
|
|
473
|
+
*/
|
|
474
|
+
suggestValue : {type : "string"},
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* The suggestion list is passed to this event for convenience. If you use list-based or tabular suggestions, fill the suggestionList with the items you want to suggest. Otherwise, directly add the suggestions to the "suggestionItems" aggregation of the input control.
|
|
478
|
+
*/
|
|
479
|
+
suggestionColumns : {type : "sap.m.ListBase"}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* This event is fired when suggestionItem shown in suggestion popup are selected. This event is only fired when showSuggestion is set to true and there are suggestionItems shown in the suggestion popup.
|
|
485
|
+
* @since 1.16.3
|
|
486
|
+
*/
|
|
487
|
+
suggestionItemSelected : {
|
|
488
|
+
parameters : {
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* This is the item selected in the suggestion popup for one and two-value suggestions. For tabular suggestions, this value will not be set.
|
|
492
|
+
*/
|
|
493
|
+
selectedItem : {type : "sap.ui.core.Item"},
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* This is the row selected in the tabular suggestion popup represented as a ColumnListItem. For one and two-value suggestions, this value will not be set.
|
|
497
|
+
*
|
|
498
|
+
* <b>Note:</b> The row result function to select a result value for the string is already executed at this time. To pick different value for the input field or to do follow up steps after the item has been selected.
|
|
499
|
+
* @since 1.21.1
|
|
500
|
+
*/
|
|
501
|
+
selectedRow : {type : "sap.m.ColumnListItem"}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* This event is fired when user presses the <kbd>Enter</kbd> key on the input.
|
|
507
|
+
*
|
|
508
|
+
* <b>Notes:</b>
|
|
509
|
+
* <ul>
|
|
510
|
+
* <li>The event is fired independent of whether there was a change before or not. If a change was performed, the event is fired after the change event.</li>
|
|
511
|
+
* <li>The event is also fired when an item of the select list is selected via <kbd>Enter</kbd>.</li>
|
|
512
|
+
* <li>The event is only fired on an input which allows text input (<code>editable</code>, <code>enabled</code> and not <code>valueHelpOnly</code>).</li>
|
|
513
|
+
* </ul>
|
|
514
|
+
*
|
|
515
|
+
* @since 1.33.0
|
|
516
|
+
*/
|
|
517
|
+
submit : {
|
|
518
|
+
parameters: {
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* The new value of the input.
|
|
522
|
+
*/
|
|
523
|
+
value: { type: "string" }
|
|
524
|
+
}
|
|
503
525
|
}
|
|
504
526
|
},
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* This event is fired when user presses the <kbd>Enter</kbd> key on the input.
|
|
508
|
-
*
|
|
509
|
-
* <b>Notes:</b>
|
|
510
|
-
* <ul>
|
|
511
|
-
* <li>The event is fired independent of whether there was a change before or not. If a change was performed, the event is fired after the change event.</li>
|
|
512
|
-
* <li>The event is also fired when an item of the select list is selected via <kbd>Enter</kbd>.</li>
|
|
513
|
-
* <li>The event is only fired on an input which allows text input (<code>editable</code>, <code>enabled</code> and not <code>valueHelpOnly</code>).</li>
|
|
514
|
-
* </ul>
|
|
515
|
-
*
|
|
516
|
-
* @since 1.33.0
|
|
517
|
-
*/
|
|
518
|
-
submit : {
|
|
519
|
-
parameters: {
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* The new value of the input.
|
|
523
|
-
*/
|
|
524
|
-
value: { type: "string" }
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
+
designtime: "sap/m/designtime/Input.designtime"
|
|
527
528
|
},
|
|
528
|
-
|
|
529
|
-
|
|
529
|
+
|
|
530
|
+
renderer: InputRenderer
|
|
531
|
+
});
|
|
530
532
|
|
|
531
533
|
|
|
532
534
|
IconPool.insertFontFaceStyle();
|
|
@@ -1278,7 +1280,6 @@ function(
|
|
|
1278
1280
|
* @param {function} fnFilter The filter function is called when displaying suggestion items and has two input parameters: the first one is the string that is currently typed in the input field and the second one is the item that is being filtered. Returning true will add this item to the popup, returning false will not display it.
|
|
1279
1281
|
* @returns {this} this pointer for chaining
|
|
1280
1282
|
* @since 1.16.1
|
|
1281
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1282
1283
|
*/
|
|
1283
1284
|
Input.prototype.setFilterFunction = function(fnFilter) {
|
|
1284
1285
|
// reset to default function when calling with null or undefined
|
|
@@ -1317,7 +1318,6 @@ function(
|
|
|
1317
1318
|
* @param {function} fnFilter The result function is called with one parameter: the sap.m.ColumnListItem that is selected. The function must return a result string that will be displayed as the input field's value.
|
|
1318
1319
|
* @returns {this} this pointer for chaining
|
|
1319
1320
|
* @since 1.21.1
|
|
1320
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1321
1321
|
*/
|
|
1322
1322
|
Input.prototype.setRowResultFunction = function(fnFilter) {
|
|
1323
1323
|
var sSelectedRow;
|
|
@@ -1515,14 +1515,20 @@ function(
|
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
1517
|
this.bValueHelpRequested = false;
|
|
1518
|
-
};
|
|
1519
1518
|
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
if (
|
|
1525
|
-
//
|
|
1519
|
+
if (!this._sProposedItemText && this.isMobileDevice()) {
|
|
1520
|
+
return;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
if (this.getShowSuggestion() && this._bAfterOpenFinisihed) {
|
|
1524
|
+
// Ensure that the selected item is going to be updated after
|
|
1525
|
+
// the closing of the popup when there is a proposed item due
|
|
1526
|
+
// to the typeahead, but no direct navigation is performed
|
|
1527
|
+
this.setSelectionUpdatedFromList(true);
|
|
1528
|
+
} else {
|
|
1529
|
+
// Update selections for poweruser -
|
|
1530
|
+
// the user has typed and focused out before the popup is opened,
|
|
1531
|
+
// but there is a proposed item due to the typeahead
|
|
1526
1532
|
var oSelectedItem = this.getSuggestionItems()
|
|
1527
1533
|
.filter(function (oItem) {
|
|
1528
1534
|
return oItem.getText() === this._sProposedItemText;
|
|
@@ -3319,7 +3325,7 @@ function(
|
|
|
3319
3325
|
* Setter for the separateSuggestions property representing whether to display separators in tabular suggestions.
|
|
3320
3326
|
*
|
|
3321
3327
|
* @private
|
|
3322
|
-
* @ui5-restricted sap.ui.comp.
|
|
3328
|
+
* @ui5-restricted sap.ui.comp.providers.ValueListProvider
|
|
3323
3329
|
* @param {boolean} bValue The new value for the property.
|
|
3324
3330
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
3325
3331
|
*/
|