@openui5/sap.m 1.105.1 → 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/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +4 -4
- package/src/sap/m/.library +20 -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/CarouselRenderer.js +3 -3
- 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 +5 -6
- 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 +3 -4
- 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 +148 -143
- 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 +83 -75
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +10 -7
- 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 +131 -132
- 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 +4 -3
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +65 -22
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +36 -10
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingEnablement.js +23 -25
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +44 -43
- 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 +152 -166
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +38 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +11 -3
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -0
- package/src/sap/m/Image.js +270 -197
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +375 -367
- 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/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +5 -6
- 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 +452 -458
- package/src/sap/m/ListItemBase.js +116 -107
- 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 +111 -103
- 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/OverflowToolbarAssociativePopoverControls.js +0 -5
- package/src/sap/m/OverflowToolbarButton.js +2 -3
- 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 -95
- 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/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +23 -10
- 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 +344 -340
- 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 +15 -15
- 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 +407 -422
- 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 +17 -12
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerClocksRenderer.js +3 -1
- 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 +79 -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 +13 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +6 -3
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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 +40 -116
- package/src/sap/m/messagebundle.properties +22 -10
- package/src/sap/m/messagebundle_ar.properties +20 -6
- package/src/sap/m/messagebundle_bg.properties +19 -5
- package/src/sap/m/messagebundle_ca.properties +19 -5
- package/src/sap/m/messagebundle_cs.properties +30 -16
- package/src/sap/m/messagebundle_cy.properties +19 -5
- package/src/sap/m/messagebundle_da.properties +19 -5
- package/src/sap/m/messagebundle_de.properties +20 -6
- package/src/sap/m/messagebundle_el.properties +19 -5
- package/src/sap/m/messagebundle_en.properties +18 -4
- package/src/sap/m/messagebundle_en_GB.properties +18 -4
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +23 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -2
- package/src/sap/m/messagebundle_es.properties +19 -5
- package/src/sap/m/messagebundle_es_MX.properties +19 -5
- package/src/sap/m/messagebundle_et.properties +19 -5
- package/src/sap/m/messagebundle_fi.properties +19 -5
- package/src/sap/m/messagebundle_fr.properties +20 -6
- package/src/sap/m/messagebundle_fr_CA.properties +20 -6
- package/src/sap/m/messagebundle_hi.properties +19 -5
- package/src/sap/m/messagebundle_hr.properties +20 -6
- package/src/sap/m/messagebundle_hu.properties +19 -5
- package/src/sap/m/messagebundle_id.properties +19 -5
- package/src/sap/m/messagebundle_it.properties +20 -6
- package/src/sap/m/messagebundle_iw.properties +19 -5
- package/src/sap/m/messagebundle_ja.properties +19 -5
- package/src/sap/m/messagebundle_kk.properties +19 -5
- package/src/sap/m/messagebundle_ko.properties +20 -6
- package/src/sap/m/messagebundle_lt.properties +20 -6
- package/src/sap/m/messagebundle_lv.properties +19 -5
- package/src/sap/m/messagebundle_ms.properties +19 -5
- package/src/sap/m/messagebundle_nl.properties +19 -5
- package/src/sap/m/messagebundle_no.properties +19 -5
- package/src/sap/m/messagebundle_pl.properties +19 -5
- package/src/sap/m/messagebundle_pt.properties +19 -5
- package/src/sap/m/messagebundle_pt_PT.properties +19 -5
- package/src/sap/m/messagebundle_ro.properties +19 -5
- package/src/sap/m/messagebundle_ru.properties +19 -5
- package/src/sap/m/messagebundle_sh.properties +20 -6
- package/src/sap/m/messagebundle_sk.properties +19 -5
- package/src/sap/m/messagebundle_sl.properties +20 -6
- package/src/sap/m/messagebundle_sv.properties +19 -5
- package/src/sap/m/messagebundle_th.properties +19 -5
- package/src/sap/m/messagebundle_tr.properties +19 -5
- package/src/sap/m/messagebundle_uk.properties +19 -5
- package/src/sap/m/messagebundle_vi.properties +19 -5
- package/src/sap/m/messagebundle_zh_CN.properties +19 -5
- package/src/sap/m/messagebundle_zh_TW.properties +19 -5
- 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 +21 -7
- 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 +37 -15
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +3 -3
- 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/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- 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 +17 -5
- 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 +64 -22
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +19 -4
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +9 -3
- 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 +11 -12
- package/src/sap/m/table/columnmenu/QuickTotal.js +9 -3
- 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/Carousel.less +8 -8
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/DisplayListItem.less +3 -3
- package/src/sap/m/themes/base/GenericTile.less +7 -0
- 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 +295 -13
- 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/src/sap/m/CheckBox.js
CHANGED
|
@@ -86,188 +86,191 @@ sap.ui.define([
|
|
|
86
86
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.IAccessKeySupport
|
|
87
87
|
*
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.107.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
93
93
|
* @alias sap.m.CheckBox
|
|
94
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
95
94
|
*/
|
|
96
|
-
var CheckBox = Control.extend("sap.m.CheckBox", /** @lends sap.m.CheckBox.prototype */ {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
95
|
+
var CheckBox = Control.extend("sap.m.CheckBox", /** @lends sap.m.CheckBox.prototype */ {
|
|
96
|
+
metadata : {
|
|
97
|
+
|
|
98
|
+
interfaces : [
|
|
99
|
+
"sap.ui.core.IFormContent",
|
|
100
|
+
"sap.ui.core.ISemanticFormContent",
|
|
101
|
+
"sap.ui.core.IAccessKeySupport"
|
|
102
|
+
],
|
|
103
|
+
library : "sap.m",
|
|
104
|
+
properties : {
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Determines whether the <code>CheckBox</code> is selected (checked).
|
|
108
|
+
*
|
|
109
|
+
* When this property is set to <code>true</code>, the control is displayed as selected,
|
|
110
|
+
* unless the value of the <code>partiallySelected</code> property is also set to <code>true</code>.
|
|
111
|
+
* In this case, the control is displayed as partially selected.
|
|
112
|
+
*/
|
|
113
|
+
selected : {type : "boolean", group : "Data", defaultValue : false},
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Determines whether the <code>CheckBox</code> is displayed as partially selected.
|
|
117
|
+
*
|
|
118
|
+
* <b>Note:</b> This property leads only to visual change of the checkbox and the
|
|
119
|
+
* state cannot be achieved by user interaction. The visual state depends on
|
|
120
|
+
* the value of the <code>selected</code> property:
|
|
121
|
+
* <ul>
|
|
122
|
+
* <li>If <code>selected</code> = <code>true</code> and <code>partiallySelected</code>
|
|
123
|
+
* = <code>true</code>, the control is displayed as partially selected</li>
|
|
124
|
+
* <li>If <code>selected</code> = <code>true</code> and <code>partiallySelected</code>
|
|
125
|
+
* = <code>false</code>, the control is displayed as selected</li>
|
|
126
|
+
* <li>If <code>selected</code> = <code>false</code>, the control is displayed as not
|
|
127
|
+
* selected regardless of what is set for <code>partiallySelected</code></li>
|
|
128
|
+
* </ul>
|
|
129
|
+
*
|
|
130
|
+
* @since 1.58
|
|
131
|
+
*/
|
|
132
|
+
partiallySelected : {type : "boolean", group : "Data", defaultValue : false},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Disables the Checkbox. Disabled controls are not interactive and are rendered differently according to the theme.
|
|
136
|
+
*/
|
|
137
|
+
enabled : {type : "boolean", group : "Behavior", defaultValue : true},
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The 'name' property to be used in the HTML code, for example for HTML forms that send data to the server via submit.
|
|
141
|
+
*/
|
|
142
|
+
name : {type : "string", group : "Misc", defaultValue : null},
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Defines the text displayed next to the checkbox
|
|
146
|
+
*/
|
|
147
|
+
text : {type : "string", group : "Appearance", defaultValue : null},
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Options for the text direction are RTL and LTR. Alternatively, the control can inherit the text direction from its parent container.
|
|
151
|
+
*/
|
|
152
|
+
textDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Aligns the text of the checkbox. Available alignment settings are "Begin", "Center", "End", "Left", and "Right".
|
|
156
|
+
*/
|
|
157
|
+
textAlign : {type : "sap.ui.core.TextAlign", group : "Appearance", defaultValue : TextAlign.Begin},
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Determines the total width of the control or the width of its label only, depending on the value of <code>useEntireWidth</code>.
|
|
161
|
+
*
|
|
162
|
+
* <b>Note:</b> When <code>useEntireWidth</code> is set to <code>true</code>, <code>width</code> is applied to the control as a whole (checkbox and label). Otherwise, <code>width</code> is applied to the label only.
|
|
163
|
+
*/
|
|
164
|
+
width : {type : "sap.ui.core.CSSSize", group : "Dimension", defaultValue : ''},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Indicates if the given width will be applied to the control as a whole or to its label only.
|
|
168
|
+
*
|
|
169
|
+
* <b>Note:</b> by default the width is set to the label
|
|
170
|
+
* @since 1.52
|
|
171
|
+
*/
|
|
172
|
+
useEntireWidth : {type : "boolean", group: "Appearance", defaultValue : false },
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Flag to switch on activeHandling, when it is switched off, there will be no visual changes on active state. Default value is 'true'
|
|
176
|
+
*/
|
|
177
|
+
activeHandling : {type : "boolean", group : "Misc", defaultValue : true},
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Specifies whether the user shall be allowed to edit the state of the checkbox
|
|
181
|
+
* @since 1.25
|
|
182
|
+
*/
|
|
183
|
+
editable : {type : "boolean", group : "Behavior", defaultValue : true},
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Accepts the core enumeration ValueState.type that supports 'None', 'Error', 'Warning', 'Success' and 'Information'.
|
|
187
|
+
* @since 1.38
|
|
188
|
+
*/
|
|
189
|
+
valueState : {type : "sap.ui.core.ValueState", group : "Data", defaultValue : ValueState.None},
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Defines the text that appears in the tooltip of the <code>CheckBox</code>. If this is not specified, a default text is shown from the resource bundle.
|
|
193
|
+
* @since 1.74
|
|
194
|
+
* @private
|
|
195
|
+
*/
|
|
196
|
+
valueStateText: { type: "string", group: "Misc", defaultValue: null, visibility: "hidden" },
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Determines whether the <code>CheckBox</code> is in display only state.
|
|
200
|
+
*
|
|
201
|
+
* When set to <code>true</code>, the <code>CheckBox</code> is not interactive, not editable, not focusable
|
|
202
|
+
* and not in the tab chain. This setting is used for forms in review mode.
|
|
203
|
+
*
|
|
204
|
+
* <Note:> When the property <code>enabled</code> is set to <code>false</code> this property has no effect.
|
|
205
|
+
* @since 1.54
|
|
206
|
+
*/
|
|
207
|
+
displayOnly : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Determines whether the label's text is wrapped.
|
|
211
|
+
*
|
|
212
|
+
* When set to <code>false</code> (default), the label's text
|
|
213
|
+
* is truncated with ellipsis at the end.
|
|
214
|
+
*
|
|
215
|
+
* @since 1.54
|
|
216
|
+
*/
|
|
217
|
+
wrapping: {type : "boolean", group : "Appearance", defaultValue : false},
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Indicates whether the access keys ref of the control should be highlighted.
|
|
221
|
+
* NOTE: this property is used only when access keys feature is turned on.
|
|
222
|
+
*
|
|
223
|
+
* @private
|
|
224
|
+
*/
|
|
225
|
+
highlightAccKeysRef: { type: "boolean", defaultValue: false, visibility: "hidden" },
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Indicates which keyboard key should be pressed to focus the access key ref
|
|
229
|
+
* NOTE: this property is used only when access keys feature is turned on.
|
|
230
|
+
*
|
|
231
|
+
* @private
|
|
232
|
+
*/
|
|
233
|
+
accesskey: { type: "string", defaultValue: "", visibility: "hidden" }
|
|
234
|
+
},
|
|
235
|
+
aggregations: {
|
|
236
|
+
/**
|
|
237
|
+
* The label that represents the text of the checkbox control
|
|
238
|
+
*/
|
|
239
|
+
_label: {type: "sap.m.Label", group: "Behavior", multiple: false, visibility: "hidden"}
|
|
240
|
+
},
|
|
241
|
+
associations : {
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Association to controls / IDs which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
245
|
+
*/
|
|
246
|
+
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Association to controls / IDs which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
250
|
+
*/
|
|
251
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
252
|
+
},
|
|
253
|
+
events : {
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Event is triggered when the control status is changed by the user by selecting or deselecting the checkbox.
|
|
257
|
+
*/
|
|
258
|
+
select : {
|
|
259
|
+
parameters : {
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Checks whether the CheckBox is marked or not .
|
|
263
|
+
*/
|
|
264
|
+
selected : {type : "boolean"}
|
|
265
|
+
}
|
|
265
266
|
}
|
|
266
|
-
}
|
|
267
|
+
},
|
|
268
|
+
dnd: { draggable: true, droppable: false },
|
|
269
|
+
designtime: "sap/m/designtime/CheckBox.designtime"
|
|
267
270
|
},
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
+
|
|
272
|
+
renderer: CheckBoxRenderer
|
|
273
|
+
});
|
|
271
274
|
|
|
272
275
|
EnabledPropagator.call(CheckBox.prototype);
|
|
273
276
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(['sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/Device'],
|
|
8
|
-
function(coreLibrary, ValueStateSupport, Device) {
|
|
7
|
+
sap.ui.define(['sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/Device', "sap/ui/core/Configuration"],
|
|
8
|
+
function(coreLibrary, ValueStateSupport, Device, Configuration) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -159,7 +159,7 @@ sap.ui.define(['sap/ui/core/library', 'sap/ui/core/ValueStateSupport', 'sap/ui/D
|
|
|
159
159
|
oRm.close("div");
|
|
160
160
|
oRm.renderControl(oCbLabel);
|
|
161
161
|
|
|
162
|
-
if (sTooltip &&
|
|
162
|
+
if (sTooltip && Configuration.getAccessibility() && bEditableAndEnabled) {
|
|
163
163
|
// for ARIA, the tooltip must be in a separate SPAN and assigned via aria-describedby.
|
|
164
164
|
// otherwise, JAWS does not read it.
|
|
165
165
|
oRm.openStart("span", sId + "-Descr");
|
|
@@ -104,13 +104,12 @@ sap.ui.define([
|
|
|
104
104
|
* To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
|
|
105
105
|
*
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
|
-
* @version 1.
|
|
107
|
+
* @version 1.107.0
|
|
108
108
|
*
|
|
109
109
|
* @constructor
|
|
110
110
|
* @public
|
|
111
111
|
* @since 1.54
|
|
112
112
|
* @alias sap.m.ColorPalette
|
|
113
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
114
113
|
*/
|
|
115
114
|
var ColorPalette = Control.extend("sap.m.ColorPalette", /** @lends sap.m.ColorPalette.prototype */ {
|
|
116
115
|
metadata: {
|
|
@@ -220,7 +219,9 @@ sap.ui.define([
|
|
|
220
219
|
}
|
|
221
220
|
}
|
|
222
221
|
}
|
|
223
|
-
}
|
|
222
|
+
},
|
|
223
|
+
|
|
224
|
+
renderer: ColorPaletteRenderer
|
|
224
225
|
});
|
|
225
226
|
|
|
226
227
|
ColorPalette.prototype.init = function () {
|
|
@@ -28,7 +28,6 @@ sap.ui.define([
|
|
|
28
28
|
var PlacementType = library.PlacementType;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
31
|
* Constructor for a new <code>ColorPalettePopover</code>.
|
|
33
32
|
*
|
|
34
33
|
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
@@ -38,13 +37,11 @@ sap.ui.define([
|
|
|
38
37
|
* A thin wrapper over {@link sap.m.ColorPalette} allowing the latter to be used in a popover.
|
|
39
38
|
*
|
|
40
39
|
* @extends sap.ui.core.Control
|
|
41
|
-
* @version 1.
|
|
40
|
+
* @version 1.107.0
|
|
42
41
|
*
|
|
43
|
-
* @constructor
|
|
44
42
|
* @public
|
|
45
43
|
* @since 1.54
|
|
46
44
|
* @alias sap.m.ColorPalettePopover
|
|
47
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
48
45
|
*/
|
|
49
46
|
var ColorPalettePopover = Control.extend("sap.m.ColorPalettePopover", /** @lends sap.m.ColorPalettePopover.prototype */ {
|
|
50
47
|
metadata: {
|
|
@@ -59,7 +56,7 @@ sap.ui.define([
|
|
|
59
56
|
defaultColor: {type: "sap.ui.core.CSSColor", group: "Appearance", defaultValue: null},
|
|
60
57
|
|
|
61
58
|
/**
|
|
62
|
-
* Defines the
|
|
59
|
+
* Defines the list of colors displayed in the palette. Minimum is 2 colors, maximum is 15 colors.
|
|
63
60
|
*/
|
|
64
61
|
colors: {
|
|
65
62
|
type: "sap.ui.core.CSSColor[]", group: "Appearance",
|
|
@@ -88,7 +85,8 @@ sap.ui.define([
|
|
|
88
85
|
showDefaultColorButton: {type: "boolean", group: "Appearance", defaultValue: true},
|
|
89
86
|
|
|
90
87
|
/**
|
|
91
|
-
*
|
|
88
|
+
* Whether the popover shows a "More colors..." button that opens an additional color picker
|
|
89
|
+
* for the user to choose specific colors, not present in the predefined range.
|
|
92
90
|
*/
|
|
93
91
|
showMoreColorsButton: {type: "boolean", group: "Appearance", defaultValue: true},
|
|
94
92
|
|
|
@@ -112,7 +110,7 @@ sap.ui.define([
|
|
|
112
110
|
colorSelect: {
|
|
113
111
|
parameters: {
|
|
114
112
|
/**
|
|
115
|
-
* The color
|
|
113
|
+
* The selected color value.
|
|
116
114
|
*/
|
|
117
115
|
"value": {type: "sap.ui.core.CSSColor"},
|
|
118
116
|
/**
|
|
@@ -188,7 +186,7 @@ sap.ui.define([
|
|
|
188
186
|
/**
|
|
189
187
|
* Keeps reference to all API properties and/or methods that are about to be forwarded to either a
|
|
190
188
|
* <code>ColorPalette</code> or <code>Popover</code>. The value contains the name of the method at the target
|
|
191
|
-
* instance. If empty,
|
|
189
|
+
* instance. If empty, then the key is used as target name.
|
|
192
190
|
*/
|
|
193
191
|
var FORWARDABLE = {
|
|
194
192
|
COLOR_PALETTE_PROPS: {
|
|
@@ -226,14 +224,18 @@ sap.ui.define([
|
|
|
226
224
|
|
|
227
225
|
/**
|
|
228
226
|
* Opens the <code>ColorPalettePopover</code>.
|
|
229
|
-
* The popover is positioned relative to the control parameter on tablet or desktop and is full screen on phone.
|
|
230
|
-
* Therefore the control parameter is only used on tablet or desktop and is ignored on phone.
|
|
231
227
|
*
|
|
232
|
-
*
|
|
233
|
-
* is
|
|
234
|
-
*
|
|
228
|
+
* On table or desktop devices, the popover is positioned relative to the given <code>oControl</code>
|
|
229
|
+
* parameter. On phones, it is shown full screen, the <code>oControl</code> parameter is ignored.
|
|
230
|
+
*
|
|
231
|
+
* @param {sap.ui.core.Control} oCpntrol
|
|
232
|
+
* When displayed on a tablet or desktop device, the <code>ColorPalettePopover</code> is positioned
|
|
233
|
+
* relative to this control
|
|
234
|
+
* @returns {sap.ui.core.Control}
|
|
235
|
+
* Reference to the opened control
|
|
235
236
|
* @public
|
|
236
|
-
* @
|
|
237
|
+
* @name sap.m.ColorPalettePopover#openBy
|
|
238
|
+
* @function
|
|
237
239
|
*/
|
|
238
240
|
|
|
239
241
|
|
|
@@ -242,16 +244,16 @@ sap.ui.define([
|
|
|
242
244
|
*
|
|
243
245
|
* @name sap.m.ColorPalettePopover#close
|
|
244
246
|
* @function
|
|
245
|
-
* @
|
|
247
|
+
* @returns {sap.ui.core.Control} Reference to the closed control
|
|
246
248
|
* @public
|
|
247
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
248
249
|
*/
|
|
249
250
|
|
|
250
251
|
/**
|
|
251
252
|
* Sets a selected color for the ColorPicker control.
|
|
253
|
+
*
|
|
252
254
|
* @param {sap.ui.core.CSSColor} color the selected color
|
|
253
255
|
* @public
|
|
254
|
-
* @
|
|
256
|
+
* @returns {this} <code>this</code> for method chaining
|
|
255
257
|
*/
|
|
256
258
|
ColorPalettePopover.prototype.setColorPickerSelectedColor = function (color) {
|
|
257
259
|
this._getPalette().setColorPickerSelectedColor(color);
|
|
@@ -279,7 +281,8 @@ sap.ui.define([
|
|
|
279
281
|
|
|
280
282
|
/**
|
|
281
283
|
* Creates a popover that wraps the ColorPalette.
|
|
282
|
-
*
|
|
284
|
+
*
|
|
285
|
+
* @returns {sap.m.ResponsivePopover} the popover containing the ColorPalette.
|
|
283
286
|
* @private
|
|
284
287
|
*/
|
|
285
288
|
ColorPalettePopover.prototype._createPopover = function () {
|
|
@@ -348,10 +351,10 @@ sap.ui.define([
|
|
|
348
351
|
/**
|
|
349
352
|
* Creates a ColorPalette that reflects the current API properties for colors,
|
|
350
353
|
* defaultColor, showDefaultColorButton, showMoreColors button.
|
|
351
|
-
*
|
|
354
|
+
*
|
|
355
|
+
* @returns {sap.m.ColorPalette} the ColorPalette.
|
|
352
356
|
* @private
|
|
353
357
|
*/
|
|
354
|
-
|
|
355
358
|
ColorPalettePopover.prototype._createColorPalette = function () {
|
|
356
359
|
var oColorPalette = new ColorPalette(this.getId() + "-palette", {
|
|
357
360
|
liveChange: function (oEvent) {
|
|
@@ -369,7 +372,7 @@ sap.ui.define([
|
|
|
369
372
|
/**
|
|
370
373
|
* Should be called once the ColorPalette is closed to determine if the TAB/SHIFT+TAB should be prevented or not.
|
|
371
374
|
*
|
|
372
|
-
* @param oEvent
|
|
375
|
+
* @param {sap.ui.base.Event} oEvent
|
|
373
376
|
* @private
|
|
374
377
|
*/
|
|
375
378
|
ColorPalettePopover.prototype._handleNextOrPreviousUponPaletteClose = function (oEvent) {
|
package/src/sap/m/Column.js
CHANGED
|
@@ -46,13 +46,12 @@ sap.ui.define([
|
|
|
46
46
|
* @extends sap.ui.core.Element
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.107.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
53
53
|
* @since 1.12
|
|
54
54
|
* @alias sap.m.Column
|
|
55
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
56
55
|
*/
|
|
57
56
|
var Column = Element.extend("sap.m.Column", /** @lends sap.m.Column.prototype */ { metadata : {
|
|
58
57
|
|
|
@@ -204,7 +203,7 @@ sap.ui.define([
|
|
|
204
203
|
*
|
|
205
204
|
* @since 1.98.0
|
|
206
205
|
*/
|
|
207
|
-
|
|
206
|
+
headerMenu: {type: "sap.ui.core.IColumnHeaderMenu", multiple: false, visibility: "hidden"}
|
|
208
207
|
},
|
|
209
208
|
designtime: "sap/m/designtime/Column.designtime"
|
|
210
209
|
}});
|
|
@@ -699,7 +698,7 @@ sap.ui.define([
|
|
|
699
698
|
// hence overwriting the getFocusDomRef to restore the focus on the active column header
|
|
700
699
|
Column.prototype.getFocusDomRef = function() {
|
|
701
700
|
var oParent = this.getParent();
|
|
702
|
-
if (oParent && (oParent.bActiveHeaders || oParent.bFocusableHeaders || this.getAssociation("
|
|
701
|
+
if (oParent && (oParent.bActiveHeaders || oParent.bFocusableHeaders || this.getAssociation("headerMenu"))) {
|
|
703
702
|
var oColumnDomRef = this.getDomRef();
|
|
704
703
|
if (oColumnDomRef) {
|
|
705
704
|
return oColumnDomRef.firstChild;
|
|
@@ -724,14 +723,14 @@ sap.ui.define([
|
|
|
724
723
|
};
|
|
725
724
|
|
|
726
725
|
/**
|
|
727
|
-
* Returns the <code>sap.ui.core.IColumnHeaderMenu<\code>, which is the current target of the association <code>
|
|
726
|
+
* Returns the <code>sap.ui.core.IColumnHeaderMenu<\code>, which is the current target of the association <code>headerMenu</code>, or null.
|
|
728
727
|
*
|
|
729
728
|
* @returns {sap.ui.core.IColumnHeaderMenu}
|
|
730
729
|
* @since 1.98.0
|
|
731
730
|
* @public
|
|
732
731
|
*/
|
|
733
732
|
Column.prototype.getColumnHeaderMenu = function () {
|
|
734
|
-
return sap.ui.getCore().byId(this.getAssociation("
|
|
733
|
+
return sap.ui.getCore().byId(this.getAssociation("headerMenu"));
|
|
735
734
|
};
|
|
736
735
|
|
|
737
736
|
return Column;
|
|
@@ -28,13 +28,12 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Control
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.107.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @since 1.63
|
|
35
35
|
* @private
|
|
36
36
|
* @alias sap.m.ColumnHeaderPopover
|
|
37
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
38
37
|
*/
|
|
39
38
|
var ColumnHeaderPopover = Control.extend("sap.m.ColumnHeaderPopover", /** @lends sap.m.ColumnHeaderPopover.prototype */
|
|
40
39
|
{
|