@openui5/sap.m 1.108.0 → 1.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +5 -3
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +3 -2
- 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 +8 -4
- package/src/sap/m/ColumnListItem.js +19 -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 +1 -1
- 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 +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +5 -5
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +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 +77 -14
- package/src/sap/m/GenericTileRenderer.js +6 -5
- package/src/sap/m/GroupHeaderListItem.js +2 -2
- package/src/sap/m/GrowingEnablement.js +13 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +4 -3
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +2 -2
- 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/IllustratedMessageType.js +20 -2
- 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 +83 -22
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputBaseRenderer.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +51 -65
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/LightBoxRenderer.js +6 -4
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +19 -9
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/ListItemBaseRenderer.js +2 -2
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +47 -36
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +18 -6
- 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/NotificationListRenderer.js +2 -2
- 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/ObjectNumberRenderer.js +21 -8
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +3 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +37 -3
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.js +72 -0
- 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/P13nOperationsHelper.js +1 -0
- 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 +11 -1
- package/src/sap/m/PlanningCalendar.js +137 -15
- package/src/sap/m/PlanningCalendarHeader.js +48 -4
- 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 +19 -28
- package/src/sap/m/ProgressIndicator.js +6 -5
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +80 -17
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +4 -2
- 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 +8 -6
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +4 -3
- 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 +2 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +3 -3
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +4 -3
- 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 +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +37 -20
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +7 -5
- 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 +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 +4 -10
- package/src/sap/m/Tokenizer.js +2 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/TreeRenderer.js +4 -0
- 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 +33 -7
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +25 -21
- 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 +2 -2
- 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/Slider.designtime.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +7 -1
- package/src/sap/m/library.js +13 -11
- package/src/sap/m/messagebundle.properties +52 -12
- package/src/sap/m/messagebundle_ar.properties +15 -6
- package/src/sap/m/messagebundle_bg.properties +15 -6
- package/src/sap/m/messagebundle_ca.properties +16 -7
- package/src/sap/m/messagebundle_cs.properties +16 -7
- package/src/sap/m/messagebundle_cy.properties +16 -7
- package/src/sap/m/messagebundle_da.properties +16 -7
- package/src/sap/m/messagebundle_de.properties +15 -6
- package/src/sap/m/messagebundle_el.properties +16 -7
- package/src/sap/m/messagebundle_en.properties +16 -7
- package/src/sap/m/messagebundle_en_GB.properties +16 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +21 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +28 -1
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -7
- package/src/sap/m/messagebundle_es.properties +16 -7
- package/src/sap/m/messagebundle_es_MX.properties +16 -7
- package/src/sap/m/messagebundle_et.properties +15 -6
- package/src/sap/m/messagebundle_fi.properties +16 -7
- package/src/sap/m/messagebundle_fr.properties +17 -8
- package/src/sap/m/messagebundle_fr_CA.properties +15 -6
- package/src/sap/m/messagebundle_hi.properties +15 -6
- package/src/sap/m/messagebundle_hr.properties +15 -6
- package/src/sap/m/messagebundle_hu.properties +20 -11
- package/src/sap/m/messagebundle_id.properties +16 -7
- package/src/sap/m/messagebundle_it.properties +15 -6
- package/src/sap/m/messagebundle_iw.properties +16 -7
- package/src/sap/m/messagebundle_ja.properties +16 -7
- package/src/sap/m/messagebundle_kk.properties +15 -6
- package/src/sap/m/messagebundle_ko.properties +16 -7
- package/src/sap/m/messagebundle_lt.properties +16 -7
- package/src/sap/m/messagebundle_lv.properties +15 -6
- package/src/sap/m/messagebundle_ms.properties +15 -6
- package/src/sap/m/messagebundle_nl.properties +16 -7
- package/src/sap/m/messagebundle_no.properties +15 -6
- package/src/sap/m/messagebundle_pl.properties +16 -7
- package/src/sap/m/messagebundle_pt.properties +18 -9
- package/src/sap/m/messagebundle_pt_PT.properties +16 -7
- package/src/sap/m/messagebundle_ro.properties +16 -7
- package/src/sap/m/messagebundle_ru.properties +16 -7
- package/src/sap/m/messagebundle_sh.properties +16 -7
- package/src/sap/m/messagebundle_sk.properties +16 -7
- package/src/sap/m/messagebundle_sl.properties +15 -6
- package/src/sap/m/messagebundle_sv.properties +16 -7
- package/src/sap/m/messagebundle_th.properties +16 -7
- package/src/sap/m/messagebundle_tr.properties +15 -6
- package/src/sap/m/messagebundle_uk.properties +16 -7
- package/src/sap/m/messagebundle_vi.properties +16 -7
- package/src/sap/m/messagebundle_zh_CN.properties +16 -7
- package/src/sap/m/messagebundle_zh_TW.properties +16 -7
- 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 +3 -3
- package/src/sap/m/p13n/Engine.js +92 -57
- 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 +4 -4
- package/src/sap/m/p13n/Popup.js +12 -10
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +24 -10
- 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/ProcessingStrategy.js +39 -0
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +5 -5
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +25 -10
- package/src/sap/m/p13n/modules/xConfigAPI.js +17 -15
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/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 +6 -3
- 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 +103 -4
- 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 +40 -24
- package/src/sap/m/table/columnmenu/MenuRenderer.js +27 -0
- 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/ColumnMenu.less +13 -17
- package/src/sap/m/themes/base/GenericTile.less +60 -34
- package/src/sap/m/themes/base/LightBox.less +0 -53
- package/src/sap/m/themes/base/ListBase.less +1 -0
- package/src/sap/m/themes/base/MenuListItem.less +27 -22
- package/src/sap/m/themes/base/NewsContent.less +6 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/PlanningCalendar.less +13 -0
- package/src/sap/m/themes/base/Slider.less +9 -9
- package/src/sap/m/themes/base/Table.less +12 -2
- package/src/sap/m/themes/base/UploadCollection.less +1 -1
- package/src/sap/m/themes/base/VariantManagement.less +29 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddDimensions.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadToCloud.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddDimensions.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +26 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadToCloud.svg +5 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddDimensions.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadToCloud.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddDimensions.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +42 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadToCloud.svg +30 -0
- package/src/sap/m/themes/base/p13n.Container.less +2 -2
- package/src/sap/m/themes/sap_hcb/Slider.less +4 -4
- package/src/sap/m/upload/UploadSet.js +41 -35
- package/src/sap/m/upload/UploadSetItem.js +16 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
package/src/sap/m/p13n/Popup.js
CHANGED
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.109.0
|
|
38
38
|
*
|
|
39
39
|
* @public
|
|
40
40
|
* @experimental Since 1.97.
|
|
@@ -176,7 +176,7 @@ sap.ui.define([
|
|
|
176
176
|
*/
|
|
177
177
|
Popup.prototype.open = function(oSource, mSettings) {
|
|
178
178
|
|
|
179
|
-
if (!oSource) {
|
|
179
|
+
if (!oSource && this.getMode() === "Popover") {
|
|
180
180
|
throw new Error("Please provide a source control!");
|
|
181
181
|
}
|
|
182
182
|
|
|
@@ -242,7 +242,7 @@ sap.ui.define([
|
|
|
242
242
|
};
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* Returns the current panels in the <code>panels</code> aggregation.
|
|
246
246
|
* @public
|
|
247
247
|
* @returns {sap.m.p13n.IContent[]} An array of panel instances
|
|
248
248
|
*/
|
|
@@ -261,16 +261,17 @@ sap.ui.define([
|
|
|
261
261
|
};
|
|
262
262
|
|
|
263
263
|
Popup.prototype._createResponsivePopover = function(mDialogSettings) {
|
|
264
|
-
|
|
264
|
+
var aPanels = this.getPanels();
|
|
265
|
+
var bUseContainer = aPanels.length > 1;
|
|
265
266
|
var oPopover = new ResponsivePopover(this.getId() + "-responsivePopover", {
|
|
266
267
|
title: this.getTitle(),
|
|
267
268
|
horizontalScrolling: mDialogSettings.hasOwnProperty("horizontalScrolling") ? mDialogSettings.horizontalScrolling : false,
|
|
268
|
-
verticalScrolling:
|
|
269
|
+
verticalScrolling: !bUseContainer,
|
|
269
270
|
contentWidth: mDialogSettings.contentWidth ? mDialogSettings.contentWidth : "30rem",
|
|
270
271
|
resizable: mDialogSettings.hasOwnProperty("resizable") ? mDialogSettings.resizable : true,
|
|
271
272
|
contentHeight: mDialogSettings.contentHeight ? mDialogSettings.contentHeight : "35rem",
|
|
272
273
|
placement: mDialogSettings.placement ? mDialogSettings.placement : "Bottom",
|
|
273
|
-
content:
|
|
274
|
+
content: bUseContainer ? this._getContainer() : aPanels[0],
|
|
274
275
|
afterClose: function() {
|
|
275
276
|
this._onClose(oPopover, "AutoClose");
|
|
276
277
|
}.bind(this)
|
|
@@ -283,21 +284,22 @@ sap.ui.define([
|
|
|
283
284
|
};
|
|
284
285
|
|
|
285
286
|
Popup.prototype._createDialog = function(mDialogSettings) {
|
|
286
|
-
|
|
287
|
+
var aPanels = this.getPanels();
|
|
288
|
+
var bUseContainer = aPanels.length > 1;
|
|
287
289
|
var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
|
|
288
290
|
var oContainer = new Dialog(this.getId() + "-dialog", {
|
|
289
291
|
title: this.getTitle(),
|
|
290
292
|
horizontalScrolling: mDialogSettings.hasOwnProperty("horizontalScrolling") ? mDialogSettings.horizontalScrolling : false,
|
|
291
|
-
verticalScrolling:
|
|
293
|
+
verticalScrolling: !bUseContainer,
|
|
292
294
|
contentWidth: mDialogSettings.contentWidth ? mDialogSettings.contentWidth : "40rem",
|
|
293
295
|
contentHeight: mDialogSettings.contentHeight ? mDialogSettings.contentHeight : "55rem",
|
|
294
296
|
draggable: true,
|
|
295
297
|
resizable: true,
|
|
296
298
|
stretch: Device.system.phone,
|
|
297
|
-
content:
|
|
299
|
+
content: bUseContainer ? this._getContainer() : aPanels[0],
|
|
298
300
|
escapeHandler: function() {
|
|
299
301
|
this._onClose(oContainer, "Escape");
|
|
300
|
-
},
|
|
302
|
+
}.bind(this),
|
|
301
303
|
buttons: [
|
|
302
304
|
new Button(this.getId() + "-confirmBtn", {
|
|
303
305
|
text: mDialogSettings.confirm && mDialogSettings.confirm.text ? mDialogSettings.confirm.text : oResourceBundle.getText("p13n.POPUP_OK"),
|
|
@@ -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.109.0
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
@@ -153,7 +153,6 @@ sap.ui.define([
|
|
|
153
153
|
aState.splice(iCurrentIndex, 1);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
|
|
157
156
|
}
|
|
158
157
|
return aState;
|
|
159
158
|
};
|
|
@@ -263,10 +262,10 @@ sap.ui.define([
|
|
|
263
262
|
oExistingProp = oExistingProp ? oExistingProp.changeSpecificData.content : undefined;
|
|
264
263
|
}
|
|
265
264
|
// Matching property exists with a different index --> then this is a move operation
|
|
266
|
-
if (oExistingProp && oExistingProp.key === oProp.key && oResult.index != oExistingProp.index) {
|
|
265
|
+
if (oExistingProp && (oExistingProp.key || oExistingProp.name) === oProp.key && oResult.index != oExistingProp.index) {
|
|
267
266
|
// remove the last insert/delete operation
|
|
268
267
|
aChanges.pop();
|
|
269
|
-
aChanges = aChanges.concat(this._createMoveChange(oExistingProp.id, oExistingProp.key, oResult.index, sMoveOperation, oControl, sMoveOperation !== "moveSort", sGenerator));
|
|
268
|
+
aChanges = aChanges.concat(this._createMoveChange(oExistingProp.id, (oExistingProp.key || oExistingProp.name), oResult.index, sMoveOperation, oControl, sMoveOperation !== "moveSort", sGenerator));
|
|
270
269
|
return;
|
|
271
270
|
}
|
|
272
271
|
}
|
|
@@ -360,7 +359,7 @@ sap.ui.define([
|
|
|
360
359
|
var mItemState = this.arrayToMap(aItemState);
|
|
361
360
|
|
|
362
361
|
var oP13nData = this.prepareAdaptationData(oPropertyHelper, function(mItem, oProperty){
|
|
363
|
-
var oExisting = mItemState[oProperty.key];
|
|
362
|
+
var oExisting = mItemState[oProperty.name || oProperty.key];
|
|
364
363
|
mItem.visible = this._fSelector ? this._fSelector(oProperty) : (!!oExisting);
|
|
365
364
|
mItem.position = oExisting ? oExisting.position : -1;
|
|
366
365
|
return !(oProperty.visible === false);
|
|
@@ -380,7 +379,7 @@ sap.ui.define([
|
|
|
380
379
|
*
|
|
381
380
|
*/
|
|
382
381
|
SelectionController.prototype.getP13nData = function() {
|
|
383
|
-
return this._oPanel ? this._oPanel.getP13nData() : this._oAdaptationModel.getProperty("/items");
|
|
382
|
+
return this._oPanel ? this._oPanel.getP13nData() : this._oAdaptationModel && this._oAdaptationModel.getProperty("/items");
|
|
384
383
|
};
|
|
385
384
|
|
|
386
385
|
SelectionController.prototype.model2State = false;
|
|
@@ -465,6 +464,8 @@ sap.ui.define([
|
|
|
465
464
|
oPropertyHelper.getProperties().forEach(function(oProperty) {
|
|
466
465
|
|
|
467
466
|
var mItem = {};
|
|
467
|
+
mItem.key = oProperty.name || oProperty.key;
|
|
468
|
+
mItem.name = oProperty.name || oProperty.key;
|
|
468
469
|
|
|
469
470
|
if (bEnhance) {
|
|
470
471
|
var bIsValid = fnEnhace(mItem, oProperty);
|
|
@@ -473,9 +474,7 @@ sap.ui.define([
|
|
|
473
474
|
}
|
|
474
475
|
}
|
|
475
476
|
|
|
476
|
-
mItem.
|
|
477
|
-
mItem.name = oProperty.key;
|
|
478
|
-
mItem.label = oProperty.label || oProperty.key;
|
|
477
|
+
mItem.label = oProperty.label || mItem.key;
|
|
479
478
|
mItem.tooltip = oProperty.tooltip;
|
|
480
479
|
|
|
481
480
|
if (mItemsGrouped) {
|
|
@@ -501,7 +500,22 @@ sap.ui.define([
|
|
|
501
500
|
|
|
502
501
|
};
|
|
503
502
|
|
|
504
|
-
|
|
503
|
+
|
|
504
|
+
SelectionController.prototype._buildGroupStructure = function(mItemsGrouped) {
|
|
505
|
+
var aGroupedItems = [];
|
|
506
|
+
Object.keys(mItemsGrouped).forEach(function(sGroupKey){
|
|
507
|
+
this.sortP13nData("generic", mItemsGrouped[sGroupKey]);
|
|
508
|
+
aGroupedItems.push({
|
|
509
|
+
group: sGroupKey,
|
|
510
|
+
groupLabel: mItemsGrouped[sGroupKey][0].groupLabel || sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("p13n.BASIC_DEFAULT_GROUP"),//Grouplabel might not be necessarily be propagated to every item
|
|
511
|
+
groupVisible: true,
|
|
512
|
+
items: mItemsGrouped[sGroupKey]
|
|
513
|
+
});
|
|
514
|
+
}.bind(this));
|
|
515
|
+
return aGroupedItems;
|
|
516
|
+
|
|
517
|
+
};
|
|
518
|
+
|
|
505
519
|
SelectionController.prototype.sortP13nData = function (oSorting, aItems) {
|
|
506
520
|
|
|
507
521
|
var mP13nTypeSorting = oSorting;
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.base.Object
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.109.0
|
|
26
26
|
* @public
|
|
27
27
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
28
28
|
* @alias sap.m.p13n.SortController
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Provides enumeration sap.m.p13n.ProcessingStrategy
|
|
8
|
+
sap.ui.define(function() {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Defines the delta types of the <code>sap.m.p13n.p13n.Engine</code>.
|
|
13
|
+
*
|
|
14
|
+
* @enum {string}
|
|
15
|
+
* @private
|
|
16
|
+
* @since 1.108
|
|
17
|
+
* @alias sap.m.p13n.ProcessingStrategy
|
|
18
|
+
*/
|
|
19
|
+
var ProcessingStrategy = {
|
|
20
|
+
/**
|
|
21
|
+
* The delta will only calculate changes that will be added in addition to the existing state
|
|
22
|
+
*/
|
|
23
|
+
Add: false,
|
|
24
|
+
/**
|
|
25
|
+
* The delta will calculate changes and include state that has been added and removed
|
|
26
|
+
* <b>Note</b>: For example for array based state, entries added/removed will be respected.
|
|
27
|
+
* For example for object/path based state, the diff will not include paths that have not been explicitly provided.
|
|
28
|
+
*/
|
|
29
|
+
PartialReplace: true,
|
|
30
|
+
/**
|
|
31
|
+
* The delta will be calculated as complete/absolute state difference, in case the new state does not
|
|
32
|
+
* provide a path to an existing state, this is going to be removed in addition to the PartialReplace processing strategy.
|
|
33
|
+
*/
|
|
34
|
+
FullReplace: "FullReplace"
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return ProcessingStrategy;
|
|
38
|
+
|
|
39
|
+
});
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* It should be used as the persistence layer in the {@link sap.m.p13n.Engine#register Engine#register} process.
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @
|
|
22
|
+
* @private
|
|
23
23
|
* @experimental Since 1.104.
|
|
24
24
|
* @alias sap.m.p13n.modification.FlexModificationHandler
|
|
25
25
|
*/
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* It should be used as the persistence layer in the {@link sap.m.p13n.Engine#register Engine#register} process.
|
|
17
17
|
*
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @
|
|
19
|
+
* @private
|
|
20
20
|
* @experimental Since 1.104.
|
|
21
21
|
* @alias sap.m.p13n.modification.LocalStorageModificationHandler
|
|
22
22
|
*/
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* It should be used as the persistence layer in the {@link sap.m.p13n.Engine#register Engine#register} process.
|
|
17
17
|
*
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @
|
|
19
|
+
* @private
|
|
20
20
|
* @experimental Since 1.104.
|
|
21
21
|
* @alias sap.m.p13n.modification.ModificationHandler
|
|
22
22
|
*/
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/base/Object",
|
|
9
9
|
"sap/m/p13n/PersistenceProvider",
|
|
10
|
-
"sap/ui/fl/
|
|
11
|
-
], function (BaseObject, PersistenceProvider,
|
|
10
|
+
"sap/ui/fl/apply/api/ControlVariantApplyAPI"
|
|
11
|
+
], function (BaseObject, PersistenceProvider, ControlVariantApplyAPI) {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
var ERROR_INSTANCING = "DefaultProviderRegistry: This class is a singleton and should not be used without an AdaptationProvider. Please use 'sap.m.p13n.Engine.getInstance().defaultProviderRegistry' instead";
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.base.Object
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.109.0
|
|
30
30
|
*
|
|
31
31
|
* @private
|
|
32
32
|
* @since 1.104
|
|
@@ -116,9 +116,9 @@ sap.ui.define([
|
|
|
116
116
|
});
|
|
117
117
|
|
|
118
118
|
var fnAttachVariantModel = function(){
|
|
119
|
-
var oModel = oElement.getModel(
|
|
119
|
+
var oModel = oElement.getModel(ControlVariantApplyAPI.getVariantModelName());
|
|
120
120
|
if (oModel) {
|
|
121
|
-
oProvider.setModel(oModel,
|
|
121
|
+
oProvider.setModel(oModel, ControlVariantApplyAPI.getVariantModelName());
|
|
122
122
|
oElement.detachEvent("modelContextChange", fnAttachVariantModel);
|
|
123
123
|
}
|
|
124
124
|
};
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.base.Object
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.109.0
|
|
32
32
|
*
|
|
33
33
|
* @private
|
|
34
34
|
*
|
|
@@ -54,10 +54,12 @@ sap.ui.define([
|
|
|
54
54
|
* @param {string|string[]} vPanelKeys The affected panels that should be added to the <code>sap.m.p13n.Popup</code>
|
|
55
55
|
* @param {object} mSettings The settings object for the personalization
|
|
56
56
|
* @param {string} [mSettings.title] The title for the <code>sap.m.p13n.Popup</code> control
|
|
57
|
-
* @param {
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {
|
|
57
|
+
* @param {sap.ui.core.Control} [mSettings.source] The source contro to be used by the <code>sap.m.p13n.Popup</code> control (only necessary in case the mode is set to <code>ResponsivePopover</code>)
|
|
58
|
+
* @param {sap.m.P13nPopupMode} [mSettings.mode] The mode to be used by the <code>sap.m.p13n.Popup</code> control
|
|
59
|
+
* @param {sap.ui.core.CSSSize} [mSettings.contentHeight] Height configuration for the related popup container
|
|
60
|
+
* @param {sap.ui.core.CSSSize} [mSettings.contentWidth] Width configuration for the related popup container
|
|
61
|
+
* @param {boolean} [mSettings.showReset] Determines the visibility of the <code>Reset</code> button
|
|
62
|
+
* @param {function} [mSettings.close] Event handler once the Popup has been closed
|
|
61
63
|
*
|
|
62
64
|
* @returns {Promise} Promise resolving in the <code>sap.m.p13n.Popup</code> instance.
|
|
63
65
|
*/
|
|
@@ -89,18 +91,31 @@ sap.ui.define([
|
|
|
89
91
|
warningText: mSettings.warningText || oResourceBundle.getText("p13n.RESET_WARNING_TEXT"),
|
|
90
92
|
title: sTitle,
|
|
91
93
|
close: function(oEvt){
|
|
94
|
+
|
|
95
|
+
if (mSettings.close instanceof Function) {
|
|
96
|
+
mSettings.close(oEvt);
|
|
97
|
+
}
|
|
98
|
+
|
|
92
99
|
var sReason = oEvt.getParameter("reason");
|
|
93
100
|
if (sReason == "Ok") {
|
|
94
101
|
that.oAdaptationProvider.handleP13n(oControl, aPanelKeys);
|
|
95
102
|
}
|
|
96
|
-
oP13nContainer.
|
|
97
|
-
that.setActiveP13n(oControl, null);
|
|
103
|
+
var aPanels = oP13nContainer.getPanels();
|
|
98
104
|
|
|
99
|
-
|
|
105
|
+
aPanels.forEach(function(oPanel){
|
|
106
|
+
if (oPanel.keepAlive instanceof Function && oPanel.keepAlive()){
|
|
107
|
+
oP13nContainer.removePanel(oPanel);
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
that.setActiveP13n(oControl, null);
|
|
112
|
+
oP13nContainer._oPopup.attachAfterClose(function(){
|
|
113
|
+
oP13nContainer.destroy();
|
|
114
|
+
});
|
|
100
115
|
},
|
|
101
|
-
reset: function(){
|
|
116
|
+
reset: mSettings.showReset !== false ? function(){
|
|
102
117
|
that.oAdaptationProvider.reset(oControl, aPanelKeys);
|
|
103
|
-
}
|
|
118
|
+
} : undefined
|
|
104
119
|
});
|
|
105
120
|
|
|
106
121
|
aInitializedPanels.forEach(function(oPanel, iIndex){
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* @param {sap.ui.core.Element} oControl The according element which should be checked
|
|
23
23
|
* @param {object} oModificationPayload An object providing a modification handler specific payload
|
|
24
|
-
* @param {object} oModificationPayload.key The affected property
|
|
24
|
+
* @param {object} oModificationPayload.key The affected metadata property key
|
|
25
25
|
* @param {object} oModificationPayload.controlMeta Object describing which config is affected
|
|
26
26
|
* @param {object} oModificationPayload.controlMeta.aggregation The affected aggregation name (such as <code>columns</code> or <code>filterItems</code>)
|
|
27
27
|
* @param {object} oModificationPayload.property The affected property name (such as <code>width</code> or <code>lable</code>)
|
|
@@ -60,10 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
return merge({}, JSON.parse(sConfig.replace(/\\/g, '')));
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
return {
|
|
64
|
-
aggregations: {},
|
|
65
|
-
properties: {}
|
|
66
|
-
};
|
|
63
|
+
return {};
|
|
67
64
|
})
|
|
68
65
|
.then(function(oExistingConfig) {
|
|
69
66
|
|
|
@@ -183,7 +180,7 @@ sap.ui.define([
|
|
|
183
180
|
*/
|
|
184
181
|
xConfigAPI.createAggregationConfig = function(oControl, oModificationPayload, oExistingConfig) {
|
|
185
182
|
|
|
186
|
-
var sPropertyInfoKey = oModificationPayload.key;
|
|
183
|
+
var sPropertyInfoKey = oModificationPayload.key || oModificationPayload.name;
|
|
187
184
|
var mControlMeta = oModificationPayload.controlMeta;
|
|
188
185
|
|
|
189
186
|
var sAffectedProperty = oModificationPayload.property;
|
|
@@ -191,10 +188,9 @@ sap.ui.define([
|
|
|
191
188
|
var vValue = oModificationPayload.value;
|
|
192
189
|
var oControlMetadata = oModificationPayload.controlMetadata || oControl.getMetadata();
|
|
193
190
|
var sAffectedAggregation = mControlMeta.aggregation;
|
|
194
|
-
var sAggregationName = sAffectedAggregation ? sAffectedAggregation : oControlMetadata.getDefaultAggregation().
|
|
195
|
-
var oConfig = oExistingConfig || {
|
|
196
|
-
|
|
197
|
-
};
|
|
191
|
+
var sAggregationName = sAffectedAggregation ? sAffectedAggregation : oControlMetadata.getDefaultAggregation().name;
|
|
192
|
+
var oConfig = oExistingConfig || {};
|
|
193
|
+
oConfig.aggregations = {};
|
|
198
194
|
|
|
199
195
|
if (!oConfig.aggregations.hasOwnProperty(sAggregationName)) {
|
|
200
196
|
if (oControlMetadata.hasAggregation(sAggregationName)) {
|
|
@@ -217,8 +213,15 @@ sap.ui.define([
|
|
|
217
213
|
case "remove":
|
|
218
214
|
case "add":
|
|
219
215
|
default:
|
|
220
|
-
|
|
221
|
-
|
|
216
|
+
/*TODO*/
|
|
217
|
+
if (vValue.hasOwnProperty("value")) {
|
|
218
|
+
oConfig.aggregations[sAggregationName][sPropertyInfoKey][sAffectedProperty] = vValue.value;
|
|
219
|
+
oConfig.aggregations[sAggregationName][sPropertyInfoKey]["position"] = vValue.index;
|
|
220
|
+
} else {
|
|
221
|
+
oConfig.aggregations[sAggregationName][sPropertyInfoKey][sAffectedProperty] = vValue;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/*TODO*/
|
|
222
225
|
break;
|
|
223
226
|
}
|
|
224
227
|
|
|
@@ -258,9 +261,8 @@ sap.ui.define([
|
|
|
258
261
|
var vValue = oModificationPayload.value;
|
|
259
262
|
//var oControlMetadata = oModificationPayload.controlMetadata || oControl.getMetadata();
|
|
260
263
|
var sAffectedProperty = oModificationPayload.property;
|
|
261
|
-
var oConfig = oExistingConfig || {
|
|
262
|
-
|
|
263
|
-
};
|
|
264
|
+
var oConfig = oExistingConfig || {};
|
|
265
|
+
oConfig.properties = {};
|
|
264
266
|
|
|
265
267
|
if (!oConfig.properties.hasOwnProperty(sAffectedProperty)) {
|
|
266
268
|
oConfig.properties[sAffectedProperty] = [];
|
|
@@ -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.109.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @experimental Since 1.73. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|