@openui5/sap.ui.ux3 1.92.0 → 1.93.3
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 +5 -0
- package/THIRDPARTY.txt +10 -1
- package/package.json +4 -4
- package/src/sap/ui/ux3/.library +1 -1
- package/src/sap/ui/ux3/ActionBar.js +1 -1
- package/src/sap/ui/ux3/ActionBarRenderer.js +2 -2
- package/src/sap/ui/ux3/Collection.js +1 -1
- package/src/sap/ui/ux3/CollectionInspector.js +1 -1
- package/src/sap/ui/ux3/DataSet.js +1 -1
- package/src/sap/ui/ux3/DataSetItem.js +1 -1
- package/src/sap/ui/ux3/DataSetSimpleView.js +1 -1
- package/src/sap/ui/ux3/Exact.js +1 -1
- package/src/sap/ui/ux3/ExactArea.js +1 -1
- package/src/sap/ui/ux3/ExactAttribute.js +1 -1
- package/src/sap/ui/ux3/ExactBrowser.js +1 -1
- package/src/sap/ui/ux3/ExactList.js +1 -1
- package/src/sap/ui/ux3/FacetFilter.js +1 -1
- package/src/sap/ui/ux3/FacetFilterList.js +1 -1
- package/src/sap/ui/ux3/Feed.js +1 -1
- package/src/sap/ui/ux3/FeedChunk.js +1 -1
- package/src/sap/ui/ux3/Feeder.js +1 -1
- package/src/sap/ui/ux3/NavigationBar.js +1 -1
- package/src/sap/ui/ux3/NavigationItem.js +1 -1
- package/src/sap/ui/ux3/NotificationBar.js +47 -36
- package/src/sap/ui/ux3/Notifier.js +1 -1
- package/src/sap/ui/ux3/Overlay.js +1 -1
- package/src/sap/ui/ux3/OverlayContainer.js +1 -1
- package/src/sap/ui/ux3/OverlayDialog.js +1 -1
- package/src/sap/ui/ux3/QuickView.js +1 -1
- package/src/sap/ui/ux3/Shell.js +1 -1
- package/src/sap/ui/ux3/ThingAction.js +1 -1
- package/src/sap/ui/ux3/ThingGroup.js +1 -1
- package/src/sap/ui/ux3/ThingInspector.js +1 -1
- package/src/sap/ui/ux3/ThingViewer.js +1 -1
- package/src/sap/ui/ux3/ToolPopup.js +2 -2
- package/src/sap/ui/ux3/library.js +2 -2
package/.reuse/dep5
CHANGED
|
@@ -464,3 +464,8 @@ Copyright:
|
|
|
464
464
|
License: Apache-2.0
|
|
465
465
|
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
|
466
466
|
|
|
467
|
+
Files: src/sap.ui.core/src/sap/ui/core/themes/base/base.less src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
468
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
469
|
+
License: Apache-2.0
|
|
470
|
+
Comment: these files belong to: SAP Theming Base Content
|
|
471
|
+
|
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.7
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -462,6 +462,15 @@ License: Apache-2.0
|
|
|
462
462
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
463
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
464
|
|
|
465
|
+
Component: SAP Theming Base Content, version: 11.1.34
|
|
466
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
467
|
+
License: Apache-2.0
|
|
468
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
|
+
Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
|
|
470
|
+
src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
|
|
471
|
+
src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
|
|
472
|
+
src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
473
|
+
|
|
465
474
|
|
|
466
475
|
ALL LICENSE TEXTS:
|
|
467
476
|
==================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.ux3",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.93.3",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.ux3",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.commons": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.commons": "1.93.3",
|
|
18
|
+
"@openui5/sap.ui.core": "1.93.3",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.93.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/ui/ux3/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.93.3</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Controls that implement the SAP User Experience (UX) Guidelines 3.0</documentation>
|
|
12
12
|
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
*
|
|
73
73
|
* When using this control, please be aware that it fulfills rather specific requirements: it has been designed for and is used within composite controls QuickView and ThingInspector.
|
|
74
74
|
* @extends sap.ui.core.Control
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.93.3
|
|
76
76
|
*
|
|
77
77
|
* @constructor
|
|
78
78
|
* @public
|
|
@@ -97,7 +97,7 @@ sap.ui.define(["./library"],
|
|
|
97
97
|
//There may be business actions which have to be displayed in the "More Menu"
|
|
98
98
|
this._renderMoreMenuButton(rm, oMoreMenuButton);
|
|
99
99
|
}
|
|
100
|
-
}
|
|
100
|
+
};
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Renders "More" menu button if present
|
|
@@ -108,7 +108,7 @@ sap.ui.define(["./library"],
|
|
|
108
108
|
* @param {sap.ui.commons.MenuButton}
|
|
109
109
|
* oMoreMenuButton menu button to be rendered, may be null
|
|
110
110
|
* @private
|
|
111
|
-
|
|
111
|
+
*/
|
|
112
112
|
ActionBarRenderer._renderMoreMenuButton = function (rm, oMoreMenuButton) {
|
|
113
113
|
|
|
114
114
|
if (oMoreMenuButton) {
|
package/src/sap/ui/ux3/Exact.js
CHANGED
package/src/sap/ui/ux3/Feed.js
CHANGED
package/src/sap/ui/ux3/Feeder.js
CHANGED
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @extends sap.ui.core.Control
|
|
57
57
|
*
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.93.3
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
@@ -1117,8 +1117,8 @@ sap.ui.define([
|
|
|
1117
1117
|
display = "block";
|
|
1118
1118
|
break;
|
|
1119
1119
|
|
|
1120
|
-
default:
|
|
1121
1120
|
case NotificationBarStatus.Default:
|
|
1121
|
+
default:
|
|
1122
1122
|
/*
|
|
1123
1123
|
* If bar should be resized from maximized to default a re-rendering
|
|
1124
1124
|
* is needed. Otherwise a simple animation and CSS exchange is
|
|
@@ -1259,44 +1259,55 @@ sap.ui.define([
|
|
|
1259
1259
|
};
|
|
1260
1260
|
|
|
1261
1261
|
NotificationBar.prototype.getHeightOfStatus = function(sStatus) {
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
// Default
|
|
1280
|
-
// Maybe disabling the resize feature would be the better
|
|
1281
|
-
// approach in this case
|
|
1282
|
-
var _iHeight = parseInt(this.getHeightOfStatus(NotificationBarStatus.Default));
|
|
1283
|
-
if (iHeight < _iHeight) {
|
|
1284
|
-
iHeight = _iHeight + 1;
|
|
1285
|
-
}
|
|
1286
|
-
} else {
|
|
1287
|
-
var sMessage = "No valid percantage value given for maximized size. 400px is used";
|
|
1288
|
-
Log.warning(sMessage);
|
|
1262
|
+
if (sStatus == NotificationBarStatus.None) {
|
|
1263
|
+
return "0px";
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
var mParamеters = Object.assign({
|
|
1267
|
+
// add base styles as default
|
|
1268
|
+
"sapUiNotificationBarHeightMinimized": "0px",
|
|
1269
|
+
"sapUiNotificationBarHeight": "40px",
|
|
1270
|
+
"sapUiNotificationBarHeightMaximized": "40%"
|
|
1271
|
+
}, Parameters.get({
|
|
1272
|
+
name: ["sapUiNotificationBarHeightMinimized", "sapUiNotificationBarHeight", "sapUiNotificationBarHeightMaximized"],
|
|
1273
|
+
callback: this.invalidate.bind(this)
|
|
1274
|
+
}));
|
|
1275
|
+
|
|
1276
|
+
switch (sStatus) {
|
|
1277
|
+
case NotificationBarStatus.Min:
|
|
1278
|
+
return mParamеters["sapUiNotificationBarHeightMinimized"];
|
|
1289
1279
|
|
|
1290
|
-
|
|
1280
|
+
case NotificationBarStatus.Max:
|
|
1281
|
+
return this.calculateStatusHeightMax(mParamеters["sapUiNotificationBarHeightMaximized"]);
|
|
1282
|
+
|
|
1283
|
+
case NotificationBarStatus.Default:
|
|
1284
|
+
default:
|
|
1285
|
+
return mParamеters["sapUiNotificationBarHeight"];
|
|
1286
|
+
}
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
NotificationBar.prototype.calculateStatusHeightMax = function(sParam) {
|
|
1290
|
+
var iIndex = sParam.indexOf("%");
|
|
1291
|
+
if (iIndex !== -1) {
|
|
1292
|
+
var iPercentage = parseInt(sParam),
|
|
1293
|
+
iHeight = jQuery(window).height();
|
|
1294
|
+
|
|
1295
|
+
iHeight = parseInt(iHeight / 100 * iPercentage);
|
|
1296
|
+
|
|
1297
|
+
// Ensure that the MaxHeight is at least 1 px larger than the
|
|
1298
|
+
// Default
|
|
1299
|
+
// Maybe disabling the resize feature would be the better
|
|
1300
|
+
// approach in this case
|
|
1301
|
+
var _iHeight = parseInt(this.getHeightOfStatus(NotificationBarStatus.Default));
|
|
1302
|
+
if (iHeight < _iHeight) {
|
|
1303
|
+
iHeight = _iHeight + 1;
|
|
1291
1304
|
}
|
|
1292
|
-
return iHeight + "px";
|
|
1293
1305
|
} else {
|
|
1294
|
-
|
|
1295
|
-
return "0px";
|
|
1296
|
-
}
|
|
1306
|
+
Log.warning("No valid percantage value given for maximized size. 400px is used");
|
|
1297
1307
|
|
|
1298
|
-
|
|
1299
|
-
|
|
1308
|
+
iHeight = 400;
|
|
1309
|
+
}
|
|
1310
|
+
return iHeight + "px";
|
|
1300
1311
|
};
|
|
1301
1312
|
|
|
1302
1313
|
NotificationBar.prototype.setVisibleStatus = function(toStatus) {
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @class
|
|
27
27
|
* Dialog implementation based on the Overlay. If used in a Shell it leaves the Tool-Palette, Pane-Bar and Header-Items accessible.
|
|
28
28
|
* @extends sap.ui.ux3.Overlay
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.93.3
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
package/src/sap/ui/ux3/Shell.js
CHANGED
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* The Ux3 GoldReflection Shell, which is an application frame with navigation capabilities.
|
|
89
89
|
* It is supposed to be added to a direct child of the BODY tag of a page and there should be no other parts of the page consuming space outside the Shell.
|
|
90
90
|
* @extends sap.ui.core.Control
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.93.3
|
|
92
92
|
*
|
|
93
93
|
* @constructor
|
|
94
94
|
* @public
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* ThingViewer: Same as ThingInspector but decoupled from the Overlay and the ActionBar.
|
|
34
34
|
* The control can be added to a Parent container that has a defined width. The ThingViewer fill the whole container. If the parent container has no width defined the control will not work properly.
|
|
35
35
|
* @extends sap.ui.core.Control
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.93.3
|
|
37
37
|
*
|
|
38
38
|
* @constructor
|
|
39
39
|
* @public
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
*
|
|
64
64
|
* @namespace
|
|
65
65
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.93.3
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -675,8 +675,8 @@ sap.ui.define([
|
|
|
675
675
|
iOffsetX = -this.iArrowWidth;
|
|
676
676
|
break;
|
|
677
677
|
|
|
678
|
-
default:
|
|
679
678
|
case "Left":
|
|
679
|
+
default:
|
|
680
680
|
iOffsetX = this.iArrowWidth;
|
|
681
681
|
break;
|
|
682
682
|
}
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @name sap.ui.ux3
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.93.3
|
|
24
24
|
* @public
|
|
25
25
|
* @since 0.13
|
|
26
26
|
* @deprecated Since 1.38
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
// delegate further initialization of this library to the Core
|
|
30
30
|
sap.ui.getCore().initLibrary({
|
|
31
31
|
name : "sap.ui.ux3",
|
|
32
|
-
version: "1.
|
|
32
|
+
version: "1.93.3",
|
|
33
33
|
dependencies : ["sap.ui.core","sap.ui.commons"],
|
|
34
34
|
types: [
|
|
35
35
|
"sap.ui.ux3.ActionBarSocialActions",
|