@openui5/sap.m 1.113.0 → 1.114.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 +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +5 -3
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +19 -3
- package/src/sap/m/ButtonRenderer.js +9 -1
- package/src/sap/m/Carousel.js +3 -4
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +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 +14 -3
- package/src/sap/m/ComboBoxBase.js +1 -1
- 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 +48 -18
- package/src/sap/m/DateRangeSelection.js +71 -32
- package/src/sap/m/DateTimeField.js +19 -14
- package/src/sap/m/DateTimeInput.js +6 -4
- package/src/sap/m/DateTimePicker.js +42 -11
- package/src/sap/m/Dialog.js +2 -2
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +5 -6
- package/src/sap/m/DynamicDateFormat.js +10 -7
- package/src/sap/m/DynamicDateOption.js +12 -6
- package/src/sap/m/DynamicDateRange.js +268 -45
- package/src/sap/m/DynamicDateUtil.js +5 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +7 -5
- 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 +1 -1
- package/src/sap/m/FeedListItem.js +11 -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 +42 -51
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +23 -23
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +2 -4
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +11 -5
- 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 +5 -6
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +5 -8
- package/src/sap/m/IllustratedMessage.js +30 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +0 -2
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/ImageHelper.js +110 -0
- package/src/sap/m/Input.js +3 -2
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +7 -16
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -2
- package/src/sap/m/ListItemBase.js +10 -3
- 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 -5
- 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 +78 -10
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +24 -5
- 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 +6 -6
- package/src/sap/m/ObjectHeader.js +5 -5
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +5 -6
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +4 -7
- package/src/sap/m/OverflowToolbar.js +7 -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/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 +2 -2
- 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 +11 -11
- package/src/sap/m/PlanningCalendarHeader.js +3 -3
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +15 -15
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -3
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +4 -10
- 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 +2 -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 +17 -7
- 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 +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 +2 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +4 -3
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +44 -15
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +13 -13
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +9 -9
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +2 -2
- 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 +4 -4
- 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 +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +2 -3
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +4 -9
- 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 +3 -6
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +3 -6
- package/src/sap/m/Table.js +5 -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 +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 +8 -8
- package/src/sap/m/TileContentRenderer.js +1 -6
- package/src/sap/m/TimePicker.js +38 -8
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +4 -4
- package/src/sap/m/TimePickerClocksRenderer.js +7 -9
- package/src/sap/m/TimePickerInputs.js +10 -8
- package/src/sap/m/TimePickerInputsRenderer.js +7 -6
- package/src/sap/m/TimePickerInternals.js +15 -2
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +7 -5
- 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 +7 -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 +10 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +77 -78
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/delegate/DateNavigation.js +1 -1
- package/src/sap/m/designtime/PersistenceProvider.designtime.js +21 -0
- package/src/sap/m/library.js +25 -90
- package/src/sap/m/messagebundle.properties +15 -0
- package/src/sap/m/messagebundle_ar.properties +10 -0
- package/src/sap/m/messagebundle_bg.properties +10 -0
- package/src/sap/m/messagebundle_ca.properties +10 -0
- package/src/sap/m/messagebundle_cs.properties +11 -1
- package/src/sap/m/messagebundle_cy.properties +10 -0
- package/src/sap/m/messagebundle_da.properties +10 -0
- package/src/sap/m/messagebundle_de.properties +12 -2
- package/src/sap/m/messagebundle_el.properties +10 -0
- package/src/sap/m/messagebundle_en.properties +10 -0
- package/src/sap/m/messagebundle_en_GB.properties +10 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +10 -0
- package/src/sap/m/messagebundle_en_US_saprigi.properties +10 -0
- package/src/sap/m/messagebundle_es.properties +10 -0
- package/src/sap/m/messagebundle_es_MX.properties +10 -0
- package/src/sap/m/messagebundle_et.properties +10 -0
- package/src/sap/m/messagebundle_fi.properties +10 -0
- package/src/sap/m/messagebundle_fr.properties +10 -0
- package/src/sap/m/messagebundle_fr_CA.properties +10 -0
- package/src/sap/m/messagebundle_hi.properties +10 -0
- package/src/sap/m/messagebundle_hr.properties +10 -0
- package/src/sap/m/messagebundle_hu.properties +10 -0
- package/src/sap/m/messagebundle_id.properties +10 -0
- package/src/sap/m/messagebundle_it.properties +13 -3
- package/src/sap/m/messagebundle_iw.properties +10 -0
- package/src/sap/m/messagebundle_ja.properties +11 -1
- package/src/sap/m/messagebundle_kk.properties +10 -0
- package/src/sap/m/messagebundle_ko.properties +11 -1
- package/src/sap/m/messagebundle_lt.properties +10 -0
- package/src/sap/m/messagebundle_lv.properties +10 -0
- package/src/sap/m/messagebundle_ms.properties +11 -1
- package/src/sap/m/messagebundle_nl.properties +10 -0
- package/src/sap/m/messagebundle_no.properties +10 -0
- package/src/sap/m/messagebundle_pl.properties +10 -0
- package/src/sap/m/messagebundle_pt.properties +10 -0
- package/src/sap/m/messagebundle_pt_PT.properties +10 -0
- package/src/sap/m/messagebundle_ro.properties +10 -0
- package/src/sap/m/messagebundle_ru.properties +10 -0
- package/src/sap/m/messagebundle_sh.properties +10 -0
- package/src/sap/m/messagebundle_sk.properties +10 -0
- package/src/sap/m/messagebundle_sl.properties +10 -0
- package/src/sap/m/messagebundle_sv.properties +10 -0
- package/src/sap/m/messagebundle_th.properties +10 -0
- package/src/sap/m/messagebundle_tr.properties +10 -0
- package/src/sap/m/messagebundle_uk.properties +10 -0
- package/src/sap/m/messagebundle_vi.properties +10 -0
- package/src/sap/m/messagebundle_zh_CN.properties +10 -0
- package/src/sap/m/messagebundle_zh_TW.properties +10 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +8 -4
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +1 -1
- package/src/sap/m/p13n/Popup.js +7 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +14 -13
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +19 -9
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +9 -1
- package/src/sap/m/plugins/CopyProvider.js +122 -5
- package/src/sap/m/plugins/DataStateIndicator.js +14 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- 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 +57 -3
- 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 +14 -21
- package/src/sap/m/table/columnmenu/MenuRenderer.js +0 -6
- 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 +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Button.less +4 -4
- package/src/sap/m/themes/base/FeedInput.less +1 -0
- package/src/sap/m/themes/base/GenericTile.less +5 -23
- package/src/sap/m/themes/base/IllustratedMessage.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +27 -15
- package/src/sap/m/themes/base/MessageToast.less +7 -0
- package/src/sap/m/themes/base/ObjectHeader.less +20 -0
- package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
- package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
- package/src/sap/m/themes/base/Table.less +0 -20
- package/src/sap/m/themes/base/TimePickerClocks.less +2 -1
- package/src/sap/m/themes/base/TimePickerInputs.less +2 -1
- package/src/sap/m/themes/base/Wizard.less +1 -1
- package/src/sap/m/upload/UploadSet.js +21 -18
- package/src/sap/m/upload/UploadSetItem.js +27 -25
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +0 -110
|
@@ -1573,17 +1573,6 @@ sap.ui.define([
|
|
|
1573
1573
|
this.oVariantPopOver.close();
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
// if (this.getManualVariantKey()) {
|
|
1577
|
-
// this.oInputManualKey.setVisible(true);
|
|
1578
|
-
// this.oInputManualKey.setEnabled(true);
|
|
1579
|
-
// this.oInputManualKey.setValueState(ValueState.None);
|
|
1580
|
-
// this.oInputManualKey.setValueStateText(null);
|
|
1581
|
-
// this.oLabelKey.setVisible(true);
|
|
1582
|
-
// } else {
|
|
1583
|
-
// this.oInputManualKey.setVisible(false);
|
|
1584
|
-
// this.oLabelKey.setVisible(false);
|
|
1585
|
-
// }
|
|
1586
|
-
|
|
1587
1576
|
if (!bDoNotOpen) {
|
|
1588
1577
|
this.oSaveAsDialog.open();
|
|
1589
1578
|
}
|
|
@@ -2015,11 +2004,6 @@ sap.ui.define([
|
|
|
2015
2004
|
|
|
2016
2005
|
var fPress = function(oEvent) {
|
|
2017
2006
|
this._handleManageDeletePressed(oEvent.oSource.getBindingContext(sModelName).getObject());
|
|
2018
|
-
var oListItem = oEvent.oSource.getParent();
|
|
2019
|
-
if (oListItem) {
|
|
2020
|
-
oListItem.setVisible(false);
|
|
2021
|
-
}
|
|
2022
|
-
|
|
2023
2007
|
this._reCheckVariantNameConstraints();
|
|
2024
2008
|
}.bind(this);
|
|
2025
2009
|
|
|
@@ -2082,9 +2066,9 @@ sap.ui.define([
|
|
|
2082
2066
|
});
|
|
2083
2067
|
|
|
2084
2068
|
if ((this.getStandardVariantKey() === oItem.getKey()) || (this.getDefaultKey() === oItem.getKey())) {
|
|
2085
|
-
|
|
2069
|
+
this._setIconStyleClass(oFavoriteIcon, "sapMVarMngmtFavNonInteractiveColor");
|
|
2086
2070
|
} else {
|
|
2087
|
-
|
|
2071
|
+
this._setIconStyleClass(oFavoriteIcon, "sapMVarMngmtFavColor");
|
|
2088
2072
|
}
|
|
2089
2073
|
|
|
2090
2074
|
if (this.getDisplayTextForExecuteOnSelectionForStandardVariant() && (this.getStandardVariantKey() === oItem.getKey())) {
|
|
@@ -2138,7 +2122,7 @@ sap.ui.define([
|
|
|
2138
2122
|
}
|
|
2139
2123
|
}
|
|
2140
2124
|
|
|
2141
|
-
|
|
2125
|
+
var oListItem = new ColumnListItem({
|
|
2142
2126
|
cells: [
|
|
2143
2127
|
oFavoriteIcon,
|
|
2144
2128
|
oNameControl,
|
|
@@ -2165,6 +2149,12 @@ sap.ui.define([
|
|
|
2165
2149
|
})
|
|
2166
2150
|
]
|
|
2167
2151
|
});
|
|
2152
|
+
|
|
2153
|
+
if (this._getDeletedItems() && this._getDeletedItems().indexOf(oItem.getKey()) > -1) {
|
|
2154
|
+
oListItem.setVisible(false);
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
return oListItem;
|
|
2168
2158
|
};
|
|
2169
2159
|
|
|
2170
2160
|
|
|
@@ -2204,19 +2194,25 @@ sap.ui.define([
|
|
|
2204
2194
|
return;
|
|
2205
2195
|
}
|
|
2206
2196
|
|
|
2207
|
-
if (oItem.getKey() === this.getStandardVariantKey()) {
|
|
2197
|
+
if (!oItem || (oItem.getKey() === this.getStandardVariantKey())) {
|
|
2208
2198
|
return;
|
|
2209
2199
|
}
|
|
2210
2200
|
|
|
2211
2201
|
if (bToInActive && oIcon.hasStyleClass("sapMVarMngmtFavColor")) {
|
|
2212
2202
|
oIcon.removeStyleClass("sapMVarMngmtFavColor");
|
|
2213
|
-
|
|
2203
|
+
this._setIconStyleClass(oIcon, "sapMVarMngmtFavNonInteractiveColor");
|
|
2214
2204
|
} else if (oIcon.hasStyleClass("sapMVarMngmtFavNonInteractiveColor")) {
|
|
2215
2205
|
oIcon.removeStyleClass("sapMVarMngmtFavNonInteractiveColor");
|
|
2216
|
-
|
|
2206
|
+
this._setIconStyleClass(oIcon, "sapMVarMngmtFavColor");
|
|
2217
2207
|
}
|
|
2218
2208
|
};
|
|
2219
2209
|
|
|
2210
|
+
VariantManagement.prototype._setIconStyleClass = function(oIcon, sStyleClass) {
|
|
2211
|
+
if (oIcon) {
|
|
2212
|
+
oIcon.addStyleClass(sStyleClass);
|
|
2213
|
+
oIcon.setNoTabStop(sStyleClass === "sapMVarMngmtFavNonInteractiveColor");
|
|
2214
|
+
}
|
|
2215
|
+
};
|
|
2220
2216
|
|
|
2221
2217
|
VariantManagement.prototype._handleManageTitleChange = function(oInput, oItem) {
|
|
2222
2218
|
this._checkVariantNameConstraints(oInput, oItem.getKey());
|
|
@@ -2259,45 +2255,45 @@ sap.ui.define([
|
|
|
2259
2255
|
this._bDeleteOccured = true;
|
|
2260
2256
|
|
|
2261
2257
|
this._getDeletedItems().forEach(function(sKey) {
|
|
2262
|
-
var
|
|
2263
|
-
if (
|
|
2264
|
-
|
|
2258
|
+
var oListItem = this._getRowForKey(sKey);
|
|
2259
|
+
if (oListItem && !oListItem.getVisible()) {
|
|
2260
|
+
oListItem.setVisible(true);
|
|
2265
2261
|
}
|
|
2266
2262
|
}.bind(this));
|
|
2263
|
+
|
|
2264
|
+
this._clearDeletedItems();
|
|
2267
2265
|
}
|
|
2268
2266
|
|
|
2269
2267
|
this.getItems().forEach(function(oItem) {
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
oItem.setContexts(oItem.getOriginalContexts());
|
|
2275
|
-
}
|
|
2268
|
+
oItem.setTitle(oItem.getOriginalTitle());
|
|
2269
|
+
oItem.setFavorite(oItem.getOriginalFavorite());
|
|
2270
|
+
oItem.setExecuteOnSelect(oItem.getOriginalExecuteOnSelect());
|
|
2271
|
+
oItem.setContexts(oItem.getOriginalContexts());
|
|
2276
2272
|
});
|
|
2277
2273
|
|
|
2278
2274
|
if (this._sOriginalDefaultKey !== this.getDefaultKey()) {
|
|
2275
|
+
var sPrevDefaultKey = this.getDefaultKey();
|
|
2279
2276
|
this.setDefaultKey(this._sOriginalDefaultKey);
|
|
2277
|
+
|
|
2278
|
+
if (sPrevDefaultKey !== this.getStandardVariantKey()) {
|
|
2279
|
+
var oRow = this._getRowForKey(sPrevDefaultKey);
|
|
2280
|
+
if (oRow) {
|
|
2281
|
+
var oIcon = oRow.getCells()[VariantManagement.COLUMN_FAV_IDX];
|
|
2282
|
+
this._toggleIconActivityState(oIcon, this._getItemByKey(sPrevDefaultKey), false);
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2280
2285
|
}
|
|
2281
2286
|
|
|
2282
2287
|
this._clearRenamedItems();
|
|
2283
|
-
this._clearDeletedItems();
|
|
2284
2288
|
|
|
2285
2289
|
if (this._oManagedObjectModel) {
|
|
2286
2290
|
this._oManagedObjectModel.checkUpdate();
|
|
2287
2291
|
}
|
|
2288
2292
|
|
|
2289
2293
|
this.fireManageCancel();
|
|
2290
|
-
|
|
2291
|
-
//fireManageCancel may have deleted the ManageViews dialog
|
|
2292
|
-
// if (this.oManagementDialog) {
|
|
2293
|
-
// this.oManagementTable.getBinding("items").filter(this._getVisibleFilter());
|
|
2294
|
-
// }
|
|
2295
2294
|
};
|
|
2296
2295
|
|
|
2297
2296
|
VariantManagement.prototype._handleManageFavoriteChanged = function(oIcon, oItem) {
|
|
2298
|
-
// if (!this._anyInErrorState(this.oManagementTable)) {
|
|
2299
|
-
// this.oManagementSave.setEnabled(true);
|
|
2300
|
-
// }
|
|
2301
2297
|
if (this.getStandardVariantKey() === oItem.getKey()) {
|
|
2302
2298
|
return;
|
|
2303
2299
|
}
|
|
@@ -2314,34 +2310,6 @@ sap.ui.define([
|
|
|
2314
2310
|
};
|
|
2315
2311
|
|
|
2316
2312
|
|
|
2317
|
-
|
|
2318
|
-
VariantManagement.prototype._getRowForKey = function(sKey) {
|
|
2319
|
-
var oRowForKey = null;
|
|
2320
|
-
if (this.oManagementTable) {
|
|
2321
|
-
this.oManagementTable.getItems().some(function(oRow) {
|
|
2322
|
-
var oColumnItem = oRow.getCells()[0].getParent();
|
|
2323
|
-
var oItem = this.getModel("$mVariants").getObject(oColumnItem.getBindingContextPath());
|
|
2324
|
-
if (sKey === oItem.getKey()) {
|
|
2325
|
-
oRowForKey = oRow;
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
return oRowForKey !== null;
|
|
2329
|
-
}.bind(this));
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
return oRowForKey;
|
|
2333
|
-
};
|
|
2334
|
-
|
|
2335
|
-
VariantManagement.prototype._determineIndex = function(sPath) {
|
|
2336
|
-
var nIdx = -1;
|
|
2337
|
-
var nPos = sPath.indexOf('/', 1);
|
|
2338
|
-
if (nPos > 0) {
|
|
2339
|
-
nIdx = parseInt(sPath.substring(nPos + 1));
|
|
2340
|
-
}
|
|
2341
|
-
|
|
2342
|
-
return nIdx;
|
|
2343
|
-
};
|
|
2344
|
-
|
|
2345
2313
|
VariantManagement.prototype._handleManageDeletePressed = function(oItem) {
|
|
2346
2314
|
var sKey = oItem.getKey();
|
|
2347
2315
|
|
|
@@ -2350,7 +2318,6 @@ sap.ui.define([
|
|
|
2350
2318
|
return;
|
|
2351
2319
|
}
|
|
2352
2320
|
|
|
2353
|
-
oItem.setVisible(false);
|
|
2354
2321
|
this._addDeletedItem(oItem);
|
|
2355
2322
|
|
|
2356
2323
|
if (sKey === this.getDefaultKey()) {
|
|
@@ -2367,12 +2334,12 @@ sap.ui.define([
|
|
|
2367
2334
|
}
|
|
2368
2335
|
}
|
|
2369
2336
|
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2337
|
+
var oListItem = this._getRowForKey(oItem.getKey());
|
|
2338
|
+
if (oListItem) {
|
|
2339
|
+
oListItem.setVisible(false);
|
|
2340
|
+
}
|
|
2374
2341
|
|
|
2375
|
-
this.oManagementTable.getBinding("items").filter(this._getVisibleFilter());
|
|
2342
|
+
//this.oManagementTable.getBinding("items").filter(this._getVisibleFilter());
|
|
2376
2343
|
|
|
2377
2344
|
this.oManagementCancel.focus();
|
|
2378
2345
|
};
|
|
@@ -2441,6 +2408,13 @@ sap.ui.define([
|
|
|
2441
2408
|
if (this._getDeletedItems().length > 0) {
|
|
2442
2409
|
this._bDeleteOccured = true;
|
|
2443
2410
|
|
|
2411
|
+
this._getDeletedItems().forEach(function(sKey) {
|
|
2412
|
+
var oItem = this._getItemByKey(sKey);
|
|
2413
|
+
if (oItem) {
|
|
2414
|
+
oItem.setVisible(false);
|
|
2415
|
+
}
|
|
2416
|
+
}.bind(this));
|
|
2417
|
+
|
|
2444
2418
|
this._getDeletedItems().some(function(sItemKey) {
|
|
2445
2419
|
if (sItemKey === this.getSelectedKey()) {
|
|
2446
2420
|
var sKey = this.getStandardVariantKey();
|
|
@@ -2506,7 +2480,6 @@ sap.ui.define([
|
|
|
2506
2480
|
}
|
|
2507
2481
|
};
|
|
2508
2482
|
|
|
2509
|
-
|
|
2510
2483
|
VariantManagement.prototype._anyInErrorStateManageTable = function(oManagementTable) {
|
|
2511
2484
|
var oInput;
|
|
2512
2485
|
var bInError = false;
|
|
@@ -2562,6 +2535,33 @@ sap.ui.define([
|
|
|
2562
2535
|
|
|
2563
2536
|
// UTILS
|
|
2564
2537
|
|
|
2538
|
+
VariantManagement.prototype._getRowForKey = function(sKey) {
|
|
2539
|
+
var oRowForKey = null;
|
|
2540
|
+
if (this.oManagementTable) {
|
|
2541
|
+
this.oManagementTable.getItems().some(function(oRow) {
|
|
2542
|
+
var oColumnItem = oRow.getCells()[0].getParent();
|
|
2543
|
+
var oItem = this.getModel("$mVariants").getObject(oColumnItem.getBindingContextPath());
|
|
2544
|
+
if (sKey === oItem.getKey()) {
|
|
2545
|
+
oRowForKey = oRow;
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
return oRowForKey !== null;
|
|
2549
|
+
}.bind(this));
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
return oRowForKey;
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
VariantManagement.prototype._determineIndex = function(sPath) {
|
|
2556
|
+
var nIdx = -1;
|
|
2557
|
+
var nPos = sPath.indexOf('/', 1);
|
|
2558
|
+
if (nPos > 0) {
|
|
2559
|
+
nIdx = parseInt(sPath.substring(nPos + 1));
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
return nIdx;
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
2565
|
VariantManagement.prototype._getFilters = function(oFilter) {
|
|
2566
2566
|
var aFilters = [];
|
|
2567
2567
|
|
|
@@ -2572,7 +2572,7 @@ sap.ui.define([
|
|
|
2572
2572
|
aFilters.push(this._getVisibleFilter());
|
|
2573
2573
|
|
|
2574
2574
|
if (this.getSupportFavorites()) {
|
|
2575
|
-
aFilters.push(this.
|
|
2575
|
+
aFilters.push(this._getFavoriteFilter());
|
|
2576
2576
|
}
|
|
2577
2577
|
|
|
2578
2578
|
return aFilters;
|
|
@@ -2586,7 +2586,7 @@ sap.ui.define([
|
|
|
2586
2586
|
});
|
|
2587
2587
|
};
|
|
2588
2588
|
|
|
2589
|
-
VariantManagement.prototype.
|
|
2589
|
+
VariantManagement.prototype._getFavoriteFilter = function() {
|
|
2590
2590
|
return new Filter({
|
|
2591
2591
|
path: "favorite",
|
|
2592
2592
|
operator: FilterOperator.EQ,
|
|
@@ -2797,7 +2797,6 @@ sap.ui.define([
|
|
|
2797
2797
|
|
|
2798
2798
|
this._oRolesComponentContainer = null;
|
|
2799
2799
|
|
|
2800
|
-
|
|
2801
2800
|
if (this._oRolesDialog && !this._oRolesDialog._bIsBeingDestroyed) {
|
|
2802
2801
|
this._oRolesDialog.destroy();
|
|
2803
2802
|
this._oRolesDialog = null;
|
package/src/sap/m/VisibleItem.js
CHANGED
package/src/sap/m/WheelSlider.js
CHANGED
package/src/sap/m/Wizard.js
CHANGED
package/src/sap/m/WizardStep.js
CHANGED
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* <li>If the execution needs to branch after a given step, you should set all possible next steps in the <code>subsequentSteps</code> aggregation.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.114.1
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
sap.ui.define([
|
|
7
|
+
|
|
8
|
+
], function () {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
return {
|
|
12
|
+
name: "{name}",
|
|
13
|
+
description: "{description}",
|
|
14
|
+
properties: {
|
|
15
|
+
mode: {
|
|
16
|
+
ignore: true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
});
|
package/src/sap/m/library.js
CHANGED
|
@@ -70,13 +70,13 @@ sap.ui.define([
|
|
|
70
70
|
* @namespace
|
|
71
71
|
* @alias sap.m
|
|
72
72
|
* @author SAP SE
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.114.1
|
|
74
74
|
* @since 1.4
|
|
75
75
|
* @public
|
|
76
76
|
*/
|
|
77
77
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
78
78
|
name : "sap.m",
|
|
79
|
-
version: "1.
|
|
79
|
+
version: "1.114.1",
|
|
80
80
|
dependencies : ["sap.ui.core"],
|
|
81
81
|
designtime: "sap/m/designtime/library.designtime",
|
|
82
82
|
types: [
|
|
@@ -90,6 +90,7 @@ sap.ui.define([
|
|
|
90
90
|
"sap.m.BadgeAnimationType",
|
|
91
91
|
"sap.m.BarDesign",
|
|
92
92
|
"sap.m.BreadcrumbsSeparatorStyle",
|
|
93
|
+
"sap.m.ButtonAccessibleRole",
|
|
93
94
|
"sap.m.ButtonType",
|
|
94
95
|
"sap.m.CarouselArrowsPlacement",
|
|
95
96
|
"sap.m.DateTimeInputType",
|
|
@@ -403,7 +404,6 @@ sap.ui.define([
|
|
|
403
404
|
"sap.m.ColumnPopoverCustomItem",
|
|
404
405
|
"sap.m.ColumnPopoverItem",
|
|
405
406
|
"sap.m.ColumnPopoverSortItem",
|
|
406
|
-
"sap.m.CustomDynamicDateOption",
|
|
407
407
|
"sap.m.DynamicDateOption",
|
|
408
408
|
"sap.m.DynamicDateValueHelpUIType",
|
|
409
409
|
"sap.m.FlexItemData",
|
|
@@ -1714,6 +1714,28 @@ sap.ui.define([
|
|
|
1714
1714
|
Button: "Button"
|
|
1715
1715
|
};
|
|
1716
1716
|
|
|
1717
|
+
/**
|
|
1718
|
+
* Enumeration for possible Button accessibility roles.
|
|
1719
|
+
*
|
|
1720
|
+
* @enum {string}
|
|
1721
|
+
* @public
|
|
1722
|
+
* @since 1.114.0
|
|
1723
|
+
*/
|
|
1724
|
+
thisLib.ButtonAccessibleRole = {
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Default mode.
|
|
1728
|
+
* @public
|
|
1729
|
+
*/
|
|
1730
|
+
Default: "Default",
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* Button will receive <code>role="Link"</code> attibute.
|
|
1734
|
+
* @public
|
|
1735
|
+
*/
|
|
1736
|
+
Link: "Link"
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1717
1739
|
/**
|
|
1718
1740
|
* Defines how the input display text should be formatted.
|
|
1719
1741
|
*
|
|
@@ -3440,7 +3462,6 @@ sap.ui.define([
|
|
|
3440
3462
|
*
|
|
3441
3463
|
* @public
|
|
3442
3464
|
* @enum {string}
|
|
3443
|
-
* @experimental Since 1.92. These keys are experimental. The API might be changed in future.
|
|
3444
3465
|
*/
|
|
3445
3466
|
thisLib.StandardDynamicDateRangeKeys = {
|
|
3446
3467
|
|
|
@@ -5479,92 +5500,6 @@ sap.ui.define([
|
|
|
5479
5500
|
}
|
|
5480
5501
|
};
|
|
5481
5502
|
|
|
5482
|
-
/**
|
|
5483
|
-
* Helper for Images.
|
|
5484
|
-
*
|
|
5485
|
-
* @namespace
|
|
5486
|
-
* @since 1.12
|
|
5487
|
-
* @protected
|
|
5488
|
-
*/
|
|
5489
|
-
thisLib.ImageHelper = (function() {
|
|
5490
|
-
|
|
5491
|
-
/**
|
|
5492
|
-
* Checks if value is not undefined, in which case the
|
|
5493
|
-
* setter function for a given property is called.
|
|
5494
|
-
* Returns true if value is set, false otherwise.
|
|
5495
|
-
*
|
|
5496
|
-
* @private
|
|
5497
|
-
*/
|
|
5498
|
-
function checkAndSetProperty(oControl, property, value) {
|
|
5499
|
-
if (value !== undefined) {
|
|
5500
|
-
var fSetter = oControl["set" + capitalize(property)];
|
|
5501
|
-
if (typeof (fSetter) === "function") {
|
|
5502
|
-
fSetter.call(oControl, value);
|
|
5503
|
-
return true;
|
|
5504
|
-
}
|
|
5505
|
-
}
|
|
5506
|
-
return false;
|
|
5507
|
-
}
|
|
5508
|
-
/** @lends sap.m.ImageHelper */
|
|
5509
|
-
var oImageHelper = {
|
|
5510
|
-
/**
|
|
5511
|
-
* Creates or updates an image control.
|
|
5512
|
-
*
|
|
5513
|
-
* @param {string} sImgId UD of the image to be dealt with.
|
|
5514
|
-
* @param {sap.m.Image} oImage The image to update. If undefined, a new image will be created.
|
|
5515
|
-
* @param {sap.ui.core.Control} oParent oImageControl's parentControl.
|
|
5516
|
-
* @param {object} mProperties Settings for the image control; the <code>src</code> property
|
|
5517
|
-
* MUST be contained; the keys of the object must be valid names of image settings
|
|
5518
|
-
* @param {string[]} aCssClassesToAdd Array of CSS classes which will be added if the image needs to be created.
|
|
5519
|
-
* @param {string[]} aCssClassesToRemove All CSS classes that oImageControl has and which are contained in this array
|
|
5520
|
-
* are removed before adding the CSS classes listed in aCssClassesToAdd.
|
|
5521
|
-
* @returns {sap.m.Image|sap.ui.core.Icon} The new or updated image control or icon
|
|
5522
|
-
*
|
|
5523
|
-
* @protected
|
|
5524
|
-
*/
|
|
5525
|
-
getImageControl: function(sImgId, oImage, oParent, mProperties, aCssClassesToAdd, aCssClassesToRemove) {
|
|
5526
|
-
assert( mProperties.src , "sap.m.ImageHelper.getImageControl: mProperties do not contain 'src'");
|
|
5527
|
-
|
|
5528
|
-
// make sure, image is rerendered if icon source has changed
|
|
5529
|
-
if (oImage && (oImage.getSrc() != mProperties.src)) {
|
|
5530
|
-
oImage.destroy();
|
|
5531
|
-
oImage = undefined;
|
|
5532
|
-
}
|
|
5533
|
-
// update or create image control
|
|
5534
|
-
if (oImage && (oImage instanceof sap.m.Image || oImage instanceof sap.ui.core.Icon)) {
|
|
5535
|
-
//Iterate through properties
|
|
5536
|
-
for (var key in mProperties) {
|
|
5537
|
-
checkAndSetProperty(oImage, key, mProperties[key]);
|
|
5538
|
-
}
|
|
5539
|
-
} else {
|
|
5540
|
-
//add 'id' to properties. This is required by utility method 'createControlByURI'
|
|
5541
|
-
var mSettings = Object.assign({}, mProperties, {id: sImgId});
|
|
5542
|
-
oImage = sap.ui.core.IconPool.createControlByURI(mSettings, sap.m.Image);
|
|
5543
|
-
//Set the parent so the image gets re-rendered, when the parent is
|
|
5544
|
-
oImage.setParent(oParent, null, true);
|
|
5545
|
-
}
|
|
5546
|
-
|
|
5547
|
-
//Remove existing style classes which are contained in aCssClassesToRemove
|
|
5548
|
-
//(the list of CSS classes allowed for deletion) to have them updated later on
|
|
5549
|
-
//Unfortunately, there is no other way to do this but remove
|
|
5550
|
-
//each class individually
|
|
5551
|
-
if (aCssClassesToRemove) {
|
|
5552
|
-
for (var l = 0, removeLen = aCssClassesToRemove.length; l !== removeLen; l++) {
|
|
5553
|
-
oImage.removeStyleClass(aCssClassesToRemove[l]);
|
|
5554
|
-
}
|
|
5555
|
-
}
|
|
5556
|
-
//Add style classes if necessary
|
|
5557
|
-
if (aCssClassesToAdd) {
|
|
5558
|
-
for (var k = 0, len = aCssClassesToAdd.length; k !== len; k++) {
|
|
5559
|
-
oImage.addStyleClass(aCssClassesToAdd[k]);
|
|
5560
|
-
}
|
|
5561
|
-
}
|
|
5562
|
-
return oImage;
|
|
5563
|
-
}
|
|
5564
|
-
};
|
|
5565
|
-
return oImageHelper;
|
|
5566
|
-
}());
|
|
5567
|
-
|
|
5568
5503
|
/**
|
|
5569
5504
|
* Helper for Popups.
|
|
5570
5505
|
*
|
|
@@ -2150,6 +2150,9 @@ COLUMNRESIZER_RESIZABLE=The column is resizable
|
|
|
2150
2150
|
#XTOL: Tooltip for resize column button in the popover control.
|
|
2151
2151
|
COLUMNRESIZER_RESIZE_BUTTON=Resize Column
|
|
2152
2152
|
|
|
2153
|
+
#XTOL: Tooltip for the copy button
|
|
2154
|
+
COPYPROVIDER_COPY=Copy
|
|
2155
|
+
|
|
2153
2156
|
#XBUT: Button text for the paste button
|
|
2154
2157
|
PASTEPROVIDER_PASTE=Paste
|
|
2155
2158
|
#XTIT: The title of paste pop-over
|
|
@@ -2557,6 +2560,18 @@ table.COLUMNMENU_ACTION_CONTAINER_DESC=Actions for this column
|
|
|
2557
2560
|
#XTIT: ColumnMenu ItemContainer description
|
|
2558
2561
|
table.COLUMNMENU_ITEM_CONTAINER_DESC=Settings for this table
|
|
2559
2562
|
|
|
2563
|
+
#XMSG: Additional announcement for screen reader when table is updated
|
|
2564
|
+
table.ANNOUNCEMENT_TABLE_UPDATED=Table {0} has been updated. Items available.
|
|
2565
|
+
|
|
2566
|
+
#XMSG: Additional announcement for screen reader when table is updated and contains only 1 item
|
|
2567
|
+
table.ANNOUNCEMENT_TABLE_UPDATED_SING=Table {0} has been updated. {1} item available.
|
|
2568
|
+
|
|
2569
|
+
#XMSG: Additional announcement for screen reader when table is updated and contains more than 1 item
|
|
2570
|
+
table.ANNOUNCEMENT_TABLE_UPDATED_MULT=Table {0} has been updated. {1} items available.
|
|
2571
|
+
|
|
2572
|
+
#XMSG: Additional announcement for screen reader when table is updated and contains no items
|
|
2573
|
+
table.ANNOUNCEMENT_TABLE_UPDATED_NOITEMS=Table {0} has been updated. No items available.
|
|
2574
|
+
|
|
2560
2575
|
#XTIT: IllustratedMessage's title for the BeforeSearch illustration
|
|
2561
2576
|
IllustratedMessage_TITLE_BeforeSearch=Let's get some results
|
|
2562
2577
|
|