@openui5/sap.uxap 1.132.1 → 1.134.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 -9
- package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
- package/THIRDPARTY.txt +45 -78
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/BlockBase.js +5 -26
- package/src/sap/uxap/BlockBaseMetadata.js +1 -1
- package/src/sap/uxap/ObjectPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderContent.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderTitle.js +2 -9
- package/src/sap/uxap/ObjectPageLayout.js +9 -0
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSection.js +11 -2
- package/src/sap/uxap/ObjectPageSectionBase.js +2 -4
- package/src/sap/uxap/ObjectPageSubSection.js +11 -9
- package/src/sap/uxap/ObjectPageSubSectionRenderer.js +6 -3
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +1 -1
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/UnstashObjectPageSection.js +1 -1
- package/src/sap/uxap/library.js +2 -2
- package/src/sap/uxap/themes/base/ObjectPageLayout.less +4 -0
- package/src/sap/uxap/themes/base/ObjectPageSubSection.less +3 -3
- package/src/sap/uxap/themes/sap_hcb/ObjectPageSubSection.less +1 -1
- package/src/sap/uxap/themes/sap_hcb/base_ObjectPageSubSection.less +3 -3
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +0 -5
- 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/*
|
|
@@ -364,13 +364,6 @@ Copyright:
|
|
|
364
364
|
License: Apache-2.0 and ISC
|
|
365
365
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
366
366
|
|
|
367
|
-
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
368
|
-
Copyright:
|
|
369
|
-
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
370
|
-
Arthur David Olson, Paul Eggert and other contributors
|
|
371
|
-
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
372
|
-
Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
|
|
373
|
-
|
|
374
367
|
|
|
375
368
|
# Library: sap.ui.documentation:
|
|
376
369
|
|
|
@@ -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
|
@@ -22,7 +22,7 @@ Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
|
22
22
|
|
|
23
23
|
Library: sap.ui.codeeditor:
|
|
24
24
|
|
|
25
|
-
Component: Ace (Ajax.org Cloud9 Editor), version: 1.
|
|
25
|
+
Component: Ace (Ajax.org Cloud9 Editor), version: 1.36.5
|
|
26
26
|
Copyright: 2010, Ajax.org B.V.
|
|
27
27
|
License: BSD-3-Clause
|
|
28
28
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -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,12 +342,6 @@ 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: 2023d
|
|
346
|
-
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
347
|
-
License: LicenseRef-tzdata-PublicDomain
|
|
348
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
349
|
-
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
350
|
-
|
|
351
345
|
|
|
352
346
|
Library: sap.ui.documentation:
|
|
353
347
|
|
|
@@ -967,17 +961,51 @@ END of license: LicenseRef-JSONinJSPublicDomain
|
|
|
967
961
|
|
|
968
962
|
|
|
969
963
|
=================================
|
|
970
|
-
BEGIN of license: LicenseRef-
|
|
964
|
+
BEGIN of license: LicenseRef-Unicode-3.0
|
|
971
965
|
=================================
|
|
972
966
|
|
|
973
|
-
|
|
974
|
-
|
|
967
|
+
UNICODE LICENSE V3
|
|
968
|
+
|
|
969
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
970
|
+
|
|
971
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
972
|
+
|
|
973
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
974
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
975
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
976
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
977
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
978
|
+
|
|
979
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
980
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
981
|
+
software and any associated documentation (the "Software") to deal in the
|
|
982
|
+
Data Files or Software without restriction, including without limitation
|
|
983
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
984
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
985
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
986
|
+
this copyright and permission notice appear with all copies of the Data
|
|
987
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
988
|
+
associated Documentation.
|
|
989
|
+
|
|
990
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
991
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
992
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
993
|
+
THIRD PARTY RIGHTS.
|
|
994
|
+
|
|
995
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
996
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
997
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
998
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
999
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
1000
|
+
FILES OR SOFTWARE.
|
|
975
1001
|
|
|
976
|
-
|
|
977
|
-
|
|
1002
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
1003
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
1004
|
+
dealings in these Data Files or Software without prior written
|
|
1005
|
+
authorization of the copyright holder.
|
|
978
1006
|
|
|
979
1007
|
=================================
|
|
980
|
-
END of license: LicenseRef-
|
|
1008
|
+
END of license: LicenseRef-Unicode-3.0
|
|
981
1009
|
=================================
|
|
982
1010
|
|
|
983
1011
|
|
|
@@ -1009,64 +1037,3 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1009
1037
|
END of license: MIT
|
|
1010
1038
|
=================================
|
|
1011
1039
|
|
|
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.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.134.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.uxap",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.f": "1.
|
|
18
|
-
"@openui5/sap.m": "1.
|
|
19
|
-
"@openui5/sap.ui.core": "1.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.f": "1.134.0",
|
|
18
|
+
"@openui5/sap.m": "1.134.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.134.0",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.134.0"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/sap/uxap/.library
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<name>sap.uxap</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
|
-
<version>1.
|
|
6
|
+
<version>1.134.0</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -202,7 +202,6 @@ sap.ui.define([
|
|
|
202
202
|
this._oMappingApplied = {};
|
|
203
203
|
|
|
204
204
|
//lazy loading
|
|
205
|
-
this._bLazyLoading = false; //by default, no lazy loading so we can use it out of an objectPageLayout
|
|
206
205
|
this._bConnected = false; //indicates connectToModels function has been called
|
|
207
206
|
this._oUpdatedModels = {};
|
|
208
207
|
this._oParentObjectPageSubSection = null; // the parent ObjectPageSubSection
|
|
@@ -211,8 +210,6 @@ sap.ui.define([
|
|
|
211
210
|
};
|
|
212
211
|
|
|
213
212
|
BlockBase.prototype.onBeforeRendering = function () {
|
|
214
|
-
var oParentObjectPageLayout;
|
|
215
|
-
|
|
216
213
|
this._applyMapping();
|
|
217
214
|
|
|
218
215
|
if (!this.getMode() || this.getMode() === "") {
|
|
@@ -225,10 +222,6 @@ sap.ui.define([
|
|
|
225
222
|
}
|
|
226
223
|
|
|
227
224
|
this._applyFormAdjustment();
|
|
228
|
-
|
|
229
|
-
//TODO: for iconTabBar mode, specify lazyLoading for selectedTab only?
|
|
230
|
-
oParentObjectPageLayout = this._getObjectPageLayout();
|
|
231
|
-
this._bLazyLoading = oParentObjectPageLayout && (oParentObjectPageLayout.getEnableLazyLoading() || oParentObjectPageLayout.getUseIconTabBar());
|
|
232
225
|
};
|
|
233
226
|
|
|
234
227
|
BlockBase.prototype.onAfterRendering = function () {
|
|
@@ -250,7 +243,6 @@ sap.ui.define([
|
|
|
250
243
|
Control.prototype.setParent.call(this, oParent, sAggregationName, bSuppressInvalidate);
|
|
251
244
|
|
|
252
245
|
if (oParent?.isA("sap.uxap.ObjectPageSubSection")) {
|
|
253
|
-
this._bLazyLoading = true;
|
|
254
246
|
this._oParentObjectPageSubSection = oParent;
|
|
255
247
|
}
|
|
256
248
|
};
|
|
@@ -365,13 +357,6 @@ sap.ui.define([
|
|
|
365
357
|
if (this.getMode() !== sMode) {
|
|
366
358
|
this.setProperty("mode", sMode, false);
|
|
367
359
|
|
|
368
|
-
// Update the this._bLazyLoading here: setMode is called by ObjectPageSubSection in onBeforeRendering,
|
|
369
|
-
// as at this point enableLazyLoading property of OPL is already set.
|
|
370
|
-
// onBeforeRendering of BlockBase is still not called! That's why this._bLazyLoading may not be in a valid state
|
|
371
|
-
// (previously set as true in setParent function, as it is placed in ObjectPageSubSection).
|
|
372
|
-
// If this._bLazyLoading is not updated at this point and enableLazyLoading=false, view will never be selected, binding will never be updated.
|
|
373
|
-
this._updateLazyLoad();
|
|
374
|
-
|
|
375
360
|
//if Lazy loading is enabled, and if the block is not connected
|
|
376
361
|
//delay the view creation (will be done in connectToModels function)
|
|
377
362
|
if (!this._shouldLazyLoad()) {
|
|
@@ -781,7 +766,7 @@ sap.ui.define([
|
|
|
781
766
|
if (!this._bConnected) {
|
|
782
767
|
Log.debug("BlockBase :: Connecting block to the UI5 model tree");
|
|
783
768
|
this._bConnected = true;
|
|
784
|
-
if (this.
|
|
769
|
+
if (this._getObjectPageLayout()?._isLazyLoadingEffectivelyEnabled()) {
|
|
785
770
|
//if lazy loading is enabled, the view has not been created during the setMode
|
|
786
771
|
//so create it now
|
|
787
772
|
var sMode = this.getMode();
|
|
@@ -860,16 +845,10 @@ sap.ui.define([
|
|
|
860
845
|
* @private
|
|
861
846
|
*/
|
|
862
847
|
BlockBase.prototype._shouldLazyLoad = function () {
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
* Updates this._bLazyLoading property.
|
|
868
|
-
* @private
|
|
869
|
-
*/
|
|
870
|
-
BlockBase.prototype._updateLazyLoad = function () {
|
|
871
|
-
var oParentObjectPageLayout = this._getObjectPageLayout(this._oParentObjectPageSubSection);
|
|
872
|
-
this._bLazyLoading = oParentObjectPageLayout && (oParentObjectPageLayout.getEnableLazyLoading() || oParentObjectPageLayout.getUseIconTabBar());
|
|
848
|
+
var oParentObjectPageLayout = this._getObjectPageLayout(this._oParentObjectPageSubSection),
|
|
849
|
+
vLazyLoad = oParentObjectPageLayout?._isLazyLoadingEffectivelyEnabled(),
|
|
850
|
+
bDelayLoading = vLazyLoad === true || vLazyLoad === undefined; // delay loading until the value of the "enableLazyLoading" property of ObjectPage is known
|
|
851
|
+
return !!this._oParentObjectPageSubSection && bDelayLoading && !this._bConnected;
|
|
873
852
|
};
|
|
874
853
|
|
|
875
854
|
/**
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @implements sap.uxap.IHeaderTitle
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.134.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -110,20 +110,13 @@ sap.ui.define([
|
|
|
110
110
|
return true;
|
|
111
111
|
};
|
|
112
112
|
|
|
113
|
-
ObjectPageDynamicHeaderTitle.KNOWN_HEADING_CONTROL_CLASS_NAMES = ["sap.m.Title", "sap.m.Text", "sap.m.FormattedText", "sap.m.Label"];
|
|
114
|
-
|
|
115
113
|
/**
|
|
116
114
|
* Returns the text that represents the title of the page.
|
|
117
115
|
* Since the structure is not guaranteed, this is not universal for this header, and only covers the most common usage.
|
|
118
116
|
* Required by the {@link sap.uxap.IHeaderTitle} interface.
|
|
119
117
|
*/
|
|
120
118
|
ObjectPageDynamicHeaderTitle.prototype.getTitleText = function () {
|
|
121
|
-
|
|
122
|
-
sClassName = oHeading && oHeading.getMetadata().getName();
|
|
123
|
-
|
|
124
|
-
if (ObjectPageDynamicHeaderTitle.KNOWN_HEADING_CONTROL_CLASS_NAMES.indexOf(sClassName) > -1) {
|
|
125
|
-
return oHeading.getText();
|
|
126
|
-
}
|
|
119
|
+
return this._getTitleText();
|
|
127
120
|
};
|
|
128
121
|
|
|
129
122
|
/**
|
|
@@ -1952,6 +1952,15 @@ sap.ui.define([
|
|
|
1952
1952
|
}
|
|
1953
1953
|
};
|
|
1954
1954
|
|
|
1955
|
+
/**
|
|
1956
|
+
* Checks if lazy loading is effectively enabled based on multiple conditions
|
|
1957
|
+
* @restricted
|
|
1958
|
+
* @returns {boolean}
|
|
1959
|
+
*/
|
|
1960
|
+
ObjectPageLayout.prototype._isLazyLoadingEffectivelyEnabled = function() {
|
|
1961
|
+
return this.getEnableLazyLoading() || this.getUseIconTabBar();
|
|
1962
|
+
};
|
|
1963
|
+
|
|
1955
1964
|
/* AnchorBar management */
|
|
1956
1965
|
|
|
1957
1966
|
ObjectPageLayout.prototype.setShowAnchorBarPopover = function (bValue, bSuppressInvalidate) {
|
|
@@ -96,6 +96,9 @@ sap.ui.define([
|
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* The list of Subsections.
|
|
99
|
+
*
|
|
100
|
+
* Note: If multiple subsections are used, it is highly recommended to set a title for the section
|
|
101
|
+
* for accessibility reasons.
|
|
99
102
|
*/
|
|
100
103
|
subSections: {type: "sap.uxap.ObjectPageSubSection", multiple: true, singularName: "subSection", forwarding: {getter: "_getGrid", aggregation: "content"}},
|
|
101
104
|
|
|
@@ -407,7 +410,7 @@ sap.ui.define([
|
|
|
407
410
|
}
|
|
408
411
|
|
|
409
412
|
aSubSections.forEach(function (oSubsection) {
|
|
410
|
-
if (sLastSelectedSubSectionId === oSubsection.getId()) {
|
|
413
|
+
if (sLastSelectedSubSectionId === oSubsection.getId() && oSubsection._shouldBeFocusable()) {
|
|
411
414
|
oSubsection._setToFocusable(true);
|
|
412
415
|
bPreselectedSection = true;
|
|
413
416
|
} else {
|
|
@@ -416,7 +419,13 @@ sap.ui.define([
|
|
|
416
419
|
});
|
|
417
420
|
|
|
418
421
|
if (!bPreselectedSection) {
|
|
419
|
-
aSubSections
|
|
422
|
+
var oFirstFocusableSubSection = aSubSections.find(function(oSubSection) {
|
|
423
|
+
return oSubSection._shouldBeFocusable();
|
|
424
|
+
});
|
|
425
|
+
|
|
426
|
+
if (oFirstFocusableSubSection) {
|
|
427
|
+
oFirstFocusableSubSection._setToFocusable(true);
|
|
428
|
+
}
|
|
420
429
|
}
|
|
421
430
|
|
|
422
431
|
return this;
|
|
@@ -437,10 +437,8 @@ sap.ui.define([
|
|
|
437
437
|
*/
|
|
438
438
|
ObjectPageSectionBase.prototype._getAriaLabelledByText = function () {
|
|
439
439
|
// Each section should be labelled as:
|
|
440
|
-
// 'titleName' - if the section has a title
|
|
441
|
-
|
|
442
|
-
var sTitle = this._getShouldLabelTitle() && this._getTitle();
|
|
443
|
-
return sTitle || this.getSectionText();
|
|
440
|
+
// 'titleName' - no matter if the section has a title or not
|
|
441
|
+
return this._getTitle();
|
|
444
442
|
};
|
|
445
443
|
|
|
446
444
|
ObjectPageSectionBase.prototype._getInvisibleText = function () {
|
|
@@ -697,7 +697,7 @@ sap.ui.define([
|
|
|
697
697
|
|
|
698
698
|
// Removes the horizontal spacing of the grid, which is needed for
|
|
699
699
|
// suport of Table inside ObjectPageSubSection scenario
|
|
700
|
-
if (oParent && oParent.hasStyleClass("sapUiTableOnObjectPageAdjustmentsForSection")) {
|
|
700
|
+
if (oParent && oParent.hasStyleClass("sapUiTableOnObjectPageAdjustmentsForSection") && !this.hasStyleClass("sapUiAdjustedSectionSubsectionWithoutTable")) {
|
|
701
701
|
this.getAggregation("_grid").setProperty("hSpacing", 0);
|
|
702
702
|
}
|
|
703
703
|
};
|
|
@@ -720,6 +720,7 @@ sap.ui.define([
|
|
|
720
720
|
this.refreshSeeMoreVisibility();
|
|
721
721
|
|
|
722
722
|
this.toggleStyleClass("sapUxAPObjectPageSubSectionStashed", this._aStashedControls.length ? true : false);
|
|
723
|
+
this.toggleStyleClass("sapUxAPObjectPageSubSectionFocusable", this.getTitleVisible());
|
|
723
724
|
};
|
|
724
725
|
|
|
725
726
|
ObjectPageSubSection.prototype._adaptDomHeight = function() {
|
|
@@ -1284,19 +1285,20 @@ sap.ui.define([
|
|
|
1284
1285
|
};
|
|
1285
1286
|
|
|
1286
1287
|
ObjectPageSubSection.prototype._setToFocusable = function (bFocusable) {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
sTabIndex = "tabindex";
|
|
1290
|
-
|
|
1291
|
-
if (bFocusable) {
|
|
1292
|
-
this.$().attr(sTabIndex, sFocusable);
|
|
1288
|
+
if (this._shouldBeFocusable()) {
|
|
1289
|
+
this.$().attr("tabindex", bFocusable ? "0" : "-1");
|
|
1293
1290
|
} else {
|
|
1294
|
-
this.$().
|
|
1291
|
+
this.$().removeAttr("tabindex");
|
|
1295
1292
|
}
|
|
1296
|
-
|
|
1297
1293
|
return this;
|
|
1298
1294
|
};
|
|
1299
1295
|
|
|
1296
|
+
|
|
1297
|
+
ObjectPageSubSection.prototype._shouldBeFocusable = function() {
|
|
1298
|
+
return this.getTitleVisible() && this.getTitle().trim() !== "";
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
|
|
1300
1302
|
ObjectPageSubSection.prototype._getUseTitleOnTheLeft = function () {
|
|
1301
1303
|
var oObjectPageLayout = this._getObjectPageLayout();
|
|
1302
1304
|
|
|
@@ -31,8 +31,11 @@ sap.ui.define(["sap/ui/core/ControlBehavior"], function (ControlBehavior) {
|
|
|
31
31
|
bHasVisibleActions = oControl._hasVisibleActions();
|
|
32
32
|
|
|
33
33
|
oRm.openStart("div", oControl)
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
.style("height", oControl._getHeight());
|
|
35
|
+
|
|
36
|
+
if (bHasTitle) {
|
|
37
|
+
oRm.attr("role", "region");
|
|
38
|
+
}
|
|
36
39
|
|
|
37
40
|
if (oControl._bBlockHasMore) {
|
|
38
41
|
oRm.class("sapUxAPObjectPageSubSectionWithSeeMore");
|
|
@@ -46,7 +49,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior"], function (ControlBehavior) {
|
|
|
46
49
|
.class("ui-helper-clearfix");
|
|
47
50
|
|
|
48
51
|
|
|
49
|
-
if (bAccessibilityOn && oLabelledBy) {
|
|
52
|
+
if (bAccessibilityOn && oLabelledBy && bHasTitle) {
|
|
50
53
|
oRm.attr("aria-labelledby", oLabelledBy.getId());
|
|
51
54
|
}
|
|
52
55
|
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @namespace
|
|
31
31
|
* @alias sap.uxap
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.134.0
|
|
34
34
|
* @since 1.36
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
"sap.uxap.ObjectPageHeaderLayoutData",
|
|
75
75
|
"sap.uxap.ObjectPageLazyLoader"
|
|
76
76
|
],
|
|
77
|
-
version: "1.
|
|
77
|
+
version: "1.134.0",
|
|
78
78
|
extensions: {
|
|
79
79
|
flChangeHandlers: {
|
|
80
80
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.sapUxAPObjectPageLayout > .sapUiLocalBusyIndicator:focus {
|
|
35
|
+
z-index: 5;
|
|
36
|
+
}
|
|
37
|
+
|
|
34
38
|
.sapUxAPObjectPageLayoutFooterVisible .sapUxAPObjectPageWrapper {
|
|
35
39
|
scroll-padding-bottom: ~"calc(@{_sap_uxap_ObjectPageLayout_FooterHeight} + @{_sap_uxap_ObjectPageLayout_FooterMarginBottom} + 2px)";
|
|
36
40
|
}
|
|
@@ -211,18 +211,18 @@ Doing so will result in less generated CSS, as well as less future maintanance i
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
html[data-sap-ui-browser^="ed"].sap-desktop .
|
|
214
|
+
html[data-sap-ui-browser^="ed"].sap-desktop .sapUxAPObjectPageSubSectionFocusable:focus {
|
|
215
215
|
outline-style: dashed;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
/* IE ignores outline-offset. Use an overlay: */
|
|
219
219
|
/* TODO remove after the end of support for Internet Explorer */
|
|
220
220
|
html[data-sap-ui-browser^="ie"].sap-desktop {
|
|
221
|
-
.
|
|
221
|
+
.sapUxAPObjectPageSubSectionFocusable:focus {
|
|
222
222
|
outline: none;
|
|
223
223
|
position: relative;
|
|
224
224
|
}
|
|
225
|
-
.
|
|
225
|
+
.sapUxAPObjectPageSubSectionFocusable:focus:before {
|
|
226
226
|
content: " ";
|
|
227
227
|
box-sizing: border-box;
|
|
228
228
|
width: 100%;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* High Contrast Black theme */
|
|
4
4
|
/* ============================================== */
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.sapUxAPObjectPageSubSectionFocusable:focus,
|
|
7
7
|
.sapUxAPObjectPageSubSectionHeaderTitle:focus {
|
|
8
8
|
outline: 0.125rem dotted @sapUiContentFocusColor;
|
|
9
9
|
outline-offset: -0.125rem;
|
|
@@ -211,18 +211,18 @@ Doing so will result in less generated CSS, as well as less future maintanance i
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
html[data-sap-ui-browser^="ed"].sap-desktop .
|
|
214
|
+
html[data-sap-ui-browser^="ed"].sap-desktop .sapUxAPObjectPageSubSectionFocusable:focus {
|
|
215
215
|
outline-style: dashed;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
/* IE ignores outline-offset. Use an overlay: */
|
|
219
219
|
/* TODO remove after the end of support for Internet Explorer */
|
|
220
220
|
html[data-sap-ui-browser^="ie"].sap-desktop {
|
|
221
|
-
.
|
|
221
|
+
.sapUxAPObjectPageSubSectionFocusable:focus {
|
|
222
222
|
outline: none;
|
|
223
223
|
position: relative;
|
|
224
224
|
}
|
|
225
|
-
.
|
|
225
|
+
.sapUxAPObjectPageSubSectionFocusable:focus:before {
|
|
226
226
|
content: " ";
|
|
227
227
|
box-sizing: border-box;
|
|
228
228
|
width: 100%;
|
|
@@ -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.
|