@openui5/sap.m 1.96.2 → 1.97.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/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +10 -2
- package/src/sap/m/AvatarRenderer.js +3 -0
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +2 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +1 -1
- 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 +6 -5
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +39 -6
- package/src/sap/m/ComboBoxBase.js +121 -15
- package/src/sap/m/ComboBoxTextField.js +21 -7
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +42 -9
- package/src/sap/m/DatePickerRenderer.js +13 -0
- 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 +48 -52
- 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 +5 -5
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +2 -4
- package/src/sap/m/DynamicDateUtil.js +8 -6
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +8 -1
- package/src/sap/m/GenericTagRenderer.js +1 -1
- package/src/sap/m/GenericTile.js +6 -32
- package/src/sap/m/GenericTileRenderer.js +6 -5
- package/src/sap/m/GroupHeaderListItem.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 +13 -3
- package/src/sap/m/IconTabSeparator.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 +29 -3
- package/src/sap/m/InputBase.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +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 +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +35 -6
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +66 -37
- package/src/sap/m/MultiComboBoxRenderer.js +4 -0
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListGroupRenderer.js +1 -0
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.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 +19 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +3 -3
- 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 +4 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +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 +19 -3
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +25 -5
- package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -2
- package/src/sap/m/PlanningCalendarRow.js +8 -3
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +13 -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 +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 +20 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +18 -7
- 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/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +28 -28
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -15
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +3 -2
- 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 +1 -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 +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +93 -67
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +33 -3
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +11 -15
- package/src/sap/m/TabStripRenderer.js +1 -1
- package/src/sap/m/Table.js +4 -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/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +43 -4
- 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/TimePickerRenderer.js +4 -0
- 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/ToggleButtonRenderer.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/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/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +18 -6
- 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 +16 -4
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/IconTabBar.designtime.js +2 -1
- package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +0 -6
- package/src/sap/m/library.js +65 -4
- package/src/sap/m/messagebundle.properties +32 -1
- package/src/sap/m/messagebundle_ar.properties +37 -0
- package/src/sap/m/messagebundle_bg.properties +37 -0
- package/src/sap/m/messagebundle_ca.properties +37 -0
- package/src/sap/m/messagebundle_cs.properties +38 -1
- package/src/sap/m/messagebundle_cy.properties +37 -0
- package/src/sap/m/messagebundle_da.properties +37 -0
- package/src/sap/m/messagebundle_de.properties +37 -0
- package/src/sap/m/messagebundle_el.properties +37 -0
- package/src/sap/m/messagebundle_en.properties +37 -0
- package/src/sap/m/messagebundle_en_GB.properties +37 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +46 -2
- package/src/sap/m/messagebundle_en_US_saprigi.properties +3 -39
- package/src/sap/m/messagebundle_en_US_saptrc.properties +61 -3
- package/src/sap/m/messagebundle_es.properties +40 -3
- package/src/sap/m/messagebundle_es_MX.properties +38 -1
- package/src/sap/m/messagebundle_et.properties +37 -0
- package/src/sap/m/messagebundle_fi.properties +37 -0
- package/src/sap/m/messagebundle_fr.properties +45 -8
- package/src/sap/m/messagebundle_fr_CA.properties +37 -0
- package/src/sap/m/messagebundle_hi.properties +37 -0
- package/src/sap/m/messagebundle_hr.properties +37 -0
- package/src/sap/m/messagebundle_hu.properties +37 -0
- package/src/sap/m/messagebundle_id.properties +38 -1
- package/src/sap/m/messagebundle_it.properties +37 -0
- package/src/sap/m/messagebundle_iw.properties +37 -0
- package/src/sap/m/messagebundle_ja.properties +37 -0
- package/src/sap/m/messagebundle_kk.properties +37 -0
- package/src/sap/m/messagebundle_ko.properties +37 -0
- package/src/sap/m/messagebundle_lt.properties +37 -0
- package/src/sap/m/messagebundle_lv.properties +37 -0
- package/src/sap/m/messagebundle_ms.properties +37 -0
- package/src/sap/m/messagebundle_nl.properties +37 -0
- package/src/sap/m/messagebundle_no.properties +37 -0
- package/src/sap/m/messagebundle_pl.properties +37 -0
- package/src/sap/m/messagebundle_pt.properties +37 -0
- package/src/sap/m/messagebundle_pt_PT.properties +38 -1
- package/src/sap/m/messagebundle_ro.properties +38 -1
- package/src/sap/m/messagebundle_ru.properties +38 -1
- package/src/sap/m/messagebundle_sh.properties +38 -1
- package/src/sap/m/messagebundle_sk.properties +37 -0
- package/src/sap/m/messagebundle_sl.properties +37 -0
- package/src/sap/m/messagebundle_sv.properties +37 -0
- package/src/sap/m/messagebundle_th.properties +37 -0
- package/src/sap/m/messagebundle_tr.properties +37 -0
- package/src/sap/m/messagebundle_uk.properties +37 -0
- package/src/sap/m/messagebundle_vi.properties +37 -0
- package/src/sap/m/messagebundle_zh_CN.properties +37 -0
- package/src/sap/m/messagebundle_zh_TW.properties +37 -0
- package/src/sap/m/p13n/AbstractContainer.js +47 -4
- package/src/sap/m/p13n/AbstractContainerItem.js +82 -82
- package/src/sap/m/p13n/BasePanel.js +31 -30
- package/src/sap/m/p13n/Container.js +67 -5
- package/src/sap/m/p13n/GroupPanel.js +4 -2
- package/src/sap/m/p13n/Popup.js +358 -0
- package/src/sap/m/p13n/QueryPanel.js +6 -2
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +4 -2
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +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/ActionItem.js +69 -0
- package/src/sap/m/table/ColumnMenu.js +377 -0
- package/src/sap/m/table/ColumnMenuEntry.js +101 -0
- package/src/sap/m/table/ColumnMenuRenderer.js +82 -0
- package/src/sap/m/table/Item.js +130 -0
- package/src/sap/m/table/ItemBase.js +153 -0
- package/src/sap/m/table/QuickAction.js +53 -0
- package/src/sap/m/table/QuickActionBase.js +53 -0
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/themes/base/AbstractContainer.less +15 -0
- package/src/sap/m/themes/base/Breadcrumbs.less +2 -2
- package/src/sap/m/themes/base/ColumnMenu.less +41 -0
- package/src/sap/m/themes/base/ComboBox.less +2 -2
- package/src/sap/m/themes/base/ComboBoxBase.less +20 -0
- package/src/sap/m/themes/base/DatePicker.less +4 -0
- package/src/sap/m/themes/base/DateTimePicker.less +20 -1
- package/src/sap/m/themes/base/GenericTile.less +25 -14
- package/src/sap/m/themes/base/Input.less +2 -2
- package/src/sap/m/themes/base/MultiComboBox.less +3 -3
- package/src/sap/m/themes/base/ObjectAttribute.less +3 -4
- package/src/sap/m/themes/base/P13nDialog.less +1 -5
- package/src/sap/m/themes/base/ProgressIndicator.less +3 -2
- package/src/sap/m/themes/base/ScrollContainer.less +1 -3
- package/src/sap/m/themes/base/Select.less +2 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +16 -16
- package/src/sap/m/themes/base/TextArea.less +1 -1
- package/src/sap/m/themes/base/TimePicker.less +3 -0
- package/src/sap/m/themes/base/ValueStateHeader.less +1 -3
- package/src/sap/m/themes/base/ViewSettingsDialog.less +5 -1
- package/src/sap/m/themes/base/WizardProgressNavigator.less +1 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/base/p13n.Container.less +4 -0
- package/src/sap/m/themes/sap_hcb/ComboBox.less +9 -0
- package/src/sap/m/themes/sap_hcb/Input.less +4 -0
- package/src/sap/m/themes/sap_hcb/MultiComboBox.less +8 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +3 -0
- package/src/sap/m/themes/sap_hcb/WizardProgressNavigator.less +0 -4
- package/src/sap/m/themes/sap_hcb/library.source.less +2 -0
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 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/Element"
|
|
8
|
+
], function (
|
|
9
|
+
Element
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Constructor for a new ColumnMenuEntry.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
17
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
18
|
+
*
|
|
19
|
+
* @class
|
|
20
|
+
* This control serves as a base class for elements residing inside the sap.m.table.ColumnMenu.
|
|
21
|
+
* This base class is faceless and should be inherited to implement ColumnMenu items and quick actions.
|
|
22
|
+
*
|
|
23
|
+
* @extends sap.ui.core.Element
|
|
24
|
+
*
|
|
25
|
+
* @author SAP SE
|
|
26
|
+
* @version 1.97.0
|
|
27
|
+
*
|
|
28
|
+
* @private
|
|
29
|
+
* @experimental
|
|
30
|
+
*
|
|
31
|
+
* @alias sap.m.table.ColumnMenuEntry
|
|
32
|
+
*/
|
|
33
|
+
var ColumnMenuEntry = Element.extend("sap.m.table.ColumnMenuEntry", {
|
|
34
|
+
metadata: {
|
|
35
|
+
"abstract": true,
|
|
36
|
+
library: "sap.m",
|
|
37
|
+
properties: {
|
|
38
|
+
visible: {type: "boolean", defaultValue: true}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* This method can be used to retrieve the ColumnMenu, in which the entry resides in.
|
|
45
|
+
*
|
|
46
|
+
* If an entry is internally creating entries that use #getMenu or #getParent,
|
|
47
|
+
* and returns them in #getEffectiveItems or #getEffectiveQuickActions, they
|
|
48
|
+
* must be its children in the control tree.
|
|
49
|
+
*
|
|
50
|
+
* @returns {sap.m.ColumnMenu} The menu of the entry
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
ColumnMenuEntry.prototype.getMenu = function () {
|
|
54
|
+
var oElement = this.getParent();
|
|
55
|
+
while (oElement) {
|
|
56
|
+
if (oElement.isA("sap.m.table.ColumnMenu")) {
|
|
57
|
+
return oElement;
|
|
58
|
+
}
|
|
59
|
+
oElement = oElement.getMenu();
|
|
60
|
+
}
|
|
61
|
+
return undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* This method can be used to retrieve the label of an entry.
|
|
66
|
+
*
|
|
67
|
+
* @returns {string} The label property specified in the control
|
|
68
|
+
* @abstract
|
|
69
|
+
*/
|
|
70
|
+
ColumnMenuEntry.prototype.getLabel = function () {
|
|
71
|
+
if (this.getMetadata().hasProperty("label")) {
|
|
72
|
+
return this.getProperty("label");
|
|
73
|
+
}
|
|
74
|
+
throw new Error(this + " does not implement #getLabel");
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* This method can be used to retrieve the content of an entry.
|
|
79
|
+
*
|
|
80
|
+
* @returns {sap.ui.core.Control} The control specified in the content aggregation
|
|
81
|
+
* @abstract
|
|
82
|
+
*/
|
|
83
|
+
ColumnMenuEntry.prototype.getContent = function () {
|
|
84
|
+
if (this.getMetadata().hasAggregation("content")) {
|
|
85
|
+
return this.getAggregation("content");
|
|
86
|
+
}
|
|
87
|
+
throw new Error(this + " does not implement #getContent");
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
ColumnMenuEntry.prototype.setVisible = function (bVisible) {
|
|
91
|
+
if (this.getVisible() == bVisible) {
|
|
92
|
+
return this;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
this.setProperty("visible", bVisible);
|
|
96
|
+
this.getMenu() && this.getMenu()._setItemVisibility(this, bVisible);
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
return ColumnMenuEntry;
|
|
101
|
+
});
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([], function () {
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
var ColumnMenuRenderer = {
|
|
10
|
+
apiVersion: 2
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
ColumnMenuRenderer.render = function (oRm, oColumnMenu) {
|
|
14
|
+
oRm.openStart("div", oColumnMenu);
|
|
15
|
+
oRm.class("sapMTCMenu");
|
|
16
|
+
oRm.class("sapMWrapper");
|
|
17
|
+
oRm.openEnd();
|
|
18
|
+
if (oColumnMenu.getQuickActions().length > 0 || oColumnMenu.getAggregation("_quickActions")) {
|
|
19
|
+
this.renderQuickActions(oRm, oColumnMenu);
|
|
20
|
+
}
|
|
21
|
+
if (oColumnMenu.getItems().length > 0 || oColumnMenu.getAggregation("_items")) {
|
|
22
|
+
this.renderItems(oRm, oColumnMenu);
|
|
23
|
+
}
|
|
24
|
+
oRm.close("div");
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
ColumnMenuRenderer.renderQuickActions = function (oRm, oColumnMenu) {
|
|
28
|
+
oRm.openStart("div");
|
|
29
|
+
oRm.attr("id", oColumnMenu.getId() + "-quickActions");
|
|
30
|
+
if (oColumnMenu._oItemsContainer) {
|
|
31
|
+
if (oColumnMenu._oItemsContainer.getCurrentViewKey() === "$default") {
|
|
32
|
+
oRm.class("sapMTQAList");
|
|
33
|
+
} else {
|
|
34
|
+
oRm.class("sapMTQAListHidden");
|
|
35
|
+
}
|
|
36
|
+
} else {
|
|
37
|
+
oRm.class("sapMTQAList");
|
|
38
|
+
}
|
|
39
|
+
oRm.openEnd();
|
|
40
|
+
// Control quick actions
|
|
41
|
+
(oColumnMenu.getAggregation("_quickActions") || []).forEach(function (oQuickAction) {
|
|
42
|
+
oQuickAction.getEffectiveQuickActions().forEach(function (oQuickAction) {
|
|
43
|
+
this.renderQuickAction(oRm, oQuickAction);
|
|
44
|
+
}.bind(this));
|
|
45
|
+
}.bind(this));
|
|
46
|
+
// Application quick actions
|
|
47
|
+
oColumnMenu.getQuickActions().forEach(function (oQuickAction) {
|
|
48
|
+
oQuickAction.getEffectiveQuickActions().forEach(function (oQuickAction) {
|
|
49
|
+
this.renderQuickAction(oRm, oQuickAction);
|
|
50
|
+
}.bind(this));
|
|
51
|
+
}.bind(this));
|
|
52
|
+
oRm.close("div");
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
ColumnMenuRenderer.renderQuickAction = function (oRm, oQuickAction) {
|
|
56
|
+
oRm.openStart("div", oQuickAction);
|
|
57
|
+
oRm.class("sapMQAction");
|
|
58
|
+
oRm.openEnd();
|
|
59
|
+
// Label
|
|
60
|
+
oRm.openStart("div");
|
|
61
|
+
oRm.class("sapMQALabel");
|
|
62
|
+
oRm.openEnd();
|
|
63
|
+
oRm.text(oQuickAction.getLabel());
|
|
64
|
+
oRm.close("div");
|
|
65
|
+
// Content
|
|
66
|
+
oRm.openStart("div");
|
|
67
|
+
oRm.openEnd();
|
|
68
|
+
oRm.renderControl(oQuickAction.getContent());
|
|
69
|
+
oRm.close("div");
|
|
70
|
+
oRm.close("div");
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
ColumnMenuRenderer.renderItems = function (oRm, oColumnMenu) {
|
|
74
|
+
oRm.openStart("div");
|
|
75
|
+
oRm.class("sapMContainerWrapper");
|
|
76
|
+
oRm.openEnd();
|
|
77
|
+
oRm.renderControl(oColumnMenu._oItemsContainer);
|
|
78
|
+
oRm.close("div");
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
return ColumnMenuRenderer;
|
|
82
|
+
});
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 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/m/table/ItemBase"
|
|
8
|
+
], function(
|
|
9
|
+
ItemBase
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Constructor for a new Item.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
17
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
18
|
+
*
|
|
19
|
+
* @class
|
|
20
|
+
* This control serves as a menu item for the sap.m.table.ColumnMenu.
|
|
21
|
+
* It can be used to specify control- and application-specific items.
|
|
22
|
+
*
|
|
23
|
+
* @extends sap.m.table.ItemBase
|
|
24
|
+
*
|
|
25
|
+
* @author SAP SE
|
|
26
|
+
* @version 1.97.0
|
|
27
|
+
*
|
|
28
|
+
* @private
|
|
29
|
+
* @experimental
|
|
30
|
+
*
|
|
31
|
+
* @alias sap.m.table.Item
|
|
32
|
+
*/
|
|
33
|
+
var Item = ItemBase.extend("sap.m.table.Item", {
|
|
34
|
+
metadata: {
|
|
35
|
+
library: "sap.m",
|
|
36
|
+
properties: {
|
|
37
|
+
/**
|
|
38
|
+
* Defines the label, which should be used for the buttons.
|
|
39
|
+
*/
|
|
40
|
+
label: {type: "string"},
|
|
41
|
+
/**
|
|
42
|
+
* Defines the icon for the menu item.
|
|
43
|
+
*/
|
|
44
|
+
icon: {type: "sap.ui.core.URI"},
|
|
45
|
+
/**
|
|
46
|
+
* Defines whether the reset button should be shown, when navigating to the item.
|
|
47
|
+
*/
|
|
48
|
+
showResetButton: {type: "boolean", defaultValue: true},
|
|
49
|
+
/**
|
|
50
|
+
* Defines whether the reset button should be enabled, when navigating to the item.
|
|
51
|
+
*/
|
|
52
|
+
resetButtonEnabled: {type: "boolean", defaultValue: true},
|
|
53
|
+
/**
|
|
54
|
+
* Defines whether the confirm button should be shown, when navigating to the item.
|
|
55
|
+
*/
|
|
56
|
+
showConfirmButton: {type: "boolean", defaultValue: true},
|
|
57
|
+
/**
|
|
58
|
+
* Defines whether the cancel button should be shown, when navigating to the item.
|
|
59
|
+
*/
|
|
60
|
+
showCancelButton: {type: "boolean", defaultValue: true}
|
|
61
|
+
},
|
|
62
|
+
aggregations: {
|
|
63
|
+
/**
|
|
64
|
+
* Defines the content, which should be shown when navigating to the item.
|
|
65
|
+
*/
|
|
66
|
+
content: {type: "sap.ui.core.Control", multiple: false}
|
|
67
|
+
},
|
|
68
|
+
events: {
|
|
69
|
+
/**
|
|
70
|
+
* This event will be fired, when the reset button was pressed.
|
|
71
|
+
*/
|
|
72
|
+
reset: {},
|
|
73
|
+
/**
|
|
74
|
+
* This event will be fired, when the confirm button was pressed.
|
|
75
|
+
*/
|
|
76
|
+
confirm: {},
|
|
77
|
+
/**
|
|
78
|
+
* This event will be fired, when the cancel button was pressed.
|
|
79
|
+
*/
|
|
80
|
+
cancel: {}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @override
|
|
87
|
+
*/
|
|
88
|
+
Item.prototype.setShowResetButton = function (bShowResetButton) {
|
|
89
|
+
this.setProperty("showResetButton", bShowResetButton);
|
|
90
|
+
this.changeButtonSettings({
|
|
91
|
+
reset: {visible: bShowResetButton}
|
|
92
|
+
});
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @override
|
|
98
|
+
*/
|
|
99
|
+
Item.prototype.setResetButtonEnabled = function (bResetButtonEnabled) {
|
|
100
|
+
this.setProperty("resetButtonEnabled", bResetButtonEnabled);
|
|
101
|
+
this.changeButtonSettings({
|
|
102
|
+
reset: {enabled: bResetButtonEnabled}
|
|
103
|
+
});
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @override
|
|
109
|
+
*/
|
|
110
|
+
Item.prototype.setShowConfirmButton = function (bShowConfirmButton) {
|
|
111
|
+
this.setProperty("showConfirmButton", bShowConfirmButton);
|
|
112
|
+
this.changeButtonSettings({
|
|
113
|
+
confirm: {visible: bShowConfirmButton}
|
|
114
|
+
});
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @override
|
|
120
|
+
*/
|
|
121
|
+
Item.prototype.setShowCancelButton = function (bShowCancelButton) {
|
|
122
|
+
this.setProperty("showCancelButton", bShowCancelButton);
|
|
123
|
+
this.changeButtonSettings({
|
|
124
|
+
cancel: {visible: bShowCancelButton}
|
|
125
|
+
});
|
|
126
|
+
return this;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
return Item;
|
|
130
|
+
});
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 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/m/table/ColumnMenuEntry"
|
|
8
|
+
], function(
|
|
9
|
+
ColumnMenuEntry
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Constructor for a new ItemBase.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
17
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
18
|
+
*
|
|
19
|
+
* @class
|
|
20
|
+
* The ItemBase control serves as a base class for menu items for the sap.m.table.ColumnMenu.
|
|
21
|
+
* This base class is faceless and should be inherited by controls, which intend to be menu items
|
|
22
|
+
* for the sap.m.table.ColumnMenu.
|
|
23
|
+
*
|
|
24
|
+
* @extends sap.m.table.ColumnMenuEntry
|
|
25
|
+
*
|
|
26
|
+
* @author SAP SE
|
|
27
|
+
* @version 1.97.0
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @experimental
|
|
31
|
+
*
|
|
32
|
+
* @alias sap.m.table.ItemBase
|
|
33
|
+
*/
|
|
34
|
+
var ItemBase = ColumnMenuEntry.extend("sap.m.table.ItemBase", {
|
|
35
|
+
metadata: {
|
|
36
|
+
"abstract": true,
|
|
37
|
+
library: "sap.m"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
ItemBase.prototype.init = function () {
|
|
42
|
+
this._oButtonSettings = {
|
|
43
|
+
reset: {visible: true, enabled: true},
|
|
44
|
+
confirm: {visible: true, enabled: true},
|
|
45
|
+
cancel: {visible: true, enabled: true}
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* This method can be used to retrieve the effective items of the item.
|
|
51
|
+
*
|
|
52
|
+
* This method allows subclasses to return composition of other items, if they contain multiple items or controls.
|
|
53
|
+
* @returns {Array<sap.m.table.ItemBase>} A composition of effective items
|
|
54
|
+
*
|
|
55
|
+
* @protected
|
|
56
|
+
*/
|
|
57
|
+
ItemBase.prototype.getEffectiveItems = function() {
|
|
58
|
+
return [this];
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* This method can be used to retrieve the set icon for a item.
|
|
63
|
+
*
|
|
64
|
+
* @returns {sap.ui.core.URI} The specified icon
|
|
65
|
+
*
|
|
66
|
+
* @protected
|
|
67
|
+
*/
|
|
68
|
+
ItemBase.prototype.getIcon = function() {
|
|
69
|
+
if (this.getMetadata().hasProperty("icon")) {
|
|
70
|
+
return this.getProperty("icon");
|
|
71
|
+
}
|
|
72
|
+
throw new Error(this + " does not implement #getIcon");
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* This method can be used as an event handler for a press event.
|
|
77
|
+
*
|
|
78
|
+
* @param {jQuery.Event} oEvent The emitted event
|
|
79
|
+
*
|
|
80
|
+
* @protected
|
|
81
|
+
*/
|
|
82
|
+
ItemBase.prototype.onPress = function (oEvent) {
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* This method can be used as an event handler for a back event.
|
|
87
|
+
*
|
|
88
|
+
* @param {jQuery.Event} oEvent The emitted event
|
|
89
|
+
*
|
|
90
|
+
* @protected
|
|
91
|
+
*/
|
|
92
|
+
ItemBase.prototype.onBack = function (oEvent) {
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* This method can be used as an event handler for a confirm event.
|
|
97
|
+
*
|
|
98
|
+
* @param {jQuery.Event} oEvent The emitted event
|
|
99
|
+
*
|
|
100
|
+
* @protected
|
|
101
|
+
*/
|
|
102
|
+
ItemBase.prototype.onConfirm = function (oEvent) {
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* This method can be used as an event handler for a cancel event.
|
|
107
|
+
*
|
|
108
|
+
* @param {jQuery.Event} oEvent The emitted event
|
|
109
|
+
*
|
|
110
|
+
* @protected
|
|
111
|
+
*/
|
|
112
|
+
ItemBase.prototype.onCancel = function (oEvent) {
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* This method can be used as an event handler for a reset event.
|
|
117
|
+
*
|
|
118
|
+
* @param {jQuery.Event} oEvent The emitted event
|
|
119
|
+
*
|
|
120
|
+
* @protected
|
|
121
|
+
*/
|
|
122
|
+
ItemBase.prototype.onReset = function (oEvent) {
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* This method can be used to retrieve the button settings.
|
|
127
|
+
*
|
|
128
|
+
* @protected
|
|
129
|
+
*/
|
|
130
|
+
ItemBase.prototype.getButtonSettings = function () {
|
|
131
|
+
return this._oButtonSettings;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* This method can be used to change the button settings of an item.
|
|
136
|
+
*
|
|
137
|
+
* @param {object} oButtonSettings Object containing button settings
|
|
138
|
+
*
|
|
139
|
+
* @protected
|
|
140
|
+
*/
|
|
141
|
+
ItemBase.prototype.changeButtonSettings = function (oButtonSettings) {
|
|
142
|
+
Object.keys(oButtonSettings).forEach(function (sButtonKey) {
|
|
143
|
+
if (this._oButtonSettings.hasOwnProperty(sButtonKey)) {
|
|
144
|
+
Object.keys(oButtonSettings[sButtonKey]).forEach(function (sSettingKey) {
|
|
145
|
+
this._oButtonSettings[sButtonKey][sSettingKey] = oButtonSettings[sButtonKey][sSettingKey];
|
|
146
|
+
}, this);
|
|
147
|
+
}
|
|
148
|
+
}, this);
|
|
149
|
+
this.getMenu() && this.getMenu()._updateButtonState(this);
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
return ItemBase;
|
|
153
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/m/table/QuickActionBase"
|
|
9
|
+
], function (
|
|
10
|
+
QuickActionBase
|
|
11
|
+
) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Constructor for a new QuickAction.
|
|
16
|
+
*
|
|
17
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
18
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
19
|
+
*
|
|
20
|
+
* @class
|
|
21
|
+
* This control serves as a quick action for sap.m.table.ColumnMenu.
|
|
22
|
+
* It can be used to specify control- and application specific quick actions.
|
|
23
|
+
*
|
|
24
|
+
* @extends sap.m.table.QuickActionBase
|
|
25
|
+
*
|
|
26
|
+
* @author SAP SE
|
|
27
|
+
* @version 1.97.0
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @experimental
|
|
31
|
+
*
|
|
32
|
+
* @alias sap.m.table.QuickAction
|
|
33
|
+
*/
|
|
34
|
+
var QuickAction = QuickActionBase.extend("sap.m.table.QuickAction", {
|
|
35
|
+
metadata: {
|
|
36
|
+
library: "sap.m",
|
|
37
|
+
properties: {
|
|
38
|
+
/**
|
|
39
|
+
* Defines the text for the label.
|
|
40
|
+
*/
|
|
41
|
+
label: { type: "string" }
|
|
42
|
+
},
|
|
43
|
+
aggregations: {
|
|
44
|
+
/**
|
|
45
|
+
* Defines the content, which should be shown for the quick action.
|
|
46
|
+
*/
|
|
47
|
+
content: { type: "sap.ui.core.Control", multiple: false }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
return QuickAction;
|
|
53
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 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/m/table/ColumnMenuEntry"
|
|
8
|
+
], function(
|
|
9
|
+
ColumnMenuEntry
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Constructor for a new QuickActionBase.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
17
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
18
|
+
*
|
|
19
|
+
* @class
|
|
20
|
+
* This control serves as a base class for quick actions.
|
|
21
|
+
* This base class is faceless and should be inherited by controls, which intend to
|
|
22
|
+
* serve as quick actions for the sap.m.table.ColumnMenu.
|
|
23
|
+
*
|
|
24
|
+
* @extends sap.m.table.ColumnMenuEntry
|
|
25
|
+
*
|
|
26
|
+
* @author SAP SE
|
|
27
|
+
* @version 1.97.0
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @experimental
|
|
31
|
+
*
|
|
32
|
+
* @alias sap.m.table.QuickActionBase
|
|
33
|
+
*/
|
|
34
|
+
var QuickActionBase = ColumnMenuEntry.extend("sap.m.table.QuickActionBase", {
|
|
35
|
+
metadata: {
|
|
36
|
+
"abstract": true,
|
|
37
|
+
library: "sap.m"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* This method can be used to retrieve the effective quick actions.
|
|
43
|
+
*
|
|
44
|
+
* Sublasses can implement this method, if there are compositions of other quick actions.
|
|
45
|
+
* @returns {Array<sap.m.table.QuickActionBase>} The effective quick actions
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
QuickActionBase.prototype.getEffectiveQuickActions = function() {
|
|
50
|
+
return [this];
|
|
51
|
+
};
|
|
52
|
+
return QuickActionBase;
|
|
53
|
+
});
|
package/src/sap/m/table/Util.js
CHANGED
|
@@ -14,4 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
.sapUiMAbstractContainerContent .wrapperDefaultList .sapMLIB{
|
|
16
16
|
padding: 1.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.sapMAbstractContainer .sapMPage {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
|
|
23
|
+
&>section {
|
|
24
|
+
flex-grow: 1;
|
|
25
|
+
position: unset;
|
|
26
|
+
top: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
>footer:not(.sapUiHidden) {
|
|
30
|
+
position: relative;
|
|
31
|
+
}
|
|
17
32
|
}
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.sapMBreadcrumbsItem.sapMBreadcrumbsSelectItem >
|
|
36
|
+
.sapMBreadcrumbsItem.sapMBreadcrumbsSelectItem >
|
|
37
37
|
.sapMSlt.sapMSltIconOnly.sapMSltWithIcon.sapMSltHoverable.sapMSltWithArrow {
|
|
38
38
|
background: transparent;
|
|
39
39
|
border: none;
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
&.sapMSltFocused,
|
|
42
42
|
&:hover {
|
|
43
43
|
.sapMSltIcon:before {
|
|
44
44
|
color: @sapUiLinkHover;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* ======================================= */
|
|
2
|
+
/* CSS for control sap.m/table/ColumnMenu */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ======================================= */
|
|
5
|
+
|
|
6
|
+
.sapMTCMenu {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sapMTCMenu.sapMWrapper {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
height: 100%;
|
|
14
|
+
|
|
15
|
+
.sapMContainerWrapper {
|
|
16
|
+
height: 100%;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.sapMTCMenu .sapMTQAList{
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-template-columns: minmax(min-content, max-content) 2fr;
|
|
24
|
+
column-gap: 10px;
|
|
25
|
+
row-gap: 5px;
|
|
26
|
+
padding: .5rem 1rem .5rem 1rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sapMTCMenu .sapMTQAListHidden {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sapMTCMenu .sapMTQAList .sapMQAction {
|
|
34
|
+
display: contents;
|
|
35
|
+
|
|
36
|
+
.sapMQALabel {
|
|
37
|
+
justify-self: end;
|
|
38
|
+
align-self: center;
|
|
39
|
+
text-align: end;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
.sapMComboBoxBasePicker-CTX .sapMComboBoxList.sapMListFocus .sapMLIBSelected,
|
|
7
7
|
.sapMComboBoxBasePicker-CTX .sapMComboBoxList.sapMListFocus .sapMComboBoxBaseNonInteractiveItem.sapMLIBFocused {
|
|
8
|
-
outline:
|
|
9
|
-
outline-offset: -
|
|
8
|
+
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
9
|
+
outline-offset: -0.125rem;
|
|
10
10
|
}
|
|
@@ -3,12 +3,32 @@
|
|
|
3
3
|
/* Base theme */
|
|
4
4
|
/* =================================== */
|
|
5
5
|
|
|
6
|
+
.sapMComboBoxBase.sapMInputBaseHasEndIcons .sapMInputBaseInner {
|
|
7
|
+
width: auto;
|
|
8
|
+
flex: 1
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.sapMComboBoxBase .sapMInputBaseContentWrapper {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
}
|
|
14
|
+
|
|
6
15
|
/* ------------------------------ */
|
|
7
16
|
/* arrow */
|
|
8
17
|
/* ------------------------------ */
|
|
9
18
|
|
|
10
19
|
.sapMComboBoxBase.sapMInputBaseReadonly .sapMInputBaseIcon {
|
|
11
20
|
opacity: 0;
|
|
21
|
+
cursor: default;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.sapMInputBase:not(.sapMInputBaseDisabled):not(.sapMInputBaseIconPressed).sapMComboBoxBase.sapMComboBoxBaseArrowPressed .sapMInputBaseIconContainer .sapMInputBaseIcon:last-child {
|
|
25
|
+
background: @sapUiToggleButtonPressedBackground;
|
|
26
|
+
&:hover {
|
|
27
|
+
background: @sapUiToggleButtonPressedBackground;
|
|
28
|
+
}
|
|
29
|
+
&::before {
|
|
30
|
+
color: @sapUiToggleButtonPressedTextColor;
|
|
31
|
+
}
|
|
12
32
|
}
|
|
13
33
|
|
|
14
34
|
/* ------------------------------ */
|