@openui5/sap.m 1.138.0 → 1.140.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/README.md +1 -1
- package/REUSE.toml +8 -1
- package/THIRDPARTY.txt +72 -66
- package/package.json +5 -5
- 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 +2 -4
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +10 -8
- package/src/sap/m/AvatarBadgeColor.js +63 -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 +5 -4
- package/src/sap/m/Carousel.js +2 -2
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnListItem.js +24 -5
- package/src/sap/m/ColumnListItemRenderer.js +0 -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/ContentConfig.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 +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +3 -0
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +6 -2
- 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 +65 -16
- package/src/sap/m/FeedInputRenderer.js +7 -0
- 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 +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -2
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +4 -2
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -2
- package/src/sap/m/ListItemAction.js +1 -1
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +1 -1
- package/src/sap/m/ListRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +146 -20
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +40 -6
- package/src/sap/m/MenuWrapperRenderer.js +21 -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 +11 -33
- 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 +102 -4
- package/src/sap/m/MultiComboBox.js +9 -8
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +16 -7
- 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 +19 -11
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +13 -1
- package/src/sap/m/ObjectNumberRenderer.js +13 -4
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +1 -1
- package/src/sap/m/OverflowToolbar.js +21 -8
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/OverflowToolbarTokenizer.js +311 -0
- package/src/sap/m/OverflowToolbarTokenizerRenderer.js +84 -0
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +75 -35
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +100 -229
- package/src/sap/m/PlanningCalendarHeader.js +37 -17
- 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 +35 -10
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +23 -26
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +88 -3
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +22 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectRenderer.js +4 -52
- 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 +2 -3
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +12 -3
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -0
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -2
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +8 -0
- 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 +4 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +2 -4
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitButtonRenderer.js +8 -6
- 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 -2
- 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 +7 -3
- 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 +5 -1
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +2 -2
- 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/TileInfo.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 +1 -1
- package/src/sap/m/Tokenizer.js +61 -28
- package/src/sap/m/TokenizerRenderer.js +28 -14
- package/src/sap/m/Toolbar.js +14 -8
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +2 -2
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +5 -5
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Page.designtime.js +13 -1
- package/src/sap/m/i18n/interaction.xml +2 -2
- package/src/sap/m/i18n/interaction_ar.xml +11 -11
- package/src/sap/m/i18n/interaction_bg.xml +1 -1
- package/src/sap/m/i18n/interaction_ca.xml +1 -1
- package/src/sap/m/i18n/interaction_cnr.xml +1 -1
- package/src/sap/m/i18n/interaction_cs.xml +4 -4
- package/src/sap/m/i18n/interaction_cy.xml +1 -1
- package/src/sap/m/i18n/interaction_da.xml +1 -1
- package/src/sap/m/i18n/interaction_de.xml +1 -1
- package/src/sap/m/i18n/interaction_el.xml +1 -1
- package/src/sap/m/i18n/interaction_en.xml +1 -1
- package/src/sap/m/i18n/interaction_en_GB.xml +1 -1
- package/src/sap/m/i18n/interaction_en_US_saprigi.xml +1 -1
- package/src/sap/m/i18n/interaction_es.xml +1 -1
- package/src/sap/m/i18n/interaction_es_MX.xml +1 -1
- package/src/sap/m/i18n/interaction_et.xml +1 -1
- package/src/sap/m/i18n/interaction_fi.xml +1 -1
- package/src/sap/m/i18n/interaction_fr.xml +1 -1
- package/src/sap/m/i18n/interaction_fr_CA.xml +1 -1
- package/src/sap/m/i18n/interaction_hi.xml +1 -1
- package/src/sap/m/i18n/interaction_hr.xml +1 -1
- package/src/sap/m/i18n/interaction_hu.xml +1 -1
- package/src/sap/m/i18n/interaction_id.xml +1 -1
- package/src/sap/m/i18n/interaction_it.xml +1 -1
- package/src/sap/m/i18n/interaction_iw.xml +9 -9
- package/src/sap/m/i18n/interaction_ja.xml +1 -1
- package/src/sap/m/i18n/interaction_kk.xml +3 -3
- package/src/sap/m/i18n/interaction_ko.xml +1 -1
- package/src/sap/m/i18n/interaction_lt.xml +1 -1
- package/src/sap/m/i18n/interaction_lv.xml +1 -1
- package/src/sap/m/i18n/interaction_mk.xml +1 -1
- package/src/sap/m/i18n/interaction_ms.xml +1 -1
- package/src/sap/m/i18n/interaction_nl.xml +1 -1
- package/src/sap/m/i18n/interaction_no.xml +1 -1
- package/src/sap/m/i18n/interaction_pl.xml +1 -1
- package/src/sap/m/i18n/interaction_pt.xml +1 -1
- package/src/sap/m/i18n/interaction_pt_PT.xml +1 -1
- package/src/sap/m/i18n/interaction_ro.xml +1 -1
- package/src/sap/m/i18n/interaction_ru.xml +1 -1
- package/src/sap/m/i18n/interaction_sh.xml +1 -1
- package/src/sap/m/i18n/interaction_sk.xml +1 -1
- package/src/sap/m/i18n/interaction_sl.xml +1 -1
- package/src/sap/m/i18n/interaction_sr.xml +1 -1
- package/src/sap/m/i18n/interaction_sv.xml +1 -1
- package/src/sap/m/i18n/interaction_th.xml +2 -2
- package/src/sap/m/i18n/interaction_tr.xml +1 -1
- package/src/sap/m/i18n/interaction_uk.xml +1 -1
- package/src/sap/m/i18n/interaction_vi.xml +1 -1
- package/src/sap/m/i18n/interaction_zh_CN.xml +1 -1
- package/src/sap/m/i18n/interaction_zh_TW.xml +1 -1
- package/src/sap/m/library.js +57 -7
- package/src/sap/m/library.support.js +3 -0
- package/src/sap/m/messagebundle.properties +15 -9
- package/src/sap/m/messagebundle_ar.properties +9 -5
- package/src/sap/m/messagebundle_bg.properties +8 -4
- package/src/sap/m/messagebundle_ca.properties +10 -6
- package/src/sap/m/messagebundle_cnr.properties +8 -4
- package/src/sap/m/messagebundle_cs.properties +12 -8
- package/src/sap/m/messagebundle_cy.properties +8 -4
- package/src/sap/m/messagebundle_da.properties +8 -4
- package/src/sap/m/messagebundle_de.properties +13 -9
- package/src/sap/m/messagebundle_el.properties +8 -4
- package/src/sap/m/messagebundle_en.properties +8 -4
- package/src/sap/m/messagebundle_en_GB.properties +8 -4
- package/src/sap/m/messagebundle_en_US_saprigi.properties +16 -12
- package/src/sap/m/messagebundle_es.properties +10 -6
- package/src/sap/m/messagebundle_es_MX.properties +9 -5
- package/src/sap/m/messagebundle_et.properties +8 -4
- package/src/sap/m/messagebundle_fi.properties +9 -5
- package/src/sap/m/messagebundle_fr.properties +10 -6
- package/src/sap/m/messagebundle_fr_CA.properties +8 -4
- package/src/sap/m/messagebundle_hi.properties +8 -4
- package/src/sap/m/messagebundle_hr.properties +8 -4
- package/src/sap/m/messagebundle_hu.properties +10 -6
- package/src/sap/m/messagebundle_id.properties +46 -42
- package/src/sap/m/messagebundle_it.properties +8 -4
- package/src/sap/m/messagebundle_iw.properties +8 -4
- package/src/sap/m/messagebundle_ja.properties +8 -4
- package/src/sap/m/messagebundle_kk.properties +11 -7
- package/src/sap/m/messagebundle_ko.properties +10 -6
- package/src/sap/m/messagebundle_lt.properties +8 -4
- package/src/sap/m/messagebundle_lv.properties +8 -4
- package/src/sap/m/messagebundle_mk.properties +8 -4
- package/src/sap/m/messagebundle_ms.properties +8 -4
- package/src/sap/m/messagebundle_nl.properties +8 -4
- package/src/sap/m/messagebundle_no.properties +8 -4
- package/src/sap/m/messagebundle_pl.properties +10 -6
- package/src/sap/m/messagebundle_pt.properties +8 -4
- package/src/sap/m/messagebundle_pt_PT.properties +8 -4
- package/src/sap/m/messagebundle_ro.properties +8 -4
- package/src/sap/m/messagebundle_ru.properties +10 -6
- package/src/sap/m/messagebundle_sh.properties +8 -4
- package/src/sap/m/messagebundle_sk.properties +9 -5
- package/src/sap/m/messagebundle_sl.properties +8 -4
- package/src/sap/m/messagebundle_sr.properties +8 -4
- package/src/sap/m/messagebundle_sv.properties +8 -4
- package/src/sap/m/messagebundle_th.properties +8 -4
- package/src/sap/m/messagebundle_tr.properties +8 -4
- package/src/sap/m/messagebundle_uk.properties +8 -4
- package/src/sap/m/messagebundle_vi.properties +10 -6
- package/src/sap/m/messagebundle_zh_CN.properties +9 -5
- package/src/sap/m/messagebundle_zh_TW.properties +8 -4
- 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 +34 -10
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +58 -2
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MessageStrip.js +1 -1
- 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 +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +6 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +18 -6
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +2 -22
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +4 -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/plugins/UploadSetwithTable.js +119 -2
- package/src/sap/m/routing/Router.js +20 -6
- package/src/sap/m/rules/IllustratedMessage.support.js +126 -0
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ColumnWidthController.js +1 -1
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +8 -2
- package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
- 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 +10 -4
- package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -19
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +10 -4
- package/src/sap/m/themes/base/Avatar.less +29 -5
- package/src/sap/m/themes/base/Button.less +4 -8
- package/src/sap/m/themes/base/Carousel.less +1 -1
- package/src/sap/m/themes/base/CheckBox.less +5 -3
- package/src/sap/m/themes/base/FeedInput.less +17 -0
- package/src/sap/m/themes/base/GenericTile.less +23 -7
- package/src/sap/m/themes/base/IconTabBar.less +4 -5
- package/src/sap/m/themes/base/Illustration.less +4 -0
- package/src/sap/m/themes/base/InputBase.less +12 -0
- package/src/sap/m/themes/base/Link.less +10 -2
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -2
- package/src/sap/m/themes/base/ObjectStatus.less +2 -0
- package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +80 -0
- package/src/sap/m/themes/base/RadioButton.less +38 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +5 -0
- package/src/sap/m/themes/base/SlideTile.less +6 -0
- package/src/sap/m/themes/base/SplitContainer.less +0 -1
- package/src/sap/m/themes/base/SuggestionsPopover.less +6 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +69 -69
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +48 -48
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +40 -40
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +39 -39
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +25 -25
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddPeople.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BalloonSky.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Connection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ErrorScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-FilterTable.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-GroupTable.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail_v1.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks_v1.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ReloadScreen.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +24 -24
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchEarth.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchFolder.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBalloon.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCalendar.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCheckMark.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleConnection.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyList.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleError.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMagnifier.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMail.svg +7 -7
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +8 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleReload.svg +6 -6
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleTask.svg +10 -10
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SleepingBell.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SortColumn.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessHighFive.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessScreen.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Tent.svg +5 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +4 -4
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +80 -80
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +54 -54
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +36 -36
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +70 -70
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +52 -52
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +33 -33
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +20 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +51 -51
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +34 -34
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +41 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +49 -49
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +71 -71
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +37 -37
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +2 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +17 -17
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +44 -44
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +26 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +19 -19
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +28 -28
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UserHasSignedUp.svg +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/base_Carousel.less +1 -1
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +2 -2
- package/src/sap/m/upload/UploadItem.js +8 -2
- package/src/sap/m/upload/UploadItemConfiguration.js +34 -2
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +62 -6
- package/src/sap/m/ColumnHeaderPopover.js +0 -233
- package/src/sap/m/ColumnPopoverActionItem.js +0 -71
- package/src/sap/m/ColumnPopoverCustomItem.js +0 -94
- package/src/sap/m/ColumnPopoverItem.js +0 -39
- package/src/sap/m/ColumnPopoverSelectListItem.js +0 -147
- package/src/sap/m/ColumnPopoverSortItem.js +0 -147
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* @extends sap.ui.core.Control
|
|
83
83
|
*
|
|
84
84
|
* @author SAP SE
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.140.0
|
|
86
86
|
*
|
|
87
87
|
* @public
|
|
88
88
|
* @abstract
|
|
@@ -721,28 +721,52 @@ sap.ui.define([
|
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
723
|
|
|
724
|
+
function flattenFilters(aFilters) {
|
|
725
|
+
return aFilters.reduce((aResult, oFilter) => {
|
|
726
|
+
const aFilters = oFilter.getFilters();
|
|
727
|
+
if (aFilters) {
|
|
728
|
+
aResult.push(...flattenFilters(aFilters));
|
|
729
|
+
} else {
|
|
730
|
+
aResult.push(oFilter);
|
|
731
|
+
}
|
|
732
|
+
return aResult;
|
|
733
|
+
}, []);
|
|
734
|
+
}
|
|
735
|
+
|
|
724
736
|
BasePanel.prototype._onSelectionChange = function(oEvent) {
|
|
725
737
|
|
|
726
738
|
const oSelectedItem = oEvent.getParameter("listItem");
|
|
727
739
|
this._oLastSelectedItem = oSelectedItem;
|
|
728
740
|
const aListItems = oEvent.getParameter("listItems");
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
aListItems.forEach(function(oTableItem) {
|
|
732
|
-
this._selectTableItem(oTableItem, !!sSpecialChangeReason);
|
|
733
|
-
}, this);
|
|
741
|
+
let sSpecialChangeReason = this._checkSpecialChangeReason(oEvent.getParameter("selectAll"), oEvent.getParameter("listItems"));
|
|
734
742
|
|
|
735
743
|
if (sSpecialChangeReason) {
|
|
744
|
+
let aModelItems = [];
|
|
745
|
+
if (sSpecialChangeReason === this.CHANGE_REASON_DESELECTALL || sSpecialChangeReason === this.CHANGE_REASON_SELECTALL) {
|
|
746
|
+
const aFilters = flattenFilters(this._oListControl.getBinding("items").getFilters("Control"));
|
|
747
|
+
const oFilter = aFilters?.find((oFilter) => oFilter.getPath() === "label");
|
|
748
|
+
|
|
749
|
+
aModelItems = this.getP13nData().filter((oItem) => oFilter?.getTest()(oItem.label.toUpperCase()) ?? true).map((oItem) => {
|
|
750
|
+
oItem[this.PRESENCE_ATTRIBUTE] = sSpecialChangeReason === this.CHANGE_REASON_SELECTALL;
|
|
751
|
+
return oItem;
|
|
752
|
+
});
|
|
736
753
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
754
|
+
if (aModelItems.length !== this.getP13nData().length) {
|
|
755
|
+
// This case will happen, if the user filtered the list and then selects/deselects all items. This should then be treated as RangeSelect instead of SelectAll/DeselectAll
|
|
756
|
+
sSpecialChangeReason = this.CHANGE_REASON_RANGESELECT;
|
|
757
|
+
}
|
|
758
|
+
} else {
|
|
759
|
+
aModelItems = aListItems.map((oTableItem) => this._getModelEntry(oTableItem));
|
|
760
|
+
}
|
|
741
761
|
|
|
742
762
|
this.fireChange({
|
|
743
763
|
reason: sSpecialChangeReason,
|
|
744
764
|
item: aModelItems
|
|
745
765
|
});
|
|
766
|
+
} else {
|
|
767
|
+
aListItems.forEach(function(oTableItem) {
|
|
768
|
+
this._selectTableItem(oTableItem, !!sSpecialChangeReason);
|
|
769
|
+
}, this);
|
|
746
770
|
}
|
|
747
771
|
|
|
748
772
|
// in case of 'deselect all', the move buttons for positioning are going to be disabled
|
package/src/sap/m/p13n/Engine.js
CHANGED
|
@@ -71,7 +71,7 @@ sap.ui.define([
|
|
|
71
71
|
* @alias sap.m.p13n.Engine
|
|
72
72
|
* @extends sap.m.p13n.modules.AdaptationProvider
|
|
73
73
|
* @author SAP SE
|
|
74
|
-
* @version 1.
|
|
74
|
+
* @version 1.140.0
|
|
75
75
|
* @public
|
|
76
76
|
* @since 1.104
|
|
77
77
|
*/
|
|
@@ -239,13 +239,69 @@ sap.ui.define([
|
|
|
239
239
|
return oDialog.getParent();
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
+
/**
|
|
243
|
+
* The state for changes of the <code>SelectionController</code>.
|
|
244
|
+
*
|
|
245
|
+
* @typedef {object} module:sap/m/p13n/Engine$StateChangeEventSelectionState
|
|
246
|
+
* @property {string} key The key of the item affected
|
|
247
|
+
* @public
|
|
248
|
+
* @since 1.140.0
|
|
249
|
+
*/
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* The state for changes of the <code>SortController</code>.
|
|
253
|
+
*
|
|
254
|
+
* @typedef {object} module:sap/m/p13n/Engine$StateChangeEventSortState
|
|
255
|
+
* @property {string} key The key of the affected sort order
|
|
256
|
+
* @property {number} index The position of the sort order
|
|
257
|
+
* @property {boolean} descending Indicates whether the sort order is descending
|
|
258
|
+
* @public
|
|
259
|
+
* @since 1.140.0
|
|
260
|
+
*/
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* The state for changes of the <code>GroupController</code>.
|
|
264
|
+
*
|
|
265
|
+
* @typedef {object} module:sap/m/p13n/Engine$StateChangeEventGroupState
|
|
266
|
+
* @property {string} key The key of the affected group order
|
|
267
|
+
* @property {number} index The position of the group order
|
|
268
|
+
* @public
|
|
269
|
+
* @since 1.140.0
|
|
270
|
+
*/
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The state for changes of the <code>FilterController</code>.
|
|
274
|
+
* The keys of the object are the filter keys used in the <code>Engine</code> registration. The values are arrays of {@link sap.ui.mdc.condition.ConditionObject ConditionObject}.
|
|
275
|
+
*
|
|
276
|
+
* @typedef {Object<string, sap.m.p13n.FilterStateItem[]>} module:sap/m/p13n/Engine$StateChangeEventFilterState
|
|
277
|
+
* @public
|
|
278
|
+
* @since 1.140.0
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* The personalization state change event.
|
|
283
|
+
*
|
|
284
|
+
* @typedef {object} module:sap/m/p13n/Engine$StateChangeEvent
|
|
285
|
+
* @property {sap.ui.core.Control} [control] Control for which the state change event was fired.
|
|
286
|
+
* @property {Object<string, Array<module:sap/m/p13n/Engine$StateChangeEventSelectionState> | Array<module:sap/m/p13n/Engine$StateChangeEventSortState> | Array<module:sap/m/p13n/Engine$StateChangeEventGroupState> | Array<module:sap/m/p13n/Engine$StateChangeEventFilterState> | Array<any> >} [state] Changed (delta) state of the control. The keys of the object refer to the controller keys used in the <code>Engine</code> registration. The values can be an array of any of the following types:
|
|
287
|
+
* <ul>
|
|
288
|
+
* <li>{@link module:sap/m/p13n/Engine$StateChangeEventSelectionState StateChangeEventSelectionState}</li>
|
|
289
|
+
* <li>{@link module:sap/m/p13n/Engine$StateChangeEventSortState StateChangeEventSortState}</li>
|
|
290
|
+
* <li>{@link module:sap/m/p13n/Engine$StateChangeEventGroupState StateChangeEventGroupState}</li>
|
|
291
|
+
* <li>{@link module:sap/m/p13n/Engine$StateChangeEventFilterState StateChangeEventFilterState}</li>
|
|
292
|
+
* <li>Custom controller state definitions</li>
|
|
293
|
+
* </ul>
|
|
294
|
+
* @public
|
|
295
|
+
* @since 1.140.0
|
|
296
|
+
*/
|
|
297
|
+
|
|
242
298
|
/**
|
|
243
299
|
* Attaches an event handler to the <code>StateHandlerRegistry</code> class.
|
|
244
300
|
* The event handler is fired every time a user triggers a personalization change for a control instance during runtime.
|
|
245
301
|
*
|
|
246
302
|
* @public
|
|
247
303
|
*
|
|
248
|
-
* @param {function(sap
|
|
304
|
+
* @param {function(module:sap/m/p13n/Engine$StateChangeEvent):void} fnStateEventHandler The handler function to call when the event occurs
|
|
249
305
|
* @param {object} [oListener] The context object to call the event handler with (value of <code>this</code> in the event handler function).
|
|
250
306
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
251
307
|
*/
|
package/src/sap/m/p13n/Popup.js
CHANGED
|
@@ -83,7 +83,7 @@ sap.ui.define([
|
|
|
83
83
|
* @extends sap.m.p13n.BasePanel
|
|
84
84
|
*
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.140.0
|
|
87
87
|
*
|
|
88
88
|
* @public
|
|
89
89
|
* @since 1.96
|
|
@@ -760,6 +760,11 @@ sap.ui.define([
|
|
|
760
760
|
this.getModel(this.LOCALIZATION_MODEL).setProperty("/fieldColumn", this._getResourceText("p13n.DEFAULT_DESCRIPTION"));
|
|
761
761
|
};
|
|
762
762
|
|
|
763
|
+
SelectionPanel.prototype._onSelectionChange = function(oEvent) {
|
|
764
|
+
BasePanel.prototype._onSelectionChange.apply(this, arguments);
|
|
765
|
+
this._updateCount();
|
|
766
|
+
};
|
|
767
|
+
|
|
763
768
|
SelectionPanel.prototype.exit = function() {
|
|
764
769
|
BasePanel.prototype.exit.apply(this, arguments);
|
|
765
770
|
this._aInitializedFields = null;
|
|
@@ -80,10 +80,13 @@ sap.ui.define([
|
|
|
80
80
|
const oAppComponent = mPropertyBag ? mPropertyBag.appComponent : undefined;
|
|
81
81
|
|
|
82
82
|
let pDelete = Promise.resolve();
|
|
83
|
-
if (oXConfig
|
|
83
|
+
if (oXConfig) {
|
|
84
84
|
pDelete = oModifier.removeAggregation(oControl, "customData", oXConfig)
|
|
85
85
|
.then(() => {
|
|
86
|
-
|
|
86
|
+
if (oControl.isA) {
|
|
87
|
+
return oModifier.destroy(oXConfig);
|
|
88
|
+
}
|
|
89
|
+
return Promise.resolve();
|
|
87
90
|
});
|
|
88
91
|
}
|
|
89
92
|
|
|
@@ -10,8 +10,9 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/events/KeyCodes",
|
|
11
11
|
"sap/ui/core/Element",
|
|
12
12
|
"sap/m/library",
|
|
13
|
+
"sap/ui/core/Lib",
|
|
13
14
|
"sap/ui/core/InvisibleRenderer"
|
|
14
|
-
], function (PluginBase, Localization, deepEqual, KeyCodes, Element, library, InvisibleRenderer) {
|
|
15
|
+
], function (PluginBase, Localization, deepEqual, KeyCodes, Element, library, Lib, InvisibleRenderer) {
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
const ListMode = library.ListMode;
|
|
@@ -63,7 +64,7 @@ sap.ui.define([
|
|
|
63
64
|
* </ul>
|
|
64
65
|
*
|
|
65
66
|
* @extends sap.ui.core.Element
|
|
66
|
-
* @version 1.
|
|
67
|
+
* @version 1.140.0
|
|
67
68
|
* @author SAP SE
|
|
68
69
|
*
|
|
69
70
|
* @public
|
|
@@ -249,14 +250,14 @@ sap.ui.define([
|
|
|
249
250
|
return;
|
|
250
251
|
}
|
|
251
252
|
|
|
252
|
-
|
|
253
|
-
|
|
253
|
+
const oSelectableCell = this._getSelectableCell(oEvent.target);
|
|
254
254
|
if (!oSelectableCell) {
|
|
255
255
|
return;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
const oInfo = this.getConfig("getCellInfo", this.getControl(), oSelectableCell, this._oPreviousCell);
|
|
259
259
|
this._bMouseDown = true;
|
|
260
|
+
this._oMouseSource = Element.closestTo(oEvent.target);
|
|
260
261
|
|
|
261
262
|
if (oEvent.shiftKey) {
|
|
262
263
|
if (this._oPreviousCell?.rowIndex !== oInfo.rowIndex || this._oPreviousCell?.colIndex !== oInfo.colIndex) {
|
|
@@ -282,6 +283,7 @@ sap.ui.define([
|
|
|
282
283
|
clearTimeout(this._iTimer);
|
|
283
284
|
this._bMouseDown = false;
|
|
284
285
|
this._bBorderDown = false;
|
|
286
|
+
this._oMouseSource = null;
|
|
285
287
|
this._mClickedCell = undefined;
|
|
286
288
|
this._bScrolling = false;
|
|
287
289
|
this._mTempCell = undefined;
|
|
@@ -646,7 +648,7 @@ sap.ui.define([
|
|
|
646
648
|
}
|
|
647
649
|
|
|
648
650
|
var oSelectableCell = this._getSelectableCell(oEvent.target);
|
|
649
|
-
if (!oSelectableCell || !this._bMouseDown) {
|
|
651
|
+
if (!oSelectableCell || !this._bMouseDown || this._oMouseSource?.isA("sap.m.InputBase")) {
|
|
650
652
|
// Selection logic should not execute if mouse is not down or target is not a cell
|
|
651
653
|
return;
|
|
652
654
|
}
|
|
@@ -1182,10 +1184,20 @@ sap.ui.define([
|
|
|
1182
1184
|
onActivate: function(oTable, oPlugin) {
|
|
1183
1185
|
oTable.attachEvent("_change", oPlugin, this._onPropertyChange);
|
|
1184
1186
|
oTable.attachEvent("EventHandlerChange", oPlugin, this._onEventHandlerChange);
|
|
1187
|
+
|
|
1188
|
+
this._getSelectionTexts = oTable._getAccExtension().getSelectionTexts;
|
|
1189
|
+
oTable._getAccExtension().getSelectionTexts = function() {
|
|
1190
|
+
return {
|
|
1191
|
+
rowSelect: Lib.getResourceBundleFor("sap.ui.table").getText("TBL_ROW_SELECT_KEY_ALTERNATIVE"),
|
|
1192
|
+
rowDeselect: Lib.getResourceBundleFor("sap.ui.table").getText("TBL_ROW_DESELECT_KEY_ALTERNATIVE")
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1185
1195
|
},
|
|
1186
1196
|
onDeactivate: function(oTable, oPlugin) {
|
|
1187
1197
|
oTable.detachEvent("_change", this._onPropertyChange);
|
|
1188
1198
|
oTable.detachEvent("EventHandlerChange", this._onEventHandlerChange);
|
|
1199
|
+
|
|
1200
|
+
oTable._getAccExtension().getSelectionTexts = this._getSelectionTexts;
|
|
1189
1201
|
},
|
|
1190
1202
|
_onPropertyChange: function(oEvent, oPlugin) {
|
|
1191
1203
|
oEvent.getParameter("name") == "selectionBehavior" && oPlugin._onSelectableChange();
|
|
@@ -1437,7 +1449,7 @@ sap.ui.define([
|
|
|
1437
1449
|
}
|
|
1438
1450
|
},
|
|
1439
1451
|
"sap.m.Table": {
|
|
1440
|
-
selectableCells: ".sapMLIBFocusable, .sapMListTblCell, .sapMListTblSubRowCell, .sapMListTblSubCnt",
|
|
1452
|
+
selectableCells: ".sapMLIBFocusable > :not(.sapMListTblHeaderCell), .sapMListTblCell:not(.sapMListTblHeaderCell), .sapMListTblSubRowCell, .sapMListTblSubCnt",
|
|
1441
1453
|
scrollArea: "listUl",
|
|
1442
1454
|
eventClearedAll: "sapMTableClearAll",
|
|
1443
1455
|
onActivate: function(oTable, oPlugin) {
|
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/core/Element",
|
|
11
11
|
"sap/ui/core/InvisibleText",
|
|
12
12
|
"sap/ui/Device",
|
|
13
|
-
"sap/m/ColumnPopoverActionItem",
|
|
14
13
|
"sap/m/table/columnmenu/QuickAction",
|
|
15
14
|
"sap/m/table/columnmenu/QuickResize",
|
|
16
15
|
"sap/m/Button",
|
|
@@ -18,7 +17,7 @@ sap.ui.define([
|
|
|
18
17
|
"sap/ui/thirdparty/jquery",
|
|
19
18
|
// jQuery Plugin "aria"
|
|
20
19
|
"sap/ui/dom/jquery/Aria"
|
|
21
|
-
], function(PluginBase, Localization, Element, InvisibleText, Device,
|
|
20
|
+
], function(PluginBase, Localization, Element, InvisibleText, Device, QuickAction, QuickResize, Button, Library, jQuery) {
|
|
22
21
|
"use strict";
|
|
23
22
|
|
|
24
23
|
/**
|
|
@@ -34,7 +33,7 @@ sap.ui.define([
|
|
|
34
33
|
*
|
|
35
34
|
* @extends sap.ui.core.Element
|
|
36
35
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
36
|
+
* @version 1.140.0
|
|
38
37
|
*
|
|
39
38
|
* @public
|
|
40
39
|
* @since 1.91
|
|
@@ -548,25 +547,6 @@ sap.ui.define([
|
|
|
548
547
|
});
|
|
549
548
|
};
|
|
550
549
|
|
|
551
|
-
/**
|
|
552
|
-
* Returns resizer button instance which on press calls the <code>startResizing</code> method.
|
|
553
|
-
* @param {sap.m.Column} oColumn Column instance
|
|
554
|
-
* @returns {sap.m.ColumnPopoverActionItem | undefined} column resize action item
|
|
555
|
-
* @ui5-restricted sap.ui.mdc
|
|
556
|
-
* @private
|
|
557
|
-
*/
|
|
558
|
-
ColumnResizer.prototype.getColumnResizeButton = function(oColumn) {
|
|
559
|
-
if (!oColumn || !ColumnResizer._isInTouchMode()) {
|
|
560
|
-
return;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
return new ColumnPopoverActionItem({
|
|
564
|
-
text: Library.getResourceBundleFor("sap.m").getText("COLUMNRESIZER_RESIZE_BUTTON"),
|
|
565
|
-
icon: "sap-icon://resize-horizontal",
|
|
566
|
-
press: this.startResizing.bind(this, oColumn.getDomRef())
|
|
567
|
-
});
|
|
568
|
-
};
|
|
569
|
-
|
|
570
550
|
ColumnResizer._isInTouchMode = function() {
|
|
571
551
|
return window.matchMedia("(hover:none)").matches;
|
|
572
552
|
};
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class Provides configuration options and an extended behavior for the context menu that is applied to the related control.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.140.0
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.121
|
|
30
30
|
* @alias sap.m.plugins.ContextMenuSetting
|
|
@@ -37,7 +37,7 @@ sap.ui.define(["./PluginBase", "sap/base/Log", "sap/base/strings/formatMessage",
|
|
|
37
37
|
*
|
|
38
38
|
* @extends sap.ui.core.Element
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.140.0
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
* @since 1.110
|
|
@@ -98,6 +98,9 @@ sap.ui.define(["./PluginBase", "sap/base/Log", "sap/base/strings/formatMessage",
|
|
|
98
98
|
* Determines whether unselected rows that are located between the selected rows are copied to the clipboard as an empty row.
|
|
99
99
|
*
|
|
100
100
|
* This can be useful for maintaining the original structure of the data when it is pasted into a new location (e.g. spreadsheets).
|
|
101
|
+
*
|
|
102
|
+
* <b>Note:</b> Sparse copying must not be enabled in combination with <code>sap.ui.table.plugins.ODataV4MultiSelection</code> or the
|
|
103
|
+
* <code>sap.ui.mdc.Table</code> with the <code>sap.ui.mdc.odata.v4.TableDelegate</code>.
|
|
101
104
|
*/
|
|
102
105
|
copySparse: { type: "boolean", defaultValue: false, invalidate: false },
|
|
103
106
|
|
|
@@ -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.140.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.
|