@openui5/sap.m 1.100.0 → 1.102.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +5 -5
- 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 +1 -1
- package/src/sap/m/ActionSheet.js +10 -3
- 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 -21
- package/src/sap/m/Breadcrumbs.js +3 -3
- package/src/sap/m/BreadcrumbsRenderer.js +0 -5
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +4 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +2 -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 +1 -0
- 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 +4 -2
- 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 +53 -7
- package/src/sap/m/DatePickerRenderer.js +0 -1
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateTimeField.js +5 -2
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +40 -53
- package/src/sap/m/DateTimePickerRenderer.js +2 -2
- package/src/sap/m/Dialog.js +21 -8
- 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 +5 -4
- package/src/sap/m/DynamicDateOption.js +12 -2
- package/src/sap/m/DynamicDateRange.js +107 -16
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +8 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +10 -10
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +10 -2
- package/src/sap/m/GenericTile.js +132 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +80 -3
- package/src/sap/m/GenericTileRenderer.js +174 -87
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +127 -93
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +41 -21
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +3 -3
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +19 -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 +4 -10
- package/src/sap/m/InputBase.js +5 -5
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +52 -20
- package/src/sap/m/ListBaseRenderer.js +19 -3
- package/src/sap/m/ListItemBase.js +7 -5
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +5 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +18 -36
- 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 +3 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +8 -3
- package/src/sap/m/NavContainer.js +40 -40
- 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 +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectAttributeRenderer.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +34 -10
- package/src/sap/m/ObjectMarkerRenderer.js +14 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +17 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- 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 +9 -12
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +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 +3 -3
- package/src/sap/m/PDFViewerRenderer.js +15 -7
- 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 +14 -14
- package/src/sap/m/PlanningCalendarHeader.js +1 -4
- 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 +15 -10
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +3 -2
- package/src/sap/m/RangeSlider.js +19 -4
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +5 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +24 -3
- package/src/sap/m/SelectDialog.js +14 -18
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +94 -52
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +10 -9
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +22 -10
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +5 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +36 -13
- 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 +3 -3
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +5 -13
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +5 -3
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +34 -3
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +9 -4
- package/src/sap/m/TableSelectDialog.js +13 -9
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +8 -14
- package/src/sap/m/TileContentRenderer.js +16 -7
- package/src/sap/m/TimePicker.js +52 -60
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +0 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +15 -3
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +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 +8 -9
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +2 -2
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +22 -4
- package/src/sap/m/WizardProgressNavigator.js +10 -3
- 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/ListBase.designtime.js +3 -0
- package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
- package/src/sap/m/library.js +55 -19
- package/src/sap/m/messagebundle.properties +168 -27
- package/src/sap/m/messagebundle_ar.properties +104 -14
- package/src/sap/m/messagebundle_bg.properties +104 -14
- package/src/sap/m/messagebundle_ca.properties +104 -14
- package/src/sap/m/messagebundle_cs.properties +104 -14
- package/src/sap/m/messagebundle_cy.properties +104 -14
- package/src/sap/m/messagebundle_da.properties +104 -14
- package/src/sap/m/messagebundle_de.properties +104 -14
- package/src/sap/m/messagebundle_el.properties +104 -14
- package/src/sap/m/messagebundle_en.properties +103 -13
- package/src/sap/m/messagebundle_en_GB.properties +103 -13
- package/src/sap/m/messagebundle_en_US_sappsd.properties +102 -12
- package/src/sap/m/messagebundle_en_US_saprigi.properties +102 -12
- package/src/sap/m/messagebundle_en_US_saptrc.properties +102 -12
- package/src/sap/m/messagebundle_es.properties +104 -14
- package/src/sap/m/messagebundle_es_MX.properties +104 -14
- package/src/sap/m/messagebundle_et.properties +104 -14
- package/src/sap/m/messagebundle_fi.properties +103 -13
- package/src/sap/m/messagebundle_fr.properties +105 -15
- package/src/sap/m/messagebundle_fr_CA.properties +104 -14
- package/src/sap/m/messagebundle_hi.properties +104 -14
- package/src/sap/m/messagebundle_hr.properties +104 -14
- package/src/sap/m/messagebundle_hu.properties +104 -14
- package/src/sap/m/messagebundle_id.properties +104 -14
- package/src/sap/m/messagebundle_it.properties +112 -22
- package/src/sap/m/messagebundle_iw.properties +104 -14
- package/src/sap/m/messagebundle_ja.properties +104 -14
- package/src/sap/m/messagebundle_kk.properties +104 -14
- package/src/sap/m/messagebundle_ko.properties +105 -15
- package/src/sap/m/messagebundle_lt.properties +104 -14
- package/src/sap/m/messagebundle_lv.properties +103 -13
- package/src/sap/m/messagebundle_ms.properties +104 -14
- package/src/sap/m/messagebundle_nl.properties +103 -13
- package/src/sap/m/messagebundle_no.properties +104 -14
- package/src/sap/m/messagebundle_pl.properties +104 -14
- package/src/sap/m/messagebundle_pt.properties +112 -22
- package/src/sap/m/messagebundle_pt_PT.properties +104 -14
- package/src/sap/m/messagebundle_ro.properties +104 -14
- package/src/sap/m/messagebundle_ru.properties +104 -14
- package/src/sap/m/messagebundle_sh.properties +104 -14
- package/src/sap/m/messagebundle_sk.properties +104 -14
- package/src/sap/m/messagebundle_sl.properties +104 -14
- package/src/sap/m/messagebundle_sv.properties +105 -15
- package/src/sap/m/messagebundle_th.properties +104 -14
- package/src/sap/m/messagebundle_tr.properties +104 -14
- package/src/sap/m/messagebundle_uk.properties +104 -14
- package/src/sap/m/messagebundle_vi.properties +104 -14
- package/src/sap/m/messagebundle_zh_CN.properties +104 -14
- package/src/sap/m/messagebundle_zh_TW.properties +104 -14
- 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 +9 -3
- package/src/sap/m/p13n/Container.js +11 -4
- package/src/sap/m/p13n/GroupPanel.js +17 -5
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +89 -37
- package/src/sap/m/p13n/SelectionPanel.js +30 -5
- package/src/sap/m/p13n/SortPanel.js +27 -13
- package/src/sap/m/plugins/ColumnResizer.js +41 -6
- package/src/sap/m/plugins/DataStateIndicator.js +3 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/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 +7 -14
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +98 -16
- 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/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +222 -34
- package/src/sap/m/table/columnmenu/MenuRenderer.js +5 -28
- package/src/sap/m/table/columnmenu/QuickAction.js +14 -3
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +20 -16
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -28
- package/src/sap/m/table/columnmenu/QuickTotal.js +20 -25
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionListItem.less +1 -1
- package/src/sap/m/themes/base/Avatar.less +11 -5
- 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 +0 -1
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/ColumnMenu.less +12 -4
- package/src/sap/m/themes/base/Dialog.less +10 -6
- package/src/sap/m/themes/base/GenericTile.less +758 -179
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/Input.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +114 -11
- package/src/sap/m/themes/base/Label.less +3 -0
- package/src/sap/m/themes/base/LightBox.less +9 -7
- package/src/sap/m/themes/base/Link.less +12 -4
- package/src/sap/m/themes/base/ListBase.less +4 -0
- 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 +5 -5
- package/src/sap/m/themes/base/MultiInput.less +1 -1
- 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/ObjectAttribute.less +1 -1
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectMarker.less +3 -1
- package/src/sap/m/themes/base/ObjectStatus.less +8 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +10 -7
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RadioButton.less +21 -3
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +18 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/StandardListItem.less +5 -9
- package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
- package/src/sap/m/themes/base/Table.less +18 -21
- package/src/sap/m/themes/base/TextArea.less +32 -0
- package/src/sap/m/themes/base/Token.less +17 -15
- package/src/sap/m/themes/base/Tokenizer.less +2 -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/ValueStateMessage.less +3 -3
- 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/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -72
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +33 -18
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +1 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +3 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +12 -9
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +41 -40
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +29 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +28 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -85
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +42 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +15 -12
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +49 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +58 -53
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +24 -16
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +10 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +8 -13
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +11 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +37 -39
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +38 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +28 -23
- 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/ComboBoxBase.less +0 -12
- package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Token.less +4 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateMessage.less +12 -1
- package/src/sap/m/upload/UploadSet.js +162 -17
- package/src/sap/m/upload/UploadSetItem.js +24 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +45 -0
|
@@ -144,7 +144,7 @@ function(
|
|
|
144
144
|
* @extends sap.ui.core.Control
|
|
145
145
|
*
|
|
146
146
|
* @author SAP SE
|
|
147
|
-
* @version 1.
|
|
147
|
+
* @version 1.102.1
|
|
148
148
|
*
|
|
149
149
|
* @constructor
|
|
150
150
|
* @public
|
|
@@ -2258,7 +2258,7 @@ function(
|
|
|
2258
2258
|
|
|
2259
2259
|
// Aria - used to label the sort order list
|
|
2260
2260
|
this._ariaSortOrderInvisibleText = new InvisibleText(this.getId() + "-sortOrderLabel", {
|
|
2261
|
-
text: this._rb.getText("
|
|
2261
|
+
text: this._rb.getText("VIEWSETTINGS_SORT_BY")
|
|
2262
2262
|
});
|
|
2263
2263
|
|
|
2264
2264
|
this._sortOrderList = new List(this.getId() + "-sortorderlist", {
|
|
@@ -2283,7 +2283,7 @@ function(
|
|
|
2283
2283
|
|
|
2284
2284
|
// Aria - used to label the sort list
|
|
2285
2285
|
this._ariaSortListInvisibleText = new InvisibleText(this.getId() + "-sortListLabel", {
|
|
2286
|
-
text: this._rb.getText("
|
|
2286
|
+
text: this._rb.getText("VIEWSETTINGS_SORT_OBJECT")
|
|
2287
2287
|
});
|
|
2288
2288
|
|
|
2289
2289
|
this._sortList.addAriaLabelledBy(this._ariaSortListInvisibleText);
|
|
@@ -2349,7 +2349,6 @@ function(
|
|
|
2349
2349
|
* @private
|
|
2350
2350
|
*/
|
|
2351
2351
|
ViewSettingsDialog.prototype._initGroupContent = function() {
|
|
2352
|
-
var sTitleGroupBy = this._rb.getText("VIEWSETTINGS_GROUP_BY");
|
|
2353
2352
|
|
|
2354
2353
|
if (this._groupContent) {
|
|
2355
2354
|
return;
|
|
@@ -2358,7 +2357,7 @@ function(
|
|
|
2358
2357
|
|
|
2359
2358
|
// Aria - used to label the group order
|
|
2360
2359
|
this._ariaGroupOrderInvisibleText = new InvisibleText(this.getId() + "-groupOrderLabel", {
|
|
2361
|
-
text: this._rb.getText("
|
|
2360
|
+
text: this._rb.getText("VIEWSETTINGS_GROUP_BY")
|
|
2362
2361
|
});
|
|
2363
2362
|
|
|
2364
2363
|
this._groupOrderList = new List(this.getId() + "-grouporderlist", {
|
|
@@ -2372,7 +2371,7 @@ function(
|
|
|
2372
2371
|
ariaLabelledBy: this._ariaGroupOrderInvisibleText
|
|
2373
2372
|
});
|
|
2374
2373
|
|
|
2375
|
-
this._groupOrderList.addItem(new GroupHeaderListItem({title:
|
|
2374
|
+
this._groupOrderList.addItem(new GroupHeaderListItem({title: this._rb.getText("VIEWSETTINGS_GROUP_BY")}));
|
|
2376
2375
|
this._groupOrderList.addItem(new StandardListItem({
|
|
2377
2376
|
title : this._rb.getText("VIEWSETTINGS_ASCENDING_ITEM")
|
|
2378
2377
|
}).data("item", false).setSelected(true));
|
|
@@ -2382,7 +2381,7 @@ function(
|
|
|
2382
2381
|
|
|
2383
2382
|
// Aria - used to label the group list
|
|
2384
2383
|
this._ariaGroupListInvisibleText = new InvisibleText(this.getId() + "-groupListLabel", {
|
|
2385
|
-
text: this._rb.getText("
|
|
2384
|
+
text: this._rb.getText("VIEWSETTINGS_GROUP_OBJECT")
|
|
2386
2385
|
});
|
|
2387
2386
|
|
|
2388
2387
|
this._groupList = new List(this.getId() + "-grouplist",
|
|
@@ -2484,7 +2483,7 @@ function(
|
|
|
2484
2483
|
|
|
2485
2484
|
// Aria - used to label the filter by list
|
|
2486
2485
|
this._ariaFilterByInvisibleText = new InvisibleText(this.getId() + "-filterByLabel", {
|
|
2487
|
-
text: this._rb.getText("
|
|
2486
|
+
text: this._rb.getText("VIEWSETTINGS_FILTER_BY")
|
|
2488
2487
|
});
|
|
2489
2488
|
|
|
2490
2489
|
this._presetFilterList = new List(
|
|
@@ -2892,7 +2891,7 @@ function(
|
|
|
2892
2891
|
/**
|
|
2893
2892
|
* Switches to a dialog page (0 = sort, 1 = group, 2 = filter, 3 = subfilter and custom pages).
|
|
2894
2893
|
* @param {int|string} vWhich The page to be navigated to
|
|
2895
|
-
* @param {sap.m.
|
|
2894
|
+
* @param {sap.m.ViewSettingsFilterItem} oItem The filter item for the detail page (optional, only used for page 3).
|
|
2896
2895
|
*
|
|
2897
2896
|
* @private
|
|
2898
2897
|
*/
|
package/src/sap/m/VisibleItem.js
CHANGED
|
@@ -21,7 +21,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', "sap/ui/thirdparty/jquery"],
|
|
|
21
21
|
* @extends sap.ui.core.Item
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.102.1
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
@@ -68,7 +68,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', "sap/ui/thirdparty/jquery"],
|
|
|
68
68
|
*/
|
|
69
69
|
VisibleItem.prototype.setVisible = function(bValue) {
|
|
70
70
|
if (this.getVisible() === bValue) {
|
|
71
|
-
return;
|
|
71
|
+
return this;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
var $refs = this._getRefs();
|
package/src/sap/m/WheelSlider.js
CHANGED
package/src/sap/m/Wizard.js
CHANGED
|
@@ -86,7 +86,7 @@ sap.ui.define([
|
|
|
86
86
|
*
|
|
87
87
|
* @extends sap.ui.core.Control
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.102.1
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
145
|
* Defines how the steps of the Wizard would be visualized.
|
|
146
|
-
* @
|
|
146
|
+
* @since 1.84
|
|
147
147
|
*/
|
|
148
148
|
renderMode: {
|
|
149
149
|
type: "sap.m.WizardRenderMode",
|
|
@@ -188,6 +188,18 @@ sap.ui.define([
|
|
|
188
188
|
index: {type: "int"}
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
|
+
/**
|
|
192
|
+
* This event is fired when the the current visible step is changed by either taping on the <code>WizardProgressNavigator</code> or scrolling through the steps.
|
|
193
|
+
* @since 1.101
|
|
194
|
+
*/
|
|
195
|
+
navigationChange: {
|
|
196
|
+
parameters: {
|
|
197
|
+
/**
|
|
198
|
+
* The newly selected step.
|
|
199
|
+
*/
|
|
200
|
+
step: {type: "sap.m.WizardStep"}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
191
203
|
/**
|
|
192
204
|
* The complete event is fired when the user clicks the finish button of the Wizard.
|
|
193
205
|
* The finish button is only available on the last step of the Wizard.
|
|
@@ -788,7 +800,7 @@ sap.ui.define([
|
|
|
788
800
|
oProgressNavigator.incrementProgress();
|
|
789
801
|
|
|
790
802
|
this._handleStepActivated(oProgressNavigator.getProgress());
|
|
791
|
-
this._handleStepChanged(oProgressNavigator.getProgress());
|
|
803
|
+
this._handleStepChanged(oProgressNavigator.getProgress(), true);
|
|
792
804
|
}
|
|
793
805
|
};
|
|
794
806
|
|
|
@@ -843,14 +855,16 @@ sap.ui.define([
|
|
|
843
855
|
/**
|
|
844
856
|
* Handler for the stepChanged event. The event comes from the WizardProgressNavigator.
|
|
845
857
|
* @param {jQuery.Event} oEvent The event object
|
|
858
|
+
* @param {boolean} bSupressEvent Whether event should be suppressed.
|
|
846
859
|
* @private
|
|
847
860
|
*/
|
|
848
|
-
Wizard.prototype._handleStepChanged = function (oEvent) {
|
|
861
|
+
Wizard.prototype._handleStepChanged = function (oEvent, bSupressEvent) {
|
|
849
862
|
var iPreviousStepIndex = ((typeof oEvent === "number") ? oEvent : oEvent.getParameter("current")) - 2,
|
|
850
863
|
oPreviousStep = this._aStepPath[iPreviousStepIndex],
|
|
851
864
|
oSubsequentStep = this._getNextStep(oPreviousStep, iPreviousStepIndex),
|
|
852
865
|
bFocusFirstElement = Device.system.desktop ? true : false;
|
|
853
866
|
|
|
867
|
+
!bSupressEvent && this.fireNavigationChange({step: oSubsequentStep});
|
|
854
868
|
this.goToStep(oSubsequentStep, bFocusFirstElement);
|
|
855
869
|
};
|
|
856
870
|
|
|
@@ -1134,6 +1148,7 @@ sap.ui.define([
|
|
|
1134
1148
|
var iScrollTop = oEvent.target.scrollTop,
|
|
1135
1149
|
oProgressNavigator = this._getProgressNavigator(),
|
|
1136
1150
|
oCurrentStep = this._aStepPath[oProgressNavigator.getCurrentStep() - 1],
|
|
1151
|
+
oSubsequentStep = this._aStepPath[oProgressNavigator.getCurrentStep()],
|
|
1137
1152
|
oCurrentStepDOM = oCurrentStep && oCurrentStep.getDomRef();
|
|
1138
1153
|
|
|
1139
1154
|
if (!oCurrentStepDOM) {
|
|
@@ -1146,6 +1161,7 @@ sap.ui.define([
|
|
|
1146
1161
|
|
|
1147
1162
|
if (iScrollTop + iStepChangeThreshold >= iStepOffset + iStepHeight && oProgressNavigator._isActiveStep(oProgressNavigator._iCurrentStep + 1)) {
|
|
1148
1163
|
oProgressNavigator.nextStep();
|
|
1164
|
+
this.fireNavigationChange({step: oSubsequentStep});
|
|
1149
1165
|
}
|
|
1150
1166
|
|
|
1151
1167
|
var aSteps = this.getSteps();
|
|
@@ -1158,6 +1174,8 @@ sap.ui.define([
|
|
|
1158
1174
|
oCurrentStep = this._aStepPath[oProgressNavigator.getCurrentStep() - 1];
|
|
1159
1175
|
oCurrentStepDOM = oCurrentStep && oCurrentStep.getDomRef();
|
|
1160
1176
|
|
|
1177
|
+
this.fireNavigationChange({step: oCurrentStep});
|
|
1178
|
+
|
|
1161
1179
|
if (!oCurrentStepDOM) {
|
|
1162
1180
|
break;
|
|
1163
1181
|
}
|
|
@@ -43,7 +43,7 @@ function(
|
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.102.1
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
@@ -301,8 +301,15 @@ function(
|
|
|
301
301
|
this._oStepNavigation = new ItemNavigation();
|
|
302
302
|
this._oStepNavigation.setCycling(false);
|
|
303
303
|
this._oStepNavigation.setDisabledModifiers({
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
// Alt + arrow keys are reserved for browser navigation
|
|
305
|
+
sapnext: [
|
|
306
|
+
"alt", // Windows and Linux
|
|
307
|
+
"meta" // Apple (⌘)
|
|
308
|
+
],
|
|
309
|
+
sapprevious: [
|
|
310
|
+
"alt",
|
|
311
|
+
"meta"
|
|
312
|
+
]
|
|
306
313
|
});
|
|
307
314
|
this._oStepNavigation.attachEvent("AfterFocus", function (params) {
|
|
308
315
|
var oEvent = params.mParameters.oEvent;
|
package/src/sap/m/WizardStep.js
CHANGED
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* <li>If the execution needs to branch after a given step, you should set all possible next steps in the <code>subsequentSteps</code> aggregation.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.102.1
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
46
|
*
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.102.1
|
|
48
48
|
*
|
|
49
49
|
* @experimental Since 1.51.0 This class is experimental and provides only limited functionality.
|
|
50
50
|
* Also the API might be changed in future.
|
|
@@ -97,10 +97,8 @@ sap.ui.define([
|
|
|
97
97
|
.then(oModifier.insertAggregation.bind(oModifier, oTemplate, CELLS_AGGREGATION_NAME, oSmartField, iIndex, oView))
|
|
98
98
|
.then(oModifier.updateAggregation.bind(oModifier, oTable, ITEMS_AGGREGATION_NAME)) //only needed in JS case
|
|
99
99
|
.then(function() {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
idIsLocal: true
|
|
103
|
-
};
|
|
100
|
+
// getSelector() helps to decide whether idIsLocal is true/false
|
|
101
|
+
oRevertData.newCellSelector = oModifier.getSelector(oSmartField, oAppComponent);
|
|
104
102
|
oChange.setRevertData(oRevertData);
|
|
105
103
|
});
|
|
106
104
|
}
|
|
@@ -13,7 +13,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/thirdparty/jquery"], function(Log, jQuery
|
|
|
13
13
|
*
|
|
14
14
|
* @alias sap.m.changeHandler.MoveTableColumns
|
|
15
15
|
* @author SAP SE
|
|
16
|
-
* @version 1.
|
|
16
|
+
* @version 1.102.1
|
|
17
17
|
* @experimental Since 1.48
|
|
18
18
|
*/
|
|
19
19
|
var MoveTableColumns = {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ! OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Provides the Design Time Metadata for the sap.ui.fl.variants.VariantManagement control.
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
], function(
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
return {
|
|
14
|
+
annotations: {},
|
|
15
|
+
properties: {
|
|
16
|
+
showSetAsDefault: {
|
|
17
|
+
ignore: false
|
|
18
|
+
},
|
|
19
|
+
inErrorState: {
|
|
20
|
+
ignore: false
|
|
21
|
+
},
|
|
22
|
+
editable: {
|
|
23
|
+
ignore: false
|
|
24
|
+
},
|
|
25
|
+
modelName: {
|
|
26
|
+
ignore: false
|
|
27
|
+
},
|
|
28
|
+
executeOnSelectionForStandardDefault: {
|
|
29
|
+
ignore: false
|
|
30
|
+
},
|
|
31
|
+
displayTextForExecuteOnSelectionForStandardVariant: {
|
|
32
|
+
ignore: false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
actions: {
|
|
36
|
+
// controlVariant: function(oVariantManagement) {
|
|
37
|
+
// var oAppComponent = flUtils.getAppComponentForControl(oVariantManagement);
|
|
38
|
+
// var sControlId = oVariantManagement.getId();
|
|
39
|
+
// var oModel = oAppComponent.getModel(flUtils.VARIANT_MODEL_NAME);
|
|
40
|
+
// var sVariantManagementReference = oAppComponent.getLocalId(sControlId) || sControlId;
|
|
41
|
+
// return {
|
|
42
|
+
// validators: [
|
|
43
|
+
// "noEmptyText",
|
|
44
|
+
// {
|
|
45
|
+
// validatorFunction: function(sNewText) {
|
|
46
|
+
// var iDuplicateCount = oModel._getVariantTitleCount(sNewText, sVariantManagementReference) || 0;
|
|
47
|
+
// return iDuplicateCount === 0;
|
|
48
|
+
// },
|
|
49
|
+
// errorMessage: sap.ui.getCore().getLibraryResourceBundle("sap.ui.fl").getText("VARIANT_MANAGEMENT_ERROR_DUPLICATE")
|
|
50
|
+
// }
|
|
51
|
+
// ]
|
|
52
|
+
// };
|
|
53
|
+
// }
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
});
|
|
@@ -96,7 +96,8 @@ sap.ui.define([
|
|
|
96
96
|
/**
|
|
97
97
|
* Sets Show More button to <code>SuggestionsPopover</code>'s Dialog.
|
|
98
98
|
*
|
|
99
|
-
|
|
99
|
+
* @param {sap.m.Button} oShowMoreButton The "Show More" button for the Dialog's <code>endButton</code> aggregation
|
|
100
|
+
* @returns {this} This instance for method chaining.
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
this.setShowMoreButton = function(oShowMoreButton) {
|
|
@@ -107,6 +108,7 @@ sap.ui.define([
|
|
|
107
108
|
/**
|
|
108
109
|
* Destroys Show More button from <code>SuggestionsPopover<code>'s Dialog.
|
|
109
110
|
*
|
|
111
|
+
* @returns {this} This instance for method chaining.
|
|
110
112
|
* @public
|
|
111
113
|
*/
|
|
112
114
|
this.removeShowMoreButton = function() {
|
|
@@ -116,8 +118,8 @@ sap.ui.define([
|
|
|
116
118
|
|
|
117
119
|
/**
|
|
118
120
|
* @override
|
|
119
|
-
* @param fnHandler
|
|
120
|
-
* @returns {sap.m.Button|null}
|
|
121
|
+
* @param {function} fnHandler The press handler function.
|
|
122
|
+
* @returns {sap.m.Button|null} The cancel button instance or null.
|
|
121
123
|
*/
|
|
122
124
|
this.setOkPressHandler = function (fnHandler) {
|
|
123
125
|
var oOkButton = this.getOkButton();
|
|
@@ -128,8 +130,8 @@ sap.ui.define([
|
|
|
128
130
|
|
|
129
131
|
/**
|
|
130
132
|
* @override
|
|
131
|
-
* @param fnHandler
|
|
132
|
-
* @returns {sap.m.Button|null}
|
|
133
|
+
* @param {function} fnHandler The press handler function.
|
|
134
|
+
* @returns {sap.m.Button|null} The cancel button instance or null.
|
|
133
135
|
*/
|
|
134
136
|
this.setCancelPressHandler = function (fnHandler) {
|
|
135
137
|
var oCancelButton = this.getCancelButton();
|
|
@@ -140,8 +142,8 @@ sap.ui.define([
|
|
|
140
142
|
|
|
141
143
|
/**
|
|
142
144
|
* @override
|
|
143
|
-
* @param fnHandler
|
|
144
|
-
* @returns {sap.m.ToggleButton|sap.m.Button|null}
|
|
145
|
+
* @param {function} fnHandler The press handler function.
|
|
146
|
+
* @returns {sap.m.ToggleButton|sap.m.Button|null} The filter selected button instance or null.
|
|
145
147
|
*/
|
|
146
148
|
this.setShowSelectedPressHandler = function (fnHandler) {
|
|
147
149
|
var oFilterSelectedButton = this.getFilterSelectedButton();
|
|
@@ -154,14 +156,15 @@ sap.ui.define([
|
|
|
154
156
|
* Instantiates the dialog.
|
|
155
157
|
*
|
|
156
158
|
* @override
|
|
157
|
-
* @param oInput
|
|
158
|
-
* @param mOptions
|
|
159
|
-
* @
|
|
159
|
+
* @param {sap.m.Input} oInput The parent Input control.
|
|
160
|
+
* @param {object} mOptions Options object map.
|
|
161
|
+
* @param {sap.m.Input} Input The input class as dependency injection.
|
|
162
|
+
* @returns {sap.m.Dialog} The newly created picker.
|
|
160
163
|
*/
|
|
161
|
-
this.createPopover = function (oInput, mOptions) {
|
|
164
|
+
this.createPopover = function (oInput, mOptions, InputClass) {
|
|
162
165
|
var oMessageBundle = Core.getLibraryResourceBundle("sap.m"),
|
|
163
166
|
that = this,
|
|
164
|
-
oPopupInput = new
|
|
167
|
+
oPopupInput = InputClass && new InputClass(oInput.getId() + "-popup-input", {
|
|
165
168
|
width: "100%",
|
|
166
169
|
showValueStateMessage: false
|
|
167
170
|
});
|
|
@@ -245,9 +248,9 @@ sap.ui.define([
|
|
|
245
248
|
/**
|
|
246
249
|
* Dialog's header content
|
|
247
250
|
*
|
|
248
|
-
* @param mOptions
|
|
249
|
-
* @param oPopupInput
|
|
250
|
-
* @return {sap.m.Toolbar} The toolbar
|
|
251
|
+
* @param {object} mOptions Options map object.
|
|
252
|
+
* @param {sap.m.Input} oPopupInput The picker's internal Input.
|
|
253
|
+
* @return {sap.m.Toolbar} The newly created toolbar.
|
|
251
254
|
* @private
|
|
252
255
|
*/
|
|
253
256
|
function _createSubHeaderContent(mOptions, oPopupInput) {
|
|
@@ -269,15 +272,18 @@ sap.ui.define([
|
|
|
269
272
|
*/
|
|
270
273
|
function _createFilterSelectedButton() {
|
|
271
274
|
var sIconURI = IconPool.getIconURI("multiselect-all");
|
|
275
|
+
var sSelectedItemsIconText = Core.getLibraryResourceBundle("sap.m").getText("SHOW_SELECTED_BUTTON");
|
|
272
276
|
|
|
273
277
|
return new ToggleButton({
|
|
274
|
-
icon: sIconURI
|
|
278
|
+
icon: sIconURI,
|
|
279
|
+
tooltip: sSelectedItemsIconText
|
|
275
280
|
});
|
|
276
281
|
}
|
|
277
282
|
|
|
278
283
|
/**
|
|
279
284
|
* Gets the Value State Header instance.
|
|
280
285
|
*
|
|
286
|
+
* @returns {sap.m.ValueStateHeader} The value state header.
|
|
281
287
|
* @private
|
|
282
288
|
*/
|
|
283
289
|
this._getValueStateHeader = function () {
|
|
@@ -22,8 +22,8 @@ sap.ui.define([
|
|
|
22
22
|
* Instrantiates the Popover
|
|
23
23
|
*
|
|
24
24
|
* @override
|
|
25
|
-
* @param oInput
|
|
26
|
-
* @returns {sap.m.Popover}
|
|
25
|
+
* @param {sap.m.Input} oInput The parent Input control
|
|
26
|
+
* @returns {sap.m.Popover} The newly created picker.
|
|
27
27
|
*/
|
|
28
28
|
this.createPopover = function (oInput) {
|
|
29
29
|
var that = this,
|
|
@@ -85,6 +85,7 @@ sap.ui.define([
|
|
|
85
85
|
* Sets Show More button to <code>SuggestionsPopover</code>'s Popover.
|
|
86
86
|
*
|
|
87
87
|
* @param {sap.m.Toolbar} oButtonToolbar The "Show More" button toolbar for the Popover's <code>footer</code> aggregation
|
|
88
|
+
* @return {this} This instance for method chaining.
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
this.setShowMoreButton = function(oButtonToolbar) {
|
|
@@ -96,6 +97,7 @@ sap.ui.define([
|
|
|
96
97
|
* Destroys Show More button from <code>SuggestionsPopover</code>'s Popover.
|
|
97
98
|
*
|
|
98
99
|
* @public
|
|
100
|
+
* @return {this} This instance for method chaining.
|
|
99
101
|
*/
|
|
100
102
|
this.removeShowMoreButton = function() {
|
|
101
103
|
this.getPopover().destroyAggregation("footer");
|
|
@@ -104,6 +106,10 @@ sap.ui.define([
|
|
|
104
106
|
|
|
105
107
|
/**
|
|
106
108
|
* Helper function that overwrites popover in the Input.
|
|
109
|
+
*
|
|
110
|
+
* @param {sap.m.Popover} oPopover The picker popover's instance.
|
|
111
|
+
* @param {sap.m.Input} oInput The parent input's instance.
|
|
112
|
+
* @return {sap.m.Popover} The popover picker's instance.
|
|
107
113
|
*/
|
|
108
114
|
function _patchPopover(oPopover, oInput) {
|
|
109
115
|
oPopover.open = function () {
|
|
@@ -124,6 +130,7 @@ sap.ui.define([
|
|
|
124
130
|
* Gets the Value State Header instance.
|
|
125
131
|
*
|
|
126
132
|
* @private
|
|
133
|
+
* @returns {sap.m.ValueStateHeader} The value state header's instance.
|
|
127
134
|
*/
|
|
128
135
|
this._getValueStateHeader = function () {
|
|
129
136
|
var oPopover = this.getPopover();
|
|
@@ -140,6 +147,7 @@ sap.ui.define([
|
|
|
140
147
|
* Creates the Value State Header instance.
|
|
141
148
|
*
|
|
142
149
|
* @private
|
|
150
|
+
* @returns {sap.m.ValueStateHeader} The newly created value state header's instance.
|
|
143
151
|
*/
|
|
144
152
|
this._createValueStateHeader = function () {
|
|
145
153
|
var oValueStateHeader = new ValueStateHeader();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/*
|
|
7
7
|
* IMPORTANT: This is a private module, its API must not be used and is subject to change.
|
|
8
|
-
* Code other than the
|
|
8
|
+
* Code other than the libraries specified in the restricted flag below must not introduce dependencies to this module.
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/m/inputUtils/wordStartsWithValue",
|
|
@@ -83,7 +83,8 @@ sap.ui.define([
|
|
|
83
83
|
* @param {string} sInputValue Text to highlight
|
|
84
84
|
* @param {boolean} bWordMode Whether to highlight single string or to highlight each string that starts with space + sInputValue
|
|
85
85
|
* @param {int} iLimit Threshold of the items to enable highlighting. Above that limit, highlighting would be disabled due to performance reasons- DOM trashing. Default: 200
|
|
86
|
-
* @
|
|
86
|
+
* @private
|
|
87
|
+
* @ui5-restricted sap.m, sap.ui.comp, sap.fe
|
|
87
88
|
*/
|
|
88
89
|
var highlightItems = function (aItemsDomRef, sInputValue, bWordMode, iLimit) {
|
|
89
90
|
var i, highlightedTexts;
|