@openui5/sap.m 1.97.1 → 1.99.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/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +14 -21
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +2 -2
- package/src/sap/m/ActionListItemRenderer.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSelectRenderer.js +1 -1
- package/src/sap/m/ActionSheet.js +5 -5
- package/src/sap/m/ActionSheetRenderer.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 +21 -4
- package/src/sap/m/AvatarRenderer.js +6 -1
- package/src/sap/m/BadgeCustomData.js +6 -4
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/BarRenderer.js +6 -6
- package/src/sap/m/Breadcrumbs.js +2 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/BusyIndicatorRenderer.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/ButtonRenderer.js +3 -3
- package/src/sap/m/Carousel.js +19 -17
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +6 -2
- package/src/sap/m/CheckBox.js +2 -22
- package/src/sap/m/CheckBoxRenderer.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +26 -7
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +8 -5
- 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 +4 -4
- package/src/sap/m/ComboBoxBase.js +6 -6
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxRenderer.js +4 -4
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ComboBoxTextFieldRenderer.js +2 -2
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomListItemRenderer.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +1 -1
- package/src/sap/m/DatePicker.js +16 -12
- package/src/sap/m/DatePickerRenderer.js +1 -5
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
- package/src/sap/m/DateTimeField.js +12 -3
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +355 -62
- package/src/sap/m/DateTimePickerRenderer.js +40 -0
- package/src/sap/m/Dialog.js +14 -7
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DraftIndicatorRenderer.js +1 -1
- package/src/sap/m/DynamicDate.js +3 -3
- package/src/sap/m/DynamicDateFormat.js +29 -2
- package/src/sap/m/DynamicDateOption.js +134 -9
- package/src/sap/m/DynamicDateRange.js +197 -72
- package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
- package/src/sap/m/DynamicDateUtil.js +85 -4
- package/src/sap/m/DynamicDateValueHelpUIType.js +7 -2
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +21 -18
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterItemRenderer.js +1 -1
- package/src/sap/m/FacetFilterList.js +2 -2
- package/src/sap/m/FacetFilterRenderer.js +10 -10
- package/src/sap/m/FeedContent.js +2 -2
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedInputRenderer.js +1 -1
- package/src/sap/m/FeedListItem.js +6 -6
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +2 -2
- 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 +13 -10
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +44 -15
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -12
- package/src/sap/m/GenericTileRenderer.js +11 -5
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +2 -2
- package/src/sap/m/GrowingEnablement.js +14 -0
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HBoxRenderer.js +1 -1
- package/src/sap/m/HeaderContainer.js +71 -16
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HeaderContainerRenderer.js +1 -1
- package/src/sap/m/HyphenationSupport.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarDragAndDropUtil.js +2 -2
- package/src/sap/m/IconTabBarSelectList.js +12 -1
- package/src/sap/m/IconTabBarSelectListRenderer.js +1 -1
- package/src/sap/m/IconTabFilter.js +14 -9
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +57 -33
- package/src/sap/m/IconTabHeaderRenderer.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +622 -0
- package/src/sap/m/IllustratedMessageRenderer.js +55 -0
- package/src/sap/m/IllustratedMessageSize.js +64 -0
- package/src/sap/m/IllustratedMessageType.js +343 -0
- package/src/sap/m/Illustration.js +117 -0
- package/src/sap/m/IllustrationPool.js +392 -0
- package/src/sap/m/IllustrationRenderer.js +43 -0
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +2 -2
- package/src/sap/m/ImageRenderer.js +1 -1
- package/src/sap/m/Input.js +28 -14
- package/src/sap/m/InputBase.js +6 -8
- package/src/sap/m/InputBaseRenderer.js +53 -38
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +1 -1
- package/src/sap/m/InputRenderer.js +12 -9
- package/src/sap/m/Label.js +24 -5
- package/src/sap/m/LabelRenderer.js +8 -5
- package/src/sap/m/LightBox.js +5 -5
- package/src/sap/m/LightBoxItem.js +2 -3
- package/src/sap/m/LightBoxRenderer.js +1 -1
- package/src/sap/m/Link.js +2 -2
- package/src/sap/m/LinkRenderer.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +15 -6
- package/src/sap/m/ListBaseRenderer.js +16 -16
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/ListItemBaseRenderer.js +23 -23
- package/src/sap/m/MaskEnabler.js +11 -11
- package/src/sap/m/MaskInput.js +9 -1
- package/src/sap/m/MaskInputRenderer.js +9 -43
- package/src/sap/m/MaskInputRule.js +5 -5
- package/src/sap/m/Menu.js +3 -3
- package/src/sap/m/MenuButton.js +6 -2
- package/src/sap/m/MenuButtonRenderer.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuListItemRenderer.js +2 -2
- 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/MessagePageRenderer.js +1 -1
- package/src/sap/m/MessagePopover.js +5 -2
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessagePopoverRenderer.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageStripRenderer.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +10 -5
- package/src/sap/m/MultiComboBox.js +13 -13
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +53 -40
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NavContainerRenderer.js +1 -1
- package/src/sap/m/NewsContent.js +2 -2
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListGroupRenderer.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NotificationListItemRenderer.js +1 -1
- package/src/sap/m/NotificationListRenderer.js +2 -2
- package/src/sap/m/NumericContent.js +2 -2
- package/src/sap/m/NumericContentRenderer.js +10 -10
- package/src/sap/m/NumericInput.js +138 -0
- package/src/sap/m/NumericInputRenderer.js +124 -0
- package/src/sap/m/ObjectAttribute.js +20 -15
- package/src/sap/m/ObjectAttributeRenderer.js +15 -8
- package/src/sap/m/ObjectHeader.js +20 -7
- package/src/sap/m/ObjectHeaderRenderer.js +3 -3
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectListItemRenderer.js +2 -2
- package/src/sap/m/ObjectMarker.js +2 -2
- package/src/sap/m/ObjectMarkerRenderer.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -2
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +1 -1
- package/src/sap/m/OverflowToolbar.js +19 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- 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 +3 -1
- package/src/sap/m/P13nConditionPanel.js +2 -2
- package/src/sap/m/P13nDialog.js +3 -2
- 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 +12 -7
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +5 -4
- 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 +3 -2
- package/src/sap/m/PDFViewer.js +5 -4
- package/src/sap/m/Page.js +1 -1
- 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/PanelRenderer.js +1 -1
- package/src/sap/m/PlanningCalendar.js +2 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- 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 +12 -1
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +3 -3
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/PullToRefreshRenderer.js +2 -2
- 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/QuickViewCardRenderer.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/QuickViewPageRenderer.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RadioButtonRenderer.js +1 -1
- package/src/sap/m/RangeSlider.js +4 -5
- package/src/sap/m/RangeSliderRenderer.js +5 -5
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/RatingIndicatorRenderer.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsivePopoverRenderer.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +2 -2
- package/src/sap/m/ScrollBarRenderer.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/ScrollContainerRenderer.js +1 -1
- package/src/sap/m/SearchField.js +2 -2
- package/src/sap/m/SegmentedButton.js +6 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +1 -1
- package/src/sap/m/Select.js +11 -4
- package/src/sap/m/SelectDialog.js +2 -2
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectListRenderer.js +5 -5
- package/src/sap/m/SelectRenderer.js +5 -5
- 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/SelectionDetailsRenderer.js +1 -1
- package/src/sap/m/Shell.js +4 -4
- package/src/sap/m/ShellRenderer.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +59 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +29 -20
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +6 -5
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +13 -3
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +7 -3
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +13 -2
- package/src/sap/m/SinglePlanningCalendarWeekView.js +15 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +16 -1
- package/src/sap/m/SlideTileRenderer.js +5 -3
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +9 -9
- package/src/sap/m/SliderTooltip.js +3 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- package/src/sap/m/SliderTooltipContainer.js +2 -2
- package/src/sap/m/SliderTooltipContainerRenderer.js +1 -1
- package/src/sap/m/SliderTooltipRenderer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +3 -1
- package/src/sap/m/SplitButtonRenderer.js +1 -1
- package/src/sap/m/SplitContainer.js +21 -28
- package/src/sap/m/StandardDynamicDateOption.js +254 -16
- package/src/sap/m/StandardListItem.js +34 -1
- package/src/sap/m/StandardListItemRenderer.js +12 -10
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +60 -158
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +2 -9
- package/src/sap/m/Switch.js +16 -3
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -3
- package/src/sap/m/TabContainerRenderer.js +2 -2
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +1 -1
- package/src/sap/m/Table.js +51 -9
- 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 +4 -3
- package/src/sap/m/TableSelectDialog.js +17 -17
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +3 -38
- package/src/sap/m/TextAreaRenderer.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContainerRenderer.js +1 -1
- package/src/sap/m/TileContent.js +4 -4
- package/src/sap/m/TileContentRenderer.js +3 -3
- package/src/sap/m/TileRenderer.js +1 -1
- package/src/sap/m/TimePicker.js +45 -16
- package/src/sap/m/TimePickerClock.js +5 -6
- package/src/sap/m/TimePickerClockRenderer.js +1 -1
- package/src/sap/m/TimePickerClocks.js +11 -5
- package/src/sap/m/TimePickerClocksRenderer.js +5 -3
- package/src/sap/m/TimePickerInputs.js +6 -1
- package/src/sap/m/TimePickerInputsRenderer.js +3 -1
- package/src/sap/m/TimePickerInternals.js +57 -7
- package/src/sap/m/TimePickerRenderer.js +3 -13
- package/src/sap/m/TimePickerSlider.js +2 -2
- package/src/sap/m/TimePickerSliderRenderer.js +2 -2
- package/src/sap/m/TimePickerSliders.js +7 -5
- package/src/sap/m/TimePickerSlidersRenderer.js +1 -1
- package/src/sap/m/Title.js +1 -5
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/TitleRenderer.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -2
- package/src/sap/m/TokenRenderer.js +21 -3
- package/src/sap/m/Tokenizer.js +3 -4
- package/src/sap/m/TokenizerRenderer.js +40 -6
- package/src/sap/m/Toolbar.js +5 -5
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarRenderer.js +3 -3
- 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 +6 -6
- package/src/sap/m/TreeItemBaseRenderer.js +2 -2
- package/src/sap/m/TreeRenderer.js +2 -2
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionRenderer.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/VBoxRenderer.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +14 -14
- package/src/sap/m/ViewSettingsDialogRenderer.js +1 -1
- 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/WheelSliderContainerRenderer.js +1 -1
- package/src/sap/m/WheelSliderRenderer.js +2 -2
- package/src/sap/m/Wizard.js +39 -19
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +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/delegate/ValueStateMessage.js +1 -1
- package/src/sap/m/designtime/Button.designtime.js +1 -1
- package/src/sap/m/designtime/ListBase.designtime.js +26 -0
- package/src/sap/m/designtime/StandardListItem.designtime.js +5 -1
- package/src/sap/m/library.js +324 -55
- package/src/sap/m/messagebundle.properties +327 -65
- package/src/sap/m/messagebundle_ar.properties +178 -32
- package/src/sap/m/messagebundle_bg.properties +215 -69
- package/src/sap/m/messagebundle_ca.properties +195 -49
- package/src/sap/m/messagebundle_cs.properties +198 -52
- package/src/sap/m/messagebundle_cy.properties +186 -40
- package/src/sap/m/messagebundle_da.properties +189 -43
- package/src/sap/m/messagebundle_de.properties +178 -32
- package/src/sap/m/messagebundle_el.properties +221 -75
- package/src/sap/m/messagebundle_en.properties +221 -75
- package/src/sap/m/messagebundle_en_GB.properties +221 -75
- package/src/sap/m/messagebundle_en_US_sappsd.properties +220 -74
- package/src/sap/m/messagebundle_en_US_saprigi.properties +277 -58
- package/src/sap/m/messagebundle_en_US_saptrc.properties +220 -74
- package/src/sap/m/messagebundle_es.properties +205 -59
- package/src/sap/m/messagebundle_es_MX.properties +201 -55
- package/src/sap/m/messagebundle_et.properties +177 -31
- package/src/sap/m/messagebundle_fi.properties +174 -28
- package/src/sap/m/messagebundle_fr.properties +197 -51
- package/src/sap/m/messagebundle_fr_CA.properties +183 -37
- package/src/sap/m/messagebundle_hi.properties +181 -35
- package/src/sap/m/messagebundle_hr.properties +190 -44
- package/src/sap/m/messagebundle_hu.properties +185 -39
- package/src/sap/m/messagebundle_id.properties +234 -88
- package/src/sap/m/messagebundle_it.properties +190 -44
- package/src/sap/m/messagebundle_iw.properties +188 -42
- package/src/sap/m/messagebundle_ja.properties +174 -28
- package/src/sap/m/messagebundle_kk.properties +160 -14
- package/src/sap/m/messagebundle_ko.properties +187 -41
- package/src/sap/m/messagebundle_lt.properties +166 -20
- package/src/sap/m/messagebundle_lv.properties +185 -39
- package/src/sap/m/messagebundle_ms.properties +219 -73
- package/src/sap/m/messagebundle_nl.properties +184 -38
- package/src/sap/m/messagebundle_no.properties +182 -36
- package/src/sap/m/messagebundle_pl.properties +188 -42
- package/src/sap/m/messagebundle_pt.properties +217 -71
- package/src/sap/m/messagebundle_pt_PT.properties +183 -37
- package/src/sap/m/messagebundle_ro.properties +190 -44
- package/src/sap/m/messagebundle_ru.properties +187 -41
- package/src/sap/m/messagebundle_sh.properties +178 -32
- package/src/sap/m/messagebundle_sk.properties +185 -39
- package/src/sap/m/messagebundle_sl.properties +182 -36
- package/src/sap/m/messagebundle_sv.properties +177 -31
- package/src/sap/m/messagebundle_th.properties +186 -40
- package/src/sap/m/messagebundle_tr.properties +183 -37
- package/src/sap/m/messagebundle_uk.properties +176 -30
- package/src/sap/m/messagebundle_vi.properties +179 -33
- package/src/sap/m/messagebundle_zh_CN.properties +178 -32
- package/src/sap/m/messagebundle_zh_TW.properties +185 -39
- package/src/sap/m/p13n/AbstractContainer.js +29 -22
- package/src/sap/m/p13n/AbstractContainerItem.js +7 -8
- package/src/sap/m/p13n/BasePanel.js +38 -20
- package/src/sap/m/p13n/Container.js +17 -24
- package/src/sap/m/p13n/GroupPanel.js +31 -6
- package/src/sap/m/p13n/Popup.js +22 -19
- package/src/sap/m/p13n/QueryPanel.js +60 -30
- package/src/sap/m/p13n/SelectionPanel.js +14 -11
- package/src/sap/m/p13n/SortPanel.js +30 -6
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/RouteMatchedHandler.js +1 -1
- package/src/sap/m/routing/Router.js +9 -7
- package/src/sap/m/routing/TargetHandler.js +4 -4
- package/src/sap/m/routing/Targets.js +52 -42
- package/src/sap/m/routing/async/Targets.js +3 -3
- package/src/sap/m/routing/sync/Targets.js +3 -3
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- 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 +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 +2 -2
- package/src/sap/m/table/{ActionItem.js → columnmenu/ActionItem.js} +9 -10
- package/src/sap/m/table/{ColumnMenuEntry.js → columnmenu/Entry.js} +16 -16
- package/src/sap/m/table/{Item.js → columnmenu/Item.js} +8 -8
- package/src/sap/m/table/{ItemBase.js → columnmenu/ItemBase.js} +11 -12
- package/src/sap/m/table/{ColumnMenu.js → columnmenu/Menu.js} +108 -108
- package/src/sap/m/table/columnmenu/MenuRenderer.js +81 -0
- package/src/sap/m/table/{QuickAction.js → columnmenu/QuickAction.js} +9 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +54 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +51 -0
- package/src/sap/m/table/columnmenu/QuickGroup.js +133 -0
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +47 -0
- package/src/sap/m/table/columnmenu/QuickSort.js +80 -0
- package/src/sap/m/table/columnmenu/QuickSortItem.js +117 -0
- package/src/sap/m/table/columnmenu/QuickTotal.js +142 -0
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +47 -0
- package/src/sap/m/themes/base/AbstractContainer.less +2 -3
- package/src/sap/m/themes/base/Carousel.less +5 -0
- package/src/sap/m/themes/base/CheckBox.less +0 -4
- package/src/sap/m/themes/base/ColumnListItem.less +13 -5
- package/src/sap/m/themes/base/ColumnMenu.less +5 -9
- package/src/sap/m/themes/base/ComboBoxBase.less +18 -7
- package/src/sap/m/themes/base/DateTimePicker.less +155 -4
- package/src/sap/m/themes/base/DynamicDateRange.less +11 -1
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +53 -29
- package/src/sap/m/themes/base/HeaderContainer.less +25 -0
- package/src/sap/m/themes/base/IconTabBar.less +4 -3
- package/src/sap/m/themes/base/IllustratedMessage.less +110 -0
- package/src/sap/m/themes/base/Illustration.less +58 -0
- package/src/sap/m/themes/base/Label.less +10 -3
- package/src/sap/m/themes/base/NavContainer.less +0 -9
- package/src/sap/m/themes/base/NewsContent.less +7 -0
- package/src/sap/m/themes/base/ObjectAttribute.less +4 -12
- package/src/sap/m/themes/base/ObjectStatus.less +4 -4
- package/src/sap/m/themes/base/Page.less +0 -1
- package/src/sap/m/themes/base/RadioButton.less +7 -2
- package/src/sap/m/themes/base/SegmentedButton.less +0 -16
- package/src/sap/m/themes/base/StandardListItem.less +4 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +2 -1
- package/src/sap/m/themes/base/Table.less +1 -1
- package/src/sap/m/themes/base/TileContent.less +4 -0
- package/src/sap/m/themes/base/TimePickerClock.less +4 -0
- package/src/sap/m/themes/base/TimePickerClocks.less +3 -3
- package/src/sap/m/themes/base/TimePickerInputs.less +4 -0
- package/src/sap/m/themes/base/WizardProgressNavigator.less +17 -16
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddColumn.svg +37 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddPeople.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BeforeSearch.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Connection.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +74 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ErrorScreen.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +41 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-GroupTable.svg +67 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoActivities.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoData.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoFilterResults.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoMail.svg +11 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoMail_v1.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSavedItems.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSavedItems_v1.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +53 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-PageNotFound.svg +29 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ResizeColumn.svg +41 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchEarth.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBalloon.svg +17 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +48 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCheckMark.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleConnection.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleEmptyDoc.svg +17 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleEmptyList.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleError.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleMagnifier.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleMail.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleNoSavedItems.svg +17 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.svg +21 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleReload.svg +11 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleTask.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SortColumn.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessBalloon.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessCheckMark.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +45 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoad.svg +11 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoadImage.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToUpload.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Patterns.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddColumn.svg +48 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddPeople.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +42 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BeforeSearch.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +87 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyPlanningCalendar.svg +91 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ErrorScreen.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +56 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-GroupTable.svg +76 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoActivities.svg +28 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +21 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoFilterResults.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoMail.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoMail_v1.svg +55 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoNotifications.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSavedItems.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSavedItems_v1.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +90 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-PageNotFound.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +80 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ResizeColumn.svg +52 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchEarth.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBalloon.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +44 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCheckMark.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleConnection.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleEmptyDoc.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleEmptyList.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleError.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleMagnifier.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleMail.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleNoSavedItems.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleReload.svg +14 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleTask.svg +19 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +50 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SortColumn.svg +50 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessBalloon.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessCheckMark.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +59 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoad.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoadImage.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToUpload.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddColumn.svg +37 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddPeople.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +29 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BeforeSearch.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Connection.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +29 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyPlanningCalendar.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ErrorScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +46 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +67 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoActivities.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoData.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoFilterResults.svg +25 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoMail.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoMail_v1.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSavedItems.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSavedItems_v1.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-PageNotFound.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +41 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchEarth.svg +55 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +25 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBalloon.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +44 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCheckMark.svg +5 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleConnection.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleEmptyDoc.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleEmptyList.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleError.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleMagnifier.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleMail.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleNoSavedItems.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleReload.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleTask.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SortColumn.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessBalloon.svg +19 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessCheckMark.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +29 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoad.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoadImage.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToUpload.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +31 -0
- package/src/sap/m/themes/base/library.source.less +2 -0
- package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +12 -0
- package/src/sap/m/themes/sap_hcb/ObjectHeader.less +0 -21
- package/src/sap/m/themes/sap_hcb/SegmentedButton.less +0 -19
- package/src/sap/m/upload/UploadSet.js +165 -37
- package/src/sap/m/upload/UploadSetItem.js +17 -5
- package/src/sap/m/upload/UploadSetRenderer.js +1 -1
- package/src/sap/m/upload/Uploader.js +25 -3
- package/src/sap/m/table/ColumnMenuRenderer.js +0 -82
- package/src/sap/m/table/QuickActionBase.js +0 -53
|
@@ -0,0 +1,392 @@
|
|
|
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
|
+
sap.ui.define([
|
|
7
|
+
"sap/base/Log",
|
|
8
|
+
"./library",
|
|
9
|
+
'sap/ui/core/Core',
|
|
10
|
+
"sap/ui/thirdparty/jquery"
|
|
11
|
+
],
|
|
12
|
+
function(Log, mLibrary, Core, jQuery) {
|
|
13
|
+
"use strict";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* STATIC MEMBERS
|
|
17
|
+
*/
|
|
18
|
+
var SAP_ILLUSTRATION_POOL_ID = 'sap-ui-illustration-pool',
|
|
19
|
+
SAP_ILLUSTRATION_PATTERNS_NAME = '-Patterns',
|
|
20
|
+
SAP_ILLUSTRATION_SET_NAME = 'sapIllus',
|
|
21
|
+
SAP_ILLUSTRATION_SET_PATH = sap.ui.require.toUrl("sap/m/themes/base/illustrations/"),
|
|
22
|
+
SAP_ILLUSTRATION_SET_SYMBOLS = Object.keys(mLibrary.IllustratedMessageType);
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* A map of registered sets
|
|
26
|
+
* key: set name
|
|
27
|
+
* value: configuration object containing
|
|
28
|
+
* key: sPath
|
|
29
|
+
* value: string path of the illustration set
|
|
30
|
+
* key: aSymbols
|
|
31
|
+
* value: array of the symbols names which the illustration set supports
|
|
32
|
+
* key: bIsPending
|
|
33
|
+
* value: boolean of whether or not the Illustration Set is loading
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
var oSetRegistry = Object.create(null);
|
|
37
|
+
|
|
38
|
+
oSetRegistry[SAP_ILLUSTRATION_SET_NAME] = {
|
|
39
|
+
sPath: SAP_ILLUSTRATION_SET_PATH,
|
|
40
|
+
aSymbols: SAP_ILLUSTRATION_SET_SYMBOLS,
|
|
41
|
+
bIsPending: false
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var aSymbolsInDOM = [], // Array with IDs of the symbols which are already in the DOM
|
|
45
|
+
oAssetRegistry = Object.create(null), // Object with IDs of the assets which are loaded or being loaded
|
|
46
|
+
oLoadedSymbols = Object.create(null), // Object which stores the loaded HTML raw data for a given asset for future reuse (might not be in the DOM yet)
|
|
47
|
+
oRequiredAssets = Object.create(null); // Object which stores the last required asset ID for a given instance
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* <code>IllustrationPool</code> loads the illustration assets (SVGs) via XMLHttpRequest requests.
|
|
51
|
+
*
|
|
52
|
+
* The successfully loaded data is kept in the DOM (div with ID <code>sap-illustration-pool</code>)
|
|
53
|
+
* in the <code>sap-ui-static</code> DOM element.
|
|
54
|
+
*
|
|
55
|
+
* To load a given asset, register its illustration set through the
|
|
56
|
+
* {@link sap.m.IllustrationPool.registerIllustrationSet registerIllustrationSet} API of <code>IllustrationPool</code>.
|
|
57
|
+
* The exception being the <code>sapIllus</code>, which is the default illustration set
|
|
58
|
+
* that is registered by default.
|
|
59
|
+
*
|
|
60
|
+
* The default behavior of <code>IllustrationPool</code> is to load/require an asset only
|
|
61
|
+
* when it's needed by using the {@link sap.m.IllustrationPool.loadAsset} API.
|
|
62
|
+
* When registering the new illustration set, you are given the option to load all of its assets.
|
|
63
|
+
*
|
|
64
|
+
* If some of the assets are not loaded initially, you can load the rest of them on
|
|
65
|
+
* a later state with the {@link sap.m.IllustrationPool.loadRestOfTheAssets} API.
|
|
66
|
+
*
|
|
67
|
+
* @namespace
|
|
68
|
+
* @since 1.98
|
|
69
|
+
* @public
|
|
70
|
+
* @alias sap.m.IllustrationPool
|
|
71
|
+
*/
|
|
72
|
+
var IllustrationPool = {};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* PUBLIC METHODS
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Loads an SVG asset depending on the input asset ID.
|
|
80
|
+
*
|
|
81
|
+
* @param {string} sAssetId The string ID of the asset being loaded
|
|
82
|
+
* @param {string} sInstanceId the ID of the Illustration instance which is requiring the asset
|
|
83
|
+
* @static
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
IllustrationPool.loadAsset = function (sAssetId, sInstanceId) {
|
|
87
|
+
var sSet;
|
|
88
|
+
|
|
89
|
+
if (sAssetId === "") {
|
|
90
|
+
Log.error("ID of the asset can not be blank/empty.");
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// if the the asset is required by an instance - cache its ID
|
|
95
|
+
if (sInstanceId) {
|
|
96
|
+
oRequiredAssets[sInstanceId] = sAssetId;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (oAssetRegistry[sAssetId]) {
|
|
100
|
+
Log.info("The asset with ID '" + sAssetId + "' is either loaded or being loaded.");
|
|
101
|
+
// if the the asset is required by an instance and it's loaded - update the DOM pool
|
|
102
|
+
if (sInstanceId && oLoadedSymbols[sAssetId]) {
|
|
103
|
+
IllustrationPool._updateDOMPool();
|
|
104
|
+
}
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
sSet = sAssetId.split("-")[0];
|
|
109
|
+
|
|
110
|
+
if (!oSetRegistry[sSet]) {
|
|
111
|
+
Log.error("The illustration set '" + sSet + "' is not registered. Please register it before requiring one of its assets.");
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
oAssetRegistry[sAssetId] = true;
|
|
116
|
+
|
|
117
|
+
IllustrationPool._requireSVG(sSet, sAssetId, sInstanceId);
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Loads the rest of the SVG assets for a given illustration set.
|
|
122
|
+
*
|
|
123
|
+
* @param {string} sIllustrationSet The illustration set, the rest of the assets should be loaded for
|
|
124
|
+
* @static
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
IllustrationPool.loadRestOfTheAssets = function(sIllustrationSet) {
|
|
128
|
+
var aSymbols;
|
|
129
|
+
|
|
130
|
+
if (!oSetRegistry[sIllustrationSet]) {
|
|
131
|
+
throw new Error("The illustration set '" + sIllustrationSet + "' is not registered. Please register it before requiring rest of its assets.");
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
aSymbols = oSetRegistry[sIllustrationSet].aSymbols;
|
|
135
|
+
|
|
136
|
+
if (Array.isArray(aSymbols)) {
|
|
137
|
+
aSymbols.forEach(function(sSymbol) {
|
|
138
|
+
IllustrationPool.loadAsset(sIllustrationSet + "-Spot-" + sSymbol);
|
|
139
|
+
IllustrationPool.loadAsset(sIllustrationSet + "-Dialog-" + sSymbol);
|
|
140
|
+
IllustrationPool.loadAsset(sIllustrationSet + "-Scene-" + sSymbol);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Registers an illustration set, which is needed before loading any of its assets.
|
|
147
|
+
*
|
|
148
|
+
* @param {object} oConfig object containing the name and the path of the Illustration Set
|
|
149
|
+
* @param {string} oConfig.setFamily Name of the Illustration Set
|
|
150
|
+
* @param {string} oConfig.setURI URL Path of the Illustration Set
|
|
151
|
+
* @param {boolean} bLoadAllResources whether or not all of the assets for the Illustration Set
|
|
152
|
+
* should be loaded once the metadata is loaded
|
|
153
|
+
* @static
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
IllustrationPool.registerIllustrationSet = function(oConfig, bLoadAllResources) {
|
|
157
|
+
var sName = oConfig.setFamily,
|
|
158
|
+
sPath = oConfig.setURI;
|
|
159
|
+
|
|
160
|
+
if (oSetRegistry[sName]) {
|
|
161
|
+
if (oSetRegistry[sName].bIsPending) {
|
|
162
|
+
Log.warning("Illustration Set is currently being loaded.");
|
|
163
|
+
} else {
|
|
164
|
+
Log.warning("Illustration Set already registered.");
|
|
165
|
+
}
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// add trailing slash if necessary for more convenience
|
|
170
|
+
if (sPath.substr(sPath.length - 1) !== "/") {
|
|
171
|
+
sPath += "/";
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
oSetRegistry[sName] = Object.create(null);
|
|
175
|
+
oSetRegistry[sName].sPath = sPath;
|
|
176
|
+
oSetRegistry[sName].bIsPending = true;
|
|
177
|
+
|
|
178
|
+
IllustrationPool._loadMetadata(sName, sPath, bLoadAllResources);
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* PRIVATE METHODS
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Adds an asset to the Illustration Pool's DOM element inner HTML.
|
|
187
|
+
*
|
|
188
|
+
* @param {string} sHTML string containing the raw HTML of an asset
|
|
189
|
+
* @param {string} sId string containing the ID of an asset
|
|
190
|
+
* @static
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
IllustrationPool._addAssetToDOMPool = function(sHTML, sId) {
|
|
194
|
+
IllustrationPool._getDOMPool().insertAdjacentHTML("beforeend", sHTML);
|
|
195
|
+
if (sId) {
|
|
196
|
+
aSymbolsInDOM.push(sId);
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Returns the DOM for the Illustration Pool.
|
|
202
|
+
* It also loads the mandatory patterns for the default Illustration Set once the DOM is created.
|
|
203
|
+
*
|
|
204
|
+
* @return {Object} DOM reference of the Illustration Pool
|
|
205
|
+
* @static
|
|
206
|
+
* @private
|
|
207
|
+
*/
|
|
208
|
+
IllustrationPool._getDOMPool = function() {
|
|
209
|
+
var oDOMPool = document.getElementById(SAP_ILLUSTRATION_POOL_ID);
|
|
210
|
+
|
|
211
|
+
if (oDOMPool === null) {
|
|
212
|
+
oDOMPool = document.createElement("div");
|
|
213
|
+
oDOMPool.id = SAP_ILLUSTRATION_POOL_ID;
|
|
214
|
+
|
|
215
|
+
Core.getStaticAreaRef().appendChild(oDOMPool);
|
|
216
|
+
|
|
217
|
+
// Load the patterns for the default illustration set after the DOM Pool is created
|
|
218
|
+
IllustrationPool.loadAsset(SAP_ILLUSTRATION_SET_NAME + SAP_ILLUSTRATION_PATTERNS_NAME);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
return oDOMPool;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Loads the metadata of an Illustration Set.
|
|
226
|
+
*
|
|
227
|
+
* @param {string} sName the name of the Illustration Set for which the metadata is being loaded
|
|
228
|
+
* @param {string} sPath the path of the Illustration Set for which the metadata is being loaded
|
|
229
|
+
* @param {boolean} bLoadAllResources whether or not all of the assets for the Illustration Set should be loaded
|
|
230
|
+
* @return {Promise} Promise which resolves when the metadata is loaded
|
|
231
|
+
* @static
|
|
232
|
+
* @private
|
|
233
|
+
*/
|
|
234
|
+
IllustrationPool._loadMetadata = function(sName, sPath, bLoadAllResources) {
|
|
235
|
+
var sMetadataPath = sPath + "metadata.json";
|
|
236
|
+
|
|
237
|
+
return new Promise(function (fnResolve) {
|
|
238
|
+
jQuery.ajax(sMetadataPath, {
|
|
239
|
+
type: "GET",
|
|
240
|
+
dataType: "json",
|
|
241
|
+
success: function (oMetadataJSON) {
|
|
242
|
+
Log.info("Metadata for illustration set (" + sName + ") successfully loaded");
|
|
243
|
+
IllustrationPool._metadataLoaded(sName, oMetadataJSON, bLoadAllResources);
|
|
244
|
+
fnResolve(oMetadataJSON); // passing the json in the resolve for testing purposes
|
|
245
|
+
},
|
|
246
|
+
error: function (jqXHR, sStatus) {
|
|
247
|
+
if (sStatus !== "abort") { // log an error if it isn't aborted
|
|
248
|
+
Log.error("Metadata from: " + sMetadataPath + " file path could not be loaded");
|
|
249
|
+
delete oSetRegistry[sName];
|
|
250
|
+
fnResolve();
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Hook which is triggered when the metadata for an Illustration Set is loaded.
|
|
259
|
+
*
|
|
260
|
+
* @param {string} sName the name of the Illustration Set for which the metadata is loaded
|
|
261
|
+
* @param {object} oMetadataJSON the loaded metadata object
|
|
262
|
+
* @param {boolean} bLoadAllResources whether or not all of the assets for the Illustration Set should be loaded
|
|
263
|
+
* @static
|
|
264
|
+
* @private
|
|
265
|
+
*/
|
|
266
|
+
IllustrationPool._metadataLoaded = function(sName, oMetadataJSON, bLoadAllResources) {
|
|
267
|
+
var aSymbols = oMetadataJSON.symbols,
|
|
268
|
+
bHasPatterns = oMetadataJSON.requireCustomPatterns;
|
|
269
|
+
|
|
270
|
+
oSetRegistry[sName].aSymbols = aSymbols;
|
|
271
|
+
|
|
272
|
+
// Load the patterns (if available) as soon as possible, since they can be used in any of the symbols.
|
|
273
|
+
if (bHasPatterns) {
|
|
274
|
+
IllustrationPool.loadAsset(sName + SAP_ILLUSTRATION_PATTERNS_NAME);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if (bLoadAllResources) {
|
|
278
|
+
IllustrationPool.loadRestOfTheAssets(sName);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
oSetRegistry[sName].bIsPending = false;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Removes an asset from the Illustration Pool's DOM element inner HTML.
|
|
286
|
+
*
|
|
287
|
+
* @param {string} sId string containing the ID of the asset which should be removed from the Illustration Pool's DOM
|
|
288
|
+
* @static
|
|
289
|
+
* @private
|
|
290
|
+
*/
|
|
291
|
+
IllustrationPool._removeAssetFromDOMPool = function(sId) {
|
|
292
|
+
var oDOMPool = document.getElementById(SAP_ILLUSTRATION_POOL_ID),
|
|
293
|
+
oAssetDOM;
|
|
294
|
+
|
|
295
|
+
if (oDOMPool !== null) {
|
|
296
|
+
oAssetDOM = document.getElementById(sId);
|
|
297
|
+
if (oAssetDOM !== null) {
|
|
298
|
+
oDOMPool.removeChild(oAssetDOM);
|
|
299
|
+
aSymbolsInDOM.splice(aSymbolsInDOM.indexOf(sId), 1);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Loads an SVG asset.
|
|
306
|
+
*
|
|
307
|
+
* @param {string} sSet the name of the Illustration Set for which the asset is being loaded
|
|
308
|
+
* @param {string} sId the ID of the asset being loaded
|
|
309
|
+
* @param {string} sInstanceId the ID of the Illustration instance which is requiring the asset
|
|
310
|
+
* @return {Promise} Promise which resolves when the SVG asset is loaded
|
|
311
|
+
* @static
|
|
312
|
+
* @private
|
|
313
|
+
*/
|
|
314
|
+
IllustrationPool._requireSVG = function(sSet, sId, sInstanceId) {
|
|
315
|
+
return new Promise(function (fnResolve) {
|
|
316
|
+
jQuery.ajax(oSetRegistry[sSet].sPath + sId + ".svg", {
|
|
317
|
+
type: "GET",
|
|
318
|
+
dataType: "html",
|
|
319
|
+
success: function (sHTML) {
|
|
320
|
+
// if asset is a symbol, and not a pattern
|
|
321
|
+
if (sId.indexOf(SAP_ILLUSTRATION_PATTERNS_NAME) === -1) {
|
|
322
|
+
// cache the loaded symbol
|
|
323
|
+
oLoadedSymbols[sId] = sHTML;
|
|
324
|
+
|
|
325
|
+
// update the DOM if the asset is required by an instance
|
|
326
|
+
if (sInstanceId) {
|
|
327
|
+
IllustrationPool._updateDOMPool();
|
|
328
|
+
}
|
|
329
|
+
} else {
|
|
330
|
+
// add the pattern immediately
|
|
331
|
+
IllustrationPool._addAssetToDOMPool(sHTML);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
fnResolve(sHTML);
|
|
335
|
+
},
|
|
336
|
+
error: function (jqXHR, sStatus) {
|
|
337
|
+
if (sStatus !== "abort") { // log an error if it isn't aborted
|
|
338
|
+
delete oAssetRegistry[sId];
|
|
339
|
+
Log.error(sId + " asset could not be loaded");
|
|
340
|
+
fnResolve();
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Updates the IllustrationPool's DOM node. Adds the currently required assets (if they are
|
|
349
|
+
* not already there) and removes the ones which are not needed.
|
|
350
|
+
*
|
|
351
|
+
* @static
|
|
352
|
+
* @private
|
|
353
|
+
*/
|
|
354
|
+
IllustrationPool._updateDOMPool = function() {
|
|
355
|
+
var oAssetsToKeep = Object.create(null),
|
|
356
|
+
oAssetsToAdd = Object.create(null),
|
|
357
|
+
sCurrAsset,
|
|
358
|
+
iCurrIndexInDOM;
|
|
359
|
+
|
|
360
|
+
for (var sCurrInstance in oRequiredAssets) {
|
|
361
|
+
sCurrAsset = oRequiredAssets[sCurrInstance];
|
|
362
|
+
iCurrIndexInDOM = aSymbolsInDOM.indexOf(sCurrAsset);
|
|
363
|
+
// if the asset is not already in the DOM, remember its ID and add it later, if it's loaded
|
|
364
|
+
if (iCurrIndexInDOM === -1) {
|
|
365
|
+
oAssetsToAdd[sCurrAsset] = true;
|
|
366
|
+
} else {
|
|
367
|
+
// if the asset is already in the DOM, remember its ID to help remove the not needed ones later
|
|
368
|
+
oAssetsToKeep[sCurrAsset] = true;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// remove the symbols which are not used and are not required
|
|
373
|
+
for (var i = 0; i < aSymbolsInDOM.length; i++) {
|
|
374
|
+
sCurrAsset = aSymbolsInDOM[i];
|
|
375
|
+
if (!oAssetsToKeep[sCurrAsset]) {
|
|
376
|
+
IllustrationPool._removeAssetFromDOMPool(sCurrAsset);
|
|
377
|
+
i--;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
for (var sId in oAssetsToAdd) {
|
|
382
|
+
sCurrAsset = oLoadedSymbols[sId];
|
|
383
|
+
// add the missing required asset to the DOM only if it's loaded
|
|
384
|
+
if (sCurrAsset) {
|
|
385
|
+
IllustrationPool._addAssetToDOMPool(sCurrAsset, sId);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
return IllustrationPool;
|
|
391
|
+
|
|
392
|
+
}, /* bExport= */ true);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define(["sap/ui/Device"], function (Device) {
|
|
8
|
+
"use strict";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Illustration renderer.
|
|
12
|
+
* @namespace
|
|
13
|
+
*/
|
|
14
|
+
var IllustrationRenderer = {
|
|
15
|
+
apiVersion: 2
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
20
|
+
*
|
|
21
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer
|
|
22
|
+
* @param {sap.m.Illustration} oIllustration An object representation of the control that should be rendered
|
|
23
|
+
*/
|
|
24
|
+
IllustrationRenderer.render = function (oRm, oIllustration) {
|
|
25
|
+
var sSymbolId = oIllustration._sSymbolId;
|
|
26
|
+
|
|
27
|
+
oRm.openStart("svg", oIllustration);
|
|
28
|
+
oRm.class("sapMIllustration");
|
|
29
|
+
oRm.openEnd();
|
|
30
|
+
|
|
31
|
+
oRm.openStart("use");
|
|
32
|
+
oRm.attr('href', "#" + sSymbolId);
|
|
33
|
+
oRm.attr('width', "100%");
|
|
34
|
+
oRm.attr('height', "100%");
|
|
35
|
+
oRm.openEnd();
|
|
36
|
+
oRm.close("use");
|
|
37
|
+
|
|
38
|
+
oRm.close("svg");
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
return IllustrationRenderer;
|
|
42
|
+
|
|
43
|
+
}, /* bExport= */ true);
|
package/src/sap/m/Image.js
CHANGED
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.99.1
|
|
37
37
|
* @since 1.38
|
|
38
38
|
*
|
|
39
39
|
* @public
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
/**
|
|
159
159
|
* Returns the alternative text
|
|
160
160
|
*
|
|
161
|
-
* @returns {
|
|
161
|
+
* @returns {string} The alternative text
|
|
162
162
|
*/
|
|
163
163
|
ImageContent.prototype.getAltText = function () {
|
|
164
164
|
var oContent = this.getAggregation("_content");
|
|
@@ -29,7 +29,7 @@ sap.ui.define(['sap/m/library', "sap/base/security/encodeCSS", "sap/ui/core/libr
|
|
|
29
29
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
30
30
|
*
|
|
31
31
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer
|
|
32
|
-
* @param {sap.
|
|
32
|
+
* @param {sap.m.Image} oImage The control that should be rendered
|
|
33
33
|
*/
|
|
34
34
|
ImageRenderer.render = function(oRm, oImage) {
|
|
35
35
|
var sMode = oImage.getMode(),
|
package/src/sap/m/Input.js
CHANGED
|
@@ -159,7 +159,7 @@ function(
|
|
|
159
159
|
*
|
|
160
160
|
* @extends sap.m.InputBase
|
|
161
161
|
* @author SAP SE
|
|
162
|
-
* @version 1.
|
|
162
|
+
* @version 1.99.1
|
|
163
163
|
*
|
|
164
164
|
* @constructor
|
|
165
165
|
* @public
|
|
@@ -218,7 +218,8 @@ function(
|
|
|
218
218
|
showSuggestion : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
|
-
* If set to true, direct text input is disabled and the control will trigger the event "valueHelpRequest" for all user interactions. The properties "showValueHelp", "editable", and "enabled" must be set to true, otherwise the property will have no effect
|
|
221
|
+
* If set to true, direct text input is disabled and the control will trigger the event "valueHelpRequest" for all user interactions. The properties "showValueHelp", "editable", and "enabled" must be set to true, otherwise the property will have no effect.
|
|
222
|
+
* In this scenario, the <code>showItems</code> API will not work.
|
|
222
223
|
* @since 1.21.0
|
|
223
224
|
*/
|
|
224
225
|
valueHelpOnly : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
@@ -1207,18 +1208,29 @@ function(
|
|
|
1207
1208
|
this._fireValueHelpRequestForValueHelpOnly();
|
|
1208
1209
|
}
|
|
1209
1210
|
|
|
1210
|
-
if (this.
|
|
1211
|
-
&& this.getEditable()
|
|
1212
|
-
&& this.getEnabled()
|
|
1213
|
-
&& this.getShowSuggestion()
|
|
1214
|
-
&& (!this._bClearButtonPressed)
|
|
1215
|
-
&& oEvent.target.id !== this.getId() + "-vhi") {
|
|
1211
|
+
if (this.shouldSuggetionsPopoverOpenOnMobile(oEvent)) {
|
|
1216
1212
|
this._openSuggestionsPopover();
|
|
1217
1213
|
}
|
|
1218
1214
|
|
|
1219
1215
|
this._bClearButtonPressed = false;
|
|
1220
1216
|
};
|
|
1221
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* A helper function calculating if the SuggestionsPopover should be opened on mobile.
|
|
1220
|
+
*
|
|
1221
|
+
* @protected
|
|
1222
|
+
* @param {jQuery.Event} oEvent Ontap event.
|
|
1223
|
+
* @returns {boolean} If the popover should be openened.
|
|
1224
|
+
*/
|
|
1225
|
+
Input.prototype.shouldSuggetionsPopoverOpenOnMobile = function(oEvent) {
|
|
1226
|
+
return this.isMobileDevice()
|
|
1227
|
+
&& this.getEditable()
|
|
1228
|
+
&& this.getEnabled()
|
|
1229
|
+
&& this.getShowSuggestion()
|
|
1230
|
+
&& (!this._bClearButtonPressed)
|
|
1231
|
+
&& oEvent.target.id !== this.getId() + "-vhi";
|
|
1232
|
+
};
|
|
1233
|
+
|
|
1222
1234
|
/**
|
|
1223
1235
|
* Sets a custom filter function for suggestions. The default is to check whether the first item text begins with the typed value. For one and two-value suggestions this callback function will operate on sap.ui.core.Item types, for tabular suggestions the function will operate on sap.m.ColumnListItem types.
|
|
1224
1236
|
*
|
|
@@ -1293,7 +1305,6 @@ function(
|
|
|
1293
1305
|
* If no custom filter is set or default filtering is forced, this function will apply the default filter to the column item.
|
|
1294
1306
|
*
|
|
1295
1307
|
* @private
|
|
1296
|
-
* @param {sap.m.ColumnListItem} oColumnListItem The sap.m.ColumnListItem that is selected
|
|
1297
1308
|
* @param {boolean} bForceDefaultFiltering Whether or not to apply the default filter even if custom one is set
|
|
1298
1309
|
*
|
|
1299
1310
|
* @returns {function} The row filtering function(s) to execute on the selected row item.
|
|
@@ -1883,7 +1894,7 @@ function(
|
|
|
1883
1894
|
*
|
|
1884
1895
|
* Adds the aria-desribedby text with the number of available suggestions.
|
|
1885
1896
|
*
|
|
1886
|
-
* @param {
|
|
1897
|
+
* @param {int} iNumItems
|
|
1887
1898
|
* @private
|
|
1888
1899
|
*/
|
|
1889
1900
|
Input.prototype._applySuggestionAcc = function(iNumItems) {
|
|
@@ -1912,6 +1923,8 @@ function(
|
|
|
1912
1923
|
|
|
1913
1924
|
/**
|
|
1914
1925
|
* Helper function that refreshes list all items.
|
|
1926
|
+
*
|
|
1927
|
+
* @returns {null|undefined} null or undefined
|
|
1915
1928
|
*/
|
|
1916
1929
|
Input.prototype._refreshListItems = function () {
|
|
1917
1930
|
var bShowSuggestion = this.getShowSuggestion(),
|
|
@@ -1938,7 +1951,7 @@ function(
|
|
|
1938
1951
|
oFilterResults = this._getFilteredSuggestionItems(sTypedChars);
|
|
1939
1952
|
iSuggestionsLength = oFilterResults.items.length;
|
|
1940
1953
|
|
|
1941
|
-
if (iSuggestionsLength > 0) {
|
|
1954
|
+
if (iSuggestionsLength > 0 && !this.getValueHelpOnly()) {
|
|
1942
1955
|
this._openSuggestionPopup(this.getValue().length >= this.getStartSuggestion());
|
|
1943
1956
|
} else {
|
|
1944
1957
|
this._hideSuggestionPopup();
|
|
@@ -2978,6 +2991,7 @@ function(
|
|
|
2978
2991
|
|
|
2979
2992
|
/**
|
|
2980
2993
|
* Opens the <code>SuggestionsPopover</code> with the available items.
|
|
2994
|
+
* <b>Note:</b> When <code>valueHelpOnly</code> property is set to true, the <code>SuggestionsPopover</code> will not open.
|
|
2981
2995
|
*
|
|
2982
2996
|
* @param {function} fnFilter Function to filter the items shown in the SuggestionsPopover
|
|
2983
2997
|
* @returns {void}
|
|
@@ -2991,7 +3005,7 @@ function(
|
|
|
2991
3005
|
fnFilterStore = this._getFilterFunction();
|
|
2992
3006
|
|
|
2993
3007
|
// in case of a non-editable or disabled, the popup cannot be opened
|
|
2994
|
-
if (!this.getEnabled() || !this.getEditable()) {
|
|
3008
|
+
if (!this.getEnabled() || !this.getEditable() || this.getValueHelpOnly()) {
|
|
2995
3009
|
return;
|
|
2996
3010
|
}
|
|
2997
3011
|
|
|
@@ -3120,7 +3134,7 @@ function(
|
|
|
3120
3134
|
* Gets filtered items.
|
|
3121
3135
|
* Table/List item agnostic.
|
|
3122
3136
|
*
|
|
3123
|
-
* @param {
|
|
3137
|
+
* @param {string} sValue The value, to be used as a filter
|
|
3124
3138
|
* @returns {Object} A filtering result object, containing the matching items and list groups
|
|
3125
3139
|
* @private
|
|
3126
3140
|
*/
|
|
@@ -3154,7 +3168,7 @@ function(
|
|
|
3154
3168
|
*
|
|
3155
3169
|
* @private
|
|
3156
3170
|
* @param {Array} aTabularRows Array of table rows
|
|
3157
|
-
* @param {
|
|
3171
|
+
* @param {string} sValue The value, to be used as a filter
|
|
3158
3172
|
* @returns {Object} A filtering result object, containing the matching items and list groups
|
|
3159
3173
|
*/
|
|
3160
3174
|
Input.prototype.filterTabularItems = function (aTabularRows, sValue) {
|
package/src/sap/m/InputBase.js
CHANGED
|
@@ -64,7 +64,7 @@ function(
|
|
|
64
64
|
* @implements sap.ui.core.IFormContent
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.99.1
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
@@ -749,9 +749,9 @@ function(
|
|
|
749
749
|
return this.$("inner").getSelectedText();
|
|
750
750
|
};
|
|
751
751
|
|
|
752
|
-
|
|
753
|
-
*
|
|
754
|
-
* @
|
|
752
|
+
/*
|
|
753
|
+
* Override setProperty function to know value property changes via API
|
|
754
|
+
* @override
|
|
755
755
|
*/
|
|
756
756
|
InputBase.prototype.setProperty = function(sPropertyName, oValue, bSuppressInvalidate) {
|
|
757
757
|
if (sPropertyName == "value") {
|
|
@@ -843,11 +843,10 @@ function(
|
|
|
843
843
|
};
|
|
844
844
|
|
|
845
845
|
/**
|
|
846
|
-
* If there is <code>sap.m.FormattedText</code>
|
|
846
|
+
* If there is <code>sap.m.FormattedText</code> aggregation for value state message
|
|
847
847
|
* return the links in it, if any.
|
|
848
848
|
*
|
|
849
|
-
* @
|
|
850
|
-
* @returns {array} Links in a value state message containing <code>sap.m.FormattedText</code>
|
|
849
|
+
* @returns {sap.m.Link[]} Links in a value state message containing <code>sap.m.FormattedText</code>
|
|
851
850
|
* @private
|
|
852
851
|
*/
|
|
853
852
|
InputBase.prototype._aValueStateLinks = function() {
|
|
@@ -875,7 +874,6 @@ function(
|
|
|
875
874
|
* If ValueStateText is sap.m.FormattedText containing
|
|
876
875
|
* link(s) - close ValueStateMessage after press on <code>sap.m.Link</code>
|
|
877
876
|
*
|
|
878
|
-
* @param {jQuery.Event} oEvent The event object.
|
|
879
877
|
* @private
|
|
880
878
|
*/
|
|
881
879
|
InputBase.prototype._attachValueStateLinkPress = function() {
|