@openui5/sap.ui.dt 1.111.2 → 1.112.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/package.json +2 -2
  2. package/src/sap/ui/dt/.library +1 -1
  3. package/src/sap/ui/dt/AggregationDesignTimeMetadata.js +1 -1
  4. package/src/sap/ui/dt/AggregationOverlay.js +1 -1
  5. package/src/sap/ui/dt/ControlObserver.js +1 -1
  6. package/src/sap/ui/dt/DOMUtil.js +21 -23
  7. package/src/sap/ui/dt/DesignTime.js +1 -1
  8. package/src/sap/ui/dt/DesignTimeMetadata.js +1 -1
  9. package/src/sap/ui/dt/ElementDesignTimeMetadata.js +1 -1
  10. package/src/sap/ui/dt/ElementOverlay.js +1 -1
  11. package/src/sap/ui/dt/ElementUtil.js +1 -1
  12. package/src/sap/ui/dt/ManagedObjectObserver.js +1 -1
  13. package/src/sap/ui/dt/MetadataPropagationUtil.js +1 -1
  14. package/src/sap/ui/dt/MutationObserver.js +1 -1
  15. package/src/sap/ui/dt/Overlay.js +1 -1
  16. package/src/sap/ui/dt/OverlayRegistry.js +1 -1
  17. package/src/sap/ui/dt/OverlayUtil.js +1 -1
  18. package/src/sap/ui/dt/Plugin.js +1 -1
  19. package/src/sap/ui/dt/ScrollbarSynchronizer.js +1 -1
  20. package/src/sap/ui/dt/SelectionManager.js +1 -1
  21. package/src/sap/ui/dt/SelectionMode.js +1 -1
  22. package/src/sap/ui/dt/TaskManager.js +1 -1
  23. package/src/sap/ui/dt/TaskRunner.js +1 -1
  24. package/src/sap/ui/dt/Util.js +1 -1
  25. package/src/sap/ui/dt/enablement/ElementEnablementTest.js +1 -1
  26. package/src/sap/ui/dt/enablement/Test.js +1 -1
  27. package/src/sap/ui/dt/enablement/Util.js +1 -1
  28. package/src/sap/ui/dt/enablement/report/LibraryReport.js +1 -1
  29. package/src/sap/ui/dt/enablement/report/QUnitReport.js +1 -1
  30. package/src/sap/ui/dt/enablement/report/Statistic.js +1 -1
  31. package/src/sap/ui/dt/enablement/report/StatisticRenderer.js +1 -1
  32. package/src/sap/ui/dt/enablement/report/Table.js +1 -1
  33. package/src/sap/ui/dt/enablement/report/TableRenderer.js +2 -2
  34. package/src/sap/ui/dt/library.js +2 -2
  35. package/src/sap/ui/dt/plugin/ContextMenu.js +1 -1
  36. package/src/sap/ui/dt/plugin/ControlDragDrop.js +1 -1
  37. package/src/sap/ui/dt/plugin/CutPaste.js +1 -1
  38. package/src/sap/ui/dt/plugin/DragDrop.js +1 -1
  39. package/src/sap/ui/dt/plugin/ElementMover.js +1 -1
  40. package/src/sap/ui/dt/plugin/MouseSelection.js +1 -1
  41. package/src/sap/ui/dt/plugin/TabHandling.js +1 -1
  42. package/src/sap/ui/dt/plugin/ToolHooks.js +1 -1
  43. 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.111.2",
3
+ "version": "1.112.2",
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.111.2"
17
+ "@openui5/sap.ui.core": "1.112.2"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.111.2</version>
9
+ <version>1.112.2</version>
10
10
 
11
11
  <documentation>SAP UI library: sap.ui.dt (by SAP, Author)</documentation>
12
12
 
@@ -23,7 +23,7 @@ function (
23
23
  * @extends sap.ui.dt.DesignTimeMetadata
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.111.2
26
+ * @version 1.112.2
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -33,7 +33,7 @@ function(
33
33
  * @extends sap.ui.dt.Overlay
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.111.2
36
+ * @version 1.112.2
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -22,7 +22,7 @@ function(ManagedObjectObserver) {
22
22
  * @extends sap.ui.dt.ManagedObjectObserver
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.111.2
25
+ * @version 1.112.2
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @namespace
25
25
  * @author SAP SE
26
- * @version 1.111.2
26
+ * @version 1.112.2
27
27
  *
28
28
  * @private
29
29
  * @since 1.30
@@ -151,10 +151,7 @@ sap.ui.define([
151
151
  return zIndex;
152
152
  };
153
153
 
154
- /**
155
- * @private
156
- */
157
- DOMUtil._getElementDimensions = function (oDomRef, sMeasure, aDirection) {
154
+ DOMUtil._getElementDimensions = function(oDomRef, sMeasure, aDirection) {
158
155
  var oRelevantDomRef = oDomRef[0] || oDomRef;
159
156
  var iOffsetWidth = oRelevantDomRef["offset" + sMeasure];
160
157
  var iValue = 0;
@@ -166,17 +163,11 @@ sap.ui.define([
166
163
  return iOffsetWidth + iValue;
167
164
  };
168
165
 
169
- /**
170
- * @private
171
- */
172
- DOMUtil._getElementWidth = function (oDomRef) {
166
+ DOMUtil._getElementWidth = function(oDomRef) {
173
167
  return DOMUtil._getElementDimensions(oDomRef, "Width", ["Right", "Left"]);
174
168
  };
175
169
 
176
- /**
177
- * @private
178
- */
179
- DOMUtil._getElementHeight = function (oDomRef) {
170
+ DOMUtil._getElementHeight = function(oDomRef) {
180
171
  return DOMUtil._getElementDimensions(oDomRef, "Height", ["Top", "Bottom"]);
181
172
  };
182
173
 
@@ -186,8 +177,11 @@ sap.ui.define([
186
177
  * @returns {boolean} <code>true</code> if vertical scrollbar is available on DOM Element.
187
178
  */
188
179
  DOMUtil.hasVerticalScrollBar = function(oDomRef) {
189
- var bOverflowYScroll = window.getComputedStyle(oDomRef)["overflow-y"] === "auto" || window.getComputedStyle(oDomRef)["overflow-y"] === "scroll";
190
- return bOverflowYScroll && oDomRef.scrollHeight > DOMUtil._getElementHeight(oDomRef);
180
+ if (oDomRef) {
181
+ var bOverflowYScroll = window.getComputedStyle(oDomRef)["overflow-y"] === "auto" || window.getComputedStyle(oDomRef)["overflow-y"] === "scroll";
182
+ return bOverflowYScroll && oDomRef.scrollHeight > DOMUtil._getElementHeight(oDomRef);
183
+ }
184
+ return false;
191
185
  };
192
186
 
193
187
  /**
@@ -195,9 +189,12 @@ sap.ui.define([
195
189
  * @param {HTMLElement} oDomRef - DOM Element
196
190
  * @returns {boolean} <code>true</code> if horizontal scrollbar is available on DOM Element
197
191
  */
198
- DOMUtil.hasHorizontalScrollBar = function (oDomRef) {
199
- var bOverflowXScroll = window.getComputedStyle(oDomRef)["overflow-x"] === "auto" || window.getComputedStyle(oDomRef)["overflow-x"] === "scroll";
200
- return bOverflowXScroll && oDomRef.scrollWidth > DOMUtil._getElementWidth(oDomRef);
192
+ DOMUtil.hasHorizontalScrollBar = function(oDomRef) {
193
+ if (oDomRef) {
194
+ var bOverflowXScroll = window.getComputedStyle(oDomRef)["overflow-x"] === "auto" || window.getComputedStyle(oDomRef)["overflow-x"] === "scroll";
195
+ return bOverflowXScroll && oDomRef.scrollWidth > DOMUtil._getElementWidth(oDomRef);
196
+ }
197
+ return false;
201
198
  };
202
199
 
203
200
  /**
@@ -269,6 +266,7 @@ sap.ui.define([
269
266
  visible: this.isVisible(oDomRef)
270
267
  };
271
268
  }
269
+ return undefined;
272
270
  };
273
271
 
274
272
  DOMUtil.syncScroll = function(oSourceDom, oTargetDom) {
@@ -334,7 +332,7 @@ sap.ui.define([
334
332
  * @param {HTMLElement} oNode - Target node to add the attribute to
335
333
  * @param {boolean} bValue - Attribute value
336
334
  */
337
- DOMUtil.setDraggable = function (oNode, bValue) {
335
+ DOMUtil.setDraggable = function(oNode, bValue) {
338
336
  oNode.setAttribute("draggable", bValue);
339
337
  };
340
338
 
@@ -343,14 +341,14 @@ sap.ui.define([
343
341
  * @param {HTMLElement} oNode - Target node to set the draggable attribute on
344
342
  * @returns {boolean|undefined} undefined when draggable is not set to the node
345
343
  */
346
- DOMUtil.getDraggable = function (oNode) {
344
+ DOMUtil.getDraggable = function(oNode) {
347
345
  switch (oNode.getAttribute("draggable")) {
348
346
  case "true":
349
347
  return true;
350
348
  case "false":
351
349
  return false;
352
350
  default:
353
- return;
351
+ return undefined;
354
352
  }
355
353
  };
356
354
 
@@ -446,7 +444,7 @@ sap.ui.define([
446
444
  * @param {HTMLElement} oTargetNode - Node to look for in a potential parent node
447
445
  * @returns {boolean} <code>true</code> if a potential parent contains the target node
448
446
  */
449
- DOMUtil.contains = function (sId, oTargetNode) {
447
+ DOMUtil.contains = function(sId, oTargetNode) {
450
448
  var oNode = document.getElementById(sId);
451
449
  return !!oNode && oNode.contains(oTargetNode);
452
450
  };
@@ -456,7 +454,7 @@ sap.ui.define([
456
454
  * @param {HTMLElement} oTargetNode - Target node to whom child has to be appended
457
455
  * @param {HTMLElement} oChildNode - Child node to be appended to specified target
458
456
  */
459
- DOMUtil.appendChild = function (oTargetNode, oChildNode) {
457
+ DOMUtil.appendChild = function(oTargetNode, oChildNode) {
460
458
  var iScrollTop = oChildNode.scrollTop;
461
459
  var iScrollLeft = oChildNode.scrollLeft;
462
460
  oTargetNode.appendChild(oChildNode);
@@ -68,7 +68,7 @@ function (
68
68
  * @extends sap.ui.base.ManagedObject
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.111.2
71
+ * @version 1.112.2
72
72
  *
73
73
  * @constructor
74
74
  * @private
@@ -46,7 +46,7 @@ function(
46
46
  * @extends sap.ui.base.ManagedObject
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.111.2
49
+ * @version 1.112.2
50
50
  *
51
51
  * @constructor
52
52
  * @private
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.dt.DesignTimeMetadata
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.111.2
30
+ * @version 1.112.2
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.ui.dt.Overlay
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.111.2
60
+ * @version 1.112.2
61
61
  *
62
62
  * @constructor
63
63
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  *
30
30
  * @namespace
31
31
  * @author SAP SE
32
- * @version 1.111.2
32
+ * @version 1.112.2
33
33
  *
34
34
  * @private
35
35
  * @since 1.30
@@ -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.111.2
28
+ * @version 1.112.2
29
29
  * @constructor
30
30
  * @private
31
31
  * @since 1.30
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @namespace
23
23
  * @author SAP SE
24
- * @version 1.111.2
24
+ * @version 1.112.2
25
25
  * @private
26
26
  * @since 1.54
27
27
  * @alias sap.ui.dt.MetadataPropagationUtil
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class The MutationObserver observes changes of a ManagedObject and propagates them via events.
31
31
  * @extends sap.ui.base.ManagedObject
32
32
  * @author SAP SE
33
- * @version 1.111.2
33
+ * @version 1.112.2
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.30
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Element
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.111.2
47
+ * @version 1.112.2
48
48
  *
49
49
  * @constructor
50
50
  * @private
@@ -23,7 +23,7 @@ function(
23
23
  *
24
24
  * @namespace
25
25
  * @author SAP SE
26
- * @version 1.111.2
26
+ * @version 1.112.2
27
27
  *
28
28
  * @private
29
29
  * @since 1.30
@@ -22,7 +22,7 @@ function(
22
22
  *
23
23
  * @namespace
24
24
  * @author SAP SE
25
- * @version 1.111.2
25
+ * @version 1.112.2
26
26
  * @private
27
27
  * @since 1.30
28
28
  * @alias sap.ui.dt.OverlayUtil
@@ -26,7 +26,7 @@ function(
26
26
  * @extends sap.ui.base.ManagedObject
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.111.2
29
+ * @version 1.112.2
30
30
  *
31
31
  * @constructor
32
32
  * @private
@@ -24,7 +24,7 @@ function(
24
24
  * @extends sap.ui.base.ManagedObject
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.111.2
27
+ * @version 1.112.2
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -34,7 +34,7 @@ function (
34
34
  * @extends sap.ui.base.ManagedObject
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.111.2
37
+ * @version 1.112.2
38
38
  *
39
39
  * @constructor
40
40
  * @private
@@ -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.111.2
19
+ * @version 1.112.2
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
  */
@@ -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.111.2
24
+ * @version 1.112.2
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -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.111.2
27
+ * @version 1.112.2
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @namespace
22
22
  * @author SAP SE
23
- * @version 1.111.2
23
+ * @version 1.112.2
24
24
  *
25
25
  * @private
26
26
  * @since 1.54
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.dt.test.Test
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.111.2
40
+ * @version 1.112.2
41
41
  *
42
42
  * @constructor
43
43
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.base.ManagedObject
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.111.2
25
+ * @version 1.112.2
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @namespace
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.111.2
25
+ * @version 1.112.2
26
26
  *
27
27
  * @private
28
28
  * @static
@@ -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.111.2
28
+ * @version 1.112.2
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.base.ManagedObject
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.111.2
27
+ * @version 1.112.2
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.111.2
36
+ * @version 1.112.2
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -10,7 +10,7 @@ sap.ui.define(function() {
10
10
 
11
11
  /**
12
12
  * @author SAP SE
13
- * @version 1.111.2
13
+ * @version 1.112.2
14
14
  * @namespace
15
15
  */
16
16
  var StatisticRenderer = {
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.111.2
46
+ * @version 1.112.2
47
47
  *
48
48
  * @constructor
49
49
  * @private
@@ -10,7 +10,7 @@ sap.ui.define(function() {
10
10
 
11
11
  /**
12
12
  * @author SAP SE
13
- * @version 1.111.2
13
+ * @version 1.112.2
14
14
  * @namespace
15
15
  */
16
16
  var TableRenderer = {
@@ -26,7 +26,7 @@ sap.ui.define(function() {
26
26
  TableRenderer.render = function(rm, oTable) {
27
27
  rm.openStart("div", oTable);
28
28
  rm.class("sapUiDtTableReport");
29
- rm.openEnd(">");
29
+ rm.openEnd();
30
30
 
31
31
  rm.renderControl(oTable._getTable());
32
32
 
@@ -23,14 +23,14 @@ function (
23
23
  * @namespace
24
24
  * @alias sap.ui.dt
25
25
  * @author SAP SE
26
- * @version 1.111.2
26
+ * @version 1.112.2
27
27
  * @since 1.30
28
28
  * @experimental This class is experimental and provides only limited functionality. Also the API might be changed in future.
29
29
  * @private
30
30
  */
31
31
  var thisLib = sap.ui.getCore().initLibrary({
32
32
  name: "sap.ui.dt",
33
- version: "1.111.2",
33
+ version: "1.112.2",
34
34
  dependencies: ["sap.ui.core"],
35
35
  types: [
36
36
  "sap.ui.dt.SelectionMode"
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @class The ContextMenu registers event handler to open the context menu. Menu entries can dynamically be added
35
35
  * @extends sap.ui.dt.Plugin
36
36
  * @author SAP SE
37
- * @version 1.111.2
37
+ * @version 1.112.2
38
38
  * @constructor
39
39
  * @private
40
40
  * @since 1.53
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @class The ControlDragDrop enables D&D functionality for the overlays based on aggregation types
27
27
  * @extends sap.ui.dt.plugin.DragDrop
28
28
  * @author SAP SE
29
- * @version 1.111.2
29
+ * @version 1.112.2
30
30
  * @constructor
31
31
  * @private
32
32
  * @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.111.2
36
+ * @version 1.112.2
37
37
  * @constructor
38
38
  * @private
39
39
  * @since 1.34
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.dt.Plugin
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.111.2
39
+ * @version 1.112.2
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class The ElementMover enables movement of UI5 elements based on aggregation types, which can be used by drag and
31
31
  * drop or cut and paste behavior.
32
32
  * @author SAP SE
33
- * @version 1.111.2
33
+ * @version 1.112.2
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.34
@@ -22,7 +22,7 @@ function(Plugin) {
22
22
  * @extends sap.ui.dt.Plugin
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.111.2
25
+ * @version 1.112.2
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class The TabHandling plugin adjusts the tabindex for the elements.
25
25
  * @extends sap.ui.dt.Plugin
26
26
  * @author SAP SE
27
- * @version 1.111.2
27
+ * @version 1.112.2
28
28
  * @constructor
29
29
  * @private
30
30
  * @since 1.38
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @extends sap.ui.dt.Plugin
18
18
  * @author SAP SE
19
- * @version 1.111.2
19
+ * @version 1.112.2
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.61
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  *
31
31
  * @namespace
32
32
  * @author SAP SE
33
- * @version 1.111.2
33
+ * @version 1.112.2
34
34
  *
35
35
  * @private
36
36
  * @since 1.64