@openui5/sap.ui.documentation 1.119.1 → 1.120.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +6 -6
- 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_da.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_el.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_en.properties +3 -3
- package/src/sap/ui/documentation/messagebundle_en_GB.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_es.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_et.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_fi.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_fr.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_hi.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_hr.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_hu.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_id.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_ko.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_lt.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_mk.properties +427 -0
- package/src/sap/ui/documentation/messagebundle_ms.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_pt.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_sh.properties +52 -52
- package/src/sap/ui/documentation/messagebundle_th.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_vi.properties +1 -1
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +1 -48
- package/src/sap/ui/documentation/sdk/controller/Code.controller.js +5 -2
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +35 -17
- package/src/sap/ui/documentation/sdk/controller/util/EntityInfo.js +20 -18
- package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +3 -5
- package/src/sap/ui/documentation/sdk/controls/FileEditor.js +5 -13
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +3 -4
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_mk.properties +11 -0
- package/src/sap/ui/documentation/sdk/css/style.css +0 -14
- package/src/sap/ui/documentation/sdk/tmpl/index.html.tmpl +1 -1
- package/src/sap/ui/documentation/sdk/tmpl/indexevo.html.tmpl +1 -1
- package/src/sap/ui/documentation/sdk/tmpl/ui5.yaml.tmpl +2 -2
- package/src/sap/ui/documentation/sdk/view/App.view.xml +4 -13
- package/src/sap/ui/documentation/sdk/view/Code.view.xml +0 -10
- package/src/sap/ui/documentation/sdk/view/Sample.view.xml +1 -1
- package/src/sap/ui/documentation/themes/base/Documentation.less +19 -34
|
@@ -12,8 +12,7 @@ sap.ui.define(
|
|
|
12
12
|
"sap/m/Image",
|
|
13
13
|
"sap/m/MessageStrip",
|
|
14
14
|
"sap/ui/codeeditor/CodeEditor",
|
|
15
|
-
"sap/ui/core/Control"
|
|
16
|
-
"sap/base/util/restricted/_debounce"
|
|
15
|
+
"sap/ui/core/Control"
|
|
17
16
|
],
|
|
18
17
|
function(FileUtils, extend, IconTabHeader, IconTabFilter, Image, MessageStrip, CodeEditor, Control) {
|
|
19
18
|
"use strict";
|
|
@@ -128,14 +127,6 @@ sap.ui.define(
|
|
|
128
127
|
this._fetchContents();
|
|
129
128
|
};
|
|
130
129
|
|
|
131
|
-
FileEditor.prototype.setEditable = function(editable) {
|
|
132
|
-
editable != undefined ? this.setProperty("editable", editable) : this.setProperty("editable", true);
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
FileEditor.prototype.getEditable = function() {
|
|
136
|
-
return this.getProperty("editable");
|
|
137
|
-
};
|
|
138
|
-
|
|
139
130
|
FileEditor.prototype.setFiles = function(aFiles) {
|
|
140
131
|
this._getHeader().destroyItems();
|
|
141
132
|
this._bFetch = true;
|
|
@@ -241,7 +232,7 @@ sap.ui.define(
|
|
|
241
232
|
return oEl.key === sSelectedFileKey;
|
|
242
233
|
}),
|
|
243
234
|
oSelectedFile = this._aFiles[iSelectedFileIndex],
|
|
244
|
-
bEditable =
|
|
235
|
+
bEditable = oSelectedFile.editable;
|
|
245
236
|
|
|
246
237
|
//choose code editor type dependent on file type
|
|
247
238
|
//default editor type 'javascript' applies syntax checks on editor content
|
|
@@ -311,9 +302,10 @@ sap.ui.define(
|
|
|
311
302
|
|
|
312
303
|
FileEditor.prototype._fetchContents = function() {
|
|
313
304
|
var aFetchPromises = this._aFiles.map(function(oFile) {
|
|
314
|
-
var
|
|
305
|
+
var sUrl = oFile.url,
|
|
306
|
+
sType = sUrl.substring(oFile.url.lastIndexOf(".") + 1);
|
|
315
307
|
oFile._type = FileEditor.mimetypes[sType] || "text/plain";
|
|
316
|
-
oFile.promise = FileUtils.fetch(
|
|
308
|
+
oFile.promise = FileUtils.fetch(sUrl);
|
|
317
309
|
return oFile.promise;
|
|
318
310
|
});
|
|
319
311
|
|
|
@@ -8,9 +8,8 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/core/Component",
|
|
9
9
|
"sap/ui/core/mvc/Controller",
|
|
10
10
|
"sap/ui/VersionInfo",
|
|
11
|
-
"sap/base/util/merge"
|
|
12
|
-
|
|
13
|
-
], function(CoreComponent, Controller, VersionInfo, merge, UriParameters) {
|
|
11
|
+
"sap/base/util/merge"
|
|
12
|
+
], function(CoreComponent, Controller, VersionInfo, merge) {
|
|
14
13
|
"use strict";
|
|
15
14
|
|
|
16
15
|
var Component = CoreComponent.extend("sap.ui.documentation.sdk.cookieSettingsDialog.Component", {
|
|
@@ -25,7 +24,7 @@ sap.ui.define([
|
|
|
25
24
|
},
|
|
26
25
|
|
|
27
26
|
enable: function(oRootView) {
|
|
28
|
-
var oUriParameters =
|
|
27
|
+
var oUriParameters = new URLSearchParams(window.location.search),
|
|
29
28
|
sParameter = "cookie-settings-dialog",
|
|
30
29
|
bCookieSettingsParameter = oUriParameters.has(sParameter);
|
|
31
30
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
COOKIE_SETTINGS_DIALOG_TITLE=\u0412\u0430\u0436\u0438 \u043F\u043E\u0441\u0442\u0430\u0432\u043A\u0438 \u0437\u0430 \u043A\u043E\u043B\u0430\u0447\u0438\u045A\u0430
|
|
3
|
+
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=\u041F\u043E\u0442\u0440\u0435\u0431\u043D\u0438 \u043A\u043E\u043B\u0430\u0447\u0438\u045A\u0430
|
|
4
|
+
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=\u041A\u043E\u043B\u0430\u0447\u0438\u045A\u0430\u0442\u0430 \u0441\u0435 \u043F\u043E\u0442\u0440\u0435\u0431\u043D\u0438 \u0441\u043E \u0446\u0435\u043B \u0434\u0430 \u0441\u0435 \u043E\u0432\u043E\u0437\u043C\u043E\u0436\u0438 \u0441\u0443\u0448\u0442\u0438\u043D\u0441\u043A\u0430\u0442\u0430 \u043D\u0430\u043C\u0435\u043D\u0430 \u043D\u0430 \u0432\u0435\u0431-\u043B\u043E\u043A\u0430\u0446\u0438\u0458\u0430\u0442\u0430.
|
|
5
|
+
COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=\u041A\u043E\u0440\u0438\u0441\u0442\u0438\u043C\u0435 \u043A\u043E\u043B\u0430\u0447\u0438\u045A\u0430 \u0441\u043E \u0446\u0435\u043B \u0434\u0430 \u0433\u043E \u043F\u043E\u0434\u043E\u0431\u0440\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0442\u043E \u0438\u0441\u043A\u0443\u0441\u0442\u0432\u043E \u043D\u0430 \u0432\u0435\u0431-\u043B\u043E\u043A\u0430\u0446\u0438\u0458\u0430\u0442\u0430. \u0410\u043A\u043E \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435 \u0434\u0430 \u0458\u0430 \u043A\u043E\u0440\u0438\u0441\u0442\u0438\u0442\u0435 \u0432\u0435\u0431-\u043B\u043E\u043A\u0430\u0446\u0438\u0458\u0430\u0442\u0430, \u0442\u043E\u0433\u0430\u0448 \u0441\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0443\u0432\u0430\u0442\u0435 \u043D\u0430 \u043A\u043E\u0440\u0438\u0441\u0442\u0435\u045A\u0435 \u043D\u0430 \u043D\u0430\u0448\u0438\u0442\u0435 \u043A\u043E\u043B\u0430\u0447\u0438\u045A\u0430.
|
|
6
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=\u041F\u043E\u0432\u0435\u045C\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438
|
|
7
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=\u041F\u0440\u0438\u0444\u0430\u0442\u0438 \u0433\u0438 \u0441\u0438\u0442\u0435
|
|
8
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=\u041E\u0434\u0431\u0438\u0458 \u0433\u0438 \u0441\u0438\u0442\u0435
|
|
9
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SET_PREFERENCES=\u041F\u043E\u0441\u0442\u0430\u0432\u0438 \u043F\u0440\u0435\u0442\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438
|
|
10
|
+
COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SAVE_PREFERENCES=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u043F\u0440\u0435\u0442\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438
|
|
11
|
+
COOKIE_SETTINGS_DIALOG_CANCEL_BTN=\u041E\u0442\u043A\u0430\u0436\u0438
|
|
@@ -11,20 +11,6 @@
|
|
|
11
11
|
vertical-align: bottom;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.newsButton.sapMBtn .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator,
|
|
15
|
-
.surveyButton.sapMBtn .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 0;
|
|
18
|
-
right: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.sapUiSizeCompact .newsButton.sapMBtn .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator,
|
|
23
|
-
.sapUiSizeCompact .surveyButton.sapMBtn .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
|
|
24
|
-
top: -0.125rem;
|
|
25
|
-
right: -0.125rem;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
14
|
.sapUiDemokitCustomNLI.sapMNLI {
|
|
29
15
|
cursor: default;
|
|
30
16
|
}
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
alt="{i18n>APP_HEADER_LOGO_ALT}"
|
|
49
49
|
class="sapUiDemokitMainHeaderLogo"
|
|
50
50
|
height="2rem"
|
|
51
|
+
id="sap_logo"
|
|
51
52
|
decorative="false"
|
|
52
53
|
press="onHeaderLogoPress" />
|
|
53
54
|
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
|
|
70
71
|
<OverflowToolbar class="sapUiDemoKitHeaderOTB" style="Clear">
|
|
71
72
|
<ObjectStatus
|
|
72
|
-
text="{= ${versionData>/isDevVersion}
|
|
73
|
+
text="{= ${versionData>/isDevVersion} && !${appView>/bShowVersionSwitchButton}
|
|
73
74
|
? [${i18n>APP_VERSION_VERSION}, ${versionData>/version}, ${i18n>APP_VERSION_IN_PROGRESS}].join(' ')
|
|
74
75
|
: '' }"
|
|
75
76
|
state="Information"
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
? [${i18n>APP_VERSION_VERSION}, ${versionData>/version}].join(' ')
|
|
87
88
|
: '' }"
|
|
88
89
|
press="onChangeVersionButtonPress"
|
|
89
|
-
visible="{= ${appView>/bShowVersionSwitchButton}
|
|
90
|
+
visible="{= ${appView>/bShowVersionSwitchButton} }">
|
|
90
91
|
</Button>
|
|
91
92
|
|
|
92
93
|
<OverflowToolbarButton
|
|
@@ -187,7 +188,7 @@
|
|
|
187
188
|
</OverflowToolbarMenuButton>
|
|
188
189
|
|
|
189
190
|
<OverflowToolbarButton
|
|
190
|
-
class="
|
|
191
|
+
class="sapUiDemoKitHeaderActionsNewsButton"
|
|
191
192
|
icon="sap-icon://bell"
|
|
192
193
|
press="onNewsButtonPress"
|
|
193
194
|
text="{i18n>APP_INFORMATION_BTN_NEWS}"
|
|
@@ -244,12 +245,6 @@
|
|
|
244
245
|
key="tools"
|
|
245
246
|
icon="sap-icon://wrench"
|
|
246
247
|
text="{i18n>APP_TABHEADER_ITEM_TOOLS}">
|
|
247
|
-
<items>
|
|
248
|
-
<IconTabFilter key="fioriTools" text="{i18n>APP_TABHEADER_SUBITEM_FIORI_TOOLS}" />
|
|
249
|
-
<IconTabFilter key="iconExplorer" text="{i18n>APP_TABHEADER_SUBITEM_ICON_EXPLORER}" />
|
|
250
|
-
<IconTabFilter key="ui5Inspector" text="{i18n>APP_TABHEADER_SUBITEM_UI5_INSPECTOR}" />
|
|
251
|
-
<IconTabFilter key="ui5Tooling" text="{i18n>APP_TABHEADER_SUBITEM_UI5_TOOLING}" />
|
|
252
|
-
</items>
|
|
253
248
|
</IconTabFilter>
|
|
254
249
|
</items>
|
|
255
250
|
</IconTabHeader>
|
|
@@ -288,10 +283,6 @@
|
|
|
288
283
|
key="tools"
|
|
289
284
|
icon="sap-icon://wrench"
|
|
290
285
|
text="{i18n>APP_TABHEADER_ITEM_TOOLS}">
|
|
291
|
-
<tnt:NavigationListItem key="fioriTools" text="{i18n>APP_TABHEADER_SUBITEM_FIORI_TOOLS}" />
|
|
292
|
-
<tnt:NavigationListItem key="iconExplorer" text="{i18n>APP_TABHEADER_SUBITEM_ICON_EXPLORER}" />
|
|
293
|
-
<tnt:NavigationListItem key="ui5Inspector" text="{i18n>APP_TABHEADER_SUBITEM_UI5_INSPECTOR}" />
|
|
294
|
-
<tnt:NavigationListItem key="ui5Tooling" text="{i18n>APP_TABHEADER_SUBITEM_UI5_TOOLING}" />
|
|
295
286
|
</tnt:NavigationListItem>
|
|
296
287
|
</tnt:NavigationList>
|
|
297
288
|
</tnt:SideNavigation>
|
|
@@ -64,21 +64,11 @@
|
|
|
64
64
|
${device>/orientation/landscape} ) }"
|
|
65
65
|
tooltip="{i18n>SAMPLE_FULLSCREEN_BTN_TOOLTIP}"
|
|
66
66
|
press="onToggleFullScreen" />
|
|
67
|
-
<Button
|
|
68
|
-
id="toggleRTA"
|
|
69
|
-
icon="sap-icon://wrench"
|
|
70
|
-
class="sapUiHideOnPhone"
|
|
71
|
-
tooltip="{i18n>SAMPLE_ADAPT_BTN_TOOLTIP}"
|
|
72
|
-
enabled="false" />
|
|
73
67
|
<Button visible="{/showNewTab}"
|
|
74
68
|
id="newTab"
|
|
75
69
|
tooltip="{i18n>SAMPLE_NEW_TAB_BTN_TOOLTIP}"
|
|
76
70
|
icon="sap-icon://inspect"
|
|
77
71
|
press="onNewTab" />
|
|
78
|
-
<Button id="sampleSettings"
|
|
79
|
-
visible="{= ${/showSettings} && !${/iframe} }"
|
|
80
|
-
icon="sap-icon://action-settings"
|
|
81
|
-
press="handleSettings" />
|
|
82
72
|
</contentRight>
|
|
83
73
|
</Bar>
|
|
84
74
|
</subHeader>
|
|
@@ -952,38 +952,6 @@ html.sapUiMedia-Std-Tablet {
|
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
|
|
956
|
-
.sapUiDemokitSubHeader {
|
|
957
|
-
.sapMITBTextOnly .sapMITBHead .sapMITBItem:not(.sapUiDnDDragging):is([id*="toolsTab"]) {
|
|
958
|
-
.sapMITBFilterExpandBtnSeparator {
|
|
959
|
-
display: none;
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
&:focus .sapMITBText::after {
|
|
963
|
-
right: -2.25rem;
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
[id*="toolsTab-expandButton"] {
|
|
967
|
-
.sapMBtnInner {
|
|
968
|
-
width: 1.25rem;
|
|
969
|
-
height: 1.25rem;
|
|
970
|
-
left: 0.5rem;
|
|
971
|
-
|
|
972
|
-
.sapMBtnIcon {
|
|
973
|
-
width: 1.25rem;
|
|
974
|
-
height: 1.25rem;
|
|
975
|
-
line-height: 1.25rem;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
&:hover {
|
|
980
|
-
.sapMBtnInner {
|
|
981
|
-
box-shadow: none;
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
955
|
}
|
|
988
956
|
|
|
989
957
|
// Align the icons of the menu buttons in overflow popover
|
|
@@ -1023,11 +991,28 @@ html.sapUiMedia-Std-Tablet {
|
|
|
1023
991
|
margin-left: -0.0625rem;
|
|
1024
992
|
}
|
|
1025
993
|
}
|
|
994
|
+
|
|
995
|
+
.sapMBtn.sapMBarChild.sapUiDemoKitHeaderActionsNewsButton {
|
|
996
|
+
.sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
|
|
997
|
+
position: absolute;
|
|
998
|
+
top: -0.3125rem;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1026
1001
|
}
|
|
1027
1002
|
|
|
1028
1003
|
.sapUiSizeCompact .sapUiDemokit .sapUiDemokitMainHeader {
|
|
1029
|
-
.sapMBtn.
|
|
1030
|
-
|
|
1004
|
+
.sapMBtn.sapMBarChild.sapUiDemoKitHeaderActionsNewsButton {
|
|
1005
|
+
.sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
|
|
1006
|
+
top: -0.1875rem;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.sapUiSizeCozy .sapUiDemokit .sapUiDemokitMainHeader {
|
|
1012
|
+
.sapMBtn.sapMBarChild.sapUiDemoKitHeaderActionsNewsButton {
|
|
1013
|
+
.sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
|
|
1014
|
+
top: -0.125rem;
|
|
1015
|
+
}
|
|
1031
1016
|
}
|
|
1032
1017
|
}
|
|
1033
1018
|
|