@openui5/sap.ui.ux3 1.105.1 → 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/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- 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 +3 -4
- package/src/sap/ui/ux3/CollectionInspector.js +5 -6
- 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
|
@@ -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();
|