@openui5/sap.ui.documentation 1.97.1 → 1.100.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/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +15 -22
- package/package.json +6 -6
- package/src/sap/ui/documentation/.library +1 -1
- package/src/sap/ui/documentation/TitleLink.js +1 -2
- package/src/sap/ui/documentation/library.js +4 -5
- package/src/sap/ui/documentation/messagebundle.properties +20 -8
- package/src/sap/ui/documentation/messagebundle_ar.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_bg.properties +15 -4
- package/src/sap/ui/documentation/messagebundle_ca.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_cs.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_cy.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_da.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_de.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_el.properties +15 -4
- package/src/sap/ui/documentation/messagebundle_en.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_en_GB.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +19 -8
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +19 -8
- package/src/sap/ui/documentation/messagebundle_es.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_es_MX.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_et.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_fi.properties +17 -6
- package/src/sap/ui/documentation/messagebundle_fr.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_fr_CA.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_hi.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_hr.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_hu.properties +15 -4
- package/src/sap/ui/documentation/messagebundle_id.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_it.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_iw.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_ja.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_kk.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_ko.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_lt.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_lv.properties +15 -4
- package/src/sap/ui/documentation/messagebundle_ms.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_nl.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_no.properties +17 -6
- package/src/sap/ui/documentation/messagebundle_pl.properties +15 -4
- package/src/sap/ui/documentation/messagebundle_pt.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_pt_PT.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_ro.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_ru.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_sh.properties +17 -6
- package/src/sap/ui/documentation/messagebundle_sk.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_sl.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_sv.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_th.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_tr.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_uk.properties +17 -6
- package/src/sap/ui/documentation/messagebundle_vi.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_zh_CN.properties +16 -5
- package/src/sap/ui/documentation/messagebundle_zh_TW.properties +16 -5
- package/src/sap/ui/documentation/sdk/Component.js +1 -5
- package/src/sap/ui/documentation/sdk/controller/ApiDetail.controller.js +9 -15
- package/src/sap/ui/documentation/sdk/controller/ApiDetailIndexDeprecatedExperimental.controller.js +1 -3
- package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +0 -2
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +1 -3
- package/src/sap/ui/documentation/sdk/controller/BaseController.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -2
- package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +15 -18
- package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +1 -2
- package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +1 -2
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +252 -166
- package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +2 -3
- package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +4 -5
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +8 -9
- package/src/sap/ui/documentation/sdk/controller/TermsOfUse.controller.js +3 -2
- package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +24 -26
- package/src/sap/ui/documentation/sdk/controller/TopicDetailInitial.controller.js +2 -2
- package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +2 -0
- package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/config/sampleForwardingConfig.js +40 -0
- package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +3 -4
- package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +7 -6
- package/src/sap/ui/documentation/sdk/controller/util/DataTable.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/DataTableHelper.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/IndexWorker.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDown.js +0 -2
- package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterDropDownRenderer.js +7 -1
- package/src/sap/ui/documentation/sdk/controller/util/datatable/filters/DataTableFilterRange.js +2 -4
- package/src/sap/ui/documentation/sdk/controller/util/overlay/Overlay.js +1 -1
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -2
- package/src/sap/ui/documentation/sdk/css/style.css +11 -2
- package/src/sap/ui/documentation/sdk/index.html +133 -25
- package/src/sap/ui/documentation/sdk/model/formatter.js +1 -1
- package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -4
- package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +11 -5
- package/src/sap/ui/documentation/sdk/util/Resources.js +5 -2
- package/src/sap/ui/documentation/sdk/view/NewsPopover.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/Sample.view.xml +5 -1
- package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +87 -39
- package/src/sap/ui/documentation/sdk/view/appSettingsDialog.fragment.xml +1 -0
- package/src/sap/ui/documentation/themes/sap_horizon_dark/library.source.less +9 -0
- package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +9 -0
- package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +9 -0
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/documentation/sdk/controller/BaseController",
|
|
11
11
|
"sap/ui/documentation/sdk/controller/util/NewsInfo",
|
|
12
12
|
"sap/ui/documentation/sdk/controller/util/SearchUtil",
|
|
13
|
-
"sap/ui/core/mvc/Controller",
|
|
14
13
|
"sap/ui/model/Filter",
|
|
15
14
|
"sap/ui/model/FilterOperator",
|
|
16
15
|
"sap/ui/model/json/JSONModel",
|
|
@@ -39,7 +38,6 @@ sap.ui.define([
|
|
|
39
38
|
BaseController,
|
|
40
39
|
NewsInfo,
|
|
41
40
|
SearchUtil,
|
|
42
|
-
Controller,
|
|
43
41
|
Filter,
|
|
44
42
|
FilterOperator,
|
|
45
43
|
JSONModel,
|
|
@@ -1340,7 +1338,7 @@ sap.ui.define([
|
|
|
1340
1338
|
|
|
1341
1339
|
/**
|
|
1342
1340
|
* Event handler for the rating to update the label and the data
|
|
1343
|
-
* @param {sap.ui.base.Event}
|
|
1341
|
+
* @param {sap.ui.base.Event} oEvent
|
|
1344
1342
|
*/
|
|
1345
1343
|
onPressRatingButton: function(oEvent) {
|
|
1346
1344
|
var that = this;
|
|
@@ -161,7 +161,7 @@ sap.ui.define([
|
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Opens a legal disclaimer for Links Popover.
|
|
164
|
-
* @param {sap.ui.base.Event} oEvent
|
|
164
|
+
* @param {sap.ui.base.Event} oEvent the <code>Image</code> press event
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
167
167
|
onDisclaimerLinkPress: function (oEvent) {
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/thirdparty/jquery",
|
|
9
8
|
"sap/ui/documentation/sdk/controller/SampleBaseController",
|
|
10
9
|
"sap/ui/documentation/sdk/controller/util/ControlsInfo",
|
|
11
10
|
"sap/ui/documentation/sdk/model/formatter",
|
|
@@ -13,7 +12,7 @@ sap.ui.define([
|
|
|
13
12
|
"sap/base/util/merge",
|
|
14
13
|
"sap/ui/core/Component",
|
|
15
14
|
"sap/ui/core/Core"
|
|
16
|
-
], function(
|
|
15
|
+
], function(SampleBaseController, ControlsInfo, formatter, JSONModel, merge, Component, Core) {
|
|
17
16
|
"use strict";
|
|
18
17
|
|
|
19
18
|
return SampleBaseController.extend("sap.ui.documentation.sdk.controller.Code", {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"jquery
|
|
8
|
+
"sap/ui/thirdparty/jquery",
|
|
9
9
|
"sap/ui/Device",
|
|
10
10
|
"sap/ui/documentation/sdk/controller/BaseController",
|
|
11
11
|
"sap/ui/model/json/JSONModel",
|
|
@@ -15,11 +15,12 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/model/FilterOperator",
|
|
16
16
|
"sap/ui/model/Sorter",
|
|
17
17
|
"sap/base/util/Version",
|
|
18
|
-
"sap/ui/thirdparty/jquery",
|
|
19
18
|
"sap/base/util/UriParameters",
|
|
20
19
|
"sap/ui/util/Storage",
|
|
21
20
|
"sap/ui/core/Core",
|
|
22
|
-
"sap/ui/documentation/sdk/controller/util/Highlighter"
|
|
21
|
+
"sap/ui/documentation/sdk/controller/util/Highlighter",
|
|
22
|
+
"sap/ui/documentation/sdk/util/Resources",
|
|
23
|
+
"sap/m/BusyDialog"
|
|
23
24
|
], function(
|
|
24
25
|
jQuery,
|
|
25
26
|
Device,
|
|
@@ -31,11 +32,12 @@ sap.ui.define([
|
|
|
31
32
|
FilterOperator,
|
|
32
33
|
Sorter,
|
|
33
34
|
Version,
|
|
34
|
-
jQueryDOM,
|
|
35
35
|
UriParameters,
|
|
36
36
|
Storage,
|
|
37
37
|
Core,
|
|
38
|
-
Highlighter
|
|
38
|
+
Highlighter,
|
|
39
|
+
ResourcesUtil,
|
|
40
|
+
BusyDialog
|
|
39
41
|
) {
|
|
40
42
|
"use strict";
|
|
41
43
|
|
|
@@ -255,7 +257,7 @@ sap.ui.define([
|
|
|
255
257
|
|
|
256
258
|
// Handle content density change
|
|
257
259
|
if (this._oViewSettings.densityMode !== sDensityMode) {
|
|
258
|
-
this._toggleContentDensityClasses(
|
|
260
|
+
this._toggleContentDensityClasses(jQuery(document.body), sDensityMode);
|
|
259
261
|
this._oViewSettings.densityMode = sDensityMode;
|
|
260
262
|
bContentDensityChanged = true;
|
|
261
263
|
}
|
|
@@ -280,9 +282,9 @@ sap.ui.define([
|
|
|
280
282
|
}
|
|
281
283
|
|
|
282
284
|
// Apply theme and compact mode also to iframe samples if there is actually a change
|
|
283
|
-
if (bRTLChanged || bContentDensityChanged || bThemeChanged) {
|
|
285
|
+
if ((bRTLChanged || bContentDensityChanged || bThemeChanged) && !ResourcesUtil.getHasProxy()) {
|
|
284
286
|
|
|
285
|
-
$SampleFrame =
|
|
287
|
+
$SampleFrame = jQuery("#sampleFrame");
|
|
286
288
|
if ($SampleFrame.length > 0) {
|
|
287
289
|
oSampleFrameContent = $SampleFrame[0].contentWindow;
|
|
288
290
|
if (oSampleFrameContent) {
|
|
@@ -403,8 +405,7 @@ sap.ui.define([
|
|
|
403
405
|
|
|
404
406
|
getGroupHeader: function (oGroup) {
|
|
405
407
|
return new GroupHeaderListItem({
|
|
406
|
-
title: oGroup.key
|
|
407
|
-
upperCase: false
|
|
408
|
+
title: oGroup.key
|
|
408
409
|
});
|
|
409
410
|
},
|
|
410
411
|
|
|
@@ -602,10 +603,10 @@ sap.ui.define([
|
|
|
602
603
|
aFilters.push(new Filter("searchTags", FilterOperator.Contains, this._sFilterValue));
|
|
603
604
|
|
|
604
605
|
// add filters for view settings
|
|
605
|
-
|
|
606
|
+
jQuery.each(this._oListSettings.filter, function (sProperty, oValues) {
|
|
606
607
|
var aPropertyFilters = [];
|
|
607
608
|
|
|
608
|
-
|
|
609
|
+
jQuery.each(oValues, function (sKey, bValue) {
|
|
609
610
|
var sOperator = (sProperty === "formFactors") ? FilterOperator.Contains : FilterOperator.EQ;
|
|
610
611
|
aPropertyFilters.push(new Filter(sProperty, sOperator, sKey));
|
|
611
612
|
});
|
|
@@ -661,7 +662,7 @@ sap.ui.define([
|
|
|
661
662
|
// calculate text
|
|
662
663
|
var aFilterTexts = [];
|
|
663
664
|
|
|
664
|
-
|
|
665
|
+
jQuery.each(this._oListSettings.filter, function (sProperty, oValues) {
|
|
665
666
|
aFilterTexts = aFilterTexts.concat(Object.keys(oValues));
|
|
666
667
|
});
|
|
667
668
|
|
|
@@ -714,8 +715,7 @@ sap.ui.define([
|
|
|
714
715
|
* @public
|
|
715
716
|
*/
|
|
716
717
|
handleSaveAppSettings: function () {
|
|
717
|
-
var
|
|
718
|
-
sDensityMode = this._oCore.byId('DensityModeSwitch').getSelectedKey(),
|
|
718
|
+
var sDensityMode = this._oCore.byId('DensityModeSwitch').getSelectedKey(),
|
|
719
719
|
sTheme = this._oCore.byId('ThemeSelect').getSelectedKey(),
|
|
720
720
|
bRTL = this._oCore.byId('RTLSwitch').getState();
|
|
721
721
|
|
|
@@ -723,9 +723,6 @@ sap.ui.define([
|
|
|
723
723
|
|
|
724
724
|
// Lazy loading of busy dialog
|
|
725
725
|
if (!this._oBusyDialog) {
|
|
726
|
-
//TODO: global jquery call found
|
|
727
|
-
jQuery.sap.require("sap.m.BusyDialog");
|
|
728
|
-
BusyDialog = sap.ui.require("sap/m/BusyDialog");
|
|
729
726
|
this._oBusyDialog = new BusyDialog();
|
|
730
727
|
this.getView().addDependent(this._oBusyDialog);
|
|
731
728
|
}
|
|
@@ -9,7 +9,6 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/documentation/sdk/controller/BaseController",
|
|
10
10
|
"sap/ui/documentation/sdk/controller/util/ControlsInfo",
|
|
11
11
|
"sap/ui/documentation/sdk/controller/util/EntityInfo",
|
|
12
|
-
"sap/ui/documentation/sdk/controller/util/APIInfo",
|
|
13
12
|
"sap/ui/documentation/sdk/util/ToggleFullScreenHandler",
|
|
14
13
|
"sap/ui/documentation/sdk/controller/util/JSDocUtil",
|
|
15
14
|
"sap/m/Label",
|
|
@@ -17,7 +16,7 @@ sap.ui.define([
|
|
|
17
16
|
"sap/m/Text",
|
|
18
17
|
"sap/m/HBox",
|
|
19
18
|
"sap/m/ObjectAttribute"
|
|
20
|
-
], function (JSONModel, BaseController, ControlsInfo, EntityInfo,
|
|
19
|
+
], function (JSONModel, BaseController, ControlsInfo, EntityInfo, ToggleFullScreenHandler,
|
|
21
20
|
JSDocUtil, Label, Link, Text, HBox, ObjectAttribute) {
|
|
22
21
|
"use strict";
|
|
23
22
|
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/documentation/sdk/controller/BaseController",
|
|
9
|
-
"sap/m/library",
|
|
10
9
|
"sap/ui/model/json/JSONModel",
|
|
11
10
|
"sap/ui/thirdparty/URI",
|
|
12
11
|
"sap/uxap/ThrottledTaskHelper"
|
|
13
|
-
], function (BaseController,
|
|
12
|
+
], function (BaseController, JSONModel, URI, ThrottledTask) {
|
|
14
13
|
"use strict";
|
|
15
14
|
|
|
16
15
|
var SRC_FILE_NAMES = {
|