@openui5/sap.m 1.110.0 → 1.111.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/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 +2 -1
- package/src/sap/m/ActionSheet.js +2 -2
- 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 +20 -19
- 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 +7 -11
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +4 -2
- package/src/sap/m/CheckBoxRenderer.js +2 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +12 -3
- 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 +2 -2
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +3 -3
- package/src/sap/m/ComboBoxBase.js +4 -8
- 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 +23 -51
- package/src/sap/m/DateRangeSelection.js +46 -45
- package/src/sap/m/DateTimeField.js +14 -21
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +108 -98
- package/src/sap/m/DateTimePickerRenderer.js +15 -5
- package/src/sap/m/Dialog.js +6 -2
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +5 -5
- package/src/sap/m/DynamicDateFormat.js +21 -4
- package/src/sap/m/DynamicDateOption.js +22 -16
- package/src/sap/m/DynamicDateRange.js +198 -43
- package/src/sap/m/DynamicDateUtil.js +14 -5
- 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 +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 +16 -21
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +8 -8
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +14 -1
- package/src/sap/m/IconTabHeaderRenderer.js +25 -3
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +61 -25
- package/src/sap/m/IllustratedMessageRenderer.js +13 -5
- 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 +7 -7
- package/src/sap/m/InputBase.js +5 -5
- package/src/sap/m/InputBaseRenderer.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 +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -5
- package/src/sap/m/ListItemBase.js +2 -7
- 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 +4 -4
- package/src/sap/m/MenuButton.js +20 -2
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +53 -35
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +22 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +3 -4
- 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 +6 -18
- package/src/sap/m/MultiComboBox.js +46 -33
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +28 -3
- package/src/sap/m/NavContainer.js +66 -2
- 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 +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 +1 -1
- package/src/sap/m/OverflowToolbar.js +36 -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/PDFViewerRenderer.js +13 -5
- 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 +2 -3
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +2 -3
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -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 +19 -9
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +2 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +44 -2
- package/src/sap/m/SelectDialog.js +3 -1
- package/src/sap/m/SelectDialogBase.js +18 -8
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +3 -3
- 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 +2 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +28 -29
- 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 +22 -8
- package/src/sap/m/Slider.js +2 -2
- 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 +51 -18
- 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 +2 -2
- 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 +2 -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 +10 -33
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +7 -5
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +5 -3
- 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 +4 -2
- 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 +4 -0
- 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/designtime/TimePicker.designtime.js +5 -0
- package/src/sap/m/inputUtils/ListHelpers.js +3 -1
- package/src/sap/m/inputUtils/typeAhead.js +10 -0
- package/src/sap/m/library.js +66 -3
- package/src/sap/m/messagebundle.properties +33 -7
- package/src/sap/m/messagebundle_ar.properties +20 -2
- package/src/sap/m/messagebundle_bg.properties +23 -5
- package/src/sap/m/messagebundle_ca.properties +20 -2
- package/src/sap/m/messagebundle_cs.properties +18 -0
- package/src/sap/m/messagebundle_cy.properties +18 -0
- package/src/sap/m/messagebundle_da.properties +18 -0
- package/src/sap/m/messagebundle_de.properties +23 -5
- package/src/sap/m/messagebundle_el.properties +22 -4
- package/src/sap/m/messagebundle_en.properties +20 -2
- package/src/sap/m/messagebundle_en_GB.properties +18 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -1
- package/src/sap/m/messagebundle_en_US_saptrc.properties +19 -1
- package/src/sap/m/messagebundle_es.properties +20 -2
- package/src/sap/m/messagebundle_es_MX.properties +20 -2
- package/src/sap/m/messagebundle_et.properties +18 -0
- package/src/sap/m/messagebundle_fi.properties +18 -0
- package/src/sap/m/messagebundle_fr.properties +46 -28
- package/src/sap/m/messagebundle_fr_CA.properties +18 -0
- package/src/sap/m/messagebundle_hi.properties +27 -9
- package/src/sap/m/messagebundle_hr.properties +18 -0
- package/src/sap/m/messagebundle_hu.properties +18 -0
- package/src/sap/m/messagebundle_id.properties +20 -2
- package/src/sap/m/messagebundle_it.properties +24 -6
- package/src/sap/m/messagebundle_iw.properties +18 -0
- package/src/sap/m/messagebundle_ja.properties +18 -0
- package/src/sap/m/messagebundle_kk.properties +18 -0
- package/src/sap/m/messagebundle_ko.properties +19 -1
- package/src/sap/m/messagebundle_lt.properties +18 -0
- package/src/sap/m/messagebundle_lv.properties +20 -2
- package/src/sap/m/messagebundle_ms.properties +18 -0
- package/src/sap/m/messagebundle_nl.properties +18 -0
- package/src/sap/m/messagebundle_no.properties +21 -3
- package/src/sap/m/messagebundle_pl.properties +18 -0
- package/src/sap/m/messagebundle_pt.properties +20 -2
- package/src/sap/m/messagebundle_pt_PT.properties +18 -0
- package/src/sap/m/messagebundle_ro.properties +18 -0
- package/src/sap/m/messagebundle_ru.properties +18 -0
- package/src/sap/m/messagebundle_sh.properties +18 -0
- package/src/sap/m/messagebundle_sk.properties +18 -0
- package/src/sap/m/messagebundle_sl.properties +18 -0
- package/src/sap/m/messagebundle_sv.properties +18 -0
- package/src/sap/m/messagebundle_th.properties +22 -4
- package/src/sap/m/messagebundle_tr.properties +18 -0
- package/src/sap/m/messagebundle_uk.properties +18 -0
- package/src/sap/m/messagebundle_vi.properties +18 -0
- package/src/sap/m/messagebundle_zh_CN.properties +18 -0
- package/src/sap/m/messagebundle_zh_TW.properties +18 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +3 -2
- package/src/sap/m/p13n/BasePanel.js +28 -26
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +19 -13
- 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 +11 -8
- package/src/sap/m/p13n/Popup.js +8 -6
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +22 -7
- 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/enum/PersistenceMode.js +3 -0
- package/src/sap/m/p13n/enum/ProcessingStrategy.js +2 -1
- package/src/sap/m/p13n/handler/xConfigHandler.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +4 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +6 -6
- 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/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 +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +8 -3
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +2 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +72 -77
- package/src/sap/m/table/columnmenu/MenuRenderer.js +1 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- 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 +3 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +2 -2
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +94 -5
- package/src/sap/m/themes/base/InputBase.less +7 -1
- package/src/sap/m/themes/base/Label.less +1 -0
- package/src/sap/m/themes/base/MultiComboBox.less +6 -4
- package/src/sap/m/themes/base/ObjectStatus.less +26 -0
- package/src/sap/m/themes/base/SlideTile.less +4 -4
- package/src/sap/m/themes/base/SuggestionsPopover.less +14 -6
- package/src/sap/m/themes/base/Table.less +0 -10
- package/src/sap/m/themes/base/Text.less +1 -0
- package/src/sap/m/themes/base/Tokenizer.less +23 -0
- package/src/sap/m/themes/sap_hcb/ObjectStatus.less +26 -0
- package/src/sap/m/themes/sap_horizon/Label.less +10 -0
- package/src/sap/m/themes/sap_horizon/Text.less +10 -0
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
|
@@ -9,6 +9,18 @@ sap.ui.define([
|
|
|
9
9
|
], function(JSONModel, VBox, Control, Column, Text, Filter, Table, OverflowToolbar, SearchField, ToolbarSpacer, OverflowToolbarButton, OverflowToolbarLayoutData, DragDropInfo) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* P13n <code>Item</code> object type.
|
|
14
|
+
*
|
|
15
|
+
* @static
|
|
16
|
+
* @constant
|
|
17
|
+
* @typedef {object} sap.m.p13n.Item
|
|
18
|
+
* @property {string} name The unique key of the item
|
|
19
|
+
* @property {string} label The label describing the personalization item
|
|
20
|
+
* @property {boolean} visible Defines the selection state of the personalization item
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
|
|
12
24
|
/**
|
|
13
25
|
* Constructor for a new <code>BasePanel</code>.
|
|
14
26
|
*
|
|
@@ -22,7 +34,7 @@ sap.ui.define([
|
|
|
22
34
|
* @extends sap.ui.core.Control
|
|
23
35
|
*
|
|
24
36
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
37
|
+
* @version 1.111.1
|
|
26
38
|
*
|
|
27
39
|
* @public
|
|
28
40
|
* @abstract
|
|
@@ -84,17 +96,19 @@ sap.ui.define([
|
|
|
84
96
|
* This event is fired if any change has been made within the <code>BasePanel</code> control.
|
|
85
97
|
*/
|
|
86
98
|
change: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
parameters: {
|
|
100
|
+
/**
|
|
101
|
+
* The reason why the panel state has changed, for example, items have been added, removed, or moved.
|
|
102
|
+
*/
|
|
103
|
+
reason: {
|
|
104
|
+
type: "string"
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* An object containing information about the specific item that has been changed.
|
|
108
|
+
*/
|
|
109
|
+
item: {
|
|
110
|
+
type: "sap.m.p13n.Item"
|
|
111
|
+
}
|
|
98
112
|
}
|
|
99
113
|
}
|
|
100
114
|
}
|
|
@@ -132,7 +146,7 @@ sap.ui.define([
|
|
|
132
146
|
this._oP13nModel.setSizeLimit(10000);
|
|
133
147
|
this.setModel(this._oP13nModel, this.P13N_MODEL);
|
|
134
148
|
|
|
135
|
-
|
|
149
|
+
// list is necessary to set the template + model on
|
|
136
150
|
this._oListControl = this._createInnerListControl();
|
|
137
151
|
|
|
138
152
|
// Determines whether the rearranged item should be focused
|
|
@@ -162,18 +176,6 @@ sap.ui.define([
|
|
|
162
176
|
}));
|
|
163
177
|
};
|
|
164
178
|
|
|
165
|
-
/**
|
|
166
|
-
* P13n <code>Item</code> object type.
|
|
167
|
-
*
|
|
168
|
-
* @static
|
|
169
|
-
* @constant
|
|
170
|
-
* @typedef {object} sap.m.p13n.Item
|
|
171
|
-
* @property {string} name The unique key of the item
|
|
172
|
-
* @property {string} label The label describing the personalization item
|
|
173
|
-
* @property {boolean} visible Defines the selection state of the personalization item
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
|
|
177
179
|
/**
|
|
178
180
|
* Sets the personalization state of the panel instance.
|
|
179
181
|
*
|
|
@@ -436,7 +438,7 @@ sap.ui.define([
|
|
|
436
438
|
/**
|
|
437
439
|
* Getter for the initial focusable <code>control</code> on the panel.
|
|
438
440
|
*
|
|
439
|
-
* @returns {
|
|
441
|
+
* @returns {sap.ui.core.Control} Control instance which could get the focus.
|
|
440
442
|
*
|
|
441
443
|
* @private
|
|
442
444
|
* @ui5-restricted sap.m, sap.ui.mdc
|
package/src/sap/m/p13n/Engine.js
CHANGED
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @alias sap.m.p13n.Engine
|
|
57
57
|
* @extends sap.m.p13n.modules.AdaptationProvider
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.111.1
|
|
60
60
|
* @public
|
|
61
61
|
* @since 1.104
|
|
62
62
|
*/
|
|
@@ -88,11 +88,10 @@ sap.ui.define([
|
|
|
88
88
|
* The registration is a precondition for using <code>Engine</code> functionality for a control instance.
|
|
89
89
|
* Once the control instance has been registered, it can be passed to the related <code>Engine</code>
|
|
90
90
|
* methods that always expect a control instance as parameter. Only registered control instances can be used for personalization through the <code>Engine</code>.
|
|
91
|
-
*
|
|
91
|
+
* @public
|
|
92
92
|
* @typedef {object} sap.m.p13n.EngineRegistrationConfig
|
|
93
|
-
* @property {sap.m.p13n.ModificationHandler} modification The desired <code>{@link sap.m.p13n.modification.ModificationHandler ModificationHandler}</code> instance that is used for persistence.
|
|
94
93
|
* @property {sap.m.p13n.MetadataHelper} helper The <code>{@link sap.m.p13n.modification.MetadataHelper MetadataHelper}</code> to provide metadata-specific information.
|
|
95
|
-
* @property {
|
|
94
|
+
* @property {Object<string,sap.m.p13n.SelectionController>} controller A map of arbitrary keys that contain a controller instance as value. The key must be unique and needs to be provided for later access when using <code>Engine</code> functionality specific for one controller type.
|
|
96
95
|
*/
|
|
97
96
|
|
|
98
97
|
/**
|
|
@@ -202,7 +201,7 @@ sap.ui.define([
|
|
|
202
201
|
* @param {object} [mSettings.contentHeight] Height configuration for the related popup container
|
|
203
202
|
* @param {object} [mSettings.contentWidth] Width configuration for the related popup container
|
|
204
203
|
*
|
|
205
|
-
* @returns {Promise} Promise resolving in the <code>sap.m.p13n.Popup</code> instance
|
|
204
|
+
* @returns {Promise<sap.m.p13n.Popup>} Promise resolving in the <code>sap.m.p13n.Popup</code> instance
|
|
206
205
|
*/
|
|
207
206
|
Engine.prototype.show = function(oControl, vPanelKeys, mSettings) {
|
|
208
207
|
return this.uimanager.show(oControl, vPanelKeys, mSettings);
|
|
@@ -214,7 +213,7 @@ sap.ui.define([
|
|
|
214
213
|
*
|
|
215
214
|
* @public
|
|
216
215
|
*
|
|
217
|
-
* @param {function} fnStateEventHandler The handler function to call when the event occurs
|
|
216
|
+
* @param {function(sap.ui.base.Event):void} fnStateEventHandler The handler function to call when the event occurs
|
|
218
217
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
219
218
|
*/
|
|
220
219
|
Engine.prototype.attachStateChange = function(fnStateEventHandler) {
|
|
@@ -227,7 +226,7 @@ sap.ui.define([
|
|
|
227
226
|
*
|
|
228
227
|
* @public
|
|
229
228
|
*
|
|
230
|
-
* @param {function} fnStateEventHandler The handler function to detach from the event
|
|
229
|
+
* @param {function(sap.ui.base.Event):void} fnStateEventHandler The handler function to detach from the event
|
|
231
230
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
232
231
|
*/
|
|
233
232
|
Engine.prototype.detachStateChange = function(fnStateEventHandler) {
|
|
@@ -242,7 +241,7 @@ sap.ui.define([
|
|
|
242
241
|
* @param {sap.ui.core.Control} oControl The related control instance
|
|
243
242
|
* @param {string} aKeys The key for the affected configuration
|
|
244
243
|
*
|
|
245
|
-
* @returns {Promise} A Promise resolving once the reset is completed
|
|
244
|
+
* @returns {Promise<null>} A Promise resolving once the reset is completed
|
|
246
245
|
*/
|
|
247
246
|
Engine.prototype.reset = function(oControl, aKeys) {
|
|
248
247
|
|
|
@@ -282,6 +281,12 @@ sap.ui.define([
|
|
|
282
281
|
}.bind(this));
|
|
283
282
|
};
|
|
284
283
|
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @public
|
|
287
|
+
* @typedef {object} sap.m.p13n.State
|
|
288
|
+
* @property {Object<string,Object[]>} controller A map of arbitrary keys that contain a controller instance as value. The key must be unique and needs to be provided for later access when using <code>Engine</code> functionality specific for one controller type.
|
|
289
|
+
*/
|
|
285
290
|
|
|
286
291
|
/**
|
|
287
292
|
* Applies a state to a control by passing an object that contains the
|
|
@@ -295,9 +300,9 @@ sap.ui.define([
|
|
|
295
300
|
* }
|
|
296
301
|
*
|
|
297
302
|
* @param {sap.ui.core.Control} oControl The registered control instance
|
|
298
|
-
* @param {
|
|
303
|
+
* @param {sap.m.p13n.State} oState The state object
|
|
299
304
|
*
|
|
300
|
-
* @returns {Promise} A Promise resolving after the state has been applied
|
|
305
|
+
* @returns {Promise<sap.m.p13n.State>} A Promise resolving after the state has been applied
|
|
301
306
|
*/
|
|
302
307
|
Engine.prototype.applyState = function(oControl, oState) {
|
|
303
308
|
|
|
@@ -363,9 +368,9 @@ sap.ui.define([
|
|
|
363
368
|
*
|
|
364
369
|
* @public
|
|
365
370
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
366
|
-
* @param {
|
|
371
|
+
* @param {sap.ui.core.Control} oControl The control instance implementing IxState to retrieve the externalized state
|
|
367
372
|
*
|
|
368
|
-
* @returns {Promise} A Promise resolving in the current control state
|
|
373
|
+
* @returns {Promise<sap.m.p13n.State>} A Promise resolving in the current control state
|
|
369
374
|
*/
|
|
370
375
|
Engine.prototype.retrieveState = function(oControl) {
|
|
371
376
|
|
|
@@ -424,13 +429,14 @@ sap.ui.define([
|
|
|
424
429
|
* <code>Engine#createChanges</code> can be used to programmatically trigger the creation
|
|
425
430
|
* of a set of changes based on the current control state and the provided state.
|
|
426
431
|
*
|
|
432
|
+
* @private
|
|
427
433
|
* @ui5-restricted
|
|
428
434
|
*
|
|
429
435
|
* @param {object} mDiffParameters A map defining the configuration to create the changes
|
|
430
436
|
* @param {sap.ui.core.Control} mDiffParameters.control The control instance that should be adapted
|
|
431
437
|
* @param {string} mDiffParameters.key The key used to retrieve the related controller
|
|
432
438
|
* @param {object} mDiffParameters.state The state that is applied to the provided control instance
|
|
433
|
-
* @param {sap.
|
|
439
|
+
* @param {sap.m.p13n.enum.ProcessingStrategy} [mDiffParameters.applyAbsolute] Determines about the comparison algorithm between two states
|
|
434
440
|
* @param {boolean} [mDiffParameters.stateBefore] If the state should be diffed manually;
|
|
435
441
|
* for example, if "A" exists in the control state, but is not mentioned in the new state provided in the
|
|
436
442
|
* mDiffParameters.state then the absolute appliance decides whether to remove "A" or to keep it.
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
-
"sap/ui/core/Control", "sap/ui/fl/variants/VariantManagement", "sap/ui/fl/apply/api/ControlVariantApplyAPI", "sap/m/p13n/enum/PersistenceMode", "sap/ui/layout/VerticalLayout"
|
|
8
|
-
], function(CoreControl, VariantManagement, ControlVariantApplyAPI, mode, VerticalLayout) {
|
|
7
|
+
"sap/ui/core/Control", "sap/ui/fl/variants/VariantManagement", "sap/ui/fl/apply/api/ControlVariantApplyAPI", "sap/m/p13n/enum/PersistenceMode", "sap/ui/layout/VerticalLayout", "sap/ui/core/UIArea", "sap/ui/core/Core"
|
|
8
|
+
], function(CoreControl, VariantManagement, ControlVariantApplyAPI, mode, VerticalLayout, UIArea, Core) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -15,6 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
* For example, this controller can be used for <code>sap.ui.mdc</code> controls.
|
|
16
16
|
*
|
|
17
17
|
* @class
|
|
18
|
+
* @private
|
|
18
19
|
* @ui5-restricted sap.ui.mdc, sap.fe
|
|
19
20
|
*
|
|
20
21
|
* @since 1.104
|
|
@@ -93,8 +94,10 @@ sap.ui.define([
|
|
|
93
94
|
this.getDomRef().setAttribute("aria-hidden", true);
|
|
94
95
|
};
|
|
95
96
|
|
|
96
|
-
var
|
|
97
|
-
oStatic.
|
|
97
|
+
var oStaticAreaRef = Core.getStaticAreaRef();
|
|
98
|
+
var oStatic = UIArea.registry.get(oStaticAreaRef.id);
|
|
99
|
+
oStatic.addContent(this._oWrapper, true);
|
|
100
|
+
Core.createRenderManager().render(this._oWrapper, oStaticAreaRef);
|
|
98
101
|
}
|
|
99
102
|
|
|
100
103
|
return this;
|
|
@@ -103,7 +106,7 @@ sap.ui.define([
|
|
|
103
106
|
PersistenceProvider.prototype.addFor = function (sControlId) {
|
|
104
107
|
this.addAssociation("for", sControlId);
|
|
105
108
|
|
|
106
|
-
var oVM =
|
|
109
|
+
var oVM = Core.byId(this.getId() + "--vm");
|
|
107
110
|
if (this.getMode() === mode.Transient && oVM) {
|
|
108
111
|
oVM.addFor(sControlId);
|
|
109
112
|
}
|
|
@@ -114,7 +117,7 @@ sap.ui.define([
|
|
|
114
117
|
PersistenceProvider.prototype.removeFor = function (sControlId) {
|
|
115
118
|
this.removeAssociation("for", sControlId);
|
|
116
119
|
|
|
117
|
-
var oVM =
|
|
120
|
+
var oVM = Core.byId(this.getId() + "--vm");
|
|
118
121
|
if (this.getMode() === mode.Transient && oVM) {
|
|
119
122
|
oVM.removeFor(sControlId);
|
|
120
123
|
}
|
|
@@ -148,7 +151,7 @@ sap.ui.define([
|
|
|
148
151
|
* @ui5-restricted sap.m.p13n
|
|
149
152
|
*/
|
|
150
153
|
PersistenceProvider.prototype.reinitialize = function () {
|
|
151
|
-
var oVM =
|
|
154
|
+
var oVM = Core.byId(this.getId() + "--vm");
|
|
152
155
|
if (this.getMode() === mode.Transient && oVM) {
|
|
153
156
|
var oVariantModel = this.getModel(ControlVariantApplyAPI.getVariantModelName());
|
|
154
157
|
oVM.setModel(oVariantModel, ControlVariantApplyAPI.getVariantModelName());
|
|
@@ -158,7 +161,7 @@ sap.ui.define([
|
|
|
158
161
|
|
|
159
162
|
PersistenceProvider.prototype.exit = function () {
|
|
160
163
|
if (this._oWrapper) {
|
|
161
|
-
var oStatic =
|
|
164
|
+
var oStatic = Core.getUIArea(Core.getStaticAreaRef());
|
|
162
165
|
oStatic.removeContent(this._oWrapper);
|
|
163
166
|
|
|
164
167
|
this._oWrapper.destroy();
|
package/src/sap/m/p13n/Popup.js
CHANGED
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.111.1
|
|
37
37
|
*
|
|
38
38
|
* @public
|
|
39
39
|
* @since 1.97
|
|
@@ -92,11 +92,13 @@ sap.ui.define([
|
|
|
92
92
|
* This event is fired after the dialog has been closed.
|
|
93
93
|
*/
|
|
94
94
|
close: {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
parameters: {
|
|
96
|
+
/**
|
|
97
|
+
* The corresponding reason for closing the dialog (Ok & Cancel).
|
|
98
|
+
*/
|
|
99
|
+
reason: {
|
|
100
|
+
type: "string"
|
|
101
|
+
}
|
|
100
102
|
}
|
|
101
103
|
}
|
|
102
104
|
}
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.base.Object
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.111.1
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @alias sap.m.p13n.SelectionController
|
|
@@ -40,6 +40,13 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
this._oAdaptationControl = mSettings.control;
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* The 'stableKeys' can be provided in the constructor to exclude the keys from the p13n UI, while still respecting them in the
|
|
45
|
+
* delta logic. For instance by ignoring the first column of a TreeTable in the p13n dialog while still not removing this column
|
|
46
|
+
* on closing the dialog.
|
|
47
|
+
*/
|
|
48
|
+
this._aStableKeys = mSettings.stableKeys || [];
|
|
49
|
+
|
|
43
50
|
if (!this._oAdaptationControl) {
|
|
44
51
|
throw new Error("Always provide atleast a 'control' configuration when creating a new p13n controller!");
|
|
45
52
|
}
|
|
@@ -171,6 +178,15 @@ sap.ui.define([
|
|
|
171
178
|
? mPropertyBag.changedState.filter(fnFilterUnselected) :
|
|
172
179
|
this._getFilledArray(mPropertyBag.existingState, mPropertyBag.changedState, sPresenceAttribute).filter(fnFilterUnselected);
|
|
173
180
|
|
|
181
|
+
this._aStableKeys.forEach(function(sKey, iIndex){
|
|
182
|
+
var mExistingState = this.arrayToMap(this.getCurrentState());
|
|
183
|
+
var mNewState = this.arrayToMap(aNewStatePrepared);
|
|
184
|
+
var iStableIndex = mExistingState[sKey] || (iIndex - 1);
|
|
185
|
+
|
|
186
|
+
if (!mNewState.hasOwnProperty(sKey)) {
|
|
187
|
+
aNewStatePrepared.splice(iStableIndex, 0,mExistingState[sKey]);
|
|
188
|
+
}
|
|
189
|
+
}.bind(this));
|
|
174
190
|
mPropertyBag.changedState = aNewStatePrepared;
|
|
175
191
|
|
|
176
192
|
//Example: Dialog Ok --> don't trigger unnecessary flex change processing
|
|
@@ -361,7 +377,7 @@ sap.ui.define([
|
|
|
361
377
|
var oExisting = mItemState[oProperty.name || oProperty.key];
|
|
362
378
|
mItem.visible = this._fSelector ? this._fSelector(oProperty) : (!!oExisting);
|
|
363
379
|
mItem.position = oExisting ? oExisting.position : -1;
|
|
364
|
-
return !(oProperty.visible === false);
|
|
380
|
+
return !(oProperty.visible === false || (this._aStableKeys.indexOf(oProperty.name || oProperty.key) > -1));
|
|
365
381
|
}.bind(this));
|
|
366
382
|
|
|
367
383
|
this.sortP13nData({
|
|
@@ -404,9 +420,8 @@ sap.ui.define([
|
|
|
404
420
|
var aNewItemsPrepared = merge([], aPreviousItems);
|
|
405
421
|
var aNewItemState = merge([], aNewItems);
|
|
406
422
|
|
|
407
|
-
var mExistingItems = this.arrayToMap(aPreviousItems);
|
|
408
|
-
|
|
409
423
|
aNewItemState.forEach(function (oItem) {
|
|
424
|
+
var mExistingItems = this.arrayToMap(aNewItemsPrepared);
|
|
410
425
|
var oExistingItem = mExistingItems[oItem.key];
|
|
411
426
|
if (!oItem.hasOwnProperty(sRemoveProperty) || oItem[sRemoveProperty]) {
|
|
412
427
|
var iNewPosition = oItem.position;
|
|
@@ -423,7 +438,7 @@ sap.ui.define([
|
|
|
423
438
|
} else if (oExistingItem) {//check if exists before delete
|
|
424
439
|
aNewItemsPrepared[oExistingItem.position][sRemoveProperty] = false;
|
|
425
440
|
}
|
|
426
|
-
});
|
|
441
|
+
}.bind(this));
|
|
427
442
|
|
|
428
443
|
return aNewItemsPrepared;
|
|
429
444
|
};
|
|
@@ -437,8 +452,8 @@ sap.ui.define([
|
|
|
437
452
|
var iIndex = oStateDiffContent.index;
|
|
438
453
|
delete oStateDiffContent.index;
|
|
439
454
|
|
|
440
|
-
//set the position
|
|
441
|
-
if (
|
|
455
|
+
//set the position in case its explicitly provided and different to the current position
|
|
456
|
+
if (iIndex !== undefined) {
|
|
442
457
|
oStateDiffContent.position = iIndex;
|
|
443
458
|
}
|
|
444
459
|
|
|
@@ -11,6 +11,8 @@ sap.ui.define(function () {
|
|
|
11
11
|
* @enum {string}
|
|
12
12
|
* @since 1.104
|
|
13
13
|
* @alias sap.m.p13n.enum.PersistenceMode
|
|
14
|
+
* @private
|
|
15
|
+
* @ui5-restricted
|
|
14
16
|
*/
|
|
15
17
|
var PersistenceMode = {
|
|
16
18
|
/**
|
|
@@ -26,6 +28,7 @@ sap.ui.define(function () {
|
|
|
26
28
|
* control reference could be found. If a <code>sap.ui.fl.variants.VariantManagement</code> has been found,
|
|
27
29
|
* it will be used instead.
|
|
28
30
|
*
|
|
31
|
+
* @private
|
|
29
32
|
* @ui5-restricted sap.fe
|
|
30
33
|
*/
|
|
31
34
|
Auto: "Auto",
|
|
@@ -190,7 +190,10 @@ sap.ui.define([
|
|
|
190
190
|
var sAffectedAggregation = mControlMeta.aggregation;
|
|
191
191
|
var sAggregationName = sAffectedAggregation ? sAffectedAggregation : oControlMetadata.getDefaultAggregation().name;
|
|
192
192
|
var oConfig = oExistingConfig || {};
|
|
193
|
-
|
|
193
|
+
|
|
194
|
+
if (!oConfig.hasOwnProperty("aggregations")) {
|
|
195
|
+
oConfig.aggregations = {};
|
|
196
|
+
}
|
|
194
197
|
|
|
195
198
|
if (!oConfig.aggregations.hasOwnProperty(sAggregationName)) {
|
|
196
199
|
if (oControlMetadata.hasAggregation(sAggregationName)) {
|
|
@@ -26,7 +26,7 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core"], function(PluginBase, Core) {
|
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.111.1
|
|
30
30
|
*
|
|
31
31
|
* @public
|
|
32
32
|
* @since 1.110
|
|
@@ -38,14 +38,14 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core"], function(PluginBase, Core) {
|
|
|
38
38
|
/**
|
|
39
39
|
* Callback function to extract the cell data that is copied to the clipboard.
|
|
40
40
|
*
|
|
41
|
-
* @callback sap.m.plugins.CopyProvider
|
|
41
|
+
* @callback sap.m.plugins.CopyProvider.extractDataHandler
|
|
42
42
|
* @param {sap.ui.model.Context|sap.m.ColumnListItem} oContextOrRow The binding context of the selected row or the row instance if there is no binding
|
|
43
43
|
* @param {sap.m.Column|sap.ui.table.Column|sap.ui.mdc.table.Column} oColumn The related column instance of selected cells
|
|
44
44
|
* @returns {*|Array.<*>|undefined|null} The cell data to be copied or array of cell data to be split into different cells in the clipboard. <code>undefined</code> or <code>null</code> to exclude the cell from copying.
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
|
-
* Defines a {@link sap.m.plugins.CopyProvider
|
|
48
|
+
* Defines a {@link sap.m.plugins.CopyProvider.extractDataHandler callback function} that gets called for each selected cell to extract the cell data that is copied to the clipboard.
|
|
49
49
|
*
|
|
50
50
|
* The callback function gets called with the binding context of the selected row and the column instance parameters.<br>
|
|
51
51
|
* For the <code>sap.ui.table.Table</code> control, the row context parameter can also be the context of an unselectable row in case of a range selection, for example the context of grouping or sub-total row.<br>
|
|
@@ -68,13 +68,13 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core"], function(PluginBase, Core) {
|
|
|
68
68
|
/**
|
|
69
69
|
* Callback function to exclude certain contexts from being copied to the clipboard.
|
|
70
70
|
*
|
|
71
|
-
* @callback sap.m.plugins.CopyProvider
|
|
71
|
+
* @callback sap.m.plugins.CopyProvider.excludeContextHandler
|
|
72
72
|
* @param {sap.ui.model.Context|sap.m.ColumnListItem} oContextOrRow The binding context of the selected row or the row instance if there is no binding
|
|
73
|
-
* @returns {
|
|
73
|
+
* @returns {boolean} <code>true</code> to exclude the context, <code>false</code> otherwise
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
76
|
/**
|
|
77
|
-
* Defines a {@link sap.m.plugins.CopyProvider
|
|
77
|
+
* Defines a {@link sap.m.plugins.CopyProvider.excludeContextHandler callback function} which gets called to exclude certain contexts from being copied to the clipboard.
|
|
78
78
|
*
|
|
79
79
|
* This callback function gets called with the binding context or the row instance if there is no binding.
|
|
80
80
|
* Return <code>true</code> to exclude the context, <code>false</code> otherwise.
|
|
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.111.1
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @experimental Since 1.73. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|