@openui5/sap.m 1.139.0 → 1.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +2 -2
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +2 -4
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +14 -9
- 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 +2 -2
- 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 +36 -5
- package/src/sap/m/ColorPalettePopover.js +5 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnListItem.js +6 -2
- 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 +54 -14
- package/src/sap/m/DateRangeSelection.js +3 -3
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +5 -7
- 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/ExpandableTextRenderer.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexBoxStylingHelper.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 +1 -1
- 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/LabelRenderer.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/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 +2 -2
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.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 +95 -11
- 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 +7 -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 +110 -6
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +3 -3
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +6 -2
- 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 +1 -5
- 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 +31 -135
- 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 +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- 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 +57 -12
- package/src/sap/m/PopoverRenderer.js +4 -0
- 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 +1 -1
- 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 +5 -5
- 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 +34 -9
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +3 -2
- package/src/sap/m/Select.js +88 -3
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/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 +2 -2
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +52 -7
- 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/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +10 -2
- 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 +8 -6
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +19 -2
- 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 +1 -1
- package/src/sap/m/TextRenderer.js +1 -0
- 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 +61 -33
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +10 -3
- 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/TitleRenderer.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 +2 -2
- package/src/sap/m/Toolbar.js +55 -3
- 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 +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/i18n/interaction_ar.xml +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/i18n/interaction_ja.xml +1 -1
- package/src/sap/m/i18n/interaction_kk.xml +1 -1
- 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 +1 -1
- 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 +30 -7
- package/src/sap/m/messagebundle.properties +14 -17
- package/src/sap/m/messagebundle_ar.properties +23 -25
- package/src/sap/m/messagebundle_bg.properties +12 -14
- package/src/sap/m/messagebundle_ca.properties +12 -14
- package/src/sap/m/messagebundle_cnr.properties +12 -14
- package/src/sap/m/messagebundle_cs.properties +15 -17
- package/src/sap/m/messagebundle_cy.properties +12 -14
- package/src/sap/m/messagebundle_da.properties +14 -16
- package/src/sap/m/messagebundle_de.properties +25 -27
- package/src/sap/m/messagebundle_el.properties +12 -14
- package/src/sap/m/messagebundle_en.properties +12 -14
- package/src/sap/m/messagebundle_en_GB.properties +12 -14
- package/src/sap/m/messagebundle_en_US_saprigi.properties +16 -18
- package/src/sap/m/messagebundle_es.properties +13 -15
- package/src/sap/m/messagebundle_es_MX.properties +13 -15
- package/src/sap/m/messagebundle_et.properties +12 -14
- package/src/sap/m/messagebundle_fi.properties +13 -15
- package/src/sap/m/messagebundle_fr.properties +13 -15
- package/src/sap/m/messagebundle_fr_CA.properties +12 -14
- package/src/sap/m/messagebundle_hi.properties +12 -14
- package/src/sap/m/messagebundle_hr.properties +12 -14
- package/src/sap/m/messagebundle_hu.properties +14 -16
- package/src/sap/m/messagebundle_id.properties +50 -52
- package/src/sap/m/messagebundle_it.properties +12 -14
- package/src/sap/m/messagebundle_iw.properties +12 -14
- package/src/sap/m/messagebundle_ja.properties +12 -14
- package/src/sap/m/messagebundle_kk.properties +15 -17
- package/src/sap/m/messagebundle_ko.properties +14 -16
- package/src/sap/m/messagebundle_lt.properties +12 -14
- package/src/sap/m/messagebundle_lv.properties +12 -14
- package/src/sap/m/messagebundle_mk.properties +12 -14
- package/src/sap/m/messagebundle_ms.properties +12 -14
- package/src/sap/m/messagebundle_nl.properties +12 -14
- package/src/sap/m/messagebundle_no.properties +12 -14
- package/src/sap/m/messagebundle_pl.properties +14 -16
- package/src/sap/m/messagebundle_pt.properties +14 -16
- package/src/sap/m/messagebundle_pt_PT.properties +13 -15
- package/src/sap/m/messagebundle_ro.properties +12 -14
- package/src/sap/m/messagebundle_ru.properties +12 -14
- package/src/sap/m/messagebundle_sh.properties +12 -14
- package/src/sap/m/messagebundle_sk.properties +13 -15
- package/src/sap/m/messagebundle_sl.properties +12 -14
- package/src/sap/m/messagebundle_sr.properties +12 -14
- package/src/sap/m/messagebundle_sv.properties +12 -14
- package/src/sap/m/messagebundle_th.properties +12 -14
- package/src/sap/m/messagebundle_tr.properties +12 -14
- package/src/sap/m/messagebundle_uk.properties +12 -14
- package/src/sap/m/messagebundle_vi.properties +14 -16
- package/src/sap/m/messagebundle_zh_CN.properties +12 -14
- package/src/sap/m/messagebundle_zh_TW.properties +12 -14
- 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 +11 -4
- 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/util/diff.js +4 -2
- package/src/sap/m/plugins/CellSelector.js +24 -2
- 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 +6 -3
- 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 +1 -1
- package/src/sap/m/routing/Router.js +20 -6
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionSelect.less +4 -0
- 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 +4 -0
- package/src/sap/m/themes/base/CustomTile.less +4 -0
- package/src/sap/m/themes/base/Dialog.less +5 -1
- package/src/sap/m/themes/base/GenericTile.less +1 -0
- package/src/sap/m/themes/base/IllustratedMessage.less +2 -3
- package/src/sap/m/themes/base/InputBase.less +12 -0
- package/src/sap/m/themes/base/Link.less +8 -2
- package/src/sap/m/themes/base/MessagePage.less +4 -0
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +4 -1
- package/src/sap/m/themes/base/Popover.less +9 -1
- package/src/sap/m/themes/base/RadioButton.less +38 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +4 -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/StandardTile.less +4 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +7 -1
- package/src/sap/m/themes/base/Tile.less +4 -0
- package/src/sap/m/themes/base/TileContainer.less +4 -0
- package/src/sap/m/themes/base/TimePickerClock.less +5 -0
- package/src/sap/m/themes/base/ToggleButton.less +7 -0
- package/src/sap/m/themes/base/UploadCollection.less +4 -0
- package/src/sap/m/themes/base/UploadSet.less +4 -0
- package/src/sap/m/themes/base/Wizard.less +4 -4
- package/src/sap/m/themes/sap_hcb/ActionSelect.less +4 -0
- package/src/sap/m/themes/sap_hcb/CustomTile.less +4 -0
- package/src/sap/m/themes/sap_hcb/Tile.less +4 -0
- package/src/sap/m/themes/sap_hcb/TileContainer.less +4 -0
- package/src/sap/m/themes/sap_hcb/UploadCollection.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_ActionSelect.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_Carousel.less +1 -1
- package/src/sap/m/themes/sap_hcb/base_CustomTile.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_MessagePage.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_OverflowToolbarAssociativePopover.less +4 -1
- package/src/sap/m/themes/sap_hcb/base_StandardTile.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_Tile.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_TileContainer.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_UploadCollection.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_UploadSet.less +4 -0
- 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 +1 -1
- package/src/sap/m/upload/UploadItem.js +1 -1
- package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
- 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 +1 -1
- 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
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
sap.ui.define([
|
|
7
|
-
'sap/ui/core/Control',
|
|
8
|
-
'sap/ui/core/Lib',
|
|
9
|
-
'sap/ui/core/StaticArea',
|
|
10
|
-
'sap/m/Toolbar',
|
|
11
|
-
'sap/m/Button',
|
|
12
|
-
'sap/m/ResponsivePopover',
|
|
13
|
-
'sap/m/ToolbarSpacer'
|
|
14
|
-
], function(
|
|
15
|
-
Control,
|
|
16
|
-
Library,
|
|
17
|
-
StaticArea,
|
|
18
|
-
Toolbar,
|
|
19
|
-
Button,
|
|
20
|
-
ResponsivePopover,
|
|
21
|
-
ToolbarSpacer
|
|
22
|
-
) {
|
|
23
|
-
"use strict";
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Constructor for the control.
|
|
27
|
-
* @param {string} [sId] id for the new control.
|
|
28
|
-
* @param {string} [mSettings] initial settings for the new control.
|
|
29
|
-
*
|
|
30
|
-
* @class
|
|
31
|
-
* The <code>ColumnHeaderPopover</code> control provides the capabilities to perform sorting, filter and grouping on a table column.
|
|
32
|
-
* @extends sap.ui.core.Control
|
|
33
|
-
*
|
|
34
|
-
* @author SAP SE
|
|
35
|
-
* @version 1.139.0
|
|
36
|
-
*
|
|
37
|
-
* @constructor
|
|
38
|
-
* @since 1.63
|
|
39
|
-
* @private
|
|
40
|
-
* @alias sap.m.ColumnHeaderPopover
|
|
41
|
-
*/
|
|
42
|
-
var ColumnHeaderPopover = Control.extend("sap.m.ColumnHeaderPopover", /** @lends sap.m.ColumnHeaderPopover.prototype */
|
|
43
|
-
{
|
|
44
|
-
metadata: {
|
|
45
|
-
library: "sap.m",
|
|
46
|
-
properties: {},
|
|
47
|
-
aggregations: {
|
|
48
|
-
/**
|
|
49
|
-
* Note that the content created inside ColumnPopoverCustomItem can not be used more than once.
|
|
50
|
-
*/
|
|
51
|
-
items: {type: "sap.m.ColumnPopoverItem", multiple: true, singularName: "item", bindable: true},
|
|
52
|
-
_popover: {type: "sap.m.ResponsivePopover", multiple: false, visibility: "hidden"}
|
|
53
|
-
},
|
|
54
|
-
defaultAggregation: "items",
|
|
55
|
-
associations: {
|
|
56
|
-
ariaLabelledBy: {
|
|
57
|
-
type: "sap.ui.core.Control",
|
|
58
|
-
multiple: true,
|
|
59
|
-
singularName: "ariaLabelledBy"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
renderer: null // this is a popup control without a renderer
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
ColumnHeaderPopover.prototype.init = function() {
|
|
67
|
-
this._bPopoverCreated = false;
|
|
68
|
-
this._oShownCustomContent = null;
|
|
69
|
-
var that = this;
|
|
70
|
-
this._minWidthDelegate = function() {
|
|
71
|
-
this.$().css("min-width", that.minWidth);
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
ColumnHeaderPopover.prototype.exit = function() {
|
|
76
|
-
if (this._oToolbar){
|
|
77
|
-
this._oToolbar.destroy();
|
|
78
|
-
this._oToolbar = null;
|
|
79
|
-
}
|
|
80
|
-
this._closeBtn = null;
|
|
81
|
-
this._spacer = null;
|
|
82
|
-
this._aButtons = null;
|
|
83
|
-
this._oShownCustomContent = null;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
ColumnHeaderPopover.prototype._createPopover = function() {
|
|
87
|
-
var that = this;
|
|
88
|
-
this._oShownCustomContent = null;
|
|
89
|
-
var oBundle = Library.getResourceBundleFor("sap.m"),
|
|
90
|
-
sCloseText = oBundle.getText("COLUMNHEADERPOPOVER_CLOSE_BUTTON");
|
|
91
|
-
|
|
92
|
-
var oPopover = new ResponsivePopover(this.getId() + "-popover", {
|
|
93
|
-
showArrow: false,
|
|
94
|
-
showHeader: false,
|
|
95
|
-
placement: "Bottom",
|
|
96
|
-
verticalScrolling: true,
|
|
97
|
-
horizontalScrolling: false,
|
|
98
|
-
ariaLabelledBy: this.getAriaLabelledBy(),
|
|
99
|
-
beforeClose: function(oEvent) {
|
|
100
|
-
if (that._oShownCustomContent) {
|
|
101
|
-
that._oShownCustomContent.setVisible(false);
|
|
102
|
-
that._oShownCustomContent = null;
|
|
103
|
-
}
|
|
104
|
-
that._cleanSelection();
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
oPopover._oControl.addDelegate({"onAfterRendering": this._minWidthDelegate}, oPopover._oControl);
|
|
109
|
-
this.setAggregation("_popover", oPopover);
|
|
110
|
-
var oToolbar = new Toolbar(this.getId() + "-tb");
|
|
111
|
-
this._spacer = new ToolbarSpacer();
|
|
112
|
-
this._closeBtn = new Button(oToolbar.getId() + "-closeBtn", {
|
|
113
|
-
type: "Transparent",
|
|
114
|
-
icon: "sap-icon://decline",
|
|
115
|
-
tooltip: sCloseText,
|
|
116
|
-
press: [
|
|
117
|
-
oPopover.close, oPopover
|
|
118
|
-
]
|
|
119
|
-
});
|
|
120
|
-
oToolbar.addContent(this._spacer);
|
|
121
|
-
oToolbar.addContent(this._closeBtn);
|
|
122
|
-
|
|
123
|
-
oPopover.addContent(oToolbar);
|
|
124
|
-
this._oToolbar = oToolbar;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
ColumnHeaderPopover.prototype._cleanSelection = function(oButton) {
|
|
128
|
-
var aButtons = this._aButtons;
|
|
129
|
-
if (aButtons) {
|
|
130
|
-
aButtons.forEach(function(oBtn) {
|
|
131
|
-
if ((!oButton || oBtn !== oButton) && oBtn.getPressed && oBtn.getPressed()) {
|
|
132
|
-
oBtn.setPressed(false);
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
ColumnHeaderPopover.prototype.openBy = function(oControl) {
|
|
139
|
-
// Create popover with empty toolbar inside once
|
|
140
|
-
if (!this._bPopoverCreated) {
|
|
141
|
-
this._createPopover();
|
|
142
|
-
this._bPopoverCreated = true;
|
|
143
|
-
} else {
|
|
144
|
-
this._oToolbar.removeContent(this._spacer);
|
|
145
|
-
this._oToolbar.removeContent(this._closeBtn);
|
|
146
|
-
this._oToolbar.destroyContent();
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
var oPopover = this.getAggregation("_popover");
|
|
150
|
-
var aButtons = [];
|
|
151
|
-
var aItems = this.getItems();
|
|
152
|
-
// Per Ux design the max number of the items (visible buttons) is 5 (plus spacer and the close button).
|
|
153
|
-
// As soon as this number can be changed we will introduce property or other possiblity to configure it.
|
|
154
|
-
var iMaxNumOfItems = 5;
|
|
155
|
-
for (var i = 0; (i < aItems.length) && (aButtons.length < iMaxNumOfItems); i++) {
|
|
156
|
-
var oItem = aItems[i];
|
|
157
|
-
if (oItem.getVisible()) {
|
|
158
|
-
var oButton = oItem._createButton(this._oToolbar.getId() + "-btn_" + i, this);
|
|
159
|
-
oButton._sContentId = oItem._sContentId; // used in custom item
|
|
160
|
-
aButtons.push(oButton);
|
|
161
|
-
this._oToolbar.insertContent(oButton, i);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
if (aButtons.length === 0) {
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
this._aButtons = aButtons;
|
|
169
|
-
|
|
170
|
-
this._oToolbar.addContent(this._spacer);
|
|
171
|
-
this._oToolbar.addContent(this._closeBtn);
|
|
172
|
-
// Append to static area of the UIArea once
|
|
173
|
-
if (!this._bAppendedToUIArea && !this.getParent()) {
|
|
174
|
-
var oStatic = StaticArea.getUIArea();
|
|
175
|
-
oStatic.addContent(this, true);
|
|
176
|
-
this._bAppendedToUIArea = true;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
var oOpenerDomRef = oControl.getFocusDomRef();
|
|
180
|
-
if (oOpenerDomRef) {
|
|
181
|
-
oPopover.setOffsetY(-oOpenerDomRef.clientHeight);
|
|
182
|
-
this.minWidth = oOpenerDomRef.clientWidth;
|
|
183
|
-
}
|
|
184
|
-
oPopover.openBy(oControl);
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
ColumnHeaderPopover.prototype.invalidate = function(oOrigin) {
|
|
188
|
-
var oPopover = this.getAggregation("_popover");
|
|
189
|
-
// Calls invalidate for the control tree only when the call comes from the internal popover.
|
|
190
|
-
// If the call is triggered by this control itself, it does nothing to prevent the renderer of this control to be called.
|
|
191
|
-
// Note that due the following code ColumnHeaderPopover control is not immediately changed when it is currently opened.
|
|
192
|
-
// The changes will only have effect for the next opening ( so, when the properties or aggregations are changed, for example,
|
|
193
|
-
// a new item or it's propery has been changed during the popup is open).
|
|
194
|
-
if (oOrigin === oPopover) {
|
|
195
|
-
Control.prototype.invalidate.apply(this, arguments);
|
|
196
|
-
}
|
|
197
|
-
return this;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
/*
|
|
201
|
-
* Forward the ariaLabelledBy association of the inner control to the ColumnHeaderPopover control.
|
|
202
|
-
*/
|
|
203
|
-
ColumnHeaderPopover.prototype.addAriaLabelledBy = function(sId) {
|
|
204
|
-
// get internal responsive popover control
|
|
205
|
-
var oRPopoverControl = this.getAggregation("_popover");
|
|
206
|
-
if (oRPopoverControl) {
|
|
207
|
-
oRPopoverControl.addAriaLabelledBy(sId);
|
|
208
|
-
}
|
|
209
|
-
return this.addAssociation("ariaLabelledBy", sId);
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
ColumnHeaderPopover.prototype.removeAriaLabelledBy = function(vObject) {
|
|
213
|
-
// get internal responsive popover control
|
|
214
|
-
var oRPopoverControl = this.getAggregation("_popover");
|
|
215
|
-
if (oRPopoverControl) {
|
|
216
|
-
oRPopoverControl.removeAriaLabelledBy(vObject);
|
|
217
|
-
}
|
|
218
|
-
return this.removeAssociation("ariaLabelledBy", vObject);
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
ColumnHeaderPopover.prototype.removeAllAssociation = function(sAssociationName, bSuppressInvalidate) {
|
|
222
|
-
if (sAssociationName === "ariaLabelledBy") {
|
|
223
|
-
// get internal responsive popover control
|
|
224
|
-
var oRPopoverControl = this.getAggregation("_popover");
|
|
225
|
-
if (oRPopoverControl) {
|
|
226
|
-
oRPopoverControl.removeAllAssociation(sAssociationName, bSuppressInvalidate);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
return Control.prototype.removeAllAssociation.apply(this, arguments);
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
return ColumnHeaderPopover;
|
|
233
|
-
});
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
sap.ui.define(['./ColumnPopoverItem', 'sap/m/Button'], function(ColumnPopoverItem, Button) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Constructor for the element.
|
|
11
|
-
* @param {string} [sId] id for the new element.
|
|
12
|
-
* @param {string} [mSettings] initial settings for the new element.
|
|
13
|
-
*
|
|
14
|
-
* @class
|
|
15
|
-
* The <code>ColumnPopoverActionItem</code> provides the capabilities to perform sorting, filter and grouping in ColumnHeaderPopover.
|
|
16
|
-
* @extends sap.m.ColumnPopoverItem
|
|
17
|
-
*
|
|
18
|
-
* @author SAP SE
|
|
19
|
-
* @version 1.139.0
|
|
20
|
-
*
|
|
21
|
-
* @constructor
|
|
22
|
-
* @since 1.63
|
|
23
|
-
* @private
|
|
24
|
-
* @alias sap.m.ColumnPopoverActionItem
|
|
25
|
-
*/
|
|
26
|
-
var ColumnPopoverActionItem = ColumnPopoverItem.extend("sap.m.ColumnPopoverActionItem", /** @lends sap.m.ColumnPopoverActionItem.prototype */
|
|
27
|
-
{
|
|
28
|
-
metadata: {
|
|
29
|
-
library: "sap.m",
|
|
30
|
-
properties: {
|
|
31
|
-
/**
|
|
32
|
-
* Actionitem button icon
|
|
33
|
-
*/
|
|
34
|
-
icon: {type: "sap.ui.core.URI", group: "Misc", defaultValue: null},
|
|
35
|
-
/**
|
|
36
|
-
* Actionitem button text
|
|
37
|
-
*/
|
|
38
|
-
text: {type: "string", group: "Misc", defaultValue: null}
|
|
39
|
-
},
|
|
40
|
-
events: {
|
|
41
|
-
/**
|
|
42
|
-
* Press event
|
|
43
|
-
*/
|
|
44
|
-
press: {}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
ColumnPopoverActionItem.prototype._createButton = function(sId, oCHPopover) {
|
|
50
|
-
return new Button( sId, {
|
|
51
|
-
icon: this.getIcon(),
|
|
52
|
-
type: "Transparent",
|
|
53
|
-
tooltip: this.getText(),
|
|
54
|
-
visible: this.getVisible(),
|
|
55
|
-
press: [
|
|
56
|
-
function (oEvent) {
|
|
57
|
-
if (oCHPopover._oShownCustomContent) {
|
|
58
|
-
oCHPopover._oShownCustomContent.setVisible(false);
|
|
59
|
-
oCHPopover._oShownCustomContent = null;
|
|
60
|
-
oCHPopover._cleanSelection(this);
|
|
61
|
-
}
|
|
62
|
-
var oPopover = oCHPopover.getAggregation("_popover");
|
|
63
|
-
// close the popover first to prevent focus lost
|
|
64
|
-
oPopover.close();
|
|
65
|
-
this.firePress();
|
|
66
|
-
}, this
|
|
67
|
-
]
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
return ColumnPopoverActionItem;
|
|
71
|
-
});
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
sap.ui.define(['./ColumnPopoverItem', 'sap/m/ToggleButton'], function(ColumnPopoverItem, ToggleButton) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Constructor for the element.
|
|
11
|
-
*
|
|
12
|
-
* @param {string} [sId] id for the new element.
|
|
13
|
-
* @param {string} [mSettings] initial settings for the new element.
|
|
14
|
-
*
|
|
15
|
-
* @class
|
|
16
|
-
* The <code>ColumnPopoverCustomItem</code> provides the capabilities to perform custom behaviour in ColumnHeaderPopover.
|
|
17
|
-
* @extends sap.m.ColumnPopoverItem
|
|
18
|
-
*
|
|
19
|
-
* @author SAP SE
|
|
20
|
-
* @version 1.139.0
|
|
21
|
-
*
|
|
22
|
-
* @constructor
|
|
23
|
-
* @since 1.63
|
|
24
|
-
* @private
|
|
25
|
-
* @alias sap.m.ColumnPopoverCustomItem
|
|
26
|
-
*/
|
|
27
|
-
var ColumnPopoverCustomItem = ColumnPopoverItem.extend("sap.m.ColumnPopoverCustomItem", /** @lends sap.m.ColumnPopoverCustomItem.prototype */
|
|
28
|
-
{
|
|
29
|
-
metadata: {
|
|
30
|
-
library: "sap.m",
|
|
31
|
-
properties: {
|
|
32
|
-
/**
|
|
33
|
-
* Customitem button icon
|
|
34
|
-
*/
|
|
35
|
-
icon: {type: "sap.ui.core.URI", group: "Misc", defaultValue: null},
|
|
36
|
-
/**
|
|
37
|
-
* Customitem button text
|
|
38
|
-
*/
|
|
39
|
-
text: {type: "string", group: "Misc", defaultValue: null}
|
|
40
|
-
},
|
|
41
|
-
aggregations: {
|
|
42
|
-
/**
|
|
43
|
-
* Note that the content created inside ColumnPopoverCustomItem can not be used more than once.
|
|
44
|
-
*/
|
|
45
|
-
content: {type: "sap.ui.core.Control", multiple: false, singularName: "content"}
|
|
46
|
-
},
|
|
47
|
-
events: {
|
|
48
|
-
/**
|
|
49
|
-
* beforeShowContent event
|
|
50
|
-
*/
|
|
51
|
-
beforeShowContent: {}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
ColumnPopoverCustomItem.prototype._createButton = function(sId, oCHPopover) {
|
|
57
|
-
var oPopover = oCHPopover.getAggregation("_popover");
|
|
58
|
-
var oContent = this.getContent();
|
|
59
|
-
if (oContent) {
|
|
60
|
-
oContent.setVisible(false);
|
|
61
|
-
this._sContentId = oContent.sId;
|
|
62
|
-
}
|
|
63
|
-
oPopover.addContent(oContent);
|
|
64
|
-
var that = this;
|
|
65
|
-
|
|
66
|
-
return new ToggleButton(sId, {
|
|
67
|
-
icon: this.getIcon(),
|
|
68
|
-
type: "Transparent",
|
|
69
|
-
tooltip: this.getText(),
|
|
70
|
-
visible: this.getVisible(),
|
|
71
|
-
press: function() {
|
|
72
|
-
// between two custom items
|
|
73
|
-
if (oCHPopover._oShownCustomContent) {
|
|
74
|
-
oCHPopover._oShownCustomContent.setVisible(false);
|
|
75
|
-
}
|
|
76
|
-
if (this.getPressed()) {
|
|
77
|
-
// set other buttons unpressed
|
|
78
|
-
oCHPopover._cleanSelection(this);
|
|
79
|
-
|
|
80
|
-
that.fireBeforeShowContent();
|
|
81
|
-
|
|
82
|
-
if (oContent) {
|
|
83
|
-
oContent.setVisible(true);
|
|
84
|
-
oCHPopover._oShownCustomContent = oContent;
|
|
85
|
-
}
|
|
86
|
-
} else if (oContent) {
|
|
87
|
-
oContent.setVisible(false);
|
|
88
|
-
oCHPopover._oShownCustomContent = null;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
return ColumnPopoverCustomItem;
|
|
94
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
sap.ui.define(['sap/ui/core/Element'], function(Element) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Constructor for the element.
|
|
11
|
-
* @param {string} [sId] id for the new element.
|
|
12
|
-
* @param {string} [mSettings] initial settings for the new element.
|
|
13
|
-
*
|
|
14
|
-
* @class
|
|
15
|
-
* The <code>ColumnPopoverItem</code> is used for sorting, filter and grouping behaviours in ColumnHeaderPopover control.
|
|
16
|
-
* @extends sap.ui.core.Element
|
|
17
|
-
*
|
|
18
|
-
* @author SAP SE
|
|
19
|
-
* @version 1.139.0
|
|
20
|
-
*
|
|
21
|
-
* @constructor
|
|
22
|
-
* @since 1.63
|
|
23
|
-
* @private
|
|
24
|
-
* @alias sap.m.ColumnPopoverItem
|
|
25
|
-
*/
|
|
26
|
-
var ColumnPopoverItem = Element.extend("sap.m.ColumnPopoverItem", /** @lends sap.m.ColumnPopoverItem.prototype */
|
|
27
|
-
{
|
|
28
|
-
metadata: {
|
|
29
|
-
library: "sap.m",
|
|
30
|
-
properties: {
|
|
31
|
-
visible: {type: "boolean", group: "Misc", defaultValue: true}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
ColumnPopoverItem.prototype._createButton = function() {
|
|
36
|
-
throw new Error('Abstract function _create Button must be implemented in your Item (that extends this abstract object).');
|
|
37
|
-
};
|
|
38
|
-
return ColumnPopoverItem;
|
|
39
|
-
});
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
sap.ui.define([
|
|
7
|
-
'./ColumnPopoverItem',
|
|
8
|
-
'sap/m/ToggleButton',
|
|
9
|
-
'sap/m/Button',
|
|
10
|
-
'sap/m/StandardListItem',
|
|
11
|
-
'sap/m/List'],
|
|
12
|
-
function(
|
|
13
|
-
ColumnPopoverItem,
|
|
14
|
-
ToggleButton,
|
|
15
|
-
Button,
|
|
16
|
-
StandardListItem,
|
|
17
|
-
List) {
|
|
18
|
-
"use strict";
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Constructor for the element.
|
|
22
|
-
* @param {string} [sId] id for the new element.
|
|
23
|
-
* @param {string} [mSettings] initial settings for the new element.
|
|
24
|
-
*
|
|
25
|
-
* @class
|
|
26
|
-
* The <code>ColumnPopoverSelectListItem</code> provides the capabilities to perform grouping, aggregation in ColumnHeaderPopover.
|
|
27
|
-
* @extends sap.m.ColumnPopoverItem
|
|
28
|
-
*
|
|
29
|
-
* @author SAP SE
|
|
30
|
-
* @version 1.139.0
|
|
31
|
-
*
|
|
32
|
-
* @constructor
|
|
33
|
-
* @since 1.86
|
|
34
|
-
* @private
|
|
35
|
-
* @alias sap.m.ColumnPopoverSelectListItem
|
|
36
|
-
*/
|
|
37
|
-
var ColumnPopoverSelectListItem = ColumnPopoverItem.extend("sap.m.ColumnPopoverSelectListItem", /** @lends sap.m.ColumnPopoverSelectListItem.prototype */
|
|
38
|
-
{
|
|
39
|
-
metadata: {
|
|
40
|
-
library: "sap.m",
|
|
41
|
-
properties: {
|
|
42
|
-
/**
|
|
43
|
-
* Label to be displayed as toolTip by the control
|
|
44
|
-
*/
|
|
45
|
-
label: {type: "string", group: "Misc", defaultValue: null},
|
|
46
|
-
/**
|
|
47
|
-
* Actionitem button icon
|
|
48
|
-
*/
|
|
49
|
-
icon: {type: "sap.ui.core.URI", group: "Misc", defaultValue: null}
|
|
50
|
-
},
|
|
51
|
-
events: {
|
|
52
|
-
/**
|
|
53
|
-
* Action event
|
|
54
|
-
*/
|
|
55
|
-
action: {
|
|
56
|
-
parameters: {
|
|
57
|
-
/**
|
|
58
|
-
* action property
|
|
59
|
-
*/
|
|
60
|
-
property: {type: "string"}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
aggregations: {
|
|
65
|
-
items: {type: "sap.ui.core.Item", multiple: true, singularName: "item", bindable: true}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
ColumnPopoverSelectListItem.prototype._createButton = function(sId, oCHPopover) {
|
|
71
|
-
var sText = this.getLabel(),
|
|
72
|
-
aItems = this.getItems(),
|
|
73
|
-
that = this;
|
|
74
|
-
|
|
75
|
-
if (aItems.length > 1) {
|
|
76
|
-
var oPopover = oCHPopover.getAggregation("_popover");
|
|
77
|
-
var oList = new List();
|
|
78
|
-
for (var i = 0; i < aItems.length; i++) {
|
|
79
|
-
var oListItem = new StandardListItem({
|
|
80
|
-
title: aItems[i].getText(),
|
|
81
|
-
type: "Active"
|
|
82
|
-
});
|
|
83
|
-
oList.addItem(oListItem);
|
|
84
|
-
oListItem.data("key", aItems[i].getKey());
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
oList.attachEvent("itemPress", function(oEvent) {
|
|
88
|
-
// close the popover first to prevent focus lost
|
|
89
|
-
oPopover.close();
|
|
90
|
-
var oListItem = oEvent.getParameter("listItem");
|
|
91
|
-
that.fireAction({
|
|
92
|
-
property: oListItem.data("key")
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
oList.setVisible(false);
|
|
97
|
-
oPopover.addContent(oList);
|
|
98
|
-
|
|
99
|
-
return new ToggleButton(sId, {
|
|
100
|
-
icon: this.getIcon(),
|
|
101
|
-
type: "Transparent",
|
|
102
|
-
tooltip: sText,
|
|
103
|
-
visible: this.getVisible(),
|
|
104
|
-
press: function() {
|
|
105
|
-
// between two custom items
|
|
106
|
-
if (oCHPopover._oShownCustomContent) {
|
|
107
|
-
oCHPopover._oShownCustomContent.setVisible(false);
|
|
108
|
-
}
|
|
109
|
-
if (this.getPressed()) {
|
|
110
|
-
// set other buttons unpressed
|
|
111
|
-
oCHPopover._cleanSelection(this);
|
|
112
|
-
if (oList) {
|
|
113
|
-
oList.setVisible(true);
|
|
114
|
-
oCHPopover._oShownCustomContent = oList;
|
|
115
|
-
}
|
|
116
|
-
} else if (oList) {
|
|
117
|
-
oList.setVisible(false);
|
|
118
|
-
oCHPopover._oShownCustomContent = null;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
} else {
|
|
123
|
-
return new Button(sId, {
|
|
124
|
-
icon: this.getIcon(),
|
|
125
|
-
type: "Transparent",
|
|
126
|
-
tooltip: sText,
|
|
127
|
-
visible: this.getVisible(),
|
|
128
|
-
press: function() {
|
|
129
|
-
var oPopover = oCHPopover.getAggregation("_popover");
|
|
130
|
-
if (oCHPopover._oShownCustomContent) {
|
|
131
|
-
oCHPopover._oShownCustomContent.setVisible(false);
|
|
132
|
-
oCHPopover._oShownCustomContent = null;
|
|
133
|
-
// set other buttons unpressed
|
|
134
|
-
oCHPopover._cleanSelection(this);
|
|
135
|
-
}
|
|
136
|
-
// close the popover first to prevent focus lost
|
|
137
|
-
oPopover.close();
|
|
138
|
-
// fire sort event
|
|
139
|
-
that.fireAction({
|
|
140
|
-
property: aItems[0] ? aItems[0].getKey() : null
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
return ColumnPopoverSelectListItem;
|
|
147
|
-
});
|