@openui5/sap.ui.support 1.103.0 → 1.105.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
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
137
137
  License: MIT
138
138
  Comment: these files belong to: QUnit 2
139
139
 
140
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
141
+ Copyright: jQuery Foundation and other contributors
142
+ License: MIT
143
+ Comment: these files belong to: QUnit 2.18
144
+
140
145
  Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
141
146
  Copyright: OpenJS Foundation and other contributors
142
147
  License: MIT
@@ -154,7 +159,7 @@ Copyright:
154
159
  License: Apache-2.0 and MIT
155
160
  Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
156
161
 
157
- Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
162
+ Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
158
163
  Copyright: jQuery Foundation and other contributors
159
164
  License: MIT
160
165
  Comment: these files belong to: QUnit Composite
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
234
239
  License: BSD-3-Clause
235
240
  Comment: these files belong to: SinonJS
236
241
 
242
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
243
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
244
+ License: BSD-3-Clause
245
+ Comment: these files belong to: SinonJS 14
246
+
237
247
  Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
238
248
  Copyright: 2010-2011, Christian Johansen
239
249
  License: BSD-3-Clause
@@ -339,6 +349,13 @@ Copyright:
339
349
  License: Apache-2.0 and ISC
340
350
  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.
341
351
 
352
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
353
+ Copyright:
354
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ Arthur David Olson, Paul Eggert and other contributors
356
+ License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
357
+ 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
358
+
342
359
 
343
360
  # Library: sap.ui.documentation:
344
361
 
@@ -0,0 +1,5 @@
1
+ Unless specified below, all files in the tz code and data (including
2
+ this LICENSE file) are in the public domain.
3
+
4
+ If the files date.c, newstrftime.3, and strftime.c are present, they
5
+ contain material derived from BSD and use the BSD 3-clause license.
package/THIRDPARTY.txt CHANGED
@@ -76,6 +76,12 @@ License: MIT
76
76
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
77
77
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
78
78
 
79
+ Component: QUnit 2.18, version: 2.18.0
80
+ Copyright: jQuery Foundation and other contributors
81
+ License: MIT
82
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
83
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
84
+
79
85
  Component: jQuery-Migrate, version: 3.3.1
80
86
  Copyright: OpenJS Foundation and other contributors
81
87
  License: MIT
@@ -98,7 +104,7 @@ Component: QUnit Composite, version: 1.0.2-pre
98
104
  Copyright: jQuery Foundation and other contributors
99
105
  License: MIT
100
106
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
101
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite*
107
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.*
102
108
 
103
109
  Component: JUnit Reporter for QUnit, version: 1.1.1
104
110
  Copyright: jQuery Foundation and other contributors
@@ -191,13 +197,19 @@ License: BSD-3-Clause
191
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
192
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
193
199
 
200
+ Component: SinonJS 14, version: 14.0.0
201
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
202
+ License: BSD-3-Clause
203
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
204
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
205
+
194
206
  Component: Sinon-qunit, version: 2.0.0
195
207
  Copyright: 2010-2011, Christian Johansen
196
208
  License: BSD-3-Clause
197
209
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
210
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
211
 
200
- Component: URI.js, version: 1.19.10
212
+ Component: URI.js, version: 1.19.11
201
213
  Copyright: Rodney Rehm
202
214
  License: MIT
203
215
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -315,6 +327,12 @@ License: ISC
315
327
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
316
328
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
317
329
 
330
+ Component: Time Zone Database, version: 2022a
331
+ Copyright: Arthur David Olson, Paul Eggert and other contributors
332
+ License: LicenseRef-tzdata-PublicDomain
333
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
334
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
335
+
318
336
 
319
337
  Library: sap.ui.documentation:
320
338
 
@@ -450,7 +468,7 @@ License: Apache-2.0
450
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
469
  Contained in: lib/jsdoc/ui5/plugin.js
452
470
 
453
- Component: SAP Theming Base Content, version: 11.1.39
471
+ Component: SAP Theming Base Content, version: 11.1.40
454
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
473
  License: Apache-2.0
456
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
980
998
  =================================
981
999
 
982
1000
 
1001
+ =================================
1002
+ BEGIN of license: LicenseRef-tzdata-PublicDomain
1003
+ =================================
1004
+
1005
+ Unless specified below, all files in the tz code and data (including
1006
+ this LICENSE file) are in the public domain.
1007
+
1008
+ If the files date.c, newstrftime.3, and strftime.c are present, they
1009
+ contain material derived from BSD and use the BSD 3-clause license.
1010
+
1011
+ =================================
1012
+ END of license: LicenseRef-tzdata-PublicDomain
1013
+ =================================
1014
+
1015
+
983
1016
  =================================
984
1017
  BEGIN of license: MIT
985
1018
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.support",
3
- "version": "1.103.0",
3
+ "version": "1.105.0",
4
4
  "description": "OpenUI5 UI Library sap.ui.support",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,10 +14,10 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.103.0",
18
- "@openui5/sap.ui.codeeditor": "1.103.0",
19
- "@openui5/sap.ui.core": "1.103.0",
20
- "@openui5/sap.ui.fl": "1.103.0",
21
- "@openui5/sap.ui.layout": "1.103.0"
17
+ "@openui5/sap.m": "1.105.0",
18
+ "@openui5/sap.ui.codeeditor": "1.105.0",
19
+ "@openui5/sap.ui.core": "1.105.0",
20
+ "@openui5/sap.ui.fl": "1.105.0",
21
+ "@openui5/sap.ui.layout": "1.105.0"
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.103.0</version>
9
+ <version>1.105.0</version>
10
10
 
11
11
  <documentation>UI5 library: sap.ui.support</documentation>
12
12
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @namespace
33
33
  * @alias sap.ui.support.RuleAnalyzer
34
34
  * @author SAP SE
35
- * @version 1.103.0
35
+ * @version 1.105.0
36
36
  * @public
37
37
  */
38
38
  var RuleAnalyzer = {
@@ -35,7 +35,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
35
35
  * @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
36
36
  * @alias jQuery.sap.support
37
37
  * @author SAP SE
38
- * @version 1.103.0
38
+ * @version 1.105.0
39
39
  * @public
40
40
  */
41
41
  jQuery.sap.support = {
@@ -23,7 +23,7 @@ sap.ui.define(["sap/ui/core/library"],
23
23
  * @namespace
24
24
  * @alias sap.ui.support
25
25
  * @author SAP SE
26
- * @version 1.103.0
26
+ * @version 1.105.0
27
27
  * @since 1.50
28
28
  * @public
29
29
  */
@@ -37,7 +37,7 @@ sap.ui.define(["sap/ui/core/library"],
37
37
  controls: [],
38
38
  elements: [],
39
39
  noLibraryCSS: true,
40
- version: "1.103.0",
40
+ version: "1.105.0",
41
41
  extensions: {
42
42
  //Configuration used for rule loading of Support Assistant
43
43
  "sap.ui.support": {
@@ -39,7 +39,7 @@ function (Log, Version, library, storage, constants) {
39
39
  * @name sap.ui.support.RuleSet
40
40
  * @memberof sap.ui.support
41
41
  * @author SAP SE
42
- * @version 1.103.0
42
+ * @version 1.105.0
43
43
  * @param {object} oSettings Name of the initiated
44
44
  * @returns {void}
45
45
  */
@@ -21,8 +21,7 @@ sap.ui.define([
21
21
  "sap/ui/support/supportRules/Constants",
22
22
  "sap/ui/support/supportRules/util/EvalUtils",
23
23
  "sap/ui/support/supportRules/util/Utils",
24
- "sap/ui/thirdparty/jquery",
25
- "sap/ui/thirdparty/URI"
24
+ "sap/ui/thirdparty/jquery"
26
25
  ], function (
27
26
  Log,
28
27
  extend,
@@ -35,8 +34,7 @@ sap.ui.define([
35
34
  constants,
36
35
  EvalUtils,
37
36
  Utils,
38
- jQuery,
39
- URI
37
+ jQuery
40
38
  ) {
41
39
  "use strict";
42
40
 
@@ -391,20 +389,15 @@ sap.ui.define([
391
389
  * Gets the load origin of the SupportAssistant.
392
390
  *
393
391
  * @private
394
- * @returns {boolean} Whether the SupportAssistant hasn't been fired from a different origin
392
+ * @returns {boolean} Whether the SupportAssistant is loaded from a different origin
395
393
  */
396
394
  RuleSetLoader._getLoadFromSupportOrigin = function () {
397
- var bLoadFromSupportOrigin = false;
398
- var coreUri = new URI(sap.ui.require.toUrl("sap/ui/core"));
399
- var supportUri = new URI(sap.ui.require.toUrl("sap/ui/support"));
395
+ var coreUri = new URL(sap.ui.require.toUrl("sap/ui/core"), document.baseURI);
396
+ var supportUri = new URL(sap.ui.require.toUrl("sap/ui/support"), document.baseURI);
400
397
 
401
398
  // If loading support tool from different origin,
402
399
  // i.e. protocol or host (host name + port) different
403
- if (coreUri.protocol() !== supportUri.protocol() || coreUri.host() !== supportUri.host()) {
404
- bLoadFromSupportOrigin = true;
405
- }
406
-
407
- return bLoadFromSupportOrigin;
400
+ return coreUri.origin !== supportUri.origin;
408
401
  };
409
402
 
410
403
  /**
@@ -416,16 +409,16 @@ sap.ui.define([
416
409
  */
417
410
  RuleSetLoader.fetchNonLoadedRuleSets = function (aLoadedLibraries) {
418
411
 
419
- var aNonLoadedLibraries = [],
420
- oLibraries = {};
421
-
422
- sap.ui.getVersionInfo().libraries.forEach(function (oLib) {
423
- oLibraries[oLib.name] = oLib;
424
- });
425
-
426
- this._fetchLibraryNamesWithSupportRules(oLibraries).then(function (oLibNamesWithRules) {
412
+ VersionInfo.load().then(function(oVersionInfo) {
413
+ var oLibraries = {};
414
+ oVersionInfo.libraries.forEach(function (oLib) {
415
+ oLibraries[oLib.name] = oLib;
416
+ });
417
+ return this._fetchLibraryNamesWithSupportRules(oLibraries);
418
+ }.bind(this)).then(function (oLibNamesWithRules) {
427
419
 
428
420
  // Find the non loaded libraries which have rulesets.
421
+ var aNonLoadedLibraries = [];
429
422
  oLibNamesWithRules.allRules.forEach(function (sLibName) {
430
423
  if (aLoadedLibraries.indexOf(sLibName) < 0) {
431
424
  aNonLoadedLibraries.push(sLibName);
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @name sap.ui.support.Storage
58
58
  * @alias sap.ui.support.Storage
59
59
  * @author SAP SE.
60
- * @version 1.103.0
60
+ * @version 1.105.0
61
61
  * @private
62
62
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
63
63
  */
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @name sap.ui.support.WindowCommunicationBus
27
27
  * @memberof sap.ui.support
28
28
  * @author SAP SE
29
- * @version 1.103.0
29
+ * @version 1.105.0
30
30
  * @private
31
31
  */
32
32
  var WindowCommunicationBus = BaseObject.extend("sap.ui.support.supportRules.WindowCommunicationBus", {
@@ -17,7 +17,6 @@ sap.ui.define([
17
17
  "sap/ui/support/supportRules/Constants",
18
18
  "sap/ui/support/supportRules/Storage",
19
19
  "sap/ui/support/supportRules/util/EvalUtils",
20
- "sap/ui/thirdparty/URI",
21
20
  "sap/ui/VersionInfo",
22
21
  "sap/m/library"
23
22
  ], function (
@@ -33,7 +32,6 @@ sap.ui.define([
33
32
  Constants,
34
33
  Storage,
35
34
  EvalUtils,
36
- URI,
37
35
  VersionInfo,
38
36
  mobileLibrary
39
37
  ) {
@@ -96,7 +94,7 @@ sap.ui.define([
96
94
  VersionInfo.load({ library: "sap.ui.core" }).then(function (oCoreLibInfo) {
97
95
  CommunicationBus.publish(channelNames.POST_UI_INFORMATION, {
98
96
  version: oCoreLibInfo,
99
- location: new URI(sap.ui.require.toUrl("sap/ui/support"), window.location.origin + window.location.pathname).toString()
97
+ location: new URL(sap.ui.require.toUrl("sap/ui/support"), window.location.origin + window.location.pathname).toString()
100
98
  });
101
99
  });
102
100
 
@@ -104,7 +102,7 @@ sap.ui.define([
104
102
  },
105
103
 
106
104
  initSettingsPopoverModel: function () {
107
- var supportAssistantOrigin = new URI(sap.ui.resource('sap.ui.support', ''), window.location.origin + window.location.pathname)._string,
105
+ var supportAssistantOrigin = new URL(sap.ui.require.toUrl("sap/ui/support"), window.location.origin + window.location.pathname).toString(),
108
106
  supportAssistantVersion = sap.ui.version;
109
107
 
110
108
  this.model.setProperty("/supportAssistantOrigin", supportAssistantOrigin);
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  *
90
90
  * @extends sap.ui.support.supportRules.ui.controllers.BaseController
91
91
  * @author SAP SE
92
- * @version 1.103.0
92
+ * @version 1.105.0
93
93
  * @private
94
94
  * @alias sap.ui.support.supportRules.ui.controllers.PresetsController
95
95
  */
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
@@ -1,5 +1,5 @@
1
- /*
2
- * ! OpenUI5
1
+ /*!
2
+ * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */