@openui5/sap.m 1.138.0 → 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 -1
- package/THIRDPARTY.txt +72 -66
- 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 +1 -1
- 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 +1 -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 +5 -4
- 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 +19 -4
- 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/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 -1
- 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 +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 +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 +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -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 +2 -2
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +4 -2
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- package/src/sap/m/ListItemAction.js +1 -1
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +1 -1
- 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 +63 -21
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +40 -6
- package/src/sap/m/MenuWrapperRenderer.js +21 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +9 -8
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +16 -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 +19 -11
- 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 +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 +16 -7
- 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 +75 -35
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +100 -229
- 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 +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 +23 -26
- 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 +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -0
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +8 -0
- 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/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 +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -2
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- 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 +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/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 +61 -28
- package/src/sap/m/TokenizerRenderer.js +28 -14
- 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/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 +2 -2
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Page.designtime.js +13 -1
- package/src/sap/m/i18n/interaction.xml +2 -2
- package/src/sap/m/i18n/interaction_ar.xml +10 -10
- package/src/sap/m/i18n/interaction_cs.xml +3 -3
- package/src/sap/m/i18n/interaction_iw.xml +8 -8
- package/src/sap/m/i18n/interaction_kk.xml +3 -3
- package/src/sap/m/i18n/interaction_th.xml +1 -1
- package/src/sap/m/library.js +29 -2
- package/src/sap/m/library.support.js +3 -0
- package/src/sap/m/messagebundle.properties +11 -2
- package/src/sap/m/messagebundle_ar.properties +7 -1
- package/src/sap/m/messagebundle_bg.properties +6 -0
- package/src/sap/m/messagebundle_ca.properties +8 -2
- package/src/sap/m/messagebundle_cnr.properties +6 -0
- package/src/sap/m/messagebundle_cs.properties +7 -1
- package/src/sap/m/messagebundle_cy.properties +6 -0
- package/src/sap/m/messagebundle_da.properties +6 -0
- package/src/sap/m/messagebundle_de.properties +7 -1
- package/src/sap/m/messagebundle_el.properties +6 -0
- package/src/sap/m/messagebundle_en.properties +6 -0
- package/src/sap/m/messagebundle_en_GB.properties +6 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +6 -0
- package/src/sap/m/messagebundle_es.properties +8 -2
- package/src/sap/m/messagebundle_es_MX.properties +6 -0
- package/src/sap/m/messagebundle_et.properties +6 -0
- package/src/sap/m/messagebundle_fi.properties +6 -0
- package/src/sap/m/messagebundle_fr.properties +7 -1
- package/src/sap/m/messagebundle_fr_CA.properties +6 -0
- package/src/sap/m/messagebundle_hi.properties +6 -0
- package/src/sap/m/messagebundle_hr.properties +6 -0
- package/src/sap/m/messagebundle_hu.properties +6 -0
- package/src/sap/m/messagebundle_id.properties +19 -13
- package/src/sap/m/messagebundle_it.properties +6 -0
- package/src/sap/m/messagebundle_iw.properties +6 -0
- package/src/sap/m/messagebundle_ja.properties +6 -0
- package/src/sap/m/messagebundle_kk.properties +6 -0
- package/src/sap/m/messagebundle_ko.properties +6 -0
- package/src/sap/m/messagebundle_lt.properties +6 -0
- package/src/sap/m/messagebundle_lv.properties +6 -0
- package/src/sap/m/messagebundle_mk.properties +6 -0
- package/src/sap/m/messagebundle_ms.properties +6 -0
- package/src/sap/m/messagebundle_nl.properties +6 -0
- package/src/sap/m/messagebundle_no.properties +6 -0
- package/src/sap/m/messagebundle_pl.properties +6 -0
- package/src/sap/m/messagebundle_pt.properties +6 -0
- package/src/sap/m/messagebundle_pt_PT.properties +6 -0
- package/src/sap/m/messagebundle_ro.properties +6 -0
- package/src/sap/m/messagebundle_ru.properties +8 -2
- package/src/sap/m/messagebundle_sh.properties +6 -0
- package/src/sap/m/messagebundle_sk.properties +6 -0
- package/src/sap/m/messagebundle_sl.properties +6 -0
- package/src/sap/m/messagebundle_sr.properties +6 -0
- package/src/sap/m/messagebundle_sv.properties +6 -0
- package/src/sap/m/messagebundle_th.properties +6 -0
- package/src/sap/m/messagebundle_tr.properties +6 -0
- package/src/sap/m/messagebundle_uk.properties +6 -0
- package/src/sap/m/messagebundle_vi.properties +8 -2
- package/src/sap/m/messagebundle_zh_CN.properties +6 -0
- package/src/sap/m/messagebundle_zh_TW.properties +6 -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 +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 +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +1 -1
- 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/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +6 -5
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- 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 +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 +119 -2
- 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 +1 -1
- 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/CheckBox.less +4 -6
- 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/IconTabBar.less +4 -5
- package/src/sap/m/themes/base/Illustration.less +4 -0
- package/src/sap/m/themes/base/Link.less +2 -0
- 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/SinglePlanningCalendarMonthGrid.less +1 -0
- 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-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-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-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 +2 -2
- 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/UploaderTableItem.js +62 -6
|
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.139.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @experimental Since 1.73. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -49,6 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* <li>{@link sap.ui.mdc.Table MDC Table}</li>
|
|
50
50
|
* <li>{@link sap.m.Table Responsive Table}</li>
|
|
51
51
|
* <li>{@link sap.m.GridTable Grid Table}</li>
|
|
52
|
+
* <li>{@link sap.ui.table.TreeTable Tree Table}</li>
|
|
52
53
|
* </ul>
|
|
53
54
|
*
|
|
54
55
|
* <caption>Consider the following before using the plugin: </caption>
|
|
@@ -56,6 +57,7 @@ sap.ui.define([
|
|
|
56
57
|
* <li>It gets activated when it is added as a dependent to the table control. It gets deactivated when it is removed from the table control or when the table control is destroyed.</li>
|
|
57
58
|
* <li>It fires onActivated and onDeactivated events when it is activated and deactivated, respectively.</li>
|
|
58
59
|
* <li>Configuring the rowConfiguration aggregation (type {@link sap.m.upload.UploadItemConfiguration UploadItemConfiguration}) of this plugin is mandatory to use the features such as file preview, download etc.</li>
|
|
60
|
+
* <li>For the plugin to work with the tree table control, the isDirectoryPath property of the rowConfiguration aggregation must be set. This indicates if the context of the row is a directory or a file. It helps the plugin with the file preview feature.</li>
|
|
59
61
|
* <li>It works only with the table control when the table is bound to the model to perform the operations such as rename, download etc.</li>
|
|
60
62
|
* </ul>
|
|
61
63
|
*
|
|
@@ -75,7 +77,7 @@ sap.ui.define([
|
|
|
75
77
|
* </pre>
|
|
76
78
|
*
|
|
77
79
|
* @extends sap.ui.core.Element
|
|
78
|
-
* @version 1.
|
|
80
|
+
* @version 1.139.0
|
|
79
81
|
* @author SAP SE
|
|
80
82
|
* @public
|
|
81
83
|
* @since 1.124
|
|
@@ -1725,6 +1727,14 @@ sap.ui.define([
|
|
|
1725
1727
|
value: oBindingContext?.getProperty(oRowConfiguration?.getIsTrustedSourcePath())
|
|
1726
1728
|
}, createStaticBinding);
|
|
1727
1729
|
}
|
|
1730
|
+
if (oRowConfiguration?._isDirectoryPathValidator(oBindingContext)) {
|
|
1731
|
+
await this.bindItemProperty(oUploadSetItem, {
|
|
1732
|
+
property: "isDirectory",
|
|
1733
|
+
propertyPath: oRowConfiguration.getIsDirectoryPath(),
|
|
1734
|
+
modelName: sModelName,
|
|
1735
|
+
value: oBindingContext?.getProperty(oRowConfiguration.getIsDirectoryPath())
|
|
1736
|
+
}, createStaticBinding);
|
|
1737
|
+
}
|
|
1728
1738
|
return oUploadSetItem;
|
|
1729
1739
|
};
|
|
1730
1740
|
|
|
@@ -1857,7 +1867,7 @@ sap.ui.define([
|
|
|
1857
1867
|
oPlugin._oDragDropConfig = null;
|
|
1858
1868
|
}
|
|
1859
1869
|
},
|
|
1860
|
-
// Handles the preview of the passed context. Requires access to all the contexts of inner table to setup the preview along with carousel.
|
|
1870
|
+
// Handles the preview of the passed context. Requires an access to all the contexts of inner table to setup the preview along with the carousel.
|
|
1861
1871
|
openFilePreview: async function(oBindingContext, oControl, oPlugin) {
|
|
1862
1872
|
const oRowConfiguration = oPlugin.getRowConfiguration();
|
|
1863
1873
|
const oContexts = this.getTableContexts(oControl?._oTable);
|
|
@@ -2091,6 +2101,113 @@ sap.ui.define([
|
|
|
2091
2101
|
getTableContexts: function(oTable) {
|
|
2092
2102
|
return oTable?.getBinding("rows")?.getCurrentContexts() || null;
|
|
2093
2103
|
}
|
|
2104
|
+
},
|
|
2105
|
+
"sap.ui.table.TreeTable": {
|
|
2106
|
+
_sModelName: undefined,
|
|
2107
|
+
_bIsTableBound: false,
|
|
2108
|
+
setPluginDefaultSettings: function(oControl, oPlugin) {
|
|
2109
|
+
if (oPlugin.getUploadEnabled()) {
|
|
2110
|
+
this.setDragDropConfig(oControl, oPlugin);
|
|
2111
|
+
}
|
|
2112
|
+
this.setDefaultIllustrations(oControl, oPlugin);
|
|
2113
|
+
},
|
|
2114
|
+
setIsTableBound: function(oControl) {
|
|
2115
|
+
if (oControl?.getBinding("items")) {
|
|
2116
|
+
this._bIsTableBound = true;
|
|
2117
|
+
} else {
|
|
2118
|
+
this._bIsTableBound = false;
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
getIsTableBound: function() {
|
|
2122
|
+
return this._bIsTableBound;
|
|
2123
|
+
},
|
|
2124
|
+
setModelName: function(oControl) {
|
|
2125
|
+
if (oControl?.isA("sap.ui.table.Table")) {
|
|
2126
|
+
this._sModelName = oControl?.getBindingInfo("rows")?.model;
|
|
2127
|
+
}
|
|
2128
|
+
},
|
|
2129
|
+
getModelName: function() {
|
|
2130
|
+
return this._sModelName;
|
|
2131
|
+
},
|
|
2132
|
+
// Set the drag and drop configuration for the table when upload plugin is actived.
|
|
2133
|
+
setDragDropConfig: function (oControl, oPlugin) {
|
|
2134
|
+
var oDragDropConfig = oPlugin._oDragDropConfig = new DragDropInfo({
|
|
2135
|
+
sourceAggregation: "rows",
|
|
2136
|
+
targetAggregation: "rows"
|
|
2137
|
+
});
|
|
2138
|
+
var oDropConfig = oPlugin._oDropConfig = new DropInfo({
|
|
2139
|
+
dropEffect:"Move",
|
|
2140
|
+
dropPosition:"OnOrBetween",
|
|
2141
|
+
dragEnter: [oPlugin?._onDragEnterFile, oPlugin],
|
|
2142
|
+
drop: [oPlugin?._onDropFile, oPlugin]
|
|
2143
|
+
});
|
|
2144
|
+
oControl?.addDragDropConfig(oDragDropConfig);
|
|
2145
|
+
oControl?.addDragDropConfig(oDropConfig);
|
|
2146
|
+
},
|
|
2147
|
+
resetDragDropConfig: function(oControl, oPlugin) {
|
|
2148
|
+
if (oPlugin && oControl) {
|
|
2149
|
+
oControl.removeDragDropConfig(oPlugin._oDragDropConfig);
|
|
2150
|
+
oControl.removeDragDropConfig(oPlugin._oDropConfig);
|
|
2151
|
+
oPlugin._oDragDropConfig = null;
|
|
2152
|
+
oPlugin._oDropConfig = null;
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
// Set the default illustrations for the table when no data is available. Set only when the upload plugin is activated.
|
|
2156
|
+
setDefaultIllustrations: function(oControl, oPlugin) {
|
|
2157
|
+
const oNoDataIllustration = oPlugin?.getNoDataIllustration();
|
|
2158
|
+
if (oControl && oPlugin) {
|
|
2159
|
+
if (!oNoDataIllustration) {
|
|
2160
|
+
oPlugin._illustratedMessage = oPlugin._getDefaultNoDataIllustration();
|
|
2161
|
+
} else {
|
|
2162
|
+
oPlugin._illustratedMessage = oNoDataIllustration;
|
|
2163
|
+
}
|
|
2164
|
+
oControl.setNoData(oPlugin._illustratedMessage);
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
cleanupPluginInstanceSettings: function(oControl, oPlugin) {
|
|
2168
|
+
// remove nodata aggregations added from plugin activation.
|
|
2169
|
+
if (oControl) {
|
|
2170
|
+
oControl.setNoData(null);
|
|
2171
|
+
}
|
|
2172
|
+
if (oPlugin) {
|
|
2173
|
+
oPlugin.setPreviewDialog(null);
|
|
2174
|
+
oPlugin._illustratedMessage = null;
|
|
2175
|
+
}
|
|
2176
|
+
if (oPlugin._oDragDropConfig && oControl) {
|
|
2177
|
+
oControl.removeDragDropConfig(oPlugin._oDragDropConfig);
|
|
2178
|
+
oPlugin._oDragDropConfig = null;
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2181
|
+
// Handles preview of the passed context. Requires access to all the contexts of inner table to setup the preview along with carousel.
|
|
2182
|
+
openFilePreview: async function(oBindingContext, oControl, oPlugin) {
|
|
2183
|
+
const oRowConfiguration = oPlugin.getRowConfiguration();
|
|
2184
|
+
let oContexts = this.getTableContexts(oControl);
|
|
2185
|
+
// Filter out the directory items from the contexts.
|
|
2186
|
+
oContexts = oContexts.filter((oContext) => {
|
|
2187
|
+
const sPath = oPlugin.getRowConfiguration().getIsDirectoryPath();
|
|
2188
|
+
return oContext?.getProperty(sPath) != true;
|
|
2189
|
+
});
|
|
2190
|
+
let aUploadSetItems = [];
|
|
2191
|
+
if (oContexts?.length) {
|
|
2192
|
+
aUploadSetItems = await oPlugin.getItemsMap(oContexts, oRowConfiguration);
|
|
2193
|
+
const oPreviewUploaditem = aUploadSetItems.find((oItem) => oItem?.data("path") === oBindingContext.getPath());
|
|
2194
|
+
if (oPreviewUploaditem) {
|
|
2195
|
+
oPlugin._initiateFilePreview(oPreviewUploaditem, aUploadSetItems);
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
},
|
|
2199
|
+
// Handles download of the file through the context passed.
|
|
2200
|
+
download: async function(mDownloadInfo, oPlugin) {
|
|
2201
|
+
const {oBindingContext, bAskForLocation} = mDownloadInfo;
|
|
2202
|
+
const oItem = await oPlugin.getItemForContext(oBindingContext);
|
|
2203
|
+
if (oItem && oItem.getUrl()) {
|
|
2204
|
+
return oPlugin._initiateFileDownload(oItem, bAskForLocation);
|
|
2205
|
+
}
|
|
2206
|
+
return false;
|
|
2207
|
+
},
|
|
2208
|
+
getTableContexts: function(oTable) {
|
|
2209
|
+
return oTable?.getBinding("rows")?.getContexts(0, oTable?.getVisibleRowCount()) || null;
|
|
2210
|
+
}
|
|
2094
2211
|
}
|
|
2095
2212
|
}, UploadSetwithTable);
|
|
2096
2213
|
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Defines support rules for the IllustratedMessage control of sap.m library.
|
|
8
|
+
*/
|
|
9
|
+
sap.ui.define(["sap/ui/support/library"],
|
|
10
|
+
function(SupportLib) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
// shortcuts
|
|
14
|
+
var Categories = SupportLib.Categories, // Accessibility, Performance, Memory, ...
|
|
15
|
+
Severity = SupportLib.Severity, // Hint, Warning, Error
|
|
16
|
+
Audiences = SupportLib.Audiences; // Control, Internal, Application
|
|
17
|
+
|
|
18
|
+
//**********************************************************
|
|
19
|
+
// Rule Definitions
|
|
20
|
+
//**********************************************************
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Checks for deprecated illustration sizes in sap.m.IllustratedMessage
|
|
24
|
+
*/
|
|
25
|
+
var oDeprecatedIllustrationSizeRule = {
|
|
26
|
+
id: "deprecatedIllustrationSize",
|
|
27
|
+
audiences: [Audiences.Application],
|
|
28
|
+
categories: [Categories.Functionality],
|
|
29
|
+
enabled: true,
|
|
30
|
+
minversion: "1.135",
|
|
31
|
+
title: "IllustratedMessage is using deprecated illustrationSize",
|
|
32
|
+
description: "Using deprecated illustration sizes should be avoided, because they are not maintained anymore.",
|
|
33
|
+
resolution: "Refer to the API of sap.m.IllustratedMessageSize for supported sizes.",
|
|
34
|
+
resolutionurls: [{
|
|
35
|
+
text: "API Reference",
|
|
36
|
+
href: "https://sdk.openui5.org/api/sap.m.IllustratedMessageSize"
|
|
37
|
+
}],
|
|
38
|
+
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
39
|
+
var aDeprecatedSizes = ["Dialog", "Spot", "Dot", "Scene"];
|
|
40
|
+
oScope.getElementsByClassName("sap.m.IllustratedMessage").forEach(function(oElement) {
|
|
41
|
+
var sSize = oElement.getIllustrationSize && oElement.getIllustrationSize();
|
|
42
|
+
if (aDeprecatedSizes.indexOf(sSize) !== -1) {
|
|
43
|
+
oIssueManager.addIssue({
|
|
44
|
+
severity: Severity.Medium,
|
|
45
|
+
details: "Deprecated illustrationSize '" + sSize + "' is used for IllustratedMessage '" + oElement.getId() + "'.",
|
|
46
|
+
context: { id: oElement.getId() }
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Checks for deprecated illustration types in sap.m.IllustratedMessage
|
|
55
|
+
*/
|
|
56
|
+
var oDeprecatedIllustrationTypeRule = {
|
|
57
|
+
id: "deprecatedIllustrationType",
|
|
58
|
+
audiences: [Audiences.Application],
|
|
59
|
+
categories: [Categories.Functionality],
|
|
60
|
+
enabled: true,
|
|
61
|
+
minversion: "1.135",
|
|
62
|
+
title: "IllustratedMessage is using deprecated illustrationType",
|
|
63
|
+
description: "Using deprecated illustration types should be avoided, because they are not maintained anymore.",
|
|
64
|
+
resolution: "Refer to the API of sap.m.IllustratedMessageType for supported types.",
|
|
65
|
+
resolutionurls: [{
|
|
66
|
+
text: "API Reference",
|
|
67
|
+
href: "https://sdk.openui5.org/api/sap.m.IllustratedMessageType"
|
|
68
|
+
}],
|
|
69
|
+
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
70
|
+
var aDeprecatedTypes = [
|
|
71
|
+
"sapIllus-NoMail_v1",
|
|
72
|
+
"sapIllus-NoSavedItems_v1",
|
|
73
|
+
"sapIllus-NoTasks_v1",
|
|
74
|
+
"sapIllus-NoDimensionsSet",
|
|
75
|
+
"sapIllus-AddColumn",
|
|
76
|
+
"sapIllus-AddPeople",
|
|
77
|
+
"sapIllus-BalloonSky",
|
|
78
|
+
"sapIllus-Connection",
|
|
79
|
+
"sapIllus-EmptyCalendar",
|
|
80
|
+
"sapIllus-EmptyList",
|
|
81
|
+
"sapIllus-ErrorScreen",
|
|
82
|
+
"sapIllus-FilterTable",
|
|
83
|
+
"sapIllus-GroupTable",
|
|
84
|
+
"sapIllus-ReloadScreen",
|
|
85
|
+
"sapIllus-ResizeColumn",
|
|
86
|
+
"sapIllus-SearchEarth",
|
|
87
|
+
"sapIllus-SearchFolder",
|
|
88
|
+
"sapIllus-SimpleBalloon",
|
|
89
|
+
"sapIllus-SimpleBell",
|
|
90
|
+
"sapIllus-SimpleCalendar",
|
|
91
|
+
"sapIllus-SimpleCheckMark",
|
|
92
|
+
"sapIllus-SimpleConnection",
|
|
93
|
+
"sapIllus-SimpleEmptyDoc",
|
|
94
|
+
"sapIllus-SimpleEmptyList",
|
|
95
|
+
"sapIllus-SimpleError",
|
|
96
|
+
"sapIllus-SimpleMagnifier",
|
|
97
|
+
"sapIllus-SimpleMail",
|
|
98
|
+
"sapIllus-SimpleNoSavedItems",
|
|
99
|
+
"sapIllus-SimpleNotFoundMagnifier",
|
|
100
|
+
"sapIllus-SimpleReload",
|
|
101
|
+
"sapIllus-SimpleTask",
|
|
102
|
+
"sapIllus-SleepingBell",
|
|
103
|
+
"sapIllus-SortColumn",
|
|
104
|
+
"sapIllus-SuccessBalloon",
|
|
105
|
+
"sapIllus-SuccessCheckMark",
|
|
106
|
+
"sapIllus-SuccessHighFive",
|
|
107
|
+
"sapIllus-SuccessScreen",
|
|
108
|
+
"sapIllus-Tent",
|
|
109
|
+
"sapIllus-UploadCollection"
|
|
110
|
+
];
|
|
111
|
+
oScope.getElementsByClassName("sap.m.IllustratedMessage").forEach(function(oElement) {
|
|
112
|
+
var sType = oElement.getIllustrationType && oElement.getIllustrationType();
|
|
113
|
+
if (aDeprecatedTypes.indexOf(sType) !== -1) {
|
|
114
|
+
oIssueManager.addIssue({
|
|
115
|
+
severity: Severity.Medium,
|
|
116
|
+
details: "Deprecated illustrationType '" + sType + "' is used for IllustratedMessage '" + oElement.getId() + "'.",
|
|
117
|
+
context: { id: oElement.getId() }
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
return [oDeprecatedIllustrationSizeRule, oDeprecatedIllustrationTypeRule];
|
|
125
|
+
|
|
126
|
+
}, true);
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/Log"], function(BaseObject, Log)
|
|
|
19
19
|
* Constructor for an sap.m.semantic.Segment.
|
|
20
20
|
*
|
|
21
21
|
* @class Abstraction for a segment in a SegmentedContainer
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.139.0
|
|
23
23
|
* @private
|
|
24
24
|
* @since 1.30.0
|
|
25
25
|
* @alias sap.m.semantic.Segment
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['sap/m/semantic/Segment', 'sap/ui/base/Object', "sap/base/Log"],
|
|
|
20
20
|
* Constructor for an sap.m.semantic.SegmentedContainer.
|
|
21
21
|
*
|
|
22
22
|
* @class text
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.139.0
|
|
24
24
|
* @private
|
|
25
25
|
* @since 1.30.0
|
|
26
26
|
* @alias sap.m.semantic.SegmentedContainer
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* Constructor for an sap.m.semantic.SemanticConfiguration.
|
|
39
39
|
*
|
|
40
40
|
* @class Defines the visual properties and positioning for each supported semantic type
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.139.0
|
|
42
42
|
* @private
|
|
43
43
|
* @since 1.30.0
|
|
44
44
|
* @alias sap.m.semantic.SemanticConfiguration
|