@openui5/sap.m 1.106.0 → 1.107.1
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/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- 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
|
@@ -286,6 +286,17 @@ sap.ui.define([
|
|
|
286
286
|
type: "sap.ui.core.TitleLevel",
|
|
287
287
|
group: "Appearance",
|
|
288
288
|
defaultValue: TitleLevel.Auto
|
|
289
|
+
},
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Defines the behavior, when the same list item is selected
|
|
293
|
+
* If set to <code>false</code> the <code>select</code> event will be ommited.
|
|
294
|
+
*/
|
|
295
|
+
_selectStategyForSameItem: {
|
|
296
|
+
type: "boolean",
|
|
297
|
+
group: "Misc",
|
|
298
|
+
defaultValue: true,
|
|
299
|
+
visibility: "hidden"
|
|
289
300
|
}
|
|
290
301
|
},
|
|
291
302
|
defaultAggregation: "items",
|
|
@@ -484,6 +495,10 @@ sap.ui.define([
|
|
|
484
495
|
if (!this._oObserver.isObserved(oVariantItem, {properties: ["title"]})) {
|
|
485
496
|
this._oObserver.observe(oVariantItem, {properties: ["title"]});
|
|
486
497
|
}
|
|
498
|
+
|
|
499
|
+
if (this.getSelectedKey() === oVariantItem.getKey()) {
|
|
500
|
+
this.refreshTitle();
|
|
501
|
+
}
|
|
487
502
|
break;
|
|
488
503
|
case "remove":
|
|
489
504
|
if (this._oObserver.isObserved(oVariantItem, {properties: ["title"]})) {
|
|
@@ -634,8 +649,11 @@ sap.ui.define([
|
|
|
634
649
|
VariantManagement.prototype.getTitle = function() {
|
|
635
650
|
return this.oVariantText;
|
|
636
651
|
};
|
|
652
|
+
|
|
637
653
|
VariantManagement.prototype.refreshTitle = function() {
|
|
638
|
-
this.oVariantText
|
|
654
|
+
if (this.oVariantText) {
|
|
655
|
+
this.oVariantText.getBinding("text").refresh(true);
|
|
656
|
+
}
|
|
639
657
|
};
|
|
640
658
|
|
|
641
659
|
VariantManagement.prototype._setInvisibleText = function(sText, bFlag) {
|
|
@@ -981,25 +999,27 @@ sap.ui.define([
|
|
|
981
999
|
}
|
|
982
1000
|
}
|
|
983
1001
|
if (sSelectionKey) {
|
|
984
|
-
// this.setModified(false);
|
|
985
|
-
this.setSelectedKey(sSelectionKey);
|
|
986
1002
|
|
|
987
|
-
this.
|
|
988
|
-
|
|
989
|
-
|
|
1003
|
+
var bTriggerForSameItem = this.getProperty("_selectStategyForSameItem");
|
|
1004
|
+
|
|
1005
|
+
if (bTriggerForSameItem || (!bTriggerForSameItem && (this.getSelectedKey() !== sSelectionKey))) {
|
|
1006
|
+
this.setSelectedKey(sSelectionKey);
|
|
1007
|
+
|
|
1008
|
+
this.fireSelect({
|
|
1009
|
+
key: sSelectionKey
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
990
1012
|
this.oVariantPopOver.close();
|
|
991
1013
|
}
|
|
992
1014
|
}.bind(this)
|
|
993
1015
|
});
|
|
994
1016
|
this.oVariantList.setNoDataText(this._oRb.getText("VARIANT_MANAGEMENT_NODATA"));
|
|
995
1017
|
|
|
996
|
-
|
|
997
1018
|
var oItemTemplate = new Item({
|
|
998
1019
|
key: "{$mVariants>key}",
|
|
999
1020
|
text: "{$mVariants>title}"
|
|
1000
1021
|
});
|
|
1001
1022
|
|
|
1002
|
-
|
|
1003
1023
|
this.oVariantList.bindAggregation("items", {
|
|
1004
1024
|
path: "/items",
|
|
1005
1025
|
model: "$mVariants",
|
|
@@ -22,13 +22,12 @@ sap.ui.define(['./ViewSettingsItem', './library'],
|
|
|
22
22
|
* @extends sap.m.ViewSettingsItem
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.107.1
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.16
|
|
30
30
|
* @alias sap.m.ViewSettingsCustomItem
|
|
31
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
32
31
|
*/
|
|
33
32
|
var ViewSettingsCustomItem = ViewSettingsItem.extend("sap.m.ViewSettingsCustomItem", /** @lends sap.m.ViewSettingsCustomItem.prototype */ { metadata : {
|
|
34
33
|
|
|
@@ -20,13 +20,12 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/core/IconPool'],
|
|
|
20
20
|
* @extends sap.ui.core.Item
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.107.1
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
27
|
* @since 1.30
|
|
28
28
|
* @alias sap.m.ViewSettingsCustomTab
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
30
|
var ViewSettingsCustomTab = Item.extend("sap.m.ViewSettingsCustomTab", /** @lends sap.m.ViewSettingsCustomTab.prototype */ { metadata : {
|
|
32
31
|
|
|
@@ -144,192 +144,195 @@ function(
|
|
|
144
144
|
* @extends sap.ui.core.Control
|
|
145
145
|
*
|
|
146
146
|
* @author SAP SE
|
|
147
|
-
* @version 1.
|
|
147
|
+
* @version 1.107.1
|
|
148
148
|
*
|
|
149
149
|
* @constructor
|
|
150
150
|
* @public
|
|
151
151
|
* @since 1.16
|
|
152
152
|
* @alias sap.m.ViewSettingsDialog
|
|
153
153
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/view-settings-dialog/ View Settings Dialog}
|
|
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
|
-
aggregations : {
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* The list of items with key and value that can be sorted over (for example, a list of columns for a table).
|
|
199
|
-
* @since 1.16
|
|
200
|
-
*/
|
|
201
|
-
sortItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "sortItem", bindable : "bindable"},
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* The list of items with key and value that can be grouped on (for example, a list of columns for a table).
|
|
205
|
-
* @since 1.16
|
|
206
|
-
*/
|
|
207
|
-
groupItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "groupItem", bindable : "bindable"},
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* The list of items with key and value that can be filtered on (for example, a list of columns for a table). A filterItem is associated with one or more detail filters.
|
|
211
|
-
*
|
|
212
|
-
* <b>Note:</b> It is recommended to use the <code>sap.m.ViewSettingsFilterItem</code> as it fits best at the filter page.
|
|
213
|
-
* @since 1.16
|
|
214
|
-
*/
|
|
215
|
-
filterItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "filterItem", bindable : "bindable"},
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The list of preset filter items with key and value that allows the selection of more complex or custom filters.
|
|
219
|
-
* These entries are displayed at the top of the filter tab.
|
|
220
|
-
* @since 1.16
|
|
221
|
-
*/
|
|
222
|
-
presetFilterItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "presetFilterItem", bindable : "bindable"},
|
|
223
|
-
/**
|
|
224
|
-
* The list of all the custom tabs.
|
|
225
|
-
* @since 1.30
|
|
226
|
-
*/
|
|
227
|
-
customTabs: {type: "sap.m.ViewSettingsCustomTab", multiple: true, singularName: "customTab", bindable : "bindable"}
|
|
228
|
-
},
|
|
229
|
-
associations : {
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* The sort item that is selected. It can be set by either passing a key or the item itself to the function setSelectedSortItem.
|
|
233
|
-
*/
|
|
234
|
-
selectedSortItem : {type : "sap.m.ViewSettingsItem", multiple : false},
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The group item that is selected. It can be set by either passing a key or the item itself to the function setSelectedGroupItem.
|
|
238
|
-
* By default 'None' is selected. You can restore back to 'None' by setting this association to empty value.
|
|
239
|
-
*/
|
|
240
|
-
selectedGroupItem : {type : "sap.m.ViewSettingsItem", multiple : false},
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* The preset filter item that is selected. It can be set by either passing a key or the item itself to the function setSelectedPresetFilterItem. Note that either a preset filter OR multiple detail filters can be active at the same time.
|
|
244
|
-
*/
|
|
245
|
-
selectedPresetFilterItem : {type : "sap.m.ViewSettingsItem", multiple : false}
|
|
246
|
-
},
|
|
247
|
-
events : {
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Indicates that the user has pressed the OK button and the selected sort, group, and filter settings should be applied to the data on this page.
|
|
251
|
-
* </br></br><b>Note:</b> Custom tabs are not converted to event parameters automatically. For custom tabs, you have to read the state of your controls inside the callback of this event.
|
|
252
|
-
*/
|
|
253
|
-
confirm : {
|
|
254
|
-
parameters : {
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* The selected sort item.
|
|
258
|
-
*/
|
|
259
|
-
sortItem : {type : "sap.m.ViewSettingsItem"},
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* The selected sort order (true = descending, false = ascending).
|
|
263
|
-
*/
|
|
264
|
-
sortDescending : {type : "boolean"},
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* The selected group item.
|
|
268
|
-
*/
|
|
269
|
-
groupItem : {type : "sap.m.ViewSettingsItem"},
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* The selected group order (true = descending, false = ascending).
|
|
273
|
-
*/
|
|
274
|
-
groupDescending : {type : "boolean"},
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* The selected preset filter item.
|
|
278
|
-
*/
|
|
279
|
-
presetFilterItem : {type : "sap.m.ViewSettingsItem"},
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* The selected filters in an array of ViewSettingsItem.
|
|
283
|
-
*/
|
|
284
|
-
filterItems : {type : "sap.m.ViewSettingsItem[]"},
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* The selected filter items in an object notation format: { key: boolean }. If a custom control filter was displayed (for example, the user clicked on the filter item), the value for its key is set to true to indicate that there has been an interaction with the control.
|
|
288
|
-
* @deprecated as of version 1.42, replaced by <code>filterCompoundKeys</code> event
|
|
289
|
-
*/
|
|
290
|
-
filterKeys : {type : "object", deprecated: true},
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* The selected filter items in an object notation format: { parentKey: { key: boolean, key2: boolean, ... }, ...}. If a custom control filter was displayed (for example, the user clicked on the filter item), the value for its key is set to true to indicate that there has been an interaction with the control.
|
|
294
|
-
* @since 1.42
|
|
295
|
-
*/
|
|
296
|
-
filterCompoundKeys : {type : "object"},
|
|
154
|
+
*/
|
|
155
|
+
var ViewSettingsDialog = Control.extend("sap.m.ViewSettingsDialog", /** @lends sap.m.ViewSettingsDialog.prototype */ {
|
|
156
|
+
metadata : {
|
|
157
|
+
|
|
158
|
+
library : "sap.m",
|
|
159
|
+
properties : {
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Defines the title of the dialog. If not set and there is only one active tab, the dialog uses the default "View" or "Sort", "Group", "Filter" respectively.
|
|
163
|
+
*/
|
|
164
|
+
title : {type : "string", group : "Behavior", defaultValue : null},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Determines whether the sort order is descending or ascending (default).
|
|
168
|
+
*/
|
|
169
|
+
sortDescending : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Determines whether the group order is descending or ascending (default).
|
|
173
|
+
*/
|
|
174
|
+
groupDescending : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Provides a string filter operator which is used when the user searches items in filter details page.
|
|
178
|
+
* Possible operators are: <code>AnyWordStartsWith</code>, <code>Contains</code>, <code>StartsWith</code>, <code>Equals</code>.
|
|
179
|
+
* This property will be ignored if a custom callback is provided through <code>setFilterSearchCallback</code> method.
|
|
180
|
+
* @since 1.42
|
|
181
|
+
*/
|
|
182
|
+
filterSearchOperator: {type: "sap.m.StringFilterOperator", group: "Behavior", defaultValue: StringFilterOperator.StartsWith },
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Specifies the Title alignment (theme specific).
|
|
186
|
+
* If set to <code>TitleAlignment.None</code>, the automatic title alignment depending on the theme settings will be disabled.
|
|
187
|
+
* If set to <code>TitleAlignment.Auto</code>, the Title will be aligned as it is set in the theme (if not set, the default value is <code>center</code>);
|
|
188
|
+
* Other possible values are <code>TitleAlignment.Start</code> (left or right depending on LTR/RTL), and <code>TitleAlignment.Center</code> (centered)
|
|
189
|
+
* @since 1.72
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
titleAlignment : {type : "sap.m.TitleAlignment", group : "Misc", defaultValue : TitleAlignment.Auto}
|
|
297
193
|
|
|
298
|
-
/**
|
|
299
|
-
* The selected filter items in a string format to display in the control's header bar in format "Filtered by: key (subkey1, subkey2, subkey3)".
|
|
300
|
-
*/
|
|
301
|
-
filterString : {type : "string"}
|
|
302
|
-
}
|
|
303
194
|
},
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
195
|
+
aggregations : {
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The list of items with key and value that can be sorted over (for example, a list of columns for a table).
|
|
199
|
+
* @since 1.16
|
|
200
|
+
*/
|
|
201
|
+
sortItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "sortItem", bindable : "bindable"},
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* The list of items with key and value that can be grouped on (for example, a list of columns for a table).
|
|
205
|
+
* @since 1.16
|
|
206
|
+
*/
|
|
207
|
+
groupItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "groupItem", bindable : "bindable"},
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The list of items with key and value that can be filtered on (for example, a list of columns for a table). A filterItem is associated with one or more detail filters.
|
|
211
|
+
*
|
|
212
|
+
* <b>Note:</b> It is recommended to use the <code>sap.m.ViewSettingsFilterItem</code> as it fits best at the filter page.
|
|
213
|
+
* @since 1.16
|
|
214
|
+
*/
|
|
215
|
+
filterItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "filterItem", bindable : "bindable"},
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* The list of preset filter items with key and value that allows the selection of more complex or custom filters.
|
|
219
|
+
* These entries are displayed at the top of the filter tab.
|
|
220
|
+
* @since 1.16
|
|
221
|
+
*/
|
|
222
|
+
presetFilterItems : {type : "sap.m.ViewSettingsItem", multiple : true, singularName : "presetFilterItem", bindable : "bindable"},
|
|
223
|
+
/**
|
|
224
|
+
* The list of all the custom tabs.
|
|
225
|
+
* @since 1.30
|
|
226
|
+
*/
|
|
227
|
+
customTabs: {type: "sap.m.ViewSettingsCustomTab", multiple: true, singularName: "customTab", bindable : "bindable"}
|
|
228
|
+
},
|
|
229
|
+
associations : {
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The sort item that is selected. It can be set by either passing a key or the item itself to the function setSelectedSortItem.
|
|
233
|
+
*/
|
|
234
|
+
selectedSortItem : {type : "sap.m.ViewSettingsItem", multiple : false},
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The group item that is selected. It can be set by either passing a key or the item itself to the function setSelectedGroupItem.
|
|
238
|
+
* By default 'None' is selected. You can restore back to 'None' by setting this association to empty value.
|
|
239
|
+
*/
|
|
240
|
+
selectedGroupItem : {type : "sap.m.ViewSettingsItem", multiple : false},
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The preset filter item that is selected. It can be set by either passing a key or the item itself to the function setSelectedPresetFilterItem. Note that either a preset filter OR multiple detail filters can be active at the same time.
|
|
244
|
+
*/
|
|
245
|
+
selectedPresetFilterItem : {type : "sap.m.ViewSettingsItem", multiple : false}
|
|
246
|
+
},
|
|
247
|
+
events : {
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Indicates that the user has pressed the OK button and the selected sort, group, and filter settings should be applied to the data on this page.
|
|
251
|
+
* </br></br><b>Note:</b> Custom tabs are not converted to event parameters automatically. For custom tabs, you have to read the state of your controls inside the callback of this event.
|
|
252
|
+
*/
|
|
253
|
+
confirm : {
|
|
254
|
+
parameters : {
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* The selected sort item.
|
|
258
|
+
*/
|
|
259
|
+
sortItem : {type : "sap.m.ViewSettingsItem"},
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* The selected sort order (true = descending, false = ascending).
|
|
263
|
+
*/
|
|
264
|
+
sortDescending : {type : "boolean"},
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* The selected group item.
|
|
268
|
+
*/
|
|
269
|
+
groupItem : {type : "sap.m.ViewSettingsItem"},
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* The selected group order (true = descending, false = ascending).
|
|
273
|
+
*/
|
|
274
|
+
groupDescending : {type : "boolean"},
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* The selected preset filter item.
|
|
278
|
+
*/
|
|
279
|
+
presetFilterItem : {type : "sap.m.ViewSettingsItem"},
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* The selected filters in an array of ViewSettingsItem.
|
|
283
|
+
*/
|
|
284
|
+
filterItems : {type : "sap.m.ViewSettingsItem[]"},
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The selected filter items in an object notation format: { key: boolean }. If a custom control filter was displayed (for example, the user clicked on the filter item), the value for its key is set to true to indicate that there has been an interaction with the control.
|
|
288
|
+
* @deprecated as of version 1.42, replaced by <code>filterCompoundKeys</code> event
|
|
289
|
+
*/
|
|
290
|
+
filterKeys : {type : "object", deprecated: true},
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* The selected filter items in an object notation format: { parentKey: { key: boolean, key2: boolean, ... }, ...}. If a custom control filter was displayed (for example, the user clicked on the filter item), the value for its key is set to true to indicate that there has been an interaction with the control.
|
|
294
|
+
* @since 1.42
|
|
295
|
+
*/
|
|
296
|
+
filterCompoundKeys : {type : "object"},
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* The selected filter items in a string format to display in the control's header bar in format "Filtered by: key (subkey1, subkey2, subkey3)".
|
|
300
|
+
*/
|
|
301
|
+
filterString : {type : "string"}
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Called when the Cancel button is pressed. It can be used to set the state of custom filter controls.
|
|
307
|
+
*/
|
|
308
|
+
cancel : {},
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Called when the filters are being reset.
|
|
312
|
+
*/
|
|
313
|
+
resetFilters : {},
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Called when the Reset button is pressed. It can be used to set the state of custom tabs.
|
|
317
|
+
*/
|
|
318
|
+
reset : {},
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Fired when the filter detail page is opened.
|
|
322
|
+
*/
|
|
323
|
+
filterDetailPageOpened: {
|
|
324
|
+
parameters: {
|
|
325
|
+
/**
|
|
326
|
+
* The filter item for which the details are opened.
|
|
327
|
+
*/
|
|
328
|
+
parentFilterItem: {type: "sap.m.ViewSettingsFilterItem"}
|
|
329
|
+
}
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
|
-
}
|
|
332
|
-
|
|
332
|
+
},
|
|
333
|
+
|
|
334
|
+
renderer: ViewSettingsDialogRenderer
|
|
335
|
+
});
|
|
333
336
|
|
|
334
337
|
|
|
335
338
|
/* =========================================================== */
|
|
@@ -1323,7 +1326,6 @@ function(
|
|
|
1323
1326
|
* The available values are "sort", "group", "filter" or IDs of custom tabs.
|
|
1324
1327
|
*
|
|
1325
1328
|
* @return {this} this pointer for chaining
|
|
1326
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1327
1329
|
*/
|
|
1328
1330
|
ViewSettingsDialog.prototype.open = function(sPageId) {
|
|
1329
1331
|
// add to static UI area manually because we don't have a renderer
|
|
@@ -1406,7 +1408,6 @@ function(
|
|
|
1406
1408
|
* @override
|
|
1407
1409
|
* @public
|
|
1408
1410
|
* @return {sap.m.ViewSettingsItem[]} An array of selected filter items
|
|
1409
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1410
1411
|
*/
|
|
1411
1412
|
ViewSettingsDialog.prototype.getSelectedFilterItems = function() {
|
|
1412
1413
|
var aSelectedFilterItems = [], aFilterItems = this.getFilterItems(), aSubFilterItems, bMultiSelect = true, i = 0, j;
|
|
@@ -1441,7 +1442,6 @@ function(
|
|
|
1441
1442
|
*
|
|
1442
1443
|
* @public
|
|
1443
1444
|
* @return {string} The selected filter string
|
|
1444
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1445
1445
|
*/
|
|
1446
1446
|
ViewSettingsDialog.prototype.getSelectedFilterString = function() {
|
|
1447
1447
|
var sFilterString = "",
|
|
@@ -1509,7 +1509,6 @@ function(
|
|
|
1509
1509
|
*
|
|
1510
1510
|
* @public
|
|
1511
1511
|
* @return {object} An object with item and sub-item keys
|
|
1512
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1513
1512
|
* @deprecated as of version 1.42, replaced by <code>getSelectedFilterCompoundKeys</code> method
|
|
1514
1513
|
*/
|
|
1515
1514
|
ViewSettingsDialog.prototype.getSelectedFilterKeys = function() {
|
|
@@ -1529,7 +1528,6 @@ function(
|
|
|
1529
1528
|
*
|
|
1530
1529
|
* @public
|
|
1531
1530
|
* @return {object} An object with item and sub-item keys
|
|
1532
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1533
1531
|
* @since 1.42
|
|
1534
1532
|
*/
|
|
1535
1533
|
ViewSettingsDialog.prototype.getSelectedFilterCompoundKeys = function() {
|
|
@@ -1577,7 +1575,6 @@ function(
|
|
|
1577
1575
|
* Setting boolean to true will set the filter to true, false or omitting an entry will set the filter to false.
|
|
1578
1576
|
* It can be used to set the dialog state based on presets.
|
|
1579
1577
|
* @return {this} this pointer for chaining
|
|
1580
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1581
1578
|
* @deprecated as of version 1.42, replaced by <code>setSelectedFilterCompoundKeys</code> method
|
|
1582
1579
|
*/
|
|
1583
1580
|
ViewSettingsDialog.prototype.setSelectedFilterKeys = function(oSelectedFilterKeys) {
|
|
@@ -1652,7 +1649,6 @@ function(
|
|
|
1652
1649
|
* Setting boolean to true will set the filter to true, false or omitting an entry will set the filter to false.
|
|
1653
1650
|
* It can be used to set the dialog state based on presets.
|
|
1654
1651
|
* @return {this} this pointer for chaining
|
|
1655
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1656
1652
|
* @since 1.42
|
|
1657
1653
|
*/
|
|
1658
1654
|
ViewSettingsDialog.prototype.setSelectedFilterCompoundKeys = function(oSelectedFilterKeys) {
|
|
@@ -1820,6 +1816,12 @@ function(
|
|
|
1820
1816
|
this.setGroupDescending(this._oInitialState.groupDescending);
|
|
1821
1817
|
this._updateListSelection(this._groupOrderList, this._oInitialState.groupDescending);
|
|
1822
1818
|
|
|
1819
|
+
this._getNavContainer().attachEventOnce("afterNavigate", function(){
|
|
1820
|
+
if (this._prevSelectedFilterItem) {
|
|
1821
|
+
this._prevSelectedFilterItem.focus();
|
|
1822
|
+
}
|
|
1823
|
+
}, this);
|
|
1824
|
+
|
|
1823
1825
|
// set reset buttons state the global reset
|
|
1824
1826
|
this._checkResetStatus();
|
|
1825
1827
|
|
|
@@ -2802,14 +2804,13 @@ function(
|
|
|
2802
2804
|
|
|
2803
2805
|
|
|
2804
2806
|
ViewSettingsDialog.prototype._pressBackButton = function() {
|
|
2805
|
-
var that = this;
|
|
2806
2807
|
if (this._vContentPage === 3) {
|
|
2807
2808
|
this._updateFilterCounters();
|
|
2808
|
-
this._getNavContainer().
|
|
2809
|
-
if (
|
|
2810
|
-
|
|
2809
|
+
this._getNavContainer().attachEventOnce("afterNavigate", function(){
|
|
2810
|
+
if (this._prevSelectedFilterItem) {
|
|
2811
|
+
this._prevSelectedFilterItem.focus();
|
|
2811
2812
|
}
|
|
2812
|
-
});
|
|
2813
|
+
}, this);
|
|
2813
2814
|
setTimeout(this._getNavContainer()['back'].bind(this._getNavContainer()), 0);
|
|
2814
2815
|
this._switchToPage(2);
|
|
2815
2816
|
this._segmentedButton.setSelectedButton(this._filterButton);
|
|
@@ -24,13 +24,12 @@ sap.ui.define(['./ViewSettingsItem', './library'],
|
|
|
24
24
|
* @extends sap.m.ViewSettingsItem
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.107.1
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
31
31
|
* @since 1.16
|
|
32
32
|
* @alias sap.m.ViewSettingsFilterItem
|
|
33
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
34
33
|
*/
|
|
35
34
|
var ViewSettingsFilterItem = ViewSettingsItem.extend("sap.m.ViewSettingsFilterItem", /** @lends sap.m.ViewSettingsFilterItem.prototype */ { metadata : {
|
|
36
35
|
|
|
@@ -25,13 +25,12 @@ sap.ui.define(['./library', 'sap/ui/core/Item'],
|
|
|
25
25
|
* @extends sap.ui.core.Item
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.107.1
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
32
32
|
* @since 1.16
|
|
33
33
|
* @alias sap.m.ViewSettingsItem
|
|
34
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
35
34
|
*/
|
|
36
35
|
var ViewSettingsItem = Item.extend("sap.m.ViewSettingsItem", /** @lends sap.m.ViewSettingsItem.prototype */ { metadata : {
|
|
37
36
|
|
package/src/sap/m/VisibleItem.js
CHANGED
package/src/sap/m/WheelSlider.js
CHANGED
|
@@ -11,9 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/Device',
|
|
12
12
|
"sap/ui/events/KeyCodes",
|
|
13
13
|
"sap/m/Button",
|
|
14
|
-
"sap/ui/thirdparty/jquery"
|
|
14
|
+
"sap/ui/thirdparty/jquery",
|
|
15
|
+
"sap/ui/core/Configuration"
|
|
15
16
|
],
|
|
16
|
-
function(Control, WheelSliderRenderer, IconPool, Device, KeyCodes, Button, jQuery) {
|
|
17
|
+
function(Control, WheelSliderRenderer, IconPool, Device, KeyCodes, Button, jQuery, Configuration) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -28,7 +29,7 @@ sap.ui.define([
|
|
|
28
29
|
* @extends sap.ui.core.Control
|
|
29
30
|
*
|
|
30
31
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
32
|
+
* @version 1.107.1
|
|
32
33
|
*
|
|
33
34
|
* @constructor
|
|
34
35
|
* @public
|
|
@@ -102,7 +103,7 @@ sap.ui.define([
|
|
|
102
103
|
renderer: WheelSliderRenderer
|
|
103
104
|
});
|
|
104
105
|
|
|
105
|
-
var SCROLL_ANIMATION_DURATION =
|
|
106
|
+
var SCROLL_ANIMATION_DURATION = Configuration.getAnimation() ? 200 : 0;
|
|
106
107
|
var LABEL_HEIGHT = 32;
|
|
107
108
|
var ARROW_HEIGHT = 32;
|
|
108
109
|
var MAX_SCROLL_SPEED = 1.0; // px/ms
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.107.1
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
@@ -65,7 +65,9 @@ sap.ui.define([
|
|
|
65
65
|
*/
|
|
66
66
|
sliders: { type: "sap.m.WheelSlider", multiple: true }
|
|
67
67
|
}
|
|
68
|
-
}
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
renderer: WheelSliderContainerRenderer
|
|
69
71
|
});
|
|
70
72
|
|
|
71
73
|
/**
|