@openui5/sap.ui.dt 1.71.45 → 1.71.46
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 +2 -2
- package/src/sap/ui/dt/.library +1 -1
- package/src/sap/ui/dt/AggregationDesignTimeMetadata.js +1 -1
- package/src/sap/ui/dt/AggregationOverlay.js +1 -1
- package/src/sap/ui/dt/ContextMenuControl.js +1 -1
- package/src/sap/ui/dt/ControlObserver.js +1 -1
- package/src/sap/ui/dt/DOMUtil.js +1 -1
- package/src/sap/ui/dt/DesignTime.js +1 -1
- package/src/sap/ui/dt/DesignTimeMetadata.js +1 -1
- package/src/sap/ui/dt/ElementDesignTimeMetadata.js +1 -1
- package/src/sap/ui/dt/ElementOverlay.js +5 -3
- package/src/sap/ui/dt/ElementUtil.js +1 -1
- package/src/sap/ui/dt/ManagedObjectObserver.js +1 -1
- package/src/sap/ui/dt/MetadataPropagationUtil.js +1 -1
- package/src/sap/ui/dt/MutationObserver.js +1 -1
- package/src/sap/ui/dt/Overlay.js +9 -4
- package/src/sap/ui/dt/OverlayRegistry.js +1 -1
- package/src/sap/ui/dt/OverlayUtil.js +1 -1
- package/src/sap/ui/dt/Plugin.js +1 -1
- package/src/sap/ui/dt/ScrollbarSynchronizer.js +1 -1
- package/src/sap/ui/dt/SelectionManager.js +1 -1
- package/src/sap/ui/dt/SelectionMode.js +1 -1
- package/src/sap/ui/dt/TaskManager.js +1 -1
- package/src/sap/ui/dt/TaskRunner.js +1 -1
- package/src/sap/ui/dt/Util.js +1 -1
- package/src/sap/ui/dt/enablement/ElementEnablementTest.js +1 -1
- package/src/sap/ui/dt/enablement/Test.js +1 -1
- package/src/sap/ui/dt/enablement/Util.js +1 -1
- package/src/sap/ui/dt/enablement/report/LibraryReport.js +1 -1
- package/src/sap/ui/dt/enablement/report/QUnitReport.js +1 -1
- package/src/sap/ui/dt/enablement/report/Statistic.js +1 -1
- package/src/sap/ui/dt/enablement/report/StatisticRenderer.js +1 -1
- package/src/sap/ui/dt/enablement/report/Table.js +1 -1
- package/src/sap/ui/dt/enablement/report/TableRenderer.js +1 -1
- package/src/sap/ui/dt/library.js +2 -2
- package/src/sap/ui/dt/plugin/ContextMenu.js +1 -1
- package/src/sap/ui/dt/plugin/ControlDragDrop.js +1 -1
- package/src/sap/ui/dt/plugin/CutPaste.js +1 -1
- package/src/sap/ui/dt/plugin/DragDrop.js +1 -1
- package/src/sap/ui/dt/plugin/ElementMover.js +1 -1
- package/src/sap/ui/dt/plugin/MouseSelection.js +1 -1
- package/src/sap/ui/dt/plugin/TabHandling.js +1 -1
- package/src/sap/ui/dt/plugin/ToolHooks.js +1 -1
- package/src/sap/ui/dt/util/ZIndexManager.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.dt",
|
|
3
|
-
"version": "1.71.
|
|
3
|
+
"version": "1.71.46",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.dt",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.71.
|
|
17
|
+
"@openui5/sap.ui.core": "1.71.46"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/src/sap/ui/dt/.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.71.
|
|
9
|
+
<version>1.71.46</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAP UI library: sap.ui.dt (by SAP, Author)</documentation>
|
|
12
12
|
|
package/src/sap/ui/dt/DOMUtil.js
CHANGED
|
@@ -52,7 +52,7 @@ function (
|
|
|
52
52
|
* @extends sap.ui.dt.Overlay
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.71.
|
|
55
|
+
* @version 1.71.46
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @private
|
|
@@ -754,7 +754,9 @@ function (
|
|
|
754
754
|
window.cancelAnimationFrame(this._iApplyStylesRequest);
|
|
755
755
|
}
|
|
756
756
|
this._iApplyStylesRequest = window.requestAnimationFrame(function () {
|
|
757
|
-
|
|
757
|
+
//Cache the geometry values
|
|
758
|
+
this.getGeometry(true);
|
|
759
|
+
this.applyStyles(false, true);
|
|
758
760
|
delete this._iApplyStylesRequest;
|
|
759
761
|
}.bind(this));
|
|
760
762
|
}
|
|
@@ -897,7 +899,7 @@ function (
|
|
|
897
899
|
} else if (typeof oDTData.isVisible === "function") {
|
|
898
900
|
bVisible = oDTData.isVisible(oElement);
|
|
899
901
|
} else {
|
|
900
|
-
var oGeometry = this.getGeometry(
|
|
902
|
+
var oGeometry = this.getGeometry();
|
|
901
903
|
if (oGeometry) {
|
|
902
904
|
bVisible = oGeometry.visible;
|
|
903
905
|
} else if (oElement instanceof Control) {
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class The ManagedObjectObserver observes changes of a ManagedObject and propagates them via events.
|
|
26
26
|
* @extends sap.ui.base.ManagedObject
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.71.
|
|
28
|
+
* @version 1.71.46
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.30
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @class The MutationObserver observes changes of a ManagedObject and propagates them via events.
|
|
29
29
|
* @extends sap.ui.base.ManagedObject
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.71.
|
|
31
|
+
* @version 1.71.46
|
|
32
32
|
* @constructor
|
|
33
33
|
* @private
|
|
34
34
|
* @since 1.30
|
package/src/sap/ui/dt/Overlay.js
CHANGED
|
@@ -46,7 +46,7 @@ function (
|
|
|
46
46
|
* @extends sap.ui.core.Element
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.71.
|
|
49
|
+
* @version 1.71.46
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @private
|
|
@@ -561,18 +561,23 @@ function (
|
|
|
561
561
|
* The calculation is based on original associated DOM state and parent overlays
|
|
562
562
|
* This method also calls "applyStyles" method for every child Overlay of this Overlay (cascade)
|
|
563
563
|
* @param {boolean} bForceScrollbarSync - `true` to force a scrollbars synchronisation if there are any
|
|
564
|
+
* @param {boolean} bSkipForceCalculation - `true` to skip the geometry calculation (geometry was already cached)
|
|
564
565
|
* @public
|
|
565
566
|
*/
|
|
566
|
-
Overlay.prototype.applyStyles = function (bForceScrollbarSync) {
|
|
567
|
+
Overlay.prototype.applyStyles = function (bForceScrollbarSync, bSkipForceCalculation) {
|
|
567
568
|
this.fireBeforeGeometryChanged();
|
|
569
|
+
var oGeometry;
|
|
568
570
|
|
|
569
571
|
if (!this.isRendered() || this._bIsBeingDestroyed || this.getShouldBeDestroyed()) {
|
|
570
572
|
return;
|
|
571
573
|
}
|
|
572
574
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
+
// If not done before, re-calculate the Geometry to cache the values for the isVisible() check
|
|
576
|
+
if (this.getVisible()) {
|
|
577
|
+
oGeometry = this.getGeometry(!bSkipForceCalculation);
|
|
578
|
+
}
|
|
575
579
|
|
|
580
|
+
if (this.isVisible()) {
|
|
576
581
|
if (oGeometry && oGeometry.visible) {
|
|
577
582
|
this._setSize(this.$(), oGeometry);
|
|
578
583
|
var $RenderingParent = this._getRenderingParent();
|
package/src/sap/ui/dt/Plugin.js
CHANGED
|
@@ -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.71.
|
|
19
|
+
* @version 1.71.46
|
|
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
|
*/
|
package/src/sap/ui/dt/Util.js
CHANGED
package/src/sap/ui/dt/library.js
CHANGED
|
@@ -23,7 +23,7 @@ function (
|
|
|
23
23
|
* @namespace
|
|
24
24
|
* @name sap.ui.dt
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.71.
|
|
26
|
+
* @version 1.71.46
|
|
27
27
|
* @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
28
28
|
* @private
|
|
29
29
|
*/
|
|
@@ -31,7 +31,7 @@ function (
|
|
|
31
31
|
// delegate further initialization of this library to the Core
|
|
32
32
|
sap.ui.getCore().initLibrary({
|
|
33
33
|
name : "sap.ui.dt",
|
|
34
|
-
version: "1.71.
|
|
34
|
+
version: "1.71.46",
|
|
35
35
|
dependencies : ["sap.ui.core"],
|
|
36
36
|
types: [
|
|
37
37
|
"sap.ui.dt.SelectionMode"
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @class The ContextMenu registers event handler to open the context menu. Menu entries can dynamically be added
|
|
37
37
|
* @extends sap.ui.dt.Plugin
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.71.
|
|
39
|
+
* @version 1.71.46
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
42
42
|
* @since 1.53
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class The ControlDragDrop enables D&D functionality for the overlays based on aggregation types
|
|
25
25
|
* @extends sap.ui.dt.plugin.DragDrop
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.71.
|
|
27
|
+
* @version 1.71.46
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @since 1.30
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @class The CutPaste enables Cut & Paste functionality for the overlays based on aggregation types
|
|
34
34
|
* @extends sap.ui.dt.Plugin
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.71.
|
|
36
|
+
* @version 1.71.46
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
39
39
|
* @since 1.34
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class The ElementMover enables movement of UI5 elements based on aggregation types, which can be used by drag and
|
|
33
33
|
* drop or cut and paste behavior.
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.71.
|
|
35
|
+
* @version 1.71.46
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.34
|