@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.
- package/.reuse/dep5 +46 -0
- package/THIRDPARTY.txt +59 -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 +3 -3
- package/src/sap/ui/ux3/DataSetItem.js +1 -1
- package/src/sap/ui/ux3/DataSetSimpleView.js +1 -1
- package/src/sap/ui/ux3/DataSetSimpleViewRenderer.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/FeedChunkRenderer.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 +2 -2
- package/src/sap/ui/ux3/ShellPersonalization.js +14 -22
- 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 +33 -7
- 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.
|
|
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.
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
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
|
}
|
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.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.
|
|
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) {
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @class
|
|
45
45
|
* DataSet
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
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 (
|
|
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 (
|
|
517
|
+
if (this.selectionModel) {
|
|
518
518
|
this.selectionModel.setSelectionMode(SelectionModel.MULTI_SELECTION);
|
|
519
519
|
}
|
|
520
520
|
}
|
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.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
|
-
|
|
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.2
|
|
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.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 (
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
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
|
}
|
|
@@ -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.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.
|
|
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 =
|
|
778
|
+
oThis.sArrowWidth = mParams[sParam];
|
|
762
779
|
oThis.iArrowWidth = parseInt(oThis.sArrowWidth);
|
|
763
780
|
|
|
764
781
|
sParam = "sapUiUx3ToolPopupArrowHeight";
|
|
765
|
-
oThis.sArrowHeight =
|
|
782
|
+
oThis.sArrowHeight = mParams[sParam];
|
|
766
783
|
oThis.iArrowHeight = parseInt(oThis.sArrowHeight);
|
|
767
784
|
|
|
768
785
|
sParam = "sapUiUx3ToolPopupArrowRightMarginCorrection";
|
|
769
|
-
oThis.sArrowPadding =
|
|
786
|
+
oThis.sArrowPadding = mParams[sParam];
|
|
770
787
|
oThis.iArrowPadding = parseInt(oThis.sArrowPadding);
|
|
771
788
|
|
|
772
789
|
sParam = "sapUiUx3ToolPopupArrowRightMarginCorrectionInverted";
|
|
773
|
-
oThis.sArrowPaddingInverted =
|
|
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(
|
|
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.
|
|
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.
|
|
32
|
+
version: "1.93.2",
|
|
32
33
|
dependencies : ["sap.ui.core","sap.ui.commons"],
|
|
33
34
|
types: [
|
|
34
35
|
"sap.ui.ux3.ActionBarSocialActions",
|