@openui5/sap.tnt 1.124.2 → 1.126.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 CHANGED
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
50
50
  License: Apache-2.0
51
51
  Comment: these files belong to: purify.js
52
52
 
53
+ Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
54
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
55
+ License: MIT
56
+ Comment: these files belong to: QUnit Composite 2.0.0
57
+
53
58
 
54
59
  # Library: sap.ui.codeeditor:
55
60
 
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
379
384
  License: MIT
380
385
  Comment: these files belong to: Elasticlunr
381
386
 
382
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-1.10.15/*
383
- Copyright: 2008-2017 SpryMedia Ltd
387
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
388
+ Copyright: SpryMedia Ltd
384
389
  License: MIT
385
390
  Comment: these files belong to: DataTables
386
391
 
387
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-1.4.0/*
388
- Copyright: 2016 SpryMedia Ltd
392
+ Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
393
+ Copyright: SpryMedia Ltd
389
394
  License: MIT
390
395
  Comment: these files belong to: Buttons extension for DataTables
391
396
 
package/THIRDPARTY.txt CHANGED
@@ -12,6 +12,13 @@ License: Apache-2.0
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
13
13
  Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
14
14
 
15
+ Component: QUnit Composite 2.0.0, version: 2.0.0
16
+ Copyright: jQuery Foundation and other contributors, https://jquery.org/
17
+ License: MIT
18
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
19
+ Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
20
+ src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
21
+
15
22
 
16
23
  Library: sap.ui.codeeditor:
17
24
 
@@ -356,17 +363,17 @@ License: MIT
356
363
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
357
364
  Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
358
365
 
359
- Component: DataTables, version: 1.10.15
360
- Copyright: 2008-2017 SpryMedia Ltd
366
+ Component: DataTables, version: 2.0.1
367
+ Copyright: SpryMedia Ltd
361
368
  License: MIT
362
369
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
363
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-1.10.15/*
370
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
364
371
 
365
- Component: Buttons extension for DataTables, version: 1.4.0
366
- Copyright: 2016 SpryMedia Ltd
372
+ Component: Buttons extension for DataTables, version: 3.0.0
373
+ Copyright: SpryMedia Ltd
367
374
  License: MIT
368
375
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
369
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-1.4.0/*
376
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
370
377
 
371
378
 
372
379
  Library: sap.ui.integration:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.124.2",
3
+ "version": "1.126.0",
4
4
  "description": "OpenUI5 UI Library sap.tnt",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.124.2",
18
- "@openui5/sap.ui.core": "1.124.2"
17
+ "@openui5/sap.m": "1.126.0",
18
+ "@openui5/sap.ui.core": "1.126.0"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.124.2</version>
9
+ <version>1.126.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with responsive controls.</documentation>
12
12
 
@@ -4,7 +4,7 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define([], function () {
7
+ sap.ui.define(["sap/ui/base/DataType"], function (DataType) {
8
8
  "use strict";
9
9
 
10
10
  /**
@@ -288,6 +288,8 @@ sap.ui.define([], function () {
288
288
  User2: "tnt-User2"
289
289
  };
290
290
 
291
+ DataType.registerEnum("sap.tnt.IllustratedMessageType", IllustratedMessageType);
292
+
291
293
  return IllustratedMessageType;
292
294
  });
293
295
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.124.2
51
+ * @version 1.126.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  * @extends sap.ui.core.Control
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.124.2
57
+ * @version 1.126.0
58
58
  *
59
59
  * @constructor
60
60
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.tnt.NavigationListItemBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.124.2
24
+ * @version 1.126.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.tnt.NavigationListItemBase
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.124.2
53
+ * @version 1.126.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Item
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.124.2
32
+ * @version 1.126.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.unified.MenuItemBase
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.124.2
41
+ * @version 1.126.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.124.2
36
+ * @version 1.126.0
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -123,7 +123,7 @@ sap.ui.define([
123
123
  * @implements sap.tnt.IToolHeader
124
124
  *
125
125
  * @author SAP SE
126
- * @version 1.124.2
126
+ * @version 1.126.0
127
127
  *
128
128
  * @constructor
129
129
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.124.2
27
+ * @version 1.126.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.124.2
44
+ * @version 1.126.0
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -8,11 +8,12 @@
8
8
  * Initialization Code and shared classes of library sap.tnt.
9
9
  */
10
10
  sap.ui.define([
11
+ "./IllustratedMessageType",
11
12
  "sap/ui/base/DataType",
12
13
  "sap/ui/core/Lib",
13
14
  "sap/ui/core/library",
14
15
  "sap/m/library"],
15
- function(DataType, Library) {
16
+ function(IllustratedMessageType, DataType, Library) {
16
17
  "use strict";
17
18
 
18
19
  /**
@@ -21,14 +22,14 @@ sap.ui.define([
21
22
  * @namespace
22
23
  * @alias sap.tnt
23
24
  * @author SAP SE
24
- * @version 1.124.2
25
+ * @version 1.126.0
25
26
  * @since 1.36
26
27
  * @public
27
28
  */
28
29
  var thisLib = Library.init({
29
30
  apiVersion: 2,
30
31
  name : "sap.tnt",
31
- version: "1.124.2",
32
+ version: "1.126.0",
32
33
  dependencies : ["sap.ui.core", "sap.m"],
33
34
  designtime: "sap/tnt/designtime/library.designtime",
34
35
  types: [
@@ -59,6 +60,8 @@ sap.ui.define([
59
60
  }
60
61
  });
61
62
 
63
+ thisLib.IllustratedMessageType = IllustratedMessageType;
64
+
62
65
  /**
63
66
  * Predefined types of <code>InfoLabel</code>
64
67
  *
@@ -31,7 +31,7 @@
31
31
  @_sap_tnt_NavigationList_SelectedAndFocusedBorderStyleColor: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
32
32
  @_sap_tnt_NavigationList_Collapsed_SelectedItemBorderStyleColor: solid @_sap_tnt_NavigationList_SelectedItemBorderColor;
33
33
  @_sap_tnt_NavigationList_Collapsed_SelectedGroupBorderColor: @_sap_tnt_NavigationList_SelectedItemBorderColor;
34
- @_sap_tnt_NavigationList_Collapsed_GroupBorderWidth: @sapUiListBorderColor;
34
+ @_sap_tnt_NavigationList_Collapsed_GroupBorderWidth: 0;
35
35
  @_sap_tnt_NavigationList_GroupExpandedBorderWidth: @_sap_tnt_NavigationList_GroupBorderWidth;
36
36
  @_sap_tnt_NavigationList_GroupIconWidth: @_sap_tnt_NavigationList_CollapsedWidth;
37
37
  @_sap_tnt_NavigationList_GroupTextWeight: unset;
@@ -264,6 +264,9 @@
264
264
  "ai-2": "0xe10C",
265
265
  "bound-validation-rule": "0xe10D",
266
266
  "fiori-application": "0xe10E",
267
- "build-code": "0xe10F"
267
+ "build-code": "0xe10F",
268
+ "business-application-studio": "0xe110",
269
+ "clone-from-git": "0xe111",
270
+ "business-accelerator": "0xe112"
268
271
  }
269
272
  }
@@ -0,0 +1,152 @@
1
+ /* ================================= */
2
+ /* CSS for control sap.tnt/InfoLabel */
3
+ /* Base theme */
4
+ /* ================================= */
5
+
6
+ @_sap_tnt_InfoLabel_NarrowPadding: 0 0.1875rem;
7
+ @_sap_tnt_InfoLabel_LineHeight: normal;
8
+ @_sap_tnt_InfoLabel_LineHeightDisplayOnly: 1rem;
9
+ @_sap_tnt_InfoLabel_Height: 1rem;
10
+ @_sap_tnt_InfoLabel_HeightWithoutBorders: 0.875rem;
11
+ @_sap_tnt_InfoLabel_FontFamily: @sapUiFontFamily;
12
+ @_sap_tnt_InfoLabel_FontSize: @sapMFontSmallSize;
13
+ @_sap_tnt_InfoLabel_DisplayFontSize: @_sap_tnt_InfoLabel_FontSize;
14
+ @_sap_tnt_InfoLabel_DisplayFontSizeIcon: @_sap_tnt_InfoLabel_FontSize;
15
+ @_sap_tnt_InfoLabel_Padding: 0 0.3125rem;
16
+ @_sap_tnt_InfoLabel_DisplayPadding: @_sap_tnt_InfoLabel_Padding;
17
+ @_sap_tnt_InfoLabel_IconMargin: 0.125rem;
18
+ @_sap_tnt_InfoLabel_DisplayIconMargin: 0.1875rem;
19
+ @_sap_tnt_InfoLabel_PaddingWhenEmpty: 0 @_sap_tnt_InfoLabel_HeightWithoutBorders/2;
20
+ @_sap_tnt_InfoLabel_DisplayModeBorder: none;
21
+ @_sap_tnt_InfoLabel_DisplayModeBackground: @sapUiBaseText;
22
+ @_sap_tnt_InfoLabel_DisplayModeColor: @sapUiContentContrastTextColor;
23
+ @_sap_tnt_InfoLabel_BorderRadius: 0.5rem;
24
+ @_sap_tnt_InfoLabel_DisplayBorderRadius: @_sap_tnt_InfoLabel_BorderRadius;
25
+ @_sap_tnt_InfoLabel_Text: uppercase;
26
+ @_sap_tnt_InfoLabel_LetterSpacing: 0.0125rem;
27
+
28
+ /* ==========================================================================
29
+ Root element
30
+ ========================================================================== */
31
+ .sapTntInfoLabel {
32
+ box-sizing: border-box;
33
+ padding: @_sap_tnt_InfoLabel_Padding;
34
+ text-align: center;
35
+ border-radius: @_sap_tnt_InfoLabel_BorderRadius;
36
+ height: @_sap_tnt_InfoLabel_Height;
37
+ display: inline-block;
38
+ max-width: 100%;
39
+ line-height: @_sap_tnt_InfoLabel_LineHeight;
40
+
41
+ .sapTntInfoLabelInner {
42
+ font-size: @_sap_tnt_InfoLabel_FontSize;
43
+ font-weight: bold;
44
+ font-family: @_sap_tnt_InfoLabel_FontFamily;
45
+ vertical-align: top;
46
+ letter-spacing: @_sap_tnt_InfoLabel_LetterSpacing;
47
+ text-transform: @_sap_tnt_InfoLabel_Text;
48
+ display: inline-block;
49
+ text-overflow: ellipsis;
50
+ white-space: nowrap;
51
+ overflow: hidden;
52
+ max-width: 100%;
53
+ }
54
+ }
55
+
56
+ .sapTntInfoLabelRenderModeNarrow { // Recommended for numeric labels (Numeric Mode)
57
+ padding: @_sap_tnt_InfoLabel_NarrowPadding
58
+ }
59
+
60
+ /* ==========================================================================
61
+ InfoLabel Display Only
62
+ ========================================================================== */
63
+ .sapTntInfoLabel.sapTntInfoLabelDisplayOnly {
64
+ border: @_sap_tnt_InfoLabel_DisplayModeBorder;
65
+ background: @_sap_tnt_InfoLabel_DisplayModeBackground;
66
+ height: 1rem;
67
+ border-radius: @_sap_tnt_InfoLabel_DisplayBorderRadius;
68
+ padding: @_sap_tnt_InfoLabel_DisplayPadding;
69
+
70
+ .sapTntInfoLabelInner {
71
+ color: @_sap_tnt_InfoLabel_DisplayModeColor;
72
+ line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
73
+ font-size: @_sap_tnt_InfoLabel_DisplayFontSize;
74
+ }
75
+ }
76
+
77
+ /* ==========================================================================
78
+ InfoLabel No Text
79
+ ========================================================================== */
80
+ .sapTntInfoLabel.sapTntInfoLabelNoText {
81
+ padding: 0 0.1875rem;
82
+ }
83
+
84
+ /* ==========================================================================
85
+ InfoLabel With Icon
86
+ ========================================================================== */
87
+
88
+ .sapTntInfoLabel.sapTntInfoLabelWithIcon {
89
+
90
+ .sapTntInfoLabelInner .sapTntInfoLabelText {
91
+ vertical-align: top;
92
+ }
93
+
94
+ .sapUiIcon {
95
+ padding-right: @_sap_tnt_InfoLabel_IconMargin;
96
+ line-height: @_sap_tnt_InfoLabel_HeightWithoutBorders;
97
+ vertical-align: top;
98
+ font-size: @_sap_tnt_InfoLabel_FontSize;
99
+ }
100
+
101
+ &.sapTntInfoLabelNoText {
102
+ padding: @_sap_tnt_InfoLabel_NarrowPadding;
103
+
104
+ .sapTntInfoLabelInner .sapUiIcon {
105
+ padding-right: 0 !important;
106
+ }
107
+ }
108
+
109
+ &.sapTntInfoLabelDisplayOnly .sapTntInfoLabelInner {
110
+ .sapUiIcon:not(.sapMBtnIcon) { // needs this to override Form styles
111
+ line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
112
+ padding-right: @_sap_tnt_InfoLabel_DisplayIconMargin;
113
+ font-size: @_sap_tnt_InfoLabel_DisplayFontSizeIcon;
114
+ }
115
+ }
116
+ }
117
+
118
+ /* ==========================================================================
119
+ Empty InfoLabel
120
+ ========================================================================== */
121
+
122
+ // It is recommended for the empty InfoLabel to be circle
123
+ .sapTntInfoLabel.sapTntInfoLabelNoText:not(.sapTntInfoLabelWithIcon) {
124
+ &:not(.sapTntInfoLabelDisplayOnly) {
125
+ padding: @_sap_tnt_InfoLabel_PaddingWhenEmpty;
126
+ }
127
+ &.sapTntInfoLabelDisplayOnly {
128
+ padding: 0 @_sap_tnt_InfoLabel_LineHeightDisplayOnly/2;
129
+ }
130
+ };
131
+
132
+ /* ==========================================================================
133
+ InfoLabel in Form
134
+ ========================================================================== */
135
+
136
+ .sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
137
+ margin-top: 0.875rem;
138
+ }
139
+
140
+ /* Compact size */
141
+ .sapUiSizeCompact .sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
142
+ margin-top: 0.5rem;
143
+ }
144
+
145
+
146
+ /* ==========================================================================
147
+ InfoLabel in Table
148
+ ========================================================================== */
149
+
150
+ .sapMListTbl .sapTntInfoLabel.sapTntInfoLabelWithIcon .sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon) {
151
+ font-size: @sapMFontSmallSize;
152
+ }