@openui5/sap.ui.dt 1.142.0 → 1.143.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/.eslintrc.json +3 -2
  2. package/REUSE.toml +1 -1
  3. package/THIRDPARTY.txt +2 -2
  4. package/package.json +2 -2
  5. package/src/sap/ui/dt/.library +1 -1
  6. package/src/sap/ui/dt/AggregationDesignTimeMetadata.js +1 -1
  7. package/src/sap/ui/dt/AggregationOverlay.js +2 -2
  8. package/src/sap/ui/dt/ControlObserver.js +1 -1
  9. package/src/sap/ui/dt/DOMUtil.js +1 -1
  10. package/src/sap/ui/dt/DesignTime.js +16 -17
  11. package/src/sap/ui/dt/DesignTimeMetadata.js +1 -1
  12. package/src/sap/ui/dt/ElementDesignTimeMetadata.js +1 -1
  13. package/src/sap/ui/dt/ElementOverlay.js +4 -5
  14. package/src/sap/ui/dt/ElementUtil.js +2 -2
  15. package/src/sap/ui/dt/ManagedObjectObserver.js +1 -1
  16. package/src/sap/ui/dt/MetadataPropagationUtil.js +1 -1
  17. package/src/sap/ui/dt/MutationObserver.js +1 -1
  18. package/src/sap/ui/dt/Overlay.js +1 -2
  19. package/src/sap/ui/dt/OverlayRegistry.js +1 -1
  20. package/src/sap/ui/dt/OverlayUtil.js +1 -1
  21. package/src/sap/ui/dt/Plugin.js +3 -3
  22. package/src/sap/ui/dt/ScrollbarSynchronizer.js +1 -2
  23. package/src/sap/ui/dt/SelectionManager.js +1 -1
  24. package/src/sap/ui/dt/SelectionMode.js +1 -1
  25. package/src/sap/ui/dt/TaskManager.js +1 -2
  26. package/src/sap/ui/dt/TaskRunner.js +1 -1
  27. package/src/sap/ui/dt/Util.js +1 -1
  28. package/src/sap/ui/dt/enablement/ElementEnablementTest.js +1 -1
  29. package/src/sap/ui/dt/enablement/Test.js +1 -1
  30. package/src/sap/ui/dt/enablement/Util.js +1 -1
  31. package/src/sap/ui/dt/enablement/libraryTest.js +1 -1
  32. package/src/sap/ui/dt/enablement/report/LibraryReport.js +1 -1
  33. package/src/sap/ui/dt/enablement/report/QUnitReport.js +1 -1
  34. package/src/sap/ui/dt/library.js +2 -2
  35. package/src/sap/ui/dt/plugin/ContextMenu.js +2 -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 +3 -3
  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/ToolHooks.js +2 -2
  42. package/src/sap/ui/dt/themes/base/ContextMenu.less +8 -4
  43. package/src/sap/ui/dt/util/ZIndexManager.js +1 -1
package/.eslintrc.json CHANGED
@@ -56,7 +56,7 @@
56
56
  "prefer-template": "error",
57
57
  "rest-spread-spacing": ["error", "never"],
58
58
  "template-curly-spacing": "error",
59
- "object-shorthand": ["error", "always", { "ignoreConstructors": false, "avoidQuotes": true }],
59
+ "object-shorthand": ["error", "always", { "ignoreConstructors": true, "avoidQuotes": true, "methodsIgnorePattern": "^constructor$" }],
60
60
  "prefer-destructuring": ["error", {
61
61
  "VariableDeclarator": {
62
62
  "array": false,
@@ -73,6 +73,7 @@
73
73
  "prefer-rest-params": "error",
74
74
  "prefer-spread": "error",
75
75
  "logical-assignment-operators":["error", "always", { "enforceForIfStatements": true } ],
76
- "require-await": "error"
76
+ "require-await": "error",
77
+ "object-curly-spacing": ["error", "always"]
77
78
  }
78
79
  }
package/REUSE.toml CHANGED
@@ -385,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
385
385
  [[annotations]]
386
386
  path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
387
387
  precedence = "aggregate"
388
- SPDX-FileCopyrightText = "2010-2012, The Dojo Foundation"
388
+ SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
389
389
  SPDX-License-Identifier = "MIT"
390
390
  SPDX-FileComment = "these files belong to: requireJS"
391
391
 
package/THIRDPARTY.txt CHANGED
@@ -254,8 +254,8 @@ License: MIT
254
254
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
255
255
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
256
256
 
257
- Component: requireJS, version: 2.1.8
258
- Copyright: 2010-2012, The Dojo Foundation
257
+ Component: requireJS, version: 2.3.7
258
+ Copyright: 2010-2024, jQuery Foundation and other contributors
259
259
  License: MIT
260
260
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
261
261
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.dt",
3
- "version": "1.142.0",
3
+ "version": "1.143.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/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.142.0"
17
+ "@openui5/sap.ui.core": "1.143.0"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.142.0</version>
9
+ <version>1.143.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.142.0
26
+ * @version 1.143.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.142.0
36
+ * @version 1.143.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -249,7 +249,7 @@ function(
249
249
  this.setProperty("targetZone", bTargetZone);
250
250
  this.toggleStyleClass("sapUiDtOverlayTargetZone", bTargetZone);
251
251
 
252
- this.fireTargetZoneChange({targetZone: bTargetZone});
252
+ this.fireTargetZoneChange({ targetZone: bTargetZone });
253
253
  }
254
254
 
255
255
  return this;
@@ -22,7 +22,7 @@ function(ManagedObjectObserver) {
22
22
  * @extends sap.ui.dt.ManagedObjectObserver
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.142.0
25
+ * @version 1.143.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.142.0
28
+ * @version 1.143.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.142.0
72
+ * @version 1.143.0
73
73
  *
74
74
  * @constructor
75
75
  * @private
@@ -186,16 +186,16 @@ sap.ui.define([
186
186
  elementOverlayAdded: {
187
187
  parameters: {
188
188
  // id of the added overlay
189
- id: {type: "string"},
189
+ id: { type: "string" },
190
190
 
191
191
  // index of element overlay in the target aggregation overlay
192
- targetIndex: {type: "int"},
192
+ targetIndex: { type: "int" },
193
193
 
194
194
  // id of target aggregation overlay
195
- targetId: {type: "string"},
195
+ targetId: { type: "string" },
196
196
 
197
197
  // aggregation where element overlay is inserted
198
- targetAggregation: {type: "string"}
198
+ targetAggregation: { type: "string" }
199
199
  }
200
200
  },
201
201
 
@@ -205,16 +205,16 @@ sap.ui.define([
205
205
  elementOverlayMoved: {
206
206
  parameters: {
207
207
  // id of the moved overlay
208
- id: {type: "string"},
208
+ id: { type: "string" },
209
209
 
210
210
  // index of element overlay in the target aggregation overlay
211
- targetIndex: {type: "int"},
211
+ targetIndex: { type: "int" },
212
212
 
213
213
  // id of target aggregation overlay
214
- targetId: {type: "string"},
214
+ targetId: { type: "string" },
215
215
 
216
216
  // aggregation where element overlay is inserted
217
- targetAggregation: {type: "string"}
217
+ targetAggregation: { type: "string" }
218
218
  }
219
219
  },
220
220
 
@@ -223,9 +223,9 @@ sap.ui.define([
223
223
  */
224
224
  elementOverlayEditableChanged: {
225
225
  parameters: {
226
- id: {type: "string"},
227
- elementId: {type: "string"},
228
- editable: {type: "boolean"}
226
+ id: { type: "string" },
227
+ elementId: { type: "string" },
228
+ editable: { type: "boolean" }
229
229
  }
230
230
  },
231
231
 
@@ -234,10 +234,10 @@ sap.ui.define([
234
234
  */
235
235
  elementPropertyChanged: {
236
236
  parameters: {
237
- id: {type: "string"},
238
- name: {type: "string"},
239
- oldValue: {type: "any"},
240
- value: {type: "any"}
237
+ id: { type: "string" },
238
+ name: { type: "string" },
239
+ oldValue: { type: "any" },
240
+ value: { type: "any" }
241
241
  }
242
242
  },
243
243
 
@@ -257,7 +257,6 @@ sap.ui.define([
257
257
  syncFailed: {}
258
258
  }
259
259
  },
260
- // eslint-disable-next-line object-shorthand
261
260
  constructor: function(...aArgs) {
262
261
  // Storage for promises of pending overlays (overlays that are in creation phase)
263
262
  this._sStatus = DesignTimeStatus.SYNCED;
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @extends sap.ui.base.ManagedObject
46
46
  *
47
47
  * @author SAP SE
48
- * @version 1.142.0
48
+ * @version 1.143.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.142.0
30
+ * @version 1.143.0
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.dt.Overlay
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.142.0
58
+ * @version 1.143.0
59
59
  *
60
60
  * @constructor
61
61
  * @private
@@ -184,7 +184,6 @@ sap.ui.define([
184
184
  }
185
185
  }
186
186
  },
187
- // eslint-disable-next-line object-shorthand
188
187
  constructor: function(...aArgs) {
189
188
  this._aMetadataEnhancers = [];
190
189
  Overlay.apply(this, aArgs);
@@ -651,7 +650,7 @@ sap.ui.define([
651
650
 
652
651
  this.toggleStyleClass("sapUiDtOverlaySelectable", bSelectable);
653
652
  this.setProperty("selectable", bSelectable);
654
- this.fireSelectableChange({selectable: bSelectable});
653
+ this.fireSelectableChange({ selectable: bSelectable });
655
654
  }
656
655
  this.setFocusable(bSelectable);
657
656
  return this;
@@ -719,7 +718,7 @@ sap.ui.define([
719
718
  this.toggleStyleClass("sapUiDtOverlayMovable", bMovable);
720
719
 
721
720
  this.setProperty("movable", bMovable);
722
- this.fireMovableChange({movable: bMovable});
721
+ this.fireMovableChange({ movable: bMovable });
723
722
 
724
723
  this.getDomRef()?.[bMovable ? "setAttribute" : "removeAttribute"]("draggable", bMovable);
725
724
  }
@@ -835,7 +834,7 @@ sap.ui.define([
835
834
  */
836
835
  ElementOverlay.prototype._onElementDestroyed = function(oEvent) {
837
836
  var sElementId = oEvent.getSource().getTarget();
838
- this.fireElementDestroyed({targetId: sElementId});
837
+ this.fireElementDestroyed({ targetId: sElementId });
839
838
  if (this._bInit) {
840
839
  this.destroy();
841
840
  } else {
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  *
30
30
  * @namespace
31
31
  * @author SAP SE
32
- * @version 1.142.0
32
+ * @version 1.143.0
33
33
  *
34
34
  * @private
35
35
  * @since 1.30
@@ -457,7 +457,7 @@ sap.ui.define([
457
457
 
458
458
  // If the binding is found on an API parent (with a forwarded aggregation),
459
459
  // the templateId is directly retrieved from it (the stack only has the element itself)
460
- var {aAPIParentInfos} = oElement;
460
+ var { aAPIParentInfos } = oElement;
461
461
  if (aAPIParentInfos && aAPIParentInfos.length > 0) {
462
462
  bBindingFound = aAPIParentInfos.some(function(mParentInfo) {
463
463
  oParent = mParentInfo.parent;
@@ -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.142.0
26
+ * @version 1.143.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.142.0
24
+ * @version 1.143.0
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.142.0
33
+ * @version 1.143.0
34
34
  * @constructor
35
35
  * @private
36
36
  * @since 1.30
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Element
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.142.0
45
+ * @version 1.143.0
46
46
  *
47
47
  * @constructor
48
48
  * @private
@@ -194,7 +194,6 @@ sap.ui.define([
194
194
  }
195
195
  }
196
196
  },
197
- // eslint-disable-next-line object-shorthand
198
197
  constructor: function(...aArgs) {
199
198
  this._aStyleClasses = this._aStyleClasses.slice(0);
200
199
  this._oScrollbarSynchronizers = new Map();
@@ -23,7 +23,7 @@ function(
23
23
  *
24
24
  * @namespace
25
25
  * @author SAP SE
26
- * @version 1.142.0
26
+ * @version 1.143.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.142.0
24
+ * @version 1.143.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.142.0
30
+ * @version 1.143.0
31
31
  *
32
32
  * @constructor
33
33
  * @private
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  events: {
56
56
  processingStatusChange: {
57
57
  parameters: {
58
- processing: {type: "boolean"}
58
+ processing: { type: "boolean" }
59
59
  }
60
60
  }
61
61
  }
@@ -496,7 +496,7 @@ sap.ui.define([
496
496
  return true;
497
497
  }
498
498
  }.bind(this));
499
- return { ...oMenuItem, ...(bEnhanceMenuItem && {responsible: aResponsibleElementOverlays}) };
499
+ return { ...oMenuItem, ...(bEnhanceMenuItem && { responsible: aResponsibleElementOverlays }) };
500
500
  };
501
501
 
502
502
  return Plugin;
@@ -22,7 +22,7 @@ function(
22
22
  * @extends sap.ui.base.ManagedObject
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.142.0
25
+ * @version 1.143.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -50,7 +50,6 @@ function(
50
50
  }
51
51
  },
52
52
  _bSyncing: false,
53
- // eslint-disable-next-line object-shorthand
54
53
  constructor: function(...aArgs) {
55
54
  this._scrollEventHandler = this._scrollEventHandler.bind(this);
56
55
  ManagedObject.apply(this, aArgs);
@@ -32,7 +32,7 @@ function(
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.142.0
35
+ * @version 1.143.0
36
36
  *
37
37
  * @constructor
38
38
  * @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.142.0
19
+ * @version 1.143.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.142.0
24
+ * @version 1.143.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -50,7 +50,6 @@ function(
50
50
  }
51
51
  }
52
52
  },
53
- // eslint-disable-next-line object-shorthand
54
53
  constructor: function(...aArgs) {
55
54
  ManagedObject.apply(this, aArgs);
56
55
  this._mQueuedTasks = {};
@@ -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.142.0
27
+ * @version 1.143.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.142.0
23
+ * @version 1.143.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.142.0
40
+ * @version 1.143.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.142.0
25
+ * @version 1.143.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.142.0
25
+ * @version 1.143.0
26
26
  *
27
27
  * @private
28
28
  * @static
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  */
54
54
  var LibraryTest = function(sTestLibrary) {
55
55
  return new Promise(function(resolve) {
56
- Lib.load({name: sTestLibrary}).then(function(oLibrary) {
56
+ Lib.load({ name: sTestLibrary }).then(function(oLibrary) {
57
57
  var aElements = oLibrary.controls.concat(oLibrary.elements);
58
58
  sLibrary = sTestLibrary;
59
59
  sap.ui.require(aElements.map(function(s) {
@@ -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.142.0
30
+ * @version 1.143.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.142.0
27
+ * @version 1.143.0
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -119,7 +119,7 @@ sap.ui.define([
119
119
  * @namespace
120
120
  * @alias sap.ui.dt
121
121
  * @author SAP SE
122
- * @version 1.142.0
122
+ * @version 1.143.0
123
123
  * @since 1.30
124
124
  * @private
125
125
  * @ui5-restricted
@@ -127,7 +127,7 @@ sap.ui.define([
127
127
  var thisLib = Lib.init({
128
128
  name: "sap.ui.dt",
129
129
  apiVersion: 2,
130
- version: "1.142.0",
130
+ version: "1.143.0",
131
131
  dependencies: ["sap.ui.core"],
132
132
  types: [],
133
133
  interfaces: [],
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class The ContextMenu registers event handler to open the context menu. Menu entries can dynamically be added
41
41
  * @extends sap.ui.dt.Plugin
42
42
  * @author SAP SE
43
- * @version 1.142.0
43
+ * @version 1.143.0
44
44
  * @constructor
45
45
  * @private
46
46
  * @since 1.53
@@ -147,6 +147,7 @@ sap.ui.define([
147
147
  ariaLabelledBy: this.getId()
148
148
  });
149
149
  oAdditionalInfoButton.setTooltip(oMenuItem.additionalInfo);
150
+ oAdditionalInfoButton.setEnabled(false);
150
151
  return oAdditionalInfoButton;
151
152
  }
152
153
 
@@ -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.142.0
29
+ * @version 1.143.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.142.0
36
+ * @version 1.143.0
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.142.0
39
+ * @version 1.143.0
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -357,8 +357,8 @@ sap.ui.define([
357
357
  // changedTouches will have the information related to the moved finger, because it’s what caused the event "touchmove"
358
358
  var aTouches = oEvent.touches || oEvent.changedTouches;
359
359
 
360
- var {pageX} = aTouches[0];
361
- var {pageY} = aTouches[0];
360
+ var { pageX } = aTouches[0];
361
+ var { pageY } = aTouches[0];
362
362
 
363
363
  var oTargetOverlay = this._findTargetOverlayFromCoordinates(pageX, pageY);
364
364
 
@@ -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.142.0
33
+ * @version 1.143.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.142.0
25
+ * @version 1.143.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.142.0
19
+ * @version 1.143.0
20
20
  * @constructor
21
21
  * @private
22
22
  * @since 1.61
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  oOverlay
56
56
  .getDesignTimeMetadata()
57
57
  .getToolHooks()
58
- .stop(oOverlay.getElement(), {versionWasActivated: this.getVersionWasActivated()});
58
+ .stop(oOverlay.getElement(), { versionWasActivated: this.getVersionWasActivated() });
59
59
  };
60
60
 
61
61
  return ToolHooks;
@@ -5,6 +5,7 @@
5
5
  @_sap_ui_dt_ContextMenu_MnuItemIconColor: var(--sapContent_NonInteractiveIconColor); // #111
6
6
  @_sap_ui_dt_ContextMenu_PrpgtedMnuItemBGColor: var(--sapList_AlternatingBackground); // darken(#111, 10);
7
7
  @_sap_ui_dt_ContextMenu_PrpgtedTitleBorderColor: var(--sapShell_BorderColor); // #111
8
+ @_sap_ui_dt_ContextMenu_EnabledOpacity: 1;
8
9
 
9
10
  .sapUiDtContextMenu.sapMMenu {
10
11
  .sapMMenuList {
@@ -26,6 +27,9 @@
26
27
  background-color: transparent;
27
28
  border-color: transparent;
28
29
  }
30
+ &.sapMBtnDisabled{
31
+ opacity: @_sap_ui_dt_ContextMenu_EnabledOpacity;
32
+ }
29
33
  &:focus-visible > .sapMFocusable,
30
34
  &:focus > .sapMFocusable{
31
35
  &::before{
@@ -39,12 +43,12 @@
39
43
  }
40
44
 
41
45
  &.sapMMenuItemDisabled {
42
- opacity: 0.5;
46
+ opacity: var(--sapContent_DisabledOpacity);
43
47
  }
44
48
 
45
49
  // style for control names
46
50
  &.sapUiDtContextMenuControlTitle {
47
- opacity: 1;
51
+ opacity: @_sap_ui_dt_ContextMenu_EnabledOpacity;
48
52
  height: 1.5rem;
49
53
  .sapMMenuItemIcon {
50
54
  display: none;
@@ -57,7 +61,7 @@
57
61
 
58
62
  // Style for title "Extended Actions"
59
63
  &.sapUiDtContextMenuExtendedActionsTitle {
60
- opacity: 1;
64
+ opacity: @_sap_ui_dt_ContextMenu_EnabledOpacity;
61
65
  height: 2rem;
62
66
  text-align: center;
63
67
  background-color: @_sap_ui_dt_ContextMenu_PrpgtedMnuItemBGColor;
@@ -75,7 +79,7 @@
75
79
 
76
80
  // style for names of propagated controls
77
81
  &.sapUiDtContextMenuPropagatedControlTitle {
78
- opacity: 1;
82
+ opacity: @_sap_ui_dt_ContextMenu_EnabledOpacity;
79
83
  height: 1.5rem;
80
84
  background-color: @_sap_ui_dt_ContextMenu_PrpgtedMnuItemBGColor;
81
85
  margin: 0!important;
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  *
29
29
  * @namespace
30
30
  * @author SAP SE
31
- * @version 1.142.0
31
+ * @version 1.143.0
32
32
  *
33
33
  * @private
34
34
  * @since 1.64