@openui5/sap.ui.dt 1.92.0 → 1.93.3
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/{.eslintrc → .eslintrc.json} +0 -0
- package/.reuse/dep5 +5 -0
- package/THIRDPARTY.txt +10 -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/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 +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 +22 -26
- 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
|
File without changes
|
package/.reuse/dep5
CHANGED
|
@@ -464,3 +464,8 @@ Copyright:
|
|
|
464
464
|
License: Apache-2.0
|
|
465
465
|
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
|
466
466
|
|
|
467
|
+
Files: src/sap.ui.core/src/sap/ui/core/themes/base/base.less src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
468
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
469
|
+
License: Apache-2.0
|
|
470
|
+
Comment: these files belong to: SAP Theming Base Content
|
|
471
|
+
|
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.7
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -462,6 +462,15 @@ License: Apache-2.0
|
|
|
462
462
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
463
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
464
|
|
|
465
|
+
Component: SAP Theming Base Content, version: 11.1.34
|
|
466
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
467
|
+
License: Apache-2.0
|
|
468
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
|
+
Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
|
|
470
|
+
src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
|
|
471
|
+
src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
|
|
472
|
+
src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
473
|
+
|
|
465
474
|
|
|
466
475
|
ALL LICENSE TEXTS:
|
|
467
476
|
==================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.dt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.93.3",
|
|
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.93.3"
|
|
18
18
|
}
|
|
19
19
|
}
|
package/src/sap/ui/dt/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 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.93.3</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
|
@@ -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.
|
|
28
|
+
* @version 1.93.3
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @since 1.30
|
|
@@ -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.
|
|
33
|
+
* @version 1.93.3
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
36
36
|
* @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.
|
|
49
|
+
* @version 1.93.3
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @private
|
|
@@ -240,8 +240,8 @@ function (
|
|
|
240
240
|
}.bind(this));
|
|
241
241
|
|
|
242
242
|
// Attach stored browser events
|
|
243
|
-
this.attachEventOnce(
|
|
244
|
-
var $DomRef = jQuery(oEvent.getParameter(
|
|
243
|
+
this.attachEventOnce("afterRendering", function (oEvent) {
|
|
244
|
+
var $DomRef = jQuery(oEvent.getParameter("domRef"));
|
|
245
245
|
this._aBindParameters.forEach(function (mBrowserEvent) {
|
|
246
246
|
$DomRef.on(mBrowserEvent.sEventType, mBrowserEvent.fnProxy);
|
|
247
247
|
});
|
|
@@ -275,7 +275,7 @@ function (
|
|
|
275
275
|
* @type {Array.<string>}
|
|
276
276
|
* @private
|
|
277
277
|
*/
|
|
278
|
-
_aStyleClasses: [
|
|
278
|
+
_aStyleClasses: ["sapUiDtOverlay"],
|
|
279
279
|
|
|
280
280
|
_bShouldBeDestroyed: false,
|
|
281
281
|
|
|
@@ -293,7 +293,7 @@ function (
|
|
|
293
293
|
*/
|
|
294
294
|
Overlay.getOverlayContainer = function() {
|
|
295
295
|
if (!$OverlayContainer) {
|
|
296
|
-
$OverlayContainer = jQuery("<div></div>").attr(
|
|
296
|
+
$OverlayContainer = jQuery("<div></div>").attr("id", OVERLAY_CONTAINER_ID).appendTo("body");
|
|
297
297
|
}
|
|
298
298
|
return $OverlayContainer;
|
|
299
299
|
};
|
|
@@ -366,9 +366,9 @@ function (
|
|
|
366
366
|
return this.getDomRef();
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
this._$DomRef = jQuery(
|
|
369
|
+
this._$DomRef = jQuery("<div></div>").attr(this._getAttributes());
|
|
370
370
|
|
|
371
|
-
this._$Children = jQuery(
|
|
371
|
+
this._$Children = jQuery("<div></div>").attr({
|
|
372
372
|
"class": "sapUiDtOverlayChildren"
|
|
373
373
|
}).appendTo(this._$DomRef);
|
|
374
374
|
|
|
@@ -423,7 +423,7 @@ function (
|
|
|
423
423
|
};
|
|
424
424
|
|
|
425
425
|
Overlay.prototype.toggleStyleClass = function (sClassName) {
|
|
426
|
-
this[(this.hasStyleClass(sClassName) ?
|
|
426
|
+
this[(this.hasStyleClass(sClassName) ? "remove" : "add") + "StyleClass"](sClassName);
|
|
427
427
|
};
|
|
428
428
|
|
|
429
429
|
Overlay.prototype.setElement = function (vElement) {
|
|
@@ -438,7 +438,7 @@ function (
|
|
|
438
438
|
|
|
439
439
|
Overlay.prototype.destroy = function () {
|
|
440
440
|
if (this.bIsDestroyed) {
|
|
441
|
-
Log.error(
|
|
441
|
+
Log.error("FIXME: Do not destroy overlay twice (overlayId = " + this.getId() + ")!");
|
|
442
442
|
return;
|
|
443
443
|
}
|
|
444
444
|
|
|
@@ -469,7 +469,7 @@ function (
|
|
|
469
469
|
if (!this.getElement()) {
|
|
470
470
|
this._designTimeMetadataCache = vMetadata;
|
|
471
471
|
} else {
|
|
472
|
-
this.setAggregation(
|
|
472
|
+
this.setAggregation("designTimeMetadata", vMetadata);
|
|
473
473
|
}
|
|
474
474
|
};
|
|
475
475
|
|
|
@@ -520,7 +520,7 @@ function (
|
|
|
520
520
|
* @public
|
|
521
521
|
*/
|
|
522
522
|
Overlay.prototype.getElement = function () {
|
|
523
|
-
return ElementUtil.getElementInstance(this.getAssociation(
|
|
523
|
+
return ElementUtil.getElementInstance(this.getAssociation("element"));
|
|
524
524
|
};
|
|
525
525
|
|
|
526
526
|
/**
|
|
@@ -597,8 +597,8 @@ function (
|
|
|
597
597
|
if (oScrollbarSynchronizer.isSyncing()) {
|
|
598
598
|
aPromises.push(
|
|
599
599
|
new Promise(function (fnResolve) {
|
|
600
|
-
oScrollbarSynchronizer.attachEventOnce(
|
|
601
|
-
oScrollbarSynchronizer.attachEventOnce(
|
|
600
|
+
oScrollbarSynchronizer.attachEventOnce("synced", fnResolve);
|
|
601
|
+
oScrollbarSynchronizer.attachEventOnce("destroyed", fnResolve);
|
|
602
602
|
})
|
|
603
603
|
);
|
|
604
604
|
}
|
|
@@ -624,8 +624,8 @@ function (
|
|
|
624
624
|
return oGeometryChangedPromise
|
|
625
625
|
.catch(function (vError) {
|
|
626
626
|
Log.error(Util.createError(
|
|
627
|
-
|
|
628
|
-
|
|
627
|
+
"Overlay#applyStyles",
|
|
628
|
+
"Error occured during applySizes calculation: " + vError
|
|
629
629
|
));
|
|
630
630
|
})
|
|
631
631
|
.then(function () {
|
|
@@ -647,7 +647,7 @@ function (
|
|
|
647
647
|
var mParameters = {};
|
|
648
648
|
mParameters.bForceScrollbarSync = bForceScrollbarSync;
|
|
649
649
|
return new Promise(function (fnResolve) {
|
|
650
|
-
oChild.attachEventOnce(
|
|
650
|
+
oChild.attachEventOnce("geometryChanged", fnResolve);
|
|
651
651
|
oChild.fireApplyStylesRequired(mParameters);
|
|
652
652
|
});
|
|
653
653
|
});
|
|
@@ -815,18 +815,14 @@ function (
|
|
|
815
815
|
var oDummyScrollContainer = $TargetDomRef.find("> .sapUiDtDummyScrollContainer");
|
|
816
816
|
var oScrollbarSynchronizer;
|
|
817
817
|
if (!oDummyScrollContainer.length) {
|
|
818
|
-
oDummyScrollContainer = jQuery("<div></div>"
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
width: iScrollWidth + "px"
|
|
822
|
-
}
|
|
823
|
-
});
|
|
824
|
-
oDummyScrollContainer = jQuery("<div class='sapUiDtDummyScrollContainer' style='height: " + iScrollHeight + "px; width: " + iScrollWidth + "px;'></div>");
|
|
818
|
+
oDummyScrollContainer = jQuery("<div class='sapUiDtDummyScrollContainer'></div>");
|
|
819
|
+
oDummyScrollContainer.height(iScrollHeight);
|
|
820
|
+
oDummyScrollContainer.width(iScrollWidth);
|
|
825
821
|
|
|
826
822
|
if (
|
|
827
823
|
oTargetOverlay
|
|
828
824
|
&& DOMUtil.hasVerticalScrollBar(oOriginalDomRef)
|
|
829
|
-
&& oTargetOverlay._hasSameSize(oGeometry,
|
|
825
|
+
&& oTargetOverlay._hasSameSize(oGeometry, "height")
|
|
830
826
|
) {
|
|
831
827
|
oTargetOverlay.addStyleClass("sapUiDtOverlayWithScrollBar");
|
|
832
828
|
oTargetOverlay.addStyleClass("sapUiDtOverlayWithScrollBarVertical");
|
|
@@ -835,7 +831,7 @@ function (
|
|
|
835
831
|
if (
|
|
836
832
|
oTargetOverlay
|
|
837
833
|
&& DOMUtil.hasHorizontalScrollBar(oOriginalDomRef)
|
|
838
|
-
&& oTargetOverlay._hasSameSize(oGeometry,
|
|
834
|
+
&& oTargetOverlay._hasSameSize(oGeometry, "width")
|
|
839
835
|
) {
|
|
840
836
|
oTargetOverlay.addStyleClass("sapUiDtOverlayWithScrollBar");
|
|
841
837
|
oTargetOverlay.addStyleClass("sapUiDtOverlayWithScrollBarHorizontal");
|
|
@@ -933,7 +929,7 @@ function (
|
|
|
933
929
|
bValue = !!bValue;
|
|
934
930
|
|
|
935
931
|
if (this.getIsRoot() !== bValue) {
|
|
936
|
-
this.setProperty(
|
|
932
|
+
this.setProperty("isRoot", bValue);
|
|
937
933
|
this.fireIsRootChanged({
|
|
938
934
|
value: bValue
|
|
939
935
|
});
|
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.
|
|
19
|
+
* @version 1.93.3
|
|
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.
|
|
26
|
+
* @version 1.93.3
|
|
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
|
|
@@ -32,7 +32,7 @@ function (
|
|
|
32
32
|
// delegate further initialization of this library to the Core
|
|
33
33
|
sap.ui.getCore().initLibrary({
|
|
34
34
|
name: "sap.ui.dt",
|
|
35
|
-
version: "1.
|
|
35
|
+
version: "1.93.3",
|
|
36
36
|
dependencies: ["sap.ui.core"],
|
|
37
37
|
types: [
|
|
38
38
|
"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.
|
|
37
|
+
* @version 1.93.3
|
|
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.93.3
|
|
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.93.3
|
|
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.
|
|
35
|
+
* @version 1.93.3
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.34
|