@openui5/sap.m 1.106.0 → 1.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/sap/m/.library +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +4 -3
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +6 -4
- package/src/sap/m/messagebundle_bg.properties +5 -3
- package/src/sap/m/messagebundle_ca.properties +8 -6
- package/src/sap/m/messagebundle_cs.properties +16 -14
- package/src/sap/m/messagebundle_cy.properties +5 -3
- package/src/sap/m/messagebundle_da.properties +5 -3
- package/src/sap/m/messagebundle_de.properties +14 -12
- package/src/sap/m/messagebundle_el.properties +5 -3
- package/src/sap/m/messagebundle_en.properties +5 -3
- package/src/sap/m/messagebundle_en_GB.properties +5 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +5 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/m/messagebundle_es.properties +5 -3
- package/src/sap/m/messagebundle_es_MX.properties +5 -3
- package/src/sap/m/messagebundle_et.properties +5 -3
- package/src/sap/m/messagebundle_fi.properties +5 -3
- package/src/sap/m/messagebundle_fr.properties +6 -4
- package/src/sap/m/messagebundle_fr_CA.properties +6 -4
- package/src/sap/m/messagebundle_hi.properties +5 -3
- package/src/sap/m/messagebundle_hr.properties +5 -3
- package/src/sap/m/messagebundle_hu.properties +5 -3
- package/src/sap/m/messagebundle_id.properties +5 -3
- package/src/sap/m/messagebundle_it.properties +5 -3
- package/src/sap/m/messagebundle_iw.properties +5 -3
- package/src/sap/m/messagebundle_ja.properties +5 -3
- package/src/sap/m/messagebundle_kk.properties +5 -3
- package/src/sap/m/messagebundle_ko.properties +5 -3
- package/src/sap/m/messagebundle_lt.properties +6 -4
- package/src/sap/m/messagebundle_lv.properties +5 -3
- package/src/sap/m/messagebundle_ms.properties +5 -3
- package/src/sap/m/messagebundle_nl.properties +5 -3
- package/src/sap/m/messagebundle_no.properties +5 -3
- package/src/sap/m/messagebundle_pl.properties +5 -3
- package/src/sap/m/messagebundle_pt.properties +5 -3
- package/src/sap/m/messagebundle_pt_PT.properties +5 -3
- package/src/sap/m/messagebundle_ro.properties +5 -3
- package/src/sap/m/messagebundle_ru.properties +5 -3
- package/src/sap/m/messagebundle_sh.properties +5 -3
- package/src/sap/m/messagebundle_sk.properties +5 -3
- package/src/sap/m/messagebundle_sl.properties +5 -3
- package/src/sap/m/messagebundle_sv.properties +5 -3
- package/src/sap/m/messagebundle_th.properties +5 -3
- package/src/sap/m/messagebundle_tr.properties +5 -3
- package/src/sap/m/messagebundle_uk.properties +5 -3
- package/src/sap/m/messagebundle_vi.properties +5 -3
- package/src/sap/m/messagebundle_zh_CN.properties +5 -3
- package/src/sap/m/messagebundle_zh_TW.properties +5 -3
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.m",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.107.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.m",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.ui.layout": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.107.0",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.107.0",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.107.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/m/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.107.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
|
|
12
12
|
|
|
@@ -71,6 +71,9 @@
|
|
|
71
71
|
<module>sap/m/FeedInput</module>
|
|
72
72
|
<module>sap/m/FeedListItem</module>
|
|
73
73
|
<module>sap/m/UploadCollection</module>
|
|
74
|
+
<module>sap/m/ActionTile</module>
|
|
75
|
+
<module>sap/m/ActionTileContent</module>
|
|
76
|
+
<module>sap/m/CustomAttribute</module>
|
|
74
77
|
<module>sap/m/SlideTile</module>
|
|
75
78
|
<module>sap/m/GenericTile</module>
|
|
76
79
|
<module>sap/m/TileContent</module>
|
package/src/sap/m/AccButton.js
CHANGED
|
@@ -21,12 +21,11 @@ sap.ui.define(['./Button','./AccButtonRenderer'],
|
|
|
21
21
|
* @extends sap.m.Button
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.107.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.m.AccButton
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
30
|
var AccButton = Button.extend("sap.m.AccButton", {
|
|
32
31
|
metadata: {
|
|
@@ -36,7 +35,9 @@ sap.ui.define(['./Button','./AccButtonRenderer'],
|
|
|
36
35
|
"ariaHidden": {type : "string", defaultValue : null, bindable : "bindable"},
|
|
37
36
|
"ariaHaspopup": {type : "string", defaultValue : null, bindable : "bindable"}
|
|
38
37
|
}
|
|
39
|
-
}
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
renderer: AccButtonRenderer
|
|
40
41
|
});
|
|
41
42
|
|
|
42
43
|
return AccButton;
|
|
@@ -31,25 +31,28 @@ sap.ui.define(['./ListItemBase', './library', './ActionListItemRenderer'],
|
|
|
31
31
|
* @extends sap.m.ListItemBase
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.107.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
38
38
|
* @alias sap.m.ActionListItem
|
|
39
39
|
* @see {@link fiori:/action-list-item/ Action List Item}
|
|
40
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
41
40
|
*/
|
|
42
|
-
var ActionListItem = ListItemBase.extend("sap.m.ActionListItem", /** @lends sap.m.ActionListItem.prototype */ {
|
|
41
|
+
var ActionListItem = ListItemBase.extend("sap.m.ActionListItem", /** @lends sap.m.ActionListItem.prototype */ {
|
|
42
|
+
metadata : {
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
library : "sap.m",
|
|
45
|
+
properties : {
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Defines the text that appears in the control.
|
|
49
|
+
*/
|
|
50
|
+
text : {type : "string", group : "Misc", defaultValue : null}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
renderer: ActionListItemRenderer
|
|
55
|
+
});
|
|
53
56
|
|
|
54
57
|
|
|
55
58
|
/**
|
|
@@ -20,25 +20,28 @@ sap.ui.define(['./Select', 'sap/ui/core/InvisibleText', 'sap/ui/Device', 'sap/ui
|
|
|
20
20
|
* @extends sap.m.Select
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
27
|
* @since 1.16
|
|
28
28
|
* @alias sap.m.ActionSelect
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
|
-
var ActionSelect = Select.extend("sap.m.ActionSelect", /** @lends sap.m.ActionSelect.prototype */ {
|
|
30
|
+
var ActionSelect = Select.extend("sap.m.ActionSelect", /** @lends sap.m.ActionSelect.prototype */ {
|
|
31
|
+
metadata : {
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
library : "sap.m",
|
|
34
|
+
associations : {
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Buttons to be added to the ActionSelect content.
|
|
38
|
+
*/
|
|
39
|
+
buttons : {type : "sap.m.Button", multiple : true, singularName : "button"}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
renderer: ActionSelectRenderer
|
|
44
|
+
});
|
|
42
45
|
|
|
43
46
|
ActionSelect.prototype.init = function() {
|
|
44
47
|
Select.prototype.init.call(this);
|
package/src/sap/m/ActionSheet.js
CHANGED
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
'sap/ui/Device',
|
|
16
16
|
'./ActionSheetRenderer',
|
|
17
17
|
'./Button',
|
|
18
|
-
"sap/ui/thirdparty/jquery"
|
|
18
|
+
"sap/ui/thirdparty/jquery",
|
|
19
|
+
"sap/ui/core/Configuration"
|
|
19
20
|
],
|
|
20
21
|
function(
|
|
21
22
|
Dialog,
|
|
@@ -27,7 +28,8 @@ sap.ui.define([
|
|
|
27
28
|
Device,
|
|
28
29
|
ActionSheetRenderer,
|
|
29
30
|
Button,
|
|
30
|
-
jQuery
|
|
31
|
+
jQuery,
|
|
32
|
+
Configuration
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -70,111 +72,114 @@ sap.ui.define([
|
|
|
70
72
|
* @extends sap.ui.core.Control
|
|
71
73
|
*
|
|
72
74
|
* @author SAP SE
|
|
73
|
-
* @version 1.
|
|
75
|
+
* @version 1.107.0
|
|
74
76
|
*
|
|
75
77
|
* @constructor
|
|
76
78
|
* @public
|
|
77
79
|
* @since 1.9.1
|
|
78
80
|
* @alias sap.m.ActionSheet
|
|
79
81
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/action-sheet/ Action Sheet}
|
|
80
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
81
82
|
*/
|
|
82
|
-
var ActionSheet = Control.extend("sap.m.ActionSheet", /** @lends sap.m.ActionSheet.prototype */ {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
aggregations : {
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* These buttons are added to the content area in ActionSheet control. When button is tapped, the ActionSheet is closed before the tap event listener is called.
|
|
111
|
-
*/
|
|
112
|
-
buttons : {type : "sap.m.Button", multiple : true, singularName : "button"},
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* The internally managed cancel button.
|
|
116
|
-
*/
|
|
117
|
-
_cancelButton : {type : "sap.m.Button", multiple : false, visibility : "hidden"},
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Hidden texts used for accesibility
|
|
121
|
-
*/
|
|
122
|
-
_invisibleAriaTexts: {type : "sap.ui.core.InvisibleText", multiple : true, visibility : "hidden"}
|
|
123
|
-
},
|
|
124
|
-
defaultAggregation : "buttons",
|
|
125
|
-
events : {
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* This event is fired when the cancelButton is tapped. For iPad, this event is also fired when showCancelButton is set to true, and Popover is closed by tapping outside.
|
|
129
|
-
* @deprecated Since version 1.20.0.
|
|
130
|
-
* This event is deprecated, use the cancelButtonPress event instead.
|
|
131
|
-
*/
|
|
132
|
-
cancelButtonTap : {deprecated: true},
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* This event will be fired before the ActionSheet is opened.
|
|
136
|
-
*/
|
|
137
|
-
beforeOpen : {},
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* This event will be fired after the ActionSheet is opened.
|
|
141
|
-
*/
|
|
142
|
-
afterOpen : {},
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* This event will be fired before the ActionSheet is closed.
|
|
146
|
-
*/
|
|
147
|
-
beforeClose : {
|
|
148
|
-
parameters: {
|
|
149
|
-
/**
|
|
150
|
-
* This indicates the trigger of closing the dialog. If dialog is closed by either leftButton or rightButton, the button that closes the dialog is set to this parameter. Otherwise this parameter is set to null. This is valid only for Phone mode of the ActionSheet
|
|
151
|
-
*
|
|
152
|
-
*/
|
|
153
|
-
origin: {type: "sap.m.Button"}
|
|
154
|
-
}
|
|
83
|
+
var ActionSheet = Control.extend("sap.m.ActionSheet", /** @lends sap.m.ActionSheet.prototype */ {
|
|
84
|
+
metadata : {
|
|
85
|
+
|
|
86
|
+
library : "sap.m",
|
|
87
|
+
properties : {
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The ActionSheet behaves as an sap.m.Popover in iPad and this property is the information about on which side will the popover be placed at. Possible values are sap.m.PlacementType.Left, sap.m.PlacementType.Right, sap.m.PlacementType.Top, sap.m.PlacementType.Bottom, sap.m.PlacementType.Horizontal, sap.m.PlacementType.HorizontalPreferedLeft, sap.m.PlacementType.HorizontalPreferedRight, sap.m.PlacementType.Vertical, sap.m.PlacementType.VerticalPreferedTop, sap.m.PlacementType.VerticalPreferedBottom. The default value is sap.m.PlacementType.Bottom.
|
|
91
|
+
*/
|
|
92
|
+
placement : {type : "sap.m.PlacementType", group : "Appearance", defaultValue : PlacementType.Bottom},
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* If this is set to true, there will be a cancel button shown below the action buttons. There won't be any cancel button shown in iPad regardless of this property. The default value is set to true.
|
|
96
|
+
*/
|
|
97
|
+
showCancelButton : {type : "boolean", group : "Appearance", defaultValue : true},
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* This is the text displayed in the cancelButton. Default value is "Cancel", and it's translated according to the current locale setting. This property will be ignored when running either in iPad or showCancelButton is set to false.
|
|
101
|
+
*/
|
|
102
|
+
cancelButtonText : {type : "string", group : "Appearance", defaultValue : null},
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Title will be shown in the header area in iPhone and every Android devices. This property will be ignored in tablets and desktop browser.
|
|
106
|
+
*/
|
|
107
|
+
title : {type : "string", group : "Appearance", defaultValue : null}
|
|
155
108
|
},
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
109
|
+
aggregations : {
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* These buttons are added to the content area in ActionSheet control. When button is tapped, the ActionSheet is closed before the tap event listener is called.
|
|
113
|
+
*/
|
|
114
|
+
buttons : {type : "sap.m.Button", multiple : true, singularName : "button"},
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The internally managed cancel button.
|
|
118
|
+
*/
|
|
119
|
+
_cancelButton : {type : "sap.m.Button", multiple : false, visibility : "hidden"},
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Hidden texts used for accesibility
|
|
123
|
+
*/
|
|
124
|
+
_invisibleAriaTexts: {type : "sap.ui.core.InvisibleText", multiple : true, visibility : "hidden"}
|
|
167
125
|
},
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
126
|
+
defaultAggregation : "buttons",
|
|
127
|
+
events : {
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* This event is fired when the cancelButton is tapped. For iPad, this event is also fired when showCancelButton is set to true, and Popover is closed by tapping outside.
|
|
131
|
+
* @deprecated Since version 1.20.0.
|
|
132
|
+
* This event is deprecated, use the cancelButtonPress event instead.
|
|
133
|
+
*/
|
|
134
|
+
cancelButtonTap : {deprecated: true},
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* This event will be fired before the ActionSheet is opened.
|
|
138
|
+
*/
|
|
139
|
+
beforeOpen : {},
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* This event will be fired after the ActionSheet is opened.
|
|
143
|
+
*/
|
|
144
|
+
afterOpen : {},
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* This event will be fired before the ActionSheet is closed.
|
|
148
|
+
*/
|
|
149
|
+
beforeClose : {
|
|
150
|
+
parameters: {
|
|
151
|
+
/**
|
|
152
|
+
* This indicates the trigger of closing the dialog. If dialog is closed by either leftButton or rightButton, the button that closes the dialog is set to this parameter. Otherwise this parameter is set to null. This is valid only for Phone mode of the ActionSheet
|
|
153
|
+
*
|
|
154
|
+
*/
|
|
155
|
+
origin: {type: "sap.m.Button"}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* This event will be fired after the ActionSheet is closed.
|
|
161
|
+
*/
|
|
162
|
+
afterClose : {
|
|
163
|
+
parameters: {
|
|
164
|
+
/**
|
|
165
|
+
* This indicates the trigger of closing the control. If dialog is closed by either selection or closeButton (on mobile device), the button that closes the dialog is set to this parameter. Otherwise this parameter is set to null.
|
|
166
|
+
*/
|
|
167
|
+
origin: {type: "sap.m.Button"}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* This event is fired when the cancelButton is clicked.
|
|
173
|
+
*
|
|
174
|
+
* <b>Note: </b> For any device other than phones, this event would be fired always when the Popover closes. To prevent this behavior, the <code>showCancelButton</code> property needs to be set to <code>false</code>.
|
|
175
|
+
*/
|
|
176
|
+
cancelButtonPress : {}
|
|
177
|
+
},
|
|
178
|
+
designtime: "sap/m/designtime/ActionSheet.designtime"
|
|
175
179
|
},
|
|
176
|
-
|
|
177
|
-
|
|
180
|
+
|
|
181
|
+
renderer: ActionSheetRenderer
|
|
182
|
+
});
|
|
178
183
|
|
|
179
184
|
ActionSheet.prototype.init = function() {
|
|
180
185
|
// this method is kept here empty in case some control inherits from it but forgets to check the existence of this function when chaining the call
|
|
@@ -295,7 +300,6 @@ sap.ui.define([
|
|
|
295
300
|
* @param {object} oControl The control to which the ActionSheet is opened
|
|
296
301
|
*
|
|
297
302
|
* @public
|
|
298
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
299
303
|
*/
|
|
300
304
|
ActionSheet.prototype.openBy = function(oControl){
|
|
301
305
|
var that = this;
|
|
@@ -421,7 +425,6 @@ sap.ui.define([
|
|
|
421
425
|
* Calling this method will make the ActionSheet disappear from the screen.
|
|
422
426
|
*
|
|
423
427
|
* @public
|
|
424
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
425
428
|
*/
|
|
426
429
|
ActionSheet.prototype.close = function(){
|
|
427
430
|
if (this._parent) {
|
|
@@ -434,7 +437,6 @@ sap.ui.define([
|
|
|
434
437
|
*
|
|
435
438
|
* @returns {boolean} Whether the ActionSheet is open.
|
|
436
439
|
* @public
|
|
437
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
438
440
|
*/
|
|
439
441
|
ActionSheet.prototype.isOpen = function(){
|
|
440
442
|
return !!this._parent && this._parent.isOpen();
|
|
@@ -513,7 +515,7 @@ sap.ui.define([
|
|
|
513
515
|
ActionSheet.prototype._addAriaHiddenTexts = function(oButton) {
|
|
514
516
|
var sButtonId = oButton.getId(),
|
|
515
517
|
oInvisibleText;
|
|
516
|
-
if (
|
|
518
|
+
if (Configuration.getAccessibility()) {
|
|
517
519
|
oInvisibleText = new InvisibleText(sButtonId + "-actionSheetHiddenText");
|
|
518
520
|
|
|
519
521
|
this.addAggregation("_invisibleAriaTexts", oInvisibleText, false);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(["sap/ui/Device"],
|
|
7
|
-
function(Device) {
|
|
6
|
+
sap.ui.define(["sap/ui/Device", "sap/ui/core/Configuration"],
|
|
7
|
+
function(Device, Configuration) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
28
28
|
aInvisibleTexts = oControl.getAggregation("_invisibleAriaTexts"),
|
|
29
29
|
oResourceBundle = sap.ui.getCore().getLibraryResourceBundle('sap.m'),
|
|
30
30
|
iButtonsCount = aActionButtons.length,
|
|
31
|
-
bAccessibilityOn =
|
|
31
|
+
bAccessibilityOn = Configuration.getAccessibility(),
|
|
32
32
|
iVisibleButtonCount = aActionButtons.filter(function (oButton) { return oButton.getVisible(); }).length,
|
|
33
33
|
oCurInvisibleText, i, bMixedButtons, oButton, iVisibleButtonTempCount = 1,
|
|
34
34
|
fnGetRelatedInvisibleText = function (oBtn) {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"./library",
|
|
9
|
+
"sap/m/GenericTile",
|
|
10
|
+
"sap/m/ToDoCardRenderer",
|
|
11
|
+
"sap/m/GenericTileRenderer"
|
|
12
|
+
], function (
|
|
13
|
+
library,
|
|
14
|
+
GenericTile,
|
|
15
|
+
ToDoCardRenderer,
|
|
16
|
+
GenericTileRenderer
|
|
17
|
+
) {
|
|
18
|
+
"use strict";
|
|
19
|
+
|
|
20
|
+
var FrameType = library.FrameType,
|
|
21
|
+
GenericTileMode = library.GenericTileMode,
|
|
22
|
+
LoadState = library.LoadState;
|
|
23
|
+
/**
|
|
24
|
+
* Constructor for a new sap.m.ActionTile control.
|
|
25
|
+
*
|
|
26
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
27
|
+
* @param {object} [mSettings] initial settings for the new control
|
|
28
|
+
*
|
|
29
|
+
* @class
|
|
30
|
+
*Used to create a customizable tile for your todos and situations within the new My Home in SAP S/4HANA cloud
|
|
31
|
+
* @extends sap.m.GenericTile
|
|
32
|
+
*
|
|
33
|
+
* @author SAP SE
|
|
34
|
+
* @version 1.107.0
|
|
35
|
+
* @since 1.107.0
|
|
36
|
+
*
|
|
37
|
+
* @private
|
|
38
|
+
* @alias sap.m.ActionTile
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
var ActionTile = GenericTile.extend("sap.m.ActionTile", /** @lends sap.m.ActionTile.prototype */{
|
|
42
|
+
metadata: {
|
|
43
|
+
library: "sap.m"
|
|
44
|
+
},
|
|
45
|
+
renderer: {
|
|
46
|
+
apiVersion: 2,
|
|
47
|
+
render: function (oRm, oControl) {
|
|
48
|
+
if (!oControl.getHeaderImage() || oControl.getState() === LoadState.Loading) {
|
|
49
|
+
ToDoCardRenderer.render(oRm, oControl);
|
|
50
|
+
} else {
|
|
51
|
+
GenericTileRenderer.render(oRm, oControl);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/* --- Lifecycle Handling --- */
|
|
58
|
+
|
|
59
|
+
ActionTile.prototype.init = function() {
|
|
60
|
+
this.addStyleClass("sapMAT");
|
|
61
|
+
this.setMode(GenericTileMode.ActionMode);
|
|
62
|
+
this.setFrameType(FrameType.TwoByOne);
|
|
63
|
+
GenericTile.prototype.init.apply(this, arguments);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
ActionTile.prototype.onBeforeRendering = function() {
|
|
67
|
+
if (this.getHeaderImage()) {
|
|
68
|
+
this.addStyleClass("sapMATSituationCard");
|
|
69
|
+
}
|
|
70
|
+
GenericTile.prototype.onBeforeRendering.apply(this, arguments);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
ActionTile.prototype.onAfterRendering = function() {
|
|
74
|
+
if (this.getHeaderImage() && this.getDomRef()) {
|
|
75
|
+
this._removeStyleClasses();
|
|
76
|
+
}
|
|
77
|
+
GenericTile.prototype.onAfterRendering.apply(this, arguments);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Removes the style classes inherited from the parent control
|
|
82
|
+
* @private
|
|
83
|
+
*/
|
|
84
|
+
ActionTile.prototype._removeStyleClasses = function() {
|
|
85
|
+
this.getDomRef().classList.remove("sapMGT");
|
|
86
|
+
this.getDomRef().classList.remove("TwoByOne");
|
|
87
|
+
this.getDomRef().classList.remove("sapMGTActionMode");
|
|
88
|
+
};
|
|
89
|
+
return ActionTile;
|
|
90
|
+
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"./library",
|
|
9
|
+
"sap/m/TileContent",
|
|
10
|
+
"sap/m/ActionTileContentRenderer"
|
|
11
|
+
], function (
|
|
12
|
+
library,
|
|
13
|
+
TileContent,
|
|
14
|
+
ActionTileContentRenderer
|
|
15
|
+
) {
|
|
16
|
+
"use strict";
|
|
17
|
+
|
|
18
|
+
var Priority = library.Priority;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Constructor for a new sap.m.ActionTileContent control.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} [sId] id for the new control, generated automatically if no id is given
|
|
24
|
+
* @param {object} [mSettings] initial settings for the new control
|
|
25
|
+
*
|
|
26
|
+
* @class This control is used within the ActionTile control and it renders the values from the custom attribute
|
|
27
|
+
* @extends sap.m.TileContent
|
|
28
|
+
*
|
|
29
|
+
* @author SAP SE
|
|
30
|
+
* @version 1.107.0
|
|
31
|
+
* @since 1.107.0
|
|
32
|
+
*
|
|
33
|
+
* @private
|
|
34
|
+
* @alias sap.m.ActionTileContent
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
var ActionTileContent = TileContent.extend("sap.m.ActionTileContent", /** @lends sap.m.ActionTileContent.prototype */{
|
|
38
|
+
metadata: {
|
|
39
|
+
library: "sap.m",
|
|
40
|
+
aggregations : {
|
|
41
|
+
attributes: { type: "sap.m.CustomAttribute", multiple: true, singularName: "attribute"}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
renderer: {
|
|
45
|
+
apiVersion: 2,
|
|
46
|
+
render: function (oRm, oControl) {
|
|
47
|
+
ActionTileContentRenderer.render(oRm, oControl);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Returns the text inside the control so that it can be used for setting the tooltip,aria-label
|
|
54
|
+
* @private
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
ActionTileContent.prototype.getAltText = function() {
|
|
58
|
+
var sAltText = "";
|
|
59
|
+
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY");
|
|
60
|
+
var sPriorityText = this.getPriorityText();
|
|
61
|
+
if (this.getPriority() !== Priority.None && sPriorityText) {
|
|
62
|
+
sAltText += (sPriorityText + " " + sPriority) + "\n";
|
|
63
|
+
}
|
|
64
|
+
this.getAggregation("attributes").forEach(function(ocustomAttribute){
|
|
65
|
+
sAltText += ocustomAttribute.getLabel() + "\n" + ocustomAttribute.getValue() + "\n";
|
|
66
|
+
});
|
|
67
|
+
return sAltText;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
return ActionTileContent;
|
|
71
|
+
});
|