@openui5/sap.ui.codeeditor 1.141.2 → 1.143.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/README.md +2 -2
- package/REUSE.toml +39 -1
- package/THIRDPARTY.txt +36 -3
- package/package.json +2 -2
- package/src/sap/ui/codeeditor/.library +1 -1
- package/src/sap/ui/codeeditor/CodeEditor.js +1 -1
- package/src/sap/ui/codeeditor/library.js +2 -2
- package/src/sap/ui/codeeditor/themes/base/CodeEditor.less +30 -32
package/README.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
Runtime resources of the [OpenUI5](https://github.com/UI5/openui5) UI Library **sap.ui.codeeditor**.
|
|
5
5
|
|
|
6
6
|
## Usage
|
|
7
|
-
Add this library as a dependency to your UI5 project by using [UI5
|
|
7
|
+
Add this library as a dependency to your UI5 project by using [UI5 CLI](https://ui5.github.io/cli/):
|
|
8
8
|
|
|
9
9
|
```
|
|
10
10
|
ui5 add sap.ui.codeeditor
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://
|
|
13
|
+
For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://ui5.github.io/cli/pages/OpenUI5/).
|
|
14
14
|
|
|
15
15
|
## License
|
|
16
16
|
OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), see [LICENSE.txt](LICENSE.txt).
|
package/REUSE.toml
CHANGED
|
@@ -21,6 +21,44 @@ SPDX-License-Identifier = "Apache-2.0"
|
|
|
21
21
|
#
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
# Library: sap.f:
|
|
25
|
+
|
|
26
|
+
[[annotations]]
|
|
27
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
28
|
+
precedence = "aggregate"
|
|
29
|
+
SPDX-FileCopyrightText = "SAP"
|
|
30
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
31
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
32
|
+
|
|
33
|
+
[[annotations]]
|
|
34
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
35
|
+
precedence = "aggregate"
|
|
36
|
+
SPDX-FileCopyrightText = "SAP"
|
|
37
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
38
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Fiori"
|
|
39
|
+
|
|
40
|
+
[[annotations]]
|
|
41
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
42
|
+
precedence = "aggregate"
|
|
43
|
+
SPDX-FileCopyrightText = "SAP"
|
|
44
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
45
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons"
|
|
46
|
+
|
|
47
|
+
[[annotations]]
|
|
48
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
49
|
+
precedence = "aggregate"
|
|
50
|
+
SPDX-FileCopyrightText = "SAP"
|
|
51
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
52
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons Business Suite"
|
|
53
|
+
|
|
54
|
+
[[annotations]]
|
|
55
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
56
|
+
precedence = "aggregate"
|
|
57
|
+
SPDX-FileCopyrightText = "SAP"
|
|
58
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
59
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons TNT"
|
|
60
|
+
|
|
61
|
+
|
|
24
62
|
# Library: sap.m:
|
|
25
63
|
|
|
26
64
|
[[annotations]]
|
|
@@ -347,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
|
|
|
347
385
|
[[annotations]]
|
|
348
386
|
path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
|
|
349
387
|
precedence = "aggregate"
|
|
350
|
-
SPDX-FileCopyrightText = "2010-
|
|
388
|
+
SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
|
|
351
389
|
SPDX-License-Identifier = "MIT"
|
|
352
390
|
SPDX-FileComment = "these files belong to: requireJS"
|
|
353
391
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -4,6 +4,39 @@ each subcomponent.
|
|
|
4
4
|
The full text of all referenced licenses is appended at the end of this file.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Library: sap.f:
|
|
8
|
+
|
|
9
|
+
Component: UI5 Web Components, version: 2.15.0
|
|
10
|
+
Copyright: SAP
|
|
11
|
+
License: Apache-2.0
|
|
12
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
14
|
+
|
|
15
|
+
Component: UI5 Web Components Fiori, version: 2.15.0
|
|
16
|
+
Copyright: SAP
|
|
17
|
+
License: Apache-2.0
|
|
18
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
19
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
20
|
+
|
|
21
|
+
Component: UI5 Web Components Icons, version: 2.15.0
|
|
22
|
+
Copyright: SAP
|
|
23
|
+
License: Apache-2.0
|
|
24
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
25
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
26
|
+
|
|
27
|
+
Component: UI5 Web Components Icons Business Suite, version: 2.15.0
|
|
28
|
+
Copyright: SAP
|
|
29
|
+
License: Apache-2.0
|
|
30
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
31
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
32
|
+
|
|
33
|
+
Component: UI5 Web Components Icons TNT, version: 2.15.0
|
|
34
|
+
Copyright: SAP
|
|
35
|
+
License: Apache-2.0
|
|
36
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
37
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
38
|
+
|
|
39
|
+
|
|
7
40
|
Library: sap.m:
|
|
8
41
|
|
|
9
42
|
Component: purify.js, version: 3.2.4
|
|
@@ -221,8 +254,8 @@ License: MIT
|
|
|
221
254
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
222
255
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
|
|
223
256
|
|
|
224
|
-
Component: requireJS, version: 2.
|
|
225
|
-
Copyright: 2010-
|
|
257
|
+
Component: requireJS, version: 2.3.7
|
|
258
|
+
Copyright: 2010-2024, jQuery Foundation and other contributors
|
|
226
259
|
License: MIT
|
|
227
260
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
228
261
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
|
|
@@ -354,7 +387,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
|
|
|
354
387
|
|
|
355
388
|
Library: sap.ui.integration:
|
|
356
389
|
|
|
357
|
-
Component: UI5 Web Components, version:
|
|
390
|
+
Component: UI5 Web Components, version: 2.15.0
|
|
358
391
|
Copyright: SAP
|
|
359
392
|
License: Apache-2.0
|
|
360
393
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.codeeditor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.143.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.codeeditor",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"url": "https://github.com/UI5/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.143.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 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.143.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.codeeditor</documentation>
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @namespace
|
|
20
20
|
* @alias sap.ui.codeeditor
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.143.0
|
|
23
23
|
* @since 1.48
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
],
|
|
35
35
|
elements: [],
|
|
36
36
|
noLibraryCSS: false,
|
|
37
|
-
version: "1.
|
|
37
|
+
version: "1.143.0"
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
return thisLib;
|
|
@@ -1,36 +1,34 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/ ============================================ /
|
|
6
|
-
*/
|
|
1
|
+
/* ============================================= */
|
|
2
|
+
/* CSS for control sap.ui.codeeditor/CodeEditor */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ============================================= */
|
|
7
5
|
|
|
8
6
|
.sapCEdThemeDefault .ace_editor {
|
|
9
|
-
background-color:
|
|
10
|
-
color:
|
|
7
|
+
background-color: var(--sapField_Background);
|
|
8
|
+
color: var(--sapField_TextColor);
|
|
11
9
|
font-family: "72 Mono", 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
|
|
12
10
|
|
|
13
11
|
.ace_gutter {
|
|
14
|
-
background:
|
|
15
|
-
color:
|
|
12
|
+
background: var(--sapField_ReadOnly_Background);
|
|
13
|
+
color: var(--sapField_TextColor);
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
.ace_print-margin {
|
|
19
17
|
width: 1px;
|
|
20
|
-
background:
|
|
18
|
+
background: var(--sapField_ReadOnly_Background);
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
.ace_cursor {
|
|
24
|
-
color:
|
|
22
|
+
color: var(--sapField_TextColor);
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
.ace_marker-layer .ace_selection {
|
|
28
|
-
background:
|
|
26
|
+
background: var(--sapField_ReadOnly_Background);
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
.ace_marker-layer .ace_bracket {
|
|
32
30
|
margin: -1px 0 0 -1px;
|
|
33
|
-
border: 1px solid
|
|
31
|
+
border: 1px solid var(--sapField_SuccessColor);
|
|
34
32
|
}
|
|
35
33
|
|
|
36
34
|
.ace_marker-layer .ace_active-line {
|
|
@@ -39,7 +37,7 @@
|
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
.ace_gutter-active-line {
|
|
42
|
-
background-color:
|
|
40
|
+
background-color: var(--sapField_SuccessBackground);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
.ace_keyword,
|
|
@@ -47,11 +45,11 @@
|
|
|
47
45
|
.ace_storage,
|
|
48
46
|
.ace_storage.ace_type,
|
|
49
47
|
.ace_support.ace_type {
|
|
50
|
-
color:
|
|
48
|
+
color: var(--sapLegendColor10);
|
|
51
49
|
}
|
|
52
50
|
|
|
53
51
|
.ace_keyword.ace_operator {
|
|
54
|
-
color:
|
|
52
|
+
color: var(--sapLegendColor7);
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
.ace_constant.ace_character,
|
|
@@ -60,32 +58,32 @@
|
|
|
60
58
|
.ace_keyword.ace_other.ace_unit,
|
|
61
59
|
.ace_support.ace_constant,
|
|
62
60
|
.ace_variable.ace_parameter {
|
|
63
|
-
color:
|
|
61
|
+
color: var(--sapLegendColor12);
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
.ace_constant.ace_other {
|
|
67
|
-
color:
|
|
65
|
+
color: var(--sapLegendColor4);
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
.ace_fold {
|
|
71
|
-
background-color:
|
|
72
|
-
border-color:
|
|
69
|
+
background-color: var(--sapLegendColor20);
|
|
70
|
+
border-color: var(--sapLegendColor20);
|
|
73
71
|
}
|
|
74
72
|
|
|
75
73
|
.ace_entity.ace_name.ace_function,
|
|
76
74
|
.ace_support.ace_function {
|
|
77
|
-
color:
|
|
75
|
+
color: var(--sapLegendColor6);
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
.ace_support.ace_class,
|
|
81
79
|
.ace_support.ace_type {
|
|
82
|
-
color:
|
|
80
|
+
color: var(--sapLegendColor3);
|
|
83
81
|
}
|
|
84
82
|
|
|
85
83
|
.ace_heading,
|
|
86
84
|
.ace_markup.ace_heading,
|
|
87
85
|
.ace_string {
|
|
88
|
-
color:
|
|
86
|
+
color: var(--sapLegendColor18);
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
.ace_entity.ace_name.ace_tag,
|
|
@@ -93,37 +91,37 @@
|
|
|
93
91
|
.ace_meta.ace_tag,
|
|
94
92
|
.ace_string.ace_regexp,
|
|
95
93
|
.ace_variable {
|
|
96
|
-
color:
|
|
94
|
+
color: var(--sapLegendColor2);
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
.ace_comment {
|
|
100
|
-
color:
|
|
98
|
+
color: var(--sapLegendColor9);
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
.ace_marker-layer .ace_error_bracket {
|
|
104
|
-
border-color:
|
|
102
|
+
border-color: var(--sapField_InvalidColor);
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
.ace_fold-widget {
|
|
108
|
-
background-color:
|
|
106
|
+
background-color: var(--sapField_SuccessBackground);
|
|
109
107
|
}
|
|
110
108
|
|
|
111
109
|
.ace_fold-widget:hover {
|
|
112
|
-
border-color:
|
|
110
|
+
border-color: var(--sapField_SuccessColor);
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
.ace_indent-guide {
|
|
116
114
|
position: relative;
|
|
117
115
|
|
|
118
116
|
&::after {
|
|
119
|
-
content:
|
|
117
|
+
content: '';
|
|
120
118
|
position: absolute;
|
|
121
119
|
top: 0.0625rem;
|
|
122
120
|
right: 0;
|
|
123
121
|
left: 0;
|
|
124
122
|
bottom: 0;
|
|
125
|
-
border-inline-end: 0.0625rem dotted
|
|
123
|
+
border-inline-end: 0.0625rem dotted var(--sapField_SuccessColor);
|
|
126
124
|
margin-inline-end: -0.0625rem;
|
|
127
125
|
}
|
|
128
126
|
}
|
|
129
|
-
}
|
|
127
|
+
}
|