@openui5/sap.ui.webc.common 1.114.0 → 1.115.1

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
@@ -192,11 +192,6 @@ Copyright: 2012 Matteo Spinelli
192
192
  License: MIT
193
193
  Comment: these files belong to: cubiq.org - swipeview
194
194
 
195
- Files: src/sap.ui.core/src/sap/ui/thirdparty/mobify-carousel.js
196
- Copyright: Mobify R&D Inc.
197
- License: MIT
198
- Comment: these files belong to: Mobify.js
199
-
200
195
  Files: src/sap.ui.core/src/sap/ui/thirdparty/zyngascroll.js
201
196
  Copyright: 2011 Zynga Inc.
202
197
  License: MIT
package/THIRDPARTY.txt CHANGED
@@ -143,12 +143,6 @@ License: MIT
143
143
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
144
144
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/swipe-view.js
145
145
 
146
- Component: Mobify.js, version: 1.1
147
- Copyright: Mobify R&D Inc.
148
- License: MIT
149
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
150
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobify-carousel.js
151
-
152
146
  Component: Zynga Scroller, version: 1.2.1-0-g5d43806
153
147
  Copyright: 2011 Zynga Inc.
154
148
  License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.webc.common",
3
- "version": "1.114.0",
3
+ "version": "1.115.1",
4
4
  "description": "OpenUI5 UI Library sap.ui.webc.common",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -19,6 +19,6 @@
19
19
  "build": "rimraf src/sap/ui/webc/common/thirdparty/ && ui5-webc-prebuild"
20
20
  },
21
21
  "dependencies": {
22
- "@openui5/sap.ui.core": "1.114.0"
22
+ "@openui5/sap.ui.core": "1.115.1"
23
23
  }
24
24
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.ui.webc.common</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.114.0</version>
6
+ <version>1.115.1</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>
@@ -10,7 +10,6 @@ sap.ui.define([
10
10
  "sap/ui/core/Element",
11
11
  "./WebComponentMetadata",
12
12
  "./WebComponentRenderer",
13
- "sap/ui/core/Core",
14
13
  "sap/base/strings/hyphenate",
15
14
  "sap/base/strings/camelize",
16
15
  "sap/ui/core/library",
@@ -21,7 +20,6 @@ sap.ui.define([
21
20
  Element,
22
21
  WebComponentMetadata,
23
22
  WebComponentRenderer,
24
- Core,
25
23
  hyphenate,
26
24
  camelize,
27
25
  coreLibrary,
@@ -39,8 +37,8 @@ sap.ui.define([
39
37
  * @returns {sap.ui.core.Element|undefined}
40
38
  */
41
39
  var fnGetControlFor = function(obj) {
42
- if (obj.id && Core.byId(obj.id)) {
43
- return Core.byId(obj.id);
40
+ if (obj.id && Element.registry.get(obj.id)) {
41
+ return Element.registry.get(obj.id);
44
42
  }
45
43
  };
46
44
 
@@ -106,7 +104,7 @@ sap.ui.define([
106
104
  *
107
105
  * @extends sap.ui.core.Control
108
106
  * @author SAP SE
109
- * @version 1.114.0
107
+ * @version 1.115.1
110
108
  * @public
111
109
  * @since 1.92.0
112
110
  * @alias sap.ui.webc.common.WebComponent
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @class
25
25
  * @author SAP SE
26
- * @version 1.114.0
26
+ * @version 1.115.1
27
27
  * @since 1.92.0
28
28
  * @experimental Since 1.92.0 The API might change. It is not intended for productive usage yet!
29
29
  * @alias sap.ui.webc.common.WebComponentMetadata
@@ -9,6 +9,7 @@
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/ui/core/library",
12
+ "sap/ui/core/Lib",
12
13
  "sap/ui/base/DataType",
13
14
  "./Icons",
14
15
  "./thirdparty/base/features/OpenUI5Support",
@@ -18,7 +19,7 @@ sap.ui.define([
18
19
  "./thirdparty/base/CSP",
19
20
  "./thirdparty/base/UI5Element"
20
21
  ],
21
- function(coreLibrary, DataType, Icons, OpenUI5Support, OpenUI5Enablement, AssetRegistry, CustomElementsScope, CSP, UI5Element) {
22
+ function(coreLibrary, Library, DataType, Icons, OpenUI5Support, OpenUI5Enablement, AssetRegistry, CustomElementsScope, CSP, UI5Element) {
22
23
 
23
24
  "use strict";
24
25
 
@@ -28,7 +29,7 @@ sap.ui.define([
28
29
  * @namespace
29
30
  * @name sap.ui.webc
30
31
  * @author SAP SE
31
- * @version 1.114.0
32
+ * @version 1.115.1
32
33
  * @public
33
34
  * @since 1.92.0
34
35
  * @experimental Since 1.92.0
@@ -40,14 +41,14 @@ sap.ui.define([
40
41
  * @namespace
41
42
  * @alias sap.ui.webc.common
42
43
  * @author SAP SE
43
- * @version 1.114.0
44
+ * @version 1.115.1
44
45
  * @public
45
46
  * @since 1.92.0
46
47
  * @experimental Since 1.92.0
47
48
  */
48
- var thisLib = sap.ui.getCore().initLibrary({
49
+ var thisLib = Library.init({
49
50
  name : "sap.ui.webc.common",
50
- version: "1.114.0",
51
+ version: "1.115.1",
51
52
  dependencies : ["sap.ui.core"],
52
53
  noLibraryCSS: true,
53
54
  designtime: "sap/ui/webc/common/designtime/library.designtime",