@openui5/sap.m 1.101.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +2 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +4 -4
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +12 -22
- package/src/sap/m/BarInPageEnabler.js +1 -1
- package/src/sap/m/Breadcrumbs.js +29 -4
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +4 -4
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +13 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +10 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +6 -2
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +22 -2
- package/src/sap/m/ComboBoxBase.js +7 -7
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +25 -7
- package/src/sap/m/DateRangeSelection.js +5 -5
- package/src/sap/m/DateTimeField.js +22 -10
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +22 -10
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +4 -11
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +72 -18
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +105 -26
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +36 -28
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +2 -2
- package/src/sap/m/FormattedText.js +10 -10
- package/src/sap/m/GenericTag.js +5 -5
- package/src/sap/m/GenericTile.js +98 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -1
- package/src/sap/m/GenericTileRenderer.js +98 -62
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +171 -95
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +50 -65
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +4 -4
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +8 -2
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -14
- package/src/sap/m/InputBase.js +16 -9
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InstanceManager.js +14 -19
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +17 -16
- package/src/sap/m/ListItemBase.js +5 -4
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +10 -0
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +2 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +3 -3
- package/src/sap/m/MessageBox.js +1020 -908
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +15 -10
- package/src/sap/m/NavContainer.js +4 -4
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +175 -79
- package/src/sap/m/NotificationListGroup.js +1 -2
- package/src/sap/m/NotificationListGroupRenderer.js +4 -16
- package/src/sap/m/NotificationListItem.js +5 -16
- package/src/sap/m/NotificationListItemRenderer.js +0 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +14 -1
- package/src/sap/m/ObjectAttributeRenderer.js +5 -4
- package/src/sap/m/ObjectHeader.js +4 -4
- package/src/sap/m/ObjectHeaderRenderer.js +11 -11
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +7 -4
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +51 -12
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +32 -35
- package/src/sap/m/P13nDialog.js +3 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +4 -4
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +2 -2
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -3
- package/src/sap/m/PopoverRenderer.js +2 -2
- package/src/sap/m/ProgressIndicator.js +15 -29
- package/src/sap/m/ProgressIndicatorRenderer.js +7 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +2 -2
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +2 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +2 -2
- package/src/sap/m/RangeSlider.js +82 -59
- package/src/sap/m/RangeSliderRenderer.js +34 -2
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +7 -6
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +5 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +31 -8
- package/src/sap/m/SelectDialog.js +14 -18
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +8 -8
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectRenderer.js +37 -13
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +5 -6
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +5 -5
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +14 -5
- package/src/sap/m/SliderRenderer.js +27 -2
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +3 -3
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +3 -11
- package/src/sap/m/StandardDynamicDateOption.js +12 -10
- package/src/sap/m/StandardListItem.js +3 -3
- package/src/sap/m/StandardListItemRenderer.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +3 -2
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +6 -4
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +7 -1
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +2 -2
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableRenderer.js +27 -0
- package/src/sap/m/TableSelectDialog.js +13 -9
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +4 -3
- package/src/sap/m/TextRenderer.js +2 -0
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +6 -6
- package/src/sap/m/TileContent.js +26 -14
- package/src/sap/m/TileContentRenderer.js +16 -7
- package/src/sap/m/TimePicker.js +82 -20
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +1 -0
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +2 -2
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +14 -3
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +6 -2
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +5 -5
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2492 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +4 -4
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -2
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
- package/src/sap/m/designtime/messagebundle_de.properties +2 -2
- package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
- package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
- package/src/sap/m/library.js +48 -5
- package/src/sap/m/messagebundle.properties +156 -12
- package/src/sap/m/messagebundle_ar.properties +103 -7
- package/src/sap/m/messagebundle_bg.properties +103 -7
- package/src/sap/m/messagebundle_ca.properties +103 -7
- package/src/sap/m/messagebundle_cs.properties +105 -9
- package/src/sap/m/messagebundle_cy.properties +103 -7
- package/src/sap/m/messagebundle_da.properties +103 -7
- package/src/sap/m/messagebundle_de.properties +104 -8
- package/src/sap/m/messagebundle_el.properties +103 -7
- package/src/sap/m/messagebundle_en.properties +103 -7
- package/src/sap/m/messagebundle_en_GB.properties +103 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +103 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +105 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -7
- package/src/sap/m/messagebundle_es.properties +103 -7
- package/src/sap/m/messagebundle_es_MX.properties +103 -7
- package/src/sap/m/messagebundle_et.properties +103 -7
- package/src/sap/m/messagebundle_fi.properties +103 -7
- package/src/sap/m/messagebundle_fr.properties +117 -21
- package/src/sap/m/messagebundle_fr_CA.properties +103 -7
- package/src/sap/m/messagebundle_hi.properties +103 -7
- package/src/sap/m/messagebundle_hr.properties +103 -7
- package/src/sap/m/messagebundle_hu.properties +103 -7
- package/src/sap/m/messagebundle_id.properties +103 -7
- package/src/sap/m/messagebundle_it.properties +110 -14
- package/src/sap/m/messagebundle_iw.properties +103 -7
- package/src/sap/m/messagebundle_ja.properties +103 -7
- package/src/sap/m/messagebundle_kk.properties +103 -7
- package/src/sap/m/messagebundle_ko.properties +114 -18
- package/src/sap/m/messagebundle_lt.properties +103 -7
- package/src/sap/m/messagebundle_lv.properties +103 -7
- package/src/sap/m/messagebundle_ms.properties +103 -7
- package/src/sap/m/messagebundle_nl.properties +103 -7
- package/src/sap/m/messagebundle_no.properties +107 -11
- package/src/sap/m/messagebundle_pl.properties +103 -7
- package/src/sap/m/messagebundle_pt.properties +112 -16
- package/src/sap/m/messagebundle_pt_PT.properties +103 -7
- package/src/sap/m/messagebundle_ro.properties +104 -8
- package/src/sap/m/messagebundle_ru.properties +103 -7
- package/src/sap/m/messagebundle_sh.properties +104 -8
- package/src/sap/m/messagebundle_sk.properties +103 -7
- package/src/sap/m/messagebundle_sl.properties +105 -9
- package/src/sap/m/messagebundle_sv.properties +103 -7
- package/src/sap/m/messagebundle_th.properties +103 -7
- package/src/sap/m/messagebundle_tr.properties +104 -8
- package/src/sap/m/messagebundle_uk.properties +104 -8
- package/src/sap/m/messagebundle_vi.properties +103 -7
- package/src/sap/m/messagebundle_zh_CN.properties +104 -8
- package/src/sap/m/messagebundle_zh_TW.properties +107 -11
- 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 +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +16 -5
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +55 -33
- package/src/sap/m/p13n/SelectionPanel.js +31 -6
- package/src/sap/m/p13n/SortPanel.js +24 -13
- package/src/sap/m/plugins/ColumnResizer.js +12 -6
- package/src/sap/m/plugins/DataStateIndicator.js +13 -4
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +2 -2
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/DatePicker.support.js +4 -3
- 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/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +3 -3
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +17 -13
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -11
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
- package/src/sap/m/table/columnmenu/Menu.js +41 -27
- package/src/sap/m/table/columnmenu/MenuRenderer.js +4 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +2 -11
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -13
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +2 -22
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -13
- package/src/sap/m/themes/base/ActionListItem.less +2 -2
- package/src/sap/m/themes/base/Breadcrumbs.less +11 -0
- package/src/sap/m/themes/base/Button.less +1 -6
- package/src/sap/m/themes/base/Carousel.less +72 -87
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/Dialog.less +6 -2
- package/src/sap/m/themes/base/GenericTag.less +5 -3
- package/src/sap/m/themes/base/GenericTile.less +412 -148
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/InputBase.less +2 -1
- package/src/sap/m/themes/base/LightBox.less +6 -16
- package/src/sap/m/themes/base/ListItemBase.less +1 -12
- package/src/sap/m/themes/base/MenuButton.less +16 -0
- package/src/sap/m/themes/base/MessageBox.less +9 -8
- package/src/sap/m/themes/base/NewsContent.less +0 -9
- package/src/sap/m/themes/base/NotificationListBase.less +9 -14
- package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
- package/src/sap/m/themes/base/NotificationListItem.less +14 -18
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +5 -0
- package/src/sap/m/themes/base/ObjectStatus.less +3 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/Select.less +1 -3
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +19 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/StandardListItem.less +6 -9
- package/src/sap/m/themes/base/Table.less +22 -21
- package/src/sap/m/themes/base/TextArea.less +5 -0
- package/src/sap/m/themes/base/TimePickerClock.less +7 -0
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/themes/base/Token.less +3 -2
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -0
- package/src/sap/m/themes/base/VariantManagement.less +97 -0
- package/src/sap/m/themes/base/Wizard.less +5 -4
- package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/upload/UploadSet.js +90 -14
- package/src/sap/m/upload/UploadSetItem.js +18 -5
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +46 -0
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
-
"sap/ui/layout/Grid", "./BasePanel", "sap/ui/core/ListItem", "sap/m/CustomListItem", "sap/m/
|
|
8
|
-
], function (Grid, BasePanel, Item, CustomListItem,
|
|
7
|
+
"sap/ui/layout/Grid", "./BasePanel", "sap/ui/core/ListItem", "sap/m/CustomListItem", "sap/m/ComboBox", "sap/m/List", "sap/m/HBox", "sap/m/library", "sap/m/Button", "sap/base/util/merge", 'sap/ui/core/library'
|
|
8
|
+
], function (Grid, BasePanel, Item, CustomListItem, ComboBox, List, HBox, mLibrary, Button, merge, coreLibrary) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
var ValueState = coreLibrary.ValueState;
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* Constructor for a new <code>QueryPanel</code>.
|
|
14
16
|
*
|
|
@@ -22,7 +24,7 @@ sap.ui.define([
|
|
|
22
24
|
* @extends sap.m.p13n.BasePanel
|
|
23
25
|
*
|
|
24
26
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
27
|
+
* @version 1.103.0
|
|
26
28
|
*
|
|
27
29
|
* @private
|
|
28
30
|
* @ui5-restricted
|
|
@@ -54,8 +56,6 @@ sap.ui.define([
|
|
|
54
56
|
// shortcut for sap.m.ButtonType
|
|
55
57
|
var ButtonType = mLibrary.ButtonType;
|
|
56
58
|
|
|
57
|
-
QueryPanel.prototype.NONE_KEY = "$_none";
|
|
58
|
-
|
|
59
59
|
QueryPanel.prototype.init = function () {
|
|
60
60
|
BasePanel.prototype.init.apply(this, arguments);
|
|
61
61
|
this._bFocusOnRearrange = false;
|
|
@@ -162,11 +162,7 @@ sap.ui.define([
|
|
|
162
162
|
QueryPanel.prototype._getAvailableItems = function (sKey) {
|
|
163
163
|
var aItems = this._getP13nModel().getProperty("/items");
|
|
164
164
|
|
|
165
|
-
var aAvailableItems = [
|
|
166
|
-
key: this.NONE_KEY,
|
|
167
|
-
text: this._getResourceText("p13n.QUERY_NONE"),
|
|
168
|
-
enabled: !sKey
|
|
169
|
-
})];
|
|
165
|
+
var aAvailableItems = [];
|
|
170
166
|
|
|
171
167
|
aItems.forEach(function (oNonPresent, iIndex) {
|
|
172
168
|
aAvailableItems.push(new Item({
|
|
@@ -175,7 +171,14 @@ sap.ui.define([
|
|
|
175
171
|
enabled: {
|
|
176
172
|
path: this.P13N_MODEL + ">/items/" + iIndex + "/" + this.PRESENCE_ATTRIBUTE,
|
|
177
173
|
formatter: function(bQueried) {
|
|
178
|
-
|
|
174
|
+
var oComboBox = this.getParent();
|
|
175
|
+
var selItem = oComboBox.getSelectedItem();
|
|
176
|
+
var selItemIndex = selItem && oComboBox.getItems().indexOf(selItem);
|
|
177
|
+
|
|
178
|
+
var sPath = this.getBindingPath("enabled");
|
|
179
|
+
var pathIndex = parseInt(sPath.split("/")[2]);
|
|
180
|
+
|
|
181
|
+
return !bQueried || selItemIndex === pathIndex; //Only enable the selection in case there is not yet a query present or the item is the selected item
|
|
179
182
|
}
|
|
180
183
|
}
|
|
181
184
|
}));
|
|
@@ -209,9 +212,9 @@ sap.ui.define([
|
|
|
209
212
|
// 2) At least 2 queries can be made
|
|
210
213
|
// 3) The row is not exeeding the query limit
|
|
211
214
|
if (
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
+
this.getEnableReorder() &&
|
|
216
|
+
(this.getQueryLimit() === -1 || (this.getQueryLimit() > 1 && this._oListControl.getItems().length < this.getQueryLimit()))
|
|
217
|
+
){
|
|
215
218
|
this._addHover(oRow);
|
|
216
219
|
}
|
|
217
220
|
|
|
@@ -252,9 +255,17 @@ sap.ui.define([
|
|
|
252
255
|
}
|
|
253
256
|
};
|
|
254
257
|
|
|
258
|
+
QueryPanel.prototype._getPlaceholderText = function () {
|
|
259
|
+
return "";
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
QueryPanel.prototype._getRemoveButtonTooltipText = function () {
|
|
263
|
+
return "";
|
|
264
|
+
};
|
|
265
|
+
|
|
255
266
|
QueryPanel.prototype._createKeySelect = function (sKey) {
|
|
256
267
|
var that = this;
|
|
257
|
-
var oKeySelect = new
|
|
268
|
+
var oKeySelect = new ComboBox({
|
|
258
269
|
width: "14rem",
|
|
259
270
|
enabled: {
|
|
260
271
|
path: this.P13N_MODEL + ">/items/",
|
|
@@ -274,43 +285,50 @@ sap.ui.define([
|
|
|
274
285
|
},
|
|
275
286
|
items: this._getAvailableItems(sKey),
|
|
276
287
|
selectedKey: sKey,
|
|
277
|
-
|
|
288
|
+
placeholder: this._getPlaceholderText(),
|
|
289
|
+
selectionChange: function(oEvt) {
|
|
290
|
+
var oComboBox = oEvt.getSource();
|
|
291
|
+
var oSelItem = oComboBox.getSelectedItem();
|
|
292
|
+
// var sNewKey = oComboBox.getSelectedKey();
|
|
293
|
+
if (!oSelItem) {
|
|
294
|
+
this._selectKey(oComboBox);
|
|
295
|
+
}
|
|
296
|
+
}.bind(this),
|
|
297
|
+
change: function(oEvt) {
|
|
298
|
+
var oComboBox = oEvt.getSource();
|
|
299
|
+
var newValue = oEvt.getParameter("newValue");
|
|
300
|
+
this._selectKey(oComboBox);
|
|
301
|
+
oComboBox.setValueState( newValue && !oComboBox.getSelectedItem() ? ValueState.Error : ValueState.None);
|
|
302
|
+
}.bind(this)
|
|
278
303
|
});
|
|
279
304
|
|
|
280
305
|
return oKeySelect;
|
|
281
306
|
};
|
|
282
307
|
|
|
283
|
-
QueryPanel.prototype._selectKey = function(
|
|
284
|
-
|
|
285
|
-
var
|
|
286
|
-
|
|
308
|
+
QueryPanel.prototype._selectKey = function(oComboBox) {
|
|
309
|
+
var sNewKey = oComboBox.getSelectedKey();
|
|
310
|
+
var sOldKey = oComboBox._key;
|
|
311
|
+
var oListItem = oComboBox.getParent().getParent();
|
|
287
312
|
var bIsLastRow = this._oListControl.getItems().length - 1 == this._oListControl.getItems().indexOf(oListItem);
|
|
288
|
-
var sNewKey = oEvt.getParameter("selectedItem").getKey();
|
|
289
|
-
var sOldKey = oEvt.getSource()._key;
|
|
290
|
-
|
|
291
|
-
var oBtnContainer = oListItem.getContent()[0].getContent()[oListItem.getContent()[0].getContent().length - 1];
|
|
292
|
-
//var oRemoveBtn = oBtnContainer.getItems()[oBtnContainer.getItems().length - 1];
|
|
293
313
|
|
|
294
|
-
|
|
314
|
+
var aContent = oListItem.getContent()[0].getContent();
|
|
315
|
+
var oBtnContainer = aContent[aContent.length - 1];
|
|
316
|
+
oBtnContainer.setVisible(!(bIsLastRow && sNewKey == ""));
|
|
295
317
|
|
|
296
318
|
//Remove previous
|
|
297
319
|
if (sOldKey) {
|
|
298
320
|
this._updatePresence(sOldKey, false, undefined);
|
|
299
321
|
}
|
|
322
|
+
|
|
300
323
|
//store old key
|
|
301
|
-
|
|
324
|
+
oComboBox._key = sNewKey;
|
|
302
325
|
|
|
303
326
|
//add new
|
|
304
327
|
this._updatePresence(sNewKey, true, this._oListControl.getItems().indexOf(oListItem));
|
|
305
328
|
|
|
306
329
|
//Add a new row in case the last "empty" row has been configured
|
|
307
|
-
if (sNewKey !==
|
|
330
|
+
if (sNewKey !== "" && bIsLastRow) {
|
|
308
331
|
this._addQueryRow();
|
|
309
|
-
var oSelect = oEvt.getSource();
|
|
310
|
-
var oNoneItem = oSelect.getItemByKey(this.NONE_KEY);
|
|
311
|
-
if (oNoneItem) {
|
|
312
|
-
oNoneItem.setEnabled(false);
|
|
313
|
-
}
|
|
314
332
|
}
|
|
315
333
|
};
|
|
316
334
|
|
|
@@ -347,6 +365,10 @@ sap.ui.define([
|
|
|
347
365
|
]
|
|
348
366
|
});
|
|
349
367
|
|
|
368
|
+
if (this._getRemoveButtonTooltipText()) {
|
|
369
|
+
oRemoveBox.getItems()[0].setTooltip(this._getRemoveButtonTooltipText());
|
|
370
|
+
}
|
|
371
|
+
|
|
350
372
|
return oRemoveBox;
|
|
351
373
|
};
|
|
352
374
|
|
|
@@ -19,8 +19,9 @@ sap.ui.define([
|
|
|
19
19
|
"sap/m/Button",
|
|
20
20
|
"sap/m/OverflowToolbar",
|
|
21
21
|
"sap/ui/model/Filter",
|
|
22
|
-
"sap/base/util/merge"
|
|
23
|
-
|
|
22
|
+
"sap/base/util/merge",
|
|
23
|
+
"sap/ui/core/InvisibleText"
|
|
24
|
+
], function(BasePanel, Label, ColumnListItem, HBox, VBox, coreLibrary, Icon, Text, Column, Table, mLibrary, ToolbarSpacer, Button, OverflowToolbar, Filter, merge, InvisibleText) {
|
|
24
25
|
"use strict";
|
|
25
26
|
|
|
26
27
|
// shortcut for sap.ui.core.IconColor
|
|
@@ -47,7 +48,7 @@ sap.ui.define([
|
|
|
47
48
|
* @extends sap.m.p13n.BasePanel
|
|
48
49
|
*
|
|
49
50
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
51
|
+
* @version 1.103.0
|
|
51
52
|
*
|
|
52
53
|
* @public
|
|
53
54
|
* @experimental Since 1.96.
|
|
@@ -151,6 +152,17 @@ sap.ui.define([
|
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
154
|
}
|
|
155
|
+
}),
|
|
156
|
+
// The active status is visiually represented as dot icon in the tabular view, for the screen reader it needs to be ensured
|
|
157
|
+
// that a similar information is available without the UI. This InvisibleText will provide a text in the screen reader as:
|
|
158
|
+
// "Active Field is active" & "Active Field is inactive"
|
|
159
|
+
new InvisibleText({
|
|
160
|
+
text: {
|
|
161
|
+
path: this.P13N_MODEL + ">active",
|
|
162
|
+
formatter: function(bactive) {
|
|
163
|
+
return bactive ? this._getResourceText("p13n.ACTIVESTATE_ACTIVE") : this._getResourceText("p13n.ACTIVESTATE_INACTIVE");
|
|
164
|
+
}.bind(this)
|
|
165
|
+
}
|
|
154
166
|
})
|
|
155
167
|
]
|
|
156
168
|
})
|
|
@@ -212,7 +224,7 @@ sap.ui.define([
|
|
|
212
224
|
//remove move buttons if unselected item is hovered (not covered by updateStarted)
|
|
213
225
|
this._removeMoveButtons();
|
|
214
226
|
//Check if the prior hovered item had a visible icon and renable it if required
|
|
215
|
-
if (this._oHoveredItem && this._oHoveredItem.getBindingContextPath()){
|
|
227
|
+
if (this._oHoveredItem && !this._oHoveredItem.bIsDestroyed && this._oHoveredItem.getBindingContextPath()){
|
|
216
228
|
var bVisible = !!this._getP13nModel().getProperty(this._oHoveredItem.getBindingContextPath()).active;
|
|
217
229
|
var oOldIcon = this._oHoveredItem.getCells()[1].getItems()[0];
|
|
218
230
|
oOldIcon.setVisible(bVisible);
|
|
@@ -280,6 +292,12 @@ sap.ui.define([
|
|
|
280
292
|
}
|
|
281
293
|
BasePanel.prototype.setP13nData.call(this, aP13nData);
|
|
282
294
|
this._updateCount();
|
|
295
|
+
|
|
296
|
+
//After explicitly updating the data (e.g. outer influences by the p13n.Popup such as reset, open & update)
|
|
297
|
+
//Ensure that the remove buttons and currently selected item will be reset, as it's not clear anymore
|
|
298
|
+
//remove the reorder buttons from their current location and hence reset the hover logic
|
|
299
|
+
this._removeMoveButtons();
|
|
300
|
+
this._oSelectedItem = null;
|
|
283
301
|
};
|
|
284
302
|
|
|
285
303
|
SelectionPanel.prototype._updateCount = function() {
|
|
@@ -359,8 +377,15 @@ sap.ui.define([
|
|
|
359
377
|
this._oListControl.getItems().forEach(function(oItem){
|
|
360
378
|
var oContext = oItem.getBindingContext(this.P13N_MODEL);
|
|
361
379
|
var oField = this.getItemFactory().call(this, oContext);
|
|
362
|
-
|
|
363
|
-
|
|
380
|
+
|
|
381
|
+
//set 'labelFor'
|
|
382
|
+
var oFirstCell = oItem.getCells()[0];
|
|
383
|
+
var oLabel = oFirstCell.getItems()[0];
|
|
384
|
+
if (oLabel) {
|
|
385
|
+
oLabel.setLabelFor(oField);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
oFirstCell.addItem(oField);
|
|
364
389
|
}.bind(this));
|
|
365
390
|
this.addStyleClass("sapUiMDCAFLabelMarkingList");
|
|
366
391
|
};
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.m.p13n.QueryPanel
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.103.0
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
* @experimental Since 1.96.
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
return oSortOrderSwitch;
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
SortPanel.prototype._createSortOrderText = function (bDesc) {
|
|
109
|
+
SortPanel.prototype._createSortOrderText = function (sKey, bDesc) {
|
|
110
110
|
return new Text({
|
|
111
111
|
layoutData: new GridData({
|
|
112
112
|
span: "XL3 L3 M3 S3",
|
|
@@ -120,7 +120,7 @@ sap.ui.define([
|
|
|
120
120
|
//Enhance row with sort specific controls (Segmented Button + sort order text)
|
|
121
121
|
var oSelect = this._createKeySelect(oItem.name);
|
|
122
122
|
var oSortOrderSwitch = this._createOrderSwitch(oItem.name, oItem.descending);
|
|
123
|
-
var oSortOrderText = this._createSortOrderText(oItem.descending);
|
|
123
|
+
var oSortOrderText = this._createSortOrderText(oItem.name, oItem.descending);
|
|
124
124
|
|
|
125
125
|
return new Grid({
|
|
126
126
|
containerQuery: true,
|
|
@@ -133,16 +133,25 @@ sap.ui.define([
|
|
|
133
133
|
}).addStyleClass("sapUiTinyMargin");
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
SortPanel.prototype.
|
|
136
|
+
SortPanel.prototype._getPlaceholderText = function () {
|
|
137
|
+
return this._getResourceText("p13n.SORT_PLACEHOLDER");
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
SortPanel.prototype._getRemoveButtonTooltipText = function () {
|
|
141
|
+
return this._getResourceText("p13n.SORT_REMOVEICONTOOLTIP");
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
SortPanel.prototype._selectKey = function(oComboBox) {
|
|
137
145
|
QueryPanel.prototype._selectKey.apply(this, arguments);
|
|
138
146
|
|
|
139
147
|
//Enable SegmentedButton
|
|
140
|
-
var oListItem =
|
|
141
|
-
var sNewKey =
|
|
142
|
-
oListItem.getContent()[0].getContent()
|
|
148
|
+
var oListItem = oComboBox.getParent().getParent();
|
|
149
|
+
var sNewKey = oComboBox.getSelectedKey();
|
|
150
|
+
var aContent = oListItem.getContent()[0].getContent();
|
|
151
|
+
aContent[1].setEnabled(!!sNewKey);
|
|
143
152
|
|
|
144
153
|
//keep existing 'sortorder' selection
|
|
145
|
-
var bDescending =
|
|
154
|
+
var bDescending = aContent[1].getSelectedKey() === "desc";
|
|
146
155
|
this._changeOrder(sNewKey, bDescending);
|
|
147
156
|
};
|
|
148
157
|
|
|
@@ -155,12 +164,14 @@ sap.ui.define([
|
|
|
155
164
|
return oItem.name === sKey;
|
|
156
165
|
});
|
|
157
166
|
|
|
158
|
-
aItems
|
|
167
|
+
if (aItems.length > 0) {
|
|
168
|
+
aItems[0].descending = bDesc;
|
|
159
169
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
170
|
+
this.fireChange({
|
|
171
|
+
reason: this.CHANGE_REASON_SORTORDER,
|
|
172
|
+
item: aItems[0]
|
|
173
|
+
});
|
|
174
|
+
}
|
|
164
175
|
};
|
|
165
176
|
|
|
166
177
|
return SortPanel;
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
*
|
|
40
40
|
* @extends sap.ui.core.Element
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.103.0
|
|
43
43
|
*
|
|
44
44
|
* @public
|
|
45
45
|
* @since 1.91
|
|
@@ -180,6 +180,7 @@ sap.ui.define([
|
|
|
180
180
|
|
|
181
181
|
ColumnResizer.prototype._onmouseleave = function() {
|
|
182
182
|
this._invalidatePositions();
|
|
183
|
+
this.onsapescape();
|
|
183
184
|
};
|
|
184
185
|
|
|
185
186
|
ColumnResizer.prototype._ontouchend = function() {
|
|
@@ -223,7 +224,7 @@ sap.ui.define([
|
|
|
223
224
|
*/
|
|
224
225
|
ColumnResizer.prototype._getHoveredColumnIndex = function(iClientX) {
|
|
225
226
|
return this._aPositions.findIndex(function(fPosition) {
|
|
226
|
-
return Math.abs(fPosition - iClientX) <= (this._oAlternateHandle ||
|
|
227
|
+
return Math.abs(fPosition - iClientX) <= (this._oAlternateHandle || ColumnResizer._isInTouchMode() ? 20 : 3);
|
|
227
228
|
}, this);
|
|
228
229
|
};
|
|
229
230
|
|
|
@@ -270,8 +271,9 @@ sap.ui.define([
|
|
|
270
271
|
if (!this._oHandle) {
|
|
271
272
|
this._oHandle = document.createElement("div");
|
|
272
273
|
this._oHandle.className = CSS_CLASS + "Handle";
|
|
274
|
+
this._oHandle.onmouseleave = function() { this.style[sBeginDirection] = ""; };
|
|
273
275
|
|
|
274
|
-
if (bMobileHandle ||
|
|
276
|
+
if (bMobileHandle || ColumnResizer._isInTouchMode()) {
|
|
275
277
|
var oCircle = document.createElement("div");
|
|
276
278
|
oCircle.className = CSS_CLASS + "HandleCircle";
|
|
277
279
|
oCircle.style.top = this._aResizables[iColumnIndex].offsetHeight - 8 + "px";
|
|
@@ -499,7 +501,7 @@ sap.ui.define([
|
|
|
499
501
|
* @private
|
|
500
502
|
*/
|
|
501
503
|
ColumnResizer.prototype.getColumnResizeQuickAction = function(oColumn, oColumnMenu) {
|
|
502
|
-
if (!oColumn || !
|
|
504
|
+
if (!oColumn || !ColumnResizer._isInTouchMode()) {
|
|
503
505
|
return;
|
|
504
506
|
}
|
|
505
507
|
|
|
@@ -523,7 +525,7 @@ sap.ui.define([
|
|
|
523
525
|
* @private
|
|
524
526
|
*/
|
|
525
527
|
ColumnResizer.prototype.getColumnResizeButton = function(oColumn) {
|
|
526
|
-
if (!oColumn || !
|
|
528
|
+
if (!oColumn || !ColumnResizer._isInTouchMode()) {
|
|
527
529
|
return;
|
|
528
530
|
}
|
|
529
531
|
|
|
@@ -534,6 +536,10 @@ sap.ui.define([
|
|
|
534
536
|
});
|
|
535
537
|
};
|
|
536
538
|
|
|
539
|
+
ColumnResizer._isInTouchMode = function() {
|
|
540
|
+
return window.matchMedia("(hover:none)").matches;
|
|
541
|
+
};
|
|
542
|
+
|
|
537
543
|
/**
|
|
538
544
|
* Plugin-specific control configurations.
|
|
539
545
|
*/
|
|
@@ -549,7 +555,7 @@ sap.ui.define([
|
|
|
549
555
|
|
|
550
556
|
if (!oTable.bActiveHeaders) {
|
|
551
557
|
oTable.bFocusableHeaders = true;
|
|
552
|
-
this.allowTouchResizing =
|
|
558
|
+
this.allowTouchResizing = ColumnResizer._isInTouchMode();
|
|
553
559
|
}
|
|
554
560
|
|
|
555
561
|
oTable.setFixedLayout("Strict");
|
|
@@ -19,7 +19,7 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
|
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.103.0
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @since 1.73
|
|
@@ -86,7 +86,14 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
|
|
|
86
86
|
*/
|
|
87
87
|
clearFilter: {
|
|
88
88
|
allowPreventDefault: true
|
|
89
|
-
}
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* This event is fired when the user presses the <code>Close</code> button of the <code>MessageStrip</code> control which is managed by this plugin.
|
|
93
|
+
*
|
|
94
|
+
* @since 1.103
|
|
95
|
+
*/
|
|
96
|
+
close: {}
|
|
90
97
|
}
|
|
91
98
|
}});
|
|
92
99
|
|
|
@@ -181,7 +188,8 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
|
|
|
181
188
|
showIcon: true,
|
|
182
189
|
close: function() {
|
|
183
190
|
oControl.focus();
|
|
184
|
-
|
|
191
|
+
this.fireClose();
|
|
192
|
+
}.bind(this)
|
|
185
193
|
}).addStyleClass("sapUiTinyMargin");
|
|
186
194
|
|
|
187
195
|
oControl.setAggregation("_messageStrip", this._oMessageStrip);
|
|
@@ -342,9 +350,10 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
|
|
|
342
350
|
DataStateIndicator.prototype._applyFilter = function() {
|
|
343
351
|
var fnFilter = this.getFilter();
|
|
344
352
|
var oControl = this.getControl();
|
|
353
|
+
var oParent = this.getParent();
|
|
345
354
|
var oBinding = oControl.getBinding(this._getBindingName());
|
|
346
355
|
var fnMessageFilter = fnFilter && function(oMessage) {
|
|
347
|
-
return fnFilter(oMessage,
|
|
356
|
+
return fnFilter(oMessage, oParent);
|
|
348
357
|
};
|
|
349
358
|
|
|
350
359
|
oBinding.requestFilterForMessages(fnMessageFilter).then(function(oFilter) {
|
|
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.103.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @experimental Since 1.73. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -95,7 +95,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
95
95
|
*
|
|
96
96
|
* @param {sap.ui.core.Control} oControl The control instance to check for
|
|
97
97
|
* @param {string|function} [vPlugin] The full name or the constructor of the plugin
|
|
98
|
-
* @return {undefined|sap.m.plugins.PluginBase} The found plugin instance or undefined if not found
|
|
98
|
+
* @return {undefined|sap.m.plugins.PluginBase} The found plugin instance or <code>undefined</code> if not found
|
|
99
99
|
* @public
|
|
100
100
|
* @static
|
|
101
101
|
*/
|
|
@@ -32,7 +32,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
32
32
|
resolution: "Either set enabled to true ot set editable to false",
|
|
33
33
|
resolutionurls: [{
|
|
34
34
|
text: "API Reference: sap.m.CheckBox",
|
|
35
|
-
href: "https://
|
|
35
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.CheckBox"
|
|
36
36
|
}],
|
|
37
37
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
38
38
|
oScope.getElementsByClassName("sap.m.CheckBox")
|
|
@@ -74,7 +74,8 @@ sap.ui.define(["sap/ui/support/library"], function(SupportLib) {
|
|
|
74
74
|
oScope.getElementsByClassName("sap.m.DatePicker")
|
|
75
75
|
.forEach(function(oElement) {
|
|
76
76
|
var oValueBinding = oElement.getBinding("value");
|
|
77
|
-
if (oValueBinding && oValueBinding.getType()
|
|
77
|
+
if (oValueBinding && oValueBinding.getType()
|
|
78
|
+
&& oValueBinding.getType().isA("sap.ui.model.odata.type.DateTime")
|
|
78
79
|
&& (!oValueBinding.getType().oConstraints || !oValueBinding.getType().oConstraints.isDateOnly)) {
|
|
79
80
|
var sElementId = oElement.getId(),
|
|
80
81
|
sElementName = oElement.getMetadata().getElementName();
|
|
@@ -114,8 +115,8 @@ sap.ui.define(["sap/ui/support/library"], function(SupportLib) {
|
|
|
114
115
|
.forEach(function(oElement) {
|
|
115
116
|
var oValueBinding = oElement.getBinding("value");
|
|
116
117
|
if (oValueBinding
|
|
117
|
-
&& oElement.getModel()
|
|
118
|
-
&& oValueBinding.getType()
|
|
118
|
+
&& oElement.getModel() && oElement.getModel().isA("sap.ui.model.json.JSONModel")
|
|
119
|
+
&& oValueBinding.getType() && oValueBinding.getType().isA("sap.ui.model.odata.type.Date")) {
|
|
119
120
|
var sElementId = oElement.getId(),
|
|
120
121
|
sElementName = oElement.getMetadata().getElementName();
|
|
121
122
|
|
|
@@ -91,7 +91,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
91
91
|
resolution: "Enable the \"densityAware\" property of this image control",
|
|
92
92
|
resolutionurls: [{
|
|
93
93
|
text: "API Refrence for sap.m.Image",
|
|
94
|
-
href: "https://
|
|
94
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.Image"
|
|
95
95
|
}],
|
|
96
96
|
check: function (oIssueManager, oCoreFacade, oScope, fnResolve) {
|
|
97
97
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
33
33
|
resolution: "Remove the href property of the link",
|
|
34
34
|
resolutionurls: [{
|
|
35
35
|
text: "API Reference: sap.m.Link",
|
|
36
|
-
href: "https://
|
|
36
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.Link"
|
|
37
37
|
}],
|
|
38
38
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
39
39
|
oScope.getElementsByClassName("sap.m.Link")
|
|
@@ -42,7 +42,7 @@ function(SupportLib) {
|
|
|
42
42
|
resolution: "Use Message Page in a container with set height, such as sap.m.App",
|
|
43
43
|
resolutionurls: [{
|
|
44
44
|
text: "sap.m.MessagePage API Reference",
|
|
45
|
-
href: "https://openui5.hana.ondemand.com
|
|
45
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.MessagePage"
|
|
46
46
|
}],
|
|
47
47
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
48
48
|
oScope.getElementsByClassName("sap.m.MessagePage").forEach(function(oMPage) {
|
|
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
33
33
|
resolution: "Use markers aggregation",
|
|
34
34
|
resolutionurls: [{
|
|
35
35
|
text: "API Reference: sap.m.ObjectHeader",
|
|
36
|
-
href: "https://
|
|
36
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
|
|
37
37
|
}],
|
|
38
38
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
39
39
|
oScope.getElementsByClassName("sap.m.ObjectHeader")
|
|
@@ -70,7 +70,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
70
70
|
resolution: "Use statuses aggregation",
|
|
71
71
|
resolutionurls: [{
|
|
72
72
|
text: "API Reference: sap.m.ObjectHeader",
|
|
73
|
-
href: "https://
|
|
73
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
|
|
74
74
|
}],
|
|
75
75
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
76
76
|
oScope.getElementsByClassName("sap.m.ObjectHeader")
|
|
@@ -106,7 +106,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
106
106
|
resolution: "Change the responsive property to false",
|
|
107
107
|
resolutionurls: [{
|
|
108
108
|
text: "API Reference: sap.m.ObjectHeader",
|
|
109
|
-
href: "https://
|
|
109
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
|
|
110
110
|
}],
|
|
111
111
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
112
112
|
oScope.getElementsByClassName("sap.m.ObjectHeader")
|
|
@@ -142,7 +142,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
142
142
|
resolution: "Change the responsive property to true",
|
|
143
143
|
resolutionurls: [{
|
|
144
144
|
text: "API Reference: sap.m.ObjectHeader",
|
|
145
|
-
href: "https://
|
|
145
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
|
|
146
146
|
}],
|
|
147
147
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
148
148
|
oScope.getElementsByClassName("sap.m.ObjectHeader")
|
|
@@ -178,7 +178,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
178
178
|
resolution: "Change the responsive property to false",
|
|
179
179
|
resolutionurls: [{
|
|
180
180
|
text: "API Reference: sap.m.ObjectHeader",
|
|
181
|
-
href: "https://
|
|
181
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
|
|
182
182
|
}],
|
|
183
183
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
184
184
|
oScope.getElementsByClassName("sap.m.ObjectHeader")
|
|
@@ -214,7 +214,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
214
214
|
resolution: "Change the responsive property to true",
|
|
215
215
|
resolutionurls: [{
|
|
216
216
|
text: "API Reference: sap.m.ObjectHeader",
|
|
217
|
-
href: "https://
|
|
217
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectHeader"
|
|
218
218
|
}],
|
|
219
219
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
220
220
|
oScope.getElementsByClassName("sap.m.ObjectHeader")
|
|
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
33
33
|
resolution: "Use markers aggregation",
|
|
34
34
|
resolutionurls: [{
|
|
35
35
|
text: "API Reference: sap.m.ObjectListItem",
|
|
36
|
-
href: "https://
|
|
36
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectListItem"
|
|
37
37
|
}],
|
|
38
38
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
39
39
|
oScope.getElementsByClassName("sap.m.ObjectListItem")
|
|
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
33
33
|
resolution: "Set type of the ObjectMarker",
|
|
34
34
|
resolutionurls: [{
|
|
35
35
|
text: "API Reference: sap.m.ObjectMarker",
|
|
36
|
-
href: "https://
|
|
36
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectMarker"
|
|
37
37
|
}],
|
|
38
38
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
39
39
|
oScope.getElementsByClassName("sap.m.ObjectMarker")
|
|
@@ -33,7 +33,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
33
33
|
resolution: "Set text or icon when active property is true",
|
|
34
34
|
resolutionurls: [{
|
|
35
35
|
text: "API Reference: sap.m.ObjectStatus",
|
|
36
|
-
href: "https://
|
|
36
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ObjectStatus"
|
|
37
37
|
}],
|
|
38
38
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
39
39
|
oScope.getElementsByClassName("sap.m.ObjectStatus")
|
|
@@ -36,7 +36,7 @@ sap.ui.define(["sap/ui/support/library", "sap/ui/model/BindingMode"],
|
|
|
36
36
|
resolution: "Use the sap.ui.model.Model.prototype.setSizeLimit to adjust the size limit of the 'items' model if you expect more than 100 items",
|
|
37
37
|
resolutionurls: [{
|
|
38
38
|
text: "API Reference for sap.ui.model.Model",
|
|
39
|
-
href: "https://
|
|
39
|
+
href: "https://openui5.hana.ondemand.com/api/sap.ui.model.Model"
|
|
40
40
|
}],
|
|
41
41
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
42
42
|
oScope.getElementsByClassName("sap.m.Select")
|
|
@@ -34,7 +34,7 @@ sap.ui.define(["sap/ui/support/library", "sap/m/ListBase", "sap/ui/core/library"
|
|
|
34
34
|
resolution: "Configure at least 1 column with width=auto or use fixedLayout=Strict",
|
|
35
35
|
resolutionurls: [{
|
|
36
36
|
text: "Documentation: Defining Column Widths",
|
|
37
|
-
href: "https://
|
|
37
|
+
href: "https://openui5.hana.ondemand.com/topic/6f778a805bc3453dbb66e246d8271839"
|
|
38
38
|
}],
|
|
39
39
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
40
40
|
oScope.getElementsByClassName("sap.m.Table").filter(function(oTable) {
|
|
@@ -76,10 +76,10 @@ sap.ui.define(["sap/ui/support/library", "sap/m/ListBase", "sap/ui/core/library"
|
|
|
76
76
|
resolution: "Use the 'highlightText' property of the item to define the semantics of the 'highlight'.",
|
|
77
77
|
resolutionurls: [{
|
|
78
78
|
text: "API Reference: sap.m.ListItemBase#getHighlight",
|
|
79
|
-
href: "https://
|
|
79
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ListItemBase/methods/getHighlight"
|
|
80
80
|
}, {
|
|
81
81
|
text: "API Reference: sap.m.ListItemBase#getHighlightText",
|
|
82
|
-
href: "https://
|
|
82
|
+
href: "https://openui5.hana.ondemand.com/api/sap.m.ListItemBase/methods/getHighlightText"
|
|
83
83
|
}],
|
|
84
84
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
85
85
|
function checkItemHighlight(oListItemBase) {
|