@openui5/sap.m 1.123.0 → 1.124.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/package.json +4 -4
- package/src/sap/m/.library +6 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +2 -2
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +33 -11
- package/src/sap/m/ActionTileContent.js +9 -4
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +53 -13
- package/src/sap/m/AvatarColor.js +3 -1
- package/src/sap/m/AvatarImageFitType.js +3 -1
- package/src/sap/m/AvatarRenderer.js +4 -3
- package/src/sap/m/AvatarShape.js +3 -1
- package/src/sap/m/AvatarSize.js +3 -1
- package/src/sap/m/AvatarType.js +3 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +2 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ContentConfig.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -3
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +2 -6
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +40 -17
- package/src/sap/m/GenericTileRenderer.js +103 -11
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +8 -2
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HeaderContainerRenderer.js +3 -0
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +2 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +19 -3
- package/src/sap/m/IllustratedMessageSize.js +3 -1
- package/src/sap/m/IllustratedMessageType.js +3 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +53 -34
- package/src/sap/m/InputBase.js +5 -9
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +6 -9
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -6
- package/src/sap/m/ListItemBase.js +3 -6
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +25 -7
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +3 -6
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +4 -4
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +3 -4
- package/src/sap/m/MultiComboBox.js +1 -6
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +36 -3
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +2 -1
- package/src/sap/m/P13nColumnsItem.js +2 -2
- package/src/sap/m/P13nColumnsPanel.js +2 -2
- package/src/sap/m/P13nConditionPanel.js +2 -1
- package/src/sap/m/P13nDialog.js +4 -7
- package/src/sap/m/P13nDimMeasureItem.js +2 -2
- package/src/sap/m/P13nDimMeasurePanel.js +2 -2
- package/src/sap/m/P13nFilterItem.js +2 -1
- package/src/sap/m/P13nFilterPanel.js +3 -1
- package/src/sap/m/P13nGroupItem.js +2 -2
- package/src/sap/m/P13nGroupPanel.js +2 -2
- package/src/sap/m/P13nItem.js +2 -1
- package/src/sap/m/P13nOperationsHelper.js +2 -0
- package/src/sap/m/P13nPanel.js +2 -1
- package/src/sap/m/P13nSelectionItem.js +2 -1
- package/src/sap/m/P13nSelectionPanel.js +2 -1
- package/src/sap/m/P13nSortItem.js +2 -2
- package/src/sap/m/P13nSortPanel.js +2 -2
- package/src/sap/m/PDFViewer.js +2 -2
- package/src/sap/m/Page.js +12 -6
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- 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 +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -3
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +16 -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 +3 -3
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileInfo.js +65 -0
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +5 -3
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -3
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +1 -2
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -2
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Table.designtime.js +1 -2
- package/src/sap/m/designtime/messagebundle_sh.properties +5 -5
- package/src/sap/m/flexibility/Table.flexibility.js +14 -2
- package/src/sap/m/library.js +252 -3
- package/src/sap/m/messagebundle.properties +3 -0
- package/src/sap/m/messagebundle_ar.properties +2 -0
- package/src/sap/m/messagebundle_bg.properties +2 -0
- package/src/sap/m/messagebundle_ca.properties +2 -0
- package/src/sap/m/messagebundle_cnr.properties +2 -0
- package/src/sap/m/messagebundle_cs.properties +2 -0
- package/src/sap/m/messagebundle_cy.properties +2 -0
- package/src/sap/m/messagebundle_da.properties +2 -0
- package/src/sap/m/messagebundle_de.properties +2 -0
- package/src/sap/m/messagebundle_el.properties +2 -0
- package/src/sap/m/messagebundle_en.properties +2 -0
- package/src/sap/m/messagebundle_en_GB.properties +2 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/m/messagebundle_es.properties +2 -0
- package/src/sap/m/messagebundle_es_MX.properties +2 -0
- package/src/sap/m/messagebundle_et.properties +2 -0
- package/src/sap/m/messagebundle_fi.properties +2 -0
- package/src/sap/m/messagebundle_fr.properties +3 -1
- package/src/sap/m/messagebundle_fr_CA.properties +2 -0
- package/src/sap/m/messagebundle_hi.properties +2 -0
- package/src/sap/m/messagebundle_hr.properties +2 -0
- package/src/sap/m/messagebundle_hu.properties +2 -0
- package/src/sap/m/messagebundle_id.properties +2 -0
- package/src/sap/m/messagebundle_it.properties +2 -0
- package/src/sap/m/messagebundle_iw.properties +2 -0
- package/src/sap/m/messagebundle_ja.properties +2 -0
- package/src/sap/m/messagebundle_kk.properties +2 -0
- package/src/sap/m/messagebundle_ko.properties +2 -0
- package/src/sap/m/messagebundle_lt.properties +2 -0
- package/src/sap/m/messagebundle_lv.properties +2 -0
- package/src/sap/m/messagebundle_mk.properties +2 -0
- package/src/sap/m/messagebundle_ms.properties +2 -0
- package/src/sap/m/messagebundle_nl.properties +2 -0
- package/src/sap/m/messagebundle_no.properties +2 -0
- package/src/sap/m/messagebundle_pl.properties +2 -0
- package/src/sap/m/messagebundle_pt.properties +2 -0
- package/src/sap/m/messagebundle_pt_PT.properties +2 -0
- package/src/sap/m/messagebundle_ro.properties +2 -0
- package/src/sap/m/messagebundle_ru.properties +2 -0
- package/src/sap/m/messagebundle_sh.properties +259 -257
- package/src/sap/m/messagebundle_sk.properties +2 -0
- package/src/sap/m/messagebundle_sl.properties +2 -0
- package/src/sap/m/messagebundle_sr.properties +2 -0
- package/src/sap/m/messagebundle_sv.properties +2 -0
- package/src/sap/m/messagebundle_th.properties +2 -0
- package/src/sap/m/messagebundle_tr.properties +2 -0
- package/src/sap/m/messagebundle_uk.properties +2 -0
- package/src/sap/m/messagebundle_vi.properties +2 -0
- package/src/sap/m/messagebundle_zh_CN.properties +3 -1
- package/src/sap/m/messagebundle_zh_TW.properties +2 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +3 -6
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +2 -1
- package/src/sap/m/p13n/Popup.js +10 -3
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +13 -8
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/handler/xConfigHandler.js +6 -10
- 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 +7 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +67 -4
- package/src/sap/m/plugins/CellSelector.js +238 -133
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +6 -4
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/plugins/UploadSetwithTable.js +2067 -0
- package/src/sap/m/rules/Table.support.js +2 -3
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ColumnWidthController.js +1 -1
- 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 +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.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 +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- 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 +171 -152
- package/src/sap/m/themes/base/ActionTileContent.less +62 -0
- package/src/sap/m/themes/base/CellSelector.less +77 -5
- package/src/sap/m/themes/base/Dialog.less +0 -4
- package/src/sap/m/themes/base/GenericTile.less +397 -12
- package/src/sap/m/themes/base/HeaderContainer.less +8 -0
- package/src/sap/m/themes/base/IconTabBar.less +18 -0
- package/src/sap/m/themes/base/ObjectNumber.less +7 -1
- package/src/sap/m/themes/base/ObjectStatus.less +5 -0
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/themes/base/Toolbar.less +4 -0
- package/src/sap/m/themes/base/UploadSetwithTable.less +20 -0
- package/src/sap/m/themes/base/VariantManagement.less +3 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +12 -2
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +6 -6
- package/src/sap/m/upload/UploadItem.js +322 -0
- package/src/sap/m/upload/UploadItemConfiguration.js +191 -0
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +4 -5
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +4 -3
- package/src/sap/m/upload/UploadSetwithTableItem.js +2 -3
- package/src/sap/m/upload/UploaderTableItem.js +19 -12
- package/src/sap/m/upload/p13n/PersManager.js +1 -1
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +4 -4
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +1 -1
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +3 -3
|
@@ -46,9 +46,10 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
|
|
|
46
46
|
var sAriaRoleDescription = oControl.getAriaRoleDescription();
|
|
47
47
|
var sAriaRole = oControl.getAriaRole();
|
|
48
48
|
var isHalfFrame = frameType === frameTypes.OneByHalf || frameType === frameTypes.TwoByHalf;
|
|
49
|
-
var sBGColor = oControl.
|
|
49
|
+
var sBGColor = oControl._oBadgeColors["backgroundColor"];
|
|
50
50
|
var bIsIconModeOneByOne = oControl._isIconMode() && frameType === frameTypes.OneByOne;
|
|
51
51
|
var aLinkTileContent = oControl.getLinkTileContents();
|
|
52
|
+
var oBadge = oControl.getBadge();
|
|
52
53
|
|
|
53
54
|
// Render a link when URL is provided, not in action scope and the state is enabled
|
|
54
55
|
var bRenderLink = oControl.getUrl() && (!oControl._isInActionScope() || oControl.getMode() === GenericTileMode.IconMode) && sState !== LoadState.Disabled && !oControl._isNavigateActionEnabled();
|
|
@@ -331,14 +332,29 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
|
|
|
331
332
|
|
|
332
333
|
//Render Header Image
|
|
333
334
|
if (sHeaderImage) {
|
|
334
|
-
oControl.
|
|
335
|
-
if (
|
|
336
|
-
oControl._oImage.removeStyleClass(
|
|
335
|
+
var bIsIconFrameEnabled = oControl.isA("sap.m.ActionTile") && oControl.getProperty("enableIconFrame");
|
|
336
|
+
if (!bIsIconFrameEnabled) {
|
|
337
|
+
oControl._oImage.removeStyleClass(ValueColor.None);
|
|
338
|
+
if (this._sPreviousStyleClass) {
|
|
339
|
+
oControl._oImage.removeStyleClass(this._sPreviousStyleClass);
|
|
340
|
+
}
|
|
341
|
+
this._sPreviousStyleClass = this._isValueColorValid(oControl.getValueColor()) ? oControl.getValueColor() : ValueColor.None;
|
|
342
|
+
oControl._oImage.addStyleClass(this._sPreviousStyleClass);
|
|
343
|
+
} else {
|
|
344
|
+
oRm.openStart("div", oControl.getId() + "-icon-frame").openEnd();
|
|
337
345
|
}
|
|
338
|
-
this._sPreviousStyleClass = this._isValueColorValid(oControl.getValueColor()) ? oControl.getValueColor() : ValueColor.None;
|
|
339
|
-
oControl._oImage.addStyleClass(this._sPreviousStyleClass);
|
|
340
346
|
|
|
347
|
+
oControl._oImage.toggleStyleClass("sapMATIconFrame", bIsIconFrameEnabled);
|
|
341
348
|
oRm.renderControl(oControl._oImage);
|
|
349
|
+
|
|
350
|
+
if (bIsIconFrameEnabled) {
|
|
351
|
+
oRm.close("div");
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
var bIsContentPriorityPresent = this._isPriorityPresent(oControl);
|
|
356
|
+
if (bIsContentPriorityPresent) {
|
|
357
|
+
oRm.openStart("div", oControl.getId() + "-header-container").class("sapMATHeaderContainer").openEnd();
|
|
342
358
|
}
|
|
343
359
|
|
|
344
360
|
this._renderHeader(oRm, oControl);
|
|
@@ -359,10 +375,16 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
|
|
|
359
375
|
}
|
|
360
376
|
}
|
|
361
377
|
|
|
362
|
-
if (
|
|
378
|
+
if (bIsContentPriorityPresent) {
|
|
379
|
+
this._renderPriorityText(oRm, oControl);
|
|
380
|
+
} else if (!(isHalfFrame && isContentPresent) && oControl.getSubheader()) {
|
|
363
381
|
this._renderSubheader(oRm, oControl);
|
|
364
382
|
}
|
|
383
|
+
|
|
384
|
+
if (bIsContentPriorityPresent) {
|
|
365
385
|
oRm.close("div");
|
|
386
|
+
}
|
|
387
|
+
oRm.close("div");
|
|
366
388
|
|
|
367
389
|
if ( !oControl._isIconMode() ) { //Restrict creation of Footer for IconMode
|
|
368
390
|
oRm.openStart("div", oControl.getId() + "-content");
|
|
@@ -430,6 +452,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
|
|
|
430
452
|
if (oControl._isInActionScope()) {
|
|
431
453
|
this._renderActionsScope(oRm, oControl);
|
|
432
454
|
}
|
|
455
|
+
if (oBadge && (oBadge.getSrc() || oBadge.getText()) && (!oControl._isInActionScope() || oControl._isIconModeOfTypeTwoByHalf() )) {
|
|
456
|
+
this._renderBadge(oRm,oControl);
|
|
457
|
+
}
|
|
433
458
|
if (bRenderLink) {
|
|
434
459
|
oRm.close("a");
|
|
435
460
|
} else {
|
|
@@ -437,6 +462,77 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
|
|
|
437
462
|
}
|
|
438
463
|
};
|
|
439
464
|
|
|
465
|
+
/**
|
|
466
|
+
* Renders a badge on top of GenericTile.
|
|
467
|
+
* @param {sap.ui.core.RenderManager} oRm - The RenderManager instance.
|
|
468
|
+
* @param {sap.m.GenericTile} oControl The GenericTile control
|
|
469
|
+
* @private
|
|
470
|
+
*/
|
|
471
|
+
|
|
472
|
+
GenericTileRenderer._renderBadge = function(oRm,oControl) {
|
|
473
|
+
var oBadge = oControl.getBadge();
|
|
474
|
+
var sBadgeText = oBadge.getText();
|
|
475
|
+
var bIsIconOnlyPresent = oBadge.getSrc() && !oBadge.getText();
|
|
476
|
+
var bIsTextOnlyPresent = !oBadge.getSrc() && oBadge.getText();
|
|
477
|
+
oRm.openStart("div");
|
|
478
|
+
oRm.class("sapMGTBadge");
|
|
479
|
+
oRm.class("sapMGTBadgeBackgroundColor" + oBadge.getBackgroundColor());
|
|
480
|
+
oRm.class("sapMGTBadgeColor" + oBadge.getTextColor());
|
|
481
|
+
oRm.class("sapMGTBadgeBorderColor" + oBadge.getBorderColor());
|
|
482
|
+
if (oBadge.getText() && oBadge.getSrc()) {
|
|
483
|
+
oRm.class("sapMGTBadgeTextPresent");
|
|
484
|
+
}
|
|
485
|
+
oRm.class((bIsIconOnlyPresent) ? "sapMGTBadgeOnlyIcon" : null);
|
|
486
|
+
oRm.class((bIsTextOnlyPresent) ? "sapMGTBadgeOnlyText" : null);
|
|
487
|
+
oRm.openEnd();
|
|
488
|
+
if (oBadge.getSrc()) {
|
|
489
|
+
oRm.renderControl(oControl._oBadgeIcon);
|
|
490
|
+
}
|
|
491
|
+
if (sBadgeText) {
|
|
492
|
+
oRm.openStart("span");
|
|
493
|
+
oRm.class("sapMGTBadgeText");
|
|
494
|
+
oRm.openEnd();
|
|
495
|
+
oRm.text(sBadgeText);
|
|
496
|
+
oRm.close("span");
|
|
497
|
+
}
|
|
498
|
+
if (oControl.getState() != LoadState.Loaded) {
|
|
499
|
+
oRm.openStart("div");
|
|
500
|
+
oRm.class("sapMGTBadgeOverlay");
|
|
501
|
+
oRm.class("sapMGTBadgeBackgroundColor" + oBadge.getBackgroundColor());
|
|
502
|
+
oRm.openEnd();
|
|
503
|
+
oRm.close("div");
|
|
504
|
+
}
|
|
505
|
+
oRm.close("div");
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Checks if the priority is present for a tile.
|
|
510
|
+
* Applies only for ActionMode.
|
|
511
|
+
*
|
|
512
|
+
* @private
|
|
513
|
+
* @param {object} oControl - The tile control instance.
|
|
514
|
+
* @returns {boolean} - Returns true if the content priority is present; otherwise, returns false.
|
|
515
|
+
*/
|
|
516
|
+
GenericTileRenderer._isPriorityPresent = function (oControl) {
|
|
517
|
+
return oControl.isA("sap.m.ActionTile") && oControl.getProperty("priority") && oControl.getProperty("priorityText");
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Renders the priority text for the tile.
|
|
522
|
+
*
|
|
523
|
+
* @private
|
|
524
|
+
* @param {object} oRm - The RenderManager instance.
|
|
525
|
+
* @param {object} oControl - The control instance to render.
|
|
526
|
+
*/
|
|
527
|
+
GenericTileRenderer._renderPriorityText = function (oRm, oControl) {
|
|
528
|
+
oRm.openStart("div", oControl.getId() + "-priority-text");
|
|
529
|
+
oRm.class("sapMTilePriorityValue");
|
|
530
|
+
oRm.class(oControl.getProperty("priority"));
|
|
531
|
+
oRm.openEnd();
|
|
532
|
+
oRm.text(oControl.getProperty("priorityText"));
|
|
533
|
+
oRm.close("div");
|
|
534
|
+
};
|
|
535
|
+
|
|
440
536
|
/**
|
|
441
537
|
* Checks if the GenericTile should be draggable or not.
|
|
442
538
|
* @param {sap.m.GenericTile} oControl The GenericTile control
|
|
@@ -586,10 +682,6 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Them
|
|
|
586
682
|
GenericTileRenderer._renderHeader = function(oRm, oControl) {
|
|
587
683
|
oRm.openStart("div", oControl.getId() + "-hdr-text");
|
|
588
684
|
oRm.class("sapMGTHdrTxt");
|
|
589
|
-
if (oControl._isActionMode() && this._isValueColorValid(oControl.getValueColor())) {
|
|
590
|
-
oRm.class("sapMGTCriticalHdrTxt");
|
|
591
|
-
oRm.class(oControl.getValueColor());
|
|
592
|
-
}
|
|
593
685
|
oRm.openEnd();
|
|
594
686
|
oRm.renderControl(oControl._oTitle);
|
|
595
687
|
oRm.close("div");
|
package/src/sap/m/GrowingList.js
CHANGED
package/src/sap/m/HBox.js
CHANGED
|
@@ -124,7 +124,7 @@ sap.ui.define([
|
|
|
124
124
|
* @since 1.44.0
|
|
125
125
|
*
|
|
126
126
|
* @author SAP SE
|
|
127
|
-
* @version 1.
|
|
127
|
+
* @version 1.124.0
|
|
128
128
|
*
|
|
129
129
|
* @public
|
|
130
130
|
* @alias sap.m.HeaderContainer
|
|
@@ -206,7 +206,13 @@ sap.ui.define([
|
|
|
206
206
|
* @since 1.99
|
|
207
207
|
* @experimental since 1.99
|
|
208
208
|
*/
|
|
209
|
-
gridLayout: {type: "boolean", defaultValue: false}
|
|
209
|
+
gridLayout: {type: "boolean", defaultValue: false},
|
|
210
|
+
/**
|
|
211
|
+
* The height of all the items is stretched to match the largest item in the row within the HeaderContainer.
|
|
212
|
+
*
|
|
213
|
+
* If set to <code>true</code>, the items are going to get stretched.
|
|
214
|
+
*/
|
|
215
|
+
snapToRow: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
210
216
|
},
|
|
211
217
|
defaultAggregation: "content",
|
|
212
218
|
aggregations: {
|
|
@@ -34,6 +34,9 @@ sap.ui.define(['sap/ui/core/library'],
|
|
|
34
34
|
oRm.attr("title", sTooltip);
|
|
35
35
|
}
|
|
36
36
|
oRm.class("sapMHdrCntr");
|
|
37
|
+
if (oControl.getSnapToRow()) {
|
|
38
|
+
oRm.class("sapMHdrCntrSnapToRow");
|
|
39
|
+
}
|
|
37
40
|
oRm.class(sOrientationClass);
|
|
38
41
|
if (oControl.getShowDividers()) {
|
|
39
42
|
oRm.class("sapMHrdrCntrDvdrs");
|
package/src/sap/m/IconTabBar.js
CHANGED
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
* @implements sap.m.IconTab
|
|
93
93
|
*
|
|
94
94
|
* @author SAP SE
|
|
95
|
-
* @version 1.
|
|
95
|
+
* @version 1.124.0
|
|
96
96
|
*
|
|
97
97
|
* @constructor
|
|
98
98
|
* @public
|
|
@@ -599,7 +599,7 @@ sap.ui.define([
|
|
|
599
599
|
oRM.openStart("div", sId + "-text")
|
|
600
600
|
.class("sapMITBText");
|
|
601
601
|
|
|
602
|
-
if (!
|
|
602
|
+
if (!bShowAll) {
|
|
603
603
|
oRM.class("sapMITBBadgeHolder");
|
|
604
604
|
}
|
|
605
605
|
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* @extends sap.ui.core.Control
|
|
89
89
|
*
|
|
90
90
|
* @author SAP SE
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.124.0
|
|
92
92
|
*
|
|
93
93
|
* @constructor
|
|
94
94
|
* @public
|
|
@@ -329,6 +329,8 @@ sap.ui.define([
|
|
|
329
329
|
|
|
330
330
|
IllustratedMessage.prototype.init = function () {
|
|
331
331
|
this._sLastKnownMedia = null;
|
|
332
|
+
this._oLastKnownWidthForMedia = {};
|
|
333
|
+
this._oLastKnownHeightForMedia = {};
|
|
332
334
|
this._updateInternalIllustrationSetAndType(this.getIllustrationType());
|
|
333
335
|
EventBus.getInstance().subscribe("sapMIllusPool-assetLdgFailed", this._handleMissingAsset.bind(this));
|
|
334
336
|
};
|
|
@@ -624,7 +626,7 @@ sap.ui.define([
|
|
|
624
626
|
*/
|
|
625
627
|
IllustratedMessage.prototype._updateMedia = function (iWidth, iHeight) {
|
|
626
628
|
var bVertical = this.getEnableVerticalResponsiveness(),
|
|
627
|
-
sNewMedia;
|
|
629
|
+
sNewMedia, iLastKnownWidth, iLastKnownHeight;
|
|
628
630
|
|
|
629
631
|
if (!iWidth && !iHeight) {
|
|
630
632
|
return;
|
|
@@ -643,7 +645,21 @@ sap.ui.define([
|
|
|
643
645
|
}
|
|
644
646
|
|
|
645
647
|
this._updateSymbol(sNewMedia);
|
|
646
|
-
|
|
648
|
+
|
|
649
|
+
iLastKnownWidth = this._oLastKnownWidthForMedia[sNewMedia];
|
|
650
|
+
iLastKnownHeight = this._oLastKnownHeightForMedia[sNewMedia];
|
|
651
|
+
// prevents infinite resizing, when same width is detected for the same media,
|
|
652
|
+
// excluding the case in which, the control is placed inside expand/collapse container
|
|
653
|
+
if (this._sLastKnownMedia !== sNewMedia &&
|
|
654
|
+
!(iLastKnownWidth && iWidth === iLastKnownWidth
|
|
655
|
+
&& iLastKnownHeight && iHeight === iLastKnownHeight)
|
|
656
|
+
|| this._oLastKnownWidthForMedia[this._sLastKnownMedia] === 0
|
|
657
|
+
|| this._oLastKnownHeightForMedia[this._sLastKnownMedia] === 0) {
|
|
658
|
+
this._updateMediaStyle(sNewMedia);
|
|
659
|
+
this._oLastKnownWidthForMedia[sNewMedia] = iWidth;
|
|
660
|
+
this._oLastKnownHeightForMedia[sNewMedia] = iHeight;
|
|
661
|
+
this._sLastKnownMedia = sNewMedia;
|
|
662
|
+
}
|
|
647
663
|
};
|
|
648
664
|
|
|
649
665
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([], function() {
|
|
7
|
+
sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -64,6 +64,8 @@ sap.ui.define([], function() {
|
|
|
64
64
|
Scene : "Scene"
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
+
DataType.registerEnum("sap.m.IllustratedMessageSize", IllustratedMessageSize);
|
|
68
|
+
|
|
67
69
|
return IllustratedMessageSize;
|
|
68
70
|
});
|
|
69
71
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([], function
|
|
7
|
+
sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -379,6 +379,8 @@ sap.ui.define([], function () {
|
|
|
379
379
|
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
+
DataType.registerEnum("sap.m.IllustratedMessageType", IllustratedMessageType);
|
|
383
|
+
|
|
382
384
|
return IllustratedMessageType;
|
|
383
385
|
});
|
|
384
386
|
|
package/src/sap/m/Image.js
CHANGED
package/src/sap/m/Input.js
CHANGED
|
@@ -11,6 +11,7 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/Item',
|
|
12
12
|
'sap/ui/core/LabelEnablement',
|
|
13
13
|
'sap/ui/core/AccessKeysEnablement',
|
|
14
|
+
'sap/ui/core/library',
|
|
14
15
|
'./ColumnListItem',
|
|
15
16
|
'./GroupHeaderListItem',
|
|
16
17
|
'sap/ui/core/SeparatorItem',
|
|
@@ -48,6 +49,7 @@ function(
|
|
|
48
49
|
Item,
|
|
49
50
|
LabelEnablement,
|
|
50
51
|
AccessKeysEnablement,
|
|
52
|
+
CoreLibrary,
|
|
51
53
|
ColumnListItem,
|
|
52
54
|
GroupHeaderListItem,
|
|
53
55
|
SeparatorItem,
|
|
@@ -160,7 +162,7 @@ function(
|
|
|
160
162
|
* @extends sap.m.InputBase
|
|
161
163
|
* @implements sap.ui.core.IAccessKeySupport
|
|
162
164
|
* @author SAP SE
|
|
163
|
-
* @version 1.
|
|
165
|
+
* @version 1.124.0
|
|
164
166
|
*
|
|
165
167
|
* @constructor
|
|
166
168
|
* @public
|
|
@@ -623,6 +625,7 @@ function(
|
|
|
623
625
|
// even though there is no user input (check Input.prototype.onsapright).
|
|
624
626
|
this._setTypedInValue("");
|
|
625
627
|
this._bDoTypeAhead = false;
|
|
628
|
+
this._isValueInitial = false;
|
|
626
629
|
|
|
627
630
|
// indicates whether input is clicked (on mobile) or the clear button
|
|
628
631
|
// used for identifying whether dialog should be open.
|
|
@@ -702,6 +705,10 @@ function(
|
|
|
702
705
|
|
|
703
706
|
InputBase.prototype.onBeforeRendering.call(this);
|
|
704
707
|
|
|
708
|
+
if (!this.getDomRef() && this.getValue()) {
|
|
709
|
+
this._isValueInitial = true;
|
|
710
|
+
}
|
|
711
|
+
|
|
705
712
|
if (this.getShowClearIcon()) {
|
|
706
713
|
this._getClearIcon().setProperty("visible", bShowClearIcon);
|
|
707
714
|
} else if (this._oClearButton) {
|
|
@@ -756,6 +763,15 @@ function(
|
|
|
756
763
|
}
|
|
757
764
|
};
|
|
758
765
|
|
|
766
|
+
Input.prototype.onAfterRendering = function() {
|
|
767
|
+
InputBase.prototype.onAfterRendering.call(this);
|
|
768
|
+
|
|
769
|
+
if (this._isValueInitial && this.getType() === InputType.Password) {
|
|
770
|
+
this.getDomRef("inner").value = this.getProperty("value");
|
|
771
|
+
this._isValueInitial = false;
|
|
772
|
+
}
|
|
773
|
+
};
|
|
774
|
+
|
|
759
775
|
/**
|
|
760
776
|
* Returns input display text.
|
|
761
777
|
*
|
|
@@ -1448,29 +1464,28 @@ function(
|
|
|
1448
1464
|
const aItems = this._hasTabularSuggestions() ? this.getSuggestionRows() : this.getSuggestionItems();
|
|
1449
1465
|
const oSuggestionsPopover = this._getSuggestionsPopover();
|
|
1450
1466
|
const oSelectedItem = oSuggestionsPopover?.getItemsContainer()?.getSelectedItem();
|
|
1467
|
+
const oFocusedItem = bFocusInPopup && oSuggestionsPopover.getFocusedListItem();
|
|
1451
1468
|
const sText = oSelectedItem?.getTitle?.() || oSelectedItem?.getCells?.()[0]?.getText?.() || "";
|
|
1452
1469
|
const bPendingSuggest = !!this._iSuggestDelay && !sText.toLowerCase().includes(this._getTypedInValue().toLowerCase());
|
|
1453
1470
|
let bFireSubmit = this.getEnabled() && this.getEditable();
|
|
1454
|
-
let iValueLength
|
|
1471
|
+
let iValueLength;
|
|
1455
1472
|
|
|
1456
1473
|
// when enter is pressed before the timeout of suggestion delay, suggest event is cancelled
|
|
1457
1474
|
this.cancelPendingSuggest();
|
|
1458
1475
|
|
|
1459
1476
|
bFocusInPopup && this.setSelectionUpdatedFromList(true);
|
|
1460
1477
|
|
|
1461
|
-
|
|
1462
|
-
|
|
1478
|
+
// prevent closing of popover, when Enter is pressed on a group header
|
|
1479
|
+
if (this._bDoTypeAhead && oFocusedItem && oFocusedItem.isA("sap.m.GroupHeaderListItem")) {
|
|
1480
|
+
return;
|
|
1481
|
+
}
|
|
1463
1482
|
|
|
1483
|
+
if (this._bDoTypeAhead && bPopupOpened && !this.isComposingCharacter() && !bPendingSuggest) {
|
|
1464
1484
|
if (this._hasTabularSuggestions()) {
|
|
1465
1485
|
oSelectedItem && this.setSelectionRow(oSelectedItem, true);
|
|
1466
1486
|
} else {
|
|
1467
1487
|
oSelectedItem && this.setSelectionItem(ListHelpers.getItemByListItem(aItems, oSelectedItem), true);
|
|
1468
1488
|
}
|
|
1469
|
-
|
|
1470
|
-
// prevent closing of popover, when Enter is pressed on a group header
|
|
1471
|
-
if (oFocusedItem && oFocusedItem.isA("sap.m.GroupHeaderListItem")) {
|
|
1472
|
-
return;
|
|
1473
|
-
}
|
|
1474
1489
|
}
|
|
1475
1490
|
|
|
1476
1491
|
if (bPopupOpened && !this.isComposingCharacter()) {
|
|
@@ -1659,10 +1674,7 @@ function(
|
|
|
1659
1674
|
this._bSuspendInvalidate = true;
|
|
1660
1675
|
this.updateAggregation("suggestionItems");
|
|
1661
1676
|
|
|
1662
|
-
|
|
1663
|
-
return this.getSuggestionItems().some((item) => (item.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
|
|
1664
|
-
};
|
|
1665
|
-
if (fnCheckMatchingSuggestions(this.getValue()) && this._isSuggestionsPopoverOpen()) {
|
|
1677
|
+
if (this.checkMatchingSuggestionItems(this.getValue()) && this._isSuggestionsPopoverOpen()) {
|
|
1666
1678
|
this._handleTypeAhead(this);
|
|
1667
1679
|
}
|
|
1668
1680
|
|
|
@@ -1921,7 +1933,6 @@ function(
|
|
|
1921
1933
|
oList.addStyleClass("sapMInputSuggestionTableHidden");
|
|
1922
1934
|
}
|
|
1923
1935
|
|
|
1924
|
-
this.$("SuggDescr").text(""); // clear suggestion text
|
|
1925
1936
|
this.$("inner").removeAttr("aria-activedescendant");
|
|
1926
1937
|
};
|
|
1927
1938
|
|
|
@@ -1964,10 +1975,6 @@ function(
|
|
|
1964
1975
|
// In that case the second DOM update of the invisible text element
|
|
1965
1976
|
// do not occur if it is synchronous. BCP #2070466087
|
|
1966
1977
|
setTimeout(function () {
|
|
1967
|
-
if (!this.getSuggestionItems().length && !this._hasTabularSuggestions()) {
|
|
1968
|
-
return this.$("SuggDescr").text("");
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
1978
|
// add items to list
|
|
1972
1979
|
if (iNumItems === 1) {
|
|
1973
1980
|
sAriaText = oRb.getText("INPUT_SUGGESTIONS_ONE_HIT");
|
|
@@ -1978,7 +1985,7 @@ function(
|
|
|
1978
1985
|
}
|
|
1979
1986
|
|
|
1980
1987
|
// update Accessibility text for suggestion
|
|
1981
|
-
this
|
|
1988
|
+
this._oInvisibleMessage?.announce(sAriaText, CoreLibrary.InvisibleMessageMode.Polite);
|
|
1982
1989
|
}.bind(this), 0);
|
|
1983
1990
|
};
|
|
1984
1991
|
|
|
@@ -2049,11 +2056,7 @@ function(
|
|
|
2049
2056
|
this.updateAggregation("suggestionRows");
|
|
2050
2057
|
this._synchronizeSuggestions();
|
|
2051
2058
|
|
|
2052
|
-
|
|
2053
|
-
return this.getSuggestionRows().some((row) => (row.getCells?.()[0]?.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !row.isA("sap.m.GroupHeaderListItem"));
|
|
2054
|
-
};
|
|
2055
|
-
|
|
2056
|
-
if (fnCheckMatchingTabularSuggestions(this.getValue()) && this._isSuggestionsPopoverOpen()) {
|
|
2059
|
+
if (this.checkMatchingTabularSuggestionItems(this.getValue()) && this._isSuggestionsPopoverOpen()) {
|
|
2057
2060
|
this._handleTypeAhead(this);
|
|
2058
2061
|
}
|
|
2059
2062
|
|
|
@@ -2139,7 +2142,6 @@ function(
|
|
|
2139
2142
|
if (!this.isMobileDevice() && this.$().hasClass("sapMInputFocused")) {
|
|
2140
2143
|
this.openValueStateMessage();
|
|
2141
2144
|
}
|
|
2142
|
-
this.$("SuggDescr").text(""); // initialize suggestion ARIA text
|
|
2143
2145
|
this.$("inner").removeAttr("aria-activedescendant");
|
|
2144
2146
|
|
|
2145
2147
|
this._sPrevSuggValue = null;
|
|
@@ -2278,13 +2280,7 @@ function(
|
|
|
2278
2280
|
|
|
2279
2281
|
oInput._setProposedItemText(null);
|
|
2280
2282
|
|
|
2281
|
-
const
|
|
2282
|
-
return this.getSuggestionItems().some((item) => (item.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
|
|
2283
|
-
};
|
|
2284
|
-
const fnCheckMatchingTabularSuggestions = (sCurrentValue) => {
|
|
2285
|
-
return this.getSuggestionRows().some((row) => row.getCells?.()[0]?.getText().toLowerCase() === sCurrentValue.toLowerCase());
|
|
2286
|
-
};
|
|
2287
|
-
const bExactMatch = this._hasTabularSuggestions() ? fnCheckMatchingTabularSuggestions(sValue) : fnCheckMatchingSuggestions(sValue);
|
|
2283
|
+
const bExactMatch = this._hasTabularSuggestions() ? this.checkMatchingTabularSuggestionItems(sValue) : this.checkMatchingSuggestionItems(sValue);
|
|
2288
2284
|
|
|
2289
2285
|
if (!bDoTypeAhead && !bExactMatch) {
|
|
2290
2286
|
return;
|
|
@@ -2362,6 +2358,10 @@ function(
|
|
|
2362
2358
|
return;
|
|
2363
2359
|
}
|
|
2364
2360
|
|
|
2361
|
+
if (!this._getTypedInValue().length) {
|
|
2362
|
+
return;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
2365
|
if (this._getTypedInValue() !== sValue) {
|
|
2366
2366
|
this._setTypedInValue(oDomRef.value.substring(0, oDomRef.selectionStart));
|
|
2367
2367
|
|
|
@@ -2430,7 +2430,6 @@ function(
|
|
|
2430
2430
|
Input.prototype.onfocusout = function (oEvent) {
|
|
2431
2431
|
InputBase.prototype.onfocusout.apply(this, arguments);
|
|
2432
2432
|
this.removeStyleClass("sapMInputFocused");
|
|
2433
|
-
this.$("SuggDescr").text(""); // clear suggestion text, if any
|
|
2434
2433
|
};
|
|
2435
2434
|
|
|
2436
2435
|
/**
|
|
@@ -3054,6 +3053,7 @@ function(
|
|
|
3054
3053
|
|
|
3055
3054
|
oPopover = oSuggPopover.getPopover();
|
|
3056
3055
|
oPopover.attachBeforeOpen(function () {
|
|
3056
|
+
this.closeValueStateMessage();
|
|
3057
3057
|
this._updateSuggestionsPopoverValueState();
|
|
3058
3058
|
}, this);
|
|
3059
3059
|
|
|
@@ -3120,7 +3120,7 @@ function(
|
|
|
3120
3120
|
this._refreshListItems();
|
|
3121
3121
|
}, this)
|
|
3122
3122
|
.attachBeforeOpen(function() {
|
|
3123
|
-
|
|
3123
|
+
var oSuggestionsInput = oSuggPopover.getInput();
|
|
3124
3124
|
// set the same placeholder and maxLength as the original input
|
|
3125
3125
|
["placeholder",
|
|
3126
3126
|
"maxLength",
|
|
@@ -3610,6 +3610,25 @@ function(
|
|
|
3610
3610
|
return ["value", "description"];
|
|
3611
3611
|
};
|
|
3612
3612
|
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* Check if the current value is matching with a suggestion item.
|
|
3616
|
+
*
|
|
3617
|
+
* @private
|
|
3618
|
+
*/
|
|
3619
|
+
Input.prototype.checkMatchingSuggestionItems = function(sCurrentValue) {
|
|
3620
|
+
return this.getSuggestionItems().some((item) => (item.getText?.().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* Check if the current value is matching with a tabular suggestion item.
|
|
3625
|
+
*
|
|
3626
|
+
* @private
|
|
3627
|
+
*/
|
|
3628
|
+
Input.prototype.checkMatchingTabularSuggestionItems = function(sCurrentValue) {
|
|
3629
|
+
return this.getSuggestionRows().some((row) => row.getCells?.()[0]?.getText?.().toLowerCase() === sCurrentValue.toLowerCase() && !row.isA("sap.m.GroupHeaderListItem"));
|
|
3630
|
+
};
|
|
3631
|
+
|
|
3613
3632
|
return Input;
|
|
3614
3633
|
|
|
3615
3634
|
});
|