@openui5/sap.uxap 1.115.1 → 1.116.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 CHANGED
@@ -457,11 +457,6 @@ Comment: these files belong to: UI5 Web Components
457
457
 
458
458
  # Outside of Libraries:
459
459
 
460
- Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
461
- Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
462
- License: Apache-2.0
463
- Comment: these files belong to: LESS
464
-
465
460
  Files: lib/jsdoc/ui5/plugin.js
466
461
  Copyright:
467
462
  2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
package/THIRDPARTY.txt CHANGED
@@ -460,19 +460,13 @@ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
460
460
 
461
461
  Outside of Libraries:
462
462
 
463
- Component: LESS, version: 1.6.3
464
- Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
465
- License: Apache-2.0
466
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
467
- Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
468
-
469
463
  Component: JSDoc 3, version: 3.6.7
470
464
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
471
465
  License: Apache-2.0
472
466
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
473
467
  Contained in: lib/jsdoc/ui5/plugin.js
474
468
 
475
- Component: SAP Theming Base Content, version: 11.3.0
469
+ Component: SAP Theming Base Content, version: 11.4.2
476
470
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
477
471
  License: Apache-2.0
478
472
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.115.1",
3
+ "version": "1.116.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.115.1",
18
- "@openui5/sap.m": "1.115.1",
19
- "@openui5/sap.ui.core": "1.115.1",
20
- "@openui5/sap.ui.layout": "1.115.1"
17
+ "@openui5/sap.f": "1.116.0",
18
+ "@openui5/sap.m": "1.116.0",
19
+ "@openui5/sap.ui.core": "1.116.0",
20
+ "@openui5/sap.ui.layout": "1.116.0"
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.115.1</version>
6
+ <version>1.116.0</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2023 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.115.1
24
+ * @version 1.116.0
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.115.1
25
+ * @version 1.116.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @implements sap.uxap.IHeaderContent
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.115.1
43
+ * @version 1.116.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.115.1
45
+ * @version 1.116.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -3292,7 +3292,10 @@ sap.ui.define([
3292
3292
 
3293
3293
  if (this._bSupressModifyOnScrollOnce) {
3294
3294
  this._bSupressModifyOnScrollOnce = false;
3295
- return;
3295
+
3296
+ if (!bImmediateLazyLoading) {
3297
+ return;
3298
+ }
3296
3299
  }
3297
3300
 
3298
3301
  if (!$wrapper || !$spacer) {
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Element
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.115.1
41
+ * @version 1.116.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
25
25
  * @author SAP SE
26
- * @version 1.115.1
26
+ * @version 1.116.0
27
27
  * @since 1.75
28
28
  * @experimental Since 1.75
29
29
  */
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
25
25
  * @author SAP SE
26
- * @version 1.115.1
26
+ * @version 1.116.0
27
27
  * @experimental Since 1.54
28
28
  */
29
29
 
@@ -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.115.1
24
+ * @version 1.116.0
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @constructor
20
20
  * @alias sap.uxap.changeHandler.UnstashObjectPageSection
21
21
  * @author SAP SE
22
- * @version 1.115.1
22
+ * @version 1.116.0
23
23
  * @experimental Since 1.115
24
24
  */
25
25
 
@@ -9,8 +9,9 @@ sap.ui.define([
9
9
  "sap/ui/core/UIComponent",
10
10
  "sap/ui/core/library",
11
11
  "sap/base/Log",
12
+ "sap/ui/core/mvc/View",
12
13
  "sap/ui/core/Component"
13
- ], function (library, UIComponent, coreLibrary, Log) {
14
+ ], function (library, UIComponent, coreLibrary, Log, View) {
14
15
  "use strict";
15
16
 
16
17
  // shortcut for sap.ui.core.mvc.ViewType
@@ -21,6 +22,7 @@ sap.ui.define([
21
22
 
22
23
  var Component = UIComponent.extend("sap.uxap.component.Component", {
23
24
  metadata: {
25
+ "interfaces": ["sap.ui.core.IAsyncContentCreation"]
24
26
  /* nothing new compared to a standard UIComponent */
25
27
  },
26
28
 
@@ -66,22 +68,24 @@ sap.ui.define([
66
68
  var oController;
67
69
 
68
70
  //step3: create view
69
- this._oView = sap.ui.view(this._oViewConfig);
70
-
71
- //step4: bind the view with the model
72
- if (this._oModel) {
73
- oController = this._oView.getController();
74
-
75
- //some factory requires pre-processing once the view and model are created
76
- if (oController && oController.connectToComponent) {
77
- oController.connectToComponent(this._oModel);
71
+ var oPromise = View.create(this._oViewConfig);
72
+ oPromise.then(function (oView) {
73
+ this._oView = oView;
74
+ //step4: bind the view with the model
75
+ if (this._oModel) {
76
+ oController = this._oView.getController();
77
+
78
+ //some factory requires pre-processing once the view and model are created
79
+ if (oController && oController.connectToComponent) {
80
+ oController.connectToComponent(this._oModel);
81
+ }
82
+
83
+ //can now apply the model and rely on the underlying factory logic
84
+ this._oView.setModel(this._oModel, "objectPageLayoutMetadata");
78
85
  }
86
+ }.bind(this));
79
87
 
80
- //can now apply the model and rely on the underlying factory logic
81
- this._oView.setModel(this._oModel, "objectPageLayoutMetadata");
82
- }
83
-
84
- return this._oView;
88
+ return oPromise;
85
89
  },
86
90
 
87
91
  /**
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  sap.ui.define(['sap/ui/core/ComponentContainer', "sap/base/Log", 'sap/ui/core/Component'],
8
- function(ComponentContainer, Log /*, Component */) {
8
+ function(ComponentContainer, Log, Component) {
9
9
  "use strict";
10
10
 
11
11
  /**
@@ -35,9 +35,16 @@ sap.ui.define(['sap/ui/core/ComponentContainer', "sap/base/Log", 'sap/ui/core/Co
35
35
  * unlike the standard ComponentContainer, this ones exposes properties to the outside world and pass them on to the underlying component
36
36
  */
37
37
  onBeforeRendering: function () {
38
- this._oComponent || (this._oComponent = sap.ui.component("sap.uxap"));
38
+ // call the parent onBeforeRendering
39
+ if (ComponentContainer.prototype.onBeforeRendering) {
40
+ ComponentContainer.prototype.onBeforeRendering.call(this);
41
+ }
42
+ },
43
+
44
+ _createComponent : function () {
45
+ var oPromise;
39
46
  if (!this._oComponent) {
40
- this._oComponent = sap.ui.component({
47
+ oPromise = Component.create({
41
48
  name: this.getName(),
42
49
  url: this.getUrl(),
43
50
  componentData: { //forward configuration to underlying component
@@ -46,12 +53,13 @@ sap.ui.define(['sap/ui/core/ComponentContainer', "sap/base/Log", 'sap/ui/core/Co
46
53
  }
47
54
  });
48
55
 
49
- this.setComponent(this._oComponent, true);
50
- }
56
+ oPromise.then(function (oComponent) {
57
+ this._oComponent = oComponent;
58
+ }.bind(this));
51
59
 
52
- // call the parent onBeforeRendering
53
- if (ComponentContainer.prototype.onBeforeRendering) {
54
- ComponentContainer.prototype.onBeforeRendering.call(this);
60
+ return oPromise;
61
+ } else {
62
+ return this._oComponent;
55
63
  }
56
64
  },
57
65
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace
31
31
  * @alias sap.uxap
32
32
  * @author SAP SE
33
- * @version 1.115.1
33
+ * @version 1.116.0
34
34
  * @since 1.36
35
35
  * @public
36
36
  */
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  "sap.uxap.ObjectPageHeaderLayoutData",
74
74
  "sap.uxap.ObjectPageLazyLoader"
75
75
  ],
76
- version: "1.115.1",
76
+ version: "1.116.0",
77
77
  extensions: {
78
78
  flChangeHandlers: {
79
79
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -1,7 +1,7 @@
1
1
 
2
2
  SHOW_MORE=Vis flere
3
3
 
4
- SHOW_LESS=Vis f\u00E6rre
4
+ SHOW_LESS=Vis mindre
5
5
 
6
6
  ANCHOR_BAR_ARIA_LABEL=Ankre
7
7
 
@@ -13,11 +13,11 @@ BREADCRUMB_TRAIL_LABEL=Navigationssti
13
13
 
14
14
  SHOW_ALL=Vis alt
15
15
 
16
- HIDE_ALL=Vis f\u00E6rre
16
+ HIDE_ALL=Vis mindre
17
17
 
18
- SHOW=Ekspand.
18
+ SHOW=Ekspander
19
19
 
20
- HIDE=Komprim.
20
+ HIDE=Komprimer
21
21
 
22
22
  EDIT_HEADER=Rediger topdata
23
23