@openui5/sap.ui.ux3 1.91.0 → 1.93.2

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 (39) hide show
  1. package/.reuse/dep5 +46 -0
  2. package/THIRDPARTY.txt +59 -1
  3. package/package.json +4 -4
  4. package/src/sap/ui/ux3/.library +1 -1
  5. package/src/sap/ui/ux3/ActionBar.js +1 -1
  6. package/src/sap/ui/ux3/ActionBarRenderer.js +2 -2
  7. package/src/sap/ui/ux3/Collection.js +1 -1
  8. package/src/sap/ui/ux3/CollectionInspector.js +1 -1
  9. package/src/sap/ui/ux3/DataSet.js +3 -3
  10. package/src/sap/ui/ux3/DataSetItem.js +1 -1
  11. package/src/sap/ui/ux3/DataSetSimpleView.js +1 -1
  12. package/src/sap/ui/ux3/DataSetSimpleViewRenderer.js +1 -1
  13. package/src/sap/ui/ux3/Exact.js +1 -1
  14. package/src/sap/ui/ux3/ExactArea.js +1 -1
  15. package/src/sap/ui/ux3/ExactAttribute.js +1 -1
  16. package/src/sap/ui/ux3/ExactBrowser.js +1 -1
  17. package/src/sap/ui/ux3/ExactList.js +1 -1
  18. package/src/sap/ui/ux3/FacetFilter.js +1 -1
  19. package/src/sap/ui/ux3/FacetFilterList.js +1 -1
  20. package/src/sap/ui/ux3/Feed.js +1 -1
  21. package/src/sap/ui/ux3/FeedChunk.js +1 -1
  22. package/src/sap/ui/ux3/FeedChunkRenderer.js +1 -1
  23. package/src/sap/ui/ux3/Feeder.js +1 -1
  24. package/src/sap/ui/ux3/NavigationBar.js +1 -1
  25. package/src/sap/ui/ux3/NavigationItem.js +1 -1
  26. package/src/sap/ui/ux3/NotificationBar.js +47 -36
  27. package/src/sap/ui/ux3/Notifier.js +1 -1
  28. package/src/sap/ui/ux3/Overlay.js +1 -1
  29. package/src/sap/ui/ux3/OverlayContainer.js +1 -1
  30. package/src/sap/ui/ux3/OverlayDialog.js +1 -1
  31. package/src/sap/ui/ux3/QuickView.js +1 -1
  32. package/src/sap/ui/ux3/Shell.js +2 -2
  33. package/src/sap/ui/ux3/ShellPersonalization.js +14 -22
  34. package/src/sap/ui/ux3/ThingAction.js +1 -1
  35. package/src/sap/ui/ux3/ThingGroup.js +1 -1
  36. package/src/sap/ui/ux3/ThingInspector.js +1 -1
  37. package/src/sap/ui/ux3/ThingViewer.js +1 -1
  38. package/src/sap/ui/ux3/ToolPopup.js +33 -7
  39. package/src/sap/ui/ux3/library.js +3 -2
package/.reuse/dep5 CHANGED
@@ -352,6 +352,11 @@ Copyright: 2006 Google Inc.
352
352
  License: Apache-2.0
353
353
  Comment: these files belong to: google-code-prettify
354
354
 
355
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
356
+ Copyright: 2006-2020, Ivan Sagalaev
357
+ License: BSD-3-Clause
358
+ Comment: these files belong to: highlight.js
359
+
355
360
  Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
356
361
  Copyright: 2017 Wei Song and Oliver Nightingale
357
362
  License: MIT
@@ -411,6 +416,35 @@ License: Apache-2.0 and MIT
411
416
  Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
412
417
 
413
418
 
419
+ # Library: sap.ui.webc.common:
420
+
421
+ Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theme-base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
422
+ Copyright: SAP
423
+ License: Apache-2.0
424
+ Comment: these files belong to: UI5 Web Components
425
+
426
+ Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/*.*
427
+ Copyright: Google LLC
428
+ License: BSD-3-Clause
429
+ Comment: these files belong to: lit-html
430
+
431
+
432
+ # Library: sap.ui.webc.fiori:
433
+
434
+ Files: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
435
+ Copyright: SAP
436
+ License: Apache-2.0
437
+ Comment: these files belong to: UI5 Web Components
438
+
439
+
440
+ # Library: sap.ui.webc.main:
441
+
442
+ Files: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
443
+ Copyright: SAP
444
+ License: Apache-2.0
445
+ Comment: these files belong to: UI5 Web Components
446
+
447
+
414
448
  # Outside of Libraries:
415
449
 
416
450
  Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
@@ -423,3 +457,15 @@ Copyright: 2015-2017 Evgeny Poberezkin
423
457
  License: MIT
424
458
  Comment: these files belong to: ajv
425
459
 
460
+ Files: lib/jsdoc/ui5/plugin.js
461
+ Copyright:
462
+ 2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
463
+ 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
464
+ License: Apache-2.0
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
+
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.6
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
@@ -330,6 +330,12 @@ License: Apache-2.0
330
330
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
331
331
  Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
332
332
 
333
+ Component: highlight.js, version: 10.4.1
334
+ Copyright: 2006-2020, Ivan Sagalaev
335
+ License: BSD-3-Clause
336
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
337
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
338
+
333
339
  Component: Elasticlunr, version: 0.9.5
334
340
  Copyright: 2017 Wei Song and Oliver Nightingale
335
341
  License: MIT
@@ -399,6 +405,43 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
399
405
  Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
400
406
 
401
407
 
408
+ Library: sap.ui.webc.common:
409
+
410
+ Component: UI5 Web Components, version: 1.0.0-rc.12
411
+ Copyright: SAP
412
+ License: Apache-2.0
413
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
414
+ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
415
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theme-base/*.*
416
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
417
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
418
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
419
+
420
+ Component: lit-html, version: 1.4.1
421
+ Copyright: Google LLC
422
+ License: BSD-3-Clause
423
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
424
+ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/*.*
425
+
426
+
427
+ Library: sap.ui.webc.fiori:
428
+
429
+ Component: UI5 Web Components, version: 1.0.0-rc.12
430
+ Copyright: SAP
431
+ License: Apache-2.0
432
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
433
+ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
434
+
435
+
436
+ Library: sap.ui.webc.main:
437
+
438
+ Component: UI5 Web Components, version: 1.0.0-rc.12
439
+ Copyright: SAP
440
+ License: Apache-2.0
441
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
442
+ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
443
+
444
+
402
445
  Outside of Libraries:
403
446
 
404
447
  Component: LESS, version: 1.6.3
@@ -413,6 +456,21 @@ License: MIT
413
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
414
457
  Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
415
458
 
459
+ Component: JSDoc 3, version: 3.6.7
460
+ Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
461
+ License: Apache-2.0
462
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
+ Contained in: lib/jsdoc/ui5/plugin.js
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
+
416
474
 
417
475
  ALL LICENSE TEXTS:
418
476
  ==================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.ux3",
3
- "version": "1.91.0",
3
+ "version": "1.93.2",
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.91.0",
18
- "@openui5/sap.ui.core": "1.91.0",
19
- "@openui5/sap.ui.unified": "1.91.0"
17
+ "@openui5/sap.ui.commons": "1.93.2",
18
+ "@openui5/sap.ui.core": "1.93.2",
19
+ "@openui5/sap.ui.unified": "1.93.2"
20
20
  }
21
21
  }
@@ -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.91.0</version>
9
+ <version>1.93.2</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.91.0
75
+ * @version 1.93.2
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) {
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/model/SelectionModel', './library'
20
20
  * @class
21
21
  * Collection
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.91.0
23
+ * @version 1.93.2
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class
30
30
  * CollectionInspector
31
31
  * @extends sap.ui.core.Control
32
- * @version 1.91.0
32
+ * @version 1.93.2
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @class
45
45
  * DataSet
46
46
  * @extends sap.ui.core.Control
47
- * @version 1.91.0
47
+ * @version 1.93.2
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -509,12 +509,12 @@ sap.ui.define([
509
509
  this.clearSelection();
510
510
  if (!bMode) {
511
511
  this.setProperty("multiSelect", false);
512
- if (!!this.selectionModel) {
512
+ if (this.selectionModel) {
513
513
  this.selectionModel.setSelectionMode(SelectionModel.SINGLE_SELECTION);
514
514
  }
515
515
  } else {
516
516
  this.setProperty("multiSelect", true);
517
- if (!!this.selectionModel) {
517
+ if (this.selectionModel) {
518
518
  this.selectionModel.setSelectionMode(SelectionModel.MULTI_SELECTION);
519
519
  }
520
520
  }
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
20
20
  * @class
21
21
  * DataSet Item
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.91.0
23
+ * @version 1.93.2
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * DataSetSimpleView provides a simple view example for DataSet usage.
38
38
  * @extends sap.ui.core.Control
39
39
  * @implements sap.ui.ux3.DataSetView
40
- * @version 1.91.0
40
+ * @version 1.93.2
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -4,7 +4,7 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Provides default renderer for the sap.ui.ux3.DataSetSimpleView
7
+ // Provides default renderer for the sap.ui.ux3.DataSetSimpleView
8
8
  sap.ui.define([],
9
9
  function() {
10
10
  "use strict";
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.ui.core.Control
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.91.0
55
+ * @version 1.93.2
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.91.0
32
+ * @version 1.93.2
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.91.0
26
+ * @version 1.93.2
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.91.0
53
+ * @version 1.93.2
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.91.0
65
+ * @version 1.93.2
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.91.0
34
+ * @version 1.93.2
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.91.0
31
+ * @version 1.93.2
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.Control
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.91.0
54
+ * @version 1.93.2
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.Control
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.91.0
52
+ * @version 1.93.2
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -187,7 +187,7 @@ sap.ui.define([
187
187
  // normal word
188
188
  rm.writeEscaped(sWord + sSpace, true);
189
189
  }
190
- }while (iPos >= 0);
190
+ } while (iPos >= 0);
191
191
 
192
192
  };
193
193
 
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.Control
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.91.0
52
+ * @version 1.93.2
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.91.0
65
+ * @version 1.93.2
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Item', './library'],
22
22
  * @extends sap.ui.core.Item
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.91.0
25
+ * @version 1.93.2
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.ui.core.Control
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.91.0
59
+ * @version 1.93.2
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
- var sParam = "";
1263
-
1264
- if (sStatus == NotificationBarStatus.Min) {
1265
- sParam = "sapUiNotificationBarHeightMinimized";
1266
- } else if (sStatus == NotificationBarStatus.Default) {
1267
- sParam = "sapUiNotificationBarHeight";
1268
- } else if (sStatus == NotificationBarStatus.Max) {
1269
- sParam = "sapUiNotificationBarHeightMaximized";
1270
- sParam = Parameters.get(sParam);
1271
-
1272
- var iIndex = sParam.indexOf("%");
1273
- if (iIndex != -1) {
1274
- var iPercentage = sParam.substring(0, iIndex);
1275
- var iHeight = jQuery(window).height();
1276
- iHeight = parseInt(iHeight / 100 * iPercentage);
1277
-
1278
- // Ensure that the MaxHeight is at least 1 px larger than the
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
- iHeight = 400;
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
- // sStatus == sap.ui.ux3.NotificationBarStatus.None
1295
- return "0px";
1296
- }
1306
+ Log.warning("No valid percantage value given for maximized size. 400px is used");
1297
1307
 
1298
- sParam = Parameters.get(sParam);
1299
- return sParam;
1308
+ iHeight = 400;
1309
+ }
1310
+ return iHeight + "px";
1300
1311
  };
1301
1312
 
1302
1313
  NotificationBar.prototype.setVisibleStatus = function(toStatus) {
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.core.Element
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.91.0
39
+ * @version 1.93.2
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @implements sap.ui.core.PopupInterface
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.91.0
38
+ * @version 1.93.2
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.ux3.Overlay
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.91.0
31
+ * @version 1.93.2
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -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.91.0
29
+ * @version 1.93.2
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.commons.CalloutBase
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.91.0
39
+ * @version 1.93.2
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -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.0
91
+ * @version 1.93.2
92
92
  *
93
93
  * @constructor
94
94
  * @public
@@ -1378,7 +1378,7 @@ sap.ui.define([
1378
1378
  this.$("paneContent").css("width", iWidth + "px");
1379
1379
  this.$("paneBar").css("width", (iWidth + Shell.SIDE_BAR_BASE_WIDTH) + "px");
1380
1380
 
1381
- if (!!this._sOpenPaneId) { // pane area is open
1381
+ if (this._sOpenPaneId) { // pane area is open
1382
1382
  if (this._bRtl) {
1383
1383
  this.$("wBar").css("marginLeft", (iWidth + Shell.SIDE_BAR_BASE_WIDTH) + "px");
1384
1384
  this.$("canvas").css("left", (iWidth + Shell.SIDE_BAR_BASE_WIDTH + Shell._SHELL_OFFSET_RIGHT) + "px");
@@ -6,22 +6,22 @@
6
6
 
7
7
  // Provides the class sap.ui.ux3.ShellPersonalization
8
8
  sap.ui.define([
9
- 'sap/ui/thirdparty/jquery',
10
- 'sap/ui/base/EventProvider',
11
- 'sap/ui/commons/Button',
12
- 'sap/ui/commons/Dialog',
13
- 'sap/ui/core/theming/Parameters',
14
- './ShellColorPicker',
15
- 'sap/ui/commons/library',
16
- 'sap/ui/core/HTML',
17
- 'sap/ui/core/Popup',
18
- 'sap/ui/commons/Tab',
19
- 'sap/ui/core/Item',
20
- 'sap/ui/Device',
21
- 'sap/base/security/encodeXML'
9
+ 'sap/ui/thirdparty/jquery',
10
+ 'sap/ui/base/EventProvider',
11
+ 'sap/ui/commons/Button',
12
+ 'sap/ui/commons/Dialog',
13
+ 'sap/ui/core/theming/Parameters',
14
+ './ShellColorPicker',
15
+ 'sap/ui/commons/library',
16
+ 'sap/ui/core/HTML',
17
+ 'sap/ui/core/Popup',
18
+ 'sap/ui/commons/Tab',
19
+ 'sap/ui/core/Item',
20
+ 'sap/ui/Device',
21
+ 'sap/base/security/encodeXML'
22
22
  ],
23
23
  function(
24
- jQuery,
24
+ jQuery,
25
25
  EventProvider,
26
26
  Button,
27
27
  Dialog,
@@ -140,14 +140,6 @@ sap.ui.define([
140
140
 
141
141
  if (Device.browser.firefox) {
142
142
  ShellPersonalization.ORIGINAL_SETTINGS.sBgCssImg = "-moz-linear-gradient(top, " + gradientTop + " 0, " + gradientBottom + " 108px, " + gradientBottom + ")";
143
- } else if (Device.browser.msie) {
144
- if (Device.browser.version == 9) {
145
- ShellPersonalization.ORIGINAL_SETTINGS.sBgCssImg = "url("
146
- + ShellPersonalization.IMAGE_FOLDER_PATH
147
- + "Workset_bg.png)";
148
- } else { // IE10+
149
- ShellPersonalization.ORIGINAL_SETTINGS.sBgCssImg = "-ms-linear-gradient(top, " + gradientTop + " 0, " + gradientBottom + " 108px, " + gradientBottom + ")";
150
- }
151
143
  } else if (Device.browser.webkit) {
152
144
  ShellPersonalization.ORIGINAL_SETTINGS.sBgCssImg = "-webkit-linear-gradient(top, " + gradientTop + " 0, " + gradientBottom + " 108px, " + gradientBottom + ")";
153
145
  }
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
20
20
  * @class
21
21
  * Thing Action for Swatch, QuickView, Thinginspector
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.91.0
23
+ * @version 1.93.2
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
20
20
  * @class
21
21
  * Thing Group Area
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.91.0
23
+ * @version 1.93.2
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @class
43
43
  * Thing Inspector
44
44
  * @extends sap.ui.ux3.Overlay
45
- * @version 1.91.0
45
+ * @version 1.93.2
46
46
  *
47
47
  * @constructor
48
48
  * @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.91.0
36
+ * @version 1.93.2
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.91.0
66
+ * @version 1.93.2
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
  }
@@ -757,20 +757,37 @@ sap.ui.define([
757
757
  * @private
758
758
  */
759
759
  var fnSetArrowDimensions = function (oThis) {
760
+ var mParams = Object.assign({
761
+ sapUiUx3ToolPopupArrowWidth: "13px",
762
+ sapUiUx3ToolPopupArrowHeight: "24px",
763
+ sapUiUx3ToolPopupArrowRightMarginCorrection: "-2px",
764
+ sapUiUx3ToolPopupArrowRightMarginCorrectionInverted: "-7px"
765
+ }, Parameters.get({
766
+ name: [
767
+ "sapUiUx3ToolPopupArrowWidth",
768
+ "sapUiUx3ToolPopupArrowHeight",
769
+ "sapUiUx3ToolPopupArrowRightMarginCorrection",
770
+ "sapUiUx3ToolPopupArrowRightMarginCorrectionInverted"
771
+ ],
772
+ callback: function () {
773
+ oThis.invalidate();
774
+ }
775
+ }));
776
+
760
777
  var sParam = "sapUiUx3ToolPopupArrowWidth";
761
- oThis.sArrowWidth = Parameters.get(sParam);
778
+ oThis.sArrowWidth = mParams[sParam];
762
779
  oThis.iArrowWidth = parseInt(oThis.sArrowWidth);
763
780
 
764
781
  sParam = "sapUiUx3ToolPopupArrowHeight";
765
- oThis.sArrowHeight = Parameters.get(sParam);
782
+ oThis.sArrowHeight = mParams[sParam];
766
783
  oThis.iArrowHeight = parseInt(oThis.sArrowHeight);
767
784
 
768
785
  sParam = "sapUiUx3ToolPopupArrowRightMarginCorrection";
769
- oThis.sArrowPadding = Parameters.get(sParam);
786
+ oThis.sArrowPadding = mParams[sParam];
770
787
  oThis.iArrowPadding = parseInt(oThis.sArrowPadding);
771
788
 
772
789
  sParam = "sapUiUx3ToolPopupArrowRightMarginCorrectionInverted";
773
- oThis.sArrowPaddingInverted = Parameters.get(sParam);
790
+ oThis.sArrowPaddingInverted = mParams[sParam];
774
791
  oThis.iArrowPaddingInverted = parseInt(oThis.sArrowPaddingInverted);
775
792
  };
776
793
 
@@ -1112,6 +1129,8 @@ sap.ui.define([
1112
1129
  };
1113
1130
 
1114
1131
  ToolPopup.prototype.onBeforeRendering = function () {
1132
+ fnSetArrowDimensions(this);
1133
+
1115
1134
  var sInitialFocusId = this.getInitialFocus() || this._sInitialFocusId;
1116
1135
  var sDefaultButtontId = this.getDefaultButton();
1117
1136
  this._bFocusSet = true;
@@ -1304,7 +1323,14 @@ sap.ui.define([
1304
1323
  var fnUpdateThemeInverted = function (oThis) {
1305
1324
  var sParam = "sapUiUx3ToolPopupInverted";
1306
1325
 
1307
- sParam = Parameters.get(sParam);
1326
+ sParam = Parameters.get({
1327
+ name: sParam,
1328
+ callback: function (_sParam) {
1329
+ oThis._bThemeInverted = sParam === "true";
1330
+ oThis.invalidate();
1331
+ }
1332
+ }) || "true";
1333
+
1308
1334
  oThis._bThemeInverted = sParam === "true";
1309
1335
  };
1310
1336
 
@@ -20,15 +20,16 @@ sap.ui.define([
20
20
  * @namespace
21
21
  * @name sap.ui.ux3
22
22
  * @author SAP SE
23
- * @version 1.91.0
23
+ * @version 1.93.2
24
24
  * @public
25
+ * @since 0.13
25
26
  * @deprecated Since 1.38
26
27
  */
27
28
 
28
29
  // delegate further initialization of this library to the Core
29
30
  sap.ui.getCore().initLibrary({
30
31
  name : "sap.ui.ux3",
31
- version: "1.91.0",
32
+ version: "1.93.2",
32
33
  dependencies : ["sap.ui.core","sap.ui.commons"],
33
34
  types: [
34
35
  "sap.ui.ux3.ActionBarSocialActions",