@openui5/sap.ui.support 1.99.0 → 1.100.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/THIRDPARTY.txt +2 -2
- package/package.json +6 -6
- package/src/sap/ui/support/.library +1 -1
- package/src/sap/ui/support/RuleAnalyzer.js +1 -1
- package/src/sap/ui/support/jQuery.sap.support.js +1 -1
- package/src/sap/ui/support/library.js +7 -7
- package/src/sap/ui/support/supportRules/Constants.js +23 -2
- package/src/sap/ui/support/supportRules/IssueManager.js +2 -1
- package/src/sap/ui/support/supportRules/RuleSet.js +1 -1
- package/src/sap/ui/support/supportRules/Storage.js +1 -1
- package/src/sap/ui/support/supportRules/WCBChannels.js +5 -11
- package/src/sap/ui/support/supportRules/WindowCommunicationBus.js +1 -1
- package/src/sap/ui/support/supportRules/ui/controllers/PresetsController.js +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -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.
|
|
200
|
+
Component: URI.js, version: 1.19.10
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -450,7 +450,7 @@ License: Apache-2.0
|
|
|
450
450
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
451
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
452
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
453
|
+
Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
|
|
454
454
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
455
|
License: Apache-2.0
|
|
456
456
|
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.100.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.100.0",
|
|
18
|
+
"@openui5/sap.ui.codeeditor": "1.100.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.100.0",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.100.0",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.100.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.
|
|
9
|
+
<version>1.100.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.support</documentation>
|
|
12
12
|
|
|
@@ -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.
|
|
38
|
+
* @version 1.100.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
|
* @name sap.ui.support
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.100.0
|
|
27
27
|
* @since 1.50
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
@@ -41,7 +41,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
41
41
|
controls: [],
|
|
42
42
|
elements: [],
|
|
43
43
|
noLibraryCSS: true,
|
|
44
|
-
version: "1.
|
|
44
|
+
version: "1.100.0",
|
|
45
45
|
extensions: {
|
|
46
46
|
//Configuration used for rule loading of Support Assistant
|
|
47
47
|
"sap.ui.support": {
|
|
@@ -53,7 +53,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
53
53
|
/**
|
|
54
54
|
* Defines severity types.
|
|
55
55
|
* @enum {string}
|
|
56
|
-
* @since 1.
|
|
56
|
+
* @since 1.100.0
|
|
57
57
|
* @public
|
|
58
58
|
*/
|
|
59
59
|
sap.ui.support.Severity = {
|
|
@@ -77,7 +77,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
77
77
|
/**
|
|
78
78
|
* Defines the Audiences.
|
|
79
79
|
* @enum {string}
|
|
80
|
-
* @since 1.
|
|
80
|
+
* @since 1.100.0
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
83
|
sap.ui.support.Audiences = {
|
|
@@ -101,7 +101,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
101
101
|
/**
|
|
102
102
|
* Issue Categories.
|
|
103
103
|
* @enum {string}
|
|
104
|
-
* @since 1.
|
|
104
|
+
* @since 1.100.0
|
|
105
105
|
* @public
|
|
106
106
|
*/
|
|
107
107
|
sap.ui.support.Categories = {
|
|
@@ -170,7 +170,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
170
170
|
/**
|
|
171
171
|
* Analysis history formats.
|
|
172
172
|
* @enum {string}
|
|
173
|
-
* @since 1.
|
|
173
|
+
* @since 1.100.0
|
|
174
174
|
* @public
|
|
175
175
|
*/
|
|
176
176
|
sap.ui.support.HistoryFormats = {
|
|
@@ -189,7 +189,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
189
189
|
/**
|
|
190
190
|
* Contains the available system presets.
|
|
191
191
|
* @enum {object}
|
|
192
|
-
* @since 1.
|
|
192
|
+
* @since 1.100.0
|
|
193
193
|
* @public
|
|
194
194
|
*/
|
|
195
195
|
sap.ui.support.SystemPresets = {
|
|
@@ -18,118 +18,139 @@ sap.ui.define([],
|
|
|
18
18
|
* @returns {Object} Object that contains all the constants.
|
|
19
19
|
*/
|
|
20
20
|
return {
|
|
21
|
-
|
|
22
|
-
* @readonly
|
|
21
|
+
/*
|
|
23
22
|
* The following constants are used to store rules and user data in the local storage.
|
|
24
23
|
*/
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
26
|
* Stores temporary rules.
|
|
27
|
+
* @readonly
|
|
28
28
|
*/
|
|
29
29
|
TEMP_RULESETS_NAME: "temporary",
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Name of the SupportAssistant.
|
|
33
|
+
* @readonly
|
|
33
34
|
*/
|
|
34
35
|
SUPPORT_ASSISTANT_NAME: "Support Assistant",
|
|
35
36
|
|
|
36
37
|
/**
|
|
37
38
|
* Key for storing temporary rules in the local storage.
|
|
39
|
+
* @readonly
|
|
38
40
|
*/
|
|
39
41
|
LOCAL_STORAGE_TEMP_RULES_KEY: "support-assistant-temprules",
|
|
40
42
|
|
|
41
43
|
/**
|
|
42
44
|
* Key for storing selected rules in the local storage.
|
|
45
|
+
* @readonly
|
|
43
46
|
*/
|
|
44
47
|
LOCAL_STORAGE_SELECTED_RULES_KEY: "support-assistant-selected-rules",
|
|
45
48
|
|
|
46
49
|
/**
|
|
47
50
|
* Key for storing selected context in the local storage.
|
|
51
|
+
* @readonly
|
|
48
52
|
*/
|
|
49
53
|
LOCAL_STORAGE_SELECTED_CONTEXT_KEY: "support-assistant-settings-selected-context",
|
|
50
54
|
|
|
51
55
|
/**
|
|
52
56
|
* Stores temporary rules in the local storage.
|
|
57
|
+
* @readonly
|
|
53
58
|
*/
|
|
54
59
|
LOCAL_STORAGE_SELECTED_CONTEXT_COMPONENT_KEY: "support-assistant-settings-selected-context-components",
|
|
55
60
|
|
|
56
61
|
/**
|
|
57
62
|
* Stores the visible column setting
|
|
63
|
+
* @readonly
|
|
58
64
|
*/
|
|
59
65
|
LOCAL_STORAGE_SELECTED_VISIBLE_COLUMN_KEY: "support-assistant-visible-column-setting",
|
|
60
66
|
|
|
61
67
|
/**
|
|
62
68
|
* Stores selections presets list
|
|
69
|
+
* @readonly
|
|
63
70
|
*/
|
|
64
71
|
LOCAL_STORAGE_SELECTION_PRESETS_KEY: "support-assistant-selection-presets",
|
|
65
72
|
|
|
66
73
|
/**
|
|
67
74
|
* Stores custom presets list
|
|
75
|
+
* @readonly
|
|
68
76
|
*/
|
|
69
77
|
LOCAL_STORAGE_CUSTOM_PRESETS_KEY: "support-assistant-custom-presets",
|
|
70
78
|
|
|
71
79
|
/**
|
|
72
80
|
* Tells if the user was already warned that temp rules are disabled
|
|
81
|
+
* @readonly
|
|
73
82
|
*/
|
|
74
83
|
LOCAL_STORAGE_TEMP_RULES_DISABLED_WARNED: "support-assistant-temp-rules-disabled-warned",
|
|
75
84
|
|
|
76
85
|
/**
|
|
77
86
|
* The name of the persistence cookie.
|
|
87
|
+
* @readonly
|
|
78
88
|
*/
|
|
79
89
|
COOKIE_NAME: "persistence-cookie",
|
|
80
90
|
|
|
81
91
|
/**
|
|
82
92
|
* Color used for severity high issues
|
|
93
|
+
* @readonly
|
|
83
94
|
*/
|
|
84
95
|
SUPPORT_ASSISTANT_SEVERITY_HIGH_COLOR: "#bb0000",
|
|
85
96
|
|
|
86
97
|
/**
|
|
87
98
|
* Color used for severity medium issues
|
|
99
|
+
* @readonly
|
|
88
100
|
*/
|
|
89
101
|
SUPPORT_ASSISTANT_SEVERITY_MEDIUM_COLOR: "#e78c07",
|
|
90
102
|
|
|
91
103
|
/**
|
|
92
104
|
* Color used for severity high issues
|
|
105
|
+
* @readonly
|
|
93
106
|
*/
|
|
94
107
|
SUPPORT_ASSISTANT_SEVERITY_LOW_COLOR: "#5e696e",
|
|
95
108
|
|
|
96
109
|
/**
|
|
97
110
|
* Low severity of produced issue by Support Assistant
|
|
111
|
+
* @readonly
|
|
98
112
|
*/
|
|
99
113
|
SUPPORT_ASSISTANT_ISSUE_SEVERITY_LOW: "Low",
|
|
100
114
|
|
|
101
115
|
/**
|
|
102
116
|
* Medium severity of produced issue by Support Assistant
|
|
117
|
+
* @readonly
|
|
103
118
|
*/
|
|
104
119
|
SUPPORT_ASSISTANT_ISSUE_SEVERITY_MEDIUM: "Medium",
|
|
105
120
|
|
|
106
121
|
/**
|
|
107
122
|
* High severity of produced issue by Support Assistant
|
|
123
|
+
* @readonly
|
|
108
124
|
*/
|
|
109
125
|
SUPPORT_ASSISTANT_ISSUE_SEVERITY_HIGH: "High",
|
|
110
126
|
|
|
111
127
|
/**
|
|
112
128
|
* Extension added to library.js files of every library that contains support rules
|
|
129
|
+
* @readonly
|
|
113
130
|
*/
|
|
114
131
|
SUPPORT_ASSISTANT_EXTENSION: "sap.ui.support",
|
|
115
132
|
|
|
116
133
|
/**
|
|
117
134
|
* The maximum number of visible issues for selected rule (in the issues table)
|
|
135
|
+
* @readonly
|
|
118
136
|
*/
|
|
119
137
|
MAX_VISIBLE_ISSUES_FOR_RULE: 5,
|
|
120
138
|
|
|
121
139
|
/**
|
|
122
140
|
* Copy text for ruleset loading indicator
|
|
141
|
+
* @readonly
|
|
123
142
|
*/
|
|
124
143
|
RULESET_LOADING: "Loading ruleset files:",
|
|
125
144
|
|
|
126
145
|
/**
|
|
127
146
|
* Initial value of all filters in Support Assistant views
|
|
147
|
+
* @readonly
|
|
128
148
|
*/
|
|
129
149
|
FILTER_VALUE_ALL: "All",
|
|
130
150
|
|
|
131
151
|
/**
|
|
132
152
|
* Name of file produced by selection export
|
|
153
|
+
* @readonly
|
|
133
154
|
*/
|
|
134
155
|
RULE_SELECTION_EXPORT_FILE_NAME: "sa-rule-preset",
|
|
135
156
|
|
|
@@ -12,7 +12,8 @@ sap.ui.define(["sap/base/util/deepExtend", "sap/ui/base/Object", "sap/ui/support
|
|
|
12
12
|
function (deepExtend, BaseObject, library, constants) {
|
|
13
13
|
"use strict";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Issues stored in the IssueManager.
|
|
16
|
+
* @type {object[]}
|
|
16
17
|
* @private
|
|
17
18
|
*/
|
|
18
19
|
var _aIssues = [];
|
|
@@ -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.
|
|
42
|
+
* @version 1.100.0
|
|
43
43
|
* @param {object} oSettings Name of the initiated
|
|
44
44
|
* @returns {void}
|
|
45
45
|
*/
|
|
@@ -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.
|
|
60
|
+
* @version 1.100.0
|
|
61
61
|
* @private
|
|
62
62
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
63
63
|
*/
|
|
@@ -11,22 +11,16 @@ function () {
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* <h3>Overview</h3>
|
|
14
|
-
*
|
|
14
|
+
* Channel constants which can be used to subscribe to the {@link sap.ui.support.WindowCommunicationBus}
|
|
15
|
+
*
|
|
15
16
|
* <h3>Usage</h3>
|
|
16
17
|
* These channels are used for communication with Main.
|
|
17
|
-
*
|
|
18
|
-
* @
|
|
18
|
+
*
|
|
19
|
+
* @enum {string} sap.ui.support.WCBChannels
|
|
19
20
|
* @readonly
|
|
20
21
|
* @protected
|
|
21
|
-
* @returns {Object} Returns the channel constants which are used to subscribe to sap.ui.support.WindowCommunicationBus
|
|
22
22
|
*/
|
|
23
|
-
return {
|
|
24
|
-
/**
|
|
25
|
-
* @enum
|
|
26
|
-
* @readonly
|
|
27
|
-
* The following channels can subscribe to the WindowCommunicationBus
|
|
28
|
-
*/
|
|
29
|
-
|
|
23
|
+
return /** @lends sap.ui.support.WCBChannels */ {
|
|
30
24
|
/**
|
|
31
25
|
* State change in the core.
|
|
32
26
|
* @type {string}
|
|
@@ -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.
|
|
29
|
+
* @version 1.100.0
|
|
30
30
|
* @private
|
|
31
31
|
*/
|
|
32
32
|
var WindowCommunicationBus = BaseObject.extend("sap.ui.support.supportRules.WindowCommunicationBus", {
|