@openui5/sap.ui.support 1.108.2 → 1.110.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 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +6 -6
- package/src/sap/ui/support/.library +2 -2
- package/src/sap/ui/support/Bootstrap.js +1 -1
- package/src/sap/ui/support/RuleAnalyzer.js +3 -8
- package/src/sap/ui/support/jQuery.sap.support.js +2 -8
- package/src/sap/ui/support/library.js +20 -3
- package/src/sap/ui/support/supportRules/Analyzer.js +8 -5
- package/src/sap/ui/support/supportRules/CommunicationBus.js +1 -4
- package/src/sap/ui/support/supportRules/Constants.js +3 -6
- package/src/sap/ui/support/supportRules/CoreFacade.js +8 -9
- package/src/sap/ui/support/supportRules/ExecutionScope.js +23 -35
- package/src/sap/ui/support/supportRules/History.js +5 -10
- package/src/sap/ui/support/supportRules/IssueManager.js +17 -47
- package/src/sap/ui/support/supportRules/Main.js +2 -2
- package/src/sap/ui/support/supportRules/RuleSerializer.js +1 -1
- package/src/sap/ui/support/supportRules/RuleSet.js +13 -48
- package/src/sap/ui/support/supportRules/RuleSetLoader.js +6 -6
- package/src/sap/ui/support/supportRules/Storage.js +5 -48
- package/src/sap/ui/support/supportRules/WCBChannels.js +39 -4
- package/src/sap/ui/support/supportRules/WCBConfig.js +1 -1
- package/src/sap/ui/support/supportRules/WindowCommunicationBus.js +3 -19
- package/src/sap/ui/support/supportRules/report/AbapHistoryFormatter.js +1 -1
- package/src/sap/ui/support/supportRules/report/Archiver.js +1 -1
- package/src/sap/ui/support/supportRules/report/DataCollector.js +2 -2
- package/src/sap/ui/support/supportRules/report/IssueRenderer.js +1 -1
- package/src/sap/ui/support/supportRules/report/ReportProvider.js +1 -1
- package/src/sap/ui/support/supportRules/report/StringHistoryFormatter.js +1 -1
- package/src/sap/ui/support/supportRules/report/resources/index.js +1 -1
- package/src/sap/ui/support/supportRules/ui/IFrameController.js +1 -1
- package/src/sap/ui/support/supportRules/ui/Overlay.js +1 -1
- package/src/sap/ui/support/supportRules/ui/controllers/Analysis.controller.js +1 -1
- package/src/sap/ui/support/supportRules/ui/controllers/BaseController.js +1 -1
- package/src/sap/ui/support/supportRules/ui/controllers/Issues.controller.js +2 -3
- package/src/sap/ui/support/supportRules/ui/controllers/Main.controller.js +1 -1
- package/src/sap/ui/support/supportRules/ui/controllers/PresetsController.js +2 -2
- package/src/sap/ui/support/supportRules/ui/external/ElementTree.js +1 -1
- package/src/sap/ui/support/supportRules/ui/external/Highlighter.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/CustomJSONListSelection.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/CustomListSelection.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/Documentation.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/PresetsUtils.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/SelectionUtils.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/SharedModel.js +1 -1
- package/src/sap/ui/support/supportRules/ui/models/formatter.js +1 -1
- package/src/sap/ui/support/supportRules/util/EvalUtils.js +1 -1
- package/src/sap/ui/support/supportRules/util/RuleValidator.js +1 -1
- package/src/sap/ui/support/supportRules/util/StringAnalyzer.js +1 -1
- package/src/sap/ui/support/supportRules/util/Utils.js +1 -1
package/.reuse/dep5
CHANGED
|
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
|
|
|
28
28
|
# OpenUI5 code
|
|
29
29
|
|
|
30
30
|
Files: *
|
|
31
|
-
Copyright: 2009-
|
|
31
|
+
Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
32
32
|
License: Apache-2.0
|
|
33
33
|
|
|
34
34
|
|
|
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
|
|
|
68
68
|
|
|
69
69
|
Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
|
|
70
70
|
Copyright:
|
|
71
|
-
2009-
|
|
71
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
72
72
|
Spencer Tipping
|
|
73
73
|
License: Apache-2.0 and MIT
|
|
74
74
|
Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
|
|
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
|
|
|
83
83
|
|
|
84
84
|
Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
|
|
85
85
|
Copyright:
|
|
86
|
-
2009-
|
|
86
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
87
87
|
OpenJS Foundation and other contributors
|
|
88
88
|
License: Apache-2.0 and MIT
|
|
89
89
|
Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
|
|
90
90
|
|
|
91
91
|
Files: src/sap.ui.core/src/sap/base/util/_merge.js
|
|
92
92
|
Copyright:
|
|
93
|
-
2009-
|
|
93
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
94
94
|
OpenJS Foundation and other contributors
|
|
95
95
|
License: Apache-2.0 and MIT
|
|
96
96
|
Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
97
97
|
|
|
98
98
|
Files: src/sap.ui.core/src/jquery.sap.script.js
|
|
99
99
|
Copyright:
|
|
100
|
-
2009-
|
|
100
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
101
101
|
OpenJS Foundation and other contributors
|
|
102
102
|
License: Apache-2.0 and MIT
|
|
103
103
|
Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
104
104
|
|
|
105
105
|
Files: src/sap.ui.core/src/sap/ui/Device.js
|
|
106
106
|
Copyright:
|
|
107
|
-
2009-
|
|
107
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
108
108
|
2011, John Resig
|
|
109
109
|
License: Apache-2.0 and MIT
|
|
110
110
|
Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
|
|
111
111
|
|
|
112
112
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
|
|
113
113
|
Copyright:
|
|
114
|
-
2009-
|
|
114
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
115
115
|
2014 jQuery Foundation and other contributors
|
|
116
116
|
License: Apache-2.0 and MIT
|
|
117
117
|
Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
|
|
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
|
|
|
123
123
|
|
|
124
124
|
Files: src/sap.ui.core/src/jquery.sap.dom.js
|
|
125
125
|
Copyright:
|
|
126
|
-
2009-
|
|
126
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
127
127
|
2014 jQuery Foundation and other contributors
|
|
128
128
|
License: Apache-2.0 and MIT
|
|
129
129
|
Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
|
|
130
130
|
|
|
131
131
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
|
|
132
132
|
Copyright:
|
|
133
|
-
2009-
|
|
133
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
134
134
|
2014 jQuery Foundation and other contributors
|
|
135
135
|
License: Apache-2.0 and MIT
|
|
136
136
|
Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
|
|
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
|
|
|
162
162
|
|
|
163
163
|
Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
|
|
164
164
|
Copyright:
|
|
165
|
-
2009-
|
|
165
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
166
166
|
2012 Wei-Ko Kao
|
|
167
167
|
License: Apache-2.0 and MIT
|
|
168
168
|
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
|
|
@@ -299,14 +299,14 @@ Comment: these files belong to: blanket.js
|
|
|
299
299
|
|
|
300
300
|
Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
|
|
301
301
|
Copyright:
|
|
302
|
-
2009-
|
|
302
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
303
303
|
Douglas Crockford
|
|
304
304
|
License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
|
|
305
305
|
Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
|
|
306
306
|
|
|
307
307
|
Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
|
|
308
308
|
Copyright:
|
|
309
|
-
2009-
|
|
309
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
310
310
|
2010 Douglas Crockford
|
|
311
311
|
License: Apache-2.0
|
|
312
312
|
Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
|
|
@@ -340,7 +340,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
|
|
|
340
340
|
|
|
341
341
|
Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
|
|
342
342
|
Copyright:
|
|
343
|
-
2009-
|
|
343
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
344
344
|
Behrang Norouzinia
|
|
345
345
|
License: Apache-2.0 and MIT
|
|
346
346
|
Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
|
|
@@ -352,14 +352,14 @@ Comment: these files belong to: vkBeautify
|
|
|
352
352
|
|
|
353
353
|
Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
354
354
|
Copyright:
|
|
355
|
-
2009-
|
|
355
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
356
356
|
Isaac Z. Schlueter and Contributors
|
|
357
357
|
License: Apache-2.0 and ISC
|
|
358
358
|
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.
|
|
359
359
|
|
|
360
360
|
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
361
361
|
Copyright:
|
|
362
|
-
2009-
|
|
362
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
363
363
|
Arthur David Olson, Paul Eggert and other contributors
|
|
364
364
|
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
365
365
|
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
|
|
@@ -469,7 +469,7 @@ Comment: these files belong to: LESS
|
|
|
469
469
|
|
|
470
470
|
Files: lib/jsdoc/ui5/plugin.js
|
|
471
471
|
Copyright:
|
|
472
|
-
2009-
|
|
472
|
+
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
473
473
|
2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
474
474
|
License: Apache-2.0
|
|
475
475
|
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)
|
package/THIRDPARTY.txt
CHANGED
|
@@ -185,7 +185,7 @@ License: Apache-2.0
|
|
|
185
185
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
186
186
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
187
187
|
|
|
188
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
188
|
+
Component: Unicode Common Locale Data Repository, version: 41
|
|
189
189
|
Copyright: 1991-2014 Unicode, Inc.
|
|
190
190
|
License: Unicode-DFS-2015
|
|
191
191
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.1.48
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
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.ui.support",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.110.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.
|
|
18
|
-
"@openui5/sap.ui.codeeditor": "1.
|
|
19
|
-
"@openui5/sap.ui.core": "1.
|
|
20
|
-
"@openui5/sap.ui.fl": "1.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.110.0",
|
|
18
|
+
"@openui5/sap.ui.codeeditor": "1.110.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.110.0",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.110.0",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.110.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.support</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
7
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.110.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.support</documentation>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
35
|
+
* @version 1.110.0
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
38
|
var RuleAnalyzer = {
|
|
@@ -43,7 +43,6 @@ sap.ui.define([
|
|
|
43
43
|
* Allows to choose a particular execution scope - desired part of the UI
|
|
44
44
|
* to be checked and a flexible way to specify the list of rules to be used.
|
|
45
45
|
*
|
|
46
|
-
* @memberof sap.ui.support.RuleAnalyzer
|
|
47
46
|
* @public
|
|
48
47
|
* @param {object} [oExecutionScope] The execution scope of the analysis (see {@link topic:e15067d976f24b11907f4c262bd749a0 Execution Scope}).
|
|
49
48
|
* @param {string} [oExecutionScope.type=global] Possible values are <code>global</code>, <code>subtree</code> or <code>components</code>.
|
|
@@ -82,7 +81,6 @@ sap.ui.define([
|
|
|
82
81
|
|
|
83
82
|
/**
|
|
84
83
|
* Returns the result of the last analysis performed.
|
|
85
|
-
* @memberof sap.ui.support.RuleAnalyzer
|
|
86
84
|
* @public
|
|
87
85
|
* @returns {sap.ui.support.AnalysisResult} Last analysis history.
|
|
88
86
|
*/
|
|
@@ -93,7 +91,6 @@ sap.ui.define([
|
|
|
93
91
|
/**
|
|
94
92
|
* Returns the history of all executed analyses.
|
|
95
93
|
*
|
|
96
|
-
* @memberof sap.ui.support.RuleAnalyzer
|
|
97
94
|
* @public
|
|
98
95
|
* @returns {sap.ui.support.AnalysisResult[]} Array of history objects in the order of analyses performed. The results of the last analysis are contained in the last element in the array.
|
|
99
96
|
*/
|
|
@@ -104,7 +101,6 @@ sap.ui.define([
|
|
|
104
101
|
/**
|
|
105
102
|
* Returns the history of all executed analyses into formatted output depending on the passed format.
|
|
106
103
|
*
|
|
107
|
-
* @memberof sap.ui.support.RuleAnalyzer
|
|
108
104
|
* @public
|
|
109
105
|
* @param {sap.ui.support.HistoryFormats} [sFormat=sap.ui.support.HistoryFormats.String] The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats.
|
|
110
106
|
* @returns {*} All analysis history objects in the correct format.
|
|
@@ -116,10 +112,9 @@ sap.ui.define([
|
|
|
116
112
|
/**
|
|
117
113
|
* Adds new temporary rule when in silent mode
|
|
118
114
|
*
|
|
119
|
-
* @memberof sap.ui.support.RuleAnalyzer
|
|
120
115
|
* @public
|
|
121
116
|
* @since 1.60
|
|
122
|
-
* @param {
|
|
117
|
+
* @param {sap.ui.support.RuleConfiguration} oRule Settings for the new rule. For detailed information about its properties see {@link topic:eaeea19a991d46f29e6d8d8827317d0e Rule Property Values}
|
|
123
118
|
* @returns {string} Rule creation status. Possible values are "success" or description of why adding failed.
|
|
124
119
|
*/
|
|
125
120
|
addRule: function (oRule) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,9 +33,8 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
|
|
|
33
33
|
*
|
|
34
34
|
* @namespace
|
|
35
35
|
* @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
|
|
36
|
-
* @alias jQuery.sap.support
|
|
37
36
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
37
|
+
* @version 1.110.0
|
|
39
38
|
* @public
|
|
40
39
|
*/
|
|
41
40
|
jQuery.sap.support = {
|
|
@@ -46,7 +45,6 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
|
|
|
46
45
|
* Allows to choose a particular execution scope - desired part of the UI
|
|
47
46
|
* to be checked and a flexible way to specify the list of rules to be used.
|
|
48
47
|
*
|
|
49
|
-
* @memberof jQuery.sap.support
|
|
50
48
|
* @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
|
|
51
49
|
* @public
|
|
52
50
|
* @param {object} [oExecutionScope] The execution scope of the analysis (see {@link topic:e15067d976f24b11907f4c262bd749a0 Execution Scopes}).
|
|
@@ -74,7 +72,6 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
|
|
|
74
72
|
|
|
75
73
|
/**
|
|
76
74
|
* Returns the result of the last analysis performed.
|
|
77
|
-
* @memberof jQuery.sap.support
|
|
78
75
|
* @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
|
|
79
76
|
* @public
|
|
80
77
|
* @returns {Object} Last analysis history.
|
|
@@ -86,7 +83,6 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
|
|
|
86
83
|
/**
|
|
87
84
|
* Returns the history of all executed analyses.
|
|
88
85
|
*
|
|
89
|
-
* @memberof jQuery.sap.support
|
|
90
86
|
* @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
|
|
91
87
|
* @public
|
|
92
88
|
* @returns {Object[]} Array of history objects in the order of analyses performed. The results of the last analysis are contained in the last element in the array.
|
|
@@ -98,7 +94,6 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
|
|
|
98
94
|
/**
|
|
99
95
|
* Returns the history of all executed analyses into formatted output depending on the passed format.
|
|
100
96
|
*
|
|
101
|
-
* @memberof jQuery.sap.support
|
|
102
97
|
* @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
|
|
103
98
|
* @public
|
|
104
99
|
* @param {sap.ui.support.HistoryFormats} [sFormat=sap.ui.support.HistoryFormats.String] The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats.
|
|
@@ -111,7 +106,6 @@ sap.ui.define(["sap/ui/thirdparty/jquery",
|
|
|
111
106
|
/**
|
|
112
107
|
* Adds new temporary rule when in silent mode
|
|
113
108
|
*
|
|
114
|
-
* @memberof jQuery.sap.support
|
|
115
109
|
* @deprecated Since version 1.60.0. Please use sap/ui/support/RuleAnalyzer instead.
|
|
116
110
|
* @public
|
|
117
111
|
* @since 1.60
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
26
|
+
* @version 1.110.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.
|
|
40
|
+
version: "1.110.0",
|
|
41
41
|
extensions: {
|
|
42
42
|
//Configuration used for rule loading of Support Assistant
|
|
43
43
|
"sap.ui.support": {
|
|
@@ -224,5 +224,22 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
|
|
227
|
+
/**
|
|
228
|
+
* Support Assistant rule configuration
|
|
229
|
+
*
|
|
230
|
+
* @typedef {object} sap.ui.support.RuleConfiguration
|
|
231
|
+
* @property {string} id
|
|
232
|
+
* @property {boolean} async
|
|
233
|
+
* @property {string} title
|
|
234
|
+
* @property {string} resolution
|
|
235
|
+
* @property {string} minversion
|
|
236
|
+
* @property {sap.ui.support.Categories[]} categories
|
|
237
|
+
* @property {sap.ui.support.Audiences[]} audiences
|
|
238
|
+
* @property {string} description
|
|
239
|
+
* @property {string} resolutionurls
|
|
240
|
+
* @property {string} check
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
|
|
227
244
|
return thisLib;
|
|
228
245
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -14,15 +14,18 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/u
|
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* @
|
|
17
|
+
* @class
|
|
18
|
+
*
|
|
18
19
|
* <h3>Overview</h3>
|
|
19
20
|
* Analyzer class that runs tasks. A Task runs a function for every entry in its object array.
|
|
20
21
|
* The Analyzer counts the task objects and calculates the percentages.
|
|
22
|
+
*
|
|
21
23
|
* <h3>Usage</h3>
|
|
22
24
|
* With the start, restart, stop and pause methods the analyzer can be controlled.
|
|
23
25
|
* While running it asynchronously, it selects objects from the list of each task and completes them.
|
|
26
|
+
*
|
|
24
27
|
* @private
|
|
25
|
-
* @
|
|
28
|
+
* @alias sap.ui.support.Analyzer
|
|
26
29
|
*/
|
|
27
30
|
var Analyzer = function () {
|
|
28
31
|
this.dStartedAt = null;
|
|
@@ -61,8 +64,8 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/u
|
|
|
61
64
|
*
|
|
62
65
|
* @public
|
|
63
66
|
* @param {array} aRules Selected rules for execution
|
|
64
|
-
* @param {
|
|
65
|
-
* @param {
|
|
67
|
+
* @param {sap.ui.support.CoreFacade} oCoreFacade Metadata, Models, UI areas and Components of the Core object
|
|
68
|
+
* @param {sap.ui.support.ExecutionScope} oExecutionScope selected execution scope from user in UI
|
|
66
69
|
* @returns {Promise} When all rules are analyzed
|
|
67
70
|
*/
|
|
68
71
|
Analyzer.prototype.start = function (aRules, oCoreFacade, oExecutionScope) {
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* @typedef {object} EventListener
|
|
9
|
-
*/
|
|
10
7
|
sap.ui.define([
|
|
11
8
|
"sap/ui/support/supportRules/WindowCommunicationBus",
|
|
12
9
|
"sap/ui/support/supportRules/WCBConfig"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([],
|
|
@@ -8,16 +8,13 @@ sap.ui.define([],
|
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Constants used in the Support Assistant
|
|
12
|
-
* @enum {string}
|
|
11
|
+
* Constants used in the Support Assistant.
|
|
13
12
|
* @private
|
|
14
13
|
* @author SAP SE
|
|
15
14
|
* @namespace
|
|
16
15
|
* @name sap.ui.support.Constants
|
|
17
|
-
* @alias sap.ui.support.AssistantConstants
|
|
18
|
-
* @returns {Object} Object that contains all the constants.
|
|
19
16
|
*/
|
|
20
|
-
return {
|
|
17
|
+
return /** @lends sap.ui.support.Constants */ {
|
|
21
18
|
/*
|
|
22
19
|
* The following constants are used to store rules and user data in the local storage.
|
|
23
20
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,24 +17,24 @@ sap.ui.define([
|
|
|
17
17
|
var coreInstance = null;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* @class
|
|
21
|
+
* The CoreFacade interface allows rule developers to access the metadata, models, UI areas and components of the Core.
|
|
22
|
+
*
|
|
23
23
|
* <h3>Usage</h3>
|
|
24
|
-
* The CoreFacade is passed to all rule check functions
|
|
24
|
+
* The CoreFacade is passed as second argument to all rule check functions.
|
|
25
|
+
*
|
|
25
26
|
* @name sap.ui.support.CoreFacade
|
|
26
27
|
* @param {object} oCore Core object as available in core plugins
|
|
27
|
-
* @
|
|
28
|
+
* @hideconstructor
|
|
28
29
|
* @public
|
|
29
30
|
*/
|
|
30
31
|
function CoreFacade(oCore) {
|
|
31
32
|
coreInstance = oCore;
|
|
32
33
|
|
|
33
|
-
return {
|
|
34
|
+
return /** @lends sap.ui.support.CoreFacade.prototype */ {
|
|
34
35
|
/**
|
|
35
36
|
* Gets the Metadata from the Core object.
|
|
36
37
|
* @public
|
|
37
|
-
* @name sap.ui.support.CoreFacade.getMetadata
|
|
38
38
|
*/
|
|
39
39
|
getMetadata: function () {
|
|
40
40
|
return coreInstance.getMetadata();
|
|
@@ -42,7 +42,6 @@ sap.ui.define([
|
|
|
42
42
|
/**
|
|
43
43
|
* Gets the UI areas from the Core object.
|
|
44
44
|
* @public
|
|
45
|
-
* @name sap.ui.support.CoreFacade.getUIAreas
|
|
46
45
|
*/
|
|
47
46
|
getUIAreas: function () {
|
|
48
47
|
return UIArea.registry.all();
|
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* @class
|
|
9
|
-
* Allows to select the scope of analysis on an application.
|
|
10
|
-
*
|
|
11
|
-
* <h3>Overview</h3>
|
|
12
|
-
*
|
|
13
|
-
* <code>ExecutionScope</code> is the third parameter of a rule check function.
|
|
14
|
-
* It provides access to internal UI5 objects available for inspection.
|
|
15
|
-
* The <code>getElements</code> API method allows the user to select a specific subset of
|
|
16
|
-
* elements valid for their case. It accepts one query object argument.
|
|
17
|
-
*
|
|
18
|
-
* <h3>Usage</h3>
|
|
19
|
-
*
|
|
20
|
-
* When a rule is executed, three parameters are passed: <code>oIssueManager</code>,
|
|
21
|
-
* <code>oCoreFacade</code> and <code>oScope</code>.
|
|
22
|
-
*
|
|
23
|
-
* An <code>ExecutionScope</code> instance is passed to every call of a rule check function.
|
|
24
|
-
* When you analyze your application, available objects are collected depending on the settings
|
|
25
|
-
* passed to the Support Assistant at the moment when you start it.
|
|
26
|
-
* @public
|
|
27
|
-
* @since 1.48
|
|
28
|
-
* @class sap.ui.support.ExecutionScope
|
|
29
|
-
*/
|
|
30
7
|
sap.ui.define(
|
|
31
8
|
["sap/base/Log", "sap/ui/core/Component", "sap/ui/core/Element", "sap/ui/core/UIArea"],
|
|
32
9
|
function (Log, Component, Element, UIArea) {
|
|
@@ -153,13 +130,34 @@ sap.ui.define(
|
|
|
153
130
|
return res;
|
|
154
131
|
}
|
|
155
132
|
|
|
133
|
+
/**
|
|
134
|
+
* @class
|
|
135
|
+
* Allows to select the scope of analysis on an application.
|
|
136
|
+
*
|
|
137
|
+
* <h3>Overview</h3>
|
|
138
|
+
*
|
|
139
|
+
* The ExecutionScope provides access to internal UI5 objects available for inspection.
|
|
140
|
+
* The <code>getElements</code> API method allows the user to select a specific subset of
|
|
141
|
+
* elements valid for their case. It accepts one query object argument.
|
|
142
|
+
*
|
|
143
|
+
* <h3>Usage</h3>
|
|
144
|
+
* The ExecutionScope is passed as third argument to all rule check functions.
|
|
145
|
+
*
|
|
146
|
+
* When you analyze your application, available objects are collected depending on the settings
|
|
147
|
+
* passed to the Support Assistant at the moment when you start it.
|
|
148
|
+
*
|
|
149
|
+
* @public
|
|
150
|
+
* @since 1.48
|
|
151
|
+
* @hideconstructor
|
|
152
|
+
* @alias sap.ui.support.ExecutionScope
|
|
153
|
+
*/
|
|
156
154
|
function ExecutionScope(core, context) {
|
|
157
155
|
elements = [];
|
|
158
156
|
_context = context;
|
|
159
157
|
|
|
160
158
|
contextTypes[_context.type].setScope();
|
|
161
159
|
|
|
162
|
-
return {
|
|
160
|
+
return /** @lends sap.ui.support.ExecutionScope.prototype */ {
|
|
163
161
|
/**
|
|
164
162
|
* @param {object} oConfig Object with specific filtering options
|
|
165
163
|
* @param {string} oConfig.type Type name to filter by type
|
|
@@ -168,9 +166,7 @@ sap.ui.define(
|
|
|
168
166
|
* @param {boolean} oConfig.cloned Option to exclude elements that are
|
|
169
167
|
* clones of list bindings
|
|
170
168
|
* @public
|
|
171
|
-
* @function
|
|
172
169
|
* @returns {Array} Array of matched elements
|
|
173
|
-
* @alias sap.ui.support.ExecutionScope.getElements
|
|
174
170
|
*/
|
|
175
171
|
getElements: function (oConfig) {
|
|
176
172
|
var that = this;
|
|
@@ -240,9 +236,7 @@ sap.ui.define(
|
|
|
240
236
|
* Returns all public elements, i.e. elements that are part of public API
|
|
241
237
|
* aggregations
|
|
242
238
|
* @public
|
|
243
|
-
* @function
|
|
244
239
|
* @returns {Array} Array of matched elements
|
|
245
|
-
* @alias sap.ui.support.ExecutionScope.getPublicElements
|
|
246
240
|
*/
|
|
247
241
|
getPublicElements: function () {
|
|
248
242
|
var aPublicElements = [];
|
|
@@ -265,11 +259,9 @@ sap.ui.define(
|
|
|
265
259
|
/**
|
|
266
260
|
* Gets elements by their type
|
|
267
261
|
* @public
|
|
268
|
-
* @function
|
|
269
262
|
* @param {string|function} classNameSelector Either string or function
|
|
270
263
|
* to be used when selecting a subset of elements
|
|
271
264
|
* @returns {Array} Array of matched elements
|
|
272
|
-
* @alias sap.ui.support.ExecutionScope.getElementsByClassName
|
|
273
265
|
*/
|
|
274
266
|
getElementsByClassName: function (classNameSelector) {
|
|
275
267
|
if (typeof classNameSelector === "string") {
|
|
@@ -287,10 +279,8 @@ sap.ui.define(
|
|
|
287
279
|
/**
|
|
288
280
|
* Gets the logged objects by object type
|
|
289
281
|
* @public
|
|
290
|
-
* @function
|
|
291
282
|
* @param {any} type Type of logged objects
|
|
292
283
|
* @returns {Array} Array of logged objects
|
|
293
|
-
* @alias sap.ui.support.ExecutionScope.getLoggedObjects
|
|
294
284
|
*/
|
|
295
285
|
getLoggedObjects: function (type) {
|
|
296
286
|
var log = Log.getLogEntries(),
|
|
@@ -334,9 +324,7 @@ sap.ui.define(
|
|
|
334
324
|
/**
|
|
335
325
|
* Gets the type of the execution scope
|
|
336
326
|
* @public
|
|
337
|
-
* @function
|
|
338
327
|
* @returns {string} The type of the execution scope. Possible values are <code>global</code>, <code>subtree</code> or <code>components</code>.
|
|
339
|
-
* @alias sap.ui.support.ExecutionScope.getType
|
|
340
328
|
*/
|
|
341
329
|
getType: function () {
|
|
342
330
|
return _context.type;
|