@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
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/base/Object",
|
|
9
9
|
"sap/m/p13n/PersistenceProvider",
|
|
10
|
-
"sap/ui/core/Element"
|
|
11
|
-
|
|
12
|
-
], (BaseObject, PersistenceProvider, Element, ControlVariantApplyAPI) => {
|
|
10
|
+
"sap/ui/core/Element"
|
|
11
|
+
], (BaseObject, PersistenceProvider, Element) => {
|
|
13
12
|
"use strict";
|
|
14
13
|
|
|
15
14
|
const ERROR_INSTANCING = "DefaultProviderRegistry: This class is a singleton and should not be used without an AdaptationProvider. Please use 'Engine.getInstance().defaultProviderRegistry' instead";
|
|
@@ -27,7 +26,7 @@ sap.ui.define([
|
|
|
27
26
|
* @extends sap.ui.base.Object
|
|
28
27
|
*
|
|
29
28
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
29
|
+
* @version 1.139.0
|
|
31
30
|
*
|
|
32
31
|
* @private
|
|
33
32
|
* @since 1.104
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* </ul>
|
|
64
64
|
*
|
|
65
65
|
* @extends sap.ui.core.Element
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.139.0
|
|
67
67
|
* @author SAP SE
|
|
68
68
|
*
|
|
69
69
|
* @public
|
|
@@ -249,14 +249,14 @@ sap.ui.define([
|
|
|
249
249
|
return;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
const oSelectableCell = this._getSelectableCell(oEvent.target);
|
|
254
253
|
if (!oSelectableCell) {
|
|
255
254
|
return;
|
|
256
255
|
}
|
|
257
256
|
|
|
258
257
|
const oInfo = this.getConfig("getCellInfo", this.getControl(), oSelectableCell, this._oPreviousCell);
|
|
259
258
|
this._bMouseDown = true;
|
|
259
|
+
this._oMouseSource = Element.closestTo(oEvent.target);
|
|
260
260
|
|
|
261
261
|
if (oEvent.shiftKey) {
|
|
262
262
|
if (this._oPreviousCell?.rowIndex !== oInfo.rowIndex || this._oPreviousCell?.colIndex !== oInfo.colIndex) {
|
|
@@ -282,6 +282,7 @@ sap.ui.define([
|
|
|
282
282
|
clearTimeout(this._iTimer);
|
|
283
283
|
this._bMouseDown = false;
|
|
284
284
|
this._bBorderDown = false;
|
|
285
|
+
this._oMouseSource = null;
|
|
285
286
|
this._mClickedCell = undefined;
|
|
286
287
|
this._bScrolling = false;
|
|
287
288
|
this._mTempCell = undefined;
|
|
@@ -291,8 +292,9 @@ sap.ui.define([
|
|
|
291
292
|
setTimeout(() => { this._startTarget = null; }, 0);
|
|
292
293
|
},
|
|
293
294
|
onclick: function(oEvent) {
|
|
294
|
-
|
|
295
|
-
|
|
295
|
+
const oTarget = this._getSelectableCell(oEvent.target);
|
|
296
|
+
const oElement = Element.closestTo(oEvent.target);
|
|
297
|
+
if (oTarget && this._startTarget === oTarget && !oElement.isA("sap.m.Link")) {
|
|
296
298
|
oEvent.stopPropagation();
|
|
297
299
|
}
|
|
298
300
|
}
|
|
@@ -645,7 +647,7 @@ sap.ui.define([
|
|
|
645
647
|
}
|
|
646
648
|
|
|
647
649
|
var oSelectableCell = this._getSelectableCell(oEvent.target);
|
|
648
|
-
if (!oSelectableCell || !this._bMouseDown) {
|
|
650
|
+
if (!oSelectableCell || !this._bMouseDown || this._oMouseSource?.isA("sap.m.InputBase")) {
|
|
649
651
|
// Selection logic should not execute if mouse is not down or target is not a cell
|
|
650
652
|
return;
|
|
651
653
|
}
|
|
@@ -1436,7 +1438,7 @@ sap.ui.define([
|
|
|
1436
1438
|
}
|
|
1437
1439
|
},
|
|
1438
1440
|
"sap.m.Table": {
|
|
1439
|
-
selectableCells: ".sapMLIBFocusable, .sapMListTblCell, .sapMListTblSubRowCell, .sapMListTblSubCnt",
|
|
1441
|
+
selectableCells: ".sapMLIBFocusable > :not(.sapMListTblHeaderCell), .sapMListTblCell:not(.sapMListTblHeaderCell), .sapMListTblSubRowCell, .sapMListTblSubCnt",
|
|
1440
1442
|
scrollArea: "listUl",
|
|
1441
1443
|
eventClearedAll: "sapMTableClearAll",
|
|
1442
1444
|
onActivate: function(oTable, oPlugin) {
|
|
@@ -12,12 +12,13 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/Device",
|
|
13
13
|
"sap/m/ColumnPopoverActionItem",
|
|
14
14
|
"sap/m/table/columnmenu/QuickAction",
|
|
15
|
+
"sap/m/table/columnmenu/QuickResize",
|
|
15
16
|
"sap/m/Button",
|
|
16
17
|
"sap/ui/core/Lib",
|
|
17
18
|
"sap/ui/thirdparty/jquery",
|
|
18
19
|
// jQuery Plugin "aria"
|
|
19
20
|
"sap/ui/dom/jquery/Aria"
|
|
20
|
-
], function(PluginBase, Localization, Element, InvisibleText, Device, ColumnPopoverActionItem, QuickAction, Button, Library, jQuery) {
|
|
21
|
+
], function(PluginBase, Localization, Element, InvisibleText, Device, ColumnPopoverActionItem, QuickAction, QuickResize, Button, Library, jQuery) {
|
|
21
22
|
"use strict";
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -33,7 +34,7 @@ sap.ui.define([
|
|
|
33
34
|
*
|
|
34
35
|
* @extends sap.ui.core.Element
|
|
35
36
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
37
|
+
* @version 1.139.0
|
|
37
38
|
*
|
|
38
39
|
* @public
|
|
39
40
|
* @since 1.91
|
|
@@ -509,7 +510,7 @@ sap.ui.define([
|
|
|
509
510
|
* @private
|
|
510
511
|
*/
|
|
511
512
|
ColumnResizer.prototype.getColumnResizeQuickAction = function(oColumn, oColumnMenu) {
|
|
512
|
-
if (!
|
|
513
|
+
if (!ColumnResizer._isInTouchMode()) {
|
|
513
514
|
return;
|
|
514
515
|
}
|
|
515
516
|
|
|
@@ -524,11 +525,34 @@ sap.ui.define([
|
|
|
524
525
|
});
|
|
525
526
|
};
|
|
526
527
|
|
|
528
|
+
/**
|
|
529
|
+
* Returns an instance of <code>sap.m.table.columnmenu.QuickResize</code> that can be used for column resizing.
|
|
530
|
+
* @param {sap.m.Column} oColumn Column instance
|
|
531
|
+
* @returns {sap.m.table.columnmenu.QuickAction | undefined} Instance of <code>sap.m.table.columnmenu.QuickResize</code>
|
|
532
|
+
* @ui5-restricted sap.ui.mdc
|
|
533
|
+
* @private
|
|
534
|
+
*/
|
|
535
|
+
ColumnResizer.prototype.getColumnResizeInputQuickAction = function(oColumn) {
|
|
536
|
+
return new QuickResize({
|
|
537
|
+
width: parseInt(getComputedStyle(oColumn.getDomRef()).width),
|
|
538
|
+
change: [function(oEvent) {
|
|
539
|
+
const bExecuteDefault = this.fireColumnResize({
|
|
540
|
+
column: oColumn,
|
|
541
|
+
width: oEvent.getParameter("width") + "px"
|
|
542
|
+
});
|
|
543
|
+
|
|
544
|
+
if (bExecuteDefault) {
|
|
545
|
+
oColumn.setWidth(oEvent.getParameter("width") + "px");
|
|
546
|
+
}
|
|
547
|
+
}, this]
|
|
548
|
+
});
|
|
549
|
+
};
|
|
550
|
+
|
|
527
551
|
/**
|
|
528
552
|
* Returns resizer button instance which on press calls the <code>startResizing</code> method.
|
|
529
553
|
* @param {sap.m.Column} oColumn Column instance
|
|
530
554
|
* @returns {sap.m.ColumnPopoverActionItem | undefined} column resize action item
|
|
531
|
-
* @ui5-restricted
|
|
555
|
+
* @ui5-restricted sap.ui.mdc
|
|
532
556
|
* @private
|
|
533
557
|
*/
|
|
534
558
|
ColumnResizer.prototype.getColumnResizeButton = function(oColumn) {
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class Provides configuration options and an extended behavior for the context menu that is applied to the related control.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.139.0
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.121
|
|
30
30
|
* @alias sap.m.plugins.ContextMenuSetting
|
|
@@ -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
|
|
@@ -857,6 +859,8 @@ sap.ui.define([
|
|
|
857
859
|
oTextField.addStyleClass("sapUiTinyMarginBegin");
|
|
858
860
|
oTextField.addStyleClass("sapUiTinyMarginTop");
|
|
859
861
|
|
|
862
|
+
oInput.addAriaDescribedBy(oTextField.getId());
|
|
863
|
+
|
|
860
864
|
// Label for Input
|
|
861
865
|
const oLabel = new Label({
|
|
862
866
|
text: this._oRb.getText("UPLOADSET_WITH_TABLE_DOCUMENT_RENAME_INPUT_LABEL"),
|
|
@@ -1723,6 +1727,14 @@ sap.ui.define([
|
|
|
1723
1727
|
value: oBindingContext?.getProperty(oRowConfiguration?.getIsTrustedSourcePath())
|
|
1724
1728
|
}, createStaticBinding);
|
|
1725
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
|
+
}
|
|
1726
1738
|
return oUploadSetItem;
|
|
1727
1739
|
};
|
|
1728
1740
|
|
|
@@ -1855,7 +1867,7 @@ sap.ui.define([
|
|
|
1855
1867
|
oPlugin._oDragDropConfig = null;
|
|
1856
1868
|
}
|
|
1857
1869
|
},
|
|
1858
|
-
// 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.
|
|
1859
1871
|
openFilePreview: async function(oBindingContext, oControl, oPlugin) {
|
|
1860
1872
|
const oRowConfiguration = oPlugin.getRowConfiguration();
|
|
1861
1873
|
const oContexts = this.getTableContexts(oControl?._oTable);
|
|
@@ -2089,6 +2101,113 @@ sap.ui.define([
|
|
|
2089
2101
|
getTableContexts: function(oTable) {
|
|
2090
2102
|
return oTable?.getBinding("rows")?.getCurrentContexts() || null;
|
|
2091
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
|
+
}
|
|
2092
2211
|
}
|
|
2093
2212
|
}, UploadSetwithTable);
|
|
2094
2213
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(['sap/ui/core/routing/Target', './
|
|
7
|
-
function(Target,
|
|
6
|
+
sap.ui.define(['sap/ui/core/routing/Target', './sync/Target', "sap/base/Log"],
|
|
7
|
+
function(Target, SyncTarget, Log) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -19,6 +19,7 @@ sap.ui.define(['sap/ui/core/routing/Target', './async/Target', './sync/Target',
|
|
|
19
19
|
* @extends sap.ui.core.routing.Target
|
|
20
20
|
* @private
|
|
21
21
|
* @alias sap.m.routing.Target
|
|
22
|
+
* @ui5-transform-hint replace-param oOptions._async true
|
|
22
23
|
*/
|
|
23
24
|
var MobileTarget = Target.extend("sap.m.routing.Target", /** @lends sap.m.routing.Target.prototype */ {
|
|
24
25
|
constructor : function (oOptions, oViews, oParent, oTargetHandler) {
|
|
@@ -40,13 +41,56 @@ sap.ui.define(['sap/ui/core/routing/Target', './async/Target', './sync/Target',
|
|
|
40
41
|
|
|
41
42
|
Target.prototype.constructor.apply(this, arguments);
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
if (!oOptions._async) {
|
|
45
|
+
this._super = {};
|
|
46
|
+
for (const fn in SyncTarget) {
|
|
47
|
+
this._super[fn] = this[fn];
|
|
48
|
+
this[fn] = SyncTarget[fn];
|
|
49
|
+
}
|
|
49
50
|
}
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @private
|
|
55
|
+
*/
|
|
56
|
+
_place : function (vData) {
|
|
57
|
+
var oPromise = Target.prototype._place.apply(this, arguments),
|
|
58
|
+
that = this;
|
|
59
|
+
|
|
60
|
+
// chain to navigation promise to keep the order of navigations!
|
|
61
|
+
return this._oTargetHandler._chainNavigation(function() {
|
|
62
|
+
return oPromise.then(function(oViewInfo) {
|
|
63
|
+
that._oTargetHandler.addNavigation({
|
|
64
|
+
navigationIdentifier : that._oOptions._name,
|
|
65
|
+
transition: that._oOptions.transition,
|
|
66
|
+
transitionParameters: that._oOptions.transitionParameters,
|
|
67
|
+
eventData: vData,
|
|
68
|
+
targetControl: oViewInfo.control,
|
|
69
|
+
aggregationName: that._oOptions.controlAggregation,
|
|
70
|
+
view: oViewInfo.view,
|
|
71
|
+
preservePageInSplitContainer: that._oOptions.preservePageInSplitContainer,
|
|
72
|
+
placeholderConfig: oViewInfo.placeholderConfig,
|
|
73
|
+
placeholderShown: oViewInfo.placeholderShown
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// do not forward the route config to navigation
|
|
77
|
+
if (vData) {
|
|
78
|
+
delete vData.routeConfig;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return oViewInfo;
|
|
82
|
+
});
|
|
83
|
+
}, this._oOptions._name);
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
showPlaceholder : function(mSettings) {
|
|
87
|
+
return this._oTargetHandler.showPlaceholder(mSettings);
|
|
88
|
+
},
|
|
89
|
+
hidePlaceholder : function() {
|
|
90
|
+
/**
|
|
91
|
+
* Overriding the hidePlaceholder to empty function because the placeholder is removed
|
|
92
|
+
* after all targets are displayed
|
|
93
|
+
*/
|
|
50
94
|
}
|
|
51
95
|
});
|
|
52
96
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
7
|
-
function(Targets, TargetHandler, Target,
|
|
6
|
+
sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './sync/Targets', "sap/base/Log"],
|
|
7
|
+
function(Targets, TargetHandler, Target, SyncTargets, Log) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -314,15 +314,19 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
314
314
|
* @since 1.28.1
|
|
315
315
|
* @public
|
|
316
316
|
* @alias sap.m.routing.Targets
|
|
317
|
+
* @ui5-transform-hint replace-param oOptions.config._async true
|
|
317
318
|
*/
|
|
318
319
|
var MobileTargets = Targets.extend("sap.m.routing.Targets", /** @lends sap.m.routing.Targets.prototype */ {
|
|
319
320
|
constructor: function(oOptions) {
|
|
320
321
|
|
|
321
322
|
// If no config is given, set the default value to sync
|
|
322
323
|
if (!oOptions.config) {
|
|
323
|
-
oOptions.config = {
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
oOptions.config = {};
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @deprecated
|
|
328
|
+
*/
|
|
329
|
+
oOptions.config._async = false;
|
|
326
330
|
}
|
|
327
331
|
|
|
328
332
|
// temporarily: for checking the url param
|
|
@@ -350,12 +354,12 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
350
354
|
|
|
351
355
|
Targets.prototype.constructor.apply(this, arguments);
|
|
352
356
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
357
|
+
if (!oOptions.config._async) {
|
|
358
|
+
this._super = {};
|
|
359
|
+
for (const fn in SyncTargets) {
|
|
360
|
+
this._super[fn] = this[fn];
|
|
361
|
+
this[fn] = SyncTargets[fn];
|
|
362
|
+
}
|
|
359
363
|
}
|
|
360
364
|
},
|
|
361
365
|
|
|
@@ -404,6 +408,49 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
404
408
|
} while (oTarget);
|
|
405
409
|
|
|
406
410
|
return iLevel;
|
|
411
|
+
},
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* @private
|
|
415
|
+
*/
|
|
416
|
+
_display: function () {
|
|
417
|
+
var iLevel,
|
|
418
|
+
sName;
|
|
419
|
+
|
|
420
|
+
// don't remember previous displays
|
|
421
|
+
this._oLastDisplayedTarget = null;
|
|
422
|
+
|
|
423
|
+
var oPromise = Targets.prototype._display.apply(this, arguments);
|
|
424
|
+
|
|
425
|
+
return oPromise.then(function(oViewInfo) {
|
|
426
|
+
// maybe a wrong name was provided then there is no last displayed target
|
|
427
|
+
if (this._oLastDisplayedTarget) {
|
|
428
|
+
iLevel = this._getLevel(this._oLastDisplayedTarget);
|
|
429
|
+
sName = this._oLastDisplayedTarget._oOptions._name;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
this._oTargetHandler.navigate({
|
|
433
|
+
level: iLevel,
|
|
434
|
+
navigationIdentifier: sName,
|
|
435
|
+
askHistory: true
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
return oViewInfo;
|
|
439
|
+
}.bind(this));
|
|
440
|
+
},
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @private
|
|
444
|
+
*/
|
|
445
|
+
_displaySingleTarget: function(oTargetInfo) {
|
|
446
|
+
var oTarget = this.getTarget(oTargetInfo.name);
|
|
447
|
+
|
|
448
|
+
return Targets.prototype._displaySingleTarget.apply(this, arguments).then(function(oViewInfo){
|
|
449
|
+
if (oTarget) {
|
|
450
|
+
this._oLastDisplayedTarget = oTarget;
|
|
451
|
+
}
|
|
452
|
+
return oViewInfo;
|
|
453
|
+
}.bind(this));
|
|
407
454
|
}
|
|
408
455
|
});
|
|
409
456
|
|