@openui5/sap.ui.documentation 1.151.0 → 1.152.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 +5 -5
- package/package.json +7 -7
- package/src/sap/ui/documentation/.library +1 -1
- package/src/sap/ui/documentation/library.js +2 -2
- package/src/sap/ui/documentation/messagebundle.properties +6 -0
- package/src/sap/ui/documentation/messagebundle_ar.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_bg.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_ca.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_cnr.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_cs.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_cy.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_da.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_de.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_el.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_en.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_en_GB.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_es.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_es_MX.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_et.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_fi.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_fr.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_fr_CA.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_hi.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_hr.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_hu.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_id.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_it.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_iw.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_ja.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_kk.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_ko.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_lt.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_lv.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_mk.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_ms.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_nl.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_no.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_pl.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_pt.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_pt_PT.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_ro.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_ru.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_sh.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_sk.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_sl.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_sr.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_sv.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_th.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_tr.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_uk.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_vi.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_zh_CN.properties +3 -0
- package/src/sap/ui/documentation/messagebundle_zh_TW.properties +3 -0
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +332 -342
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +5 -1
- package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/SearchRenderer.js +167 -0
- package/src/sap/ui/documentation/sdk/controller/util/UsageTracker.js +27 -14
- package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
- package/src/sap/ui/documentation/sdk/view/App.view.xml +202 -192
- package/src/sap/ui/documentation/themes/base/Documentation.less +26 -141
- package/src/sap/ui/documentation/themes/sap_belize_base/Documentation.less +0 -140
- package/src/sap/ui/documentation/sdk/view/GlobalSearchPicker.fragment.xml +0 -73
|
@@ -4,213 +4,115 @@
|
|
|
4
4
|
xmlns:tnt="sap.tnt"
|
|
5
5
|
xmlns:core="sap.ui.core"
|
|
6
6
|
xmlns:mvc="sap.ui.core.mvc"
|
|
7
|
-
xmlns:
|
|
8
|
-
xmlns:
|
|
7
|
+
xmlns:webcc="sap.f.gen.ui5.webcomponents.dist"
|
|
8
|
+
xmlns:fiori="sap.f.gen.ui5.webcomponents_fiori.dist"
|
|
9
9
|
displayBlock="true"
|
|
10
10
|
busy="{appView>/busy}"
|
|
11
|
-
busyIndicatorDelay="{appView>/delay}"
|
|
12
|
-
|
|
11
|
+
busyIndicatorDelay="{appView>/delay}"
|
|
12
|
+
core:require="{ allIcons: 'sap/f/thirdparty/ui5/webcomponents_icons/AllIcons' }">
|
|
13
13
|
<tnt:ToolPage id="demoKitPage" class="sapUiDemokit">
|
|
14
14
|
<tnt:header>
|
|
15
|
-
<
|
|
16
|
-
|
|
15
|
+
<fiori:ShellBar
|
|
16
|
+
id="demoKitShellBar"
|
|
17
|
+
class="sapUiDemokitMainHeader"
|
|
18
|
+
showNotifications="{= !${versionData>/isURLVersioned} }"
|
|
19
|
+
notificationsCount="{news>/newsCount}"
|
|
20
|
+
notificationsClick=".onNewsButtonPress"
|
|
21
|
+
searchFieldToggle=".onSearchFieldToggle">
|
|
22
|
+
<fiori:startButton>
|
|
23
|
+
<webcc:Button
|
|
24
|
+
id="sideNavigationToggleButton"
|
|
25
|
+
icon="sap-icon://menu2"
|
|
26
|
+
design="Transparent"
|
|
27
|
+
tooltip="{i18n>APP_TABHEADER_SIDE_NAVIGATION_TOGGLE_TOOLTIP}"
|
|
28
|
+
accessibleName="{i18n>APP_TABHEADER_SIDE_NAVIGATION_TOGGLE_TOOLTIP}"
|
|
29
|
+
visible="{appView>/bPhoneSize}"
|
|
30
|
+
click=".onSideNavigationButtonPress" />
|
|
31
|
+
</fiori:startButton>
|
|
32
|
+
<fiori:branding>
|
|
33
|
+
<fiori:ShellBarBranding text="{i18n>APP_HEADER_TITLE}" click="onHeaderLogoPress">
|
|
34
|
+
<fiori:logo>
|
|
35
|
+
<Image
|
|
36
|
+
src="{= ${versionData>/isOpenUI5} ? ${theme>/OpenUI5Logo} : ${theme>/SAPUI5Logo} }"
|
|
37
|
+
alt="{i18n>APP_HEADER_LOGO_ALT}"
|
|
38
|
+
height="2rem"
|
|
39
|
+
id="sap_logo"
|
|
40
|
+
decorative="false" />
|
|
41
|
+
</fiori:logo>
|
|
42
|
+
</fiori:ShellBarBranding>
|
|
43
|
+
</fiori:branding>
|
|
17
44
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</
|
|
33
|
-
|
|
34
|
-
<grid:GridSettings gridTemplateColumns="1fr auto auto">
|
|
35
|
-
</grid:GridSettings>
|
|
36
|
-
</grid:layoutS>
|
|
37
|
-
</grid:GridResponsiveLayout>
|
|
38
|
-
</grid:customLayout>
|
|
45
|
+
<fiori:searchField>
|
|
46
|
+
<fiori:ShellBarSearch
|
|
47
|
+
id="searchControl"
|
|
48
|
+
placeholder="{i18n>APP_HEADER_SEARCH_FIELD_PLACEHOLDER}"
|
|
49
|
+
showClearIcon="true"
|
|
50
|
+
input=".onSearchLiveChange"
|
|
51
|
+
search=".onSearch"
|
|
52
|
+
close=".onSearchClose"
|
|
53
|
+
class="sapUiDemokitSearchInput">
|
|
54
|
+
<fiori:messageArea>
|
|
55
|
+
<fiori:SearchMessageArea
|
|
56
|
+
text="{searchData>/messageAreaText}"
|
|
57
|
+
visible="{= !${appView>/bPhoneSize} }"
|
|
58
|
+
class="sapUiDemokitSearchMessageArea">
|
|
59
|
+
</fiori:SearchMessageArea>
|
|
60
|
+
</fiori:messageArea>
|
|
39
61
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
icon="sap-icon://menu2"
|
|
43
|
-
press=".onSideNavigationButtonPress"
|
|
44
|
-
visible="{appView>/bPhoneSize}" />
|
|
62
|
+
</fiori:ShellBarSearch>
|
|
63
|
+
</fiori:searchField>
|
|
45
64
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
decorative="false"
|
|
53
|
-
press=".onHeaderLogoPress" />
|
|
65
|
+
<fiori:content>
|
|
66
|
+
<!-- Version Info and Switch Button -->
|
|
67
|
+
<webcc:Label
|
|
68
|
+
text="{parts: ['appView>/bShowVersionSwitchButton', 'versionData>/isDevVersion', 'versionData>/fullVersion'], formatter: '.formatter.formatVersionStatus'}"
|
|
69
|
+
visible="{= ${appView>/bDesktopSize} }">
|
|
70
|
+
</webcc:Label>
|
|
54
71
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
72
|
+
<webcc:Button
|
|
73
|
+
id="versionSwitchButton"
|
|
74
|
+
class="sapUiDemoKitHeaderActionsVersionSwitch"
|
|
75
|
+
design="Default"
|
|
76
|
+
icon="sap-icon://dimension"
|
|
77
|
+
endIcon="sap-icon://slim-arrow-down"
|
|
78
|
+
text="{= ${appView>/bDesktopSize}
|
|
79
|
+
? [${i18n>APP_VERSION_VERSION}, ${versionData>/fullVersion}].join(' ')
|
|
80
|
+
: '' }"
|
|
81
|
+
accessibleName="{= ${appView>/bDesktopSize}
|
|
82
|
+
? [${i18n>APP_VERSION_VERSION}, ${versionData>/fullVersion}].join(' ')
|
|
83
|
+
: '' }"
|
|
84
|
+
visible="{= ${appView>/bShowVersionSwitchButton} }"
|
|
85
|
+
click=".onChangeVersionButtonPress" />
|
|
61
86
|
|
|
62
|
-
<
|
|
63
|
-
<custom:Search
|
|
64
|
-
id="searchControl"
|
|
65
|
-
toggle="onToggleSearchMode"
|
|
66
|
-
search="onSearch"
|
|
67
|
-
liveChange="onSearchLiveChange"
|
|
68
|
-
isOpen="{appView>/bDesktopSize}" />
|
|
69
|
-
</HBox>
|
|
87
|
+
<fiori:ShellBarSpacer/>
|
|
70
88
|
|
|
71
|
-
|
|
72
|
-
<ObjectStatus
|
|
73
|
-
text="{ parts:
|
|
74
|
-
['appView>/bShowVersionSwitchButton', 'versionData>/isDevVersion', 'versionData>/fullVersion'],
|
|
75
|
-
formatter: '.formatter.formatVersionStatus'
|
|
76
|
-
}"
|
|
77
|
-
state="Information"
|
|
78
|
-
inverted="false"
|
|
79
|
-
visible="{= ${appView>/bDesktopSize} && !${appView>/bSearchMode} }">
|
|
80
|
-
</ObjectStatus>
|
|
89
|
+
</fiori:content>
|
|
81
90
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
: '' }"
|
|
90
|
-
tooltip="{= ${appView>/bDesktopSize}
|
|
91
|
-
? [${i18n>APP_VERSION_VERSION}, ${versionData>/fullVersion}].join(' ')
|
|
92
|
-
: '' }"
|
|
93
|
-
press=".onChangeVersionButtonPress"
|
|
94
|
-
visible="{= ${appView>/bShowVersionSwitchButton} }">
|
|
95
|
-
</Button>
|
|
91
|
+
<fiori:ShellBarItem
|
|
92
|
+
id="surveyButton"
|
|
93
|
+
icon="sap-icon://feedback"
|
|
94
|
+
class="sapUiDemoKitHeaderActionsSurveyButton"
|
|
95
|
+
count="{= ${appView>/bShowLongSurvey} ? '1' : '' }"
|
|
96
|
+
click=".launchSurvey"
|
|
97
|
+
text="{i18n>APP_FEEDBACK_BTN_TOOLTIP}"/>
|
|
96
98
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
tooltip="{i18n>APP_FEEDBACK_BTN_TOOLTIP}">
|
|
104
|
-
<customData>
|
|
105
|
-
<BadgeCustomData visible="{appView>/bShowLongSurvey}" value="1" />
|
|
106
|
-
</customData>
|
|
107
|
-
</OverflowToolbarButton>
|
|
99
|
+
<fiori:ShellBarItem
|
|
100
|
+
id="policiesMenuButton"
|
|
101
|
+
icon="sap-icon://official-service"
|
|
102
|
+
class="sapUiDemoKitHeaderActionsMenuButton"
|
|
103
|
+
text="{i18n>APP_LEGAL_BTN_TOOLTIP}"
|
|
104
|
+
click=".onOpenPoliciesMenu"/>
|
|
108
105
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<Menu itemSelected=".onMenuButtonItemSelected">
|
|
116
|
-
<MenuItem
|
|
117
|
-
key="legal"
|
|
118
|
-
icon="sap-icon://compare"
|
|
119
|
-
text="{i18n>APP_INFORMATION_BTN_LEGAL}" />
|
|
120
|
-
<MenuItem
|
|
121
|
-
key="privacy"
|
|
122
|
-
icon="sap-icon://locked"
|
|
123
|
-
text="{i18n>APP_INFORMATION_BTN_PRIVACY}" />
|
|
124
|
-
<MenuItem
|
|
125
|
-
key="license"
|
|
126
|
-
icon="sap-icon://permission"
|
|
127
|
-
text="{i18n>APP_INFORMATION_BTN_LICENSE}"
|
|
128
|
-
visible="{versionData>/isOpenUI5}" />
|
|
129
|
-
<MenuItem
|
|
130
|
-
key="terms_of_use"
|
|
131
|
-
icon="sap-icon://document-text"
|
|
132
|
-
text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}"
|
|
133
|
-
visible="{versionData>/isOpenUI5}" />
|
|
134
|
-
<MenuItem
|
|
135
|
-
key="cookie_preferences"
|
|
136
|
-
icon="sap-icon://user-settings"
|
|
137
|
-
text="{i18n>APP_SETTINGS_DIALOG_COOKIE_PREFERENCES}" />
|
|
138
|
-
<MenuItem
|
|
139
|
-
key="terms_of_use"
|
|
140
|
-
icon="sap-icon://document-text"
|
|
141
|
-
text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}"
|
|
142
|
-
visible="{= !${versionData>/isOpenUI5} && !${versionData>/isDevEnv} }">
|
|
143
|
-
<items>
|
|
144
|
-
<MenuItem key="terms_of_use" text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}" />
|
|
145
|
-
<MenuItem key="copyright" text="{i18n>APP_INFORMATION_BTN_COPYRIGHT}" />
|
|
146
|
-
<MenuItem key="trademark" text="{i18n>APP_INFORMATION_BTN_TRADEMARK}" />
|
|
147
|
-
<MenuItem key="disclaimer" text="{i18n>APP_INFORMATION_BTN_DISCLAIMER}" />
|
|
148
|
-
</items>
|
|
149
|
-
</MenuItem>
|
|
150
|
-
</Menu>
|
|
151
|
-
</menu>
|
|
152
|
-
</OverflowToolbarMenuButton>
|
|
106
|
+
<fiori:ShellBarItem
|
|
107
|
+
id="aboutMenuButton"
|
|
108
|
+
class="sapUiDemoKitHeaderActionsMenuButton"
|
|
109
|
+
icon="sap-icon://action-settings"
|
|
110
|
+
text="{i18n>APP_INFORMATION_BTN_TOOLTIP}"
|
|
111
|
+
click=".onOpenAboutMenu"/>
|
|
153
112
|
|
|
154
|
-
|
|
155
|
-
id="aboutMenuButton"
|
|
156
|
-
class="sapUiDemoKitHeaderActionsMenuButton"
|
|
157
|
-
icon="sap-icon://action-settings"
|
|
158
|
-
text="{i18n>APP_INFORMATION_BTN_SETTINGS}"
|
|
159
|
-
tooltip="{i18n>APP_INFORMATION_BTN_TOOLTIP}">
|
|
160
|
-
<menu>
|
|
161
|
-
<Menu itemSelected=".onMenuButtonItemSelected">
|
|
162
|
-
<items>
|
|
163
|
-
<MenuItem
|
|
164
|
-
key="about"
|
|
165
|
-
icon="sap-icon://hint"
|
|
166
|
-
text="{i18n>APP_INFORMATION_BTN_ABOUT}" />
|
|
167
|
-
<MenuItem
|
|
168
|
-
key="appearance"
|
|
169
|
-
icon="sap-icon://palette"
|
|
170
|
-
text="{i18n>APP_INFORMATION_BTN_APPEARANCE}">
|
|
171
|
-
<items>
|
|
172
|
-
<MenuItem key="light" text="{i18n>APP_INFORMATION_BTN_APPEARANCE_LIGHT}" />
|
|
173
|
-
<MenuItem key="dark" text="{i18n>APP_INFORMATION_BTN_APPEARANCE_DARK}" />
|
|
174
|
-
<MenuItem key="hcb" text="{i18n>APP_INFORMATION_BTN_APPEARANCE_HCB}" />
|
|
175
|
-
<MenuItem key="hcw" text="{i18n>APP_INFORMATION_BTN_APPEARANCE_HCW}" />
|
|
176
|
-
<MenuItem key="auto" text="{i18n>APP_INFORMATION_BTN_APPEARANCE_AUTO}" />
|
|
177
|
-
</items>
|
|
178
|
-
</MenuItem>
|
|
179
|
-
<MenuItem
|
|
180
|
-
key="sitemap"
|
|
181
|
-
icon="sap-icon://tree"
|
|
182
|
-
text="{i18n>APP_INFORMATION_BTN_SITEMAP}"
|
|
183
|
-
visible="{versionData>/isOpenUI5}" />
|
|
184
|
-
<MenuItem
|
|
185
|
-
key="settings"
|
|
186
|
-
icon="sap-icon://hello-world"
|
|
187
|
-
text="{i18n>APP_SETTINGS_DIALOG_LANGUAGE}" />
|
|
188
|
-
<MenuItem
|
|
189
|
-
key="cookie_preferences"
|
|
190
|
-
icon="sap-icon://customize"
|
|
191
|
-
text="{i18n>APP_SETTINGS_DIALOG_COOKIE_PREFERENCES}"
|
|
192
|
-
visible="{versionData>/enableAdvancedCookieSettings}" />
|
|
193
|
-
</items>
|
|
194
|
-
</Menu>
|
|
195
|
-
</menu>
|
|
196
|
-
</OverflowToolbarMenuButton>
|
|
113
|
+
</fiori:ShellBar>
|
|
197
114
|
|
|
198
|
-
<OverflowToolbarButton
|
|
199
|
-
class="sapUiDemoKitHeaderActionsNewsButton"
|
|
200
|
-
icon="sap-icon://bell"
|
|
201
|
-
press=".onNewsButtonPress"
|
|
202
|
-
text="{i18n>APP_INFORMATION_BTN_NEWS}"
|
|
203
|
-
tooltip="{i18n>APP_NEWS_BTN_TOOLTIP}"
|
|
204
|
-
visible="{= !${versionData>/isURLVersioned} }">
|
|
205
|
-
<customData>
|
|
206
|
-
<BadgeCustomData key="badge" value="{news>/newsCount}" />
|
|
207
|
-
</customData>
|
|
208
|
-
</OverflowToolbarButton>
|
|
209
|
-
</OverflowToolbar>
|
|
210
|
-
</grid:CSSGrid>
|
|
211
|
-
</tnt:ToolHeader>
|
|
212
115
|
</tnt:header>
|
|
213
|
-
|
|
214
116
|
<tnt:subHeader>
|
|
215
117
|
<tnt:ToolHeader class="sapUiDemokitSubHeader" visible="{= !${appView>/bPhoneSize} }">
|
|
216
118
|
<IconTabHeader
|
|
@@ -259,7 +161,6 @@
|
|
|
259
161
|
</IconTabHeader>
|
|
260
162
|
</tnt:ToolHeader>
|
|
261
163
|
</tnt:subHeader>
|
|
262
|
-
|
|
263
164
|
<tnt:sideContent>
|
|
264
165
|
<tnt:SideNavigation
|
|
265
166
|
id="demoKitSideNavigation"
|
|
@@ -348,4 +249,113 @@
|
|
|
348
249
|
</ScrollContainer>
|
|
349
250
|
</tnt:mainContents>
|
|
350
251
|
</tnt:ToolPage>
|
|
252
|
+
|
|
253
|
+
<webcc:Menu id="aboutMenu" itemClick="onMenuButtonItemSelected">
|
|
254
|
+
<webcc:MenuItem
|
|
255
|
+
text="{i18n>APP_INFORMATION_BTN_ABOUT}"
|
|
256
|
+
icon="sap-icon://hint"
|
|
257
|
+
id="menuItem-about">
|
|
258
|
+
<webcc:customData>
|
|
259
|
+
<core:CustomData key="action" value="about" />
|
|
260
|
+
</webcc:customData>
|
|
261
|
+
</webcc:MenuItem>
|
|
262
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_APPEARANCE}" icon="sap-icon://palette" id="menuItem-appearance">
|
|
263
|
+
<webcc:customData>
|
|
264
|
+
<core:CustomData key="action" value="appearance" />
|
|
265
|
+
</webcc:customData>
|
|
266
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_APPEARANCE_LIGHT}" id="menuItem-light">
|
|
267
|
+
<webcc:customData>
|
|
268
|
+
<core:CustomData key="action" value="light" />
|
|
269
|
+
</webcc:customData>
|
|
270
|
+
</webcc:MenuItem>
|
|
271
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_APPEARANCE_DARK}" id="menuItem-dark">
|
|
272
|
+
<webcc:customData>
|
|
273
|
+
<core:CustomData key="action" value="dark" />
|
|
274
|
+
</webcc:customData>
|
|
275
|
+
</webcc:MenuItem>
|
|
276
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_APPEARANCE_HCB}" id="menuItem-hcb">
|
|
277
|
+
<webcc:customData>
|
|
278
|
+
<core:CustomData key="action" value="hcb" />
|
|
279
|
+
</webcc:customData>
|
|
280
|
+
</webcc:MenuItem>
|
|
281
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_APPEARANCE_HCW}" id="menuItem-hcw">
|
|
282
|
+
<webcc:customData>
|
|
283
|
+
<core:CustomData key="action" value="hcw" />
|
|
284
|
+
</webcc:customData>
|
|
285
|
+
</webcc:MenuItem>
|
|
286
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_APPEARANCE_AUTO}" id="menuItem-auto">
|
|
287
|
+
<webcc:customData>
|
|
288
|
+
<core:CustomData key="action" value="auto" />
|
|
289
|
+
</webcc:customData>
|
|
290
|
+
</webcc:MenuItem>
|
|
291
|
+
</webcc:MenuItem>
|
|
292
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_SITEMAP}" icon="sap-icon://tree" visible="{versionData>/isOpenUI5}" id="menuItem-sitemap">
|
|
293
|
+
<webcc:customData>
|
|
294
|
+
<core:CustomData key="action" value="sitemap" />
|
|
295
|
+
</webcc:customData>
|
|
296
|
+
</webcc:MenuItem>
|
|
297
|
+
<webcc:MenuItem text="{i18n>APP_SETTINGS_DIALOG_LANGUAGE}" icon="sap-icon://hello-world" id="menuItem-settings">
|
|
298
|
+
<webcc:customData>
|
|
299
|
+
<core:CustomData key="action" value="settings" />
|
|
300
|
+
</webcc:customData>
|
|
301
|
+
</webcc:MenuItem>
|
|
302
|
+
<webcc:MenuItem text="{i18n>APP_SETTINGS_DIALOG_COOKIE_PREFERENCES}" icon="sap-icon://customize" visible="{versionData>/enableAdvancedCookieSettings}" id="menuItem-cookie_preferences">
|
|
303
|
+
<webcc:customData>
|
|
304
|
+
<core:CustomData key="action" value="cookie_preferences" />
|
|
305
|
+
</webcc:customData>
|
|
306
|
+
</webcc:MenuItem>
|
|
307
|
+
</webcc:Menu>
|
|
308
|
+
|
|
309
|
+
<webcc:Menu id="policiesMenu" itemClick="onMenuButtonItemSelected">
|
|
310
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_LEGAL}" icon="sap-icon://compare" id="menuItem-legal">
|
|
311
|
+
<webcc:customData>
|
|
312
|
+
<core:CustomData key="action" value="legal" />
|
|
313
|
+
</webcc:customData>
|
|
314
|
+
</webcc:MenuItem>
|
|
315
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_PRIVACY}" icon="sap-icon://locked" id="menuItem-privacy">
|
|
316
|
+
<webcc:customData>
|
|
317
|
+
<core:CustomData key="action" value="privacy" />
|
|
318
|
+
</webcc:customData>
|
|
319
|
+
</webcc:MenuItem>
|
|
320
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_LICENSE}" icon="sap-icon://permission" visible="{versionData>/isOpenUI5}" id="menuItem-license">
|
|
321
|
+
<webcc:customData>
|
|
322
|
+
<core:CustomData key="action" value="license" />
|
|
323
|
+
</webcc:customData>
|
|
324
|
+
</webcc:MenuItem>
|
|
325
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}" icon="sap-icon://document-text" visible="{versionData>/isOpenUI5}" id="menuItem-terms_of_use">
|
|
326
|
+
<webcc:customData>
|
|
327
|
+
<core:CustomData key="action" value="terms_of_use" />
|
|
328
|
+
</webcc:customData>
|
|
329
|
+
</webcc:MenuItem>
|
|
330
|
+
<webcc:MenuItem text="{i18n>APP_SETTINGS_DIALOG_COOKIE_PREFERENCES}" icon="sap-icon://user-settings" id="menuItem-cookie_preferences_policies">
|
|
331
|
+
<webcc:customData>
|
|
332
|
+
<core:CustomData key="action" value="cookie_preferences" />
|
|
333
|
+
</webcc:customData>
|
|
334
|
+
</webcc:MenuItem>
|
|
335
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}" icon="sap-icon://document-text" visible="{= !${versionData>/isOpenUI5} && !${versionData>/isDevEnv} }" id="menuItem-terms_parent">
|
|
336
|
+
<webcc:customData>
|
|
337
|
+
<core:CustomData key="action" value="terms_parent" />
|
|
338
|
+
</webcc:customData>
|
|
339
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_TERMS_OF_USE}" id="menuItem-terms_of_use_sub">
|
|
340
|
+
<webcc:customData>
|
|
341
|
+
<core:CustomData key="action" value="terms_of_use" />
|
|
342
|
+
</webcc:customData>
|
|
343
|
+
</webcc:MenuItem>
|
|
344
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_COPYRIGHT}" id="menuItem-copyright">
|
|
345
|
+
<webcc:customData>
|
|
346
|
+
<core:CustomData key="action" value="copyright" />
|
|
347
|
+
</webcc:customData>
|
|
348
|
+
</webcc:MenuItem>
|
|
349
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_TRADEMARK}" id="menuItem-trademark">
|
|
350
|
+
<webcc:customData>
|
|
351
|
+
<core:CustomData key="action" value="trademark" />
|
|
352
|
+
</webcc:customData>
|
|
353
|
+
</webcc:MenuItem>
|
|
354
|
+
<webcc:MenuItem text="{i18n>APP_INFORMATION_BTN_DISCLAIMER}" id="menuItem-disclaimer">
|
|
355
|
+
<webcc:customData>
|
|
356
|
+
<core:CustomData key="action" value="disclaimer" />
|
|
357
|
+
</webcc:customData>
|
|
358
|
+
</webcc:MenuItem>
|
|
359
|
+
</webcc:MenuItem>
|
|
360
|
+
</webcc:Menu>
|
|
351
361
|
</mvc:View>
|
|
@@ -931,149 +931,13 @@ html.sapUiMedia-Std-Tablet {
|
|
|
931
931
|
border: none;
|
|
932
932
|
}
|
|
933
933
|
|
|
934
|
-
.sapTntToolPageMain,
|
|
935
|
-
.sapTntToolPageAside {
|
|
936
|
-
margin: 0;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
934
|
.sapUiDemokitMainHeader {
|
|
940
|
-
|
|
941
|
-
padding: 0 0.75rem;
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
.sapUiDemokitMainHeaderGrid {
|
|
945
|
-
align-items: center;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
.sapUiDemoKitHeaderOTB {
|
|
949
|
-
justify-content: end;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
&.sapTntToolHeader .sapMBarChild.sapMMenuBtn .sapMBtn:focus .sapMBtnDefault.sapMFocusable::before {
|
|
953
|
-
outline: @sapContent_FocusStyle @sapContent_FocusWidth @sapContent_FocusColor;
|
|
954
|
-
border: none !important;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
// Apply more polished box-shadow effect
|
|
958
|
-
.sapUiDocumentationSearch {
|
|
959
|
-
.sapMSF .sapMSFF:hover,
|
|
960
|
-
.sapMSFVal.sapMFocus .sapMSFF {
|
|
961
|
-
box-shadow:
|
|
962
|
-
0 0 0.1875rem 0 rgba(85, 107, 130, 0.1),
|
|
963
|
-
0 0.1875rem 0.3125rem 0 rgba(85, 107, 130, 0.3);
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
// Apply some spacing between the logo and the search field
|
|
968
|
-
.sapUiDemokitMainHeaderLogo {
|
|
969
|
-
display: block;
|
|
970
|
-
margin-left: 1rem;
|
|
971
|
-
|
|
972
|
-
@media screen and (max-width: 37.4375em) { // 599px
|
|
973
|
-
margin-right: 1rem;
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
// Align the styles of the MenuButton with the styles of other buttons
|
|
978
|
-
.sapMIBar .sapMMenuBtn {
|
|
979
|
-
.sapMBtn:not(.sapMSBArrow) .sapMBtnInner {
|
|
980
|
-
align-items: center;
|
|
981
|
-
top: -0.1875rem;
|
|
982
|
-
height: 2rem;
|
|
983
|
-
padding-right: 0.125rem;
|
|
984
|
-
|
|
985
|
-
&:after {
|
|
986
|
-
content: none;
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
.sapMBtn:not(.sapMBtnDisabled):hover .sapMBtnInner:not(.sapMBtnActive) {
|
|
991
|
-
box-shadow: none;
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
.sapMBtn .sapMBtnInner.sapMBtnDefault .sapUiIcon {
|
|
995
|
-
color: @sapContent_IconColor;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
&.sapMMenuBtnRegular .sapMBtnInner::after {
|
|
999
|
-
color: @sapContent_IconColor;
|
|
1000
|
-
height: 2rem;
|
|
1001
|
-
line-height: 2rem;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
// Button states
|
|
1005
|
-
&:focus .sapMBtnDefault.sapMFocusable {
|
|
1006
|
-
&::before {
|
|
1007
|
-
outline: @sapContent_FocusStyle @sapContent_FocusWidth @sapContent_FocusColor;
|
|
1008
|
-
border: none !important;
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
&:hover:not(.sapMBtnDisabled) .sapMBtnDefault {
|
|
1013
|
-
background: @sapButton_Lite_Hover_Background;
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
&:active:not(.sapMBtnDisabled) .sapMBtnDefault {
|
|
1017
|
-
background: @sapActiveColor;
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
// Adjust the style of the version switch button to match the design specifiaction
|
|
1022
|
-
.sapUiDemoKitHeaderActionsVersionSwitch .sapMBtnInner {
|
|
1023
|
-
&:after {
|
|
1024
|
-
content: "\e287";
|
|
1025
|
-
font-family: "SAP-icons";
|
|
1026
|
-
position: relative;
|
|
1027
|
-
top: 0.5rem;
|
|
1028
|
-
margin-left: 0.5rem;
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
935
|
+
--sapPageHeader_BorderColor: transparent;
|
|
1031
936
|
}
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
// Align the icons of the menu buttons in overflow popover
|
|
1035
|
-
.sapMOTAPopover.sapMPopover .sapMPopoverCont .sapMPopoverScroll {
|
|
1036
|
-
.sapUiDemoKitHeaderActionsVersionSwitch {
|
|
1037
|
-
.sapMBtnInner.sapMBtnTransparent.sapMBtnHoverable {
|
|
1038
|
-
background-color: @sapUiButtonBackground;
|
|
1039
|
-
border: 0.0625rem solid @sapUiButtonBorderColor;
|
|
1040
|
-
color: @sapUiButtonTextColor;
|
|
1041
|
-
|
|
1042
|
-
bdi,
|
|
1043
|
-
.sapMBtnIcon {
|
|
1044
|
-
color: @sapUiButtonTextColor;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
&:hover:not(.sapMBtnActive) {
|
|
1048
|
-
background-color: @sapUiButtonHoverBackground;
|
|
1049
|
-
color: sapUiButtonHoverTextColor;
|
|
1050
|
-
box-shadow: @sapContent_Interaction_Shadow;
|
|
1051
|
-
|
|
1052
|
-
.sapMBtnIcon {
|
|
1053
|
-
color: sapUiButtonHoverTextColor;
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
937
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
color: @sapUiButtonActiveTextColor;
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
.sapUiDemoKitHeaderActionsMenuButton.sapMMenuBtn {
|
|
1067
|
-
.sapMBtnIcon {
|
|
1068
|
-
margin-left: -0.0625rem;
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
.sapMBtn.sapMBarChild[class*="sapUiDemoKitHeaderActions"] {
|
|
1073
|
-
.sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
|
|
1074
|
-
position: absolute;
|
|
1075
|
-
top: -0.3125rem;
|
|
1076
|
-
}
|
|
938
|
+
.sapTntToolPageMain,
|
|
939
|
+
.sapTntToolPageAside {
|
|
940
|
+
margin: 0;
|
|
1077
941
|
}
|
|
1078
942
|
}
|
|
1079
943
|
|
|
@@ -1261,4 +1125,25 @@ html.sap-tablet {
|
|
|
1261
1125
|
border-radius: 0;
|
|
1262
1126
|
}
|
|
1263
1127
|
}
|
|
1264
|
-
}
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
// Global search suggestions: keep each result on a single line.
|
|
1131
|
+
// The renderer folds the result summary into the item text ("title: summary"),
|
|
1132
|
+
// and the web component's `title` part is exposed for styling, so it is
|
|
1133
|
+
// constrained to one line and truncated with an ellipsis (matching the SDK design).
|
|
1134
|
+
.sapUiDemokitSearchInput [ui5-search-item]::part(title) {
|
|
1135
|
+
display: block;
|
|
1136
|
+
white-space: nowrap;
|
|
1137
|
+
overflow: hidden;
|
|
1138
|
+
text-overflow: ellipsis;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.sapUiDemokitSearchMessageArea {
|
|
1142
|
+
height: 2.5rem;
|
|
1143
|
+
margin-inline-start: 0.5rem;
|
|
1144
|
+
padding-block-start: 0.375rem;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.sapUiDemokitSearchCategoryGroup::part(header) {
|
|
1148
|
+
margin-block-start: 0.5rem;
|
|
1149
|
+
}
|