@openui5/sap.ui.dt 1.96.1 → 1.97.1
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 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +2 -2
- package/src/sap/ui/dt/.library +2 -2
- package/src/sap/ui/dt/AggregationDesignTimeMetadata.js +2 -2
- package/src/sap/ui/dt/AggregationOverlay.js +2 -2
- package/src/sap/ui/dt/ControlObserver.js +2 -2
- package/src/sap/ui/dt/DOMUtil.js +8 -7
- package/src/sap/ui/dt/DesignTime.js +44 -16
- package/src/sap/ui/dt/DesignTimeMetadata.js +2 -2
- package/src/sap/ui/dt/DesignTimeStatus.js +1 -1
- package/src/sap/ui/dt/ElementDesignTimeMetadata.js +6 -4
- package/src/sap/ui/dt/ElementOverlay.js +5 -3
- package/src/sap/ui/dt/ElementUtil.js +3 -40
- package/src/sap/ui/dt/ManagedObjectObserver.js +3 -2
- package/src/sap/ui/dt/MetadataPropagationUtil.js +7 -7
- package/src/sap/ui/dt/MutationObserver.js +2 -2
- package/src/sap/ui/dt/Overlay.js +17 -18
- package/src/sap/ui/dt/OverlayRegistry.js +3 -4
- package/src/sap/ui/dt/OverlayUtil.js +5 -5
- package/src/sap/ui/dt/Plugin.js +2 -2
- package/src/sap/ui/dt/ScrollbarSynchronizer.js +2 -2
- package/src/sap/ui/dt/SelectionManager.js +2 -2
- package/src/sap/ui/dt/SelectionMode.js +2 -2
- package/src/sap/ui/dt/TaskManager.js +2 -2
- package/src/sap/ui/dt/TaskRunner.js +2 -2
- package/src/sap/ui/dt/Util.js +2 -2
- package/src/sap/ui/dt/designtime/notAdaptable.designtime.js +1 -1
- package/src/sap/ui/dt/designtime/notAdaptableTree.designtime.js +1 -1
- package/src/sap/ui/dt/designtime/notAdaptableVisibility.designtime.js +1 -1
- package/src/sap/ui/dt/enablement/ElementEnablementTest.js +3 -4
- package/src/sap/ui/dt/enablement/Test.js +26 -25
- package/src/sap/ui/dt/enablement/Util.js +10 -10
- package/src/sap/ui/dt/enablement/elementDesigntimeTest.js +1 -1
- package/src/sap/ui/dt/enablement/libraryTest.js +2 -2
- package/src/sap/ui/dt/enablement/report/LibraryReport.js +2 -2
- package/src/sap/ui/dt/enablement/report/QUnitReport.js +3 -4
- package/src/sap/ui/dt/enablement/report/Statistic.js +2 -2
- package/src/sap/ui/dt/enablement/report/StatisticRenderer.js +2 -2
- package/src/sap/ui/dt/enablement/report/Table.js +3 -4
- package/src/sap/ui/dt/enablement/report/TableRenderer.js +2 -2
- package/src/sap/ui/dt/library.js +3 -3
- package/src/sap/ui/dt/plugin/ContextMenu.js +22 -10
- package/src/sap/ui/dt/plugin/ControlDragDrop.js +2 -2
- package/src/sap/ui/dt/plugin/CutPaste.js +2 -2
- package/src/sap/ui/dt/plugin/DragDrop.js +20 -19
- package/src/sap/ui/dt/plugin/ElementMover.js +4 -3
- package/src/sap/ui/dt/plugin/MouseSelection.js +2 -2
- package/src/sap/ui/dt/plugin/TabHandling.js +2 -2
- package/src/sap/ui/dt/plugin/ToolHooks.js +2 -2
- package/src/sap/ui/dt/themes/base/library.source.less +1 -1
- package/src/sap/ui/dt/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/dt/util/ZIndexManager.js +2 -2
- package/src/sap/ui/dt/util/_createPromise.js +7 -5
package/src/sap/ui/dt/Overlay.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/* global Map */
|
|
8
7
|
sap.ui.define([
|
|
9
8
|
"sap/ui/thirdparty/jquery",
|
|
10
9
|
"sap/ui/core/Element",
|
|
@@ -16,8 +15,7 @@ sap.ui.define([
|
|
|
16
15
|
"sap/ui/dt/Util",
|
|
17
16
|
"sap/base/Log",
|
|
18
17
|
"sap/ui/dt/util/ZIndexManager"
|
|
19
|
-
],
|
|
20
|
-
function (
|
|
18
|
+
], function (
|
|
21
19
|
jQuery,
|
|
22
20
|
Element,
|
|
23
21
|
MutationObserver,
|
|
@@ -46,7 +44,7 @@ function (
|
|
|
46
44
|
* @extends sap.ui.core.Element
|
|
47
45
|
*
|
|
48
46
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
47
|
+
* @version 1.97.1
|
|
50
48
|
*
|
|
51
49
|
* @constructor
|
|
52
50
|
* @private
|
|
@@ -312,6 +310,7 @@ function (
|
|
|
312
310
|
|
|
313
311
|
/**
|
|
314
312
|
* Creates and/or returns mutation observer instance
|
|
313
|
+
* @returns {object} Mutation observer
|
|
315
314
|
* @static
|
|
316
315
|
*/
|
|
317
316
|
Overlay.getMutationObserver = function() {
|
|
@@ -342,7 +341,7 @@ function (
|
|
|
342
341
|
|
|
343
342
|
/**
|
|
344
343
|
* Returns set of attributes for DOM Node of overlay
|
|
345
|
-
* @returns {{id: string, "data-sap-ui": string, class: string, tabindex: *}}
|
|
344
|
+
* @returns {{id: string, "data-sap-ui": string, class: string, tabindex: *}} Object with attributes
|
|
346
345
|
* @protected
|
|
347
346
|
*/
|
|
348
347
|
Overlay.prototype._getAttributes = function () {
|
|
@@ -539,7 +538,6 @@ function (
|
|
|
539
538
|
/**
|
|
540
539
|
* Sets whether the overlay can get the browser focus (tabindex)
|
|
541
540
|
* @param {boolean} bFocusable - true if the overlay is focusable
|
|
542
|
-
* @returns {sap.ui.dt.Overlay} returns this
|
|
543
541
|
* @public
|
|
544
542
|
*/
|
|
545
543
|
Overlay.prototype.setFocusable = function(bFocusable) {
|
|
@@ -562,7 +560,7 @@ function (
|
|
|
562
560
|
|
|
563
561
|
/**
|
|
564
562
|
* Returns valuable parent node that has dimensions and certain position.
|
|
565
|
-
* @returns {jQuery|null}
|
|
563
|
+
* @returns {jQuery|null} Parent jQuery object or null, if there is none
|
|
566
564
|
* @protected
|
|
567
565
|
*/
|
|
568
566
|
Overlay.prototype._getRenderingParent = function () {
|
|
@@ -574,6 +572,7 @@ function (
|
|
|
574
572
|
* The calculation is based on original associated DOM state and parent overlays
|
|
575
573
|
* This method also calls "applyStyles" method for every child Overlay of this Overlay (cascade)
|
|
576
574
|
* @param {boolean} bForceScrollbarSync - `true` to force a scrollbars synchronisation if there are any
|
|
575
|
+
* @returns {Promise} Resolves as soon as <code>applyStyles</code> is done
|
|
577
576
|
* @public
|
|
578
577
|
*/
|
|
579
578
|
Overlay.prototype.applyStyles = function (bForceScrollbarSync) {
|
|
@@ -660,7 +659,7 @@ function (
|
|
|
660
659
|
* then ZIndexManager is used to calculate a z-index value lower than open popups and higher than other controls.
|
|
661
660
|
* @see sap.ui.core.util.ZIndexManager
|
|
662
661
|
* @param {object} oGeometry - Geometry object to get reference z-index from
|
|
663
|
-
* @param {jQuery} $overlayDomRef - DOM
|
|
662
|
+
* @param {jQuery} $overlayDomRef - DOM element to receive the z-index
|
|
664
663
|
*/
|
|
665
664
|
Overlay.prototype._setZIndex = function (oGeometry, $overlayDomRef) {
|
|
666
665
|
var oOriginalDomRef = oGeometry.domRef;
|
|
@@ -675,7 +674,7 @@ function (
|
|
|
675
674
|
|
|
676
675
|
/**
|
|
677
676
|
* Sets size to specified DOM Element
|
|
678
|
-
* @param {jQuery} $Target - DOM
|
|
677
|
+
* @param {jQuery} $Target - DOM element which will receive new size
|
|
679
678
|
* @param {object} oGeometry - Geometry object to get new dimensions from
|
|
680
679
|
* @protected
|
|
681
680
|
*/
|
|
@@ -691,8 +690,8 @@ function (
|
|
|
691
690
|
};
|
|
692
691
|
|
|
693
692
|
/**
|
|
694
|
-
* Sets position of specified DOM
|
|
695
|
-
* @param {jQuery} $Target - DOM
|
|
693
|
+
* Sets position of specified DOM element
|
|
694
|
+
* @param {jQuery} $Target - DOM element which will receive new position
|
|
696
695
|
* @param {object} oGeometry - Geometry object to get positioning from
|
|
697
696
|
* @param {jQuery} $Parent - Offset element for position calculation
|
|
698
697
|
* @protected
|
|
@@ -735,9 +734,10 @@ function (
|
|
|
735
734
|
* Note: listeners are only removed, if the same combination of event type, callback function
|
|
736
735
|
* and context object is given as in the call to <code>attachBrowserEvent</code>.
|
|
737
736
|
*
|
|
738
|
-
* @param {string} [sEventType]
|
|
739
|
-
* @param {function} [fnHandler]
|
|
740
|
-
* @param {object} [oListener]
|
|
737
|
+
* @param {string} [sEventType] - String containing one or more JavaScript event types, such as "click" or "blur".
|
|
738
|
+
* @param {function} [fnHandler] - Function that is to be no longer executed.
|
|
739
|
+
* @param {object} [oListener] - Context object that was given in the call to <code>attachBrowserEvent</code>.
|
|
740
|
+
* @returns {sap.ui.dt.Overlay} <code>this</code> object
|
|
741
741
|
* @public
|
|
742
742
|
*/
|
|
743
743
|
Overlay.prototype.detachBrowserEvent = function(sEventType, fnHandler, oListener) {
|
|
@@ -767,8 +767,7 @@ function (
|
|
|
767
767
|
/**
|
|
768
768
|
* Cleans up when scrolling is no longer needed in the overlay
|
|
769
769
|
* @param {jQuery} $TargetDomRef - DOM reference to the element where dummy container is located
|
|
770
|
-
* @param {sap.ui.dt.ElementOverlay} [oTargetOverlay]
|
|
771
|
-
* Overlay which holds scrollbar padding via CSS classes. In case of root overlay, the target is undefined.
|
|
770
|
+
* @param {sap.ui.dt.ElementOverlay} [oTargetOverlay] - Overlay which holds scrollbar padding via CSS classes. In case of root overlay, the target is undefined.
|
|
772
771
|
*
|
|
773
772
|
* @private
|
|
774
773
|
*/
|
|
@@ -866,6 +865,7 @@ function (
|
|
|
866
865
|
* The geometry is calculated based on the associated element's DOM reference, if it exists or based on it's public children
|
|
867
866
|
* Object may contain following fields: position - absolute position of Element in DOM; size - absolute size of Element in DOM
|
|
868
867
|
* Object may contain domRef field, when the associated Element's DOM can be found
|
|
868
|
+
* @param {boolean} bForceCalculation - Forces the recalculation of the geometry
|
|
869
869
|
* @return {object} geometry object describing the DOM of the Element associated with this Overlay
|
|
870
870
|
* @public
|
|
871
871
|
*/
|
|
@@ -900,7 +900,6 @@ function (
|
|
|
900
900
|
/**
|
|
901
901
|
* Sets whether the Overlay is visible
|
|
902
902
|
* @param {boolean} bVisible if the Overlay is visible
|
|
903
|
-
* @returns {sap.ui.dt.Overlay} returns this
|
|
904
903
|
* @public
|
|
905
904
|
*/
|
|
906
905
|
Overlay.prototype.setVisible = function(bVisible) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ function(
|
|
|
25
25
|
* Static registry for Overlays
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.97.1
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @static
|
|
@@ -64,8 +64,7 @@ function(
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Registers an overlay for the element or element's id
|
|
67
|
-
* @param {
|
|
68
|
-
* @param {sap.ui.dt.Overlay} oOverlay overlay to register
|
|
67
|
+
* @param {sap.ui.dt.Overlay} oOverlay - Overlay to register
|
|
69
68
|
* @public
|
|
70
69
|
*/
|
|
71
70
|
OverlayRegistry.register = function(oOverlay) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -22,7 +22,7 @@ function(
|
|
|
22
22
|
*
|
|
23
23
|
* @class Utility functionality to work with overlays
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.97.1
|
|
26
26
|
* @private
|
|
27
27
|
* @static
|
|
28
28
|
* @since 1.30
|
|
@@ -420,9 +420,9 @@ function(
|
|
|
420
420
|
return aFlattenedArray.concat(oCurrentValue);
|
|
421
421
|
}, []);
|
|
422
422
|
} else {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
var sAggregationName = oOverlay.getParentAggregationOverlay().getAggregationName();
|
|
424
|
+
var oAggregationOverlay = oParentOverlay.getAggregationOverlay(sAggregationName);
|
|
425
|
+
aRelevantOverlays = (oAggregationOverlay && oAggregationOverlay.getChildren()) || [];
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
|
package/src/sap/ui/dt/Plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ function(
|
|
|
26
26
|
* @extends sap.ui.base.ManagedObject
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.97.1
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ function(
|
|
|
24
24
|
* @extends sap.ui.base.ManagedObject
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.97.1
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ function (
|
|
|
34
34
|
* @extends sap.ui.base.ManagedObject
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.97.1
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
40
40
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ sap.ui.define(function() {
|
|
|
16
16
|
* @namespace
|
|
17
17
|
* @name sap.ui.dt.SelectionMode
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.97.1
|
|
20
20
|
* @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
21
21
|
* @private
|
|
22
22
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -21,7 +21,7 @@ function(
|
|
|
21
21
|
* The TaskManager keeps list of task and allows to manage them via simple API.
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.97.1
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -24,7 +24,7 @@ function(
|
|
|
24
24
|
* TaskRunner run tasks defined in sap.ui.dt.TaskManager.
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.97.1
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
package/src/sap/ui/dt/Util.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* Utilities for sap.ui.dt library
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.97.1
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @static
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -13,8 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
"sap/ui/dt/ElementOverlay",
|
|
14
14
|
"sap/ui/qunit/utils/waitForThemeApplied",
|
|
15
15
|
"sap/ui/thirdparty/sinon-4"
|
|
16
|
-
],
|
|
17
|
-
function(
|
|
16
|
+
], function(
|
|
18
17
|
jQuery,
|
|
19
18
|
Test,
|
|
20
19
|
DesignTime,
|
|
@@ -38,7 +37,7 @@ function(
|
|
|
38
37
|
* @extends sap.ui.dt.test.Test
|
|
39
38
|
*
|
|
40
39
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
40
|
+
* @version 1.97.1
|
|
42
41
|
*
|
|
43
42
|
* @constructor
|
|
44
43
|
* @private
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides class sap.ui.dt.test.Test.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/base/ManagedObject"
|
|
10
|
-
],
|
|
11
|
-
function(ManagedObject) {
|
|
10
|
+
], function(ManagedObject) {
|
|
12
11
|
"use strict";
|
|
13
12
|
|
|
14
13
|
/**
|
|
@@ -23,7 +22,7 @@ function(ManagedObject) {
|
|
|
23
22
|
* @extends sap.ui.base.ManagedObject
|
|
24
23
|
*
|
|
25
24
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
25
|
+
* @version 1.97.1
|
|
27
26
|
*
|
|
28
27
|
* @constructor
|
|
29
28
|
* @private
|
|
@@ -83,9 +82,9 @@ function(ManagedObject) {
|
|
|
83
82
|
/**
|
|
84
83
|
* Creates a new suite and returns it.
|
|
85
84
|
*
|
|
86
|
-
* @param {string} sName
|
|
87
|
-
* @param {string} sMessage
|
|
88
|
-
* @return {map}
|
|
85
|
+
* @param {string} sName - Name of the suite
|
|
86
|
+
* @param {string} sMessage - Message to display
|
|
87
|
+
* @return {map} Entry object
|
|
89
88
|
*
|
|
90
89
|
* @protected
|
|
91
90
|
*/
|
|
@@ -104,10 +103,11 @@ function(ManagedObject) {
|
|
|
104
103
|
/**
|
|
105
104
|
* Adds a new group to an array.
|
|
106
105
|
*
|
|
107
|
-
* @param {object[]} aParentChildren
|
|
108
|
-
* @param {string} sName
|
|
109
|
-
* @param {string} sMessage
|
|
110
|
-
* @
|
|
106
|
+
* @param {object[]} aParentChildren - Array to insert the group
|
|
107
|
+
* @param {string} sName - Name of the group
|
|
108
|
+
* @param {string} sMessage - Message to display
|
|
109
|
+
* @param {string} sNamePostfix - Namepostfix
|
|
110
|
+
* @returns {map} Entry object
|
|
111
111
|
*
|
|
112
112
|
* @protected
|
|
113
113
|
*/
|
|
@@ -125,12 +125,12 @@ function(ManagedObject) {
|
|
|
125
125
|
/**
|
|
126
126
|
* Adds a new test to an array.
|
|
127
127
|
*
|
|
128
|
-
* @param {object[]} aParentChildren
|
|
129
|
-
* @param {boolean} bResult
|
|
130
|
-
* @param {string} sName
|
|
131
|
-
* @param {string} sMessage
|
|
132
|
-
* @param {map}
|
|
133
|
-
* @return {map}
|
|
128
|
+
* @param {object[]} aParentChildren - Array to insert the test
|
|
129
|
+
* @param {boolean} bResult - Result of the test
|
|
130
|
+
* @param {string} sName - Name of the test
|
|
131
|
+
* @param {string} sMessage - Message to display
|
|
132
|
+
* @param {map} mStatus - Status of the test
|
|
133
|
+
* @return {map} Entry object
|
|
134
134
|
*
|
|
135
135
|
* @protected
|
|
136
136
|
*/
|
|
@@ -148,13 +148,13 @@ function(ManagedObject) {
|
|
|
148
148
|
/**
|
|
149
149
|
* Adds a new entry to an array.
|
|
150
150
|
*
|
|
151
|
-
* @param {object[]} aParentChildren
|
|
152
|
-
* @param {boolean} bResult
|
|
153
|
-
* @param {string} sName
|
|
154
|
-
* @param {string} sMessage
|
|
155
|
-
* @param {map} mStatus
|
|
156
|
-
* @param {string} sType
|
|
157
|
-
* @return {map}
|
|
151
|
+
* @param {object[]} aParentChildren - Array to insert the entry
|
|
152
|
+
* @param {boolean} bResult - Result of the entry
|
|
153
|
+
* @param {string} sName - Name of the entry
|
|
154
|
+
* @param {string} sMessage - Message to display
|
|
155
|
+
* @param {map} mStatus - Status of the entry
|
|
156
|
+
* @param {string} sType - Type of the entry
|
|
157
|
+
* @return {map} Entry object
|
|
158
158
|
*
|
|
159
159
|
* @protected
|
|
160
160
|
*/
|
|
@@ -197,7 +197,8 @@ function(ManagedObject) {
|
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* Aggregates the tests results.
|
|
200
|
-
* @
|
|
200
|
+
* @param {map} mResult - Result to aggregate
|
|
201
|
+
* @return {map} Aggregated result
|
|
201
202
|
*
|
|
202
203
|
* @protected
|
|
203
204
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -9,8 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/dt/ElementUtil",
|
|
10
10
|
"sap/ui/dt/DOMUtil",
|
|
11
11
|
"sap/ui/dt/OverlayRegistry"
|
|
12
|
-
],
|
|
13
|
-
function(
|
|
12
|
+
], function(
|
|
14
13
|
ElementUtil,
|
|
15
14
|
DOMUtil,
|
|
16
15
|
OverlayRegistry
|
|
@@ -23,7 +22,7 @@ function(
|
|
|
23
22
|
* @namespace
|
|
24
23
|
*
|
|
25
24
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
25
|
+
* @version 1.97.1
|
|
27
26
|
*
|
|
28
27
|
* @private
|
|
29
28
|
* @static
|
|
@@ -37,8 +36,8 @@ function(
|
|
|
37
36
|
|
|
38
37
|
/**
|
|
39
38
|
* Returns all design time information of the element
|
|
40
|
-
* @param
|
|
41
|
-
* @
|
|
39
|
+
* @param {sap.ui.core.Element} oElement - Element to test
|
|
40
|
+
* @returns {map} Result object
|
|
42
41
|
*/
|
|
43
42
|
ElementTest.getInfo = function(oElement) {
|
|
44
43
|
var oMetadata = oElement.getMetadata();
|
|
@@ -53,8 +52,9 @@ function(
|
|
|
53
52
|
|
|
54
53
|
/**
|
|
55
54
|
* Returns all aggregation infos of the element
|
|
56
|
-
* @param
|
|
57
|
-
* @
|
|
55
|
+
* @param {sap.ui.core.Element} oElement - Element to test
|
|
56
|
+
* @param {string} sAggregationName - Name of the aggregation
|
|
57
|
+
* @returns {map} Result object
|
|
58
58
|
*/
|
|
59
59
|
ElementTest.getAggregationInfo = function(oElement, sAggregationName) {
|
|
60
60
|
var mAggregationTest = {
|
|
@@ -98,8 +98,8 @@ function(
|
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Returns all information of all aggregations of the element
|
|
101
|
-
* @param
|
|
102
|
-
* @
|
|
101
|
+
* @param {sap.ui.core.Element} oElement - Element to test
|
|
102
|
+
* @returns {map} Result object
|
|
103
103
|
*/
|
|
104
104
|
ElementTest.getAggregationsInfo = function(oElement) {
|
|
105
105
|
var mAggregationTests = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/* global QUnit
|
|
7
|
+
/* global QUnit */
|
|
8
8
|
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ui/model/resource/ResourceModel",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.dt.enablement.Test
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.97.1
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ui/base/ManagedObject"
|
|
11
|
-
],
|
|
12
|
-
function(
|
|
11
|
+
], function(
|
|
13
12
|
ManagedObject
|
|
14
13
|
) {
|
|
15
14
|
"use strict";
|
|
@@ -25,7 +24,7 @@ function(
|
|
|
25
24
|
* @extends sap.ui.base.ManagedObject
|
|
26
25
|
*
|
|
27
26
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
27
|
+
* @version 1.97.1
|
|
29
28
|
*
|
|
30
29
|
* @constructor
|
|
31
30
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.97.1
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ sap.ui.define(function() {
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @author SAP SE
|
|
13
|
-
* @version 1.
|
|
13
|
+
* @version 1.97.1
|
|
14
14
|
* @namespace
|
|
15
15
|
*/
|
|
16
16
|
var StatisticRenderer = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,8 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
"sap/m/Text",
|
|
18
18
|
"sap/m/RatingIndicator",
|
|
19
19
|
"./TableRenderer"
|
|
20
|
-
],
|
|
21
|
-
function(
|
|
20
|
+
], function(
|
|
22
21
|
Control,
|
|
23
22
|
JSONModel,
|
|
24
23
|
TreeTable,
|
|
@@ -43,7 +42,7 @@ function(
|
|
|
43
42
|
* @extends sap.ui.core.Control
|
|
44
43
|
*
|
|
45
44
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
45
|
+
* @version 1.97.1
|
|
47
46
|
*
|
|
48
47
|
* @constructor
|
|
49
48
|
* @private
|