@openui5/sap.m 1.92.0 → 1.95.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 -6
- package/THIRDPARTY.txt +4 -10
- 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 +5 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -4
- package/src/sap/m/Bar.js +26 -7
- 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 +42 -6
- package/src/sap/m/Carousel.js +11 -3
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +9 -4
- package/src/sap/m/CheckBoxRenderer.js +12 -3
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +9 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +8 -2
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +5 -2
- package/src/sap/m/ComboBoxRenderer.js +25 -9
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +6 -2
- 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 +30 -3
- package/src/sap/m/DatePickerRenderer.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +69 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +15 -8
- package/src/sap/m/Dialog.js +31 -93
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +67 -13
- package/src/sap/m/DynamicDateFormat.js +12 -1
- package/src/sap/m/DynamicDateOption.js +56 -16
- package/src/sap/m/DynamicDateRange.js +136 -23
- package/src/sap/m/DynamicDateUtil.js +20 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +4 -2
- package/src/sap/m/FacetFilter.js +47 -16
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +2 -2
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +5 -2
- 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 +32 -67
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +9 -3
- package/src/sap/m/GenericTileRenderer.js +46 -8
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +31 -34
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +53 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +2 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +75 -37
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +21 -7
- package/src/sap/m/IconTabHeaderRenderer.js +1 -0
- 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 +131 -37
- package/src/sap/m/InputBase.js +13 -6
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +2 -2
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +2 -2
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +61 -24
- package/src/sap/m/ListItemBase.js +22 -21
- 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 +21 -4
- package/src/sap/m/MenuButtonRenderer.js +1 -0
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +31 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -4
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageStripUtilities.js +15 -2
- package/src/sap/m/MessageToast.js +2 -2
- package/src/sap/m/MessageView.js +10 -10
- package/src/sap/m/MultiComboBox.js +164 -163
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +54 -6
- package/src/sap/m/NavContainer.js +20 -9
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectHeaderRenderer.js +9 -7
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +13 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +8 -2
- 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 +2 -2
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +14 -5
- 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 +260 -54
- package/src/sap/m/PlanningCalendarHeader.js +36 -5
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -0
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +26 -2
- package/src/sap/m/Popover.js +15 -6
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +5 -5
- 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 +78 -36
- 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 +38 -20
- package/src/sap/m/SearchFieldRenderer.js +29 -15
- package/src/sap/m/SegmentedButton.js +12 -17
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +36 -17
- package/src/sap/m/SelectDialog.js +21 -49
- package/src/sap/m/SelectDialogBase.js +148 -0
- package/src/sap/m/SelectList.js +13 -3
- package/src/sap/m/SelectRenderer.js +15 -3
- package/src/sap/m/SelectionDetails.js +5 -2
- 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 +9 -17
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +4 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +57 -7
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +3 -3
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +2 -2
- 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 +3 -7
- package/src/sap/m/SplitContainer.js +4 -5
- package/src/sap/m/StandardDynamicDateOption.js +45 -10
- package/src/sap/m/StandardListItem.js +63 -13
- package/src/sap/m/StandardListItemRenderer.js +21 -9
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +22 -5
- package/src/sap/m/Suggest.js +25 -25
- 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 +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +49 -9
- 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/TableRenderer.js +6 -5
- package/src/sap/m/TableSelectDialog.js +21 -46
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +2 -2
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +2 -2
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +11 -5
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -1
- package/src/sap/m/TimePickerInputs.js +5 -3
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +2 -2
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/TimePickerSlidersRenderer.js +0 -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/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +45 -3
- package/src/sap/m/TokenizerRenderer.js +6 -0
- 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 +4 -4
- package/src/sap/m/UploadCollection.js +2 -2
- 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 +7 -7
- 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 +2 -2
- 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 +76 -44
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
- package/src/sap/m/changeHandler/CombineButtons.js +281 -175
- package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +77 -0
- package/src/sap/m/changeHandler/SplitMenuButton.js +147 -93
- package/src/sap/m/designtime/IconTabBar.designtime.js +82 -2
- package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +16 -12
- package/src/sap/m/designtime/messagebundle.properties +9 -0
- package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
- package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
- package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
- package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
- package/src/sap/m/designtime/messagebundle_da.properties +6 -0
- package/src/sap/m/designtime/messagebundle_de.properties +6 -0
- package/src/sap/m/designtime/messagebundle_el.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
- package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es.properties +6 -0
- package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
- package/src/sap/m/designtime/messagebundle_et.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
- package/src/sap/m/designtime/messagebundle_id.properties +6 -0
- package/src/sap/m/designtime/messagebundle_it.properties +6 -0
- package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
- package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
- package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
- package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
- package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_no.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
- package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
- package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
- package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
- package/src/sap/m/designtime/messagebundle_th.properties +6 -0
- package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
- package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
- package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
- package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
- package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
- package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
- package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
- package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
- package/src/sap/m/library.js +28 -5
- package/src/sap/m/messagebundle.properties +22 -5
- package/src/sap/m/messagebundle_ar.properties +13 -0
- package/src/sap/m/messagebundle_bg.properties +13 -0
- package/src/sap/m/messagebundle_ca.properties +13 -0
- package/src/sap/m/messagebundle_cs.properties +24 -11
- package/src/sap/m/messagebundle_cy.properties +13 -0
- package/src/sap/m/messagebundle_da.properties +14 -1
- package/src/sap/m/messagebundle_de.properties +18 -5
- package/src/sap/m/messagebundle_el.properties +14 -1
- package/src/sap/m/messagebundle_en.properties +15 -2
- package/src/sap/m/messagebundle_en_GB.properties +13 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +15 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +18 -5
- package/src/sap/m/messagebundle_es.properties +13 -0
- package/src/sap/m/messagebundle_es_MX.properties +16 -3
- package/src/sap/m/messagebundle_et.properties +13 -0
- package/src/sap/m/messagebundle_fi.properties +13 -0
- package/src/sap/m/messagebundle_fr.properties +19 -6
- package/src/sap/m/messagebundle_fr_CA.properties +13 -0
- package/src/sap/m/messagebundle_hi.properties +13 -0
- package/src/sap/m/messagebundle_hr.properties +13 -0
- package/src/sap/m/messagebundle_hu.properties +13 -0
- package/src/sap/m/messagebundle_id.properties +15 -2
- package/src/sap/m/messagebundle_it.properties +19 -6
- package/src/sap/m/messagebundle_iw.properties +13 -0
- package/src/sap/m/messagebundle_ja.properties +13 -0
- package/src/sap/m/messagebundle_kk.properties +13 -0
- package/src/sap/m/messagebundle_ko.properties +14 -1
- package/src/sap/m/messagebundle_lt.properties +13 -0
- package/src/sap/m/messagebundle_lv.properties +13 -0
- package/src/sap/m/messagebundle_ms.properties +14 -1
- package/src/sap/m/messagebundle_nl.properties +15 -2
- package/src/sap/m/messagebundle_no.properties +25 -12
- package/src/sap/m/messagebundle_pl.properties +17 -4
- package/src/sap/m/messagebundle_pt.properties +16 -3
- package/src/sap/m/messagebundle_pt_PT.properties +13 -0
- package/src/sap/m/messagebundle_ro.properties +18 -5
- package/src/sap/m/messagebundle_ru.properties +14 -1
- package/src/sap/m/messagebundle_sh.properties +14 -1
- package/src/sap/m/messagebundle_sk.properties +13 -0
- package/src/sap/m/messagebundle_sl.properties +13 -0
- package/src/sap/m/messagebundle_sv.properties +13 -0
- package/src/sap/m/messagebundle_th.properties +13 -0
- package/src/sap/m/messagebundle_tr.properties +13 -0
- package/src/sap/m/messagebundle_uk.properties +16 -3
- package/src/sap/m/messagebundle_vi.properties +14 -1
- package/src/sap/m/messagebundle_zh_CN.properties +13 -0
- package/src/sap/m/messagebundle_zh_TW.properties +13 -0
- package/src/sap/m/plugins/ColumnResizer.js +23 -2
- package/src/sap/m/plugins/DataStateIndicator.js +5 -3
- package/src/sap/m/plugins/PasteProvider.js +9 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/TargetHandler.js +15 -18
- package/src/sap/m/routing/async/Target.js +3 -2
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
- 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/themes/base/CheckBox.less +1 -1
- package/src/sap/m/themes/base/ColumnListItem.less +2 -2
- package/src/sap/m/themes/base/Dialog.less +11 -28
- package/src/sap/m/themes/base/FeedInput.less +5 -6
- package/src/sap/m/themes/base/GenericTile.less +129 -6
- package/src/sap/m/themes/base/IconTabBar.less +169 -61
- package/src/sap/m/themes/base/IconTabBarSelectList.less +8 -0
- package/src/sap/m/themes/base/Input.less +12 -0
- package/src/sap/m/themes/base/ListBase.less +7 -5
- package/src/sap/m/themes/base/MessagePage.less +1 -7
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/ObjectHeader.less +2 -1
- package/src/sap/m/themes/base/ObjectMarker.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +1 -1
- package/src/sap/m/themes/base/ObjectStatus.less +19 -2
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
- package/src/sap/m/themes/base/PlanningCalendar.less +23 -7
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
- package/src/sap/m/themes/base/RadioButton.less +3 -0
- package/src/sap/m/themes/base/SearchField.less +1 -1
- package/src/sap/m/themes/base/StandardListItem.less +9 -0
- package/src/sap/m/themes/base/Table.less +14 -23
- package/src/sap/m/themes/base/TextArea.less +1 -1
- package/src/sap/m/themes/base/TimePicker.less +5 -1
- package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
- package/src/sap/m/themes/base/Tokenizer.less +6 -0
- package/src/sap/m/themes/base/Toolbar.less +6 -0
- package/src/sap/m/themes/base/UploadSet.less +5 -0
- package/src/sap/m/themes/base/ViewSettingsDialog.less +29 -2
- package/src/sap/m/themes/sap_hcb/IconTabBar.less +3 -3
- package/src/sap/m/upload/UploadSet.js +35 -6
- package/src/sap/m/upload/UploadSetItem.js +18 -3
package/src/sap/m/Input.js
CHANGED
|
@@ -159,7 +159,7 @@ function(
|
|
|
159
159
|
*
|
|
160
160
|
* @extends sap.m.InputBase
|
|
161
161
|
* @author SAP SE
|
|
162
|
-
* @version 1.
|
|
162
|
+
* @version 1.95.0
|
|
163
163
|
*
|
|
164
164
|
* @constructor
|
|
165
165
|
* @public
|
|
@@ -315,7 +315,20 @@ function(
|
|
|
315
315
|
* <b>Note:</b> The autocomplete feature is disabled on Android devices due to a OS specific issue.
|
|
316
316
|
* @since 1.61
|
|
317
317
|
*/
|
|
318
|
-
autocomplete: {type: "boolean", group: "Behavior", defaultValue: true}
|
|
318
|
+
autocomplete: {type: "boolean", group: "Behavior", defaultValue: true},
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Specifies whether clear icon is shown.
|
|
322
|
+
* Pressing the icon will clear input's value and fire the change and liveChange events.
|
|
323
|
+
* @since 1.94
|
|
324
|
+
*/
|
|
325
|
+
showClearIcon: { type: "boolean", defaultValue: false },
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Specifies whether the clear icon should be shown/hidden on user interaction.
|
|
329
|
+
* @private
|
|
330
|
+
*/
|
|
331
|
+
effectiveShowClearIcon: { type: "boolean", defaultValue: false, visibility: "hidden" }
|
|
319
332
|
},
|
|
320
333
|
defaultAggregation : "suggestionItems",
|
|
321
334
|
aggregations : {
|
|
@@ -568,6 +581,15 @@ function(
|
|
|
568
581
|
// phase of the life cycle. Without this line, initially the condition fails and fires liveChange event
|
|
569
582
|
// even though there is no user input (check Input.prototype.onsapright).
|
|
570
583
|
this._setTypedInValue("");
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
// indicates whether input is clicked (on mobile) or the clear button
|
|
587
|
+
// used for identifying whether dialog should be open.
|
|
588
|
+
this._bClearButtonPressed = false;
|
|
589
|
+
|
|
590
|
+
// indicates whether input's popover has finished opening
|
|
591
|
+
// we asume that after open its content has been rendered => we don't have the power user scenario
|
|
592
|
+
this._bAfterOpenFinisihed = false;
|
|
571
593
|
};
|
|
572
594
|
|
|
573
595
|
/**
|
|
@@ -608,10 +630,9 @@ function(
|
|
|
608
630
|
*/
|
|
609
631
|
Input.prototype.onBeforeRendering = function() {
|
|
610
632
|
var sSelectedKey = this.getSelectedKey(),
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
oIcon = aEndIcons[0],
|
|
633
|
+
bShowValueHelpIcon = this.getShowValueHelp() && this.getEnabled() && this.getEditable(),
|
|
634
|
+
bShowClearIcon = this.getShowClearIcon(),
|
|
635
|
+
oIcon = this._oValueHelpIcon,
|
|
615
636
|
oSuggestionsPopover = this._getSuggestionsPopover(),
|
|
616
637
|
bSuggestionsPopoverIsOpen = oSuggestionsPopover && this._isSuggestionsPopoverOpen(),
|
|
617
638
|
oPopupInput = oSuggestionsPopover && oSuggestionsPopover.getInput(),
|
|
@@ -620,6 +641,12 @@ function(
|
|
|
620
641
|
|
|
621
642
|
InputBase.prototype.onBeforeRendering.call(this);
|
|
622
643
|
|
|
644
|
+
if (bShowClearIcon) {
|
|
645
|
+
this._getClearIcon().setProperty("visible", this.getProperty("effectiveShowClearIcon"));
|
|
646
|
+
} else if (this._oClearButton) {
|
|
647
|
+
this._getClearIcon().setProperty("visible", false);
|
|
648
|
+
}
|
|
649
|
+
|
|
623
650
|
this._deregisterEvents();
|
|
624
651
|
|
|
625
652
|
if (sSelectedKey) {
|
|
@@ -639,7 +666,7 @@ function(
|
|
|
639
666
|
}
|
|
640
667
|
}
|
|
641
668
|
|
|
642
|
-
if (
|
|
669
|
+
if (bShowValueHelpIcon) {
|
|
643
670
|
// ensure the creation of an icon
|
|
644
671
|
oIcon = this._getValueHelpIcon();
|
|
645
672
|
oIcon.setProperty("visible", true, true);
|
|
@@ -1044,13 +1071,11 @@ function(
|
|
|
1044
1071
|
*/
|
|
1045
1072
|
Input.prototype._getValueHelpIcon = function () {
|
|
1046
1073
|
var that = this,
|
|
1047
|
-
|
|
1048
|
-
sIconSrc = this.getValueHelpIconSrc(),
|
|
1049
|
-
oValueStateIcon = aEndIcons[0];
|
|
1074
|
+
sIconSrc = this.getValueHelpIconSrc();
|
|
1050
1075
|
|
|
1051
1076
|
// for backward compatibility - leave this method to return the instance
|
|
1052
|
-
if (!
|
|
1053
|
-
|
|
1077
|
+
if (!this._oValueHelpIcon) {
|
|
1078
|
+
this._oValueHelpIcon = this.addEndIcon({
|
|
1054
1079
|
id: this.getId() + "-vhi",
|
|
1055
1080
|
src: sIconSrc,
|
|
1056
1081
|
useIconTooltip: false,
|
|
@@ -1079,13 +1104,53 @@ function(
|
|
|
1079
1104
|
}
|
|
1080
1105
|
}
|
|
1081
1106
|
});
|
|
1082
|
-
} else if (
|
|
1083
|
-
|
|
1107
|
+
} else if (this._oValueHelpIcon.getSrc() !== sIconSrc) {
|
|
1108
|
+
this._oValueHelpIcon.setSrc(sIconSrc);
|
|
1084
1109
|
}
|
|
1085
1110
|
|
|
1086
|
-
return
|
|
1111
|
+
return this._oValueHelpIcon;
|
|
1087
1112
|
};
|
|
1088
1113
|
|
|
1114
|
+
Input.prototype._getClearIcon = function () {
|
|
1115
|
+
var that = this;
|
|
1116
|
+
|
|
1117
|
+
if (this._oClearButton) {
|
|
1118
|
+
return this._oClearButton;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
this._oClearButton = this.addEndIcon({
|
|
1122
|
+
src: IconPool.getIconURI("decline"),
|
|
1123
|
+
noTabStop: true,
|
|
1124
|
+
visible: false,
|
|
1125
|
+
alt: this._oRb.getText("INPUT_CLEAR_ICON_ALT"),
|
|
1126
|
+
useIconTooltip: false,
|
|
1127
|
+
decorative: false,
|
|
1128
|
+
press: function () {
|
|
1129
|
+
if (that.getValue() !== "") {
|
|
1130
|
+
that.fireChange({
|
|
1131
|
+
value: ""
|
|
1132
|
+
});
|
|
1133
|
+
|
|
1134
|
+
that.fireLiveChange({
|
|
1135
|
+
value: ""
|
|
1136
|
+
});
|
|
1137
|
+
|
|
1138
|
+
that.setValue("");
|
|
1139
|
+
|
|
1140
|
+
that._bClearButtonPressed = true;
|
|
1141
|
+
|
|
1142
|
+
setTimeout(function() {
|
|
1143
|
+
if (Device.system.desktop) {
|
|
1144
|
+
that.focus();
|
|
1145
|
+
that._closeSuggestionPopup();
|
|
1146
|
+
}
|
|
1147
|
+
}, 0);
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
}, 0);
|
|
1151
|
+
|
|
1152
|
+
return this._oClearButton;
|
|
1153
|
+
};
|
|
1089
1154
|
/**
|
|
1090
1155
|
* Fire valueHelpRequest event.
|
|
1091
1156
|
*
|
|
@@ -1140,9 +1205,12 @@ function(
|
|
|
1140
1205
|
&& this.getEditable()
|
|
1141
1206
|
&& this.getEnabled()
|
|
1142
1207
|
&& this.getShowSuggestion()
|
|
1208
|
+
&& (!this._bClearButtonPressed)
|
|
1143
1209
|
&& oEvent.target.id !== this.getId() + "-vhi") {
|
|
1144
1210
|
this._openSuggestionsPopover();
|
|
1145
1211
|
}
|
|
1212
|
+
|
|
1213
|
+
this._bClearButtonPressed = false;
|
|
1146
1214
|
};
|
|
1147
1215
|
|
|
1148
1216
|
/**
|
|
@@ -1327,11 +1395,13 @@ function(
|
|
|
1327
1395
|
|
|
1328
1396
|
bFocusInPopup && this.setSelectionUpdatedFromList(true);
|
|
1329
1397
|
|
|
1330
|
-
|
|
1331
|
-
// it should work for suggetionRows as well.
|
|
1332
|
-
if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened && !this._hasTabularSuggestions()) {
|
|
1398
|
+
if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened) {
|
|
1333
1399
|
oSelectedItem = this._getSuggestionsPopover().getItemsContainer().getSelectedItem();
|
|
1334
|
-
|
|
1400
|
+
if (this._hasTabularSuggestions()) {
|
|
1401
|
+
oSelectedItem && this.setSelectionRow(oSelectedItem, true);
|
|
1402
|
+
} else {
|
|
1403
|
+
oSelectedItem && this.setSelectionItem(ListHelpers.getItemByListItem(aItems, oSelectedItem), true);
|
|
1404
|
+
}
|
|
1335
1405
|
}
|
|
1336
1406
|
|
|
1337
1407
|
if (bPopupOpened && !this.isComposingCharacter()) {
|
|
@@ -1397,7 +1467,7 @@ function(
|
|
|
1397
1467
|
// There's no typeahead for mobile devices.
|
|
1398
1468
|
// If the popup has been focused, then the list would take care of that functionality.
|
|
1399
1469
|
// There should be a matching item (proposed text in order to continue)
|
|
1400
|
-
if (!this.isMobileDevice() && this._sProposedItemText) {
|
|
1470
|
+
if (!this.isMobileDevice() && this._sProposedItemText && !this._bAfterOpenFinisihed) {
|
|
1401
1471
|
// Update selections for poweruser
|
|
1402
1472
|
var oSelectedItem = this.getSuggestionItems()
|
|
1403
1473
|
.filter(function (oItem) {
|
|
@@ -1586,7 +1656,7 @@ function(
|
|
|
1586
1656
|
// when compose a non ASCII character, in Chrome the value is updated in the next browser tick cycle
|
|
1587
1657
|
setTimeout(function () {
|
|
1588
1658
|
var sNewValue = this.getDOMValue() || '';
|
|
1589
|
-
if (sNewValue < this.getStartSuggestion()) {
|
|
1659
|
+
if (sNewValue.length < this.getStartSuggestion()) {
|
|
1590
1660
|
this._closeSuggestionPopup();
|
|
1591
1661
|
}
|
|
1592
1662
|
}.bind(this), 0);
|
|
@@ -1634,7 +1704,7 @@ function(
|
|
|
1634
1704
|
* @param {jQuery.Event} oEvent The event.
|
|
1635
1705
|
*/
|
|
1636
1706
|
Input.prototype.onchange = function (oEvent) {
|
|
1637
|
-
if (this.getShowValueHelp() || this.getShowSuggestion()) {
|
|
1707
|
+
if (this.getShowValueHelp() || this.getShowSuggestion() || this.getProperty("effectiveShowClearIcon")) {
|
|
1638
1708
|
// can not handle browser change if value help or suggestions is enabled
|
|
1639
1709
|
// because change is fired before the value help is opened or when a link in suggestions is clicked
|
|
1640
1710
|
return;
|
|
@@ -1674,6 +1744,8 @@ function(
|
|
|
1674
1744
|
// always focus input field when typing in it
|
|
1675
1745
|
this.addStyleClass("sapMFocus");
|
|
1676
1746
|
|
|
1747
|
+
this.setProperty("effectiveShowClearIcon", !!sValue);
|
|
1748
|
+
|
|
1677
1749
|
// No need to fire suggest event when suggestion feature isn't enabled or runs on the phone.
|
|
1678
1750
|
// Because suggest event should only be fired by the input in dialog when runs on the phone.
|
|
1679
1751
|
if (this.getShowSuggestion() && !this.isMobileDevice()) {
|
|
@@ -1772,7 +1844,7 @@ function(
|
|
|
1772
1844
|
/**
|
|
1773
1845
|
* Opens the <code>SuggestionsPopover</code> and adjusts the corresponding acc
|
|
1774
1846
|
*
|
|
1775
|
-
* @param {
|
|
1847
|
+
* @param {boolean} bOpenCondition Additional open condition
|
|
1776
1848
|
* @private
|
|
1777
1849
|
*/
|
|
1778
1850
|
Input.prototype._openSuggestionPopup = function (bOpenCondition) {
|
|
@@ -2323,6 +2395,9 @@ function(
|
|
|
2323
2395
|
InputBase.prototype.setValue.call(this, sValue);
|
|
2324
2396
|
this._onValueUpdated(sValue);
|
|
2325
2397
|
this._setTypedInValue("");
|
|
2398
|
+
|
|
2399
|
+
this.setProperty("effectiveShowClearIcon", !!sValue);
|
|
2400
|
+
|
|
2326
2401
|
return this;
|
|
2327
2402
|
};
|
|
2328
2403
|
|
|
@@ -2707,22 +2782,25 @@ function(
|
|
|
2707
2782
|
oSuggPopover.attachEvent(SuggestionsPopover.M_EVENTS.SELECTION_CHANGE, function (oEvent) {
|
|
2708
2783
|
var oItem = oEvent.getParameter("newItem"),
|
|
2709
2784
|
sNewValue = this.calculateNewValue(oItem),
|
|
2710
|
-
|
|
2785
|
+
bIsGroupItem = oItem && oItem.isA("sap.m.GroupHeaderListItem"),
|
|
2711
2786
|
oFocusDomRef = this.getFocusDomRef(),
|
|
2712
2787
|
sTypedValue = oFocusDomRef && oFocusDomRef.value.substring(0, oFocusDomRef.selectionStart),
|
|
2713
2788
|
oPreviousItem = oEvent.getParameter("previousItem"),
|
|
2714
2789
|
bPreviosFocusOnGroup = oPreviousItem && oPreviousItem.isA("sap.m.GroupHeaderListItem"),
|
|
2715
2790
|
iSelectionStart = calculateSelectionStart(selectionRange(oFocusDomRef, bPreviosFocusOnGroup), sNewValue, sTypedValue, bPreviosFocusOnGroup);
|
|
2716
2791
|
|
|
2717
|
-
//
|
|
2718
|
-
|
|
2792
|
+
if (!oItem || bIsGroupItem) { // When out of the list or a GroupHeader item, reset to user's input
|
|
2793
|
+
this.setDOMValue(sTypedValue);
|
|
2794
|
+
} else { // Replace the value and highlight it
|
|
2795
|
+
this.setDOMValue(sNewValue);
|
|
2719
2796
|
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
if (!bFocusedGroupHeader) {
|
|
2797
|
+
// If the matched item starts with user input's value, highlight only the remaining part. Otherwise, the whole item.
|
|
2798
|
+
iSelectionStart = (iSelectionStart === 0 && sNewValue.indexOf(sTypedValue) === 0) ? sTypedValue.length : iSelectionStart;
|
|
2724
2799
|
this._doSelect(iSelectionStart);
|
|
2725
2800
|
}
|
|
2801
|
+
|
|
2802
|
+
// memorize the value set by calling jQuery.val, because browser doesn't fire a change event when the value is set programmatically.
|
|
2803
|
+
this._sSelectedSuggViaKeyboard = sNewValue;
|
|
2726
2804
|
}, this);
|
|
2727
2805
|
|
|
2728
2806
|
if (this.getShowTableSuggestionValueHelp()) {
|
|
@@ -2802,15 +2880,21 @@ function(
|
|
|
2802
2880
|
.attachBeforeOpen(function() {
|
|
2803
2881
|
var oSuggestionsInput = oSuggPopover.getInput();
|
|
2804
2882
|
// set the same placeholder and maxLength as the original input
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2883
|
+
["placeholder",
|
|
2884
|
+
"maxLength",
|
|
2885
|
+
"value",
|
|
2886
|
+
"showClearIcon",
|
|
2887
|
+
"effectiveShowClearIcon"
|
|
2888
|
+
].forEach(function(sPropName) {
|
|
2889
|
+
oSuggestionsInput.setProperty(sPropName, this.getProperty(sPropName));
|
|
2890
|
+
}, this);
|
|
2808
2891
|
}, this);
|
|
2809
2892
|
} else {
|
|
2810
2893
|
oPopover
|
|
2811
2894
|
.attachAfterClose(function() {
|
|
2812
|
-
var oList = this._getSuggestionsPopover().getItemsContainer()
|
|
2813
|
-
|
|
2895
|
+
var oList = this._getSuggestionsPopover().getItemsContainer();
|
|
2896
|
+
var oSelectedItem = oList && oList.getSelectedItem();
|
|
2897
|
+
var oDomRef = this.getDomRef();
|
|
2814
2898
|
|
|
2815
2899
|
if (this.getSelectionUpdatedFromList()) {
|
|
2816
2900
|
this.updateSelectionFromList(oSelectedItem);
|
|
@@ -2820,6 +2904,8 @@ function(
|
|
|
2820
2904
|
return;
|
|
2821
2905
|
}
|
|
2822
2906
|
|
|
2907
|
+
this._bAfterOpenFinisihed = false;
|
|
2908
|
+
|
|
2823
2909
|
// only destroy items in simple suggestion mode
|
|
2824
2910
|
if (oList instanceof Table) {
|
|
2825
2911
|
oSelectedItem && oSelectedItem.removeStyleClass("sapMLIBFocused");
|
|
@@ -2829,12 +2915,20 @@ function(
|
|
|
2829
2915
|
}
|
|
2830
2916
|
|
|
2831
2917
|
this._deregisterPopupResize();
|
|
2918
|
+
|
|
2919
|
+
if (oDomRef && oDomRef.contains(document.activeElement)) {
|
|
2920
|
+
this.addStyleClass("sapMFocus");
|
|
2921
|
+
}
|
|
2832
2922
|
}, this)
|
|
2833
2923
|
.attachBeforeOpen(function () {
|
|
2834
2924
|
oSuggPopover._sPopoverContentWidth = this.getMaxSuggestionWidth();
|
|
2835
2925
|
|
|
2836
2926
|
oSuggPopover.resizePopup(this);
|
|
2837
2927
|
this._registerPopupResize();
|
|
2928
|
+
this._bAfterOpenFinisihed = false;
|
|
2929
|
+
}, this)
|
|
2930
|
+
.attachAfterOpen(function () {
|
|
2931
|
+
this._bAfterOpenFinisihed = true;
|
|
2838
2932
|
}, this);
|
|
2839
2933
|
}
|
|
2840
2934
|
|
|
@@ -2929,7 +3023,7 @@ function(
|
|
|
2929
3023
|
/**
|
|
2930
3024
|
* Indicates whether the control should use <code>sap.m.Dialog</code> or not.
|
|
2931
3025
|
*
|
|
2932
|
-
* @returns {
|
|
3026
|
+
* @returns {boolean} Boolean.
|
|
2933
3027
|
* @protected
|
|
2934
3028
|
*/
|
|
2935
3029
|
Input.prototype.isMobileDevice = function () {
|
|
@@ -2995,7 +3089,7 @@ function(
|
|
|
2995
3089
|
*
|
|
2996
3090
|
* @protected
|
|
2997
3091
|
* @param {HTMLElement|undefined} oTarget The target of the event.
|
|
2998
|
-
* @returns {
|
|
3092
|
+
* @returns {boolean} Boolean indicating if the target is a valid opener.
|
|
2999
3093
|
*/
|
|
3000
3094
|
Input.prototype.isValueHelpOnlyOpener = function (oTarget) {
|
|
3001
3095
|
return true;
|
package/src/sap/m/InputBase.js
CHANGED
|
@@ -62,7 +62,7 @@ function(
|
|
|
62
62
|
* @implements sap.ui.core.IFormContent
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.95.0
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
@@ -514,7 +514,7 @@ function(
|
|
|
514
514
|
mParameters = mParameters || this.getChangeEventParams();
|
|
515
515
|
|
|
516
516
|
// check the control is editable or not
|
|
517
|
-
if (!this.getEditable() || !this.getEnabled()) {
|
|
517
|
+
if (this.getDomRef() && (!this.getEditable() || !this.getEnabled())) {
|
|
518
518
|
return;
|
|
519
519
|
}
|
|
520
520
|
|
|
@@ -1091,17 +1091,23 @@ function(
|
|
|
1091
1091
|
* Adds an icon to be rendered
|
|
1092
1092
|
* @param {string} sIconPosition a position for the icon to be rendered - begin or end
|
|
1093
1093
|
* @param {object} oIconSettings settings for creating an icon
|
|
1094
|
+
* @param {int} iPosition position to be inserted in the aggregation
|
|
1094
1095
|
* @see sap.ui.core.IconPool.createControlByURI
|
|
1095
1096
|
* @private
|
|
1096
1097
|
* @returns {null|sap.ui.core.Icon}
|
|
1097
1098
|
*/
|
|
1098
|
-
InputBase.prototype._addIcon = function (sIconPosition, oIconSettings) {
|
|
1099
|
+
InputBase.prototype._addIcon = function (sIconPosition, oIconSettings, iPosition) {
|
|
1099
1100
|
if (["begin", "end"].indexOf(sIconPosition) === -1) {
|
|
1100
1101
|
log.error('icon position is not "begin", neither "end", please check again the passed setting');
|
|
1101
1102
|
return null;
|
|
1102
1103
|
}
|
|
1103
1104
|
var oIcon = IconPool.createControlByURI(oIconSettings).addStyleClass(InputBase.ICON_CSS_CLASS);
|
|
1104
|
-
|
|
1105
|
+
|
|
1106
|
+
if (iPosition !== undefined) {
|
|
1107
|
+
this.insertAggregation("_" + sIconPosition + "Icon", oIcon, iPosition);
|
|
1108
|
+
} else {
|
|
1109
|
+
this.addAggregation("_" + sIconPosition + "Icon", oIcon);
|
|
1110
|
+
}
|
|
1105
1111
|
|
|
1106
1112
|
return oIcon;
|
|
1107
1113
|
};
|
|
@@ -1120,12 +1126,13 @@ function(
|
|
|
1120
1126
|
/**
|
|
1121
1127
|
* Adds an icon to the end of the input
|
|
1122
1128
|
* @param {object} oIconSettings settings for creating an icon
|
|
1129
|
+
* @param {int} iPosition position to be inserted in the aggregation. If not provided, the icon gets inserted on last position.
|
|
1123
1130
|
* @see sap.ui.core.IconPool.createControlByURI
|
|
1124
1131
|
* @protected
|
|
1125
1132
|
* @returns {null|sap.ui.core.Icon}
|
|
1126
1133
|
*/
|
|
1127
|
-
InputBase.prototype.addEndIcon = function (oIconSettings) {
|
|
1128
|
-
return this._addIcon("end", oIconSettings);
|
|
1134
|
+
InputBase.prototype.addEndIcon = function (oIconSettings, iPosition) {
|
|
1135
|
+
return this._addIcon("end", oIconSettings, iPosition);
|
|
1129
1136
|
};
|
|
1130
1137
|
|
|
1131
1138
|
// do not cache jQuery object and define _$input for compatibility reasons
|
package/src/sap/m/Label.js
CHANGED
package/src/sap/m/LightBox.js
CHANGED
|
@@ -99,7 +99,7 @@ sap.ui.define([
|
|
|
99
99
|
* @extends sap.ui.core.Control
|
|
100
100
|
*
|
|
101
101
|
* @author SAP SE
|
|
102
|
-
* @version 1.
|
|
102
|
+
* @version 1.95.0
|
|
103
103
|
*
|
|
104
104
|
* @constructor
|
|
105
105
|
* @public
|
|
@@ -253,7 +253,7 @@ sap.ui.define([
|
|
|
253
253
|
* Invalidates the LightBox.
|
|
254
254
|
*
|
|
255
255
|
* @public
|
|
256
|
-
* @param {
|
|
256
|
+
* @param {sap.ui.base.ManagedObject} oOrigin Origin of the invalidation.
|
|
257
257
|
* @returns {this} this LightBox reference for chaining.
|
|
258
258
|
*/
|
|
259
259
|
LightBox.prototype.invalidate = function (oOrigin) {
|
package/src/sap/m/Link.js
CHANGED
|
@@ -81,7 +81,7 @@ function(
|
|
|
81
81
|
* @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ITitleContent
|
|
82
82
|
*
|
|
83
83
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
84
|
+
* @version 1.95.0
|
|
85
85
|
*
|
|
86
86
|
* @constructor
|
|
87
87
|
* @public
|
|
@@ -386,7 +386,7 @@ function(
|
|
|
386
386
|
* Checks if the given sUri is valid depending on the validateUrl property
|
|
387
387
|
*
|
|
388
388
|
* @param {String} sUri
|
|
389
|
-
* @returns {
|
|
389
|
+
* @returns {boolean}
|
|
390
390
|
* @private
|
|
391
391
|
*/
|
|
392
392
|
Link.prototype._isHrefValid = function (sUri) {
|