@openui5/sap.ui.support 1.113.0 → 1.114.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 +1 -1
- 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/Analyzer.js +5 -5
- package/src/sap/ui/support/supportRules/History.js +4 -3
- 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/WindowCommunicationBus.js +1 -1
- package/src/sap/ui/support/supportRules/report/ReportProvider.js +2 -2
- package/src/sap/ui/support/supportRules/ui/IFrameController.js +4 -3
- package/src/sap/ui/support/supportRules/ui/controllers/PresetsController.js +7 -5
- package/src/sap/ui/support/supportRules/ui/models/PresetsUtils.js +4 -3
- package/src/sap/ui/support/supportRules/util/RuleValidator.js +2 -2
package/THIRDPARTY.txt
CHANGED
|
@@ -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.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.3.0
|
|
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.114.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.114.0",
|
|
18
|
+
"@openui5/sap.ui.codeeditor": "1.114.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.114.0",
|
|
20
|
+
"@openui5/sap.ui.fl": "1.114.0",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.114.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
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.114.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.support</documentation>
|
|
12
12
|
|
|
@@ -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.114.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.114.0",
|
|
41
41
|
extensions: {
|
|
42
42
|
//Configuration used for rule loading of Support Assistant
|
|
43
43
|
"sap.ui.support": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* runs tasks added by addTask function. Analysis can be started, stopped, restarted, paused and continued.
|
|
10
10
|
* The analyzer can be used to update the UI with the current progress of a task while it's running.
|
|
11
11
|
*/
|
|
12
|
-
sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/ui/support/supportRules/Constants"],
|
|
13
|
-
function (Log, IssueManager, Constants) {
|
|
12
|
+
sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/ui/support/supportRules/Constants", "sap/ui/core/date/UI5Date"],
|
|
13
|
+
function (Log, IssueManager, Constants, UI5Date) {
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -72,7 +72,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/u
|
|
|
72
72
|
var oIssueManagerFacade,
|
|
73
73
|
that = this;
|
|
74
74
|
|
|
75
|
-
this.dStartedAt =
|
|
75
|
+
this.dStartedAt = UI5Date.getInstance();
|
|
76
76
|
this._iTotalRules = aRules.length;
|
|
77
77
|
this._bRunning = true;
|
|
78
78
|
|
|
@@ -96,7 +96,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/u
|
|
|
96
96
|
|
|
97
97
|
return Promise.all(this._aRulePromices).then(function () {
|
|
98
98
|
that.reset();
|
|
99
|
-
that.dFinishedAt =
|
|
99
|
+
that.dFinishedAt = UI5Date.getInstance();
|
|
100
100
|
that.iElapsedTime = that.dFinishedAt.getTime() - that.dStartedAt.getTime(); // In milliseconds
|
|
101
101
|
});
|
|
102
102
|
};
|
|
@@ -178,7 +178,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/supportRules/IssueManager","sap/u
|
|
|
178
178
|
return "";
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
var oDate =
|
|
181
|
+
var oDate = UI5Date.getInstance(null);
|
|
182
182
|
oDate.setHours(0, 0, 0, 0);
|
|
183
183
|
oDate.setMilliseconds(this.iElapsedTime);
|
|
184
184
|
var aBuffer = [
|
|
@@ -8,9 +8,10 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/support/supportRules/IssueManager",
|
|
9
9
|
"sap/ui/support/supportRules/RuleSetLoader",
|
|
10
10
|
"sap/ui/support/supportRules/report/StringHistoryFormatter",
|
|
11
|
-
"sap/ui/support/supportRules/report/AbapHistoryFormatter"
|
|
11
|
+
"sap/ui/support/supportRules/report/AbapHistoryFormatter",
|
|
12
|
+
"sap/ui/core/date/UI5Date"
|
|
12
13
|
],
|
|
13
|
-
function (library, IssueManager, RuleSetLoader, StringHistoryFormatter, AbapHistoryFormatter) {
|
|
14
|
+
function (library, IssueManager, RuleSetLoader, StringHistoryFormatter, AbapHistoryFormatter, UI5Date) {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -155,7 +156,7 @@ function (library, IssueManager, RuleSetLoader, StringHistoryFormatter, AbapHist
|
|
|
155
156
|
oSelectedRulePreset = oContext._oSelectedRulePreset;
|
|
156
157
|
|
|
157
158
|
_aRuns.push({
|
|
158
|
-
date:
|
|
159
|
+
date: UI5Date.getInstance().toUTCString(),
|
|
159
160
|
issues: mIssues,
|
|
160
161
|
onlyIssues: aIssues,
|
|
161
162
|
application: oContext._oDataCollector.getAppInfo(),
|
|
@@ -35,7 +35,7 @@ function (Log, Version, library, storage, constants) {
|
|
|
35
35
|
* @private
|
|
36
36
|
* @alias sap.ui.support.RuleSet
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.114.0
|
|
39
39
|
* @param {object} oSettings Name of the initiated
|
|
40
40
|
*/
|
|
41
41
|
var RuleSet = function (oSettings) {
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @class
|
|
25
25
|
* @alias sap.ui.support.WindowCommunicationBus
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.114.0
|
|
28
28
|
* @private
|
|
29
29
|
*/
|
|
30
30
|
var WindowCommunicationBus = BaseObject.extend("sap.ui.support.supportRules.WindowCommunicationBus", {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Creates a report from data.
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define(['sap/ui/thirdparty/jquery', 'sap/base/Log', 'sap/base/security/encodeXML', 'sap/base/util/isEmptyObject', 'sap/base/util/isPlainObject', 'sap/ui/support/supportRules/report/Archiver',
|
|
11
|
-
'sap/ui/support/supportRules/report/IssueRenderer'], function(jQuery, Log, encodeXML, isEmptyObject, isPlainObject, Archiver, IssueRenderer) {
|
|
11
|
+
'sap/ui/support/supportRules/report/IssueRenderer', 'sap/ui/core/date/UI5Date'], function(jQuery, Log, encodeXML, isEmptyObject, isPlainObject, Archiver, IssueRenderer, UI5Date) {
|
|
12
12
|
'use strict';
|
|
13
13
|
|
|
14
14
|
// Private fields
|
|
@@ -327,7 +327,7 @@ sap.ui.define(['sap/ui/thirdparty/jquery', 'sap/base/Log', 'sap/base/security/en
|
|
|
327
327
|
metadataTitleIssues: 'Issues',
|
|
328
328
|
metadataTitleAppInfo: 'Application Information',
|
|
329
329
|
metadataTitleSelectedRules: 'Available and (<span class="checked"></span>) Selected Rules',
|
|
330
|
-
metadataTimestamp:
|
|
330
|
+
metadataTimestamp: UI5Date.getInstance(),
|
|
331
331
|
metadataScope: getScope(oData.scope),
|
|
332
332
|
metadataAnalysisDuration: oData.analysisDuration,
|
|
333
333
|
metadataAnalysisDurationTitle: oData.analysisDurationTitle
|
|
@@ -10,9 +10,10 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/support/supportRules/CommunicationBus",
|
|
11
11
|
"sap/ui/support/supportRules/WCBChannels",
|
|
12
12
|
"sap/ui/support/supportRules/Constants",
|
|
13
|
-
"sap/ui/thirdparty/URI"
|
|
13
|
+
"sap/ui/thirdparty/URI",
|
|
14
|
+
"sap/ui/core/date/UI5Date"
|
|
14
15
|
],
|
|
15
|
-
function (Log, ManagedObject, CommunicationBus, channelNames, constants, URI) {
|
|
16
|
+
function (Log, ManagedObject, CommunicationBus, channelNames, constants, URI, UI5Date) {
|
|
16
17
|
"use strict";
|
|
17
18
|
|
|
18
19
|
var oIFrameController = null;
|
|
@@ -33,7 +34,7 @@ function (Log, ManagedObject, CommunicationBus, channelNames, constants, URI) {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
function generateIdentifier() {
|
|
36
|
-
return '' + +
|
|
37
|
+
return '' + +UI5Date.getInstance();
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
function openFrame(sUrl) {
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/support/supportRules/util/Utils",
|
|
16
16
|
"sap/m/GroupHeaderListItem",
|
|
17
17
|
"sap/base/util/deepExtend",
|
|
18
|
-
"sap/ui/core/library"
|
|
18
|
+
"sap/ui/core/library",
|
|
19
|
+
"sap/ui/core/date/UI5Date"
|
|
19
20
|
], function (
|
|
20
21
|
BaseController,
|
|
21
22
|
SelectionUtils,
|
|
@@ -27,7 +28,8 @@ sap.ui.define([
|
|
|
27
28
|
Utils,
|
|
28
29
|
GroupHeaderListItem,
|
|
29
30
|
deepExtend,
|
|
30
|
-
coreLibrary
|
|
31
|
+
coreLibrary,
|
|
32
|
+
UI5Date
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -89,7 +91,7 @@ sap.ui.define([
|
|
|
89
91
|
*
|
|
90
92
|
* @extends sap.ui.support.supportRules.ui.controllers.BaseController
|
|
91
93
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
94
|
+
* @version 1.114.0
|
|
93
95
|
* @private
|
|
94
96
|
* @alias sap.ui.support.supportRules.ui.controllers.PresetsController
|
|
95
97
|
*/
|
|
@@ -312,7 +314,7 @@ sap.ui.define([
|
|
|
312
314
|
|
|
313
315
|
// parse the date exported value, so it can be displayed
|
|
314
316
|
if (oFileData.dateExported) {
|
|
315
|
-
oFileData.dateExported =
|
|
317
|
+
oFileData.dateExported = UI5Date.getInstance(oFileData.dateExported);
|
|
316
318
|
}
|
|
317
319
|
|
|
318
320
|
this.oModel.setProperty("/currentImportData", oFileData);
|
|
@@ -376,7 +378,7 @@ sap.ui.define([
|
|
|
376
378
|
"id": (oCurrentPreset.isMySelection || oCurrentPreset.isSystemPreset) ? "" : oCurrentPreset.id,
|
|
377
379
|
"title": oCurrentPreset.title,
|
|
378
380
|
"descriptionValue": oCurrentPreset.description, // there is an issue on build if we use ${description}
|
|
379
|
-
"dateExportedForDisplay":
|
|
381
|
+
"dateExportedForDisplay": UI5Date.getInstance(), // the current date is shown as export date
|
|
380
382
|
"isMySelection": oCurrentPreset.isMySelection
|
|
381
383
|
});
|
|
382
384
|
|
|
@@ -11,8 +11,9 @@ sap.ui.define([
|
|
|
11
11
|
"sap/ui/support/supportRules/ui/models/SharedModel",
|
|
12
12
|
"sap/ui/core/util/File",
|
|
13
13
|
"sap/base/util/extend",
|
|
14
|
-
"sap/ui/support/library"
|
|
15
|
-
|
|
14
|
+
"sap/ui/support/library",
|
|
15
|
+
"sap/ui/core/date/UI5Date"
|
|
16
|
+
], function (Storage, constants, SelectionUtils, SharedModel, File, extend, library, UI5Date) {
|
|
16
17
|
"use strict";
|
|
17
18
|
|
|
18
19
|
var PresetsUtils = {
|
|
@@ -123,7 +124,7 @@ sap.ui.define([
|
|
|
123
124
|
id: sId,
|
|
124
125
|
title: sTitle,
|
|
125
126
|
description: sDescription,
|
|
126
|
-
dateExported: (
|
|
127
|
+
dateExported: (UI5Date.getInstance()).toISOString(),
|
|
127
128
|
version: "1.0",
|
|
128
129
|
selections: aSelections
|
|
129
130
|
};
|
|
@@ -29,6 +29,7 @@ sap.ui.define([],
|
|
|
29
29
|
* - "-"
|
|
30
30
|
* - "*"
|
|
31
31
|
* - "<digit>.<digit><digit>"
|
|
32
|
+
* - "<digit>.<digit><digit><digit>"
|
|
32
33
|
*
|
|
33
34
|
* @private
|
|
34
35
|
* @param {string} sVersion Version number in string format - could be - * or numeric.
|
|
@@ -40,8 +41,7 @@ sap.ui.define([],
|
|
|
40
41
|
return false;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
var versionRegEx = /^\*$|^\-$|^\d\.\d\d$/;
|
|
44
|
+
var versionRegEx = /^\*$|^\-$|^\d\.\d{2,3}$/;
|
|
45
45
|
|
|
46
46
|
if (sVersion.match(versionRegEx)) {
|
|
47
47
|
return true;
|