@openui5/sap.m 1.106.0 → 1.107.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/package.json +4 -4
- package/src/sap/m/.library +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- 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 +4 -3
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +6 -4
- package/src/sap/m/messagebundle_bg.properties +5 -3
- package/src/sap/m/messagebundle_ca.properties +8 -6
- package/src/sap/m/messagebundle_cs.properties +16 -14
- package/src/sap/m/messagebundle_cy.properties +5 -3
- package/src/sap/m/messagebundle_da.properties +5 -3
- package/src/sap/m/messagebundle_de.properties +14 -12
- package/src/sap/m/messagebundle_el.properties +5 -3
- package/src/sap/m/messagebundle_en.properties +5 -3
- package/src/sap/m/messagebundle_en_GB.properties +5 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +5 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/m/messagebundle_es.properties +5 -3
- package/src/sap/m/messagebundle_es_MX.properties +5 -3
- package/src/sap/m/messagebundle_et.properties +5 -3
- package/src/sap/m/messagebundle_fi.properties +5 -3
- package/src/sap/m/messagebundle_fr.properties +6 -4
- package/src/sap/m/messagebundle_fr_CA.properties +6 -4
- package/src/sap/m/messagebundle_hi.properties +5 -3
- package/src/sap/m/messagebundle_hr.properties +5 -3
- package/src/sap/m/messagebundle_hu.properties +5 -3
- package/src/sap/m/messagebundle_id.properties +5 -3
- package/src/sap/m/messagebundle_it.properties +5 -3
- package/src/sap/m/messagebundle_iw.properties +5 -3
- package/src/sap/m/messagebundle_ja.properties +5 -3
- package/src/sap/m/messagebundle_kk.properties +5 -3
- package/src/sap/m/messagebundle_ko.properties +5 -3
- package/src/sap/m/messagebundle_lt.properties +6 -4
- package/src/sap/m/messagebundle_lv.properties +5 -3
- package/src/sap/m/messagebundle_ms.properties +5 -3
- package/src/sap/m/messagebundle_nl.properties +5 -3
- package/src/sap/m/messagebundle_no.properties +5 -3
- package/src/sap/m/messagebundle_pl.properties +5 -3
- package/src/sap/m/messagebundle_pt.properties +5 -3
- package/src/sap/m/messagebundle_pt_PT.properties +5 -3
- package/src/sap/m/messagebundle_ro.properties +5 -3
- package/src/sap/m/messagebundle_ru.properties +5 -3
- package/src/sap/m/messagebundle_sh.properties +5 -3
- package/src/sap/m/messagebundle_sk.properties +5 -3
- package/src/sap/m/messagebundle_sl.properties +5 -3
- package/src/sap/m/messagebundle_sv.properties +5 -3
- package/src/sap/m/messagebundle_th.properties +5 -3
- package/src/sap/m/messagebundle_tr.properties +5 -3
- package/src/sap/m/messagebundle_uk.properties +5 -3
- package/src/sap/m/messagebundle_vi.properties +5 -3
- package/src/sap/m/messagebundle_zh_CN.properties +5 -3
- package/src/sap/m/messagebundle_zh_TW.properties +5 -3
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- 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 +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.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 +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- 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/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
|
@@ -20,12 +20,12 @@ sap.ui.define(['sap/ui/core/Element'],
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @alias sap.m.p13n.AbstractContainerItem
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.107.0
|
|
29
29
|
* @experimental Since 1.96.
|
|
30
30
|
* @since 1.96
|
|
31
31
|
* @ui5-restricted
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.107.0
|
|
26
26
|
*
|
|
27
27
|
* @public
|
|
28
28
|
* @abstract
|
|
@@ -420,6 +420,10 @@ sap.ui.define([
|
|
|
420
420
|
|
|
421
421
|
BasePanel.prototype._setTemplate = function(oTemplate) {
|
|
422
422
|
oTemplate.setType("Active");
|
|
423
|
+
var oCurrentTemplate = this.getAggregation("_template");
|
|
424
|
+
if (oCurrentTemplate) {
|
|
425
|
+
oCurrentTemplate.destroy();
|
|
426
|
+
}
|
|
423
427
|
this.setAggregation("_template", oTemplate);
|
|
424
428
|
if (oTemplate) {
|
|
425
429
|
if (this.getEnableReorder()){
|
package/src/sap/m/p13n/Engine.js
CHANGED
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
|
-
* The <code>Engine</code> offers personalization capabilities by registering a control instance for modification such as:
|
|
35
|
+
* The <code>Engine</code> entity offers personalization capabilities by registering a control instance for modification, such as:
|
|
36
36
|
*
|
|
37
37
|
* <ul>
|
|
38
38
|
* <li><code>sap.m.p13n.Popup</code> initialization</li>
|
|
@@ -40,28 +40,28 @@ sap.ui.define([
|
|
|
40
40
|
* <li>State appliance considering the persistence layer</li>
|
|
41
41
|
* </ul>
|
|
42
42
|
*
|
|
43
|
-
* The Engine
|
|
43
|
+
* The Engine must be used whenever personalization should be enabled by taking a certain persistence layer into account.
|
|
44
44
|
* Available controller implementations for the registration process are:
|
|
45
45
|
*
|
|
46
46
|
* <ul>
|
|
47
|
-
* <li>{@link sap.m.p13n.SelectionController SelectionController}:
|
|
48
|
-
* <li>{@link sap.m.p13n.SortController SortController}:
|
|
49
|
-
* <li>{@link sap.m.p13n.GroupController GroupController}:
|
|
47
|
+
* <li>{@link sap.m.p13n.SelectionController SelectionController}: Used to define a list of selectable entries</li>
|
|
48
|
+
* <li>{@link sap.m.p13n.SortController SortController}: Used to define a list of sortable properties</li>
|
|
49
|
+
* <li>{@link sap.m.p13n.GroupController GroupController}: Used to define a list of groupable properties</li>
|
|
50
50
|
* </ul>
|
|
51
51
|
*
|
|
52
52
|
* The following persistence layers can be chosen for personalization services:
|
|
53
53
|
*
|
|
54
54
|
* <ul>
|
|
55
|
-
* <li>{@link sap.m.p13n.modification.FlexModificationHandler FlexModificationHandler}:
|
|
56
|
-
* <li>{@link sap.m.p13n.modification.LocalStorageModificationHandler LocalStorageModificationHandler}:
|
|
57
|
-
* <li>{@link sap.m.p13n.modification.ModificationHandler ModificationHandler}:
|
|
55
|
+
* <li>{@link sap.m.p13n.modification.FlexModificationHandler FlexModificationHandler}: Used in combination with <code>sap.ui.fl.variants.VariantManagement</code> to persist a state in variants using <code>sap.ui.fl</code> capabilities.</li>
|
|
56
|
+
* <li>{@link sap.m.p13n.modification.LocalStorageModificationHandler LocalStorageModificationHandler}: Used to store a personalization state in the local storage</li>
|
|
57
|
+
* <li>{@link sap.m.p13n.modification.ModificationHandler ModificationHandler}: Used by default - this handler will not persist a state.</li>
|
|
58
58
|
* </ul>
|
|
59
59
|
*
|
|
60
60
|
* @namespace
|
|
61
61
|
* @alias sap.m.p13n.Engine
|
|
62
62
|
* @extends sap.m.p13n.AdaptationProvider
|
|
63
63
|
* @author SAP SE
|
|
64
|
-
* @version 1.
|
|
64
|
+
* @version 1.107.0
|
|
65
65
|
* @public
|
|
66
66
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
67
67
|
* @since 1.104
|
|
@@ -90,16 +90,21 @@ sap.ui.define([
|
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
|
+
* The central registration for personalization functionality.
|
|
94
|
+
* The registration is a precondition for using <code>Engine</code> functionality for a control instance.
|
|
95
|
+
* Once the control instance has been registered, it can be passed to the related <code>Engine</code>
|
|
96
|
+
* methods that always expect a control instance as parameter. Only registered control instances can be used for personalization through the <code>Engine</code>.
|
|
93
97
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
98
|
+
* @typedef {object} sap.m.p13n.EngineRegistrationConfig
|
|
99
|
+
* @property {sap.m.p13n.ModificationHandler} modification The desired <code>{@link sap.m.p13n.modification.ModificationHandler ModificationHandler}</code> instance that is used for persistence.
|
|
100
|
+
* @property {sap.m.p13n.MetadataHelper} helper The <code>{@link sap.m.p13n.modification.MetadataHelper MetadataHelper}</code> to provide metadata-specific information.
|
|
101
|
+
* @property {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.
|
|
96
102
|
*
|
|
97
103
|
* @public
|
|
98
104
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
99
105
|
*
|
|
100
106
|
* @param {sap.ui.core.Control} oControl The control instance to be registered for adaptation
|
|
101
|
-
* @param {
|
|
102
|
-
* <code>sap.m.p13n.*Controller</code> classes.
|
|
107
|
+
* @param {sap.m.p13n.EngineRegistrationConfig} oConfig The Engine registration configuration
|
|
103
108
|
*
|
|
104
109
|
* @example
|
|
105
110
|
* {
|
|
@@ -162,9 +167,9 @@ sap.ui.define([
|
|
|
162
167
|
|
|
163
168
|
|
|
164
169
|
/**
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
170
|
+
* Unregisters a registered control. By unregistering a control the control is
|
|
171
|
+
* removed from the <code>Engine</code> registry, and all instance-specific submodules,
|
|
172
|
+
* such as the registered controllers, are destroyed.
|
|
168
173
|
*
|
|
169
174
|
* @public
|
|
170
175
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
@@ -197,16 +202,16 @@ sap.ui.define([
|
|
|
197
202
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
198
203
|
*
|
|
199
204
|
*
|
|
200
|
-
* @param {sap.ui.core.Control} oControl The control instance
|
|
201
|
-
* @param {string|string[]} vPanelKeys The affected panels that
|
|
205
|
+
* @param {sap.ui.core.Control} oControl The control instance that is personalized
|
|
206
|
+
* @param {string|string[]} vPanelKeys The affected panels that are added to the <code>sap.m.p13n.Popup</code>
|
|
202
207
|
* @param {object} mSettings The settings object for the personalization
|
|
203
208
|
* @param {string} [mSettings.title] The title for the <code>sap.m.p13n.Popup</code> control
|
|
204
|
-
* @param {sap.ui.core.Control} [mSettings.source] The source control to be used by the <code>sap.m.p13n.Popup</code> control (only necessary
|
|
205
|
-
* @param {object} [mSettings.mode] The mode
|
|
209
|
+
* @param {sap.ui.core.Control} [mSettings.source] The source control to be used by the <code>sap.m.p13n.Popup</code> control (only necessary if the mode is set to <code>ResponsivePopover</code>)
|
|
210
|
+
* @param {object} [mSettings.mode] The mode is used by the <code>sap.m.p13n.Popup</code> control
|
|
206
211
|
* @param {object} [mSettings.contentHeight] Height configuration for the related popup container
|
|
207
212
|
* @param {object} [mSettings.contentWidth] Width configuration for the related popup container
|
|
208
213
|
*
|
|
209
|
-
* @returns {Promise} Promise resolving in the <code>sap.m.p13n.Popup</code> instance
|
|
214
|
+
* @returns {Promise} Promise resolving in the <code>sap.m.p13n.Popup</code> instance
|
|
210
215
|
*/
|
|
211
216
|
Engine.prototype.show = function(oControl, vPanelKeys, mSettings) {
|
|
212
217
|
return this.uimanager.show(oControl, vPanelKeys, mSettings);
|
|
@@ -214,7 +219,7 @@ sap.ui.define([
|
|
|
214
219
|
|
|
215
220
|
/**
|
|
216
221
|
* Attaches an event handler to the <code>StateHandlerRegistry</code> class.
|
|
217
|
-
* The event handler
|
|
222
|
+
* The event handler is fired every time a user triggers a personalization change for a control instance during runtime.
|
|
218
223
|
*
|
|
219
224
|
* @public
|
|
220
225
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
@@ -241,15 +246,15 @@ sap.ui.define([
|
|
|
241
246
|
};
|
|
242
247
|
|
|
243
248
|
/**
|
|
244
|
-
* This method can be used to trigger a reset
|
|
249
|
+
* This method can be used to trigger a reset to the provided control instance.
|
|
245
250
|
*
|
|
246
251
|
* @public
|
|
247
252
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
248
253
|
*
|
|
249
|
-
* @param {sap.ui.core.Control} oControl The
|
|
250
|
-
* @param {string} aKeys The key for the affected
|
|
254
|
+
* @param {sap.ui.core.Control} oControl The related control instance
|
|
255
|
+
* @param {string} aKeys The key for the affected configuration
|
|
251
256
|
*
|
|
252
|
-
* @returns {Promise} A Promise resolving once the reset is completed
|
|
257
|
+
* @returns {Promise} A Promise resolving once the reset is completed
|
|
253
258
|
*/
|
|
254
259
|
Engine.prototype.reset = function(oControl, aKeys) {
|
|
255
260
|
|
|
@@ -280,8 +285,8 @@ sap.ui.define([
|
|
|
280
285
|
|
|
281
286
|
|
|
282
287
|
/**
|
|
283
|
-
*
|
|
284
|
-
* registered controller key and an object matching the
|
|
288
|
+
* Applies a state to a control by passing an object that contains the
|
|
289
|
+
* registered controller key and an object matching the inner subcontroller logic.
|
|
285
290
|
*
|
|
286
291
|
* @public
|
|
287
292
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
@@ -292,7 +297,7 @@ sap.ui.define([
|
|
|
292
297
|
*
|
|
293
298
|
* @param {sap.ui.core.Control} oControl The registered control instance
|
|
294
299
|
* @param {object} oState The state object
|
|
295
|
-
* @param {boolean} bApplyAbsolute Defines whether the state should be an additional delta
|
|
300
|
+
* @param {boolean} bApplyAbsolute Defines whether the state should be an additional delta of the current control state
|
|
296
301
|
*
|
|
297
302
|
* @returns {Promise} A Promise resolving after the state has been applied
|
|
298
303
|
*/
|
|
@@ -352,16 +357,16 @@ sap.ui.define([
|
|
|
352
357
|
|
|
353
358
|
/**
|
|
354
359
|
*
|
|
355
|
-
* Retrieves the
|
|
360
|
+
* Retrieves the state for a given control instance
|
|
356
361
|
* after all necessary changes have been applied (e.g. modification handler appliance).
|
|
357
|
-
* After the returned Promise has been resolved, the returned
|
|
362
|
+
* After the returned <code>Promise</code> has been resolved, the returned state is in sync with the related
|
|
358
363
|
* state object of the control.
|
|
359
364
|
*
|
|
360
365
|
* @public
|
|
361
366
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
362
367
|
* @param {object} oControl The control instance implementing IxState to retrieve the externalized state
|
|
363
368
|
*
|
|
364
|
-
* @returns {Promise}
|
|
369
|
+
* @returns {Promise} A Promise resolving in the current control state
|
|
365
370
|
*/
|
|
366
371
|
Engine.prototype.retrieveState = function(oControl) {
|
|
367
372
|
|
|
@@ -419,19 +424,19 @@ sap.ui.define([
|
|
|
419
424
|
*
|
|
420
425
|
* @ui5-restricted
|
|
421
426
|
*
|
|
422
|
-
* @param {object} mDiffParameters A map defining the configuration to create the changes
|
|
423
|
-
* @param {sap.ui.core.Control} mDiffParameters.control The control instance
|
|
424
|
-
* @param {string} mDiffParameters.key The key used to retrieve the
|
|
425
|
-
* @param {object} mDiffParameters.state The state
|
|
426
|
-
* @param {boolean} [mDiffParameters.applyAbsolute]
|
|
427
|
-
* @param {boolean} [mDiffParameters.stateBefore]
|
|
428
|
-
* for example if "A"
|
|
427
|
+
* @param {object} mDiffParameters A map defining the configuration to create the changes
|
|
428
|
+
* @param {sap.ui.core.Control} mDiffParameters.control The control instance that should be adapted
|
|
429
|
+
* @param {string} mDiffParameters.key The key used to retrieve the related controller
|
|
430
|
+
* @param {object} mDiffParameters.state The state that is applied to the provided control instance
|
|
431
|
+
* @param {boolean} [mDiffParameters.applyAbsolute] Determines whether unmentioned entries are affected
|
|
432
|
+
* @param {boolean} [mDiffParameters.stateBefore] If the state should be diffed manually;
|
|
433
|
+
* for example, if "A" exists in the control state, but is not mentioned in the new state provided in the
|
|
429
434
|
* mDiffParameters.state then the absolute appliance decides whether to remove "A" or to keep it.
|
|
430
|
-
* @param {boolean} [mDiffParameters.suppressAppliance]
|
|
431
|
-
* @param {boolean} [mDiffParameters.applySequentially]
|
|
432
|
-
*
|
|
435
|
+
* @param {boolean} [mDiffParameters.suppressAppliance] Determines whether the change is applied directly
|
|
436
|
+
* @param {boolean} [mDiffParameters.applySequentially] Determines whether the appliance is queued or processed in parallel
|
|
437
|
+
* controller
|
|
433
438
|
*
|
|
434
|
-
* @returns {Promise} A Promise resolving in the
|
|
439
|
+
* @returns {Promise} A Promise resolving in the related delta changes
|
|
435
440
|
*/
|
|
436
441
|
Engine.prototype.createChanges = function(mDiffParameters) {
|
|
437
442
|
|
|
@@ -494,8 +499,8 @@ sap.ui.define([
|
|
|
494
499
|
*
|
|
495
500
|
* @ui5-restricted
|
|
496
501
|
*
|
|
497
|
-
* @param {sap.ui.core.Control} oControl The
|
|
498
|
-
* @returns {Promise} A Promise resolving after all pending modifications have been applied
|
|
502
|
+
* @param {sap.ui.core.Control} oControl The related control instance
|
|
503
|
+
* @returns {Promise} A Promise resolving after all pending modifications have been applied
|
|
499
504
|
*/
|
|
500
505
|
Engine.prototype.waitForChanges = function(oControl) {
|
|
501
506
|
var oModificationSetting = this._determineModification(oControl);
|
|
@@ -508,9 +513,9 @@ sap.ui.define([
|
|
|
508
513
|
* Determines whether the environment is suitable for the desired modification of the provided control instance.
|
|
509
514
|
*
|
|
510
515
|
* @ui5-restricted
|
|
511
|
-
* @param {sap.ui.core.Control} oControl The
|
|
516
|
+
* @param {sap.ui.core.Control} oControl The related control instance
|
|
512
517
|
*
|
|
513
|
-
* @returns {Promise} A Promise resolving in a
|
|
518
|
+
* @returns {Promise} A Promise resolving in a Boolean that determines whether the requirements for the persistence layer are met
|
|
514
519
|
*/
|
|
515
520
|
Engine.prototype.isModificationSupported = function(oControl) {
|
|
516
521
|
var oModificationSetting = this._determineModification(oControl);
|
|
@@ -531,7 +536,7 @@ sap.ui.define([
|
|
|
531
536
|
*
|
|
532
537
|
* @param {sap.ui.core.Control} vControl The registered control instance
|
|
533
538
|
* @param {object} mChanges A map of keys and arrays, every controller will provide an array of changes
|
|
534
|
-
* @returns {Promise} The change appliance
|
|
539
|
+
* @returns {Promise} The change appliance <code>Promise</code>
|
|
535
540
|
*/
|
|
536
541
|
Engine.prototype._processChanges = function(vControl, mChanges) {
|
|
537
542
|
var aChanges = [];
|
|
@@ -553,16 +558,16 @@ sap.ui.define([
|
|
|
553
558
|
};
|
|
554
559
|
|
|
555
560
|
/**
|
|
556
|
-
* This method can be used in the
|
|
557
|
-
* for
|
|
561
|
+
* This method can be used in the designtime metadata of the control
|
|
562
|
+
* for key user personalization.
|
|
558
563
|
*
|
|
559
564
|
* @ui5-restricted
|
|
560
565
|
*
|
|
561
|
-
* @param {sap.ui.core.Control} oControl The registered control instance
|
|
562
|
-
* @param {object} mPropertyBag The
|
|
563
|
-
* @param {string} aKeys The keys to be used to display in the corresponding
|
|
566
|
+
* @param {sap.ui.core.Control} oControl The registered control instance
|
|
567
|
+
* @param {object} mPropertyBag The property bag provided in the settings action
|
|
568
|
+
* @param {string} aKeys The keys to be used to display in the corresponding controller
|
|
564
569
|
*
|
|
565
|
-
* @returns {Promise} A Promise resolving in the set of changes to be created during
|
|
570
|
+
* @returns {Promise} A Promise resolving in the set of changes to be created during UI adaptation at runtime
|
|
566
571
|
*/
|
|
567
572
|
Engine.prototype.getRTASettingsActionHandler = function (oControl, mPropertyBag, aKeys) {
|
|
568
573
|
|
|
@@ -611,19 +616,19 @@ sap.ui.define([
|
|
|
611
616
|
};
|
|
612
617
|
|
|
613
618
|
/**
|
|
614
|
-
* Enhances the xConfig object by using the <code>ModificationHandler</code
|
|
619
|
+
* Enhances the <code>xConfig</code> object by using the <code>ModificationHandler</code>.
|
|
615
620
|
*
|
|
616
621
|
* @ui5-restricted
|
|
617
622
|
*
|
|
618
|
-
* @param {sap.ui.core.Control} vControl The registered control instance
|
|
623
|
+
* @param {sap.ui.core.Control} vControl The registered control instance
|
|
619
624
|
* @param {object} mEnhanceConfig An object providing the information about the xConfig enhancement
|
|
620
625
|
* @param {object} mEnhanceConfig.key The affected property name
|
|
621
626
|
* @param {object} mEnhanceConfig.controlMeta Object describing which config is affected
|
|
622
627
|
* @param {object} mEnhanceConfig.controlMeta.aggregation The affected aggregation name (such as <code>columns</code> or <code>filterItems</code>)
|
|
623
|
-
* @param {object} mEnhanceConfig.controlMeta.property The affected property name (such as <code>width</code> or <code>
|
|
628
|
+
* @param {object} mEnhanceConfig.controlMeta.property The affected property name (such as <code>width</code> or <code>label</code>)
|
|
624
629
|
* @param {object} mEnhanceConfig.value The value that should be written in the xConfig
|
|
625
|
-
* @param {object} [mEnhanceConfig.propertyBag] Optional
|
|
626
|
-
* @returns {Promise} Promise resolving when the
|
|
630
|
+
* @param {object} [mEnhanceConfig.propertyBag] Optional property bag for the <code>ModificationHandler</code>
|
|
631
|
+
* @returns {Promise} Promise resolving when the xConfig is successfully enhanced
|
|
627
632
|
*/
|
|
628
633
|
Engine.prototype.enhanceXConfig = function(vControl, mEnhanceConfig) {
|
|
629
634
|
|
|
@@ -640,15 +645,15 @@ sap.ui.define([
|
|
|
640
645
|
};
|
|
641
646
|
|
|
642
647
|
/**
|
|
643
|
-
* Returns a copy of the xConfig object
|
|
648
|
+
* Returns a copy of the <code>xConfig</code> object.
|
|
644
649
|
*
|
|
645
650
|
* @ui5-restricted sap.m
|
|
646
|
-
* @param {sap.ui.core.Element} vControl The
|
|
647
|
-
* @param {object} [mEnhanceConfig] An object providing a modification
|
|
648
|
-
* @param {object} [mEnhanceConfig.propertyBag] Optional
|
|
651
|
+
* @param {sap.ui.core.Element} vControl The related element that should be checked
|
|
652
|
+
* @param {object} [mEnhanceConfig] An object providing a modification-handler-specific payload
|
|
653
|
+
* @param {object} [mEnhanceConfig.propertyBag] Optional property bag for different modification handler derivations
|
|
649
654
|
*
|
|
650
655
|
* @returns {Promise<object>|object}
|
|
651
|
-
*
|
|
656
|
+
* A <code>Promise</code> that resolves with the configuration. The xConfig itself if it is already available, or <code>null</code> if there is no xConfig
|
|
652
657
|
*/
|
|
653
658
|
Engine.prototype.readXConfig = function(vControl, mEnhanceConfig) {
|
|
654
659
|
|
|
@@ -742,15 +747,15 @@ sap.ui.define([
|
|
|
742
747
|
};
|
|
743
748
|
|
|
744
749
|
/**
|
|
745
|
-
* This method can be used to initialize the
|
|
750
|
+
* This method can be used to initialize the controller housekeeping.
|
|
746
751
|
*
|
|
747
752
|
* @private
|
|
748
753
|
*
|
|
749
754
|
* @param {sap.ui.core.Control} vControl The registered control instance
|
|
750
|
-
* @param {string|string[]} aKeys The key for the
|
|
755
|
+
* @param {string|string[]} aKeys The key for the related controller
|
|
751
756
|
* @param {Object[]} aCustomInfo A custom set of propertyinfos as base to create the UI
|
|
752
757
|
*
|
|
753
|
-
* @returns {Promise} A Promise resolving after the adaptation housekeeping has been initialized
|
|
758
|
+
* @returns {Promise} A Promise resolving after the adaptation housekeeping has been initialized
|
|
754
759
|
*/
|
|
755
760
|
Engine.prototype.initAdaptation = function(vControl, aKeys) {
|
|
756
761
|
this.verifyController(vControl, aKeys);
|
|
@@ -773,7 +778,7 @@ sap.ui.define([
|
|
|
773
778
|
};
|
|
774
779
|
|
|
775
780
|
/**
|
|
776
|
-
* This method should only be used to register a new
|
|
781
|
+
* This method should only be used to register a new controller.
|
|
777
782
|
*
|
|
778
783
|
* @private
|
|
779
784
|
*
|
|
@@ -888,7 +893,7 @@ sap.ui.define([
|
|
|
888
893
|
* @private
|
|
889
894
|
* @param {string|sap.ui.core.Control} vControl The control id or instance
|
|
890
895
|
*
|
|
891
|
-
* @returns {object} The
|
|
896
|
+
* @returns {object} The related registry entry
|
|
892
897
|
*/
|
|
893
898
|
Engine.prototype._getRegistryEntry = function(vControl) {
|
|
894
899
|
|
|
@@ -904,7 +909,7 @@ sap.ui.define([
|
|
|
904
909
|
* @ui5-restricted sap.m
|
|
905
910
|
*
|
|
906
911
|
* @param {string|sap.ui.core.Control} vControl The control id or instance
|
|
907
|
-
* @returns {object} The
|
|
912
|
+
* @returns {object} The related ModificationHandler.
|
|
908
913
|
*/
|
|
909
914
|
Engine.prototype.getModificationHandler = function(vControl) {
|
|
910
915
|
var oModificationSetting = this._determineModification(vControl);
|
|
@@ -920,7 +925,7 @@ sap.ui.define([
|
|
|
920
925
|
* @private
|
|
921
926
|
* @param {string|sap.ui.core.Control} vControl The control id or instance
|
|
922
927
|
* @param {object} oPreConfig A predefined configuration
|
|
923
|
-
* @returns {object} The
|
|
928
|
+
* @returns {object} The related registry entry
|
|
924
929
|
*/
|
|
925
930
|
Engine.prototype._createRegistryEntry = function(vControl, oPreConfig) {
|
|
926
931
|
|
|
@@ -953,7 +958,7 @@ sap.ui.define([
|
|
|
953
958
|
*
|
|
954
959
|
* @private
|
|
955
960
|
* @param {string|sap.ui.core.Control} vControl The control id or instance
|
|
956
|
-
* @returns {object} The
|
|
961
|
+
* @returns {object} The related modification registry entry
|
|
957
962
|
*/
|
|
958
963
|
Engine.prototype._determineModification = function (vControl) {
|
|
959
964
|
|
|
@@ -1026,7 +1031,7 @@ sap.ui.define([
|
|
|
1026
1031
|
* @param {string} sControlId The control id
|
|
1027
1032
|
* @param {string} sAncestorControlId The control ancestor id
|
|
1028
1033
|
*
|
|
1029
|
-
* @returns {boolean} Returns whether an
|
|
1034
|
+
* @returns {boolean} Returns whether an related ancestor could be found.
|
|
1030
1035
|
*/
|
|
1031
1036
|
Engine.prototype.hasControlAncestorWithId = function(sControlId, sAncestorControlId) {
|
|
1032
1037
|
var oControl;
|
|
@@ -1067,13 +1072,13 @@ sap.ui.define([
|
|
|
1067
1072
|
|
|
1068
1073
|
/**
|
|
1069
1074
|
* This method can be used to get the active p13n state of a registered Control.
|
|
1070
|
-
* E.g. the method will return the key of the
|
|
1075
|
+
* E.g. the method will return the key of the controller that is currently being
|
|
1071
1076
|
* used to display a p13n UI.
|
|
1072
1077
|
*
|
|
1073
1078
|
* @private
|
|
1074
1079
|
* @param {string|sap.ui.core.Control} vControl The control ID or instance
|
|
1075
1080
|
*
|
|
1076
|
-
* @returns {boolean} The
|
|
1081
|
+
* @returns {boolean} The related flag is the Control has an open P13n container
|
|
1077
1082
|
*/
|
|
1078
1083
|
Engine.prototype.hasActiveP13n = function(vControl) {
|
|
1079
1084
|
return !!this._getRegistryEntry(vControl).activeP13n;
|
|
@@ -1081,13 +1086,13 @@ sap.ui.define([
|
|
|
1081
1086
|
|
|
1082
1087
|
/**
|
|
1083
1088
|
* This method can be used to set the active p13n state of a registered Control.
|
|
1084
|
-
* E.g. the method will return the key of the
|
|
1089
|
+
* E.g. the method will return the key of the controller that is currently being
|
|
1085
1090
|
* used to display a p13n UI.
|
|
1086
1091
|
*
|
|
1087
1092
|
* @private
|
|
1088
1093
|
*
|
|
1089
1094
|
* @param {sap.ui.core.Control} vControl The registered control instance.
|
|
1090
|
-
* @param {string} sKey The registered key to get the corresponding
|
|
1095
|
+
* @param {string} sKey The registered key to get the corresponding controller.
|
|
1091
1096
|
*/
|
|
1092
1097
|
Engine.prototype.setActiveP13n = function(vControl, sKey) {
|
|
1093
1098
|
this._getRegistryEntry(vControl).activeP13n = sKey;
|
|
@@ -1095,13 +1100,13 @@ sap.ui.define([
|
|
|
1095
1100
|
|
|
1096
1101
|
/**
|
|
1097
1102
|
* Triggers a validation for a certain controller - The method will create a
|
|
1098
|
-
* MessageStrip and place it on the
|
|
1103
|
+
* MessageStrip and place it on the related oP13nUI. The BaseController needs
|
|
1099
1104
|
* to implement <code>BaseController#validateP13n</code>.
|
|
1100
1105
|
*
|
|
1101
1106
|
* @private
|
|
1102
1107
|
*
|
|
1103
1108
|
* @param {sap.ui.core.Control} vControl The registered control instance.
|
|
1104
|
-
* @param {string} sKey The registered key to get the corresponding
|
|
1109
|
+
* @param {string} sKey The registered key to get the corresponding controller.
|
|
1105
1110
|
* @param {sap.ui.core.Control} oP13nUI The adaptation UI displayed in the container (e.g. BasePanel derivation).
|
|
1106
1111
|
*/
|
|
1107
1112
|
Engine.prototype.validateP13n = function(vControl, sKey, oP13nUI) {
|
|
@@ -13,16 +13,15 @@ sap.ui.define([
|
|
|
13
13
|
*
|
|
14
14
|
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
15
15
|
* @param {object} [mSettings] Initial settings for the new control
|
|
16
|
-
* @param {sap.ui.core.Control} mSettings.control The control instance
|
|
16
|
+
* @param {sap.ui.core.Control} mSettings.control The control instance that is personalized by this controller
|
|
17
17
|
*
|
|
18
18
|
* @class
|
|
19
|
-
* The <code>GroupController</code> serves as base class to create
|
|
19
|
+
* The <code>GroupController</code> entity serves as a base class to create group-specific personalization implementations.
|
|
20
20
|
*
|
|
21
21
|
* @extends sap.ui.base.Object
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
25
|
-
*
|
|
24
|
+
* @version 1.107.0
|
|
26
25
|
* @public
|
|
27
26
|
* @experimental
|
|
28
27
|
* @since 1.104
|
|
@@ -9,6 +9,14 @@ sap.ui.define([
|
|
|
9
9
|
], function (BaseObject) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The <code>MetadataHelper</code> entity offers utility functionality for providing service metadata during the <code>Engine#register</code> process.
|
|
14
|
+
*
|
|
15
|
+
* @author SAP SE
|
|
16
|
+
* @public
|
|
17
|
+
* @experimental Since 1.104.
|
|
18
|
+
* @alias sap.m.p13n.MetadataHelper
|
|
19
|
+
*/
|
|
12
20
|
var MetadataHelper = BaseObject.extend("sap.m.p13n.MetadataHelper", {
|
|
13
21
|
constructor: function(aProperties) {
|
|
14
22
|
BaseObject.apply(this, arguments);
|
package/src/sap/m/p13n/Popup.js
CHANGED
|
@@ -10,8 +10,9 @@ sap.ui.define([
|
|
|
10
10
|
'sap/base/util/merge',
|
|
11
11
|
'sap/base/util/deepEqual',
|
|
12
12
|
'sap/m/p13n/SelectionPanel',
|
|
13
|
-
'sap/m/p13n/modules/xConfigAPI'
|
|
14
|
-
|
|
13
|
+
'sap/m/p13n/modules/xConfigAPI',
|
|
14
|
+
'sap/ui/core/Configuration'
|
|
15
|
+
], function (diff, BaseObject, merge, deepEqual, SelectionPanel, xConfigAPI, Configuration) {
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -19,16 +20,16 @@ sap.ui.define([
|
|
|
19
20
|
*
|
|
20
21
|
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
21
22
|
* @param {object} [mSettings] Initial settings for the new control
|
|
22
|
-
* @param {sap.ui.core.Control} mSettings.control The control instance
|
|
23
|
-
* @param {string} mSettings.targetAggregation The name of the
|
|
23
|
+
* @param {sap.ui.core.Control} mSettings.control The control instance that is personalized by this controller
|
|
24
|
+
* @param {string} mSettings.targetAggregation The name of the aggregation that is now managed by this controller
|
|
24
25
|
*
|
|
25
26
|
* @class
|
|
26
|
-
* The <code>SelectionController</code> serves as base class to create control
|
|
27
|
+
* The <code>SelectionController</code> entity serves as a base class to create control-specific personalization implementations.
|
|
27
28
|
*
|
|
28
29
|
* @extends sap.ui.base.Object
|
|
29
30
|
*
|
|
30
31
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
32
|
+
* @version 1.107.0
|
|
32
33
|
*
|
|
33
34
|
* @public
|
|
34
35
|
* @experimental Since 1.104. Please note that the API of this control is not yet finalized!
|
|
@@ -508,7 +509,7 @@ sap.ui.define([
|
|
|
508
509
|
var sPositionAttribute = mP13nTypeSorting.position;
|
|
509
510
|
var sSelectedAttribute = mP13nTypeSorting.visible;
|
|
510
511
|
|
|
511
|
-
var sLocale =
|
|
512
|
+
var sLocale = Configuration.getLocale().toString();
|
|
512
513
|
|
|
513
514
|
var oCollator = window.Intl.Collator(sLocale, {});
|
|
514
515
|
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* @extends sap.m.p13n.BasePanel
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.107.0
|
|
52
52
|
*
|
|
53
53
|
* @public
|
|
54
54
|
* @experimental Since 1.96.
|
|
@@ -130,7 +130,7 @@ sap.ui.define([
|
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
SelectionPanel.prototype._getListTemplate = function() {
|
|
133
|
-
|
|
133
|
+
var oColumnListItem = new ColumnListItem({
|
|
134
134
|
selected: "{" + this.P13N_MODEL + ">" + this.PRESENCE_ATTRIBUTE + "}",
|
|
135
135
|
type: ListType.Active,
|
|
136
136
|
cells: [
|
|
@@ -161,24 +161,40 @@ sap.ui.define([
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
}),
|
|
165
|
-
// The active status is visiually represented as dot icon in the tabular view, for the screen reader it needs to be ensured
|
|
166
|
-
// that a similar information is available without the UI. This InvisibleText will provide a text in the screen reader as:
|
|
167
|
-
// "Active Field is active" & "Active Field is inactive"
|
|
168
|
-
new InvisibleText({
|
|
169
|
-
text: {
|
|
170
|
-
path: this.P13N_MODEL + ">active",
|
|
171
|
-
formatter: function(bactive) {
|
|
172
|
-
return bactive ? this._getResourceText("p13n.ACTIVESTATE_ACTIVE") : this._getResourceText("p13n.ACTIVESTATE_INACTIVE");
|
|
173
|
-
}.bind(this)
|
|
174
|
-
}
|
|
175
164
|
})
|
|
176
165
|
]
|
|
177
166
|
})
|
|
178
167
|
]
|
|
179
168
|
});
|
|
169
|
+
|
|
170
|
+
if (this.getActiveColumn()) {
|
|
171
|
+
// The active status is visiually represented as dot icon in the tabular view, for the screen reader it needs to be ensured
|
|
172
|
+
// that a similar information is available without the UI. This InvisibleText will provide a text in the screen reader as:
|
|
173
|
+
// "Active Field is active" & "Active Field is inactive" --> this should only be done in case the active column is being used
|
|
174
|
+
var oActiveTextOutput = new InvisibleText({
|
|
175
|
+
text: {
|
|
176
|
+
path: this.P13N_MODEL + ">active",
|
|
177
|
+
formatter: function(bactive) {
|
|
178
|
+
return bactive ? this._getResourceText("p13n.ACTIVESTATE_ACTIVE") : this._getResourceText("p13n.ACTIVESTATE_INACTIVE");
|
|
179
|
+
}.bind(this)
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
oColumnListItem.getCells()[1].addItem(oActiveTextOutput);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return oColumnListItem;
|
|
180
187
|
};
|
|
181
188
|
|
|
189
|
+
SelectionPanel.prototype.setActiveColumn = function(sActiveText) {
|
|
190
|
+
this.setProperty("activeColumn", sActiveText);
|
|
191
|
+
this._setTemplate(this._getListTemplate()); //recreate template since its depending on this property
|
|
192
|
+
this._displayColumns();//update header texts in Table columns
|
|
193
|
+
return this;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
182
198
|
SelectionPanel.prototype.setShowHeader = function(bShowHeader) {
|
|
183
199
|
if (bShowHeader){
|
|
184
200
|
var sShowSelected = this._getResourceText("p13n.SHOW_SELECTED");
|