@openui5/sap.ui.support 1.106.0 → 1.107.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/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 +2 -2
- package/src/sap/ui/support/supportRules/CoreFacade.js +6 -3
- package/src/sap/ui/support/supportRules/ExecutionScope.js +3 -3
- package/src/sap/ui/support/supportRules/RuleSet.js +1 -1
- package/src/sap/ui/support/supportRules/RuleSetLoader.js +5 -3
- package/src/sap/ui/support/supportRules/Storage.js +1 -2
- package/src/sap/ui/support/supportRules/WindowCommunicationBus.js +1 -1
- package/src/sap/ui/support/supportRules/ui/controllers/PresetsController.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.support",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.107.1",
|
|
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.107.1",
|
|
18
|
+
"@openui5/sap.ui.codeeditor": "1.107.1",
|
|
19
|
+
"@openui5/sap.ui.core": "1.107.1",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.107.1",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.107.1"
|
|
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.107.1</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.107.1
|
|
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.
|
|
26
|
+
* @version 1.107.1
|
|
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.107.1",
|
|
41
41
|
extensions: {
|
|
42
42
|
//Configuration used for rule loading of Support Assistant
|
|
43
43
|
"sap.ui.support": {
|
|
@@ -7,8 +7,11 @@
|
|
|
7
7
|
/*!
|
|
8
8
|
* An interface to the core to be used by rules
|
|
9
9
|
*/
|
|
10
|
-
sap.ui.define([
|
|
11
|
-
|
|
10
|
+
sap.ui.define([
|
|
11
|
+
'sap/ui/core/Component',
|
|
12
|
+
'sap/ui/core/UIArea'
|
|
13
|
+
],
|
|
14
|
+
function (Component, UIArea) {
|
|
12
15
|
"use strict";
|
|
13
16
|
|
|
14
17
|
var coreInstance = null;
|
|
@@ -42,7 +45,7 @@ sap.ui.define(['sap/ui/core/Component'],
|
|
|
42
45
|
* @name sap.ui.support.CoreFacade.getUIAreas
|
|
43
46
|
*/
|
|
44
47
|
getUIAreas: function () {
|
|
45
|
-
return
|
|
48
|
+
return UIArea.registry.all();
|
|
46
49
|
},
|
|
47
50
|
/**
|
|
48
51
|
* Gets the Components from the Core object.
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
* @class sap.ui.support.ExecutionScope
|
|
29
29
|
*/
|
|
30
30
|
sap.ui.define(
|
|
31
|
-
["sap/base/Log", "sap/ui/core/Component", "sap/ui/core/Element"],
|
|
32
|
-
function (Log, Component, Element) {
|
|
31
|
+
["sap/base/Log", "sap/ui/core/Component", "sap/ui/core/Element", "sap/ui/core/UIArea"],
|
|
32
|
+
function (Log, Component, Element, UIArea) {
|
|
33
33
|
"use strict";
|
|
34
34
|
|
|
35
35
|
var _context = null,
|
|
@@ -246,7 +246,7 @@ sap.ui.define(
|
|
|
246
246
|
*/
|
|
247
247
|
getPublicElements: function () {
|
|
248
248
|
var aPublicElements = [];
|
|
249
|
-
var mUIAreas =
|
|
249
|
+
var mUIAreas = UIArea.registry.all();
|
|
250
250
|
|
|
251
251
|
Component.registry.forEach(function(oComponent) {
|
|
252
252
|
aPublicElements = aPublicElements.concat(
|
|
@@ -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.107.1
|
|
43
43
|
* @param {object} oSettings Name of the initiated
|
|
44
44
|
* @returns {void}
|
|
45
45
|
*/
|
|
@@ -21,7 +21,8 @@ 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"
|
|
24
|
+
"sap/ui/thirdparty/jquery",
|
|
25
|
+
"sap/ui/core/Configuration"
|
|
25
26
|
], function (
|
|
26
27
|
Log,
|
|
27
28
|
extend,
|
|
@@ -34,7 +35,8 @@ sap.ui.define([
|
|
|
34
35
|
constants,
|
|
35
36
|
EvalUtils,
|
|
36
37
|
Utils,
|
|
37
|
-
jQuery
|
|
38
|
+
jQuery,
|
|
39
|
+
Configuration
|
|
38
40
|
) {
|
|
39
41
|
"use strict";
|
|
40
42
|
|
|
@@ -228,7 +230,7 @@ sap.ui.define([
|
|
|
228
230
|
iProgress = 0,
|
|
229
231
|
iRulesNumber = aLibNames.publicRules.length;
|
|
230
232
|
|
|
231
|
-
var supportModeConfig =
|
|
233
|
+
var supportModeConfig = Configuration.getSupportMode();
|
|
232
234
|
var bSilentMode = supportModeConfig && supportModeConfig.indexOf("silent") > -1;
|
|
233
235
|
|
|
234
236
|
if (bHasInternalRules) {
|
|
@@ -57,9 +57,8 @@ 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.107.1
|
|
61
61
|
* @private
|
|
62
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
63
62
|
*/
|
|
64
63
|
return {
|
|
65
64
|
|
|
@@ -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.107.1
|
|
30
30
|
* @private
|
|
31
31
|
*/
|
|
32
32
|
var WindowCommunicationBus = BaseObject.extend("sap.ui.support.supportRules.WindowCommunicationBus", {
|