@openui5/sap.m 1.136.3 → 1.139.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/README.md +1 -1
- package/REUSE.toml +8 -29
- package/THIRDPARTY.txt +72 -90
- package/package.json +5 -5
- 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/ActionTile.js +3 -2
- package/src/sap/m/ActionTileContent.js +1 -1
- 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 +3 -3
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/BarInPageEnabler.js +5 -6
- 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 +4 -3
- 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/ColorPaletteRenderer.js +2 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +24 -10
- package/src/sap/m/ColumnListItemRenderer.js +10 -0
- 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 +1 -1
- package/src/sap/m/ComboBoxBaseRenderer.js +1 -9
- 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 -21
- package/src/sap/m/DateRangeSelection.js +4 -3
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +5 -1
- package/src/sap/m/DialogRenderer.js +14 -6
- 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 +1 -1
- 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 +65 -16
- package/src/sap/m/FeedInputRenderer.js +7 -0
- package/src/sap/m/FeedListItem.js +11 -9
- package/src/sap/m/FeedListItemAction.js +5 -19
- 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 +27 -10
- package/src/sap/m/GroupHeaderListItem.js +6 -2
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +9 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +58 -54
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +48 -10
- package/src/sap/m/Illustration.js +9 -2
- package/src/sap/m/IllustrationRenderer.js +14 -7
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -2
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +1 -14
- 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 +4 -27
- package/src/sap/m/LinkRenderer.js +4 -3
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +2 -2
- package/src/sap/m/ListBase.js +43 -2
- package/src/sap/m/ListBaseRenderer.js +3 -1
- package/src/sap/m/ListItemAction.js +189 -0
- package/src/sap/m/ListItemActionBase.js +52 -0
- package/src/sap/m/ListItemBase.js +88 -17
- package/src/sap/m/ListItemBaseRenderer.js +34 -3
- package/src/sap/m/ListRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +422 -877
- package/src/sap/m/MenuButton.js +17 -78
- package/src/sap/m/MenuItem.js +459 -300
- package/src/sap/m/MenuItemGroup.js +9 -353
- package/src/sap/m/MenuItemRenderer.js +220 -0
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +720 -0
- package/src/sap/m/MenuWrapperRenderer.js +143 -0
- package/src/sap/m/MessageBox.js +2 -2
- 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 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +3 -2
- package/src/sap/m/MessageToast.js +8 -6
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +9 -8
- package/src/sap/m/MultiComboBoxRenderer.js +1 -9
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +18 -7
- 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 +12 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +3 -3
- 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 +5 -2
- package/src/sap/m/ObjectNumber.js +13 -1
- package/src/sap/m/ObjectNumberRenderer.js +13 -4
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +1 -1
- package/src/sap/m/OverflowToolbar.js +3 -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/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/OverflowToolbarTokenizer.js +315 -0
- package/src/sap/m/OverflowToolbarTokenizerRenderer.js +84 -0
- 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 +1 -1
- 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 +2 -2
- package/src/sap/m/Page.js +6 -33
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PageRenderer.js +3 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +109 -234
- package/src/sap/m/PlanningCalendarHeader.js +37 -17
- 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 +8 -1
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +2 -4
- 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 +22 -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 +14 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +29 -2
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -16
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +6 -2
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitButtonRenderer.js +8 -6
- 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 +6 -1
- package/src/sap/m/Suggest.js +3 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -2
- package/src/sap/m/Switch.js +19 -3
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +9 -3
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +21 -27
- 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 +11 -3
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +2 -2
- 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 +1 -1
- package/src/sap/m/TileRenderer.js +2 -2
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/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 +88 -28
- package/src/sap/m/TokenizerRenderer.js +29 -15
- package/src/sap/m/Toolbar.js +14 -8
- 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 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +17 -3
- 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 +18 -2
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +9 -6
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/ListItemBase.designtime.js +5 -0
- package/src/sap/m/designtime/Page.designtime.js +13 -1
- package/src/sap/m/i18n/interaction.xml +2 -2
- package/src/sap/m/library.js +111 -8
- package/src/sap/m/library.support.js +3 -0
- package/src/sap/m/messagebundle.properties +58 -16
- package/src/sap/m/messagebundle_ar.properties +37 -9
- package/src/sap/m/messagebundle_bg.properties +37 -9
- package/src/sap/m/messagebundle_ca.properties +37 -9
- package/src/sap/m/messagebundle_cnr.properties +38 -10
- package/src/sap/m/messagebundle_cs.properties +38 -10
- package/src/sap/m/messagebundle_cy.properties +37 -9
- package/src/sap/m/messagebundle_da.properties +37 -9
- package/src/sap/m/messagebundle_de.properties +37 -9
- package/src/sap/m/messagebundle_el.properties +38 -10
- package/src/sap/m/messagebundle_en.properties +38 -10
- package/src/sap/m/messagebundle_en_GB.properties +38 -10
- package/src/sap/m/messagebundle_en_US_saprigi.properties +38 -10
- package/src/sap/m/messagebundle_es.properties +37 -9
- package/src/sap/m/messagebundle_es_MX.properties +38 -10
- package/src/sap/m/messagebundle_et.properties +37 -9
- package/src/sap/m/messagebundle_fi.properties +39 -11
- package/src/sap/m/messagebundle_fr.properties +37 -9
- package/src/sap/m/messagebundle_fr_CA.properties +37 -9
- package/src/sap/m/messagebundle_hi.properties +38 -10
- package/src/sap/m/messagebundle_hr.properties +38 -10
- package/src/sap/m/messagebundle_hu.properties +36 -8
- package/src/sap/m/messagebundle_id.properties +38 -10
- package/src/sap/m/messagebundle_it.properties +36 -8
- package/src/sap/m/messagebundle_iw.properties +37 -9
- package/src/sap/m/messagebundle_ja.properties +38 -10
- package/src/sap/m/messagebundle_kk.properties +38 -10
- package/src/sap/m/messagebundle_ko.properties +38 -10
- package/src/sap/m/messagebundle_lt.properties +38 -10
- package/src/sap/m/messagebundle_lv.properties +38 -10
- package/src/sap/m/messagebundle_mk.properties +37 -9
- package/src/sap/m/messagebundle_ms.properties +38 -10
- package/src/sap/m/messagebundle_nl.properties +37 -9
- package/src/sap/m/messagebundle_no.properties +38 -10
- package/src/sap/m/messagebundle_pl.properties +38 -10
- package/src/sap/m/messagebundle_pt.properties +37 -9
- package/src/sap/m/messagebundle_pt_PT.properties +37 -9
- package/src/sap/m/messagebundle_ro.properties +37 -9
- package/src/sap/m/messagebundle_ru.properties +38 -10
- package/src/sap/m/messagebundle_sh.properties +38 -10
- package/src/sap/m/messagebundle_sk.properties +39 -11
- package/src/sap/m/messagebundle_sl.properties +38 -10
- package/src/sap/m/messagebundle_sr.properties +38 -10
- package/src/sap/m/messagebundle_sv.properties +37 -9
- package/src/sap/m/messagebundle_th.properties +37 -9
- package/src/sap/m/messagebundle_tr.properties +37 -9
- package/src/sap/m/messagebundle_uk.properties +37 -9
- package/src/sap/m/messagebundle_vi.properties +38 -10
- package/src/sap/m/messagebundle_zh_CN.properties +37 -9
- package/src/sap/m/messagebundle_zh_TW.properties +38 -10
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/p13n/MessageStrip.js +1 -1
- package/src/sap/m/p13n/Popup.js +3 -1
- package/src/sap/m/p13n/QueryPanel.js +10 -6
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +32 -41
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +3 -4
- 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 +9 -7
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +28 -4
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/plugins/UploadSetwithTable.js +121 -2
- package/src/sap/m/routing/Target.js +52 -8
- package/src/sap/m/routing/Targets.js +58 -11
- package/src/sap/m/rules/IllustratedMessage.support.js +126 -0
- 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 +8 -2
- package/src/sap/m/table/columnmenu/MenuBase.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 +10 -4
- package/src/sap/m/table/columnmenu/QuickResize.js +142 -0
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -19
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +10 -4
- package/src/sap/m/themes/base/Button.less +36 -13
- package/src/sap/m/themes/base/CheckBox.less +4 -6
- package/src/sap/m/themes/base/ColumnListItem.less +11 -0
- package/src/sap/m/themes/base/DynamicDateRange.less +6 -2
- package/src/sap/m/themes/base/FeedInput.less +17 -0
- package/src/sap/m/themes/base/GenericTile.less +22 -7
- package/src/sap/m/themes/base/Illustration.less +4 -0
- package/src/sap/m/themes/base/Link.less +3 -0
- package/src/sap/m/themes/base/ListBase.less +1 -0
- package/src/sap/m/themes/base/ListItemBase.less +22 -10
- package/src/sap/m/themes/base/Menu.less +329 -12
- package/src/sap/m/themes/base/NumericContent.less +1 -2
- package/src/sap/m/themes/base/ObjectStatus.less +2 -0
- package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +80 -0
- package/src/sap/m/themes/base/Page.less +5 -4
- package/src/sap/m/themes/base/Panel.less +7 -2
- package/src/sap/m/themes/base/PlanningCalendar.less +37 -0
- package/src/sap/m/themes/base/RatingIndicator.less +7 -2
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -0
- package/src/sap/m/themes/base/Table.less +42 -11
- package/src/sap/m/themes/base/Wizard.less +14 -43
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +69 -69
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +48 -48
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +40 -40
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +39 -39
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +25 -25
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddPeople.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BalloonSky.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BeforeSearch.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Connection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ErrorScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-FilterTable.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-GroupTable.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoEntries.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail_v1.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ReloadScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchEarth.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchFolder.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SignOut.svg +10 -17
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBalloon.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCheckMark.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleConnection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleError.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMagnifier.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMail.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleReload.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleTask.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SleepingBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SortColumn.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessHighFive.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessScreen.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Tent.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +80 -80
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +54 -54
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +70 -70
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +20 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +51 -51
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +41 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +49 -49
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +71 -71
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +37 -37
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +17 -17
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +1 -1
- package/src/sap/m/upload/UploadItem.js +8 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +34 -2
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +2 -2
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +2 -2
- package/src/sap/m/upload/UploaderTableItem.js +3 -3
- package/src/sap/m/routing/async/Target.js +0 -60
- package/src/sap/m/routing/async/Targets.js +0 -60
|
@@ -112,7 +112,7 @@ sap.ui.define([
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
oRM.accessibilityState(oDialog, {
|
|
115
|
-
role: sRole,
|
|
115
|
+
role: sRole.toLowerCase(),
|
|
116
116
|
modal: true
|
|
117
117
|
});
|
|
118
118
|
|
|
@@ -178,7 +178,9 @@ sap.ui.define([
|
|
|
178
178
|
oRM.openStart("header")
|
|
179
179
|
.openEnd();
|
|
180
180
|
if (oHeader) {
|
|
181
|
-
oHeader._applyContextClassFor
|
|
181
|
+
if (oHeader._applyContextClassFor) {
|
|
182
|
+
oHeader._applyContextClassFor("header");
|
|
183
|
+
}
|
|
182
184
|
oRM.openStart("div")
|
|
183
185
|
.class("sapMDialogTitleGroup");
|
|
184
186
|
|
|
@@ -198,7 +200,9 @@ sap.ui.define([
|
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
if (oSubHeader && oSubHeader.getVisible()) {
|
|
201
|
-
oSubHeader._applyContextClassFor
|
|
203
|
+
if (oSubHeader._applyContextClassFor) {
|
|
204
|
+
oSubHeader._applyContextClassFor("subheader");
|
|
205
|
+
}
|
|
202
206
|
oRM.openStart("div")
|
|
203
207
|
.class("sapMDialogSubHeader")
|
|
204
208
|
.openEnd()
|
|
@@ -241,10 +245,14 @@ sap.ui.define([
|
|
|
241
245
|
.class("sapMDialogFooter")
|
|
242
246
|
.openEnd();
|
|
243
247
|
if (oFooter) {
|
|
244
|
-
oFooter._applyContextClassFor
|
|
248
|
+
if (oFooter._applyContextClassFor) {
|
|
249
|
+
oFooter._applyContextClassFor("footer");
|
|
250
|
+
}
|
|
245
251
|
oRM.renderControl(oFooter);
|
|
246
252
|
} else {
|
|
247
|
-
oDialog._oToolbar._applyContextClassFor
|
|
253
|
+
if (oDialog._oToolbar._applyContextClassFor) {
|
|
254
|
+
oDialog._oToolbar._applyContextClassFor("footer");
|
|
255
|
+
}
|
|
248
256
|
oRM.renderControl(oDialog._oToolbar);
|
|
249
257
|
}
|
|
250
258
|
oRM.close("footer");
|
|
@@ -276,4 +284,4 @@ sap.ui.define([
|
|
|
276
284
|
};
|
|
277
285
|
|
|
278
286
|
return DialogRenderer;
|
|
279
|
-
}, /* bExport= */ true);
|
|
287
|
+
}, /* bExport= */ true);
|
package/src/sap/m/DynamicDate.js
CHANGED
package/src/sap/m/FacetFilter.js
CHANGED
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Represents a value for the {@link sap.m.FacetFilterList} control.
|
|
22
22
|
* @extends sap.m.ListItemBase
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.139.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
package/src/sap/m/FeedContent.js
CHANGED
package/src/sap/m/FeedInput.js
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"./library",
|
|
9
9
|
"sap/ui/core/Control",
|
|
10
|
-
"sap/ui/core/IconPool",
|
|
11
10
|
"sap/m/TextArea",
|
|
12
11
|
"sap/m/Button",
|
|
13
12
|
"./FeedInputRenderer",
|
|
@@ -17,10 +16,11 @@ sap.ui.define([
|
|
|
17
16
|
"sap/m/Avatar",
|
|
18
17
|
"sap/m/AvatarShape",
|
|
19
18
|
"sap/m/AvatarSize",
|
|
20
|
-
"sap/ui/core/Lib"
|
|
19
|
+
"sap/ui/core/Lib",
|
|
20
|
+
"sap/base/Log"
|
|
21
21
|
],
|
|
22
|
-
function(library, Control,
|
|
23
|
-
AvatarShape, AvatarSize, CoreLib) {
|
|
22
|
+
function(library, Control, TextArea, Button, FeedInputRenderer, jQuery, URLListValidator, sanitizeHTML0, Avatar,
|
|
23
|
+
AvatarShape, AvatarSize, CoreLib, Log) {
|
|
24
24
|
"use strict";
|
|
25
25
|
|
|
26
26
|
// shortcut for sap.m.ButtonType
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @extends sap.ui.core.Control
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.139.0
|
|
45
45
|
*
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
|
@@ -163,7 +163,15 @@ sap.ui.define([
|
|
|
163
163
|
/**
|
|
164
164
|
* Defines the inner avatar control.
|
|
165
165
|
*/
|
|
166
|
-
_avatar: { type: "sap.m.Avatar", multiple: false, visibility: "hidden" }
|
|
166
|
+
_avatar: { type: "sap.m.Avatar", multiple: false, visibility: "hidden" },
|
|
167
|
+
/**
|
|
168
|
+
* Defines the actions that are displayed next to the text area. These buttons can be used to trigger actions, such as attaching a file.
|
|
169
|
+
* This is a {@link sap.m.Button}
|
|
170
|
+
* If the actions are not set, the post button is displayed as the last control in the feed input.
|
|
171
|
+
* <b>Note:</b> Only <code>sap.m.Button</code> is supported for this aggregation. If another control is provided, an error is logged and actions are ignored.
|
|
172
|
+
* @since 1.139
|
|
173
|
+
*/
|
|
174
|
+
actions: {type: "sap.ui.core.Control", multiple: true}
|
|
167
175
|
},
|
|
168
176
|
events : {
|
|
169
177
|
|
|
@@ -395,7 +403,7 @@ sap.ui.define([
|
|
|
395
403
|
FeedInput.prototype.setValue = function (sValue) {
|
|
396
404
|
this.setProperty("value", sValue, true);
|
|
397
405
|
this._getTextArea().setValue(sValue);
|
|
398
|
-
this.
|
|
406
|
+
this.enablePostButton();
|
|
399
407
|
return this;
|
|
400
408
|
};
|
|
401
409
|
|
|
@@ -417,7 +425,7 @@ sap.ui.define([
|
|
|
417
425
|
}
|
|
418
426
|
}
|
|
419
427
|
this._getTextArea().setEnabled(bEnabled);
|
|
420
|
-
this.
|
|
428
|
+
this.enablePostButton();
|
|
421
429
|
return this;
|
|
422
430
|
};
|
|
423
431
|
|
|
@@ -448,7 +456,7 @@ sap.ui.define([
|
|
|
448
456
|
liveChange : jQuery.proxy(function (oEvt) {
|
|
449
457
|
var sValue = oEvt.getParameter("value");
|
|
450
458
|
this.setProperty("value", sValue, true); // update myself without re-rendering
|
|
451
|
-
this.
|
|
459
|
+
this.enablePostButton();
|
|
452
460
|
}, this)
|
|
453
461
|
});
|
|
454
462
|
this._oTextArea.setParent(this);
|
|
@@ -487,21 +495,62 @@ sap.ui.define([
|
|
|
487
495
|
};
|
|
488
496
|
|
|
489
497
|
/**
|
|
490
|
-
*
|
|
498
|
+
* Enables or disables the post button.
|
|
499
|
+
* If a boolean parameter is provided, the post button's enabled state is set directly to that value.
|
|
500
|
+
* @param {boolean} [bEnabled] - Sets the enabled state of the post button.
|
|
491
501
|
*/
|
|
492
|
-
FeedInput.prototype.
|
|
493
|
-
var bPostButtonEnabled = this._isControlEnabled();
|
|
502
|
+
FeedInput.prototype.enablePostButton = function(bEnabled) {
|
|
494
503
|
var oButton = this._getPostButton();
|
|
495
|
-
|
|
504
|
+
// If bEnabled is a boolean, set the button's enabled state directly
|
|
505
|
+
// Otherwise, check the control's validity to determine the button's enabled state
|
|
506
|
+
if (typeof bEnabled === "boolean") {
|
|
507
|
+
this._bEnablePostButton = bEnabled;
|
|
508
|
+
oButton.setEnabled(bEnabled);
|
|
509
|
+
// If the button is disabled and the current value is not empty, enable the button
|
|
510
|
+
// This ensures that the button is enabled when the value is set but the button is disabled
|
|
511
|
+
if (bEnabled == false && this.getValue()) {
|
|
512
|
+
oButton.setEnabled(!bEnabled);
|
|
513
|
+
}
|
|
514
|
+
} else {
|
|
515
|
+
var bPostButtonEnabled = this._isControlEnabled();
|
|
516
|
+
oButton.setEnabled(bPostButtonEnabled);
|
|
517
|
+
}
|
|
496
518
|
};
|
|
497
519
|
|
|
498
520
|
/**
|
|
499
|
-
*
|
|
500
|
-
* @
|
|
521
|
+
* Checks if the control is valid based on the enablePostButton flag and the value.
|
|
522
|
+
* @param {boolean} bEnablePostButton
|
|
523
|
+
* @returns {boolean}
|
|
501
524
|
*/
|
|
502
525
|
FeedInput.prototype._isControlEnabled = function() {
|
|
503
526
|
var sValue = this.getValue();
|
|
504
|
-
|
|
527
|
+
if (this._bEnablePostButton) {
|
|
528
|
+
// If bEnablePostButton is true, always return true regardless of value
|
|
529
|
+
return true;
|
|
530
|
+
} else {
|
|
531
|
+
// If bEnablePostButton is false, only return true if there is a value
|
|
532
|
+
return (typeof sValue === "string" || sValue instanceof String) && sValue.trim().length > 0;
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Returns the action button if it is a sap.m.Button, otherwise logs an error and returns null.
|
|
538
|
+
* @returns {sap.m.Button|null}
|
|
539
|
+
*/
|
|
540
|
+
FeedInput.prototype._getActionButtonIfValid = function () {
|
|
541
|
+
var oActionButton = this.getActions()[0]; // Get the first action button, if any
|
|
542
|
+
if (oActionButton && oActionButton.isA("sap.m.Button")) {
|
|
543
|
+
var sText = oActionButton.getText();
|
|
544
|
+
var sIcon = oActionButton.getIcon();
|
|
545
|
+
if (sIcon && (!sText || sText.trim() === "")) {
|
|
546
|
+
return oActionButton;
|
|
547
|
+
} else {
|
|
548
|
+
Log.error("FeedInput: The actionButton should only have an icon and no text.");
|
|
549
|
+
}
|
|
550
|
+
} else if (oActionButton) {
|
|
551
|
+
Log.error("FeedInput: The provided actionButton aggregation is not a sap.m.Button instance.");
|
|
552
|
+
}
|
|
553
|
+
return;
|
|
505
554
|
};
|
|
506
555
|
|
|
507
556
|
/**
|
|
@@ -22,6 +22,7 @@ sap.ui.define(["sap/ui/core/Lib"],
|
|
|
22
22
|
*/
|
|
23
23
|
FeedInputRenderer.render = function (oRm, oControl) {
|
|
24
24
|
var sMyId = oControl.getId();
|
|
25
|
+
var oActionButton = oControl._getActionButtonIfValid();
|
|
25
26
|
|
|
26
27
|
oRm.openStart("div", oControl);
|
|
27
28
|
oRm.class("sapMFeedInBase");
|
|
@@ -42,9 +43,15 @@ sap.ui.define(["sap/ui/core/Lib"],
|
|
|
42
43
|
}
|
|
43
44
|
oRm.openStart("div", sMyId + "-container");
|
|
44
45
|
oRm.class("sapMFeedInContainer");
|
|
46
|
+
if (oActionButton) {
|
|
47
|
+
oRm.class("sapMFeedInAcitonButtonContainer");
|
|
48
|
+
}
|
|
45
49
|
oRm.openEnd();
|
|
46
50
|
var oTextArea = oControl._getTextArea();
|
|
47
51
|
oRm.renderControl(oTextArea);
|
|
52
|
+
if (oActionButton) {
|
|
53
|
+
oRm.renderControl(oActionButton.addStyleClass("sapMFeedInActionButton"));
|
|
54
|
+
}
|
|
48
55
|
oRm.renderControl(oControl._getPostButton());
|
|
49
56
|
oRm.close("div");
|
|
50
57
|
oRm.close("div");
|
|
@@ -60,11 +60,12 @@ function(
|
|
|
60
60
|
* @class
|
|
61
61
|
* The control provides a set of properties for text, sender information, time stamp.
|
|
62
62
|
* Beginning with release 1.23 the new feature expand / collapse was introduced, which uses the property maxCharacters.
|
|
63
|
-
* Beginning with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed
|
|
63
|
+
* Beginning with release 1.44, sap.m.FormattedText was introduced which allows html formatted text to be displayed.
|
|
64
|
+
* The <code>actions</code> aggregation must contain instances of {@link sap.m.FeedListItemAction} in order to display them in the action sheet.
|
|
64
65
|
* @extends sap.m.ListItemBase
|
|
65
66
|
*
|
|
66
67
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
68
|
+
* @version 1.139.0
|
|
68
69
|
*
|
|
69
70
|
* @constructor
|
|
70
71
|
* @public
|
|
@@ -189,15 +190,8 @@ function(
|
|
|
189
190
|
*/
|
|
190
191
|
disableStyleAttribute : {type : "boolean", group : "Appearance", defaultValue : false}
|
|
191
192
|
},
|
|
192
|
-
defaultAggregation: "actions",
|
|
193
193
|
aggregations: {
|
|
194
194
|
|
|
195
|
-
/**
|
|
196
|
-
* Contains {@link sap.m.FeedListItemAction elements} that are displayed in the action sheet.
|
|
197
|
-
* @since 1.52.0
|
|
198
|
-
*/
|
|
199
|
-
actions: {type: "sap.m.FeedListItemAction", multiple: true},
|
|
200
|
-
|
|
201
195
|
/**
|
|
202
196
|
* Hidden aggregation which contains the text value
|
|
203
197
|
*/
|
|
@@ -291,6 +285,14 @@ function(
|
|
|
291
285
|
this._oInvisibleText.setText(FeedListItem._sTextListItem);
|
|
292
286
|
};
|
|
293
287
|
|
|
288
|
+
FeedListItem.prototype.validateAggregation = function(sAggregationName, vObject) {
|
|
289
|
+
var oResult = ListItemBase.prototype.validateAggregation.apply(this, arguments);
|
|
290
|
+
if (oResult && sAggregationName === "actions" && !vObject.isA("sap.m.FeedListItemAction")) {
|
|
291
|
+
throw new Error(vObject + " is not a valid action aggregation of " + this + ". The actions aggregation in this control only supports sap.m.FeedListItemAction.");
|
|
292
|
+
}
|
|
293
|
+
return oResult;
|
|
294
|
+
};
|
|
295
|
+
|
|
294
296
|
/**
|
|
295
297
|
*
|
|
296
298
|
* @private
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["
|
|
8
|
-
function(
|
|
7
|
+
sap.ui.define(["./ListItemActionBase"],
|
|
8
|
+
function(ListItemActionBase) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -16,38 +16,24 @@ sap.ui.define(["sap/ui/core/Element"],
|
|
|
16
16
|
*
|
|
17
17
|
* @class An action item of FeedListItem
|
|
18
18
|
*
|
|
19
|
-
* @extends sap.
|
|
19
|
+
* @extends sap.m.ListItemActionBase
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.139.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @public
|
|
26
26
|
* @alias sap.m.FeedListItemAction
|
|
27
27
|
* @since 1.52.0
|
|
28
28
|
*/
|
|
29
|
-
var FeedListItemAction =
|
|
29
|
+
var FeedListItemAction = ListItemActionBase.extend("sap.m.FeedListItemAction", /** @lends sap.m.FeedListItemAction.prototype */ {
|
|
30
30
|
metadata: {
|
|
31
31
|
library: "sap.m",
|
|
32
32
|
properties: {
|
|
33
|
-
/**
|
|
34
|
-
* The icon of the action.
|
|
35
|
-
*/
|
|
36
|
-
icon: { type: "sap.ui.core.URI", group: "Appearance", defaultValue: null },
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* The text of the item. It is used as a tooltip and for accessibility reasons.
|
|
40
|
-
*/
|
|
41
|
-
text: { type: "string", group: "Misc", defaultValue: "" },
|
|
42
|
-
|
|
43
33
|
/**
|
|
44
34
|
* The key of the item.
|
|
45
35
|
*/
|
|
46
36
|
key: { type: "string", group: "Misc", defaultValue: "" },
|
|
47
|
-
/**
|
|
48
|
-
* Hides or shows a button on the UI.
|
|
49
|
-
*/
|
|
50
|
-
visible: { type: "boolean", group: "Appearance", defaultValue: true },
|
|
51
37
|
/**
|
|
52
38
|
* Enables or disables a button on the UI. All buttons are enabled by default.
|
|
53
39
|
* Disabled buttons are colored differently as per the theme of the UI.
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
*
|
|
29
29
|
*
|
|
30
30
|
* @class text
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.139.0
|
|
32
32
|
* @private
|
|
33
33
|
* @since 1.38
|
|
34
34
|
* @alias HeaderAdapter
|
|
@@ -249,7 +249,7 @@ sap.ui.define([
|
|
|
249
249
|
* Constructor for an sap.m.Fiori20Adapter.
|
|
250
250
|
*
|
|
251
251
|
* @class text
|
|
252
|
-
* @version 1.
|
|
252
|
+
* @version 1.139.0
|
|
253
253
|
* @private
|
|
254
254
|
* @since 1.38
|
|
255
255
|
* @alias sap.m.Fiori20Adapter
|
package/src/sap/m/FlexBox.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
|
|
|
24
24
|
* @class
|
|
25
25
|
* Holds layout data for a FlexBox / HBox / VBox.
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.139.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -46,7 +46,7 @@ function(
|
|
|
46
46
|
* @class
|
|
47
47
|
* The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
|
|
48
48
|
* @extends sap.ui.core.Control
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.139.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
package/src/sap/m/GenericTag.js
CHANGED
package/src/sap/m/GenericTile.js
CHANGED
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @extends sap.ui.core.Control
|
|
90
90
|
*
|
|
91
91
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.139.0
|
|
93
93
|
* @since 1.34.0
|
|
94
94
|
*
|
|
95
95
|
* @public
|
|
@@ -1702,23 +1702,40 @@ sap.ui.define([
|
|
|
1702
1702
|
*/
|
|
1703
1703
|
GenericTile.prototype._getSizeDescription = function () {
|
|
1704
1704
|
var sText = "",
|
|
1705
|
-
|
|
1705
|
+
frameType = this.getFrameType(),
|
|
1706
|
+
bHasPress = this.hasListeners("press"),
|
|
1707
|
+
sUrl = this.getUrl();
|
|
1706
1708
|
if (this.getMode() === GenericTileMode.LineMode) {
|
|
1707
1709
|
var bIsLink = this.getUrl() && !this._isInActionScope() && this.getState() !== LoadState.Disabled;
|
|
1708
|
-
var bHasPress = this.hasListeners("press");
|
|
1709
1710
|
if (bIsLink || bHasPress) {
|
|
1710
1711
|
sText = "GENERIC_TILE_LINK";
|
|
1711
1712
|
} else {
|
|
1712
1713
|
sText = "GENERIC_TILE_LINE_SIZE";
|
|
1713
1714
|
}
|
|
1714
1715
|
} else if (frameType === FrameType.OneByHalf) {
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1716
|
+
if (bHasPress || sUrl) {
|
|
1717
|
+
sText = "GENERIC_TILE_NAVIGATIONAL_FLAT_SIZE";
|
|
1718
|
+
} else {
|
|
1719
|
+
sText = "GENERIC_TILE_ACTION_FLAT_SIZE";
|
|
1720
|
+
}
|
|
1721
|
+
} else if (frameType === FrameType.TwoByHalf) {
|
|
1722
|
+
if (bHasPress || sUrl) {
|
|
1723
|
+
sText = "GENERIC_TILE_NAVIGATIONAL_FLAT_WIDE_SIZE";
|
|
1724
|
+
} else {
|
|
1725
|
+
sText = "GENERIC_TILE_ACTION_FLAT_WIDE_SIZE";
|
|
1726
|
+
}
|
|
1727
|
+
} else if (frameType === FrameType.TwoByOne) {
|
|
1728
|
+
if (bHasPress || sUrl) {
|
|
1729
|
+
sText = "GENERIC_TILE_NAVIGATIONAL_WIDE_SIZE";
|
|
1730
|
+
} else {
|
|
1731
|
+
sText = "GENERIC_TILE_ACTION_WIDE_SIZE";
|
|
1732
|
+
}
|
|
1733
|
+
} else if (frameType === FrameType.OneByOne) {
|
|
1734
|
+
if (bHasPress || sUrl) {
|
|
1735
|
+
sText = "GENERIC_TILE_NAVIGATIONAL_ROLE_DESCRIPTION";
|
|
1736
|
+
} else {
|
|
1737
|
+
sText = "GENERIC_TILE_ACTION_ROLE_DESCRIPTION";
|
|
1738
|
+
}
|
|
1722
1739
|
}
|
|
1723
1740
|
return this._oRb.getText(sText);
|
|
1724
1741
|
};
|
|
@@ -25,7 +25,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
25
25
|
*
|
|
26
26
|
* @class
|
|
27
27
|
* <code>sap.m.GroupHeaderListItem</code> is used to display the title of a group and act as separator between groups in <code>sap.m.List</code> and <code>sap.m.Table</code>.
|
|
28
|
-
* <b>Note:</b> The inherited properties <code>unread</code>, <code>selected</code>, <code>counter</code
|
|
28
|
+
* <b>Note:</b> The inherited properties <code>unread</code>, <code>selected</code>, <code>counter</code>, the <code>press</code> event, and the <code>actions</code> aggregation from <code>sap.m.ListItemBase</code> are not supported.
|
|
29
29
|
*
|
|
30
30
|
* There are the following known restrictions:
|
|
31
31
|
* <ul>
|
|
@@ -37,7 +37,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
37
37
|
* @implements sap.m.ITableItem
|
|
38
38
|
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.139.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -123,6 +123,10 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
123
123
|
return true;
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
+
GroupHeaderListItem.prototype._getMaxActionsCount = function() {
|
|
127
|
+
return -1; // no actions for group headers
|
|
128
|
+
};
|
|
129
|
+
|
|
126
130
|
return GroupHeaderListItem;
|
|
127
131
|
|
|
128
132
|
});
|
package/src/sap/m/GrowingList.js
CHANGED
package/src/sap/m/HBox.js
CHANGED
package/src/sap/m/IconTabBar.js
CHANGED