@openui5/sap.ui.rta 1.125.0 → 1.126.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.
Files changed (162) hide show
  1. package/.reuse/dep5 +4 -4
  2. package/THIRDPARTY.txt +6 -6
  3. package/package.json +6 -6
  4. package/src/sap/ui/rta/.library +1 -1
  5. package/src/sap/ui/rta/Client.js +1 -1
  6. package/src/sap/ui/rta/RuntimeAuthoring.js +1 -1
  7. package/src/sap/ui/rta/Utils.js +1 -1
  8. package/src/sap/ui/rta/appVariant/AppVariantManager.js +1 -1
  9. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +25 -4
  10. package/src/sap/ui/rta/appVariant/Feature.js +8 -0
  11. package/src/sap/ui/rta/appVariant/Utils.js +1 -1
  12. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +3 -0
  13. package/src/sap/ui/rta/command/AddIFrame.js +1 -1
  14. package/src/sap/ui/rta/command/AddProperty.js +1 -1
  15. package/src/sap/ui/rta/command/AddXML.js +1 -1
  16. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +1 -1
  17. package/src/sap/ui/rta/command/AppDescriptorCommand.js +1 -1
  18. package/src/sap/ui/rta/command/BaseCommand.js +1 -1
  19. package/src/sap/ui/rta/command/BindProperty.js +1 -1
  20. package/src/sap/ui/rta/command/Combine.js +1 -1
  21. package/src/sap/ui/rta/command/CommandFactory.js +1 -1
  22. package/src/sap/ui/rta/command/CompositeCommand.js +1 -1
  23. package/src/sap/ui/rta/command/ControlVariantConfigure.js +1 -1
  24. package/src/sap/ui/rta/command/ControlVariantSave.js +1 -1
  25. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +1 -1
  26. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +1 -1
  27. package/src/sap/ui/rta/command/ControlVariantSwitch.js +1 -1
  28. package/src/sap/ui/rta/command/CreateContainer.js +1 -1
  29. package/src/sap/ui/rta/command/CustomAdd.js +1 -1
  30. package/src/sap/ui/rta/command/FlexCommand.js +1 -1
  31. package/src/sap/ui/rta/command/LREPSerializer.js +1 -1
  32. package/src/sap/ui/rta/command/LocalReset.js +1 -1
  33. package/src/sap/ui/rta/command/Move.js +1 -1
  34. package/src/sap/ui/rta/command/Property.js +1 -1
  35. package/src/sap/ui/rta/command/Remove.js +1 -1
  36. package/src/sap/ui/rta/command/Rename.js +1 -1
  37. package/src/sap/ui/rta/command/Resize.js +1 -1
  38. package/src/sap/ui/rta/command/Reveal.js +1 -1
  39. package/src/sap/ui/rta/command/Settings.js +1 -1
  40. package/src/sap/ui/rta/command/Split.js +1 -1
  41. package/src/sap/ui/rta/command/Stack.js +1 -1
  42. package/src/sap/ui/rta/command/appDescriptor/AddLibrary.js +1 -1
  43. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +1 -1
  44. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +1 -1
  45. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +1 -1
  46. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +1 -1
  47. package/src/sap/ui/rta/enablement/elementActionTest.js +1 -1
  48. package/src/sap/ui/rta/library.js +2 -2
  49. package/src/sap/ui/rta/messagebundle.properties +2 -0
  50. package/src/sap/ui/rta/messagebundle_ar.properties +1 -0
  51. package/src/sap/ui/rta/messagebundle_bg.properties +1 -0
  52. package/src/sap/ui/rta/messagebundle_ca.properties +1 -0
  53. package/src/sap/ui/rta/messagebundle_cnr.properties +1 -0
  54. package/src/sap/ui/rta/messagebundle_cs.properties +1 -0
  55. package/src/sap/ui/rta/messagebundle_cy.properties +2 -1
  56. package/src/sap/ui/rta/messagebundle_da.properties +1 -0
  57. package/src/sap/ui/rta/messagebundle_de.properties +1 -0
  58. package/src/sap/ui/rta/messagebundle_el.properties +1 -0
  59. package/src/sap/ui/rta/messagebundle_en.properties +329 -2
  60. package/src/sap/ui/rta/messagebundle_en_GB.properties +1 -0
  61. package/src/sap/ui/rta/messagebundle_en_US_saprigi.properties +3 -2
  62. package/src/sap/ui/rta/messagebundle_es.properties +1 -0
  63. package/src/sap/ui/rta/messagebundle_es_MX.properties +1 -0
  64. package/src/sap/ui/rta/messagebundle_et.properties +1 -0
  65. package/src/sap/ui/rta/messagebundle_fi.properties +1 -0
  66. package/src/sap/ui/rta/messagebundle_fr.properties +1 -0
  67. package/src/sap/ui/rta/messagebundle_fr_CA.properties +1 -0
  68. package/src/sap/ui/rta/messagebundle_hi.properties +1 -0
  69. package/src/sap/ui/rta/messagebundle_hr.properties +1 -0
  70. package/src/sap/ui/rta/messagebundle_hu.properties +2 -1
  71. package/src/sap/ui/rta/messagebundle_id.properties +1 -0
  72. package/src/sap/ui/rta/messagebundle_it.properties +2 -1
  73. package/src/sap/ui/rta/messagebundle_iw.properties +1 -0
  74. package/src/sap/ui/rta/messagebundle_ja.properties +1 -0
  75. package/src/sap/ui/rta/messagebundle_kk.properties +1 -0
  76. package/src/sap/ui/rta/messagebundle_ko.properties +7 -6
  77. package/src/sap/ui/rta/messagebundle_lt.properties +1 -0
  78. package/src/sap/ui/rta/messagebundle_lv.properties +1 -0
  79. package/src/sap/ui/rta/messagebundle_mk.properties +1 -0
  80. package/src/sap/ui/rta/messagebundle_ms.properties +1 -0
  81. package/src/sap/ui/rta/messagebundle_nl.properties +1 -0
  82. package/src/sap/ui/rta/messagebundle_no.properties +1 -0
  83. package/src/sap/ui/rta/messagebundle_pl.properties +1 -0
  84. package/src/sap/ui/rta/messagebundle_pt.properties +1 -0
  85. package/src/sap/ui/rta/messagebundle_pt_PT.properties +1 -0
  86. package/src/sap/ui/rta/messagebundle_ro.properties +1 -0
  87. package/src/sap/ui/rta/messagebundle_ru.properties +1 -0
  88. package/src/sap/ui/rta/messagebundle_sh.properties +1 -0
  89. package/src/sap/ui/rta/messagebundle_sk.properties +1 -0
  90. package/src/sap/ui/rta/messagebundle_sl.properties +1 -0
  91. package/src/sap/ui/rta/messagebundle_sr.properties +1 -0
  92. package/src/sap/ui/rta/messagebundle_sv.properties +1 -0
  93. package/src/sap/ui/rta/messagebundle_th.properties +1 -0
  94. package/src/sap/ui/rta/messagebundle_tr.properties +1 -0
  95. package/src/sap/ui/rta/messagebundle_uk.properties +1 -0
  96. package/src/sap/ui/rta/messagebundle_vi.properties +1 -0
  97. package/src/sap/ui/rta/messagebundle_zh_CN.properties +1 -0
  98. package/src/sap/ui/rta/messagebundle_zh_TW.properties +1 -0
  99. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +1 -1
  100. package/src/sap/ui/rta/plugin/BaseCreate.js +1 -1
  101. package/src/sap/ui/rta/plugin/Combine.js +1 -1
  102. package/src/sap/ui/rta/plugin/ControlVariant.js +16 -2
  103. package/src/sap/ui/rta/plugin/CreateContainer.js +1 -1
  104. package/src/sap/ui/rta/plugin/CutPaste.js +1 -1
  105. package/src/sap/ui/rta/plugin/DragDrop.js +1 -1
  106. package/src/sap/ui/rta/plugin/LocalReset.js +1 -1
  107. package/src/sap/ui/rta/plugin/Plugin.js +1 -1
  108. package/src/sap/ui/rta/plugin/RTAElementMover.js +1 -1
  109. package/src/sap/ui/rta/plugin/Remove.js +1 -1
  110. package/src/sap/ui/rta/plugin/Rename.js +1 -1
  111. package/src/sap/ui/rta/plugin/RenameHandler.js +1 -1
  112. package/src/sap/ui/rta/plugin/Resize.js +1 -1
  113. package/src/sap/ui/rta/plugin/Selection.js +1 -1
  114. package/src/sap/ui/rta/plugin/Settings.js +1 -1
  115. package/src/sap/ui/rta/plugin/Split.js +1 -1
  116. package/src/sap/ui/rta/plugin/Stretch.js +1 -1
  117. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +1 -1
  118. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +1 -1
  119. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +21 -5
  120. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +1 -1
  121. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +1 -1
  122. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +1 -1
  123. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +1 -1
  124. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +4 -0
  125. package/src/sap/ui/rta/service/Action.js +1 -1
  126. package/src/sap/ui/rta/service/ControllerExtension.js +1 -1
  127. package/src/sap/ui/rta/service/Outline.js +1 -1
  128. package/src/sap/ui/rta/service/Property.js +1 -1
  129. package/src/sap/ui/rta/service/Selection.js +1 -1
  130. package/src/sap/ui/rta/service/SupportTools.js +1 -1
  131. package/src/sap/ui/rta/themes/sap_hcb/base_AddIFrame.less +154 -0
  132. package/src/sap/ui/rta/themes/sap_hcb/base_ChangeVisualization.less +98 -0
  133. package/src/sap/ui/rta/themes/sap_hcb/base_ContextMenu.less +25 -0
  134. package/src/sap/ui/rta/themes/sap_hcb/base_Dialogs.less +79 -0
  135. package/src/sap/ui/rta/themes/sap_hcb/base_FieldRepository.less +48 -0
  136. package/src/sap/ui/rta/themes/sap_hcb/base_FlexSupportExtension.less +14 -0
  137. package/src/sap/ui/rta/themes/sap_hcb/base_MessageBox.less +10 -0
  138. package/src/sap/ui/rta/themes/sap_hcb/base_Overlay.less +271 -0
  139. package/src/sap/ui/rta/themes/sap_hcb/base_OverlayWithScrollbar.less +61 -0
  140. package/src/sap/ui/rta/themes/sap_hcb/base_Toolbar.adaptation.less +299 -0
  141. package/src/sap/ui/rta/themes/sap_hcb/base_Toolbar.base.less +42 -0
  142. package/src/sap/ui/rta/themes/sap_hcb/base_Toolbar.fiori.less +21 -0
  143. package/src/sap/ui/rta/themes/sap_hcb/base_Toolbar.standalone.less +12 -0
  144. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +25 -1
  145. package/src/sap/ui/rta/toolbar/Adaptation.js +1 -1
  146. package/src/sap/ui/rta/toolbar/Base.js +1 -1
  147. package/src/sap/ui/rta/toolbar/Fiori.js +1 -1
  148. package/src/sap/ui/rta/toolbar/FioriLike.js +1 -1
  149. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +1 -1
  150. package/src/sap/ui/rta/toolbar/Standalone.js +1 -1
  151. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +1 -1
  152. package/src/sap/ui/rta/toolbar/translation/Translation.js +1 -1
  153. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +1 -1
  154. package/src/sap/ui/rta/util/PluginManager.js +1 -1
  155. package/src/sap/ui/rta/util/PopupManager.js +1 -1
  156. package/src/sap/ui/rta/util/ReloadManager.js +1 -1
  157. package/src/sap/ui/rta/util/ServiceEventBus.js +1 -1
  158. package/src/sap/ui/rta/util/ServiceManager.js +1 -1
  159. package/src/sap/ui/rta/util/adaptationStarter.js +16 -6
  160. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +1 -1
  161. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +1 -1
  162. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +1 -1
@@ -0,0 +1,299 @@
1
+ /******************************************************************
2
+ Style of the RTA Toolbar (type: adaptation) - base Theme
3
+ *******************************************************************/
4
+ @_sap_ui_rta_Toolbar_Adaptation_BaseColor: darken(desaturate(@sapUiChart1, 48%), 14%); //#435060
5
+ @_sap_ui_rta_Toolbar_Adaptation_BaseColorLight: lighten(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 5%); //#4d5d6f
6
+ @_sap_ui_rta_Toolbar_Adaptation_TextColor: @sapUiTextInverted; //#fff
7
+ @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorder: @sapUiTextInverted; //#fff
8
+ @_sap_ui_rta_Toolbar_Adaptation_BtnHoverBG: @sapUiSegmentedButtonHoverBackground; //#ec8b46
9
+ @_sap_ui_rta_Toolbar_Adaptation_BorderColor: @sapUiLightBorder; //#808080
10
+ @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: lighten(@sapUiActive, 20%); //#f5c5a3
11
+ @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: lighten(@sapUiContentHelpColor, 66%); //#b7ffb7
12
+ @_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor: @sapUiDarkShadowTint; // #000
13
+ @_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor: @sapUiLightShadowTint; // #fff
14
+ @_sap_ui_rta_Toolbar_Adaptation_BtnHoverText: @sapUiTextInverted; //#fff
15
+ @_sap_ui_rta_Toolbar_Adaptation_SegBBtnHoverTextColor: @sapUiTextInverted; //#fff
16
+ @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineCol: @sapUiTextInverted; //#fff
17
+ @_sap_ui_rta_Toolbar_Adaptation_VersionHistoryHover: darken(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 5%);
18
+
19
+ .sapUiRtaMode {
20
+
21
+ .sapUiRtaToolbar.sapUiRtaToolbarAdaptation {
22
+
23
+ .sapMHBox.sapMFlexBox:first-child.sapMTBShrinkItem {
24
+ min-width: 0; /* Overrider '.sapMTBShrinkItem' */
25
+ }
26
+
27
+ .sapMHBox.sapMFlexBox:last-child {
28
+ .sapMFlexItem:first-child {
29
+ .sapMSegB {
30
+ margin-left: 0;
31
+ }
32
+ }
33
+ }
34
+
35
+ .sapMFlexBox {
36
+ margin-left: 0;
37
+ height: 2.5rem; //40px
38
+ }
39
+
40
+ // Disable the right margin for Exit button
41
+ > .sapMFlexItem:last-child {
42
+ > .sapMFlexItem:last-child {
43
+ .sapMBtn:last-child {
44
+ margin-right: 0;
45
+ }
46
+ }
47
+ }
48
+
49
+ .sapMBtn {
50
+ padding: 0;
51
+ height: 2.5rem; //40px
52
+ margin: 0 0.25rem; //4px
53
+
54
+ &.sapMBtnDisabled .sapMBtnInner {
55
+ opacity: 0.5;
56
+ }
57
+
58
+ &:focus .sapMFocusable {
59
+ outline: none;
60
+ border: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorder; //1px
61
+ }
62
+
63
+ &:hover:not(.sapMBtnDisabled) {
64
+ > .sapMBtnTransparent.sapMBtnHoverable:not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnEmphasized) {
65
+ background-color: @_sap_ui_rta_Toolbar_Adaptation_BtnHoverBG;
66
+
67
+ .sapUiIcon {
68
+ color: @_sap_ui_rta_Toolbar_Adaptation_BtnHoverText;
69
+ }
70
+ }
71
+ }
72
+
73
+ &:hover {
74
+ > .sapMBtnTransparent.sapMBtnHoverable:not(.sapMBtnActive):not(.sapMToggleBtnPressed) bdi {
75
+ color: @_sap_ui_rta_Toolbar_Adaptation_BtnHoverText;
76
+ }
77
+ }
78
+ }
79
+
80
+ .sapMTBStandard {
81
+ height: 2.5rem; //40px
82
+ border-bottom: none;
83
+ background: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
84
+ }
85
+
86
+ .sapMBtnTransparent,
87
+ :not(.sapMBtnDisabled) .sapMBtnTransparent > .sapMBtnIcon,
88
+ :not(.sapMBtnDisabled) .sapMBtnGhost > .sapMBtnIcon,
89
+ :not(.sapMBtnDisabled) .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
90
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
91
+ }
92
+
93
+ .sapMSegB {
94
+ .sapMSegBBtn {
95
+ &:not(:hover) {
96
+ .sapMSegBBtnInner {
97
+ background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
98
+ }
99
+ }
100
+
101
+ .sapMSegBBtnInner {
102
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
103
+ border: none;
104
+ position: relative;
105
+
106
+ .sapUiIcon {
107
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
108
+ }
109
+ }
110
+
111
+ &.sapMSegBBtnFocusable {
112
+ &:hover .sapMSegBBtnInner,
113
+ &.sapMSegBBtnSel:hover .sapMSegBBtnInner {
114
+ color: @_sap_ui_rta_Toolbar_Adaptation_SegBBtnHoverTextColor;
115
+
116
+ .sapUiIcon {
117
+ color: @_sap_ui_rta_Toolbar_Adaptation_SegBBtnHoverTextColor;
118
+ }
119
+ }
120
+
121
+ &:focus .sapMSegBBtnInner {
122
+ outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineCol; //1px
123
+ outline-offset: -0.0625rem; //1px
124
+ }
125
+
126
+ &.sapMSegBBtnSel {
127
+ & .sapMSegBBtnInner::after {
128
+ position: absolute;
129
+ display: block;
130
+ content: '';
131
+ border-bottom: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor; //2px
132
+ left: 0.375rem; //6px
133
+ right: 0.375rem; //6px
134
+ bottom: 0.125rem; //2px
135
+ }
136
+ }
137
+ }
138
+ }
139
+ }
140
+
141
+ .sapUiRtaVersionButton.sapUiRtaDraftVersionAccent > span > span > bdi {
142
+ color: @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor;
143
+ }
144
+
145
+ .sapUiRtaVersionButton.sapUiRtaActiveVersionAccent > span > span > bdi {
146
+ color: @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor;
147
+ }
148
+
149
+ .sapUiRtaToolbarVisualizationSelection li:first-child {
150
+ border-bottom: 0.0625rem solid @_sap_ui_rta_Toolbar_Adaptation_BorderColor; //1px
151
+ }
152
+
153
+ .sapUiRtaToolbarActionsSection > div:first-child {
154
+ width: 100%;
155
+ }
156
+
157
+ .sapUiRtaToolbarIconAndDraftSection > div {
158
+ width: 100%;
159
+ }
160
+
161
+ .sapUiRtaToolbarSwitcherSection > div {
162
+ width: 100% !important;
163
+ }
164
+ }
165
+
166
+ .sapUiRtaVersionHistory {
167
+ background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
168
+ box-shadow: 0.375rem 0.625rem 2rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor, 30),
169
+ 0.125rem 0.375rem 1rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_DarkColor, 60),
170
+ 0 0 0 0.0625rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor, 20),
171
+ 0 0.0625rem 0 0 fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadow_LightColor, 20); //10px 20px 6px 6px 1px 1px
172
+
173
+ .sapMGHLITitle {
174
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
175
+ }
176
+
177
+ .sapMListUl > .sapMLIB {
178
+ background: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
179
+ }
180
+
181
+ .sapMLIBHighlightWarning {
182
+ background: @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor;
183
+ }
184
+
185
+ .sapMLIBHighlightWarning ~ .sapMLIBContent .sapMFeedListItemTextString {
186
+ color: @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor;
187
+ }
188
+
189
+ .sapMLIBHighlightSuccess {
190
+ background: @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor;
191
+ }
192
+
193
+ .sapUiRtaVersionsList {
194
+ border-bottom: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
195
+ .sapMLIBTypeInactive {
196
+ &.sapMLIBFocusable:focus {
197
+ outline: none;
198
+ }
199
+ .sapMLIBContent {
200
+ margin-top: -1rem;
201
+ }
202
+ .sapMGHLITitle {
203
+ cursor: default;
204
+ text-align: center;
205
+ width: 100%;
206
+ }
207
+ }
208
+ .sapMListUl .sapMLIB.sapMGHLI {
209
+ border-bottom: 0.0625rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
210
+ background: @_sap_ui_rta_Toolbar_Adaptation_BaseColorLight;
211
+ box-shadow: none;
212
+ }
213
+ }
214
+
215
+ .sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemTextString {
216
+ color: @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor;
217
+ }
218
+
219
+ .sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemInfoText,
220
+ .sapMLIBHighlightSuccess ~ .sapMLIBContent .sapMFeedListItemTimestampText {
221
+ color: @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor;
222
+ }
223
+
224
+ .sapMFeedListItemTextString {
225
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
226
+ cursor: pointer;
227
+ }
228
+
229
+ .sapMFeedListItemFooter,
230
+ .sapMFeedListItemTimestampText,
231
+ .sapMFeedListItemInfoText {
232
+ color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
233
+ cursor: pointer;
234
+ }
235
+
236
+ .sapMFeedListShowSeparatorsAll.sapMLIB,
237
+ .sapMListTblCell,
238
+ .sapMListTblNavCol {
239
+ background-color: @_sap_ui_rta_Toolbar_Adaptation_BaseColor;
240
+ border: 0;
241
+ }
242
+ .sapMPopoverArr:after {
243
+ background-color: lighten(@_sap_ui_rta_Toolbar_Adaptation_BaseColor, 10%);
244
+ border: 0;
245
+ }
246
+
247
+ .sapMLIBFocusable:focus {
248
+ outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_TextColor;
249
+ outline-offset: calc(-0.0625rem - 0.0625rem);
250
+ }
251
+
252
+ .sapMLIBHoverable:hover {
253
+ background: @_sap_ui_rta_Toolbar_Adaptation_VersionHistoryHover;
254
+ }
255
+ }
256
+ }
257
+
258
+ .sapUiSizeCozy.sapUiRtaMode {
259
+ .sapUiRtaToolbar {
260
+ .sapMSegB {
261
+ .sapMSegBBtn.sapMSegBBtnFocusable.sapMSegBBtnSel {
262
+ & .sapMSegBBtnInner:after {
263
+ bottom: 0.375rem; //6px
264
+ left: 0.5625rem; //9px
265
+ right: 0.5625rem; //9px
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
271
+
272
+ .sapUiRtaIconAndDraftToolbar {
273
+ // fit-content is required for the intersection observer
274
+ width: fit-content;
275
+ justify-content: flex-start;
276
+ }
277
+
278
+ .sapUiRtaActionsToolbar {
279
+ // fit-content is required for the intersection observer
280
+ width: fit-content;
281
+ justify-content: flex-end;
282
+ }
283
+
284
+ // the default hbox width which is set via the element properties must be overruled
285
+ .sapUiRtaToolbarIconAndDraftSection,
286
+ .sapUiRtaToolbarActionsSection {
287
+ // display grid is required so the toolbar is positioned on the end into the section hbox
288
+ display: grid;
289
+ width: ~"calc(50% - 12.5rem) !important"; //200px
290
+ }
291
+
292
+ .sapUiRtaVersionButton {
293
+ max-width: 12.5rem; //200px
294
+ min-width: 3rem; //48px
295
+ }
296
+
297
+ .sapUiRtaToolbarSwitcherSection {
298
+ width: auto;
299
+ }
@@ -0,0 +1,42 @@
1
+ /******************************************************************
2
+ Style of the RTA Toolbar (all types) - base Theme
3
+ *******************************************************************/
4
+ @_sap_ui_rta_Toolbar_Base_TextColor: @sapUiTextInverted; //#fff
5
+ @_sap_ui_rta_Toolbar_Base_BaseColor: darken(desaturate(@sapUiChart1, 48%), 14%); //#435060
6
+ @_sap_ui_rta_Toolbar_Base_BaseBG: darken(desaturate(@sapUiChart1, 48%), 14%); //#435060
7
+ @_sap_ui_rta_Toolbar_Base_BoxShadow_DarkColor: @sapUiDarkShadowTint; // #000
8
+ @_sap_ui_rta_Toolbar_Base_BoxShadow_LightColor: @sapUiLightShadowTint; // #fff
9
+ @_sap_ui_rta_Toolbar_Border_Image: repeating-linear-gradient(-45deg,
10
+ @_sap_ui_rta_Toolbar_Base_BaseColor,
11
+ @_sap_ui_rta_Toolbar_Base_BaseColor 0.25rem,
12
+ @_sap_ui_rta_Toolbar_Base_TextColor 0.25rem,
13
+ @_sap_ui_rta_Toolbar_Base_TextColor 0.375rem) 4;
14
+
15
+ @_sap_ui_rta_Toolbar_Box_Shadow: 0.375rem 0.625rem 2rem fade(@_sap_ui_rta_Toolbar_Base_BoxShadow_DarkColor, 30),
16
+ 0.125rem 0.375rem 1rem fade(@_sap_ui_rta_Toolbar_Base_BoxShadow_DarkColor, 60),
17
+ 0 0 0 0.0625rem fade(@_sap_ui_rta_Toolbar_Base_BoxShadow_LightColor, 20),
18
+ 0 0.0625rem 0 0 fade(@_sap_ui_rta_Toolbar_Base_BoxShadow_LightColor, 20);
19
+
20
+ .sapUiRtaMode {
21
+
22
+ .sapUiRtaMarginTopForToolbar {
23
+ margin-top: 3rem; //48px
24
+ }
25
+
26
+ .sapUiRtaToolbar {
27
+ border: 0.125rem solid @_sap_ui_rta_Toolbar_Base_TextColor; //2px
28
+ border-image: @_sap_ui_rta_Toolbar_Border_Image;
29
+ box-shadow: @_sap_ui_rta_Toolbar_Box_Shadow;
30
+ position: absolute;
31
+ top: 0;
32
+ left: 0;
33
+ right: 0;
34
+ padding-left: 1.25rem; //20px
35
+ height: 2.75rem; /* Overrider `.sapUiSizeCompact .sapMTB` */ //44px
36
+ background-color: @_sap_ui_rta_Toolbar_Base_BaseBG;
37
+
38
+ &.sapUiRtaToolbar_scrolling {
39
+ position: fixed!important;
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ This class is being assigned to the original Fiori Header Toolbar when RTA Toolbar shows
3
+ */
4
+
5
+ .sapUiRtaFioriHeaderInvisible {
6
+ visibility: hidden;
7
+ }
8
+
9
+ /* type: fiori */
10
+ .sapUiRtaToolbar.type_fiori {
11
+ transition: opacity 0.25s ease-out;
12
+ opacity: 0;
13
+
14
+ .sapMImg {
15
+ height: 2.5rem !important; // 40px
16
+ }
17
+
18
+ &.is_visible {
19
+ opacity: 1;
20
+ }
21
+ }
@@ -0,0 +1,12 @@
1
+ /******************************************************************
2
+ Style of the RTA Standalone Toolbar - base Theme
3
+ *******************************************************************/
4
+ .sapUiRtaToolbar.type_standalone.color_default {
5
+ top: -3.125rem; //50px;
6
+ transition: top 0.25s ease-out;
7
+ height: 3rem; //48p
8
+
9
+ &.is_visible {
10
+ top: 0;
11
+ }
12
+ }
@@ -3,7 +3,31 @@
3
3
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- @import "../base/library.source.less";
6
+ /* ============================================================================== */
7
+ /* Due to deprecation of sap_hcb with SAPUI5 version 1.46 the library.source.less */
8
+ /* file of base is resolved: Imports to base.less and global.less of */
9
+ /* base are added to this library.source.less file (sap_hcb) and the */
10
+ /* respective control css files of base are added to the sap_hcb theme folder. */
11
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.126. */
12
+ /* ============================================================================== */
13
+
14
+ @import "../../../core/themes/base/base.less";
15
+ @import "../../../core/themes/base/global.less";
16
+
17
+ @import "base_Toolbar.base.less";
18
+ @import "base_Toolbar.adaptation.less";
19
+ @import "base_Toolbar.fiori.less";
20
+ @import "base_Toolbar.standalone.less";
21
+ @import "base_ChangeVisualization.less";
22
+ @import "base_FieldRepository.less";
23
+ @import "base_Overlay.less";
24
+ @import "base_MessageBox.less";
25
+ @import "base_AddIFrame.less";
26
+ @import "base_ContextMenu.less";
27
+ @import "base_Dialogs.less";
28
+ @import "base_OverlayWithScrollbar.less";
29
+ @import "base_FlexSupportExtension.less";
30
+
7
31
  @import "../../../../../sap/ui/core/themes/sap_hcb/global.less";
8
32
 
9
33
  @import "Toolbar.base.less";
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.rta.toolbar.Base
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.125.0
58
+ * @version 1.126.1
59
59
  *
60
60
  * @constructor
61
61
  * @private
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.HBox
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.125.0
36
+ * @version 1.126.1
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.rta.toolbar.Adaptation
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.125.0
35
+ * @version 1.126.1
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.125.0
23
+ * @version 1.126.1
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.OverflowToolbarButton
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.125.0
26
+ * @version 1.126.1
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -20,7 +20,7 @@ function(
20
20
  * @extends sap.ui.rta.toolbar.Adaptation
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.125.0
23
+ * @version 1.126.1
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.125.0
48
+ * @version 1.126.1
49
49
  *
50
50
  * @constructor
51
51
  * @private
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @class
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.125.0
56
+ * @version 1.126.1
57
57
  *
58
58
  * @constructor
59
59
  * @private
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.125.0
41
+ * @version 1.126.1
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * Constructor for a new sap.ui.rta.util.PluginManager
63
63
  * @extends sap.ui.base.ManagedObject
64
64
  * @author SAP SE
65
- * @version 1.125.0
65
+ * @version 1.126.1
66
66
  * @constructor
67
67
  * @private
68
68
  * @since 1.86
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * Constructor for a new sap.ui.rta.util.PopupManager
43
43
  * @extends sap.ui.base.ManagedObject
44
44
  * @author SAP SE
45
- * @version 1.125.0
45
+ * @version 1.126.1
46
46
  * @constructor
47
47
  * @private
48
48
  * @since 1.48
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace sap.ui.rta.util.ReloadManager
31
31
  * @alias sap.ui.rta.util.ReloadManager
32
32
  * @since 1.104
33
- * @version 1.125.0
33
+ * @version 1.126.1
34
34
  * @private
35
35
  * @ui5-restricted
36
36
  */
@@ -19,7 +19,7 @@ function(
19
19
  *
20
20
  * @extends sap.ui.core.EventBus
21
21
  * @author SAP SE
22
- * @version 1.125.0
22
+ * @version 1.126.1
23
23
  * @private
24
24
  * @since 1.56.0
25
25
  * @alias sap.ui.rta.util.ServiceEventBus
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @extends sap.ui.base.ManagedObject
29
29
  * @author SAP SE
30
- * @version 1.125.0
30
+ * @version 1.126.1
31
31
  * @constructor
32
32
  * @private
33
33
  * @since 1.121
@@ -60,7 +60,8 @@ sap.ui.define([
60
60
 
61
61
  /**
62
62
  * Starter util for UI adaptation.
63
- * With this API you are also able to modify the UI adaptation plugins list and or add some event handler functions to be called on start, failed and stop events.
63
+ * With this API you are also able to modify the UI adaptation plugins list and or add some event handler functions
64
+ * to be called on start, failed and stop events.
64
65
  * The function also checks for the Key User authorization and the <code>flexEnabled</code> flag in the manifest.
65
66
  * If either check is not passed successfully the function returns a rejected Promise.
66
67
  *
@@ -105,6 +106,7 @@ sap.ui.define([
105
106
  if (loadPlugins) {
106
107
  return loadPlugins(oRta);
107
108
  }
109
+ return undefined;
108
110
  })
109
111
  .then(function() {
110
112
  return oRta.start();
@@ -151,11 +153,19 @@ sap.ui.define([
151
153
  && !(FlexUtils.getUshellContainer() && vError.reason === "flexEnabled") // FLP Plugin already handles this error
152
154
  ) {
153
155
  var oRtaResourceBundle = Lib.getResourceBundleFor("sap.ui.rta");
154
- showMessageBox(
155
- oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", [vError.message]),
156
- {title: oRtaResourceBundle.getText("MSG_ADAPTATION_COULD_NOT_START")},
157
- "error"
158
- );
156
+ if (vError.reason === "isKeyUser") {
157
+ showMessageBox(
158
+ vError.message,
159
+ {title: oRtaResourceBundle.getText("MSG_ADAPTATION_COULD_NOT_START")},
160
+ "error"
161
+ );
162
+ } else {
163
+ showMessageBox(
164
+ oRtaResourceBundle.getText("MSG_GENERIC_ERROR_MESSAGE", [vError.message]),
165
+ {title: oRtaResourceBundle.getText("MSG_ADAPTATION_COULD_NOT_START")},
166
+ "error"
167
+ );
168
+ }
159
169
  Log.error("UI Adaptation could not be started", vError.message);
160
170
  }
161
171
  throw vError;
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicator
47
47
  * @author SAP SE
48
48
  * @since 1.84.0
49
- * @version 1.125.0
49
+ * @version 1.126.1
50
50
  * @private
51
51
  */
52
52
  const ChangeIndicator = Control.extend("sap.ui.rta.util.changeVisualization.ChangeIndicator", {
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @alias sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry
38
38
  * @author SAP SE
39
39
  * @since 1.86.0
40
- * @version 1.125.0
40
+ * @version 1.126.1
41
41
  * @private
42
42
  */
43
43
  const ChangeIndicatorRegistry = ManagedObject.extend("sap.ui.rta.util.changeVisualization.ChangeIndicatorRegistry", {
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @alias sap.ui.rta.util.changeVisualization.ChangeVisualization
85
85
  * @author SAP SE
86
86
  * @since 1.84.0
87
- * @version 1.125.0
87
+ * @version 1.126.1
88
88
  * @private
89
89
  */
90
90
  const ChangeVisualization = Control.extend("sap.ui.rta.util.changeVisualization.ChangeVisualization", {