@openui5/sap.m 1.105.0 → 1.106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +4 -4
- package/src/sap/m/.library +17 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +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 +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +3 -3
- 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 +5 -5
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +3 -3
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.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 +3 -3
- 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 +7 -5
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +7 -2
- 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 +3 -3
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +61 -19
- package/src/sap/m/GenericTileRenderer.js +7 -6
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +23 -25
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +32 -30
- 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 +2 -19
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +35 -1
- package/src/sap/m/Illustration.js +8 -1
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -0
- package/src/sap/m/Image.js +72 -2
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +12 -1
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +2 -2
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -22
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -5
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +4 -4
- 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 +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +6 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +0 -5
- package/src/sap/m/OverflowToolbarButton.js +2 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +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 +1 -1
- 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 +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -8
- 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/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +2 -2
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +3 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +12 -13
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +3 -3
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +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 +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +3 -3
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +3 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +52 -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 +10 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +3 -1
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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/library.js +32 -3
- package/src/sap/m/messagebundle.properties +28 -4
- package/src/sap/m/messagebundle_ar.properties +15 -3
- package/src/sap/m/messagebundle_bg.properties +15 -3
- package/src/sap/m/messagebundle_ca.properties +15 -3
- package/src/sap/m/messagebundle_cs.properties +15 -3
- package/src/sap/m/messagebundle_cy.properties +15 -3
- package/src/sap/m/messagebundle_da.properties +15 -3
- package/src/sap/m/messagebundle_de.properties +14 -2
- package/src/sap/m/messagebundle_el.properties +15 -3
- package/src/sap/m/messagebundle_en.properties +14 -2
- package/src/sap/m/messagebundle_en_GB.properties +14 -2
- package/src/sap/m/messagebundle_en_US_sappsd.properties +14 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +14 -2
- package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -2
- package/src/sap/m/messagebundle_es.properties +15 -3
- package/src/sap/m/messagebundle_es_MX.properties +15 -3
- package/src/sap/m/messagebundle_et.properties +15 -3
- package/src/sap/m/messagebundle_fi.properties +15 -3
- package/src/sap/m/messagebundle_fr.properties +15 -3
- package/src/sap/m/messagebundle_fr_CA.properties +15 -3
- package/src/sap/m/messagebundle_hi.properties +15 -3
- package/src/sap/m/messagebundle_hr.properties +16 -4
- package/src/sap/m/messagebundle_hu.properties +15 -3
- package/src/sap/m/messagebundle_id.properties +15 -3
- package/src/sap/m/messagebundle_it.properties +16 -4
- package/src/sap/m/messagebundle_iw.properties +15 -3
- package/src/sap/m/messagebundle_ja.properties +15 -3
- package/src/sap/m/messagebundle_kk.properties +15 -3
- package/src/sap/m/messagebundle_ko.properties +16 -4
- package/src/sap/m/messagebundle_lt.properties +15 -3
- package/src/sap/m/messagebundle_lv.properties +15 -3
- package/src/sap/m/messagebundle_ms.properties +15 -3
- package/src/sap/m/messagebundle_nl.properties +15 -3
- package/src/sap/m/messagebundle_no.properties +15 -3
- package/src/sap/m/messagebundle_pl.properties +15 -3
- package/src/sap/m/messagebundle_pt.properties +15 -3
- package/src/sap/m/messagebundle_pt_PT.properties +15 -3
- package/src/sap/m/messagebundle_ro.properties +15 -3
- package/src/sap/m/messagebundle_ru.properties +15 -3
- package/src/sap/m/messagebundle_sh.properties +16 -4
- package/src/sap/m/messagebundle_sk.properties +15 -3
- package/src/sap/m/messagebundle_sl.properties +16 -4
- package/src/sap/m/messagebundle_sv.properties +15 -3
- package/src/sap/m/messagebundle_th.properties +15 -3
- package/src/sap/m/messagebundle_tr.properties +15 -3
- package/src/sap/m/messagebundle_uk.properties +15 -3
- package/src/sap/m/messagebundle_vi.properties +15 -3
- package/src/sap/m/messagebundle_zh_CN.properties +15 -3
- package/src/sap/m/messagebundle_zh_TW.properties +15 -3
- 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 +17 -7
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.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/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 +9 -3
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +3 -3
- 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/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.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/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +17 -5
- 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 +45 -14
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +18 -3
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +9 -3
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +8 -5
- package/src/sap/m/table/columnmenu/QuickTotal.js +9 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Carousel.less +8 -8
- package/src/sap/m/themes/base/DisplayListItem.less +3 -3
- package/src/sap/m/themes/base/GenericTile.less +7 -0
- package/src/sap/m/upload/UploadSet.js +193 -5
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
|
@@ -8,16 +8,18 @@ sap.ui.define([
|
|
|
8
8
|
"./QuickActionItem",
|
|
9
9
|
"./QuickAction",
|
|
10
10
|
"sap/m/ToggleButton",
|
|
11
|
+
"sap/m/library",
|
|
11
12
|
"sap/ui/core/library"
|
|
12
13
|
], function (
|
|
13
14
|
QuickActionItem,
|
|
14
15
|
QuickAction,
|
|
15
16
|
ToggleButton,
|
|
16
|
-
library
|
|
17
|
+
library,
|
|
18
|
+
CoreLibrary
|
|
17
19
|
) {
|
|
18
20
|
"use strict";
|
|
19
21
|
|
|
20
|
-
var SortOrder =
|
|
22
|
+
var SortOrder = CoreLibrary.SortOrder;
|
|
21
23
|
|
|
22
24
|
/**
|
|
23
25
|
* Constructor for a new QuickSortItem.
|
|
@@ -32,7 +34,7 @@ sap.ui.define([
|
|
|
32
34
|
* @extends sap.m.table.columnmenu.QuickActionItem
|
|
33
35
|
*
|
|
34
36
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
37
|
+
* @version 1.106.0
|
|
36
38
|
*
|
|
37
39
|
* @private
|
|
38
40
|
* @experimental
|
|
@@ -43,7 +45,7 @@ sap.ui.define([
|
|
|
43
45
|
metadata: {
|
|
44
46
|
library: "sap.m",
|
|
45
47
|
properties: {
|
|
46
|
-
sortOrder: { type: "sap.ui.core.SortOrder", defaultValue:
|
|
48
|
+
sortOrder: { type: "sap.ui.core.SortOrder", defaultValue: CoreLibrary.SortOrder.None }
|
|
47
49
|
},
|
|
48
50
|
aggregations: {
|
|
49
51
|
quickAction: { type: "sap.m.table.columnmenu.QuickAction", multiple: false, visibility: "hidden" }
|
|
@@ -60,7 +62,8 @@ sap.ui.define([
|
|
|
60
62
|
} else {
|
|
61
63
|
oQuickAction = new QuickAction({
|
|
62
64
|
label: sLabel,
|
|
63
|
-
content: [this._createContent()]
|
|
65
|
+
content: [this._createContent()],
|
|
66
|
+
category: library.table.columnmenu.Category.Sort
|
|
64
67
|
});
|
|
65
68
|
}
|
|
66
69
|
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/m/table/columnmenu/QuickActionBase",
|
|
9
|
-
"sap/m/ToggleButton"
|
|
9
|
+
"sap/m/ToggleButton",
|
|
10
|
+
"sap/m/library"
|
|
10
11
|
], function (
|
|
11
12
|
QuickActionBase,
|
|
12
|
-
ToggleButton
|
|
13
|
+
ToggleButton,
|
|
14
|
+
library
|
|
13
15
|
) {
|
|
14
16
|
"use strict";
|
|
15
17
|
|
|
@@ -25,7 +27,7 @@ sap.ui.define([
|
|
|
25
27
|
* @extends sap.m.table.columnmenu.QuickActionBase
|
|
26
28
|
*
|
|
27
29
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
30
|
+
* @version 1.106.0
|
|
29
31
|
*
|
|
30
32
|
* @private
|
|
31
33
|
* @experimental
|
|
@@ -151,5 +153,9 @@ sap.ui.define([
|
|
|
151
153
|
this.getMenu().close();
|
|
152
154
|
};
|
|
153
155
|
|
|
156
|
+
QuickTotal.prototype.getCategory = function() {
|
|
157
|
+
return library.table.columnmenu.Category.Aggregate;
|
|
158
|
+
};
|
|
159
|
+
|
|
154
160
|
return QuickTotal;
|
|
155
161
|
});
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
//show the left and right arrows when the carousel is focused
|
|
61
|
-
.sapMCrsl:focus .sapMCrslHud
|
|
61
|
+
.sapMCrsl:focus .sapMCrslHud .sapMCrslArrow {
|
|
62
62
|
opacity: 0.3;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -191,7 +191,7 @@ html[data-sap-ui-animation='off'] .sapMCrslInner {
|
|
|
191
191
|
width: 100%;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
.sapMCrslHud
|
|
194
|
+
.sapMCrslHud .sapMCrslArrow {
|
|
195
195
|
z-index: 2;
|
|
196
196
|
opacity: 0;
|
|
197
197
|
display: none;
|
|
@@ -241,15 +241,15 @@ html[data-sap-ui-animation='off'] .sapMCrslInner {
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
.sapMCrslHudMiddle
|
|
244
|
+
.sapMCrslHudMiddle .sapMCrslArrow {
|
|
245
245
|
top: calc(~"50% - 1rem");
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
.sapMCrslHudTop
|
|
248
|
+
.sapMCrslHudTop .sapMCrslArrow {
|
|
249
249
|
top: 50%;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
.sapMCrslHudBottom
|
|
252
|
+
.sapMCrslHudBottom .sapMCrslArrow {
|
|
253
253
|
top: calc(~"50% - 2rem");
|
|
254
254
|
}
|
|
255
255
|
|
|
@@ -486,8 +486,8 @@ html[data-sap-ui-animation='off'] {
|
|
|
486
486
|
background: @sapUiBaseBG;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
.sapMCrsl .sapMCrslHud.sapMCrslLeftmost
|
|
490
|
-
.sapMCrsl .sapMCrslHud.sapMCrslRightmost
|
|
489
|
+
.sapMCrsl .sapMCrslHud.sapMCrslLeftmost .sapMCrslArrow.sapMCrslPrev,
|
|
490
|
+
.sapMCrsl .sapMCrslHud.sapMCrslRightmost .sapMCrslArrow.sapMCrslNext {
|
|
491
491
|
opacity: 0;
|
|
492
492
|
display: none;
|
|
493
493
|
}
|
|
@@ -530,7 +530,7 @@ html[data-sap-ui-animation='off'] {
|
|
|
530
530
|
overflow: hidden;
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
.sapMCrsl:hover .sapMCrslHud
|
|
533
|
+
.sapMCrsl:hover .sapMCrslHud .sapMCrslArrow {
|
|
534
534
|
opacity: 1;
|
|
535
535
|
display: block;
|
|
536
536
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
text-overflow: ellipsis;
|
|
18
18
|
min-width: 3rem;
|
|
19
19
|
display: block;
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: @sapFontLargeSize;
|
|
21
21
|
-webkit-box-align: center;
|
|
22
22
|
align-items: center;
|
|
23
23
|
color: @sapUiListTextColor;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
overflow: hidden;
|
|
35
35
|
text-overflow: ellipsis;
|
|
36
36
|
min-width: 3rem;
|
|
37
|
-
font-size:
|
|
37
|
+
font-size: @sapMFontMediumSize;
|
|
38
38
|
margin-left: 1rem;
|
|
39
39
|
text-align: right;
|
|
40
40
|
color: @sapUiContentLabelColor;
|
|
@@ -70,5 +70,5 @@ html[dir=rtl] .sapMDLIValue {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.sapUiSizeCompact .sapMDLILabel {
|
|
73
|
-
font-size: @
|
|
73
|
+
font-size: @sapFontSize;
|
|
74
74
|
}
|
|
@@ -876,6 +876,13 @@ html.sap-desktop .sapMGT:focus:not([tabindex]) {
|
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
878
|
}
|
|
879
|
+
|
|
880
|
+
.sapMGT.sapMGTIconMode {
|
|
881
|
+
.sapUiIcon.sapMGTTileIcon {
|
|
882
|
+
text-shadow: @sapContent_ContrastTextShadow;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
879
886
|
.sapMGT.sapMGTScopeActions.sapMGTIconMode{
|
|
880
887
|
.sapMBtn.sapMGTMoreIcon{
|
|
881
888
|
&:before{
|
|
@@ -29,10 +29,11 @@ sap.ui.define([
|
|
|
29
29
|
"sap/m/upload/UploadSetToolbarPlaceholder",
|
|
30
30
|
"sap/m/IllustratedMessage",
|
|
31
31
|
"sap/m/IllustratedMessageType",
|
|
32
|
-
"sap/m/IllustratedMessageSize"
|
|
32
|
+
"sap/m/IllustratedMessageSize",
|
|
33
|
+
"sap/ui/core/Core"
|
|
33
34
|
], function (Control, KeyCodes, Log, deepEqual, MobileLibrary, Button, Dialog, List, MessageBox, OverflowToolbar,
|
|
34
35
|
StandardListItem, Text, ToolbarSpacer, FileUploader, UploadSetItem, Uploader, Renderer, UploaderHttpRequestMethod,
|
|
35
|
-
DragDropInfo, DropInfo, Library, UploadSetToolbarPlaceholder, IllustratedMessage,IllustratedMessageType, IllustratedMessageSize) {
|
|
36
|
+
DragDropInfo, DropInfo, Library, UploadSetToolbarPlaceholder, IllustratedMessage,IllustratedMessageType, IllustratedMessageSize, Core) {
|
|
36
37
|
"use strict";
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -46,7 +47,7 @@ sap.ui.define([
|
|
|
46
47
|
* and requests, unified behavior of instant and deferred uploads, as well as improved progress indication.
|
|
47
48
|
* @extends sap.ui.core.Control
|
|
48
49
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
50
|
+
* @version 1.106.0
|
|
50
51
|
* @constructor
|
|
51
52
|
* @public
|
|
52
53
|
* @since 1.63
|
|
@@ -144,7 +145,22 @@ sap.ui.define([
|
|
|
144
145
|
* In addition, if instant upload is set to false the mode sap.m.ListMode.MultiSelect is not supported and will be automatically set to sap.m.ListMode.None.
|
|
145
146
|
* @since 1.100.0
|
|
146
147
|
*/
|
|
147
|
-
mode: {type: "sap.m.ListMode", group: "Behavior", defaultValue: Library.ListMode.MultiSelect}
|
|
148
|
+
mode: {type: "sap.m.ListMode", group: "Behavior", defaultValue: Library.ListMode.MultiSelect},
|
|
149
|
+
/**
|
|
150
|
+
* Enables CloudFile picker feature to upload files from cloud.
|
|
151
|
+
* @experimental Since 1.106.
|
|
152
|
+
*/
|
|
153
|
+
cloudFilePickerEnabled: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
154
|
+
/**
|
|
155
|
+
* Url of the FileShare OData V4 service supplied for CloudFile picker control.
|
|
156
|
+
* @experimental Since 1.106.
|
|
157
|
+
*/
|
|
158
|
+
cloudFilePickerServiceUrl: {type: "sap.ui.core.URI", group: "Data", defaultValue: ""},
|
|
159
|
+
/**
|
|
160
|
+
* The text of the CloudFile picker button. The default text is "Upload from cloud" (translated to the respective language).
|
|
161
|
+
* @experimental Since 1.106.
|
|
162
|
+
*/
|
|
163
|
+
cloudFilePickerButtonText: {type: 'string', defaultValue: ""}
|
|
148
164
|
},
|
|
149
165
|
defaultAggregation: "items",
|
|
150
166
|
aggregations: {
|
|
@@ -500,6 +516,7 @@ sap.ui.define([
|
|
|
500
516
|
description: this.getNoDataDescription()
|
|
501
517
|
});
|
|
502
518
|
this.setAggregation("_illustratedMessage", illustratedMessage);
|
|
519
|
+
this._cloudFilePickerControl = null;
|
|
503
520
|
};
|
|
504
521
|
|
|
505
522
|
UploadSet.prototype.exit = function () {
|
|
@@ -602,7 +619,7 @@ sap.ui.define([
|
|
|
602
619
|
this._oToolbar = this.getAggregation("toolbar");
|
|
603
620
|
if (!this._oToolbar) {
|
|
604
621
|
this._oToolbar = new OverflowToolbar(this.getId() + "-toolbar", {
|
|
605
|
-
content: [this._oNumberOfAttachmentsTitle, new ToolbarSpacer(), this.getDefaultFileUploader()]
|
|
622
|
+
content: [this._oNumberOfAttachmentsTitle, new ToolbarSpacer(), this.getDefaultFileUploader(), this._getCloudFilePicker()]
|
|
606
623
|
});
|
|
607
624
|
this._iFileUploaderPH = 2;
|
|
608
625
|
this.addDependent(this._oToolbar);
|
|
@@ -614,6 +631,7 @@ sap.ui.define([
|
|
|
614
631
|
// fallback position to add file uploader control if UploadSetToolbarPlaceHolder instance not found
|
|
615
632
|
this._oToolbar.addContent(this.getDefaultFileUploader());
|
|
616
633
|
}
|
|
634
|
+
this._oToolbar.addContent(this._getCloudFilePicker());
|
|
617
635
|
}
|
|
618
636
|
}
|
|
619
637
|
|
|
@@ -861,6 +879,14 @@ sap.ui.define([
|
|
|
861
879
|
return this._oUploadButton;
|
|
862
880
|
};
|
|
863
881
|
|
|
882
|
+
UploadSet.prototype.setUploadUrl = function (sUploadUrl) {
|
|
883
|
+
this.setProperty("uploadUrl", sUploadUrl);
|
|
884
|
+
if (this._oUploader) {
|
|
885
|
+
this._oUploader.setUploadUrl(sUploadUrl);
|
|
886
|
+
}
|
|
887
|
+
return this;
|
|
888
|
+
};
|
|
889
|
+
|
|
864
890
|
/* ============== */
|
|
865
891
|
/* Public methods */
|
|
866
892
|
/* ============== */
|
|
@@ -1723,5 +1749,167 @@ sap.ui.define([
|
|
|
1723
1749
|
this._oToolbar.getContent()[this._iFileUploaderPH].setVisible(false);
|
|
1724
1750
|
this._oToolbar.insertContent(fileUploader, this._iFileUploaderPH);
|
|
1725
1751
|
};
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Returns CloudFile picker button
|
|
1755
|
+
* @return {sap.m.Button} CloudPicker button
|
|
1756
|
+
* @private
|
|
1757
|
+
*/
|
|
1758
|
+
UploadSet.prototype._getCloudFilePicker = function() {
|
|
1759
|
+
if (this.getCloudFilePickerEnabled()) {
|
|
1760
|
+
return new Button({
|
|
1761
|
+
text: this.getCloudFilePickerButtonText() ? this.getCloudFilePickerButtonText() : this._oRb.getText("UPLOAD_SET_DEFAULT_CFP_BUTTON_TEXT"),
|
|
1762
|
+
press: [this._invokeCloudFilePicker, this]
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1765
|
+
return null;
|
|
1766
|
+
};
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* Creates and invokes CloudFilePicker control instance
|
|
1770
|
+
* @private
|
|
1771
|
+
* @returns {Object} cloudFile picker instance
|
|
1772
|
+
*/
|
|
1773
|
+
UploadSet.prototype._invokeCloudFilePicker = function() {
|
|
1774
|
+
var oCloudFilePickerInstance = null;
|
|
1775
|
+
if (this._cloudFilePickerControl) {
|
|
1776
|
+
oCloudFilePickerInstance = this._getCloudFilePickerInstance();
|
|
1777
|
+
oCloudFilePickerInstance.open();
|
|
1778
|
+
} else {
|
|
1779
|
+
// Dynamically load and cache CloudFilePicker control for first time
|
|
1780
|
+
this._loadCloudFilePickerDependency()
|
|
1781
|
+
.then(function(cloudFilePicker){
|
|
1782
|
+
this._cloudFilePickerControl = cloudFilePicker;
|
|
1783
|
+
oCloudFilePickerInstance = this._getCloudFilePickerInstance();
|
|
1784
|
+
oCloudFilePickerInstance.open();
|
|
1785
|
+
}.bind(this))
|
|
1786
|
+
.catch(function(error) {
|
|
1787
|
+
Log.error(error);
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1790
|
+
return oCloudFilePickerInstance;
|
|
1791
|
+
};
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* Event handler for CloudFile picker selector
|
|
1795
|
+
* @param {Object} oEvent CloudFile picker file selection DOM change event
|
|
1796
|
+
* @private
|
|
1797
|
+
*/
|
|
1798
|
+
UploadSet.prototype._onCloudPickerFileChange = function(oEvent) {
|
|
1799
|
+
|
|
1800
|
+
var mParameters = oEvent.getParameters();
|
|
1801
|
+
var aFiles = [];
|
|
1802
|
+
if (mParameters && mParameters.selectedFiles) {
|
|
1803
|
+
mParameters.selectedFiles.forEach(function (file) {
|
|
1804
|
+
aFiles.push(this._createFileFromCloudPickerFile(file));
|
|
1805
|
+
}.bind(this));
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
// invoking this method to handle file uploads
|
|
1809
|
+
this._processNewCloudPickerFileObjects(aFiles);
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Creates file object that is to be uploaded from the CloudFilePicker file object
|
|
1814
|
+
* @param {sap.suite.ui.commons.CloudFileInfo} oCloudFile CloudFilepicker file object
|
|
1815
|
+
* @returns {Object} file metadata with file object and fileshare properties
|
|
1816
|
+
* @private
|
|
1817
|
+
*/
|
|
1818
|
+
UploadSet.prototype._createFileFromCloudPickerFile = function(oCloudFile) {
|
|
1819
|
+
var parts = [new Blob([])];
|
|
1820
|
+
var oFileMetaData = {
|
|
1821
|
+
type: oCloudFile.getFileShareItemContentType(),
|
|
1822
|
+
size: oCloudFile.getFileShareItemContentSize(),
|
|
1823
|
+
webkitRelativePath: '',
|
|
1824
|
+
name: oCloudFile.getFileShareItemName()
|
|
1825
|
+
};
|
|
1826
|
+
var oFile = new File(parts, oCloudFile.getFileShareItemName(), oFileMetaData);
|
|
1827
|
+
return {
|
|
1828
|
+
file: oFile,
|
|
1829
|
+
fileShareProperties: oCloudFile.mProperties
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Maps the UploadSetItem with fileShare properties from the CloudFilePicker
|
|
1835
|
+
* @param {sap.m.UploadSetItem} oItem UploadSetItem to be mapped
|
|
1836
|
+
* @param {Object} oFileShareItem fileshare properties used for mapping
|
|
1837
|
+
* @private
|
|
1838
|
+
*/
|
|
1839
|
+
UploadSet.prototype._mapFileShareItemToUploadSetItem = function(oItem, oFileShareItem) {
|
|
1840
|
+
oItem.setFileName(oFileShareItem.fileShareItemName);
|
|
1841
|
+
oItem.setUrl(oFileShareItem.fileShareItemContentLink);
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* Processing and uploading of file objects selected from the CloudFilePicker
|
|
1846
|
+
* @param {Array} oFiles File metadata list containing file to be uploaded and fileshare properties used for mapping
|
|
1847
|
+
* @private
|
|
1848
|
+
*/
|
|
1849
|
+
UploadSet.prototype._processNewCloudPickerFileObjects = function (oFiles) {
|
|
1850
|
+
var oItem;
|
|
1851
|
+
|
|
1852
|
+
oFiles.forEach(function (oFileMetaData) {
|
|
1853
|
+
var oFile = oFileMetaData.file,
|
|
1854
|
+
oFileShareProperties = oFileMetaData.fileShareProperties;
|
|
1855
|
+
oItem = new UploadSetItem({
|
|
1856
|
+
uploadState: UploadState.Ready
|
|
1857
|
+
});
|
|
1858
|
+
if (oFileShareProperties && oFileShareProperties !== null) {
|
|
1859
|
+
// invoked and each selected file to map the fileshare properties to uploadsetItem to be uploaded
|
|
1860
|
+
this._mapFileShareItemToUploadSetItem(oItem, oFileShareProperties);
|
|
1861
|
+
}
|
|
1862
|
+
oItem._setFileObject(oFile);
|
|
1863
|
+
oItem.setFileName(oFile.name);//For handling curly braces in file name we have to use setter.Otherwise it will be treated as binding.
|
|
1864
|
+
|
|
1865
|
+
if (!this.fireBeforeItemAdded({item: oItem})) {
|
|
1866
|
+
return;
|
|
1867
|
+
}
|
|
1868
|
+
this.insertIncompleteItem(oItem);
|
|
1869
|
+
this.fireAfterItemAdded({item: oItem});
|
|
1870
|
+
|
|
1871
|
+
if (this.getInstantUpload()) {
|
|
1872
|
+
this._uploadItemIfGoodToGo(oItem);
|
|
1873
|
+
}
|
|
1874
|
+
}.bind(this));
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* Dynamically require CloudFilePicker Control
|
|
1879
|
+
* @returns {Promise} Promise that resolves on sucessful load of CloudFilePicker control
|
|
1880
|
+
* @private
|
|
1881
|
+
*/
|
|
1882
|
+
UploadSet.prototype._loadCloudFilePickerDependency = function() {
|
|
1883
|
+
return new Promise(function (resolve, reject) {
|
|
1884
|
+
Core.loadLibrary("sap.suite.ui.commons", { async: true })
|
|
1885
|
+
.then(function() {
|
|
1886
|
+
sap.ui.require(["sap/suite/ui/commons/CloudFilePicker"], function(cloudFilePicker) {
|
|
1887
|
+
resolve(cloudFilePicker);
|
|
1888
|
+
}, function (error) {
|
|
1889
|
+
reject(error);
|
|
1890
|
+
});
|
|
1891
|
+
})
|
|
1892
|
+
.catch(function () {
|
|
1893
|
+
reject("CloudFilePicker Control not available.");
|
|
1894
|
+
});
|
|
1895
|
+
});
|
|
1896
|
+
};
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* Creates CloudFilePicker Instance
|
|
1900
|
+
* @returns {sap.suite.ui.commons.CloudFilePicker} CloudFilePicker instance
|
|
1901
|
+
* @private
|
|
1902
|
+
*/
|
|
1903
|
+
UploadSet.prototype._getCloudFilePickerInstance = function() {
|
|
1904
|
+
return new this._cloudFilePickerControl({
|
|
1905
|
+
serviceUrl: this.getCloudFilePickerServiceUrl(),
|
|
1906
|
+
confirmButtonText: this._oRb.getText("SELECT_PICKER_TITLE_TEXT"),
|
|
1907
|
+
title: this._oRb.getText("SELECT_PICKER_TITLE_TEXT"),
|
|
1908
|
+
fileNameMandatory: true,
|
|
1909
|
+
enableDuplicateCheck:this.getSameFilenameAllowed(),
|
|
1910
|
+
select: this._onCloudPickerFileChange.bind(this)
|
|
1911
|
+
});
|
|
1912
|
+
};
|
|
1913
|
+
|
|
1726
1914
|
return UploadSet;
|
|
1727
1915
|
});
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @class Item that represents one file to be uploaded using the {@link sap.m.upload.UploadSet} control.
|
|
35
35
|
* @extends sap.ui.core.Element
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.106.0
|
|
38
38
|
* @constructor
|
|
39
39
|
* @public
|
|
40
40
|
* @since 1.63
|