@openui5/sap.ui.dt 1.132.0 → 1.133.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/.reuse/dep5 +2 -2
- package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
- package/THIRDPARTY.txt +54 -66
- 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 +2 -4
- 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 +9 -7
- 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/libraryTest.js +18 -15
- 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/LICENSES/Unicode-DFS-2015.txt +0 -51
package/.reuse/dep5
CHANGED
|
@@ -235,8 +235,8 @@ License: Apache-2.0
|
|
|
235
235
|
Comment: these files belong to: Google-Caja JS HTML Sanitizer
|
|
236
236
|
|
|
237
237
|
Files: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
238
|
-
Copyright: 1991-
|
|
239
|
-
License: Unicode-
|
|
238
|
+
Copyright: 1991-2024 Unicode, Inc.
|
|
239
|
+
License: LicenseRef-Unicode-3.0
|
|
240
240
|
Comment: these files belong to: Unicode Common Locale Data Repository
|
|
241
241
|
|
|
242
242
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
UNICODE LICENSE V3
|
|
2
|
+
|
|
3
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
4
|
+
|
|
5
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
6
|
+
|
|
7
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
8
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
9
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
10
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
11
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
14
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
15
|
+
software and any associated documentation (the "Software") to deal in the
|
|
16
|
+
Data Files or Software without restriction, including without limitation
|
|
17
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
18
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
19
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
20
|
+
this copyright and permission notice appear with all copies of the Data
|
|
21
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
22
|
+
associated Documentation.
|
|
23
|
+
|
|
24
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
25
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
26
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
27
|
+
THIRD PARTY RIGHTS.
|
|
28
|
+
|
|
29
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
30
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
31
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
32
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
33
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
34
|
+
FILES OR SOFTWARE.
|
|
35
|
+
|
|
36
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
37
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
38
|
+
dealings in these Data Files or Software without prior written
|
|
39
|
+
authorization of the copyright holder.
|
package/THIRDPARTY.txt
CHANGED
|
@@ -187,10 +187,10 @@ License: Apache-2.0
|
|
|
187
187
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
188
188
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
189
189
|
|
|
190
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
191
|
-
Copyright: 1991-
|
|
192
|
-
License: Unicode-
|
|
193
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-
|
|
190
|
+
Component: Unicode Common Locale Data Repository, version: 46.1.0
|
|
191
|
+
Copyright: 1991-2024 Unicode, Inc.
|
|
192
|
+
License: LicenseRef-Unicode-3.0
|
|
193
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
|
|
194
194
|
Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
195
195
|
|
|
196
196
|
Component: MobiScroll, version: 2.9.0
|
|
@@ -342,7 +342,7 @@ License: ISC
|
|
|
342
342
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
343
343
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
344
344
|
|
|
345
|
-
Component: Time Zone Database, version:
|
|
345
|
+
Component: Time Zone Database, version: 2024b
|
|
346
346
|
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
347
347
|
License: LicenseRef-tzdata-PublicDomain
|
|
348
348
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
@@ -966,6 +966,55 @@ END of license: LicenseRef-JSONinJSPublicDomain
|
|
|
966
966
|
=================================
|
|
967
967
|
|
|
968
968
|
|
|
969
|
+
=================================
|
|
970
|
+
BEGIN of license: LicenseRef-Unicode-3.0
|
|
971
|
+
=================================
|
|
972
|
+
|
|
973
|
+
UNICODE LICENSE V3
|
|
974
|
+
|
|
975
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
976
|
+
|
|
977
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
978
|
+
|
|
979
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
980
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
981
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
982
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
983
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
984
|
+
|
|
985
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
986
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
987
|
+
software and any associated documentation (the "Software") to deal in the
|
|
988
|
+
Data Files or Software without restriction, including without limitation
|
|
989
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
990
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
991
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
992
|
+
this copyright and permission notice appear with all copies of the Data
|
|
993
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
994
|
+
associated Documentation.
|
|
995
|
+
|
|
996
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
997
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
998
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
999
|
+
THIRD PARTY RIGHTS.
|
|
1000
|
+
|
|
1001
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
1002
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
1003
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
1004
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
1005
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
1006
|
+
FILES OR SOFTWARE.
|
|
1007
|
+
|
|
1008
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
1009
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
1010
|
+
dealings in these Data Files or Software without prior written
|
|
1011
|
+
authorization of the copyright holder.
|
|
1012
|
+
|
|
1013
|
+
=================================
|
|
1014
|
+
END of license: LicenseRef-Unicode-3.0
|
|
1015
|
+
=================================
|
|
1016
|
+
|
|
1017
|
+
|
|
969
1018
|
=================================
|
|
970
1019
|
BEGIN of license: LicenseRef-tzdata-PublicDomain
|
|
971
1020
|
=================================
|
|
@@ -1009,64 +1058,3 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1009
1058
|
END of license: MIT
|
|
1010
1059
|
=================================
|
|
1011
1060
|
|
|
1012
|
-
|
|
1013
|
-
=================================
|
|
1014
|
-
BEGIN of license: Unicode-DFS-2015
|
|
1015
|
-
=================================
|
|
1016
|
-
|
|
1017
|
-
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
1018
|
-
|
|
1019
|
-
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
|
|
1020
|
-
http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
|
|
1021
|
-
Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
|
|
1022
|
-
Software includes any source code published in the Unicode Standard or under
|
|
1023
|
-
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
1024
|
-
and http://www.unicode.org/cldr/data/.
|
|
1025
|
-
|
|
1026
|
-
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
|
|
1027
|
-
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
|
|
1028
|
-
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
|
|
1029
|
-
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
|
|
1030
|
-
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
1031
|
-
|
|
1032
|
-
COPYRIGHT AND PERMISSION NOTICE
|
|
1033
|
-
|
|
1034
|
-
Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
|
|
1035
|
-
the Terms of Use in http://www.unicode.org/copyright.html.
|
|
1036
|
-
|
|
1037
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1038
|
-
of the Unicode data files and any associated documentation (the "Data Files")
|
|
1039
|
-
or Unicode software and any associated documentation (the "Software") to deal
|
|
1040
|
-
in the Data Files or Software without restriction, including without limitation
|
|
1041
|
-
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
|
|
1042
|
-
of the Data Files or Software, and to permit persons to whom the Data Files
|
|
1043
|
-
or Software are furnished to do so, provided that
|
|
1044
|
-
|
|
1045
|
-
(a) this copyright and permission notice appear with all copies of the Data
|
|
1046
|
-
Files or Software,
|
|
1047
|
-
|
|
1048
|
-
(b) this copyright and permission notice appear in associated documentation,
|
|
1049
|
-
and
|
|
1050
|
-
|
|
1051
|
-
(c) there is clear notice in each modified Data File or in the Software as
|
|
1052
|
-
well as in the documentation associated with the Data File(s) or Software
|
|
1053
|
-
that the data or software has been modified.
|
|
1054
|
-
|
|
1055
|
-
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
1056
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1057
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
1058
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
1059
|
-
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
1060
|
-
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
|
|
1061
|
-
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
1062
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
1063
|
-
|
|
1064
|
-
Except as contained in this notice, the name of a copyright holder shall not
|
|
1065
|
-
be used in advertising or otherwise to promote the sale, use or other dealings
|
|
1066
|
-
in these Data Files or Software without prior written authorization of the
|
|
1067
|
-
copyright holder.
|
|
1068
|
-
|
|
1069
|
-
=================================
|
|
1070
|
-
END of license: Unicode-DFS-2015
|
|
1071
|
-
=================================
|
|
1072
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.dt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.133.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.133.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-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.
|
|
9
|
+
<version>1.133.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
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/base/i18n/ResourceBundle",
|
|
9
8
|
"sap/base/util/merge",
|
|
10
9
|
"sap/base/util/ObjectPath",
|
|
11
10
|
"sap/ui/base/ManagedObject",
|
|
@@ -13,7 +12,6 @@ sap.ui.define([
|
|
|
13
12
|
"sap/ui/dt/DOMUtil",
|
|
14
13
|
"sap/ui/dt/ElementUtil"
|
|
15
14
|
], function(
|
|
16
|
-
ResourceBundle,
|
|
17
15
|
merge,
|
|
18
16
|
ObjectPath,
|
|
19
17
|
ManagedObject,
|
|
@@ -45,7 +43,7 @@ sap.ui.define([
|
|
|
45
43
|
* @extends sap.ui.base.ManagedObject
|
|
46
44
|
*
|
|
47
45
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
46
|
+
* @version 1.133.0
|
|
49
47
|
*
|
|
50
48
|
* @constructor
|
|
51
49
|
* @private
|
|
@@ -269,7 +267,7 @@ sap.ui.define([
|
|
|
269
267
|
};
|
|
270
268
|
|
|
271
269
|
DesignTimeMetadata.prototype._getTextFromLibrary = function(sLibraryName, sKey, aArgs) {
|
|
272
|
-
|
|
270
|
+
var oLibResourceBundle = Lib.getResourceBundleFor(`${sLibraryName}.designtime`);
|
|
273
271
|
if (oLibResourceBundle && oLibResourceBundle.hasText(sKey)) {
|
|
274
272
|
return oLibResourceBundle.getText(sKey, aArgs);
|
|
275
273
|
}
|
|
@@ -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.133.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.133.0
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
38
38
|
* @since 1.30
|
package/src/sap/ui/dt/Overlay.js
CHANGED
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* @namespace
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.133.0
|
|
25
25
|
* @private
|
|
26
26
|
* @since 1.30
|
|
27
27
|
* @alias sap.ui.dt.OverlayUtil
|
|
@@ -472,11 +472,11 @@ sap.ui.define([
|
|
|
472
472
|
// Get all the siblings and parents of the overlay
|
|
473
473
|
var mRelevantOverlays = OverlayUtil._findAllSiblingsAndParents(oOverlay, oRelevantContainerOverlay, 0, bIncludeOtherAggregations);
|
|
474
474
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
}
|
|
475
|
+
for (var iLevel in mRelevantOverlays) {
|
|
476
|
+
aRelevantOverlays = aRelevantOverlays.concat(mRelevantOverlays[iLevel]);
|
|
477
|
+
}
|
|
479
478
|
|
|
479
|
+
if (aRelevantOverlays.length) {
|
|
480
480
|
var aChildren = [];
|
|
481
481
|
var aOverlaysToGetChildrenFrom = bIncludeOtherAggregations ? aRelevantOverlays : mRelevantOverlays[0];
|
|
482
482
|
|
|
@@ -509,8 +509,11 @@ sap.ui.define([
|
|
|
509
509
|
*/
|
|
510
510
|
OverlayUtil._findAllSiblingsAndParents = function(oOverlay, oRelevantContainerOverlay, iLevel, bIncludeOtherAggregations) {
|
|
511
511
|
var oParentOverlay = oOverlay.getParentElementOverlay();
|
|
512
|
+
var mReturn = {};
|
|
513
|
+
|
|
512
514
|
if (!oParentOverlay) {
|
|
513
|
-
|
|
515
|
+
mReturn[iLevel] = [];
|
|
516
|
+
return mReturn;
|
|
514
517
|
}
|
|
515
518
|
|
|
516
519
|
function getChildrenFromAllAggregations(oParentOverlay) {
|
|
@@ -558,7 +561,6 @@ sap.ui.define([
|
|
|
558
561
|
var sParentAggregationName = oOverlay.getParentAggregationOverlay().getAggregationName();
|
|
559
562
|
aChildren = oOverlay.getParentElementOverlay().getAggregationOverlay(sParentAggregationName).getChildren();
|
|
560
563
|
}
|
|
561
|
-
var mReturn = {};
|
|
562
564
|
mReturn[iLevel] = aChildren;
|
|
563
565
|
return mReturn;
|
|
564
566
|
};
|
package/src/sap/ui/dt/Plugin.js
CHANGED
package/src/sap/ui/dt/Util.js
CHANGED
|
@@ -129,22 +129,25 @@ sap.ui.define([
|
|
|
129
129
|
optional: true,
|
|
130
130
|
check(assert, mActions, sControlName) {
|
|
131
131
|
Object.keys(mActions).forEach(function(sAction) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
Object.keys(mActions[sAction]).
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
132
|
+
// Actions like addXML can be set to null to disable them in the developer scenario
|
|
133
|
+
if (mActions[sAction]) {
|
|
134
|
+
if (mActions[sAction].changeType) {
|
|
135
|
+
assert.strictEqual(typeof mActions[sAction].changeType, "string", `${sControlName} defines ${sAction} with changetype:${mActions[sAction].changeType}`);
|
|
136
|
+
} else if (typeof mActions[sAction] === "string") {
|
|
137
|
+
assert.strictEqual(typeof mActions[sAction], "string", `${sControlName} defines ${sAction} as string`);
|
|
138
|
+
} else if (sAction === "settings" && typeof mActions[sAction] === "object") {
|
|
139
|
+
if (mActions[sAction].handler) {
|
|
140
|
+
assert.strictEqual(typeof mActions[sAction].handler, "function", `${sControlName} defines ${sAction} with handler function`);
|
|
141
|
+
} else if (Object.keys(mActions[sAction]).length) {
|
|
142
|
+
assert.strictEqual(typeof mActions[sAction], "object", `${sControlName} defines ${sAction} with multiple action definitions`);
|
|
143
|
+
Object.keys(mActions[sAction]).forEach((sKey) => {
|
|
144
|
+
const oValue = mActions[sAction][sKey];
|
|
145
|
+
assert.strictEqual(typeof oValue.handler, "function", `${sControlName} defines ${sAction} action with ${sKey} with handler function`);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
} else {
|
|
149
|
+
assert.strictEqual(typeof mActions[sAction], "function", `${sControlName} defines ${sAction} as function`);
|
|
145
150
|
}
|
|
146
|
-
} else {
|
|
147
|
-
assert.strictEqual(typeof mActions[sAction], "function", `${sControlName} defines ${sAction} as function`);
|
|
148
151
|
}
|
|
149
152
|
});
|
|
150
153
|
}
|
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.133.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.133.0",
|
|
135
135
|
dependencies: ["sap.ui.core"],
|
|
136
136
|
types: [],
|
|
137
137
|
interfaces: [],
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @class The ContextMenu registers event handler to open the context menu. Menu entries can dynamically be added
|
|
37
37
|
* @extends sap.ui.dt.Plugin
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.133.0
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
42
42
|
* @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.133.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.133.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.133.0
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
36
36
|
* @since 1.34
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
2
|
-
|
|
3
|
-
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
|
|
4
|
-
http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
|
|
5
|
-
Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
|
|
6
|
-
Software includes any source code published in the Unicode Standard or under
|
|
7
|
-
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
8
|
-
and http://www.unicode.org/cldr/data/.
|
|
9
|
-
|
|
10
|
-
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
|
|
11
|
-
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
|
|
12
|
-
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
|
|
13
|
-
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
|
|
14
|
-
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
15
|
-
|
|
16
|
-
COPYRIGHT AND PERMISSION NOTICE
|
|
17
|
-
|
|
18
|
-
Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
|
|
19
|
-
the Terms of Use in http://www.unicode.org/copyright.html.
|
|
20
|
-
|
|
21
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
-
of the Unicode data files and any associated documentation (the "Data Files")
|
|
23
|
-
or Unicode software and any associated documentation (the "Software") to deal
|
|
24
|
-
in the Data Files or Software without restriction, including without limitation
|
|
25
|
-
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
|
|
26
|
-
of the Data Files or Software, and to permit persons to whom the Data Files
|
|
27
|
-
or Software are furnished to do so, provided that
|
|
28
|
-
|
|
29
|
-
(a) this copyright and permission notice appear with all copies of the Data
|
|
30
|
-
Files or Software,
|
|
31
|
-
|
|
32
|
-
(b) this copyright and permission notice appear in associated documentation,
|
|
33
|
-
and
|
|
34
|
-
|
|
35
|
-
(c) there is clear notice in each modified Data File or in the Software as
|
|
36
|
-
well as in the documentation associated with the Data File(s) or Software
|
|
37
|
-
that the data or software has been modified.
|
|
38
|
-
|
|
39
|
-
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
40
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
42
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
43
|
-
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
44
|
-
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
|
|
45
|
-
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
46
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
47
|
-
|
|
48
|
-
Except as contained in this notice, the name of a copyright holder shall not
|
|
49
|
-
be used in advertising or otherwise to promote the sale, use or other dealings
|
|
50
|
-
in these Data Files or Software without prior written authorization of the
|
|
51
|
-
copyright holder.
|