@openui5/sap.m 1.101.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +2 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +4 -4
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +12 -22
- package/src/sap/m/BarInPageEnabler.js +1 -1
- package/src/sap/m/Breadcrumbs.js +29 -4
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +4 -4
- package/src/sap/m/Carousel.js +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +13 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +10 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +6 -2
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +22 -2
- package/src/sap/m/ComboBoxBase.js +7 -7
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +25 -7
- package/src/sap/m/DateRangeSelection.js +5 -5
- package/src/sap/m/DateTimeField.js +22 -10
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +22 -10
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +4 -11
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +72 -18
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +105 -26
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +36 -28
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +2 -2
- package/src/sap/m/FormattedText.js +10 -10
- package/src/sap/m/GenericTag.js +5 -5
- package/src/sap/m/GenericTile.js +98 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -1
- package/src/sap/m/GenericTileRenderer.js +98 -62
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +171 -95
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +50 -65
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +4 -4
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +8 -2
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +2 -14
- package/src/sap/m/InputBase.js +16 -9
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InstanceManager.js +14 -19
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +17 -16
- package/src/sap/m/ListItemBase.js +5 -4
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +10 -0
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +2 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +3 -3
- package/src/sap/m/MessageBox.js +1020 -908
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +15 -10
- package/src/sap/m/NavContainer.js +4 -4
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +175 -79
- package/src/sap/m/NotificationListGroup.js +1 -2
- package/src/sap/m/NotificationListGroupRenderer.js +4 -16
- package/src/sap/m/NotificationListItem.js +5 -16
- package/src/sap/m/NotificationListItemRenderer.js +0 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +14 -1
- package/src/sap/m/ObjectAttributeRenderer.js +5 -4
- package/src/sap/m/ObjectHeader.js +4 -4
- package/src/sap/m/ObjectHeaderRenderer.js +11 -11
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +7 -4
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +51 -12
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +32 -35
- package/src/sap/m/P13nDialog.js +3 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +4 -4
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +2 -2
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -3
- package/src/sap/m/PopoverRenderer.js +2 -2
- package/src/sap/m/ProgressIndicator.js +15 -29
- package/src/sap/m/ProgressIndicatorRenderer.js +7 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +2 -2
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +2 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +2 -2
- package/src/sap/m/RangeSlider.js +82 -59
- package/src/sap/m/RangeSliderRenderer.js +34 -2
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +7 -6
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +5 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +31 -8
- package/src/sap/m/SelectDialog.js +14 -18
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +8 -8
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectRenderer.js +37 -13
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +5 -6
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +5 -5
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +14 -5
- package/src/sap/m/SliderRenderer.js +27 -2
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +3 -3
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +3 -11
- package/src/sap/m/StandardDynamicDateOption.js +12 -10
- package/src/sap/m/StandardListItem.js +3 -3
- package/src/sap/m/StandardListItemRenderer.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +3 -2
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +6 -4
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +7 -1
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +2 -2
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableRenderer.js +27 -0
- package/src/sap/m/TableSelectDialog.js +13 -9
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +4 -3
- package/src/sap/m/TextRenderer.js +2 -0
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +6 -6
- package/src/sap/m/TileContent.js +26 -14
- package/src/sap/m/TileContentRenderer.js +16 -7
- package/src/sap/m/TimePicker.js +82 -20
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +1 -0
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +2 -2
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +14 -3
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +6 -2
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +5 -5
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2492 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +4 -4
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -2
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
- package/src/sap/m/designtime/messagebundle_de.properties +2 -2
- package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
- package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
- package/src/sap/m/library.js +48 -5
- package/src/sap/m/messagebundle.properties +156 -12
- package/src/sap/m/messagebundle_ar.properties +103 -7
- package/src/sap/m/messagebundle_bg.properties +103 -7
- package/src/sap/m/messagebundle_ca.properties +103 -7
- package/src/sap/m/messagebundle_cs.properties +105 -9
- package/src/sap/m/messagebundle_cy.properties +103 -7
- package/src/sap/m/messagebundle_da.properties +103 -7
- package/src/sap/m/messagebundle_de.properties +104 -8
- package/src/sap/m/messagebundle_el.properties +103 -7
- package/src/sap/m/messagebundle_en.properties +103 -7
- package/src/sap/m/messagebundle_en_GB.properties +103 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +103 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +105 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -7
- package/src/sap/m/messagebundle_es.properties +103 -7
- package/src/sap/m/messagebundle_es_MX.properties +103 -7
- package/src/sap/m/messagebundle_et.properties +103 -7
- package/src/sap/m/messagebundle_fi.properties +103 -7
- package/src/sap/m/messagebundle_fr.properties +117 -21
- package/src/sap/m/messagebundle_fr_CA.properties +103 -7
- package/src/sap/m/messagebundle_hi.properties +103 -7
- package/src/sap/m/messagebundle_hr.properties +103 -7
- package/src/sap/m/messagebundle_hu.properties +103 -7
- package/src/sap/m/messagebundle_id.properties +103 -7
- package/src/sap/m/messagebundle_it.properties +110 -14
- package/src/sap/m/messagebundle_iw.properties +103 -7
- package/src/sap/m/messagebundle_ja.properties +103 -7
- package/src/sap/m/messagebundle_kk.properties +103 -7
- package/src/sap/m/messagebundle_ko.properties +114 -18
- package/src/sap/m/messagebundle_lt.properties +103 -7
- package/src/sap/m/messagebundle_lv.properties +103 -7
- package/src/sap/m/messagebundle_ms.properties +103 -7
- package/src/sap/m/messagebundle_nl.properties +103 -7
- package/src/sap/m/messagebundle_no.properties +107 -11
- package/src/sap/m/messagebundle_pl.properties +103 -7
- package/src/sap/m/messagebundle_pt.properties +112 -16
- package/src/sap/m/messagebundle_pt_PT.properties +103 -7
- package/src/sap/m/messagebundle_ro.properties +104 -8
- package/src/sap/m/messagebundle_ru.properties +103 -7
- package/src/sap/m/messagebundle_sh.properties +104 -8
- package/src/sap/m/messagebundle_sk.properties +103 -7
- package/src/sap/m/messagebundle_sl.properties +105 -9
- package/src/sap/m/messagebundle_sv.properties +103 -7
- package/src/sap/m/messagebundle_th.properties +103 -7
- package/src/sap/m/messagebundle_tr.properties +104 -8
- package/src/sap/m/messagebundle_uk.properties +104 -8
- package/src/sap/m/messagebundle_vi.properties +103 -7
- package/src/sap/m/messagebundle_zh_CN.properties +104 -8
- package/src/sap/m/messagebundle_zh_TW.properties +107 -11
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +16 -5
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +55 -33
- package/src/sap/m/p13n/SelectionPanel.js +31 -6
- package/src/sap/m/p13n/SortPanel.js +24 -13
- package/src/sap/m/plugins/ColumnResizer.js +12 -6
- package/src/sap/m/plugins/DataStateIndicator.js +13 -4
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +2 -2
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/DatePicker.support.js +4 -3
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +3 -3
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +17 -13
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -11
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
- package/src/sap/m/table/columnmenu/Menu.js +41 -27
- package/src/sap/m/table/columnmenu/MenuRenderer.js +4 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +2 -11
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -13
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +2 -22
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -13
- package/src/sap/m/themes/base/ActionListItem.less +2 -2
- package/src/sap/m/themes/base/Breadcrumbs.less +11 -0
- package/src/sap/m/themes/base/Button.less +1 -6
- package/src/sap/m/themes/base/Carousel.less +72 -87
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/Dialog.less +6 -2
- package/src/sap/m/themes/base/GenericTag.less +5 -3
- package/src/sap/m/themes/base/GenericTile.less +412 -148
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/InputBase.less +2 -1
- package/src/sap/m/themes/base/LightBox.less +6 -16
- package/src/sap/m/themes/base/ListItemBase.less +1 -12
- package/src/sap/m/themes/base/MenuButton.less +16 -0
- package/src/sap/m/themes/base/MessageBox.less +9 -8
- package/src/sap/m/themes/base/NewsContent.less +0 -9
- package/src/sap/m/themes/base/NotificationListBase.less +9 -14
- package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
- package/src/sap/m/themes/base/NotificationListItem.less +14 -18
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +5 -0
- package/src/sap/m/themes/base/ObjectStatus.less +3 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/Select.less +1 -3
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +19 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/StandardListItem.less +6 -9
- package/src/sap/m/themes/base/Table.less +22 -21
- package/src/sap/m/themes/base/TextArea.less +5 -0
- package/src/sap/m/themes/base/TimePickerClock.less +7 -0
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/themes/base/Token.less +3 -2
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -0
- package/src/sap/m/themes/base/VariantManagement.less +97 -0
- package/src/sap/m/themes/base/Wizard.less +5 -4
- package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/upload/UploadSet.js +90 -14
- package/src/sap/m/upload/UploadSetItem.js +18 -5
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +46 -0
package/src/sap/m/GenericTile.js
CHANGED
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @extends sap.ui.core.Control
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.103.0
|
|
68
68
|
* @since 1.34.0
|
|
69
69
|
*
|
|
70
70
|
* @public
|
|
@@ -208,10 +208,16 @@ sap.ui.define([
|
|
|
208
208
|
backgroundColor: {type: "sap.ui.core.CSSColor", group: "Appearance"},
|
|
209
209
|
/**
|
|
210
210
|
* The semantic color of the value.
|
|
211
|
-
* @experimental
|
|
211
|
+
* @experimental Since 1.95
|
|
212
212
|
* @since 1.95
|
|
213
213
|
*/
|
|
214
|
-
valueColor: {type: "sap.m.ValueColor", group: "Appearance", defaultValue: "None"}
|
|
214
|
+
valueColor: {type: "sap.m.ValueColor", group: "Appearance", defaultValue: "None"},
|
|
215
|
+
/**
|
|
216
|
+
* The load state of the tileIcon.
|
|
217
|
+
* @experimental Since 1.103
|
|
218
|
+
* @since 1.103
|
|
219
|
+
*/
|
|
220
|
+
iconLoaded: {type: "boolean", group: "Misc", defaultValue: true}
|
|
215
221
|
},
|
|
216
222
|
defaultAggregation: "tileContent",
|
|
217
223
|
aggregations: {
|
|
@@ -424,13 +430,29 @@ sap.ui.define([
|
|
|
424
430
|
*/
|
|
425
431
|
GenericTile.prototype._initScopeContent = function (sTileClass) {
|
|
426
432
|
if (!this.getState || this.getState() !== LoadState.Disabled) {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
433
|
+
if (this._oMoreIcon) {
|
|
434
|
+
//It destroys the existing button when the Tile is getting rendered more than once
|
|
435
|
+
this._oMoreIcon.destroy();
|
|
436
|
+
this._oMoreIcon = null;
|
|
437
|
+
}
|
|
438
|
+
if (this.isA("sap.m.GenericTile") && this._isIconMode() && this.getFrameType() === FrameType.TwoByHalf){
|
|
439
|
+
// Acts Like an actual Button in Icon mode for TwoByHalf Tile
|
|
440
|
+
this._oMoreIcon = this._oMoreIcon || new Button({
|
|
441
|
+
id: this.getId() + "-action-more",
|
|
442
|
+
icon: "sap-icon://overflow",
|
|
443
|
+
type: "Transparent"
|
|
444
|
+
}).addStyleClass("sapMPointer").addStyleClass(sTileClass + "MoreIcon");
|
|
445
|
+
this._oMoreIcon.ontouchstart = function() {
|
|
446
|
+
this.removeFocus();
|
|
447
|
+
}.bind(this);
|
|
448
|
+
} else {
|
|
449
|
+
this._oMoreIcon = this._oMoreIcon || new Button({
|
|
450
|
+
id: this.getId() + "-action-more",
|
|
451
|
+
icon: "sap-icon://overflow",
|
|
452
|
+
type: "Unstyled"
|
|
453
|
+
}).addStyleClass("sapMPointer").addStyleClass(sTileClass + "MoreIcon");
|
|
454
|
+
this._oMoreIcon._bExcludeFromTabChain = true;
|
|
455
|
+
}
|
|
434
456
|
this._oRemoveButton = this._oRemoveButton || new Button({
|
|
435
457
|
id: this.getId() + "-action-remove",
|
|
436
458
|
icon: "sap-icon://decline",
|
|
@@ -458,6 +480,25 @@ sap.ui.define([
|
|
|
458
480
|
}
|
|
459
481
|
};
|
|
460
482
|
|
|
483
|
+
/**
|
|
484
|
+
Adding the Classes for Action More Button in IconMode
|
|
485
|
+
@private
|
|
486
|
+
*/
|
|
487
|
+
GenericTile.prototype._addClassesForButton = function() {
|
|
488
|
+
this._oMoreIcon.getDomRef().classList.add("sapMBtn");
|
|
489
|
+
this._oMoreIcon.getDomRef("inner").classList.add("sapMBtnInner");
|
|
490
|
+
this._oMoreIcon.getDomRef("inner").classList.add("sapMBtnTransparent");
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
Focus would not be visible while clicking on the tile
|
|
495
|
+
@private
|
|
496
|
+
*/
|
|
497
|
+
GenericTile.prototype.removeFocus = function() {
|
|
498
|
+
this.getDomRef().classList.add("sapMGTActionButtonPress");
|
|
499
|
+
this._oMoreIcon._activeButton();
|
|
500
|
+
};
|
|
501
|
+
|
|
461
502
|
GenericTile.prototype._isSmall = function() {
|
|
462
503
|
return this.getSizeBehavior() === TileSizeBehavior.Small || window.matchMedia("(max-width: 374px)").matches;
|
|
463
504
|
};
|
|
@@ -584,8 +625,39 @@ sap.ui.define([
|
|
|
584
625
|
this._oNavigateAction.attachPress(this._navigateEventHandler, this);
|
|
585
626
|
}
|
|
586
627
|
|
|
628
|
+
//Removes hovering and focusable properties from the action more button in non icon mode tiles
|
|
629
|
+
if (this._oMoreIcon && this._oMoreIcon.getDomRef() && !this._isIconMode()){
|
|
630
|
+
this._oMoreIcon.getDomRef().firstChild.classList.remove("sapMBtnHoverable");
|
|
631
|
+
this._oMoreIcon.getDomRef().firstChild.classList.remove("sapMFocusable");
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
//Adds the classes for the action-more buton in IconMode for TwoByHalf Tile
|
|
635
|
+
if (this._isIconMode() && this.getFrameType() === FrameType.TwoByHalf && this._oMoreIcon.getDomRef()){
|
|
636
|
+
this._addClassesForButton();
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
//Adds Extra height to the TileContent when GenericTile is in ActionMode
|
|
640
|
+
if (this.getFrameType() === FrameType.TwoByOne && this.getMode() === GenericTileMode.ActionMode && this.getState() === LoadState.Loaded) {
|
|
641
|
+
this._applyExtraHeight();
|
|
642
|
+
}
|
|
643
|
+
|
|
587
644
|
this.onDragComplete();
|
|
588
645
|
};
|
|
646
|
+
/**
|
|
647
|
+
* Increases the height of the TileContent when the header-text has one line
|
|
648
|
+
* @private
|
|
649
|
+
*/
|
|
650
|
+
GenericTile.prototype._applyExtraHeight = function(){
|
|
651
|
+
var iHeight = this.getDomRef("hdr-text").offsetHeight,
|
|
652
|
+
iLineHeight = parseInt(getComputedStyle(this.getDomRef("title")).lineHeight.slice(0,2)),
|
|
653
|
+
iHeaderLines = Math.ceil(iHeight / iLineHeight);
|
|
654
|
+
if (iHeaderLines === 1 && !this.getHeaderImage()) {
|
|
655
|
+
this.getDomRef("content").classList.add("sapMGTFtrMarginTop");
|
|
656
|
+
} else {
|
|
657
|
+
this.getDomRef("content").classList.remove("sapMGTFtrMarginTop");
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
|
|
589
661
|
GenericTile.prototype._setMaxLines = function() {
|
|
590
662
|
var sFrameType = this.getFrameType(),
|
|
591
663
|
iLines = sFrameType === FrameType.OneByOne || sFrameType === FrameType.TwoByHalf ? 1 : 2;
|
|
@@ -935,7 +1007,10 @@ sap.ui.define([
|
|
|
935
1007
|
};
|
|
936
1008
|
|
|
937
1009
|
/* --- Event Handling --- */
|
|
938
|
-
GenericTile.prototype.ontouchstart = function () {
|
|
1010
|
+
GenericTile.prototype.ontouchstart = function (event) {
|
|
1011
|
+
if (event && event.target.id.indexOf("-action-more") === -1 && this.getDomRef()) {
|
|
1012
|
+
this.getDomRef().classList.remove("sapMGTActionButtonPress"); // Sets focus on the tile when clicked other than the action-More Button in Icon mode
|
|
1013
|
+
}
|
|
939
1014
|
this.addStyleClass("sapMGTPressActive");
|
|
940
1015
|
if (this.$("hover-overlay").length > 0) {
|
|
941
1016
|
this.$("hover-overlay").addClass("sapMGTPressActive");
|
|
@@ -1232,7 +1307,7 @@ sap.ui.define([
|
|
|
1232
1307
|
var aContent = this.getTileContent();
|
|
1233
1308
|
var sAdditionalTooltip = this.getAdditionalTooltip();
|
|
1234
1309
|
|
|
1235
|
-
if (!this._isInActionScope() && (this.getMode() === GenericTileMode.ContentMode || this.getMode() === GenericTileMode.ArticleMode)) {
|
|
1310
|
+
if (!this._isInActionScope() && (this.getMode() === GenericTileMode.ContentMode || this.getMode() === GenericTileMode.ArticleMode || this.getMode() === GenericTileMode.ActionMode)) {
|
|
1236
1311
|
for (var i = 0; i < aContent.length; i++) {
|
|
1237
1312
|
if (typeof aContent[i]._getAriaAndTooltipText === "function") {
|
|
1238
1313
|
sText += (bIsFirst ? "" : "\n") + aContent[i]._getAriaAndTooltipText();
|
|
@@ -1305,7 +1380,7 @@ sap.ui.define([
|
|
|
1305
1380
|
* If the application provides a specific tooltip, the returned string is equal to the tooltip text.
|
|
1306
1381
|
* If the tooltip provided by the application is a string of only white spaces, the function returns null.
|
|
1307
1382
|
*
|
|
1308
|
-
* @returns {string} Text for tooltip or null.
|
|
1383
|
+
* @returns {string|null} Text for tooltip or null.
|
|
1309
1384
|
* @private
|
|
1310
1385
|
*/
|
|
1311
1386
|
GenericTile.prototype._getTooltipText = function () {
|
|
@@ -1608,9 +1683,16 @@ sap.ui.define([
|
|
|
1608
1683
|
*/
|
|
1609
1684
|
GenericTile.prototype._isIconMode = function () {
|
|
1610
1685
|
if (this.getMode() === GenericTileMode.IconMode
|
|
1611
|
-
&& (this.getFrameType() === FrameType.OneByOne || this.getFrameType() === FrameType.TwoByHalf)
|
|
1612
|
-
|
|
1613
|
-
|
|
1686
|
+
&& (this.getFrameType() === FrameType.OneByOne || this.getFrameType() === FrameType.TwoByHalf)){
|
|
1687
|
+
if (this.getTileIcon() && this.getBackgroundColor()) {
|
|
1688
|
+
return true;
|
|
1689
|
+
} else {
|
|
1690
|
+
if (!this.getIconLoaded()) {
|
|
1691
|
+
return true;
|
|
1692
|
+
} else {
|
|
1693
|
+
return false;
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1614
1696
|
} else {
|
|
1615
1697
|
return false;
|
|
1616
1698
|
}
|
|
@@ -68,7 +68,6 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/thirdpart
|
|
|
68
68
|
oRm.openStart("a", oControl);
|
|
69
69
|
oRm.attr("href", oControl.getUrl());
|
|
70
70
|
oRm.attr("rel", "noopener noreferrer");
|
|
71
|
-
oRm.attr("draggable", "false"); // <a> elements are draggable per default, use UI5 DnD instead
|
|
72
71
|
} else {
|
|
73
72
|
oRm.openStart("span", oControl);
|
|
74
73
|
}
|
|
@@ -90,6 +89,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/thirdpart
|
|
|
90
89
|
if (sScope === GenericTileScope.ActionMore) {
|
|
91
90
|
oRm.style("padding-right", "2.25rem");
|
|
92
91
|
}
|
|
92
|
+
if (sState !== LoadState.Disabled && sScope === GenericTileScope.ActionRemove) {
|
|
93
|
+
oRm.class("sapMGTAcionRemove");
|
|
94
|
+
}
|
|
93
95
|
oRm.class("sapMGTLineMode");
|
|
94
96
|
if (oControl.getSystemInfo() || oControl.getAppShortcut()) {
|
|
95
97
|
oRm.class("sapMGTInfoRendered");
|
|
@@ -50,7 +50,7 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
50
50
|
var isHalfFrame = frameType === frameTypes.OneByHalf || frameType === frameTypes.TwoByHalf;
|
|
51
51
|
|
|
52
52
|
// Render a link when URL is provided, not in action scope and the state is enabled
|
|
53
|
-
var bRenderLink = oControl.getUrl() && !oControl._isInActionScope() && sState !== LoadState.Disabled && !oControl._isNavigateActionEnabled() && !oControl._isActionMode();
|
|
53
|
+
var bRenderLink = oControl.getUrl() && (!oControl._isInActionScope() || oControl.getMode() === GenericTileMode.IconMode) && sState !== LoadState.Disabled && !oControl._isNavigateActionEnabled() && !oControl._isActionMode();
|
|
54
54
|
|
|
55
55
|
if (oControl._isInActionScope()) {
|
|
56
56
|
sScopeClass = encodeCSS("sapMGTScopeActions");
|
|
@@ -99,6 +99,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
99
99
|
}
|
|
100
100
|
if (oControl._isIconMode()) {
|
|
101
101
|
oRm.class("sapMGTIconMode");
|
|
102
|
+
if (this._isThemeHighContrast()) {
|
|
103
|
+
oRm.class("HighContrastTile");
|
|
104
|
+
}
|
|
102
105
|
}
|
|
103
106
|
if (!bIsArticleMode && !bIsActionMode && frameType !== frameTypes.OneByHalf && (oControl.getSystemInfo() || oControl.getAppShortcut())) {
|
|
104
107
|
oRm.class("tileWithAppInfo");
|
|
@@ -107,8 +110,13 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
107
110
|
if (oControl._isIconMode()) {
|
|
108
111
|
if (frameType === frameTypes.TwoByHalf) {
|
|
109
112
|
oRm.class("sapMGTTwoByHalf");
|
|
110
|
-
} else {
|
|
111
|
-
|
|
113
|
+
} else if (frameType === frameTypes.OneByOne) {
|
|
114
|
+
if (!this._isThemeHighContrast()) {
|
|
115
|
+
oRm.style("background-color", oControl.getBackgroundColor());
|
|
116
|
+
} else {
|
|
117
|
+
oRm.style("border-color", oControl.getBackgroundColor());
|
|
118
|
+
oRm.style("box-shadow", "0 0 0 1px" + oControl.getBackgroundColor());
|
|
119
|
+
}
|
|
112
120
|
}
|
|
113
121
|
}
|
|
114
122
|
|
|
@@ -151,46 +159,56 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
151
159
|
var iLength = aTileContent.length;
|
|
152
160
|
var isFooterPresent = false;
|
|
153
161
|
var isContentPresent = false;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
.close("div");
|
|
169
|
-
oRm.openStart("div")
|
|
170
|
-
.class("sapMGTContentShimmerPlaceholderItemTextOneByOne")
|
|
171
|
-
.class("sapMGTLoadingShimmer")
|
|
172
|
-
.openEnd()
|
|
173
|
-
.close("div");
|
|
174
|
-
} else {
|
|
175
|
-
oRm.openStart("div").class("sapMGTContentShimmerPlaceholderItemTwoByHalf");
|
|
176
|
-
oRm.class("sapMGTContentShimmerPlaceholderWithDescriptionTwoByHalf");
|
|
177
|
-
oRm.openEnd();
|
|
178
|
-
oRm.openStart("div")
|
|
179
|
-
.class("sapMGTContentShimmerPlaceholderRowsTwoByHalf")
|
|
180
|
-
.openEnd();
|
|
162
|
+
function renderLoadingShimmerIconMode(oRm, bIsLoading) {
|
|
163
|
+
if (frameType === frameTypes.OneByOne) {
|
|
164
|
+
oRm.openStart("div").class("sapMGTContentShimmerPlaceholderItemOneByOne");
|
|
165
|
+
oRm.class("sapMGTContentShimmerPlaceholderWithDescriptionOneByOne");
|
|
166
|
+
oRm.openEnd();
|
|
167
|
+
oRm.openStart("div")
|
|
168
|
+
.class("sapMGTContentShimmerPlaceholderRowsOneByOne")
|
|
169
|
+
.openEnd();
|
|
170
|
+
oRm.openStart("div")
|
|
171
|
+
.class("sapMGTContentShimmerPlaceholderIconOneByOne")
|
|
172
|
+
.class("sapMGTLoadingShimmer")
|
|
173
|
+
.openEnd()
|
|
174
|
+
.close("div");
|
|
175
|
+
if (bIsLoading){
|
|
181
176
|
oRm.openStart("div")
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
177
|
+
.class("sapMGTContentShimmerPlaceholderItemTextOneByOne")
|
|
178
|
+
.class("sapMGTLoadingShimmer")
|
|
179
|
+
.openEnd()
|
|
180
|
+
.close("div");
|
|
181
|
+
}
|
|
182
|
+
} else {
|
|
183
|
+
oRm.openStart("div").class("sapMGTContentShimmerPlaceholderItemTwoByHalf");
|
|
184
|
+
oRm.class("sapMGTContentShimmerPlaceholderWithDescriptionTwoByHalf");
|
|
185
|
+
if (!oControl.getIconLoaded() && !bIsLoading) {
|
|
186
|
+
oRm.class("sapMGTContentShimmerPlaceholderWithDescriptionTwoByHalfIconLoaded");
|
|
187
|
+
}
|
|
188
|
+
oRm.openEnd();
|
|
189
|
+
oRm.openStart("div")
|
|
190
|
+
.class("sapMGTContentShimmerPlaceholderRowsTwoByHalf")
|
|
191
|
+
.openEnd();
|
|
192
|
+
oRm.openStart("div")
|
|
193
|
+
.class("sapMGTContentShimmerPlaceholderIconTwoByHalf")
|
|
194
|
+
.class("sapMGTLoadingShimmer")
|
|
195
|
+
.openEnd()
|
|
196
|
+
.close("div");
|
|
197
|
+
if (bIsLoading){
|
|
186
198
|
oRm.openStart("div")
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
199
|
+
.class("sapMGTContentShimmerPlaceholderItemTextTwoByHalf")
|
|
200
|
+
.class("sapMGTLoadingShimmer")
|
|
201
|
+
.openEnd()
|
|
202
|
+
.close("div");
|
|
191
203
|
}
|
|
192
|
-
|
|
193
|
-
|
|
204
|
+
}
|
|
205
|
+
oRm.close("div");
|
|
206
|
+
oRm.close("div");
|
|
207
|
+
}
|
|
208
|
+
if (sState === LoadState.Loading) {
|
|
209
|
+
//Setplaceholders for IconMode.
|
|
210
|
+
if (oControl._isIconMode()) {
|
|
211
|
+
renderLoadingShimmerIconMode(oRm, true);
|
|
194
212
|
} else {
|
|
195
213
|
oRm.openStart("div").class("sapMGTContentShimmerPlaceholderItem");
|
|
196
214
|
oRm.class("sapMGTContentShimmerPlaceholderWithDescription");
|
|
@@ -217,7 +235,7 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
217
235
|
oRm.close("div");
|
|
218
236
|
}
|
|
219
237
|
} else {
|
|
220
|
-
if (this._isValueColorValid(oControl.getValueColor())) {
|
|
238
|
+
if (!bIsActionMode && this._isValueColorValid(oControl.getValueColor())) {
|
|
221
239
|
oRm.openStart("div");
|
|
222
240
|
oRm.class("sapMGTCriticalBorder");
|
|
223
241
|
oRm.class(oControl.getValueColor());
|
|
@@ -226,21 +244,31 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
226
244
|
}
|
|
227
245
|
//Set respective Class/ BackgroundColor for IconMode
|
|
228
246
|
if (oControl._isIconMode()) {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
oRm.class("sapMGTOneByOneIcon");
|
|
247
|
+
if (!oControl.getIconLoaded()) {
|
|
248
|
+
renderLoadingShimmerIconMode(oRm, false);
|
|
232
249
|
} else {
|
|
233
|
-
oRm.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
250
|
+
oRm.openStart("div");
|
|
251
|
+
if (frameType === frameTypes.OneByOne) {
|
|
252
|
+
oRm.class("sapMGTOneByOneIcon");
|
|
253
|
+
} else {
|
|
254
|
+
oRm.class("sapMGTTwoByHalfIcon");
|
|
255
|
+
if (!this._isThemeHighContrast()) {
|
|
256
|
+
oRm.style("background-color", oControl.getBackgroundColor());
|
|
257
|
+
} else {
|
|
258
|
+
oRm.class("HighContrastTile");
|
|
259
|
+
oRm.style("border-color", oControl.getBackgroundColor());
|
|
260
|
+
oRm.style("box-shadow", "0 0 0 1px" + oControl.getBackgroundColor());
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
oRm.openEnd();
|
|
264
|
+
if (oControl.getTileIcon()) {
|
|
265
|
+
var sAggregation = oControl._generateIconAggregation(oControl.getTileIcon());
|
|
266
|
+
if (sAggregation) {
|
|
267
|
+
oRm.renderControl(oControl.getAggregation(sAggregation));
|
|
268
|
+
}
|
|
241
269
|
}
|
|
270
|
+
oRm.close("div");
|
|
242
271
|
}
|
|
243
|
-
oRm.close("div");
|
|
244
272
|
}
|
|
245
273
|
|
|
246
274
|
//Wrapper div for adjusting to Info Container
|
|
@@ -254,6 +282,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
254
282
|
if (oControl._isIconMode() ){
|
|
255
283
|
if (frameType === frameTypes.OneByOne) {
|
|
256
284
|
var sClass = "sapMGTOneByOne";
|
|
285
|
+
if (!oControl.getIconLoaded()) {
|
|
286
|
+
sClass = sClass.concat(" sapMGTOneByOneIconLoaded");
|
|
287
|
+
}
|
|
257
288
|
} else if (frameType === frameTypes.TwoByHalf) {
|
|
258
289
|
var sClass = "TwoByHalf";
|
|
259
290
|
}
|
|
@@ -262,6 +293,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
262
293
|
if (sTooltipText) {
|
|
263
294
|
oRm.attr("title", sTooltipText);
|
|
264
295
|
}
|
|
296
|
+
if (bIsActionMode && oControl.getFrameType() === frameTypes.TwoByOne && sHeaderImage) {
|
|
297
|
+
oRm.class("sapMGTHdrImage");
|
|
298
|
+
}
|
|
265
299
|
oRm.openEnd();
|
|
266
300
|
|
|
267
301
|
//Render Header Image
|
|
@@ -385,13 +419,13 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
385
419
|
oRm.class("sapMGTTInfo");
|
|
386
420
|
oRm.openEnd();
|
|
387
421
|
if (oControl.getAppShortcut()) {
|
|
388
|
-
oRm.openStart("div", oControl.getId() + "-
|
|
422
|
+
oRm.openStart("div", oControl.getId() + "-appShortcutWrapper");
|
|
389
423
|
oRm.class("sapMGTAppShortcutText").openEnd();
|
|
390
424
|
oRm.renderControl(oControl._oAppShortcut);
|
|
391
425
|
oRm.close("div");
|
|
392
426
|
}
|
|
393
427
|
if (oControl.getSystemInfo()) {
|
|
394
|
-
oRm.openStart("div", oControl.getId() + "-
|
|
428
|
+
oRm.openStart("div", oControl.getId() + "-sytemInfoWrapper");
|
|
395
429
|
if (oControl.getAppShortcut() && oControl.getSystemInfo()){
|
|
396
430
|
oRm.class("sapMGTMarginTop4px");
|
|
397
431
|
}
|
|
@@ -406,13 +440,6 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
406
440
|
GenericTileRenderer._renderFocusDiv = function(oRm, oControl) {
|
|
407
441
|
oRm.openStart("div", oControl.getId() + "-focus");
|
|
408
442
|
oRm.class("sapMGTFocusDiv");
|
|
409
|
-
if (oControl._isIconMode()) { //Set respective BorderRadius for IconMode
|
|
410
|
-
if (oControl.getFrameType() === frameTypes.OneByOne) {
|
|
411
|
-
oRm.style("border-radius", "1rem");
|
|
412
|
-
} else {
|
|
413
|
-
oRm.style("border-radius", "0.75rem");
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
443
|
oRm.openEnd();
|
|
417
444
|
oRm.close("div");
|
|
418
445
|
};
|
|
@@ -526,6 +553,15 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
526
553
|
return false;
|
|
527
554
|
};
|
|
528
555
|
|
|
556
|
+
/**
|
|
557
|
+
* Checks whether the current theme is a high contrast theme like sap_belize_hcb or sap_belize_hcw.
|
|
558
|
+
* @returns {boolean} True if the theme name contains hcb or hcw, false otherwise
|
|
559
|
+
* @private
|
|
560
|
+
*/
|
|
561
|
+
GenericTileRenderer._isThemeHighContrast = function() {
|
|
562
|
+
return /(hcw|hcb)/g.test(sap.ui.getCore().getConfiguration().getTheme());
|
|
563
|
+
};
|
|
564
|
+
|
|
529
565
|
return GenericTileRenderer;
|
|
530
566
|
|
|
531
567
|
}, /* bExport= */true);
|