@openui5/sap.ui.dt 1.126.0 → 1.127.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.
Files changed (43) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +2 -2
  3. package/src/sap/ui/dt/.library +1 -1
  4. package/src/sap/ui/dt/AggregationDesignTimeMetadata.js +1 -1
  5. package/src/sap/ui/dt/AggregationOverlay.js +1 -1
  6. package/src/sap/ui/dt/ControlObserver.js +1 -1
  7. package/src/sap/ui/dt/DOMUtil.js +1 -1
  8. package/src/sap/ui/dt/DesignTime.js +1 -1
  9. package/src/sap/ui/dt/DesignTimeMetadata.js +1 -1
  10. package/src/sap/ui/dt/ElementDesignTimeMetadata.js +1 -1
  11. package/src/sap/ui/dt/ElementOverlay.js +1 -1
  12. package/src/sap/ui/dt/ElementUtil.js +1 -1
  13. package/src/sap/ui/dt/ManagedObjectObserver.js +1 -1
  14. package/src/sap/ui/dt/MetadataPropagationUtil.js +1 -1
  15. package/src/sap/ui/dt/MutationObserver.js +1 -1
  16. package/src/sap/ui/dt/Overlay.js +1 -1
  17. package/src/sap/ui/dt/OverlayRegistry.js +1 -1
  18. package/src/sap/ui/dt/OverlayUtil.js +1 -1
  19. package/src/sap/ui/dt/Plugin.js +1 -1
  20. package/src/sap/ui/dt/ScrollbarSynchronizer.js +1 -1
  21. package/src/sap/ui/dt/SelectionManager.js +35 -4
  22. package/src/sap/ui/dt/SelectionMode.js +1 -1
  23. package/src/sap/ui/dt/TaskManager.js +1 -1
  24. package/src/sap/ui/dt/TaskRunner.js +1 -1
  25. package/src/sap/ui/dt/Util.js +1 -1
  26. package/src/sap/ui/dt/enablement/ElementEnablementTest.js +1 -1
  27. package/src/sap/ui/dt/enablement/Test.js +1 -1
  28. package/src/sap/ui/dt/enablement/Util.js +1 -1
  29. package/src/sap/ui/dt/enablement/report/LibraryReport.js +1 -1
  30. package/src/sap/ui/dt/enablement/report/QUnitReport.js +1 -1
  31. package/src/sap/ui/dt/enablement/report/Statistic.js +1 -1
  32. package/src/sap/ui/dt/enablement/report/StatisticRenderer.js +1 -1
  33. package/src/sap/ui/dt/enablement/report/Table.js +1 -1
  34. package/src/sap/ui/dt/enablement/report/TableRenderer.js +1 -1
  35. package/src/sap/ui/dt/library.js +2 -2
  36. package/src/sap/ui/dt/plugin/ContextMenu.js +1 -1
  37. package/src/sap/ui/dt/plugin/ControlDragDrop.js +1 -1
  38. package/src/sap/ui/dt/plugin/CutPaste.js +1 -1
  39. package/src/sap/ui/dt/plugin/DragDrop.js +1 -1
  40. package/src/sap/ui/dt/plugin/ElementMover.js +1 -1
  41. package/src/sap/ui/dt/plugin/MouseSelection.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/THIRDPARTY.txt CHANGED
@@ -468,7 +468,7 @@ License: Apache-2.0
468
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
469
469
  Contained in: lib/jsdoc/ui5/plugin.js
470
470
 
471
- Component: SAP Theming Base Content, version: 11.12.0
471
+ Component: SAP Theming Base Content, version: 11.16.1
472
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
473
473
  License: Apache-2.0
474
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.dt",
3
- "version": "1.126.0",
3
+ "version": "1.127.0",
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.126.0"
17
+ "@openui5/sap.ui.core": "1.127.0"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.126.0</version>
9
+ <version>1.127.0</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.126.0
26
+ * @version 1.127.0
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.126.0
36
+ * @version 1.127.0
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.126.0
25
+ * @version 1.127.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  *
26
26
  * @namespace
27
27
  * @author SAP SE
28
- * @version 1.126.0
28
+ * @version 1.127.0
29
29
  *
30
30
  * @private
31
31
  * @since 1.30
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * @extends sap.ui.base.ManagedObject
70
70
  *
71
71
  * @author SAP SE
72
- * @version 1.126.0
72
+ * @version 1.127.0
73
73
  *
74
74
  * @constructor
75
75
  * @private
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.ui.base.ManagedObject
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.126.0
48
+ * @version 1.127.0
49
49
  *
50
50
  * @constructor
51
51
  * @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.126.0
30
+ * @version 1.127.0
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.126.0
60
+ * @version 1.127.0
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.126.0
32
+ * @version 1.127.0
33
33
  *
34
34
  * @private
35
35
  * @since 1.30
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class The ManagedObjectObserver observes changes of a ManagedObject and propagates them via events.
24
24
  * @extends sap.ui.base.ManagedObject
25
25
  * @author SAP SE
26
- * @version 1.126.0
26
+ * @version 1.127.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.30
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @namespace
23
23
  * @author SAP SE
24
- * @version 1.126.0
24
+ * @version 1.127.0
25
25
  * @private
26
26
  * @since 1.54
27
27
  * @alias sap.ui.dt.MetadataPropagationUtil
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @class The MutationObserver observes changes of a ManagedObject and propagates them via events.
33
33
  * @extends sap.ui.base.ManagedObject
34
34
  * @author SAP SE
35
- * @version 1.126.0
35
+ * @version 1.127.0
36
36
  * @constructor
37
37
  * @private
38
38
  * @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.126.0
47
+ * @version 1.127.0
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.126.0
26
+ * @version 1.127.0
27
27
  *
28
28
  * @private
29
29
  * @since 1.30
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @namespace
23
23
  * @author SAP SE
24
- * @version 1.126.0
24
+ * @version 1.127.0
25
25
  * @private
26
26
  * @since 1.30
27
27
  * @alias sap.ui.dt.OverlayUtil
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.base.ManagedObject
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.126.0
30
+ * @version 1.127.0
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -24,7 +24,7 @@ function(
24
24
  * @extends sap.ui.base.ManagedObject
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.126.0
27
+ * @version 1.127.0
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.126.0
35
+ * @version 1.127.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -130,12 +130,14 @@ function(
130
130
 
131
131
  /**
132
132
  * Replaces current selection with specified list of overlays/controls.
133
- * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]} vObjects
133
+ * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]|String|String[]} vObjects
134
134
  * Objects which should be selected can be:
135
135
  * - a single overlay
136
136
  * - an array of overlays
137
137
  * - an element which has an overlay
138
138
  * - an array of elements
139
+ * - a single control ID or Overlay ID
140
+ * - an array of control IDs or overlay IDs
139
141
  * @return {boolean} true if selection has changed
140
142
  * @public
141
143
  */
@@ -195,12 +197,14 @@ function(
195
197
 
196
198
  /**
197
199
  * Adds specified overlays/controls to the current selection.
198
- * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]} vObjects
200
+ * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]|String|String[]} vObjects
199
201
  * Objects which should be added can be:
200
202
  * - a single overlay
201
203
  * - an array of overlays
202
204
  * - an element which has an overlay
203
205
  * - an array of elements
206
+ * - a single control ID or Overlay ID
207
+ * - an array of control IDs or overlay IDs
204
208
  * @return {boolean} true if selection has changed
205
209
  * @public
206
210
  */
@@ -237,12 +241,14 @@ function(
237
241
 
238
242
  /**
239
243
  * Removes specified overlays/controls of the current selection.
240
- * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]} vObjects
244
+ * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]|String|String[]} vObjects
241
245
  * Objects which should be added can be:
242
246
  * - a single overlay
243
247
  * - an array of overlays
244
248
  * - an element which has an overlay
245
249
  * - an array of elements
250
+ * - a single control ID or Overlay ID
251
+ * - an array of control IDs or overlay IDs
246
252
  * @return {boolean} true if selection has changed
247
253
  * @public
248
254
  */
@@ -295,5 +301,30 @@ function(
295
301
  return this._aValidators.slice();
296
302
  };
297
303
 
304
+ /**
305
+ * Add hover effect to the specified overlays.
306
+ * @param {sap.ui.dt.ElementOverlay|sap.ui.dt.ElementOverlay[]|sap.ui.core.Control|sap.ui.core.Control[]|String|String[]} vObjects
307
+ * Objects to be set can be:
308
+ * - a single overlay
309
+ * - an array of overlays
310
+ * - an element which has an overlay
311
+ * - an array of elements
312
+ * - a single control ID or Overlay ID
313
+ * - an array of control IDs or overlay IDs
314
+ */
315
+ SelectionManager.prototype.addHover = function(vObjects) {
316
+ getOverlays(vObjects).forEach(function(oElementOverlay) {
317
+ // TODO: Replace with DT CSS class after refactoring
318
+ oElementOverlay.addStyleClass("sapUiRtaOverlayHover");
319
+ });
320
+ };
321
+
322
+ SelectionManager.prototype.removeHover = function(vObjects) {
323
+ getOverlays(vObjects).forEach(function(oElementOverlay) {
324
+ // TODO: Replace with DT CSS class after refactoring
325
+ oElementOverlay.removeStyleClass("sapUiRtaOverlayHover");
326
+ });
327
+ };
328
+
298
329
  return SelectionManager;
299
330
  });
@@ -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.126.0
19
+ * @version 1.127.0
20
20
  * @private
21
21
  */
22
22
  return {
@@ -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.126.0
24
+ * @version 1.127.0
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.126.0
27
+ * @version 1.127.0
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.126.0
23
+ * @version 1.127.0
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.126.0
40
+ * @version 1.127.0
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.126.0
25
+ * @version 1.127.0
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.126.0
25
+ * @version 1.127.0
26
26
  *
27
27
  * @private
28
28
  * @static
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.dt.enablement.Test
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.126.0
30
+ * @version 1.127.0
31
31
  *
32
32
  * @constructor
33
33
  * @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.126.0
27
+ * @version 1.127.0
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.126.0
36
+ * @version 1.127.0
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.126.0
13
+ * @version 1.127.0
14
14
  * @namespace
15
15
  */
16
16
  var StatisticRenderer = {
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.126.0
50
+ * @version 1.127.0
51
51
  *
52
52
  * @constructor
53
53
  * @private
@@ -10,7 +10,7 @@ sap.ui.define(function() {
10
10
 
11
11
  /**
12
12
  * @author SAP SE
13
- * @version 1.126.0
13
+ * @version 1.127.0
14
14
  * @namespace
15
15
  */
16
16
  var TableRenderer = {
@@ -123,7 +123,7 @@ sap.ui.define([
123
123
  * @namespace
124
124
  * @alias sap.ui.dt
125
125
  * @author SAP SE
126
- * @version 1.126.0
126
+ * @version 1.127.0
127
127
  * @since 1.30
128
128
  * @private
129
129
  * @ui5-restricted
@@ -131,7 +131,7 @@ sap.ui.define([
131
131
  var thisLib = Lib.init({
132
132
  name: "sap.ui.dt",
133
133
  apiVersion: 2,
134
- version: "1.126.0",
134
+ version: "1.127.0",
135
135
  dependencies: ["sap.ui.core"],
136
136
  types: [],
137
137
  interfaces: [],
@@ -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.126.0
37
+ * @version 1.127.0
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.126.0
29
+ * @version 1.127.0
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.126.0
36
+ * @version 1.127.0
37
37
  * @constructor
38
38
  * @private
39
39
  * @since 1.34
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.dt.Plugin
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.126.0
41
+ * @version 1.127.0
42
42
  *
43
43
  * @constructor
44
44
  * @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.126.0
33
+ * @version 1.127.0
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.126.0
25
+ * @version 1.127.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @extends sap.ui.dt.Plugin
18
18
  * @author SAP SE
19
- * @version 1.126.0
19
+ * @version 1.127.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.61
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  *
29
29
  * @namespace
30
30
  * @author SAP SE
31
- * @version 1.126.0
31
+ * @version 1.127.0
32
32
  *
33
33
  * @private
34
34
  * @since 1.64