@openui5/sap.uxap 1.95.0 → 1.96.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/.reuse/dep5 CHANGED
@@ -400,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
400
400
  License: MIT
401
401
  Comment: these files belong to: Markdown-it
402
402
 
403
+ Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
404
+ Copyright: 2015-2017 Evgeny Poberezkin
405
+ License: MIT
406
+ Comment: these files belong to: ajv
407
+
403
408
 
404
409
  # Library: sap.ui.mdc:
405
410
 
@@ -447,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
447
452
  License: Apache-2.0
448
453
  Comment: these files belong to: LESS
449
454
 
450
- Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
451
- Copyright: 2015-2017 Evgeny Poberezkin
452
- License: MIT
453
- Comment: these files belong to: ajv
454
-
455
455
  Files: lib/jsdoc/ui5/plugin.js
456
456
  Copyright:
457
457
  2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
@@ -459,3 +459,8 @@ Copyright:
459
459
  License: Apache-2.0
460
460
  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)
461
461
 
462
+ 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
463
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
464
+ License: Apache-2.0
465
+ Comment: these files belong to: SAP Theming Base Content
466
+
package/THIRDPARTY.txt CHANGED
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
6
6
 
7
7
  Library: sap.ui.codeeditor:
8
8
 
9
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.12
9
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
10
10
  Copyright: 2010, Ajax.org B.V.
11
11
  License: BSD-3-Clause
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -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.6
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
@@ -389,6 +389,12 @@ License: MIT
389
389
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
390
390
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
391
391
 
392
+ Component: ajv, version: 6.12.3
393
+ Copyright: 2015-2017 Evgeny Poberezkin
394
+ License: MIT
395
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
396
+ Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
397
+
392
398
 
393
399
  Library: sap.ui.mdc:
394
400
 
@@ -444,18 +450,21 @@ License: Apache-2.0
444
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
445
451
  Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
446
452
 
447
- Component: ajv, version: 6.12.3
448
- Copyright: 2015-2017 Evgeny Poberezkin
449
- License: MIT
450
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
451
- Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
452
-
453
453
  Component: JSDoc 3, version: 3.6.7
454
454
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
457
457
  Contained in: lib/jsdoc/ui5/plugin.js
458
458
 
459
+ Component: SAP Theming Base Content, version: 11.1.34
460
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
461
+ License: Apache-2.0
462
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
+ Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
464
+ src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
465
+ src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
466
+ src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
467
+
459
468
 
460
469
  ALL LICENSE TEXTS:
461
470
  ==================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.95.0",
3
+ "version": "1.96.3",
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.95.0",
18
- "@openui5/sap.m": "1.95.0",
19
- "@openui5/sap.ui.core": "1.95.0",
20
- "@openui5/sap.ui.layout": "1.95.0"
17
+ "@openui5/sap.f": "1.96.3",
18
+ "@openui5/sap.m": "1.96.3",
19
+ "@openui5/sap.ui.core": "1.96.3",
20
+ "@openui5/sap.ui.layout": "1.96.3"
21
21
  }
22
22
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.uxap</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.95.0</version>
6
+ <version>1.96.3</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.95.0
24
+ * @version 1.96.3
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.95.0
25
+ * @version 1.96.3
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @implements sap.uxap.IHeaderContent
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.95.0
44
+ * @version 1.96.3
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.95.0
45
+ * @version 1.96.3
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -910,6 +910,10 @@ sap.ui.define([
910
910
  this._scrollTo(0, 0, 0);
911
911
  this._bHeaderExpanded = true;
912
912
  this._updateToggleHeaderVisualIndicators();
913
+
914
+ if (this._isHeaderPinnable()) {
915
+ this._getHeaderContent()._getPinButton().setVisible(!this._headerBiggerThanAllowedToBeExpandedInTitleArea());
916
+ }
913
917
  };
914
918
 
915
919
  ObjectPageLayout.prototype._handleDynamicTitlePress = function () {
@@ -1173,7 +1177,6 @@ sap.ui.define([
1173
1177
  }
1174
1178
 
1175
1179
  if (oHeaderContent && oHeaderContent.supportsPinUnpin()) {
1176
- this.$().toggleClass("sapUxAPObjectPageLayoutHeaderPinnable", oHeaderContent.getPinnable());
1177
1180
  this._updatePinButtonState();
1178
1181
  }
1179
1182
 
@@ -3013,18 +3016,18 @@ sap.ui.define([
3013
3016
  }
3014
3017
 
3015
3018
  this._adjustHeaderHeights();
3016
- this._requestAdjustLayout() // call adjust layout to calculate the new section sizes
3017
- .then(function () {
3018
- if (oOldSize.height > 0 || oOldSize.width > 0) {
3019
- // if the content that changed its height was *above* the current scroll position =>
3020
- // then the current scroll position updated respectively and => triggered a scroll event =>
3021
- // a new section may become selected during that scroll;
3022
- // problem if this happened BEFORE _requestAdjustLayout executed => wrong section may have been selected
3023
- // solution implemented bellow is to ensure that scroll handler is called with the latest scrollTop => we ensure the correct section is selected
3024
- iScrollTop = this._$opWrapper.scrollTop();
3025
- this._updateSelectionOnScroll(iScrollTop);
3026
- }
3027
- }.bind(this));
3019
+ this._requestAdjustLayout(true); // call adjust layout to calculate the new section sizes
3020
+
3021
+ if (oOldSize.height > 0 || oOldSize.width > 0) {
3022
+ // if the content that changed its height was *above* the current scroll position =>
3023
+ // then the current scroll position updated respectively and => triggered a scroll event =>
3024
+ // a new section may become selected during that scroll;
3025
+ // problem if this happened BEFORE _requestAdjustLayout executed => wrong section may have been selected
3026
+ // solution implemented bellow is to ensure that scroll handler is called with the latest scrollTop => we ensure the correct section is selected
3027
+ iScrollTop = this._$opWrapper.scrollTop();
3028
+ this._updateSelectionOnScroll(iScrollTop);
3029
+ }
3030
+
3028
3031
  };
3029
3032
 
3030
3033
  /**
@@ -3048,6 +3051,9 @@ sap.ui.define([
3048
3051
  return;
3049
3052
  }
3050
3053
 
3054
+ this._bMobileScenario = library.Utilities.isPhoneScenario(this._getCurrentMediaContainerRange());
3055
+ this._bTabletScenario = library.Utilities.isTabletScenario(this._getCurrentMediaContainerRange());
3056
+
3051
3057
  if (!this._bDomReady) {
3052
3058
  Log.info("ObjectPageLayout :: cannot _onUpdateScreenSize before dom is ready");
3053
3059
  return;
@@ -3056,16 +3062,19 @@ sap.ui.define([
3056
3062
  this._oLazyLoading.setLazyLoadingParameters();
3057
3063
 
3058
3064
  setTimeout(function () {
3059
- this._bMobileScenario = library.Utilities.isPhoneScenario(this._getCurrentMediaContainerRange());
3060
- this._bTabletScenario = library.Utilities.isTabletScenario(this._getCurrentMediaContainerRange());
3061
-
3062
3065
  if (bIsAlwaysShowContentHeaderEnabled && (this._bHeaderInTitleArea != this._checkAlwaysShowContentHeader())) {
3063
3066
  this.invalidate();
3064
3067
  }
3065
3068
 
3066
3069
  if (this._bHeaderInTitleArea && this._headerBiggerThanAllowedToBeExpandedInTitleArea()) {
3070
+ if (this._isHeaderPinnable()) {
3071
+ this._updatePinButtonState();
3072
+ }
3073
+
3067
3074
  this._expandHeader(false);
3068
3075
  this._scrollTo(0, 0);
3076
+ } else if (this._isHeaderPinnable() && !this._headerBiggerThanAllowedToBeExpandedInTitleArea()) {
3077
+ this._updatePinButtonState();
3069
3078
  }
3070
3079
 
3071
3080
  // Let the dynamic header know size changed first, because this might lead to header dimensions changes
@@ -3506,6 +3515,10 @@ sap.ui.define([
3506
3515
  this._bHeaderExpanded = true;
3507
3516
  this._adjustHeaderHeights();
3508
3517
  this._updateToggleHeaderVisualIndicators();
3518
+
3519
+ if (this._isHeaderPinnable()) {
3520
+ this._getHeaderContent()._getPinButton().setVisible(!this._headerBiggerThanAllowedToBeExpandedInTitleArea());
3521
+ }
3509
3522
  }
3510
3523
  };
3511
3524
 
@@ -4453,14 +4466,25 @@ sap.ui.define([
4453
4466
 
4454
4467
  ObjectPageLayout.prototype._isHeaderPinnable = function () {
4455
4468
  var oHeader = this._getHeaderContent();
4456
- return oHeader && oHeader.getPinnable()
4457
- && this._bHeaderExpanded
4458
- && !this.getPreserveHeaderStateOnScroll();
4469
+
4470
+ return oHeader && oHeader.supportsPinUnpin() && oHeader.getPinnable();
4471
+ };
4472
+
4473
+ ObjectPageLayout.prototype._shouldPinUnpinHeader = function () {
4474
+ return this._bHeaderExpanded
4475
+ && !this.getPreserveHeaderStateOnScroll()
4476
+ && !this._headerBiggerThanAllowedToBeExpandedInTitleArea();
4459
4477
  };
4460
4478
 
4461
4479
  ObjectPageLayout.prototype._updatePinButtonState = function() {
4462
- var bShouldPin = this.getHeaderContentPinned() && this._isHeaderPinnable();
4463
- this._getHeaderContent()._togglePinButton(bShouldPin);
4480
+ var bIsHeaderPinnable = this._isHeaderPinnable(),
4481
+ bShouldPin = bIsHeaderPinnable && this.getHeaderContentPinned() && this._shouldPinUnpinHeader(),
4482
+ oHeaderContent = this._getHeaderContent();
4483
+
4484
+ oHeaderContent._togglePinButton(bShouldPin);
4485
+ this.$().toggleClass("sapUxAPObjectPageLayoutHeaderPinnable", bIsHeaderPinnable);
4486
+ oHeaderContent._getPinButton().setVisible(!this._headerBiggerThanAllowedToBeExpandedInTitleArea());
4487
+
4464
4488
  if (bShouldPin) {
4465
4489
  this._pin();
4466
4490
  } else {
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Element
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.95.0
40
+ * @version 1.96.3
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -514,10 +514,11 @@ sap.ui.define([
514
514
 
515
515
  this._$spacer = oObjectPageLayout.$("spacer");
516
516
 
517
- if (this._bShouldFocusSeeMoreLessButton) {
518
- this._bShouldFocusSeeMoreLessButton = false;
517
+ if (this._bShouldFocusSeeMoreLessButton && document.activeElement === document.body) {
519
518
  this._oCurrentlyVisibleSeeMoreLessButton.focus();
520
519
  }
520
+
521
+ this._bShouldFocusSeeMoreLessButton = false;
521
522
  };
522
523
 
523
524
  ObjectPageSubSection.prototype.onBeforeRendering = function () {
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @constructor
26
26
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
27
27
  * @author SAP SE
28
- * @version 1.95.0
28
+ * @version 1.96.3
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/changeHandler/MoveControls", "sap/ui/core/Core", "sap/
13
13
  * @constructor
14
14
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
15
15
  * @author SAP SE
16
- * @version 1.95.0
16
+ * @version 1.96.3
17
17
  * @experimental Since 1.54
18
18
  */
19
19
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @constructor
22
22
  * @alias sap.uxap.changeHandler.RenameObjectPageSection
23
23
  * @author SAP SE
24
- * @version 1.95.0
24
+ * @version 1.96.3
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @namespace
25
25
  * @name sap.uxap
26
26
  * @author SAP SE
27
- * @version 1.95.0
27
+ * @version 1.96.3
28
28
  * @since 1.36
29
29
  * @public
30
30
  */
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  "sap.uxap.ObjectPageHeaderLayoutData",
70
70
  "sap.uxap.ObjectPageLazyLoader"
71
71
  ],
72
- version: "1.95.0",
72
+ version: "1.96.3",
73
73
  extensions: {
74
74
  flChangeHandlers: {
75
75
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -5,7 +5,7 @@ SHOW_LESS=Daha az g\u00F6ster
5
5
 
6
6
  ANCHOR_BAR_ARIA_LABEL=Sabitler
7
7
 
8
- ANCHOR_BAR_ARIA_LABEL_DESC=Sayfada b\u00F6l\u00FCme gitmek i\u00E7in kalemi etkinle\u015Ftirin
8
+ ANCHOR_BAR_ARIA_LABEL_DESC=Sayfada b\u00F6l\u00FCme gitmek i\u00E7in \u00F6\u011Feyi etkinle\u015Ftirin
9
9
 
10
10
  ANCHOR_BAR_OVERFLOW=Daha fazla
11
11
 
@@ -110,7 +110,7 @@
110
110
  }
111
111
 
112
112
  .sapUiVltCell > .sapMObjectAttributeDiv, .sapUiVltCell > .sapMObjStatus {
113
- line-height: 1.5rem;
113
+ line-height: 1rem;
114
114
  }
115
115
 
116
116
  /* ProgressIndicator has display flex, but OPHeaderContent override it by setting display inline-block
@@ -134,20 +134,6 @@
134
134
  width: 100% !important;
135
135
  }
136
136
  }
137
- .sapMSlt {
138
- height: 1.625rem;
139
- margin-top: 0.1875rem;
140
- margin-bottom: 0.1875rem;
141
- .sapMSltLabel {
142
- line-height: 1.5rem;
143
- padding-right: 2.5rem;
144
- padding-left: 0.5rem;
145
- }
146
- .sapMSltArrow {
147
- width: 2rem;
148
- line-height: 1.625rem;
149
- }
150
- }
151
137
  }
152
138
 
153
139
  .sapUxAPObjectPageHeaderLayoutHiddenL,
package/ui5.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- specVersion: "1.1"
2
+ specVersion: "2.0"
3
3
  type: library
4
4
  metadata:
5
5
  name: sap.uxap
@@ -7,3 +7,6 @@ metadata:
7
7
  OpenUI5
8
8
  * (c) Copyright 2009-${currentYear} SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
10
+ resources:
11
+ configuration:
12
+ propertiesFileSourceEncoding: ISO-8859-1