@openui5/sap.ui.ux3 1.106.0 → 1.107.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/package.json +4 -4
- package/src/sap/ui/ux3/.library +1 -1
- package/src/sap/ui/ux3/ActionBar.js +6 -6
- package/src/sap/ui/ux3/ActionBarRenderer.js +3 -3
- package/src/sap/ui/ux3/Collection.js +1 -2
- package/src/sap/ui/ux3/CollectionInspector.js +1 -2
- package/src/sap/ui/ux3/DataSet.js +1 -6
- package/src/sap/ui/ux3/DataSetItem.js +1 -2
- package/src/sap/ui/ux3/DataSetSimpleView.js +1 -2
- package/src/sap/ui/ux3/Exact.js +1 -4
- package/src/sap/ui/ux3/ExactArea.js +1 -2
- package/src/sap/ui/ux3/ExactAttribute.js +1 -4
- package/src/sap/ui/ux3/ExactBrowser.js +1 -3
- package/src/sap/ui/ux3/ExactList.js +6 -5
- package/src/sap/ui/ux3/ExactListRenderer.js +3 -3
- package/src/sap/ui/ux3/FacetFilter.js +1 -2
- package/src/sap/ui/ux3/FacetFilterList.js +1 -2
- package/src/sap/ui/ux3/Feed.js +1 -2
- package/src/sap/ui/ux3/FeedChunk.js +1 -2
- package/src/sap/ui/ux3/Feeder.js +1 -2
- package/src/sap/ui/ux3/NavigationBar.js +6 -7
- package/src/sap/ui/ux3/NavigationItem.js +1 -2
- package/src/sap/ui/ux3/NotificationBar.js +1 -3
- package/src/sap/ui/ux3/Notifier.js +5 -6
- package/src/sap/ui/ux3/Overlay.js +1 -5
- package/src/sap/ui/ux3/OverlayContainer.js +1 -2
- package/src/sap/ui/ux3/OverlayDialog.js +1 -2
- package/src/sap/ui/ux3/QuickView.js +1 -2
- package/src/sap/ui/ux3/QuickViewRenderer.js +3 -3
- package/src/sap/ui/ux3/Shell.js +5 -12
- package/src/sap/ui/ux3/ShellPersonalization.js +6 -4
- package/src/sap/ui/ux3/ShellRenderer.js +4 -3
- package/src/sap/ui/ux3/ThingAction.js +1 -2
- package/src/sap/ui/ux3/ThingGroup.js +1 -2
- package/src/sap/ui/ux3/ThingInspector.js +1 -2
- package/src/sap/ui/ux3/ThingViewer.js +1 -2
- package/src/sap/ui/ux3/ToolPopup.js +6 -11
- package/src/sap/ui/ux3/library.js +2 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.ux3",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.107.0",
|
|
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.107.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.107.0",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.107.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/ui/ux3/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 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.107.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Controls that implement the SAP User Experience (UX) Guidelines 3.0</documentation>
|
|
12
12
|
|
|
@@ -21,7 +21,8 @@ sap.ui.define([
|
|
|
21
21
|
'sap/ui/commons/MenuButton',
|
|
22
22
|
'sap/ui/commons/Button',
|
|
23
23
|
'sap/ui/Device',
|
|
24
|
-
'sap/base/Log'
|
|
24
|
+
'sap/base/Log',
|
|
25
|
+
"sap/ui/core/Configuration"
|
|
25
26
|
],
|
|
26
27
|
function(
|
|
27
28
|
jQuery,
|
|
@@ -39,7 +40,8 @@ sap.ui.define([
|
|
|
39
40
|
MenuButton,
|
|
40
41
|
Button,
|
|
41
42
|
Device,
|
|
42
|
-
Log
|
|
43
|
+
Log,
|
|
44
|
+
Configuration
|
|
43
45
|
) {
|
|
44
46
|
"use strict";
|
|
45
47
|
|
|
@@ -72,13 +74,12 @@ sap.ui.define([
|
|
|
72
74
|
*
|
|
73
75
|
* 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
76
|
* @extends sap.ui.core.Control
|
|
75
|
-
* @version 1.
|
|
77
|
+
* @version 1.107.0
|
|
76
78
|
*
|
|
77
79
|
* @constructor
|
|
78
80
|
* @public
|
|
79
81
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.Toolbar</code> or <code>sap.m.OverflowToolbar</code> control.
|
|
80
82
|
* @alias sap.ui.ux3.ActionBar
|
|
81
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
82
83
|
*/
|
|
83
84
|
var ActionBar = Control.extend("sap.ui.ux3.ActionBar", /** @lends sap.ui.ux3.ActionBar.prototype */ {
|
|
84
85
|
metadata : {
|
|
@@ -458,7 +459,7 @@ sap.ui.define([
|
|
|
458
459
|
};
|
|
459
460
|
//populates the menu of the 'Follow' actionBar button depending on the 'FollowState' property
|
|
460
461
|
oResult._fnPrepareFollowMenu = function( oEvent, oActionBar ) {
|
|
461
|
-
var imagePath = sap.ui.resource("sap.ui.ux3", "themes/" +
|
|
462
|
+
var imagePath = sap.ui.resource("sap.ui.ux3", "themes/" + Configuration.getTheme());
|
|
462
463
|
if (oActionBar.mActionMap[oActionBar.mActionKeys.Follow]) {
|
|
463
464
|
if (!oActionBar._oUnFollowItem) {
|
|
464
465
|
oActionBar._oUnFollowItem = new MenuItem({
|
|
@@ -898,7 +899,6 @@ sap.ui.define([
|
|
|
898
899
|
* These are the more- and follow menu and the feeder popup
|
|
899
900
|
* @type void
|
|
900
901
|
* @public
|
|
901
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
902
902
|
*/
|
|
903
903
|
ActionBar.prototype.closePopups = function() {
|
|
904
904
|
if (this._oUpdatePopup) {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["./library"],
|
|
8
|
-
function(library) {
|
|
7
|
+
sap.ui.define(["./library", "sap/ui/core/Configuration"],
|
|
8
|
+
function(library, Configuration) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -37,7 +37,7 @@ sap.ui.define(["./library"],
|
|
|
37
37
|
// result: <div id="<id>" data-sap-ui="<id>" class="sapUiUx3ActionBar" role="toolbar">
|
|
38
38
|
rm.openStart("div", oControl);
|
|
39
39
|
rm.class("sapUiUx3ActionBar");
|
|
40
|
-
if (
|
|
40
|
+
if ( Configuration.getAccessibility()) {
|
|
41
41
|
rm.attr('role', 'toolbar');
|
|
42
42
|
}
|
|
43
43
|
rm.openEnd();
|
|
@@ -20,14 +20,13 @@ 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.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
27
|
* @since 1.9.0
|
|
28
28
|
* @deprecated Since version 1.38.
|
|
29
29
|
* @alias sap.ui.ux3.Collection
|
|
30
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
31
30
|
*/
|
|
32
31
|
var Collection = Element.extend("sap.ui.ux3.Collection", /** @lends sap.ui.ux3.Collection.prototype */ { metadata : {
|
|
33
32
|
|
|
@@ -29,14 +29,13 @@ sap.ui.define([
|
|
|
29
29
|
* @class
|
|
30
30
|
* CollectionInspector
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.107.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @public
|
|
36
36
|
* @since 1.9.0
|
|
37
37
|
* @deprecated Since version 1.38.
|
|
38
38
|
* @alias sap.ui.ux3.CollectionInspector
|
|
39
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
40
39
|
*/
|
|
41
40
|
var CollectionInspector = Control.extend("sap.ui.ux3.CollectionInspector", /** @lends sap.ui.ux3.CollectionInspector.prototype */ { metadata : {
|
|
42
41
|
|
|
@@ -44,13 +44,12 @@ sap.ui.define([
|
|
|
44
44
|
* @class
|
|
45
45
|
* DataSet
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.107.0
|
|
48
48
|
*
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|
|
51
51
|
* @deprecated as of version 1.38. Use a container by choice from the {@link sap.m} library, instead.
|
|
52
52
|
* @alias sap.ui.ux3.DataSet
|
|
53
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
54
53
|
*/
|
|
55
54
|
var DataSet = Control.extend("sap.ui.ux3.DataSet", /** @lends sap.ui.ux3.DataSet.prototype */ { metadata : {
|
|
56
55
|
|
|
@@ -385,7 +384,6 @@ sap.ui.define([
|
|
|
385
384
|
*
|
|
386
385
|
* @return {int} selected index
|
|
387
386
|
* @protected
|
|
388
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
389
387
|
*/
|
|
390
388
|
DataSet.prototype.getLeadSelection = function() {
|
|
391
389
|
return this.selectionModel.getLeadSelectedIndex();
|
|
@@ -397,7 +395,6 @@ sap.ui.define([
|
|
|
397
395
|
* @param {int} iIIndex set LeadSelection index
|
|
398
396
|
* @type void
|
|
399
397
|
* @protected
|
|
400
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
401
398
|
*/
|
|
402
399
|
DataSet.prototype.setLeadSelection = function(iIndex) {
|
|
403
400
|
this.selectionModel.setLeadSelectedIndex(iIndex);
|
|
@@ -659,7 +656,6 @@ sap.ui.define([
|
|
|
659
656
|
* ToolbarItem
|
|
660
657
|
* @type void
|
|
661
658
|
* @public
|
|
662
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
663
659
|
*/
|
|
664
660
|
DataSet.prototype.addToolbarItem = function(oToolbarItem) {
|
|
665
661
|
this._getToolbar().addItem(oToolbarItem);
|
|
@@ -673,7 +669,6 @@ sap.ui.define([
|
|
|
673
669
|
* @param {sap.ui.commons.ToolbarItem} oOToolbarItem
|
|
674
670
|
* @type void
|
|
675
671
|
* @public
|
|
676
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
677
672
|
*/
|
|
678
673
|
DataSet.prototype.removeToolbarItem = function(oToolbarItem) {
|
|
679
674
|
this._getToolbar().removeItem(oToolbarItem);
|
|
@@ -20,13 +20,12 @@ 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.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
27
|
* @deprecated as of version 1.38
|
|
28
28
|
* @alias sap.ui.ux3.DataSetItem
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
30
|
var DataSetItem = Element.extend("sap.ui.ux3.DataSetItem", /** @lends sap.ui.ux3.DataSetItem.prototype */ { metadata : {
|
|
32
31
|
|
|
@@ -37,13 +37,12 @@ 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.
|
|
40
|
+
* @version 1.107.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
44
44
|
* @deprecated Since version 1.38. Use a layout by choice from the {@link sap.m} library, instead.
|
|
45
45
|
* @alias sap.ui.ux3.DataSetSimpleView
|
|
46
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
47
46
|
*/
|
|
48
47
|
var DataSetSimpleView = Control.extend("sap.ui.ux3.DataSetSimpleView", /** @lends sap.ui.ux3.DataSetSimpleView.prototype */ { metadata : {
|
|
49
48
|
|
package/src/sap/ui/ux3/Exact.js
CHANGED
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.ui.core.Control
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.107.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -60,7 +60,6 @@ sap.ui.define([
|
|
|
60
60
|
* API is not yet finished and might change completely
|
|
61
61
|
* @deprecated Since version 1.38.
|
|
62
62
|
* @alias sap.ui.ux3.Exact
|
|
63
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
64
63
|
*/
|
|
65
64
|
var Exact = Control.extend("sap.ui.ux3.Exact", /** @lends sap.ui.ux3.Exact.prototype */ { metadata : {
|
|
66
65
|
|
|
@@ -191,7 +190,6 @@ sap.ui.define([
|
|
|
191
190
|
*
|
|
192
191
|
* @type sap.ui.ux3.ExactArea
|
|
193
192
|
* @public
|
|
194
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
195
193
|
*/
|
|
196
194
|
Exact.prototype.getResultArea = function() {
|
|
197
195
|
return this._resultArea;
|
|
@@ -203,7 +201,6 @@ sap.ui.define([
|
|
|
203
201
|
*
|
|
204
202
|
* @type sap.ui.commons.SearchField
|
|
205
203
|
* @public
|
|
206
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
207
204
|
*/
|
|
208
205
|
Exact.prototype.getSearchField = function() {
|
|
209
206
|
return this._search_input;
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.core.Control
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.107.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @public
|
|
@@ -37,7 +37,6 @@ sap.ui.define([
|
|
|
37
37
|
* API is not yet finished and might change completely
|
|
38
38
|
* @deprecated Since version 1.38.
|
|
39
39
|
* @alias sap.ui.ux3.ExactArea
|
|
40
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
41
40
|
*/
|
|
42
41
|
var ExactArea = Control.extend("sap.ui.ux3.ExactArea", /** @lends sap.ui.ux3.ExactArea.prototype */ { metadata : {
|
|
43
42
|
|
|
@@ -23,13 +23,12 @@ 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.
|
|
26
|
+
* @version 1.107.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
30
30
|
* @deprecated Since version 1.38.
|
|
31
31
|
* @alias sap.ui.ux3.ExactAttribute
|
|
32
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
33
32
|
*/
|
|
34
33
|
var ExactAttribute = Element.extend("sap.ui.ux3.ExactAttribute", /** @lends sap.ui.ux3.ExactAttribute.prototype */ { metadata : {
|
|
35
34
|
|
|
@@ -127,7 +126,6 @@ sap.ui.define(['sap/ui/core/Element', './library'],
|
|
|
127
126
|
* The direct child attribute
|
|
128
127
|
* @type void
|
|
129
128
|
* @public
|
|
130
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
131
129
|
*/
|
|
132
130
|
ExactAttribute.prototype.scrollTo = function(oAttribute) {
|
|
133
131
|
if (!(oAttribute instanceof ExactAttribute)) {
|
|
@@ -292,7 +290,6 @@ sap.ui.define(['sap/ui/core/Element', './library'],
|
|
|
292
290
|
*
|
|
293
291
|
* @type void
|
|
294
292
|
* @public
|
|
295
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
296
293
|
*/
|
|
297
294
|
ExactAttribute.prototype.getShowSubAttributesIndicator_Computed = function() {
|
|
298
295
|
return this.hasListeners("supplyAttributes") && this.getSupplyActive() ? this.getShowSubAttributesIndicator() : this.getAttributesInternal().length > 0;
|
|
@@ -50,13 +50,12 @@ sap.ui.define([
|
|
|
50
50
|
* @extends sap.ui.core.Control
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.107.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
57
57
|
* @deprecated Since version 1.38.
|
|
58
58
|
* @alias sap.ui.ux3.ExactBrowser
|
|
59
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
60
59
|
*/
|
|
61
60
|
var ExactBrowser = Control.extend("sap.ui.ux3.ExactBrowser", /** @lends sap.ui.ux3.ExactBrowser.prototype */ { metadata : {
|
|
62
61
|
|
|
@@ -317,7 +316,6 @@ sap.ui.define([
|
|
|
317
316
|
*
|
|
318
317
|
* @type void
|
|
319
318
|
* @public
|
|
320
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
321
319
|
*/
|
|
322
320
|
ExactBrowser.prototype.reset = function() {
|
|
323
321
|
this._rootList._closeAll();
|
|
@@ -21,7 +21,8 @@ sap.ui.define([
|
|
|
21
21
|
'sap/ui/dom/containsOrEquals',
|
|
22
22
|
'sap/ui/events/ControlEvents',
|
|
23
23
|
'sap/ui/Device',
|
|
24
|
-
'sap/base/security/encodeXML'
|
|
24
|
+
'sap/base/security/encodeXML',
|
|
25
|
+
'sap/ui/core/Configuration'
|
|
25
26
|
],
|
|
26
27
|
function(
|
|
27
28
|
jQuery,
|
|
@@ -40,7 +41,8 @@ sap.ui.define([
|
|
|
40
41
|
containsOrEquals,
|
|
41
42
|
ControlEvents,
|
|
42
43
|
Device,
|
|
43
|
-
encodeXML
|
|
44
|
+
encodeXML,
|
|
45
|
+
Configuration
|
|
44
46
|
) {
|
|
45
47
|
"use strict";
|
|
46
48
|
|
|
@@ -62,13 +64,12 @@ sap.ui.define([
|
|
|
62
64
|
* @extends sap.ui.core.Control
|
|
63
65
|
*
|
|
64
66
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
67
|
+
* @version 1.107.0
|
|
66
68
|
*
|
|
67
69
|
* @constructor
|
|
68
70
|
* @public
|
|
69
71
|
* @deprecated Since version 1.38.
|
|
70
72
|
* @alias sap.ui.ux3.ExactList
|
|
71
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
72
73
|
*/
|
|
73
74
|
var ExactList = Control.extend("sap.ui.ux3.ExactList", /** @lends sap.ui.ux3.ExactList.prototype */ { metadata : {
|
|
74
75
|
|
|
@@ -321,7 +322,7 @@ sap.ui.define([
|
|
|
321
322
|
return;
|
|
322
323
|
}
|
|
323
324
|
|
|
324
|
-
this._bRTL =
|
|
325
|
+
this._bRTL = Configuration.getRTL();
|
|
325
326
|
|
|
326
327
|
//Init the open animation (like expand, no Open Animation when the control is the top list)
|
|
327
328
|
if (!this._isTop()) {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for the sap.ui.ux3.ExactListRenderer
|
|
8
|
-
sap.ui.define([],
|
|
9
|
-
function() {
|
|
8
|
+
sap.ui.define(["sap/ui/core/Configuration"],
|
|
9
|
+
function(Configuration) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -171,7 +171,7 @@ sap.ui.define([],
|
|
|
171
171
|
*/
|
|
172
172
|
ExactListRenderer.getExpanderSymbol = function(bExpanded, bHorizontal){
|
|
173
173
|
if (bHorizontal) {
|
|
174
|
-
if (
|
|
174
|
+
if (Configuration.getRTL()) {
|
|
175
175
|
return bExpanded ? "▶" : "◀";
|
|
176
176
|
} else {
|
|
177
177
|
return bExpanded ? "◀" : "▶";
|
|
@@ -31,13 +31,12 @@ sap.ui.define([
|
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.107.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @public
|
|
38
38
|
* @deprecated as of version 1.38, replaced by {@link sap.m.FacetFilter}
|
|
39
39
|
* @alias sap.ui.ux3.FacetFilter
|
|
40
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
41
40
|
*/
|
|
42
41
|
var FacetFilter = Control.extend("sap.ui.ux3.FacetFilter", /** @lends sap.ui.ux3.FacetFilter.prototype */ { metadata : {
|
|
43
42
|
|
|
@@ -28,13 +28,12 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Control
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.107.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated as of version 1.38, replaced by {@link sap.m.FacetFilter}
|
|
36
36
|
* @alias sap.ui.ux3.FacetFilterList
|
|
37
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
38
37
|
*/
|
|
39
38
|
var FacetFilterList = Control.extend("sap.ui.ux3.FacetFilterList", /** @lends sap.ui.ux3.FacetFilterList.prototype */ { metadata : {
|
|
40
39
|
|
package/src/sap/ui/ux3/Feed.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @extends sap.ui.core.Control
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.107.0
|
|
55
55
|
*
|
|
56
56
|
* @constructor
|
|
57
57
|
* @public
|
|
@@ -59,7 +59,6 @@ sap.ui.define([
|
|
|
59
59
|
* The whole Feed/Feeder API is still under discussion, significant changes are likely. Especially text presentation (e.g. @-references and formatted text) is not final. Also the Feed model topic is still open.
|
|
60
60
|
* @deprecated Since version 1.38. Instead, use <b>any</b> <code>sap.ui.layout</code> container control.
|
|
61
61
|
* @alias sap.ui.ux3.Feed
|
|
62
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
63
62
|
*/
|
|
64
63
|
var Feed = Control.extend("sap.ui.ux3.Feed", /** @lends sap.ui.ux3.Feed.prototype */ { metadata : {
|
|
65
64
|
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.107.0
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @public
|
|
@@ -57,7 +57,6 @@ sap.ui.define([
|
|
|
57
57
|
* The whole Feed/Feeder API is still under discussion, significant changes are likely. Especially text presentation (e.g. @-references and formatted text) is not final. Also the Feed model topic is still open.
|
|
58
58
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.FeedListItem</code> control.
|
|
59
59
|
* @alias sap.ui.ux3.FeedChunk
|
|
60
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
61
60
|
*/
|
|
62
61
|
var FeedChunk = Control.extend("sap.ui.ux3.FeedChunk", /** @lends sap.ui.ux3.FeedChunk.prototype */ { metadata : {
|
|
63
62
|
|
package/src/sap/ui/ux3/Feeder.js
CHANGED
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.107.0
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @public
|
|
@@ -57,7 +57,6 @@ sap.ui.define([
|
|
|
57
57
|
* The whole Feed/Feeder API is still under discussion, significant changes are likely. Especially text presentation (e.g. @-references and formatted text) is not final. Also the Feed model topic is still open.
|
|
58
58
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.FeedInput</code> control.
|
|
59
59
|
* @alias sap.ui.ux3.Feeder
|
|
60
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
61
60
|
*/
|
|
62
61
|
var Feeder = Control.extend("sap.ui.ux3.Feeder", /** @lends sap.ui.ux3.Feeder.prototype */ { metadata : {
|
|
63
62
|
|
|
@@ -19,6 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/util/ActivityDetection',
|
|
20
20
|
'sap/ui/Device',
|
|
21
21
|
'sap/base/assert',
|
|
22
|
+
'sap/ui/core/Configuration',
|
|
22
23
|
// jQuery Plugin 'scrollRightRTL'
|
|
23
24
|
'sap/ui/dom/jquery/scrollRightRTL',
|
|
24
25
|
// jQuery Plugin 'scrollLeftRTL'
|
|
@@ -37,7 +38,8 @@ sap.ui.define([
|
|
|
37
38
|
denormalizeScrollLeftRTL,
|
|
38
39
|
ActivityDetection,
|
|
39
40
|
Device,
|
|
40
|
-
assert
|
|
41
|
+
assert,
|
|
42
|
+
Configuration
|
|
41
43
|
) {
|
|
42
44
|
"use strict";
|
|
43
45
|
|
|
@@ -62,13 +64,12 @@ sap.ui.define([
|
|
|
62
64
|
* @extends sap.ui.core.Control
|
|
63
65
|
*
|
|
64
66
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
67
|
+
* @version 1.107.0
|
|
66
68
|
*
|
|
67
69
|
* @constructor
|
|
68
70
|
* @public
|
|
69
71
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.IconTabBar</code>, <code>sap.m.TabContainer</code> or <code>sap.uxap.ObjectPageLayout</code> control.
|
|
70
72
|
* @alias sap.ui.ux3.NavigationBar
|
|
71
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
72
73
|
*/
|
|
73
74
|
var NavigationBar = Control.extend("sap.ui.ux3.NavigationBar", /** @lends sap.ui.ux3.NavigationBar.prototype */ { metadata : {
|
|
74
75
|
|
|
@@ -144,7 +145,7 @@ sap.ui.define([
|
|
|
144
145
|
this._bPreviousScrollForward = false; // remember the item overflow state
|
|
145
146
|
this._bPreviousScrollBack = false;
|
|
146
147
|
this._iLastArrowPos = -100; // this property is always read and applied as "left"/"right" depending on RTL configuration
|
|
147
|
-
this._bRtl =
|
|
148
|
+
this._bRtl = Configuration.getRTL();
|
|
148
149
|
|
|
149
150
|
this.allowTextSelection(false);
|
|
150
151
|
|
|
@@ -548,7 +549,7 @@ sap.ui.define([
|
|
|
548
549
|
var li = jQuery(item.parentNode);
|
|
549
550
|
var ul = li.parent();
|
|
550
551
|
var targetPos;
|
|
551
|
-
var bRtl =
|
|
552
|
+
var bRtl = Configuration.getRTL();
|
|
552
553
|
|
|
553
554
|
// special handling for first and last item to not only scroll them into view but to scroll to the very start/end
|
|
554
555
|
var index = li.index() - 1; // -1 because of leading dummy item
|
|
@@ -802,7 +803,6 @@ sap.ui.define([
|
|
|
802
803
|
* The items to associate
|
|
803
804
|
* @type this
|
|
804
805
|
* @public
|
|
805
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
806
806
|
*/
|
|
807
807
|
NavigationBar.prototype.setAssociatedItems = function(aItems /* bResetArrowPosition */) { // second parameter is currently not in the public API
|
|
808
808
|
assert(Array.isArray(aItems), "aItems must be an array");
|
|
@@ -859,7 +859,6 @@ sap.ui.define([
|
|
|
859
859
|
*
|
|
860
860
|
* @type boolean
|
|
861
861
|
* @public
|
|
862
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
863
862
|
*/
|
|
864
863
|
NavigationBar.prototype.isSelectedItemValid = function() {
|
|
865
864
|
var selId = this.getSelectedItem();
|
|
@@ -22,13 +22,12 @@ 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.
|
|
25
|
+
* @version 1.107.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
29
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.IconTabBar</code>, <code>sap.m.TabContainer</code> or <code>sap.uxap.ObjectPageLayout</code> control.
|
|
30
30
|
* @alias sap.ui.ux3.NavigationItem
|
|
31
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
32
31
|
*/
|
|
33
32
|
var NavigationItem = Item.extend("sap.ui.ux3.NavigationItem", /** @lends sap.ui.ux3.NavigationItem.prototype */ { metadata : {
|
|
34
33
|
|
|
@@ -56,14 +56,13 @@ sap.ui.define([
|
|
|
56
56
|
* @extends sap.ui.core.Control
|
|
57
57
|
*
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.107.0
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
63
63
|
* @since 1.7.0
|
|
64
64
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.MessagePopover</code> control.
|
|
65
65
|
* @alias sap.ui.ux3.NotificationBar
|
|
66
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
67
66
|
*/
|
|
68
67
|
var NotificationBar = Control.extend("sap.ui.ux3.NotificationBar", /** @lends sap.ui.ux3.NotificationBar.prototype */ { metadata : {
|
|
69
68
|
|
|
@@ -1062,7 +1061,6 @@ sap.ui.define([
|
|
|
1062
1061
|
*
|
|
1063
1062
|
* @type boolean
|
|
1064
1063
|
* @public
|
|
1065
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1066
1064
|
*/
|
|
1067
1065
|
NotificationBar.prototype.hasItems = function() {
|
|
1068
1066
|
// Checking all notifiers if any has items
|
|
@@ -13,9 +13,10 @@ sap.ui.define([
|
|
|
13
13
|
'sap/ui/core/library',
|
|
14
14
|
'sap/ui/Device',
|
|
15
15
|
'sap/base/Log',
|
|
16
|
-
"sap/ui/base/EventProvider"
|
|
16
|
+
"sap/ui/base/EventProvider",
|
|
17
|
+
"sap/ui/core/Configuration"
|
|
17
18
|
],
|
|
18
|
-
function(jQuery, Callout, Element, library, coreLibrary, Device, Log, EventProvider) {
|
|
19
|
+
function(jQuery, Callout, Element, library, coreLibrary, Device, Log, EventProvider, Configuration) {
|
|
19
20
|
"use strict";
|
|
20
21
|
|
|
21
22
|
|
|
@@ -36,13 +37,12 @@ sap.ui.define([
|
|
|
36
37
|
* @extends sap.ui.core.Element
|
|
37
38
|
*
|
|
38
39
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
40
|
+
* @version 1.107.0
|
|
40
41
|
*
|
|
41
42
|
* @constructor
|
|
42
43
|
* @public
|
|
43
44
|
* @deprecated Since version 1.38.
|
|
44
45
|
* @alias sap.ui.ux3.Notifier
|
|
45
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
46
46
|
*/
|
|
47
47
|
var Notifier = Element.extend("sap.ui.ux3.Notifier", /** @lends sap.ui.ux3.Notifier.prototype */ { metadata : {
|
|
48
48
|
|
|
@@ -126,7 +126,6 @@ sap.ui.define([
|
|
|
126
126
|
*
|
|
127
127
|
* @type boolean
|
|
128
128
|
* @public
|
|
129
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
130
129
|
*/
|
|
131
130
|
Notifier.prototype.hasItems = function() {
|
|
132
131
|
if (this.getMessages().length > 0) {
|
|
@@ -190,7 +189,7 @@ sap.ui.define([
|
|
|
190
189
|
* and must be corrected for LTR only a manipulation of the arrow's
|
|
191
190
|
* position is needed if LTR is active
|
|
192
191
|
*/
|
|
193
|
-
var bRtl =
|
|
192
|
+
var bRtl = Configuration.getRTL();
|
|
194
193
|
if (!bRtl) {
|
|
195
194
|
$arrow.css("left", "6px");
|
|
196
195
|
}
|
|
@@ -35,13 +35,12 @@ sap.ui.define([
|
|
|
35
35
|
* @implements sap.ui.core.PopupInterface
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.107.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
42
42
|
* @deprecated Since version 1.38.
|
|
43
43
|
* @alias sap.ui.ux3.Overlay
|
|
44
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
45
44
|
*/
|
|
46
45
|
var Overlay = Control.extend("sap.ui.ux3.Overlay", /** @lends sap.ui.ux3.Overlay.prototype */ { metadata : {
|
|
47
46
|
|
|
@@ -266,7 +265,6 @@ sap.ui.define([
|
|
|
266
265
|
*
|
|
267
266
|
* @param {string} initialFocusId ID of the control that gets focused when the overlay is openend
|
|
268
267
|
* @public
|
|
269
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
270
268
|
*/
|
|
271
269
|
Overlay.prototype.open = function(initialFocusId) {
|
|
272
270
|
this._initialFocusId = initialFocusId;
|
|
@@ -293,7 +291,6 @@ sap.ui.define([
|
|
|
293
291
|
* Closes the Overlay.
|
|
294
292
|
*
|
|
295
293
|
* @public
|
|
296
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
297
294
|
*/
|
|
298
295
|
Overlay.prototype.close = function() {
|
|
299
296
|
if (!this._oPopup.isOpen()) {
|
|
@@ -414,7 +411,6 @@ sap.ui.define([
|
|
|
414
411
|
*
|
|
415
412
|
* @type boolean
|
|
416
413
|
* @public
|
|
417
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
418
414
|
*/
|
|
419
415
|
Overlay.prototype.isOpen = function() {
|
|
420
416
|
return this._oPopup.isOpen();
|
|
@@ -28,13 +28,12 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.ux3.Overlay
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.107.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated Since version 1.38.
|
|
36
36
|
* @alias sap.ui.ux3.OverlayContainer
|
|
37
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
38
37
|
*/
|
|
39
38
|
var OverlayContainer = Overlay.extend("sap.ui.ux3.OverlayContainer", /** @lends sap.ui.ux3.OverlayContainer.prototype */ { metadata : {
|
|
40
39
|
|
|
@@ -26,13 +26,12 @@ 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.107.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
33
|
* @deprecated Since version 1.38.
|
|
34
34
|
* @alias sap.ui.ux3.OverlayDialog
|
|
35
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
36
35
|
*/
|
|
37
36
|
var OverlayDialog = Overlay.extend("sap.ui.ux3.OverlayDialog", /** @lends sap.ui.ux3.OverlayDialog.prototype */ {
|
|
38
37
|
metadata: {
|
|
@@ -36,13 +36,12 @@ sap.ui.define([
|
|
|
36
36
|
* @extends sap.ui.commons.CalloutBase
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.107.0
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
43
43
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.QuickView</code> control.
|
|
44
44
|
* @alias sap.ui.ux3.QuickView
|
|
45
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
46
45
|
*/
|
|
47
46
|
var QuickView = CalloutBase.extend("sap.ui.ux3.QuickView", /** @lends sap.ui.ux3.QuickView.prototype */ { metadata : {
|
|
48
47
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(['sap/ui/commons/CalloutBaseRenderer', 'sap/ui/core/Renderer', 'sap/ui/core/IconPool'],
|
|
8
|
-
function(CalloutBaseRenderer, Renderer, IconPool) {
|
|
7
|
+
sap.ui.define(['sap/ui/commons/CalloutBaseRenderer', 'sap/ui/core/Renderer', 'sap/ui/core/IconPool', "sap/ui/core/Configuration"],
|
|
8
|
+
function(CalloutBaseRenderer, Renderer, IconPool, Configuration) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/commons/CalloutBaseRenderer', 'sap/ui/core/Renderer', 'sa
|
|
|
25
25
|
QuickViewRenderer.renderContent = function(rm, oControl){
|
|
26
26
|
|
|
27
27
|
// accessibility
|
|
28
|
-
var bAcc =
|
|
28
|
+
var bAcc = Configuration.getAccessibility();
|
|
29
29
|
|
|
30
30
|
// control properties
|
|
31
31
|
var sType = oControl.getType(),
|
package/src/sap/ui/ux3/Shell.js
CHANGED
|
@@ -29,6 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
'sap/ui/Device',
|
|
30
30
|
'sap/base/Log',
|
|
31
31
|
'sap/base/assert',
|
|
32
|
+
'sap/ui/core/Configuration',
|
|
32
33
|
// jQuery Plugin 'firstFocusableDomRef'
|
|
33
34
|
'sap/ui/dom/jquery/Focusable'
|
|
34
35
|
],
|
|
@@ -55,7 +56,8 @@ sap.ui.define([
|
|
|
55
56
|
BaseObject,
|
|
56
57
|
Device,
|
|
57
58
|
Log,
|
|
58
|
-
assert
|
|
59
|
+
assert,
|
|
60
|
+
Configuration
|
|
59
61
|
) {
|
|
60
62
|
"use strict";
|
|
61
63
|
|
|
@@ -88,13 +90,12 @@ sap.ui.define([
|
|
|
88
90
|
* The Ux3 GoldReflection Shell, which is an application frame with navigation capabilities.
|
|
89
91
|
* 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
92
|
* @extends sap.ui.core.Control
|
|
91
|
-
* @version 1.
|
|
93
|
+
* @version 1.107.0
|
|
92
94
|
*
|
|
93
95
|
* @constructor
|
|
94
96
|
* @public
|
|
95
97
|
* @deprecated as of version 1.38, replaced by {@link sap.m.Shell}
|
|
96
98
|
* @alias sap.ui.ux3.Shell
|
|
97
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
98
99
|
*/
|
|
99
100
|
var Shell = Control.extend("sap.ui.ux3.Shell", /** @lends sap.ui.ux3.Shell.prototype */ { metadata : {
|
|
100
101
|
|
|
@@ -453,7 +454,7 @@ sap.ui.define([
|
|
|
453
454
|
this._adaptContentHeight();
|
|
454
455
|
|
|
455
456
|
// remember RTL mode to avoid repeated checks
|
|
456
|
-
this._bRtl =
|
|
457
|
+
this._bRtl = Configuration.getRTL();
|
|
457
458
|
|
|
458
459
|
if (this._getPersonalization().hasChanges()) {
|
|
459
460
|
this._getPersonalization().applySettings(this._getPersonalization().oSettings);
|
|
@@ -1148,7 +1149,6 @@ sap.ui.define([
|
|
|
1148
1149
|
*
|
|
1149
1150
|
* @type sap.ui.commons.SearchField
|
|
1150
1151
|
* @public
|
|
1151
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1152
1152
|
*/
|
|
1153
1153
|
Shell.prototype.getSearchField = function() {
|
|
1154
1154
|
if (!this._oSearchField) {
|
|
@@ -1203,7 +1203,6 @@ sap.ui.define([
|
|
|
1203
1203
|
* The ID of the PaneBarItem which should be marked as selected.
|
|
1204
1204
|
* @type this
|
|
1205
1205
|
* @public
|
|
1206
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1207
1206
|
*/
|
|
1208
1207
|
Shell.prototype.openPane = function(sPaneId) {
|
|
1209
1208
|
var that = this;
|
|
@@ -1253,7 +1252,6 @@ sap.ui.define([
|
|
|
1253
1252
|
*
|
|
1254
1253
|
* @type this
|
|
1255
1254
|
* @public
|
|
1256
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1257
1255
|
*/
|
|
1258
1256
|
Shell.prototype.closePane = function() {
|
|
1259
1257
|
this._closePane();
|
|
@@ -1266,7 +1264,6 @@ sap.ui.define([
|
|
|
1266
1264
|
*
|
|
1267
1265
|
* @type boolean
|
|
1268
1266
|
* @public
|
|
1269
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1270
1267
|
*/
|
|
1271
1268
|
Shell.prototype.isPaneOpen = function() {
|
|
1272
1269
|
return (this._sOpenPaneId != null);
|
|
@@ -2372,7 +2369,6 @@ sap.ui.define([
|
|
|
2372
2369
|
* If set, the controls previously contained in the Shell will be destroyed, to avoid memory leaks.
|
|
2373
2370
|
* @type sap.ui.core.Control[]
|
|
2374
2371
|
* @public
|
|
2375
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
2376
2372
|
*/
|
|
2377
2373
|
Shell.prototype.setContent = function(vContent, bDestruct) {
|
|
2378
2374
|
assert(vContent === null
|
|
@@ -2425,7 +2421,6 @@ sap.ui.define([
|
|
|
2425
2421
|
* If set, the controls previously contained in the pane will be destroyed, to avoid memory leaks.
|
|
2426
2422
|
* @type sap.ui.core.Control[]
|
|
2427
2423
|
* @public
|
|
2428
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
2429
2424
|
*/
|
|
2430
2425
|
Shell.prototype.setPaneContent = function(vContent, bDestruct) {
|
|
2431
2426
|
assert((vContent instanceof Control)
|
|
@@ -2678,7 +2673,6 @@ sap.ui.define([
|
|
|
2678
2673
|
*
|
|
2679
2674
|
* @type void
|
|
2680
2675
|
* @public
|
|
2681
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
2682
2676
|
*/
|
|
2683
2677
|
Shell.prototype.openPersonalizationDialog = function() {
|
|
2684
2678
|
this._getPersonalization().openDialog();
|
|
@@ -2694,7 +2688,6 @@ sap.ui.define([
|
|
|
2694
2688
|
* Personalization settings object
|
|
2695
2689
|
* @type void
|
|
2696
2690
|
* @public
|
|
2697
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
2698
2691
|
*/
|
|
2699
2692
|
Shell.prototype.initializePersonalization = function(oSettings) {
|
|
2700
2693
|
this._getPersonalization().initializeSettings(oSettings);
|
|
@@ -18,7 +18,8 @@ sap.ui.define([
|
|
|
18
18
|
'sap/ui/commons/Tab',
|
|
19
19
|
'sap/ui/core/Item',
|
|
20
20
|
'sap/ui/Device',
|
|
21
|
-
'sap/base/security/encodeXML'
|
|
21
|
+
'sap/base/security/encodeXML',
|
|
22
|
+
'sap/ui/core/Configuration'
|
|
22
23
|
],
|
|
23
24
|
function(
|
|
24
25
|
jQuery,
|
|
@@ -33,7 +34,8 @@ sap.ui.define([
|
|
|
33
34
|
Tab,
|
|
34
35
|
Item,
|
|
35
36
|
Device,
|
|
36
|
-
encodeXML
|
|
37
|
+
encodeXML,
|
|
38
|
+
Configuration
|
|
37
39
|
) {
|
|
38
40
|
"use strict";
|
|
39
41
|
|
|
@@ -127,7 +129,7 @@ sap.ui.define([
|
|
|
127
129
|
ShellPersonalization.TRANSPARENT_1x1 = sap.ui.resource('sap.ui.core', 'themes/base/img/1x1.gif');
|
|
128
130
|
|
|
129
131
|
ShellPersonalization.IMAGE_FOLDER_PATH = sap.ui.require.toUrl(
|
|
130
|
-
"sap/ui/ux3/themes/" +
|
|
132
|
+
"sap/ui/ux3/themes/" + Configuration.getTheme() + "/img/shell/");
|
|
131
133
|
|
|
132
134
|
ShellPersonalization.getOriginalSettings = function() {
|
|
133
135
|
// buffer the settings
|
|
@@ -646,7 +648,7 @@ sap.ui.define([
|
|
|
646
648
|
};
|
|
647
649
|
ShellPersonalization.prototype.applyLogoAlign = function(sLogoAlign) {
|
|
648
650
|
var sRealAlign = sLogoAlign;
|
|
649
|
-
if (
|
|
651
|
+
if (Configuration.getRTL() && (sRealAlign == "right")) {
|
|
650
652
|
sRealAlign = "left"; // need to use left/right, as "begin" is not supported by IE8
|
|
651
653
|
}
|
|
652
654
|
this.shell.$("hdr").css("text-align", sRealAlign);
|
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'sap/ui/core/IconPool',
|
|
10
10
|
'sap/ui/core/theming/Parameters',
|
|
11
|
-
'sap/base/security/encodeXML'
|
|
11
|
+
'sap/base/security/encodeXML',
|
|
12
|
+
'sap/ui/core/Configuration'
|
|
12
13
|
],
|
|
13
|
-
function(IconPool, Parameters, encodeXML) {
|
|
14
|
+
function(IconPool, Parameters, encodeXML, Configuration) {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
|
|
@@ -38,7 +39,7 @@ sap.ui.define([
|
|
|
38
39
|
// convenience variable
|
|
39
40
|
var bPaneOpen = oControl.isPaneOpen();
|
|
40
41
|
var iPaneWidthPlus = oControl.getPaneWidth() + Shell.SIDE_BAR_BASE_WIDTH; // width of pane plus how far it is from the edge
|
|
41
|
-
var bRtl =
|
|
42
|
+
var bRtl = Configuration.getRTL();
|
|
42
43
|
var sId = oControl.getId();
|
|
43
44
|
|
|
44
45
|
if (Shell.FIRST_RENDERING) {
|
|
@@ -20,13 +20,12 @@ 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.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
27
|
* @deprecated Since version 1.38.
|
|
28
28
|
* @alias sap.ui.ux3.ThingAction
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
30
|
var ThingAction = Element.extend("sap.ui.ux3.ThingAction", /** @lends sap.ui.ux3.ThingAction.prototype */ { metadata : {
|
|
32
31
|
|
|
@@ -20,13 +20,12 @@ 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.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
27
27
|
* @deprecated Since version 1.38.
|
|
28
28
|
* @alias sap.ui.ux3.ThingGroup
|
|
29
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
30
29
|
*/
|
|
31
30
|
var ThingGroup = Element.extend("sap.ui.ux3.ThingGroup", /** @lends sap.ui.ux3.ThingGroup.prototype */ { metadata : {
|
|
32
31
|
|
|
@@ -42,13 +42,12 @@ sap.ui.define([
|
|
|
42
42
|
* @class
|
|
43
43
|
* Thing Inspector
|
|
44
44
|
* @extends sap.ui.ux3.Overlay
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.107.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
49
49
|
* @deprecated as of version 1.38. There is not an exact replacement.
|
|
50
50
|
* @alias sap.ui.ux3.ThingInspector
|
|
51
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
52
51
|
*/
|
|
53
52
|
var ThingInspector = Overlay.extend("sap.ui.ux3.ThingInspector", /** @lends sap.ui.ux3.ThingInspector.prototype */ { metadata : {
|
|
54
53
|
|
|
@@ -33,14 +33,13 @@ 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.107.0
|
|
37
37
|
*
|
|
38
38
|
* @constructor
|
|
39
39
|
* @public
|
|
40
40
|
* @since 1.9.1
|
|
41
41
|
* @deprecated as of version 1.38. There is not an exact replacement.
|
|
42
42
|
* @alias sap.ui.ux3.ThingViewer
|
|
43
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
44
43
|
*/
|
|
45
44
|
var ThingViewer = Control.extend("sap.ui.ux3.ThingViewer", /** @lends sap.ui.ux3.ThingViewer.prototype */ { metadata : {
|
|
46
45
|
|
|
@@ -18,6 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
'sap/ui/core/library',
|
|
19
19
|
'sap/base/assert',
|
|
20
20
|
'sap/base/Log',
|
|
21
|
+
'sap/ui/core/Configuration',
|
|
21
22
|
// jQuery Plugin 'rect'
|
|
22
23
|
'sap/ui/dom/jquery/rect',
|
|
23
24
|
// jQuery Plugin 'control'
|
|
@@ -37,7 +38,8 @@ sap.ui.define([
|
|
|
37
38
|
ResizeHandler,
|
|
38
39
|
coreLibrary,
|
|
39
40
|
assert,
|
|
40
|
-
Log
|
|
41
|
+
Log,
|
|
42
|
+
Configuration
|
|
41
43
|
) {
|
|
42
44
|
"use strict";
|
|
43
45
|
|
|
@@ -63,13 +65,12 @@ sap.ui.define([
|
|
|
63
65
|
*
|
|
64
66
|
* @namespace
|
|
65
67
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
68
|
+
* @version 1.107.0
|
|
67
69
|
*
|
|
68
70
|
* @constructor
|
|
69
71
|
* @public
|
|
70
72
|
* @deprecated Since version 1.38. Instead, use the <code>sap.m.Popover</code> control.
|
|
71
73
|
* @alias sap.ui.ux3.ToolPopup
|
|
72
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
73
74
|
*/
|
|
74
75
|
var ToolPopup = Control.extend("sap.ui.ux3.ToolPopup", /** @lends sap.ui.ux3.ToolPopup.prototype */ {
|
|
75
76
|
metadata: {
|
|
@@ -599,7 +600,6 @@ sap.ui.define([
|
|
|
599
600
|
* Indicates whether the pop up is currently open
|
|
600
601
|
*
|
|
601
602
|
* @returns {boolean}
|
|
602
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
603
603
|
* @public
|
|
604
604
|
*/
|
|
605
605
|
ToolPopup.prototype.isOpen = function () {
|
|
@@ -894,7 +894,7 @@ sap.ui.define([
|
|
|
894
894
|
iVal = 0,
|
|
895
895
|
iZero = 0, // this is the 0 of the relative position between ToolPopup and Opener
|
|
896
896
|
iHalfArrow = oThis.iArrowHeight / 2,
|
|
897
|
-
isRTL =
|
|
897
|
+
isRTL = Configuration.getRTL(),
|
|
898
898
|
sArrowDir,
|
|
899
899
|
oPopRect = oThis.$().rect(),
|
|
900
900
|
oOpener = jQuery(document.getElementById(oThis.getOpener())),
|
|
@@ -1056,7 +1056,6 @@ sap.ui.define([
|
|
|
1056
1056
|
* (outside the ToolPopup) and the focus should not move aways from that place.
|
|
1057
1057
|
* @returns {this}
|
|
1058
1058
|
* @public
|
|
1059
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1060
1059
|
*/
|
|
1061
1060
|
ToolPopup.prototype.close = function (bPreventRestoreFocus) {
|
|
1062
1061
|
if (this.oPopup && this.oPopup.isOpen()) {
|
|
@@ -1097,7 +1096,6 @@ sap.ui.define([
|
|
|
1097
1096
|
* @since 1.13.1
|
|
1098
1097
|
* @returns {boolean}
|
|
1099
1098
|
* @public
|
|
1100
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1101
1099
|
*/
|
|
1102
1100
|
ToolPopup.prototype.getEnabled = function () {
|
|
1103
1101
|
// assuming that a ToolPopup without a Popup can’t be open
|
|
@@ -1143,7 +1141,7 @@ sap.ui.define([
|
|
|
1143
1141
|
this._bFocusSet = false;
|
|
1144
1142
|
}
|
|
1145
1143
|
|
|
1146
|
-
this._bRTL =
|
|
1144
|
+
this._bRTL = Configuration.getRTL();
|
|
1147
1145
|
};
|
|
1148
1146
|
|
|
1149
1147
|
ToolPopup.prototype._ensurePopup = function () {
|
|
@@ -1196,7 +1194,6 @@ sap.ui.define([
|
|
|
1196
1194
|
* Sets the position of the pop up, the same parameters as for sap.ui.core.Popup can be used.
|
|
1197
1195
|
*
|
|
1198
1196
|
* @public
|
|
1199
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1200
1197
|
*/
|
|
1201
1198
|
ToolPopup.prototype.setPosition = function () {
|
|
1202
1199
|
this._ensurePopup();
|
|
@@ -1374,7 +1371,6 @@ sap.ui.define([
|
|
|
1374
1371
|
* @param {string} [sID] ID of the corresponding element that should be focusable as well
|
|
1375
1372
|
* @since 1.19.0
|
|
1376
1373
|
* @public
|
|
1377
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1378
1374
|
*/
|
|
1379
1375
|
ToolPopup.prototype.addFocusableArea = function (sID) {
|
|
1380
1376
|
this._ensurePopup();
|
|
@@ -1397,7 +1393,6 @@ sap.ui.define([
|
|
|
1397
1393
|
* @param {string} [sID] ID of the corresponding element
|
|
1398
1394
|
* @since 1.19.0
|
|
1399
1395
|
* @public
|
|
1400
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1401
1396
|
*/
|
|
1402
1397
|
ToolPopup.prototype.removeFocusableArea = function (sID) {
|
|
1403
1398
|
this._ensurePopup();
|
|
@@ -20,14 +20,14 @@ sap.ui.define([
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @alias sap.ui.ux3
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.107.0
|
|
24
24
|
* @public
|
|
25
25
|
* @since 0.13
|
|
26
26
|
* @deprecated Since 1.38
|
|
27
27
|
*/
|
|
28
28
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
29
29
|
name : "sap.ui.ux3",
|
|
30
|
-
version: "1.
|
|
30
|
+
version: "1.107.0",
|
|
31
31
|
dependencies : ["sap.ui.core","sap.ui.commons"],
|
|
32
32
|
types: [
|
|
33
33
|
"sap.ui.ux3.ActionBarSocialActions",
|
|
@@ -87,7 +87,6 @@ sap.ui.define([
|
|
|
87
87
|
* @public
|
|
88
88
|
* @experimental Since version 1.2.
|
|
89
89
|
* API is not yet finished and might change completely
|
|
90
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
91
90
|
* @deprecated Since 1.38
|
|
92
91
|
*/
|
|
93
92
|
thisLib.ActionBarSocialActions = {
|
|
@@ -132,7 +131,6 @@ sap.ui.define([
|
|
|
132
131
|
* @name sap.ui.ux3.DataSetView
|
|
133
132
|
* @interface
|
|
134
133
|
* @public
|
|
135
|
-
* @ui5-metamodel This interface also will be described in the UI5 (legacy) designtime metamodel
|
|
136
134
|
* @deprecated Since 1.38
|
|
137
135
|
*/
|
|
138
136
|
|
|
@@ -144,7 +142,6 @@ sap.ui.define([
|
|
|
144
142
|
* @enum {string}
|
|
145
143
|
* @public
|
|
146
144
|
* @since 1.7.1
|
|
147
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
148
145
|
* @deprecated Since 1.38
|
|
149
146
|
*/
|
|
150
147
|
thisLib.ExactOrder = {
|
|
@@ -171,7 +168,6 @@ sap.ui.define([
|
|
|
171
168
|
* @public
|
|
172
169
|
* @experimental Since version 1.2.
|
|
173
170
|
* The whole Feed/Feeder API is still under discussion, significant changes are likely. Especially text presentation (e.g. @-references and formatted text) is not final. Also the Feed model topic is still open.
|
|
174
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
175
171
|
* @deprecated Since 1.38
|
|
176
172
|
*/
|
|
177
173
|
thisLib.FeederType = {
|
|
@@ -202,7 +198,6 @@ sap.ui.define([
|
|
|
202
198
|
*
|
|
203
199
|
* @enum {string}
|
|
204
200
|
* @public
|
|
205
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
206
201
|
* @deprecated Since 1.38
|
|
207
202
|
*/
|
|
208
203
|
thisLib.FollowActionState = {
|
|
@@ -234,7 +229,6 @@ sap.ui.define([
|
|
|
234
229
|
* @author SAP
|
|
235
230
|
* @enum {string}
|
|
236
231
|
* @public
|
|
237
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
238
232
|
* @deprecated Since 1.38
|
|
239
233
|
*/
|
|
240
234
|
thisLib.NotificationBarStatus = {
|
|
@@ -273,7 +267,6 @@ sap.ui.define([
|
|
|
273
267
|
* @enum {string}
|
|
274
268
|
* @public
|
|
275
269
|
* @since 1.12.0
|
|
276
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
277
270
|
* @deprecated Since 1.38
|
|
278
271
|
*/
|
|
279
272
|
thisLib.ShellDesignType = {
|
|
@@ -312,7 +305,6 @@ sap.ui.define([
|
|
|
312
305
|
* @author SAP SE
|
|
313
306
|
* @enum {string}
|
|
314
307
|
* @public
|
|
315
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
316
308
|
* @deprecated Since 1.38
|
|
317
309
|
*/
|
|
318
310
|
thisLib.ShellHeaderType = {
|
|
@@ -351,7 +343,6 @@ sap.ui.define([
|
|
|
351
343
|
* @enum {string}
|
|
352
344
|
* @public
|
|
353
345
|
* @since 1.16.3
|
|
354
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
355
346
|
* @deprecated Since 1.38
|
|
356
347
|
*/
|
|
357
348
|
thisLib.ThingViewerHeaderType = {
|
|
@@ -376,7 +367,6 @@ sap.ui.define([
|
|
|
376
367
|
*
|
|
377
368
|
* @enum {string}
|
|
378
369
|
* @public
|
|
379
|
-
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
380
370
|
* @deprecated Since 1.38
|
|
381
371
|
*/
|
|
382
372
|
thisLib.VisibleItemCountMode = {
|