@sapui5/sap.suite.ui.generic.template 1.123.1 → 1.124.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.
Files changed (68) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +4 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/ControllerImplementation.js +16 -9
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/controller/CtxMenuHandler.js +77 -0
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n.properties +3 -0
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/util/FilterUtil.js +52 -51
  8. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  9. package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +5 -4
  10. package/src/sap/suite/ui/generic/template/ListReport/controller/CtxMenuHandler.js +20 -1
  11. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n.properties +3 -0
  12. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  13. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +126 -99
  14. package/src/sap/suite/ui/generic/template/ObjectPage/controller/CtxMenuHandler.js +8 -1
  15. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageSortingHandler.js +2 -5
  16. package/src/sap/suite/ui/generic/template/ObjectPage/controller/MessageStripHelper.js +4 -3
  17. package/src/sap/suite/ui/generic/template/ObjectPage/controller/PasteHandler.js +12 -1
  18. package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +15 -3
  19. package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/InlineCreationRowsHelper.js +12 -15
  20. package/src/sap/suite/ui/generic/template/ObjectPage/controller/inlineCreationRows/RequiredPropHelper.js +4 -3
  21. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +4 -0
  22. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +5 -2
  23. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/Actions.fragment.xml +12 -12
  24. package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +1 -1
  25. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  26. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  27. package/src/sap/suite/ui/generic/template/detailTemplates/detailUtils.js +3 -3
  28. package/src/sap/suite/ui/generic/template/extensionAPI/extensionAPI.js +2 -0
  29. package/src/sap/suite/ui/generic/template/fragments/AnalyticalTableColumns.fragment.xml +1 -1
  30. package/src/sap/suite/ui/generic/template/fragments/ContactDetails.fragment.xml +15 -9
  31. package/src/sap/suite/ui/generic/template/fragments/ContactDetailsQuickViewGroupReplica.fragment.xml +6 -3
  32. package/src/sap/suite/ui/generic/template/fragments/QuickViewSmartForm.fragment.xml +6 -3
  33. package/src/sap/suite/ui/generic/template/fragments/TableColumns.fragment.xml +12 -0
  34. package/src/sap/suite/ui/generic/template/genericUtilities/controlHelper.js +5 -9
  35. package/src/sap/suite/ui/generic/template/js/RuntimeFormatters.js +2 -3
  36. package/src/sap/suite/ui/generic/template/lib/AdaptiveCardHelper.js +2 -4
  37. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +24 -16
  38. package/src/sap/suite/ui/generic/template/lib/CRUDActionHandler.js +5 -5
  39. package/src/sap/suite/ui/generic/template/lib/CRUDManager.js +3 -2
  40. package/src/sap/suite/ui/generic/template/lib/CommonEventHandlers.js +62 -57
  41. package/src/sap/suite/ui/generic/template/lib/CommonUtils.js +30 -7
  42. package/src/sap/suite/ui/generic/template/lib/ContactCardDetailHelper.js +4 -18
  43. package/src/sap/suite/ui/generic/template/lib/ContextMenuHandler.js +20 -18
  44. package/src/sap/suite/ui/generic/template/lib/ShareUtils.js +141 -126
  45. package/src/sap/suite/ui/generic/template/lib/cards/DTCardHelper.js +48 -0
  46. package/src/sap/suite/ui/generic/template/lib/i18n/i18n.properties +2 -2
  47. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_en.properties +1 -1
  48. package/src/sap/suite/ui/generic/template/lib/insights/InsightsCardHelper.js +14 -7
  49. package/src/sap/suite/ui/generic/template/lib/insights/InsightsFECardProvider.js +1 -1
  50. package/src/sap/suite/ui/generic/template/lib/insights/InsightsHandler.js +54 -17
  51. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  52. package/src/sap/suite/ui/generic/template/library.js +7 -5
  53. package/src/sap/suite/ui/generic/template/listTemplates/controller/IappStateHandler.js +5 -0
  54. package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +6 -0
  55. package/src/sap/suite/ui/generic/template/listTemplates/listUtils.js +2 -5
  56. package/src/sap/suite/ui/generic/template/support/lib/CommonChecks.js +4 -6
  57. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal/library.source.less +10 -1
  58. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ALPConstants.less +47 -0
  59. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/AnalyticalListPage.less +475 -0
  60. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ListReport.less +33 -0
  61. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/ObjectPage.less +391 -0
  62. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/QuickCreate.less +96 -0
  63. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/QuickView.less +108 -0
  64. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/alr_zen.css +136 -0
  65. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/base.less +7 -0
  66. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/crosstab_library.css +20 -0
  67. package/src/sap/suite/ui/generic/template/themes/sap_bluecrystal_base/library.source.less +9 -0
  68. package/ui5.yaml +1 -0
@@ -27,7 +27,8 @@ sap.ui.define([
27
27
  "sap/ui/fl/library",
28
28
  "sap/ui/generic/app/library",
29
29
  "sap/ui/rta/library",
30
- "sap/ushell/library"
30
+ "sap/ushell/library",
31
+ "sap/cards/ap/common/library"
31
32
  ], function(Library) {
32
33
  "use strict";
33
34
 
@@ -54,13 +55,14 @@ sap.ui.define([
54
55
  "sap.ui.fl",
55
56
  "sap.ui.generic.app",
56
57
  "sap.ui.rta",
57
- "sap.ushell"
58
+ "sap.ushell",
59
+ "sap.cards.ap.common"
58
60
  ],
59
61
  types: [],
60
62
  interfaces: [],
61
63
  controls: [],
62
64
  elements: [],
63
- version: "1.123.1",
65
+ version: "1.124.0",
64
66
  extensions: {
65
67
  //Configuration used for rule loading of Support Assistant
66
68
  "sap.ui.support": {
@@ -80,13 +82,13 @@ sap.ui.define([
80
82
  * @public
81
83
  */
82
84
  thisLib.displayMode = {
83
-
85
+
84
86
  /**
85
87
  * Navigating with a mode which is not yet decided (fallback condition)
86
88
  * @public
87
89
  */
88
90
  undefined : "undefined",
89
-
91
+
90
92
  /**
91
93
  * Navigating in read-only mode
92
94
  * @public
@@ -383,6 +383,11 @@ sap.ui.define(["sap/ui/base/Object",
383
383
  // Smart filter bar all the filters will be replaced by the one which are coming from oUiState build base of oSelectionVariant where the Semantic Date Default Values
384
384
  // is missing and because of that the values are replaced. Hence adding the semantic Dates to oSelectionVariant as mentioned by the Smart Control Colleague in the BCP - 2180400040
385
385
  oStartupObject.semanticDates.Dates.forEach(function(oSelectDateOption){
386
+ var oSelectionDateOption = oStartupObject.selectionVariant.getSelectOption(oSelectDateOption.PropertyName);
387
+ //If startup object contains date range with the oSelectionDateOption PropertyName no need to override
388
+ if (oSelectionDateOption && oSelectionDateOption.length != 0) {
389
+ return;
390
+ }
386
391
  oStartupObject.selectionVariant.addSelectOption(oSelectDateOption.PropertyName, "I", "EQ", "");
387
392
  });
388
393
 
@@ -256,6 +256,12 @@
256
256
  </cells>
257
257
  </ColumnListItem>
258
258
  </items>
259
+ <contextMenu>
260
+ <core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.SmartControlContextMenu" type="XML"/>
261
+ </contextMenu>
262
+ <dependents>
263
+ <plugins.ContextMenuSetting scope="Selection"/>
264
+ </dependents>
259
265
  </template:with>
260
266
  <!-- Responsive -->
261
267
  </Table>
@@ -1,14 +1,11 @@
1
- sap.ui.define(["sap/ui/core/library",
1
+ sap.ui.define(["sap/ui/core/message/MessageType",
2
2
  "sap/fe/navigation/SelectionVariant",
3
3
  "sap/ui/model/odata/AnnotationHelper",
4
4
  "sap/base/util/extend",
5
5
  "sap/ui/model/Context"],
6
- function(coreLibrary, SelectionVariant, ODataAnnotationHelper, extend, Context) {
6
+ function(MessageType, SelectionVariant, ODataAnnotationHelper, extend, Context) {
7
7
  "use strict";
8
8
 
9
- // shortcut for sap.ui.core.MessageType
10
- var MessageType = coreLibrary.MessageType;
11
-
12
9
  var sLocalModelName = "msg";
13
10
 
14
11
  // Method to be called in onBeforeRebindTable or onBeforeRebindChart to ensure that errors are handled accordingly
@@ -110,10 +110,9 @@ sap.ui.define([
110
110
  && sap.ui.getCore().byId(xmlView[0].id)
111
111
  && sap.ui.getCore().byId(xmlView[0].id).getController()
112
112
  && sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent()
113
- && sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getMetadata()
114
- && sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getMetadata().getManifest()) {
113
+ && sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getManifest()) {
115
114
 
116
- oManifest = sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getMetadata().getManifest();
115
+ oManifest = sap.ui.getCore().byId(xmlView[0].id).getController().getOwnerComponent().getManifest();
117
116
  } else {
118
117
  // Detected OVP structure in DOM but could not load manifest from core!
119
118
  return undefined;
@@ -126,10 +125,9 @@ sap.ui.define([
126
125
  && sap.ui.getCore().byId(xmlView[i].id).getController()
127
126
  && sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent()
128
127
  && sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent()
129
- && sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getMetadata()
130
- && sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getMetadata().getManifest()) {
128
+ && sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getManifest()) {
131
129
 
132
- oManifest = sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getMetadata().getManifest();
130
+ oManifest = sap.ui.getCore().byId(xmlView[i].id).getController().getOwnerComponent().getAppComponent().getManifest();
133
131
  break;
134
132
  }
135
133
  }
@@ -1,4 +1,13 @@
1
- @import "../base/library.source.less";
1
+ /***********************************************************************************
2
+ /* Due to deprecation of sap_bluecrystal with SAPUI5 version 1.44 the
3
+ /* inheritance of the base theme is now updated to an inheritance of a static
4
+ /* copy of the base theme named sap_bluecrystal_base. The respective
5
+ /* control css files of base are copied to the sap_bluecrystal_base theme folder.
6
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.124.
7
+ ***********************************************************************************/
8
+
9
+
10
+ @import "../sap_bluecrystal_base/library.source.less";
2
11
  @import "../../../../../../../sap/ui/core/themes/sap_bluecrystal/base.less";
3
12
  @import "../../../../../../../sap/ui/core/themes/sap_bluecrystal/global.less";
4
13
 
@@ -0,0 +1,47 @@
1
+ /* KPI TAG */
2
+ @_sap_suite_ui_generic_template_ALPConstants_KpiCardMinHeight: 37.5rem;
3
+ @_sap_suite_ui_generic_template_ALPConstants_KpiCardMinWidth: 25rem;
4
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerMarginLeft : 21px;
5
+ @_sap_suite_ui_generic_template_ALPConstants_KpiErrorPopOverContainerPadding : 10px;
6
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagPaddingLeftRight: 0.75rem;
7
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagCompactPaddingTopBottom: 0rem;
8
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagCozyPaddingTopBottom: 0rem;
9
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerHeightCompact : 2rem;
10
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerHeightCozy : 3rem;
11
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagHeightCozy: 2.25rem;
12
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagCozyMarginTopBottom:0rem;
13
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagHeightCompact: 1.625rem;
14
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagLineHeight: 1.4;
15
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagMinWidth: 4.5rem;
16
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagMarginTopBottom: 0rem;
17
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagBorderWidth: 1px 1px 1px 3px;
18
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftMargin: 0rem;
19
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftPadding: 1rem;
20
+ @_sap_suite_ui_generic_template_ALPConstants_KpiTagMarginInOverflow: 0.4rem 0.2rem 0.5rem 0.1rem;
21
+
22
+ /* VF */
23
+ @_sap_suite_ui_generic_template_ALPConstants_VisualFilterMargin: 0 0.0625rem 0.0625rem 0.0625rem;
24
+ @_sap_suite_ui_generic_template_ALPConstants_ChartTitlePadding: 0 0 0.5rem 0.25rem;
25
+ @_sap_suite_ui_generic_template_ALPConstants_VisualFilterChartHeight: 10rem;
26
+ @_sap_suite_ui_generic_template_ALPConstants_VisualFilterPadding: 0 0 0 1rem;
27
+ @_sap_suite_ui_generic_template_ALPConstants_VisualFilterToolbarMargin : 2rem;
28
+ @_sap_suite_ui_generic_template_ALPConstants_VisualFilterToolbarSapMiBarMargin : 1.25rem;
29
+ @_sap_suite_ui_generic_template_ALPConstants_VisualFilterToolbarClosed : 1rem;
30
+ @_sap_suite_ui_generic_template_ALPConstants_VFOverflowOpacity: 1.0;
31
+ @_sap_suite_ui_generic_template_ALPConstants_VFOverflowFontSize: 0.875rem;
32
+ @_sap_suite_ui_generic_template_ALPConstants_SelectedLinkDialogWidth: 15rem;
33
+ @_sap_suite_ui_generic_template_ALPConstants_BackgroundColorNone: none;
34
+ @_sap_suite_ui_generic_template_ALPConstants_BackgroundOpacity: .5;
35
+ @_sap_suite_ui_generic_template_ALPConstants_ShowSelectedPadding: .25rem;
36
+
37
+
38
+
39
+
40
+ /* ALP PAGE */
41
+ @_sap_suite_ui_generic_template_ALPConstants_ToolbarMarginBottom : 0.75rem;
42
+ @_sap_suite_ui_generic_template_ALPConstants_PageTitlePadding : 0 2rem 0.5rem 2.4rem;
43
+ @_sap_suite_ui_generic_template_ALPConstants_PageChartTitlePadding: 0.2rem 0 0.5rem 0.15rem;
44
+ @_sap_suite_ui_generic_template_ALPConstants_PageHeadingPadding : 0.5rem 2.75rem 0.5rem 1.8rem;
45
+ @_sap_suite_ui_generic_template_ALPConstants_PageContentPadding : 1rem 2rem 1rem 2rem;
46
+ @_sap_suite_ui_generic_template_ALPConstants_ZeroPadding : 0 0 0 0;
47
+ @_sap_suite_ui_generic_template_ALPConstants_PageChartMinHeight : 15rem;
@@ -0,0 +1,475 @@
1
+
2
+ @import "ALPConstants.less";
3
+
4
+ .sapSmartTemplatesAnalyticalListPageContentContainer{
5
+ .sapMBtnTransparent.sapMSegBBtnSel>.sapMBtnIcon {
6
+ color: @sapHighlightTextColor;
7
+ }
8
+ .sapMIBar>.sapMBarChild.sapMSegB:last-child{
9
+ margin-right: 0;
10
+ }
11
+ }
12
+
13
+ .sapSmartTemplatesAnalyticalListPageMasterExtension {
14
+ overflow: hidden;
15
+ }
16
+
17
+ .sapSmartTemplatesAnalyticalListPageFilterContainer.sapUiVlt{
18
+ display:block;
19
+ overflow:inherit;
20
+ }
21
+
22
+ .sapSmartTemplatesAnalyticalListPageChartContainer {
23
+ min-height: @_sap_suite_ui_generic_template_ALPConstants_PageChartMinHeight;
24
+ }
25
+ .sapSmartTemplatesAnalyticalListPageInheritHeight{
26
+ height:inherit;
27
+ }
28
+ .sapSmartTemplatesAnalyticalListPageCompactFilter {
29
+ border-bottom: none;
30
+ }
31
+ .sapSmartTemplatesAnalyticalListPageVFDialogChartTitle {
32
+ padding-left: 0.4rem;
33
+ }
34
+ .sap-desktop .sapSmartTemplatesAnalyticalListPageVFDialogChartTitle {
35
+ padding-left: 0.4rem;
36
+ max-width: 60%;
37
+ }
38
+
39
+ .sapSmartTemplatesAnalyticalListPageVFDialogGroupTitle {
40
+ font-family: @sapUiFontHeaderFamily;
41
+ font-size: @sapMFontHeader5Size !important;
42
+ font-weight: @sapUiFontHeaderWeight;
43
+ color: @sapUiGroupTitleTextColor;
44
+ }
45
+
46
+ .sapSmartTemplatesAnalyticalListPageDynamicPageTitle>.sapFDynamicPageTitleMain.sapFDynamicPageTitleMainNoContent>.sapFDynamicPageTitleMainLeft {
47
+ width: 59% !important;
48
+ }
49
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageDynamicPageTitleMargin>.sapFDynamicPageTitleMain>.sapFDynamicPageTitleMainLeft {
50
+ margin-top: 3px;
51
+ .sapUiCompVarMngmt {
52
+ margin-right: 1rem;
53
+ height: 2.4365rem;
54
+ }
55
+ }
56
+ .sapSmartTemplatesAnalyticalListPageDynamicPageTitle>.sapFDynamicPageTitleMain.sapFDynamicPageTitleMainNoContent>.sapFDynamicPageTitleMainRight {
57
+ width: 41% !important;
58
+ }
59
+ /***** Required end *****/
60
+
61
+ /***** UI Tweaks start *****/
62
+
63
+ .sapUiCompSmartFullScreenDialog{
64
+ .sapSmartTemplatesAnalyticalListPageContentContainer{
65
+ .sapMTB{
66
+ border-bottom-color: @sapUiChartBackgroundColor;
67
+ }
68
+ }
69
+ }
70
+
71
+ .sapSmartTemplatesAnalyticalListPageFilterDialogToolbar.sapMTB{
72
+ border-bottom-color: @sapUiChartBackgroundColor;
73
+ }
74
+
75
+ .sapSmartTemplatesAnalyticalListPageSmartChart{
76
+ .sapMTB{
77
+ border-bottom-color: @sapUiChartBackgroundColor;
78
+ }
79
+ }
80
+ .sapMListBGTranslucent{
81
+ .sapSmartTemplatesAnalyticalListPageRowHighlighted.sapMLIB.sapMListTblRow{
82
+ background-color: @sapUiListSelectionBackgroundColor !important;
83
+ > td{
84
+ border-bottom: .0625rem solid @sapUiListSelectionBorderColor;
85
+ }
86
+ }
87
+ }
88
+ .sapSmartTemplatesAnalyticalListPageRowHighlighted{
89
+ background-color: @sapUiListSelectionBackgroundColor !important;
90
+ .sapUiTableCell{
91
+ border-bottom: .0625rem solid @sapUiListSelectionBorderColor;
92
+ &.sapUiTableRowSelectionCell{
93
+ box-shadow: none !important;
94
+ }
95
+ }
96
+ }
97
+
98
+ .sapSmartTemplatesAnalyticalListPageDropdownDialogCancelButton.sapUiIcon{
99
+ margin-right: @_sap_suite_ui_generic_template_ALPConstants_ShowSelectedPadding !important;
100
+ padding: @_sap_suite_ui_generic_template_ALPConstants_ShowSelectedPadding !important;
101
+ }
102
+ .sapSmartTemplatesAnalyticalListPageShowSelectedSelectAllDisabled{
103
+ opacity: @_sap_suite_ui_generic_template_ALPConstants_BackgroundOpacity;
104
+ background: @sapUiButtonLiteBackground;
105
+ }
106
+ .sapSmartTemplatesAnalyticalListPageSelectedLinkDialog .sapMTB-Info-CTX.sapMTB{
107
+ padding: 0 0.25rem !important;
108
+ }
109
+ .sapSmartTemplatesAnalyticalListPageSelectedLinkDialog .sapMLIB{
110
+ padding:0 .75rem 0 .75rem;
111
+ }
112
+ .sapUiTableCtrl{
113
+ .sapUiTableGroupHeader.sapSmartTemplatesAnalyticalListPageRowHighlighted{
114
+ background-color: @sapUiListSelectionBackgroundColor;
115
+ }
116
+ }
117
+
118
+ .sapUiTableRowHdr.sapUiTableGroupHeader.sapSmartTemplatesAnalyticalListPageRowHighlighted{
119
+ background-color: @sapUiListSelectionBackgroundColor;
120
+ }
121
+
122
+ .sapUiTable{
123
+ .sapUiTableCtrl{
124
+ .sapUiTableRowHvr.sapSmartTemplatesAnalyticalListPageRowHighlighted{
125
+ > td{
126
+ background-color: @sapUiListSelectionBackgroundColor;
127
+ }
128
+ }
129
+ }
130
+ .sapUiTableRowHdr.sapUiTableGroupHeader.sapUiTableRowHvr.sapSmartTemplatesAnalyticalListPageRowHighlighted{
131
+ background-color: @sapUiListSelectionBackgroundColor;
132
+ }
133
+ }
134
+
135
+ .sapSmartTemplatesAnalyticalListPageTableContainer>.sapUiCompSmartTable{
136
+ .sapMTB{
137
+ margin-bottom: @_sap_suite_ui_generic_template_ALPConstants_ToolbarMarginBottom;
138
+ border-bottom-color: @sapUiChartBackgroundColor;
139
+ }
140
+ }
141
+ .sapSmartTemplatesAnalyticalListPageVisualFilterBar{
142
+ .ui5-viz-controls-viz-frame{
143
+ .v-datapoint-group{
144
+ .v-datapoint{
145
+ > rect{
146
+ rx: 3px;
147
+ ry: 3px;
148
+ }
149
+ }
150
+ }
151
+ }
152
+ .sapMHdrCntrItemCntr.sapMHrdrCntrInner {
153
+ vertical-align: top;
154
+ height: 11rem;
155
+ }
156
+ height: 11rem !important;
157
+ }
158
+
159
+ .sapSmartTemplatesAnalyticalListPageVisualFilterBarCozy {
160
+ .ui5-viz-controls-viz-frame{
161
+ .v-datapoint-group{
162
+ .v-datapoint{
163
+ > rect{
164
+ rx: 3px;
165
+ ry: 3px;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ .sapMHdrCntrItemCntr.sapMHrdrCntrInner {
171
+ vertical-align: top;
172
+ height: 14rem;
173
+ }
174
+ height: 14rem !important;
175
+ }
176
+ .sapSmartTemplatesAnalyticalListPageVisualFilterBarCozyPhone {
177
+ .ui5-viz-controls-viz-frame{
178
+ .v-datapoint-group{
179
+ .v-datapoint{
180
+ > rect{
181
+ rx: 3px;
182
+ ry: 3px;
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
+ .sapSmartTemplatesAnalyticalListPageVisualFilterToolbar{
189
+ margin-right: @_sap_suite_ui_generic_template_ALPConstants_VisualFilterToolbarMargin;
190
+ }
191
+
192
+ .sapSmartTemplatesAnalyticalListPageVisualFilterTitleToolbar.sapMTB { /* not possible to hide the line at the bottom of the toolbar via settings, have to do this via CSS*/
193
+ border-bottom: none;
194
+ padding: @_sap_suite_ui_generic_template_ALPConstants_PageChartTitlePadding;
195
+
196
+ }
197
+
198
+ .sapUiSizeCompact .sapFDynamicPageTitleWrapper>.sapSmartTemplatesAnalyticalListPageDynamicPageTitle{
199
+ padding: @_sap_suite_ui_generic_template_ALPConstants_PageHeadingPadding;
200
+ border: none;
201
+ }
202
+
203
+ .sapUiSizeCompact .sapFDynamicPageTitleWrapper>.sapSmartTemplatesAnalyticalListPageDynamicPageTitle .sapFDynamicPageTitleSnapped>.sapSmartTemplatesAnalyticalListPageSnappedContentText{
204
+ margin-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerMarginLeft;
205
+ cursor: pointer;
206
+ }
207
+
208
+ .sapFDynamicPageContent .sapSmartTemplatesAnalyticalListPageContentContainer {
209
+ padding: @_sap_suite_ui_generic_template_ALPConstants_ZeroPadding;
210
+ }
211
+ .sapMFlexBox.sapMFlexBoxAlignContentStretch.sapMFlexBoxAlignItemsEnd {
212
+ padding: @_sap_suite_ui_generic_template_ALPConstants_ZeroPadding;
213
+ }
214
+ .sapSmartTemplatesAnalyticalListPageFilterDialogTitleToolbar {
215
+ border-bottom: none !important;
216
+ padding-left: 0rem !important;
217
+ }
218
+ .sapSmartTemplatesAnalyticalListPageDynamicPage.sapFDynamicPage-Std-Phone .sapFDynamicPageContentFitContainer {
219
+ padding: 2rem 1rem 0 1rem !important;
220
+ }
221
+ // .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageDynamicPage .sapFDynamicPageHeader.sapFDynamicPageHeaderWithContent {
222
+ // padding-top: 0.5rem !important;
223
+ // padding-bottom: 1.5rem !important;
224
+ // }
225
+
226
+ .sapSmartTemplatesAnalyticalListPageDynamicPage {
227
+ .sapFDynamicPageHeader.sapFDynamicPageHeaderWithContent {
228
+ padding: 0rem 2rem 1rem 2rem !important;
229
+ }
230
+ }
231
+ /***** UI Tweaks end *****/
232
+
233
+ /***** new controls start *****/
234
+
235
+ /**************** KPI TAG START ****************/
236
+
237
+ .sapSmartTemplatesAnalyticalListPageAlignVariantTitle{
238
+ margin-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerMarginLeft;
239
+ }
240
+
241
+ .sapSmartTemplatesAnalyticalListPageErrorPopOver{
242
+ padding: @_sap_suite_ui_generic_template_ALPConstants_KpiErrorPopOverContainerPadding;
243
+ }
244
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageAlignVariantTitle{
245
+ margin-left: 0rem;
246
+ }
247
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageKpiTagContainer {
248
+ height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerHeightCozy;
249
+ }
250
+ .sapUiSizeCompact .sapSmartTemplatesAnalyticalListPageKpiTagContainer {
251
+ height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagContainerHeightCompact;
252
+ }
253
+ .sapUiSizeCompact .sapSmartTemplatesAnalyticalListPageKpiTag {
254
+ height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagHeightCompact;
255
+ padding-top:@_sap_suite_ui_generic_template_ALPConstants_KpiTagCompactPaddingTopBottom;
256
+ padding-bottom:@_sap_suite_ui_generic_template_ALPConstants_KpiTagCompactPaddingTopBottom;
257
+ margin-top:@_sap_suite_ui_generic_template_ALPConstants_KpiTagMarginTopBottom;
258
+ margin-bottom:@_sap_suite_ui_generic_template_ALPConstants_KpiTagMarginTopBottom;
259
+ border-width:@_sap_suite_ui_generic_template_ALPConstants_KpiTagBorderWidth;
260
+ }
261
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageKpiTag {
262
+ height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagHeightCozy;
263
+ margin-top:@_sap_suite_ui_generic_template_ALPConstants_KpiTagCozyMarginTopBottom;
264
+ margin-bottom:@_sap_suite_ui_generic_template_ALPConstants_KpiTagCozyMarginTopBottom;
265
+ padding-top:@_sap_suite_ui_generic_template_ALPConstants_KpiTagCozyPaddingTopBottom;
266
+ padding-bottom:@_sap_suite_ui_generic_template_ALPConstants_KpiTagCozyPaddingTopBottom;
267
+ margin-top:@_sap_suite_ui_generic_template_ALPConstants_KpiTagMarginTopBottom;
268
+ border-width:@_sap_suite_ui_generic_template_ALPConstants_KpiTagBorderWidth;
269
+ }
270
+ .sapSmartTemplatesAnalyticalListPageKpiTag{
271
+ align-items: center !important;
272
+ background-color: @sapUiListBackground;
273
+ border-left-width: 3px;
274
+ border-style: solid;
275
+ border-right-style: none;
276
+ margin-top: 2px;
277
+ margin-bottom: 1px;
278
+ border-radius: 3px;
279
+ box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.15);
280
+ border-color: @sapUiListBorderColor;
281
+ padding-left:@_sap_suite_ui_generic_template_ALPConstants_KpiTagPaddingLeftRight;
282
+ padding-right:@_sap_suite_ui_generic_template_ALPConstants_KpiTagPaddingLeftRight;
283
+ cursor: pointer;
284
+ min-width: @_sap_suite_ui_generic_template_ALPConstants_KpiTagMinWidth;
285
+ display: flex !important;
286
+ font-family: @sapUiFontFamily;
287
+ font-size: @sapMFontMediumSize;
288
+ font-weight: @sapUiFontHeaderWeight;
289
+ box-shadow: @sapUiShadowLevel0;
290
+ }
291
+ .sapSmartTemplatesAnalyticalListPageKpiTag:hover {
292
+ background-color: @sapUiListHoverBackground;
293
+ }
294
+ .sapSmartTemplatesAnalyticalListPageKpiTagValue{
295
+ text-align: right;
296
+ line-height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLineHeight;
297
+ padding-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftPadding;
298
+ padding-right: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftMargin;
299
+ }
300
+ .sapSmartTemplatesAnalyticalListPageKpiTagName{
301
+ color: @sapUiContentLabelColor;
302
+ line-height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLineHeight;
303
+ text-align: left;
304
+ padding-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftMargin;
305
+ }
306
+ .sapSmartTemplatesAnalyticalListPageKPIErrorIcon {
307
+ color: @sapUiNegativeText;
308
+ text-align: right;
309
+ line-height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLineHeight;
310
+ padding-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftPadding;
311
+ padding-right: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftMargin;
312
+ }
313
+ .sapSmartTemplatesAnalyticalListPageKPIWarningIcon {
314
+ color: @sapUiCriticalText;
315
+ text-align: right;
316
+ line-height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLineHeight;
317
+ padding-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftPadding;
318
+ padding-right: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftMargin;
319
+ }
320
+ .sapSmartTemplatesAnalyticalListPageKPIInformationIcon {
321
+ color: @sapUiNeutralText;
322
+ text-align: right;
323
+ line-height: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLineHeight;
324
+ padding-left: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftPadding;
325
+ padding-right: @_sap_suite_ui_generic_template_ALPConstants_KpiTagLeftMargin;
326
+ }
327
+ .sapSmartTemplatesAnalyticalListPageKPINeutral{
328
+ color: @sapUiNeutralText;
329
+ border-left-color: @sapUiNeutralBorder;
330
+ }
331
+ .sapSmartTemplatesAnalyticalListPageKPICritical{
332
+ color: @sapUiCriticalText;
333
+ border-left-color: @sapUiWarningBorder;
334
+ }
335
+ .sapSmartTemplatesAnalyticalListPageKPIPositive{
336
+ color: @sapUiPositiveText;
337
+ border-left-color: @sapUiSuccessBorder;
338
+ }
339
+ .sapSmartTemplatesAnalyticalListPageKPINegative{
340
+ color: @sapUiNegativeText;
341
+ border-left-color: @sapUiErrorBorder;
342
+ }
343
+
344
+ .sapSmartTemplatesAnalyticalListPageKPIUndetermined{
345
+ color: @sapUiBaseText;
346
+ border-left-color: @sapUiBaseText;
347
+ }
348
+ .sapSmartTemplatesAnalyticalListPageKpiCardStyle{
349
+ min-height: @_sap_suite_ui_generic_template_ALPConstants_KpiCardMinHeight;
350
+ min-width: @_sap_suite_ui_generic_template_ALPConstants_KpiCardMinWidth;
351
+ }
352
+ .sapMOverflowToolbarMenu-CTX .sapSmartTemplatesAnalyticalListPageKpiTag {
353
+ margin: @_sap_suite_ui_generic_template_ALPConstants_KpiTagMarginInOverflow !important
354
+ }
355
+ .sapMOverflowToolbarMenu-CTX .sapSmartTemplatesAnalyticalListPageKpiTagValue {
356
+ text-align: end;
357
+ padding-left: 1.8rem;
358
+ }
359
+ .sapSmartTemplatesAnalyticalListPageVFTitle {
360
+ margin: 0.5rem 1.5rem 0.5rem 1rem !important;
361
+ width: 20rem !important;
362
+ }
363
+
364
+ @media screen and (max-width: 600px) {
365
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageDynamicPage .sapFDynamicPageHeader.sapFDynamicPageHeaderWithContent {
366
+ padding: 0rem 1rem 1rem 1rem !important;
367
+ }
368
+
369
+ .sapSmartTemplatesAnalyticalListPageVFTitle {
370
+ margin-top: 0.75rem !important;
371
+ margin-bottom: 0.75rem !important;
372
+ }
373
+
374
+ .sapSmartTemplatesAnalyticalListPageVisualFilterTitleText {
375
+ font-family: @sapUiFontFamily;
376
+ font-size: @sapMFontLargeSize;
377
+ line-height: 1.5;
378
+ color: @sapUiBaseText;
379
+ }
380
+ }
381
+
382
+ .sapSmartTemplatesAnalyticalListPageVFChart {
383
+ margin: 0rem 1.5rem 0.5rem 1rem !important;
384
+ width: 20rem !important;
385
+ }
386
+
387
+ /**************** KPI TAG END ****************/
388
+
389
+ .sapSmartTemplatesAnalyticalListPageVFOverflow {
390
+ background-color: @sapUiTileBackground;
391
+ opacity: @_sap_suite_ui_generic_template_ALPConstants_VFOverflowOpacity;
392
+ border-color: fade(@sapUiBrand, 20%);
393
+ font-size: @_sap_suite_ui_generic_template_ALPConstants_VFOverflowFontSize;
394
+ border-width: 1px;
395
+ border-style: solid;
396
+ white-space: pre-line;
397
+ display: flex;
398
+ justify-content: center;
399
+ align-items: center;
400
+ margin-top: 0;
401
+ margin-left: auto;
402
+ margin-right: auto;
403
+ margin-bottom:initial;
404
+ text-align: center;
405
+ }
406
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageKpiTagCozy {
407
+ height: 2.4365rem;
408
+ }
409
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageVFOverflowCozy {
410
+ margin-top: 0.25rem;
411
+ }
412
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageVFDShowInFilterBarCozy.sapMCb {
413
+ padding-left: 38px !important;
414
+ }
415
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageVFDShowInFilterBarCozy .sapMCbBg {
416
+ left: 0.4375rem !important;
417
+ }
418
+ .sapSmartTemplatesAnalyticalListPageSelectedLinkDialog{
419
+ min-width: @_sap_suite_ui_generic_template_ALPConstants_SelectedLinkDialogWidth;
420
+ }
421
+
422
+ .sapUiSizeCompact .sapSmartTemplatesAnalyticalListPageFilterableKPIContainer{
423
+ width: inherit;
424
+ padding: 0.5rem 1rem;
425
+ height: 3rem;
426
+ border-bottom: none;
427
+ }
428
+
429
+ .sapUiSizeCozy .sapSmartTemplatesAnalyticalListPageFilterableKPIContainer{
430
+ width: inherit;
431
+ padding: 0.5rem 1rem;
432
+ height: 3rem;
433
+ border-bottom: none;
434
+ }
435
+
436
+ .sapSmartTemplatesAnalyticalListPageFilterableKPITitle{
437
+ font-family: @sapUiFontHeaderFamily;
438
+ font-size: @sapMFontHeader2Size;
439
+ font-weight: @sapUiFontHeaderWeight;
440
+ color: @sapUiGroupTitleTextColor;
441
+ line-height: 2rem;
442
+ padding-right: 1rem;
443
+ max-width: 25rem;
444
+ }
445
+
446
+ .sapSmartTemplatesAnalyticalListPageKpiTagDisable{
447
+ z-index: -1;
448
+ opacity: 0.5;
449
+ background-color: transparent;
450
+ }
451
+
452
+ .sapSmartTemplatesAnalyticalListPageKpiTagOverflow {
453
+ border-bottom: none;
454
+ }
455
+
456
+ .sapSmartTemplatesAnalyticalListPageHeaderContainerBorder {
457
+ box-shadow: 0 1px 3px 0 rgba(0,0,0,0.10), inset 0 -1px 0 0 #d9d9d9 !important;
458
+ }
459
+
460
+
461
+ .sapUiTheme-sap_fiori_3 .sapSmartTemplatesAnalyticalListPageDynamicPage .sapFDynamicPageContentWrapper {
462
+ background: #f7f7f7;
463
+ }
464
+
465
+ .sapSmartTemplatesAnalyticalListPageRequired:before {
466
+ content:"*";
467
+ color: @sapUiFieldRequiredColor;
468
+ font-family: @sapUiFontFamily;
469
+ font-size: @sapMFontLargeSize;
470
+ font-weight: bold;
471
+ position: relative;
472
+ vertical-align: middle;
473
+ line-height: 0;
474
+ }
475
+
@@ -0,0 +1,33 @@
1
+ .sapSmartTemplatesListReportDraftInfoIcon.sapUiIcon {
2
+ font-family: SAP-icons;
3
+ font-size: 1rem;
4
+ padding-right: 0.5rem;
5
+ }
6
+
7
+ .sapSmartTemplatesListReportFilterSummary {
8
+ cursor: pointer;
9
+ }
10
+
11
+ .sapSmartTemplatesSLIPositive > .sapMLIBContent > .sapMGHLITitle {
12
+ color: @sapPositiveElementColor;
13
+ }
14
+ .sapSmartTemplatesSLINeutral > .sapMLIBContent > .sapMGHLITitle {
15
+ color: @sapNeutralElementColor;
16
+ }
17
+ .sapSmartTemplatesSLINegative > .sapMLIBContent > .sapMGHLITitle {
18
+ color: @sapNegativeElementColor;
19
+ }
20
+ .sapSmartTemplatesSLICritical > .sapMLIBContent > .sapMGHLITitle {
21
+ color: @sapCriticalElementColor;
22
+ }
23
+
24
+ .sapSmartTemplatesSLIBold > .sapMLIBContent > .sapMSLITitleDiv > .sapMSLITitleOnly {
25
+ font-weight: bold;
26
+ }
27
+
28
+ .sapSmartTemplatesListReportFirstText {
29
+ overflow: visible;
30
+ font-weight: bold;
31
+ display: inline-block;
32
+ word-wrap: break-word;
33
+ }