@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.
- package/THIRDPARTY.txt +1 -1
- 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/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 +1 -1
- 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 +1 -1
- 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 +35 -4
- 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/ToolHooks.js +1 -1
- 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.
|
|
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.
|
|
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.
|
|
17
|
+
"@openui5/sap.ui.core": "1.127.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/src/sap/ui/dt/.library
CHANGED
|
@@ -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.
|
|
9
|
+
<version>1.127.0</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
|
@@ -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.
|
|
26
|
+
* @version 1.127.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @since 1.30
|
|
@@ -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.
|
|
35
|
+
* @version 1.127.0
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.30
|
package/src/sap/ui/dt/Overlay.js
CHANGED
package/src/sap/ui/dt/Plugin.js
CHANGED
|
@@ -32,7 +32,7 @@ function(
|
|
|
32
32
|
* @extends sap.ui.base.ManagedObject
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
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
|
});
|
package/src/sap/ui/dt/Util.js
CHANGED
package/src/sap/ui/dt/library.js
CHANGED
|
@@ -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
|
+
* @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.
|
|
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.
|
|
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.
|
|
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.
|
|
36
|
+
* @version 1.127.0
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
39
39
|
* @since 1.34
|
|
@@ -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.
|
|
33
|
+
* @version 1.127.0
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
36
36
|
* @since 1.34
|