@openui5/sap.m 1.119.1 → 1.120.1
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/THIRDPARTY.txt +6 -6
- package/package.json +4 -4
- package/src/sap/m/.library +8 -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 +10 -6
- package/src/sap/m/AvatarRenderer.js +10 -3
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +7 -8
- 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 +20 -3
- package/src/sap/m/ComboBoxTextField.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 +22 -12
- 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 +10 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -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 +5 -4
- package/src/sap/m/FeedInputRenderer.js +3 -3
- package/src/sap/m/FeedListItem.js +6 -4
- 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 +58 -23
- package/src/sap/m/GenericTileRenderer.js +11 -0
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +2 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +6 -4
- 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 +79 -14
- package/src/sap/m/InputBase.js +3 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputRenderer.js +7 -3
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/LinkTileContent.js +143 -0
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +32 -14
- package/src/sap/m/ListItemBase.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 +1 -1
- package/src/sap/m/MenuButton.js +3 -3
- 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 +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +2 -3
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +5 -19
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MessageViewRenderer.js +2 -3
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -2
- package/src/sap/m/NavContainer.js +4 -3
- 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 +9 -10
- package/src/sap/m/NumericContentRenderer.js +5 -4
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +4 -6
- package/src/sap/m/ObjectStatusRenderer.js +3 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- 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/OverflowToolbarRenderer.js +8 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +2 -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 +2 -1
- package/src/sap/m/P13nDimMeasurePanel.js +2 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +2 -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 +2 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +20 -8
- package/src/sap/m/PDFViewerRenderManager.js +18 -18
- package/src/sap/m/PDFViewerRenderer.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 +37 -12
- 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 +5 -4
- 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 +3 -3
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RangeSliderRenderer.js +15 -8
- package/src/sap/m/RatingIndicator.js +4 -3
- package/src/sap/m/ResponsivePopover.js +13 -7
- 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 +5 -7
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +2 -2
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +3 -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 +7 -9
- 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 +4 -2
- 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 +5 -5
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +10 -4
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +2 -2
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +35 -4
- 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 +5 -7
- 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 +4 -4
- 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 +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarRenderer.js +8 -0
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +17 -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 +9 -4
- package/src/sap/m/VariantItem.js +99 -27
- package/src/sap/m/VariantManagement.js +196 -90
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +44 -44
- 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 +6 -6
- 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 +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +2 -2
- package/src/sap/m/designtime/IconTabFilter.designtime.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +0 -6
- package/src/sap/m/designtime/messagebundle_mk.properties +182 -0
- package/src/sap/m/designtime/messagebundle_sh.properties +3 -3
- package/src/sap/m/flexibility/EngineFlex.js +5 -0
- package/src/sap/m/inputUtils/highlightItemsWithContains.js +82 -0
- package/src/sap/m/library.js +76 -136
- package/src/sap/m/messagebundle.properties +37 -6
- package/src/sap/m/messagebundle_ar.properties +46 -2
- package/src/sap/m/messagebundle_bg.properties +49 -5
- package/src/sap/m/messagebundle_ca.properties +47 -3
- package/src/sap/m/messagebundle_cs.properties +46 -2
- package/src/sap/m/messagebundle_cy.properties +46 -2
- package/src/sap/m/messagebundle_da.properties +46 -2
- package/src/sap/m/messagebundle_de.properties +46 -2
- package/src/sap/m/messagebundle_el.properties +48 -4
- package/src/sap/m/messagebundle_en.properties +23 -6
- package/src/sap/m/messagebundle_en_GB.properties +46 -2
- package/src/sap/m/messagebundle_es.properties +46 -2
- package/src/sap/m/messagebundle_es_MX.properties +46 -2
- package/src/sap/m/messagebundle_et.properties +44 -0
- package/src/sap/m/messagebundle_fi.properties +46 -2
- package/src/sap/m/messagebundle_fr.properties +46 -2
- package/src/sap/m/messagebundle_fr_CA.properties +46 -2
- package/src/sap/m/messagebundle_hi.properties +48 -4
- package/src/sap/m/messagebundle_hr.properties +46 -2
- package/src/sap/m/messagebundle_hu.properties +51 -7
- package/src/sap/m/messagebundle_id.properties +48 -4
- package/src/sap/m/messagebundle_it.properties +44 -0
- package/src/sap/m/messagebundle_iw.properties +46 -2
- package/src/sap/m/messagebundle_ja.properties +44 -0
- package/src/sap/m/messagebundle_kk.properties +60 -16
- package/src/sap/m/messagebundle_ko.properties +44 -0
- package/src/sap/m/messagebundle_lt.properties +46 -2
- package/src/sap/m/messagebundle_lv.properties +57 -13
- package/src/sap/m/messagebundle_mk.properties +1869 -0
- package/src/sap/m/messagebundle_ms.properties +46 -2
- package/src/sap/m/messagebundle_nl.properties +44 -0
- package/src/sap/m/messagebundle_no.properties +47 -3
- package/src/sap/m/messagebundle_pl.properties +46 -2
- package/src/sap/m/messagebundle_pt.properties +44 -0
- package/src/sap/m/messagebundle_pt_PT.properties +44 -0
- package/src/sap/m/messagebundle_ro.properties +46 -2
- package/src/sap/m/messagebundle_ru.properties +48 -4
- package/src/sap/m/messagebundle_sh.properties +149 -105
- package/src/sap/m/messagebundle_sk.properties +46 -2
- package/src/sap/m/messagebundle_sl.properties +62 -18
- package/src/sap/m/messagebundle_sv.properties +50 -6
- package/src/sap/m/messagebundle_th.properties +44 -0
- package/src/sap/m/messagebundle_tr.properties +49 -5
- package/src/sap/m/messagebundle_uk.properties +59 -15
- package/src/sap/m/messagebundle_vi.properties +46 -2
- package/src/sap/m/messagebundle_zh_CN.properties +44 -0
- package/src/sap/m/messagebundle_zh_TW.properties +46 -2
- 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 +13 -3
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FlexUtil.js +0 -41
- 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 +16 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +457 -423
- 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 +4 -3
- package/src/sap/m/p13n/handler/xConfigHandler.js +18 -5
- 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 +1 -1
- package/src/sap/m/plugins/CellSelector.js +203 -160
- package/src/sap/m/plugins/ColumnResizer.js +9 -2
- package/src/sap/m/plugins/CopyProvider.js +21 -10
- 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/routing/Target.js +3 -3
- package/src/sap/m/routing/Targets.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/ColumnWidthController.js +177 -0
- 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 +17 -13
- 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 +5 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +2 -2
- package/src/sap/m/table/columnmenu/QuickTotal.js +5 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Avatar.less +0 -1
- package/src/sap/m/themes/base/BarBase.less +1 -1
- package/src/sap/m/themes/base/BusyIndicator.less +0 -10
- package/src/sap/m/themes/base/ExpandableText.less +6 -0
- package/src/sap/m/themes/base/GenericTile.less +36 -0
- package/src/sap/m/themes/base/LinkTileContent.less +17 -0
- package/src/sap/m/themes/base/MenuButton.less +1 -1
- package/src/sap/m/themes/base/NotificationListBase.less +3 -3
- package/src/sap/m/themes/base/ObjectStatus.less +241 -1
- package/src/sap/m/themes/base/RadioButton.less +1 -1
- package/src/sap/m/themes/base/SearchField.less +2 -1
- package/src/sap/m/themes/base/SplitButton.less +0 -1
- package/src/sap/m/themes/base/Table.less +0 -7
- package/src/sap/m/themes/base/Text.less +4 -1
- package/src/sap/m/themes/base/Toolbar.less +7 -14
- package/src/sap/m/themes/base/ValueStateHeader.less +4 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +49 -0
- package/src/sap/m/upload/Column.js +58 -0
- package/src/sap/m/upload/FilePreviewDialog.js +22 -3
- package/src/sap/m/upload/FilterPanel.js +280 -0
- package/src/sap/m/upload/UploadSet.js +11 -6
- package/src/sap/m/upload/UploadSetItem.js +6 -5
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploadSetwithTable.js +487 -93
- package/src/sap/m/upload/UploadSetwithTableItem.js +26 -11
- package/src/sap/m/upload/Uploader.js +3 -0
- package/src/sap/m/upload/UploaderTableItem.js +4 -1
- package/src/sap/m/upload/p13n/PersManager.js +251 -0
- package/src/sap/m/upload/p13n/flexibility/UploadSetwithTable.flexibility.js +32 -0
- package/src/sap/m/upload/p13n/handlers/BaseConfigHandler.js +44 -0
- package/src/sap/m/upload/p13n/handlers/ChangeHandler.js +98 -0
- package/src/sap/m/upload/p13n/handlers/ColumnConfigHandler.js +57 -0
- package/src/sap/m/upload/p13n/handlers/ColumnsStateChangeHandler.js +43 -0
- package/src/sap/m/upload/p13n/handlers/FilterConfigHandler.js +71 -0
- package/src/sap/m/upload/p13n/handlers/FilterStateChangeHandler.js +65 -0
- package/src/sap/m/upload/p13n/handlers/GroupConfigHandler.js +57 -0
- package/src/sap/m/upload/p13n/handlers/GroupStateChangeHandler.js +46 -0
- package/src/sap/m/upload/p13n/handlers/SortConfigHandler.js +57 -0
- package/src/sap/m/upload/p13n/handlers/SortStateChangeHandler.js +48 -0
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +183 -0
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +210 -0
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +196 -0
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +192 -0
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +200 -0
- package/src/sap/m/upload/p13n/modules/CustomDataConfig.js +100 -0
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +76 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define(
|
|
8
|
+
[
|
|
9
|
+
"sap/m/p13n/BasePanel",
|
|
10
|
+
"sap/ui/model/FilterOperator",
|
|
11
|
+
"sap/m/List",
|
|
12
|
+
"sap/base/util/merge",
|
|
13
|
+
"sap/m/CustomListItem",
|
|
14
|
+
"sap/m/library",
|
|
15
|
+
"sap/m/HBox",
|
|
16
|
+
"sap/m/VBox",
|
|
17
|
+
"sap/m/Button",
|
|
18
|
+
"sap/m/Input",
|
|
19
|
+
"sap/m/Select",
|
|
20
|
+
"sap/ui/core/ListItem",
|
|
21
|
+
"sap/m/ComboBox",
|
|
22
|
+
"sap/ui/layout/cssgrid/CSSGrid",
|
|
23
|
+
"sap/ui/layout/cssgrid/GridItemLayoutData",
|
|
24
|
+
"sap/base/util/uid"
|
|
25
|
+
],
|
|
26
|
+
function (
|
|
27
|
+
BasePanel,
|
|
28
|
+
FilterOperator,
|
|
29
|
+
List,
|
|
30
|
+
merge,
|
|
31
|
+
CustomListItem,
|
|
32
|
+
mLibrary,
|
|
33
|
+
HBox,
|
|
34
|
+
VBox,
|
|
35
|
+
Button,
|
|
36
|
+
Input,
|
|
37
|
+
Select,
|
|
38
|
+
ListItem,
|
|
39
|
+
ComboBox,
|
|
40
|
+
CSSGrid,
|
|
41
|
+
GridItemLayoutData,
|
|
42
|
+
uid
|
|
43
|
+
) {
|
|
44
|
+
"use strict";
|
|
45
|
+
//Constants config for Filter Panel
|
|
46
|
+
const DEFAULT_FILTER_OPERATIONS = FilterOperator.Contains;
|
|
47
|
+
const FILTER_OPERATIONS = [
|
|
48
|
+
{ operator: FilterOperator.Contains, label: "p13n.FILTER_OPERATOR_CONTAINS" },
|
|
49
|
+
{ operator: FilterOperator.NotContains, label: "p13n.FILTER_OPERATOR_NOT_CONTAINS" },
|
|
50
|
+
{ operator: FilterOperator.EQ, label: "p13n.FILTER_OPERATOR_EQ" },
|
|
51
|
+
{ operator: FilterOperator.GE, label: "p13n.FILTER_OPERATOR_GE" },
|
|
52
|
+
{ operator: FilterOperator.GT, label: "p13n.FILTER_OPERATOR_GT" },
|
|
53
|
+
{ operator: FilterOperator.LE, label: "p13n.FILTER_OPERATOR_LE" },
|
|
54
|
+
{ operator: FilterOperator.LT, label: "p13n.FILTER_OPERATOR_LT" },
|
|
55
|
+
{ operator: FilterOperator.NE, label: "p13n.FILTER_OPERATOR_NE" },
|
|
56
|
+
{ operator: FilterOperator.StartsWith, label: "p13n.FILTER_OPERATOR_STARTSWITH" },
|
|
57
|
+
{ operator: FilterOperator.EndsWith, label: "p13n.FILTER_OPERATOR_ENDSWITH" },
|
|
58
|
+
{ operator: FilterOperator.NotStartsWith, label: "p13n.FILTER_OPERATOR_NOTSTARTSWITH" },
|
|
59
|
+
{ operator: FilterOperator.NotEndsWith, label: "p13n.FILTER_OPERATOR_NOTENDSWITH" }
|
|
60
|
+
];
|
|
61
|
+
const GRID_COLUMN_COUNT = 12;
|
|
62
|
+
/**
|
|
63
|
+
* Constructor for a new FilterPanel.
|
|
64
|
+
*
|
|
65
|
+
* @param {string} [sId] ID for the new control. It is generated automatically if an ID is not provided.
|
|
66
|
+
* @param {object} [mSettings] Initial settings for the new control.
|
|
67
|
+
*
|
|
68
|
+
* @class Create filter panel in p13n dialog that allows a user to create filter criteria for the UploadSetWithTable columns.
|
|
69
|
+
* @extends sap.m.p13n.BasePanel
|
|
70
|
+
*
|
|
71
|
+
* @author SAP SE
|
|
72
|
+
*
|
|
73
|
+
* @constructor
|
|
74
|
+
* @private
|
|
75
|
+
* @experimental
|
|
76
|
+
* @internal
|
|
77
|
+
* @alias sap.m.upload.FilterPanel
|
|
78
|
+
*/
|
|
79
|
+
const FilterPanel = BasePanel.extend("sap.m.upload.FilterPanel", {
|
|
80
|
+
metadata: {
|
|
81
|
+
properties: {
|
|
82
|
+
/**
|
|
83
|
+
* A short text describing the panel.
|
|
84
|
+
* <b>Note:</b> This text is displayed only if the panel is being used in a <code>sap.m.p13n.Popup</code>.
|
|
85
|
+
*/
|
|
86
|
+
title: {
|
|
87
|
+
type: "string",
|
|
88
|
+
defaultValue: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("p13n.DEFAULT_TITLE_FILTER")
|
|
89
|
+
},
|
|
90
|
+
fields: { type: "sap.m.FilterPanelField[]", defaultValue: [] }
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
renderer: {
|
|
94
|
+
apiVersion: 2
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
FilterPanel.prototype.applySettings = function () {
|
|
99
|
+
BasePanel.prototype.applySettings.apply(this, arguments);
|
|
100
|
+
this._setTemplate(this._getListTemplate());
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
FilterPanel.prototype.init = function () {
|
|
104
|
+
BasePanel.prototype.init.apply(this, arguments);
|
|
105
|
+
this._oRb = sap.ui.getCore().getLibraryResourceBundle("sap.m");
|
|
106
|
+
this._bFocusOnRearrange = false;
|
|
107
|
+
this.setEnableReorder(true);
|
|
108
|
+
this.addStyleClass("sapMP13nQueryPanel");
|
|
109
|
+
|
|
110
|
+
// Add button
|
|
111
|
+
const addButton = this._createAddButton();
|
|
112
|
+
addButton.setLayoutData(new GridItemLayoutData({ gridColumn: `1 / ${GRID_COLUMN_COUNT}` }));
|
|
113
|
+
|
|
114
|
+
const gridContainer = new VBox({
|
|
115
|
+
items: [this._getCSSGrid([addButton])]
|
|
116
|
+
});
|
|
117
|
+
gridContainer.addStyleClass("sapUiTinyMargin");
|
|
118
|
+
|
|
119
|
+
const vBox = this.getAggregation("_content");
|
|
120
|
+
vBox.addItem(gridContainer);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
FilterPanel.prototype._createInnerListControl = function () {
|
|
124
|
+
return new List(this.getId() + "-innerP13nList", {
|
|
125
|
+
itemPress: [this._onItemPressed, this],
|
|
126
|
+
dragDropConfig: this._getDragDropConfig()
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Sets the personalization state of the panel instance.
|
|
132
|
+
*
|
|
133
|
+
* @private
|
|
134
|
+
* @param {sap.m.p13n.Item[]} aP13nData An array containing the personalization state that is represented by the <code>FilterPanel</code>.
|
|
135
|
+
* @returns {this} The FilterPanel instance
|
|
136
|
+
*/
|
|
137
|
+
FilterPanel.prototype.setP13nData = function (aP13nData) {
|
|
138
|
+
aP13nData = merge([], aP13nData);
|
|
139
|
+
BasePanel.prototype.setP13nData.call(this, aP13nData);
|
|
140
|
+
return this;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
FilterPanel.prototype.getP13nData = function (bOnlyActive) {
|
|
144
|
+
const aItems = this._getP13nModel().getProperty("/items");
|
|
145
|
+
|
|
146
|
+
return merge(
|
|
147
|
+
[],
|
|
148
|
+
aItems.filter(function (entry) {
|
|
149
|
+
return !!entry.path && !!entry.operator;
|
|
150
|
+
})
|
|
151
|
+
);
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
FilterPanel.prototype._getListTemplate = function () {
|
|
155
|
+
const keySelect = this._createKeySelect(),
|
|
156
|
+
filterOperator = this._createFilterOperationSelect(),
|
|
157
|
+
filterValue = this._createSearchCriteriaInput();
|
|
158
|
+
const filterControlContainer = new HBox({
|
|
159
|
+
items: [
|
|
160
|
+
new VBox({ width: "100%", items: [keySelect] }).addStyleClass("sapUiTinyMarginEnd"),
|
|
161
|
+
new VBox({ width: "100%", items: [filterOperator] })
|
|
162
|
+
]
|
|
163
|
+
});
|
|
164
|
+
filterControlContainer.setLayoutData(
|
|
165
|
+
new GridItemLayoutData({ gridColumn: `1 / ${GRID_COLUMN_COUNT}`, gridRow: "1" })
|
|
166
|
+
);
|
|
167
|
+
filterValue.setLayoutData(new GridItemLayoutData({ gridColumn: `1 / ${GRID_COLUMN_COUNT}`, gridRow: "2" }));
|
|
168
|
+
|
|
169
|
+
const removeButton = this._createRemoveButton();
|
|
170
|
+
removeButton.setLayoutData(
|
|
171
|
+
new GridItemLayoutData({
|
|
172
|
+
gridColumn: `${GRID_COLUMN_COUNT} / ${GRID_COLUMN_COUNT + 1}`,
|
|
173
|
+
gridRow: "1 / 3"
|
|
174
|
+
})
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
return new CustomListItem({
|
|
178
|
+
type: mLibrary.ListType.Active,
|
|
179
|
+
content: [
|
|
180
|
+
new VBox({ items: [this._getCSSGrid([filterControlContainer, filterValue, removeButton])] }).addStyleClass(
|
|
181
|
+
"sapUiTinyMargin"
|
|
182
|
+
)
|
|
183
|
+
]
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
FilterPanel.prototype._getCSSGrid = function (items) {
|
|
188
|
+
return new CSSGrid({
|
|
189
|
+
gridTemplateColumns: `repeat(${GRID_COLUMN_COUNT - 1}, 1fr) minmax(32px, 1fr)`,
|
|
190
|
+
gridTemplateRows: "repeat(2, 1fr)",
|
|
191
|
+
gridColumnGap: "0.3rem",
|
|
192
|
+
items: items
|
|
193
|
+
});
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
FilterPanel.prototype._getAvailableItems = function () {
|
|
197
|
+
if (!this.getFields()) {
|
|
198
|
+
return [];
|
|
199
|
+
}
|
|
200
|
+
return this.getFields().map(function (entry) {
|
|
201
|
+
return new ListItem({ key: entry.path, text: entry.label });
|
|
202
|
+
});
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
FilterPanel.prototype._createKeySelect = function (oItem) {
|
|
206
|
+
return new ComboBox({
|
|
207
|
+
width: "100%",
|
|
208
|
+
items: this._getAvailableItems(),
|
|
209
|
+
selectedKey: `{${this.P13N_MODEL}>path}`
|
|
210
|
+
});
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
FilterPanel.prototype._createFilterOperationSelect = function (oItem) {
|
|
214
|
+
return new Select({
|
|
215
|
+
width: "100%",
|
|
216
|
+
selectedKey: `{${this.P13N_MODEL}>operator}`,
|
|
217
|
+
items: FILTER_OPERATIONS.map(
|
|
218
|
+
function (entry) {
|
|
219
|
+
return new ListItem({
|
|
220
|
+
key: entry.operator,
|
|
221
|
+
text: this._oRb.getText(entry.label)
|
|
222
|
+
});
|
|
223
|
+
}.bind(this)
|
|
224
|
+
)
|
|
225
|
+
});
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
FilterPanel.prototype._createSearchCriteriaInput = function (oItem) {
|
|
229
|
+
return new Input({ value: `{${this.P13N_MODEL}>value}` });
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
FilterPanel.prototype._createAddButton = function () {
|
|
233
|
+
return new HBox({
|
|
234
|
+
justifyContent: mLibrary.FlexJustifyContent.End,
|
|
235
|
+
items: [
|
|
236
|
+
new Button({
|
|
237
|
+
text: this._oRb.getText("p13n.ADD_FILTER_CRITERIA"),
|
|
238
|
+
press: function () {
|
|
239
|
+
const aItems = this._getP13nModel().getProperty("/items");
|
|
240
|
+
aItems.push({ name: uid(), operator: DEFAULT_FILTER_OPERATIONS});
|
|
241
|
+
this.setP13nData(aItems);
|
|
242
|
+
}.bind(this)
|
|
243
|
+
})
|
|
244
|
+
]
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
FilterPanel.prototype._createRemoveButton = function () {
|
|
249
|
+
return new VBox({
|
|
250
|
+
alignItems: mLibrary.FlexAlignItems.End,
|
|
251
|
+
justifyContent: mLibrary.FlexJustifyContent.End,
|
|
252
|
+
items: [
|
|
253
|
+
new Button({
|
|
254
|
+
type: mLibrary.ButtonType.Transparent,
|
|
255
|
+
icon: "sap-icon://decline",
|
|
256
|
+
press: function (oEvt) {
|
|
257
|
+
// Find list item
|
|
258
|
+
let item = oEvt.getSource();
|
|
259
|
+
|
|
260
|
+
// Traverse up the control hierarchy to find the ColumnListItem
|
|
261
|
+
while (item && !(item instanceof CustomListItem)) {
|
|
262
|
+
item = item.getParent();
|
|
263
|
+
}
|
|
264
|
+
if (!(item instanceof CustomListItem)) {
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
// Remove item from model
|
|
268
|
+
const aItems = this._getP13nModel().getProperty("/items"),
|
|
269
|
+
iIndex = aItems.indexOf(this._getModelEntry(item));
|
|
270
|
+
aItems.splice(iIndex, 1);
|
|
271
|
+
this.setP13nData(aItems);
|
|
272
|
+
}.bind(this)
|
|
273
|
+
})
|
|
274
|
+
]
|
|
275
|
+
});
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
return FilterPanel;
|
|
279
|
+
}
|
|
280
|
+
);
|
|
@@ -34,10 +34,12 @@ sap.ui.define([
|
|
|
34
34
|
"sap/ui/core/InvisibleText",
|
|
35
35
|
"sap/m/Menu",
|
|
36
36
|
"sap/m/MenuItem",
|
|
37
|
-
"sap/m/MenuButton"
|
|
37
|
+
"sap/m/MenuButton",
|
|
38
|
+
"sap/ui/core/Lib"
|
|
38
39
|
], function (Control, KeyCodes, Log, deepEqual, MobileLibrary, Button, Dialog, List, MessageBox, OverflowToolbar,
|
|
39
40
|
StandardListItem, Text, ToolbarSpacer, FileUploader, UploadSetItem, Uploader, Renderer, UploaderHttpRequestMethod,
|
|
40
|
-
DragDropInfo, DropInfo, Library, UploadSetToolbarPlaceholder, IllustratedMessage,IllustratedMessageType,
|
|
41
|
+
DragDropInfo, DropInfo, Library, UploadSetToolbarPlaceholder, IllustratedMessage,IllustratedMessageType,
|
|
42
|
+
IllustratedMessageSize, Core, InvisibleText, Menu, MenuItem, MenuButton, CoreLib) {
|
|
41
43
|
"use strict";
|
|
42
44
|
|
|
43
45
|
var UploadType = Library.UploadType;
|
|
@@ -53,7 +55,7 @@ sap.ui.define([
|
|
|
53
55
|
* and requests, unified behavior of instant and deferred uploads, as well as improved progress indication.
|
|
54
56
|
* @extends sap.ui.core.Control
|
|
55
57
|
* @author SAP SE
|
|
56
|
-
* @version 1.
|
|
58
|
+
* @version 1.120.1
|
|
57
59
|
* @constructor
|
|
58
60
|
* @public
|
|
59
61
|
* @since 1.63
|
|
@@ -506,7 +508,7 @@ sap.ui.define([
|
|
|
506
508
|
/* ================== */
|
|
507
509
|
|
|
508
510
|
UploadSet.prototype.init = function () {
|
|
509
|
-
this._oRb =
|
|
511
|
+
this._oRb = CoreLib.getResourceBundleFor("sap.m");
|
|
510
512
|
|
|
511
513
|
this._oList = null;
|
|
512
514
|
this._oEditedItem = null;
|
|
@@ -648,7 +650,7 @@ sap.ui.define([
|
|
|
648
650
|
if (this._oEditedItem && this._oEditedItem._getFileNameEdit().$("inner")[0] === oEvent.target) {
|
|
649
651
|
oItem = this._oEditedItem;
|
|
650
652
|
} else if (oEvent.target) {
|
|
651
|
-
oListItem =
|
|
653
|
+
oListItem = Core.byId(oEvent.target.id);
|
|
652
654
|
if (oListItem) {
|
|
653
655
|
oItem = this._mListItemIdToItemMap[oListItem.getId()];
|
|
654
656
|
}
|
|
@@ -1003,13 +1005,16 @@ sap.ui.define([
|
|
|
1003
1005
|
|
|
1004
1006
|
UploadSet.prototype.getUploadButtonForIllustratedMessage = function () {
|
|
1005
1007
|
if (!this._oUploadButton) {
|
|
1008
|
+
var oAccIds = this.getAggregation("_illustratedMessage").getAccessibilityReferences();
|
|
1009
|
+
var sTitleId = oAccIds.title;
|
|
1010
|
+
var sDescriptionId = oAccIds.description;
|
|
1006
1011
|
this._oUploadButton = new Button({
|
|
1007
1012
|
id: this.getId() + "-uploadButton",
|
|
1008
1013
|
type: MobileLibrary.ButtonType.Standard,
|
|
1009
1014
|
enabled: this.getUploadEnabled(),
|
|
1010
1015
|
visible: !this.getUploadButtonInvisible(),
|
|
1011
1016
|
text: this._oRb.getText("UPLOADCOLLECTION_UPLOAD"),
|
|
1012
|
-
ariaDescribedBy:
|
|
1017
|
+
ariaDescribedBy: [sTitleId,sDescriptionId],
|
|
1013
1018
|
press: function () {
|
|
1014
1019
|
var FileUploader = this.getDefaultFileUploader();
|
|
1015
1020
|
FileUploader.$().find("input[type=file]").trigger("click");
|
|
@@ -20,10 +20,11 @@ sap.ui.define([
|
|
|
20
20
|
"sap/m/Link",
|
|
21
21
|
"sap/m/ProgressIndicator",
|
|
22
22
|
"sap/m/VBox",
|
|
23
|
-
"sap/m/HBox"
|
|
23
|
+
"sap/m/HBox",
|
|
24
|
+
"sap/ui/core/Lib"
|
|
24
25
|
], function (Log, CoreLibrary, Element, Icon, IconPool, HTML,
|
|
25
|
-
MobileLibrary, Button, CustomListItem, Image, Input,
|
|
26
|
-
HBox) {
|
|
26
|
+
MobileLibrary, Button, CustomListItem, Image, Input,
|
|
27
|
+
Label, Link, ProgressIndicator, VBox, HBox, CoreLib) {
|
|
27
28
|
"use strict";
|
|
28
29
|
|
|
29
30
|
var UploadType = MobileLibrary.UploadType;
|
|
@@ -36,7 +37,7 @@ sap.ui.define([
|
|
|
36
37
|
* @class Item that represents one file to be uploaded using the {@link sap.m.upload.UploadSet} control.
|
|
37
38
|
* @extends sap.ui.core.Element
|
|
38
39
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
40
|
+
* @version 1.120.1
|
|
40
41
|
* @constructor
|
|
41
42
|
* @public
|
|
42
43
|
* @since 1.63
|
|
@@ -218,7 +219,7 @@ sap.ui.define([
|
|
|
218
219
|
/* ================== */
|
|
219
220
|
|
|
220
221
|
UploadSetItem.prototype.init = function () {
|
|
221
|
-
this._oRb =
|
|
222
|
+
this._oRb = CoreLib.getResourceBundleFor("sap.m");
|
|
222
223
|
|
|
223
224
|
// Inner controls
|
|
224
225
|
this._oListItem = null;
|