@openui5/types 1.120.10 → 1.121.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.10
1
+ // For Library Version: 1.121.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -12,6 +12,8 @@ declare module "sap/tnt/library" {
12
12
 
13
13
  /**
14
14
  * Predefined types of `InfoLabel`
15
+ *
16
+ * This enum is part of the 'sap/tnt/library' module export and must be accessed by the property 'RenderMode'.
15
17
  */
16
18
  export enum RenderMode {
17
19
  /**
@@ -25,6 +27,197 @@ declare module "sap/tnt/library" {
25
27
  }
26
28
  }
27
29
 
30
+ declare module "sap/tnt/IllustratedMessageType" {
31
+ /**
32
+ * Available TNT `Illustration` types for the {@link sap.m.IllustratedMessage} control.
33
+ *
34
+ * @since 1.121
35
+ */
36
+ enum IllustratedMessageType {
37
+ /**
38
+ * "Avatar" illustration type.
39
+ */
40
+ Avatar = "tnt-Avatar",
41
+ /**
42
+ * "Calculator" illustration type.
43
+ */
44
+ Calculator = "tnt-Calculator",
45
+ /**
46
+ * "ChartArea" illustration type.
47
+ */
48
+ ChartArea = "tnt-ChartArea",
49
+ /**
50
+ * "ChartArea2" illustration type.
51
+ */
52
+ ChartArea2 = "tnt-ChartArea2",
53
+ /**
54
+ * "ChartBar" illustration type.
55
+ */
56
+ ChartBar = "tnt-ChartBar",
57
+ /**
58
+ * "ChartBPMNFlow" illustration type.
59
+ */
60
+ ChartBPMNFlow = "tnt-ChartBPMNFlow",
61
+ /**
62
+ * "ChartBullet" illustration type.
63
+ */
64
+ ChartBullet = "tnt-ChartBullet",
65
+ /**
66
+ * "ChartDoughnut" illustration type.
67
+ */
68
+ ChartDoughnut = "tnt-ChartDoughnut",
69
+ /**
70
+ * "ChartFlow" illustration type.
71
+ */
72
+ ChartFlow = "tnt-ChartFlow",
73
+ /**
74
+ * "ChartGantt" illustration type.
75
+ */
76
+ ChartGantt = "tnt-ChartGantt",
77
+ /**
78
+ * "ChartOrg" illustration type.
79
+ */
80
+ ChartOrg = "tnt-ChartOrg",
81
+ /**
82
+ * "ChartPie" illustration type.
83
+ */
84
+ ChartPie = "tnt-ChartPie",
85
+ /**
86
+ * "CodePlaceholder" illustration type.
87
+ */
88
+ CodePlaceholder = "tnt-CodePlaceholder",
89
+ /**
90
+ * "Company" illustration type.
91
+ */
92
+ Company = "tnt-Company",
93
+ /**
94
+ * "Compass" illustration type.
95
+ */
96
+ Compass = "tnt-Compass",
97
+ /**
98
+ * "Components" illustration type.
99
+ */
100
+ Components = "tnt-Components",
101
+ /**
102
+ * "Dialog" illustration type.
103
+ */
104
+ Dialog = "tnt-Dialog",
105
+ /**
106
+ * "ExternalLink" illustration type.
107
+ */
108
+ ExternalLink = "tnt-ExternalLink",
109
+ /**
110
+ * "FaceID" illustration type.
111
+ */
112
+ FaceID = "tnt-FaceID",
113
+ /**
114
+ * "Fingerprint" illustration type.
115
+ */
116
+ Fingerprint = "tnt-Fingerprint",
117
+ /**
118
+ * "Handshake" illustration type.
119
+ */
120
+ Handshake = "tnt-Handshake",
121
+ /**
122
+ * "Help" illustration type.
123
+ */
124
+ Help = "tnt-Help",
125
+ /**
126
+ * "Lock" illustration type.
127
+ */
128
+ Lock = "tnt-Lock",
129
+ /**
130
+ * "Mission" illustration type.
131
+ */
132
+ Mission = "tnt-Mission",
133
+ /**
134
+ * "MissionFailed" illustration type.
135
+ */
136
+ MissionFailed = "tnt-MissionFailed",
137
+ /**
138
+ * "NoApplications" illustration type.
139
+ */
140
+ NoApplications = "tnt-NoApplications",
141
+ /**
142
+ * "NoFlows" illustration type.
143
+ */
144
+ NoFlows = "tnt-NoFlows",
145
+ /**
146
+ * "NoUsers" illustration type.
147
+ */
148
+ NoUsers = "tnt-NoUsers",
149
+ /**
150
+ * "Radar" illustration type.
151
+ */
152
+ Radar = "tnt-Radar",
153
+ /**
154
+ * "RoadMap" illustration type.
155
+ */
156
+ RoadMap = "tnt-RoadMap",
157
+ /**
158
+ * "Secrets" illustration type.
159
+ */
160
+ Secrets = "tnt-Secrets",
161
+ /**
162
+ * "Services" illustration type.
163
+ */
164
+ Services = "tnt-Services",
165
+ /**
166
+ * "SessionExpired" illustration type.
167
+ */
168
+ SessionExpired = "tnt-SessionExpired",
169
+ /**
170
+ * "SessionExpiring" illustration type.
171
+ */
172
+ SessionExpiring = "tnt-SessionExpiring",
173
+ /**
174
+ * "Settings" illustration type.
175
+ */
176
+ Settings = "tnt-Settings",
177
+ /**
178
+ * "Success" illustration type.
179
+ */
180
+ Success = "tnt-Success",
181
+ /**
182
+ * "SuccessfulAuth" illustration type.
183
+ */
184
+ SuccessfulAuth = "tnt-SuccessfulAuth",
185
+ /**
186
+ * "Systems" illustration type.
187
+ */
188
+ Systems = "tnt-Systems",
189
+ /**
190
+ * "Teams" illustration type.
191
+ */
192
+ Teams = "tnt-Teams",
193
+ /**
194
+ * "Tools" illustration type.
195
+ */
196
+ Tools = "tnt-Tools",
197
+ /**
198
+ * "Tutorials" illustration type.
199
+ */
200
+ Tutorials = "tnt-Tutorials",
201
+ /**
202
+ * "UnableToLoad" illustration type.
203
+ */
204
+ UnableToLoad = "tnt-UnableToLoad",
205
+ /**
206
+ * "Unlock" illustration type.
207
+ */
208
+ Unlock = "tnt-Unlock",
209
+ /**
210
+ * "UnsuccessfulAuth" illustration type.
211
+ */
212
+ UnsuccessfulAuth = "tnt-UnsuccessfulAuth",
213
+ /**
214
+ * "User2" illustration type.
215
+ */
216
+ User2 = "tnt-User2",
217
+ }
218
+ export default IllustratedMessageType;
219
+ }
220
+
28
221
  declare module "sap/tnt/InfoLabel" {
29
222
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
30
223
 
@@ -432,10 +625,12 @@ declare module "sap/tnt/NavigationList" {
432
625
 
433
626
  import { ID, CSSSize } from "sap/ui/core/library";
434
627
 
435
- import NavigationListItem from "sap/tnt/NavigationListItem";
628
+ import NavigationListItemBase from "sap/tnt/NavigationListItemBase";
436
629
 
437
630
  import ElementMetadata from "sap/ui/core/ElementMetadata";
438
631
 
632
+ import NavigationListItem from "sap/tnt/NavigationListItem";
633
+
439
634
  import {
440
635
  PropertyBindingInfo,
441
636
  AggregationBindingInfo,
@@ -453,7 +648,7 @@ declare module "sap/tnt/NavigationList" {
453
648
  */
454
649
  export default class NavigationList extends Control {
455
650
  /**
456
- * Constructor for a new NavigationList.
651
+ * Constructor for a new `NavigationList`.
457
652
  *
458
653
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
459
654
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -466,7 +661,7 @@ declare module "sap/tnt/NavigationList" {
466
661
  mSettings?: $NavigationListSettings
467
662
  );
468
663
  /**
469
- * Constructor for a new NavigationList.
664
+ * Constructor for a new `NavigationList`.
470
665
  *
471
666
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
472
667
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -548,7 +743,7 @@ declare module "sap/tnt/NavigationList" {
548
743
  /**
549
744
  * The item to add; if empty, nothing is inserted
550
745
  */
551
- oItem: NavigationListItem
746
+ oItem: NavigationListItemBase
552
747
  ): this;
553
748
  /**
554
749
  * Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
@@ -659,7 +854,7 @@ declare module "sap/tnt/NavigationList" {
659
854
  *
660
855
  * The items displayed in the list.
661
856
  */
662
- getItems(): NavigationListItem[];
857
+ getItems(): NavigationListItemBase[];
663
858
  /**
664
859
  * Gets the currently selected `NavigationListItem`.
665
860
  *
@@ -687,8 +882,8 @@ declare module "sap/tnt/NavigationList" {
687
882
  */
688
883
  getWidth(): CSSSize;
689
884
  /**
690
- * Checks for the provided `sap.tnt.NavigationListItem` in the aggregation {@link #getItems items}. and
691
- * returns its index if found or -1 otherwise.
885
+ * Checks for the provided `sap.tnt.NavigationListItemBase` in the aggregation {@link #getItems items}.
886
+ * and returns its index if found or -1 otherwise.
692
887
  *
693
888
  *
694
889
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
@@ -697,7 +892,7 @@ declare module "sap/tnt/NavigationList" {
697
892
  /**
698
893
  * The item whose index is looked for
699
894
  */
700
- oItem: NavigationListItem
895
+ oItem: NavigationListItemBase
701
896
  ): int;
702
897
  /**
703
898
  * Inserts a item into the aggregation {@link #getItems items}.
@@ -709,7 +904,7 @@ declare module "sap/tnt/NavigationList" {
709
904
  /**
710
905
  * The item to insert; if empty, nothing is inserted
711
906
  */
712
- oItem: NavigationListItem,
907
+ oItem: NavigationListItemBase,
713
908
  /**
714
909
  * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
715
910
  * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
@@ -739,7 +934,7 @@ declare module "sap/tnt/NavigationList" {
739
934
  *
740
935
  * @returns An array of the removed elements (might be empty)
741
936
  */
742
- removeAllItems(): NavigationListItem[];
937
+ removeAllItems(): NavigationListItemBase[];
743
938
  /**
744
939
  * Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
745
940
  *
@@ -774,8 +969,8 @@ declare module "sap/tnt/NavigationList" {
774
969
  /**
775
970
  * The item to remove or its index or id
776
971
  */
777
- vItem: int | string | NavigationListItem
778
- ): NavigationListItem | null;
972
+ vItem: int | string | NavigationListItemBase
973
+ ): NavigationListItemBase | null;
779
974
  /**
780
975
  * Sets a new value for property {@link #getExpanded expanded}.
781
976
  *
@@ -804,7 +999,7 @@ declare module "sap/tnt/NavigationList" {
804
999
  /**
805
1000
  * The control to be set as selected
806
1001
  */
807
- selectedItem: string | NavigationListItem
1002
+ oItem: ID | NavigationListItem
808
1003
  ): NavigationList | null;
809
1004
  /**
810
1005
  * Sets the selected item based on a key.
@@ -816,7 +1011,7 @@ declare module "sap/tnt/NavigationList" {
816
1011
  /**
817
1012
  * The key of the item to be selected
818
1013
  */
819
- selectedKey: string
1014
+ sSelectedKey: string
820
1015
  ): this;
821
1016
  /**
822
1017
  * Sets a new value for property {@link #getWidth width}.
@@ -858,8 +1053,8 @@ declare module "sap/tnt/NavigationList" {
858
1053
  * The items displayed in the list.
859
1054
  */
860
1055
  items?:
861
- | NavigationListItem[]
862
- | NavigationListItem
1056
+ | NavigationListItemBase[]
1057
+ | NavigationListItemBase
863
1058
  | AggregationBindingInfo
864
1059
  | `{${string}}`;
865
1060
 
@@ -899,8 +1094,193 @@ declare module "sap/tnt/NavigationList" {
899
1094
  >;
900
1095
  }
901
1096
 
1097
+ declare module "sap/tnt/NavigationListGroup" {
1098
+ import {
1099
+ default as NavigationListItemBase,
1100
+ $NavigationListItemBaseSettings,
1101
+ } from "sap/tnt/NavigationListItemBase";
1102
+
1103
+ import NavigationListItem from "sap/tnt/NavigationListItem";
1104
+
1105
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
1106
+
1107
+ import { AggregationBindingInfo } from "sap/ui/base/ManagedObject";
1108
+
1109
+ /**
1110
+ * The NavigationListGroup represents a group of navigation actions, which can be selected by the user.
1111
+ *
1112
+ * @since 1.121
1113
+ */
1114
+ export default class NavigationListGroup extends NavigationListItemBase {
1115
+ /**
1116
+ * Constructor for a new NavigationListGroup.
1117
+ *
1118
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1119
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1120
+ * of the syntax of the settings object.
1121
+ */
1122
+ constructor(
1123
+ /**
1124
+ * Initial settings for the new control
1125
+ */
1126
+ mSettings?: $NavigationListGroupSettings
1127
+ );
1128
+ /**
1129
+ * Constructor for a new NavigationListGroup.
1130
+ *
1131
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1132
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1133
+ * of the syntax of the settings object.
1134
+ */
1135
+ constructor(
1136
+ /**
1137
+ * ID for the new control, generated automatically if no ID is given
1138
+ */
1139
+ sId?: string,
1140
+ /**
1141
+ * Initial settings for the new control
1142
+ */
1143
+ mSettings?: $NavigationListGroupSettings
1144
+ );
1145
+
1146
+ /**
1147
+ * Creates a new subclass of class sap.tnt.NavigationListGroup with name `sClassName` and enriches it with
1148
+ * the information contained in `oClassInfo`.
1149
+ *
1150
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.tnt.NavigationListItemBase.extend}.
1151
+ *
1152
+ *
1153
+ * @returns Created class / constructor function
1154
+ */
1155
+ static extend<T extends Record<string, unknown>>(
1156
+ /**
1157
+ * Name of the class being created
1158
+ */
1159
+ sClassName: string,
1160
+ /**
1161
+ * Object literal with information about the class
1162
+ */
1163
+ oClassInfo?: sap.ClassInfo<T, NavigationListGroup>,
1164
+ /**
1165
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1166
+ * used by this class
1167
+ */
1168
+ FNMetaImpl?: Function
1169
+ ): Function;
1170
+ /**
1171
+ * Returns a metadata object for class sap.tnt.NavigationListGroup.
1172
+ *
1173
+ *
1174
+ * @returns Metadata object describing this class
1175
+ */
1176
+ static getMetadata(): ElementMetadata;
1177
+ /**
1178
+ * Adds some item to the aggregation {@link #getItems items}.
1179
+ *
1180
+ * @since 1.121.0
1181
+ *
1182
+ * @returns Reference to `this` in order to allow method chaining
1183
+ */
1184
+ addItem(
1185
+ /**
1186
+ * The item to add; if empty, nothing is inserted
1187
+ */
1188
+ oItem: NavigationListItem
1189
+ ): this;
1190
+ /**
1191
+ * Destroys all the items in the aggregation {@link #getItems items}.
1192
+ *
1193
+ * @since 1.121.0
1194
+ *
1195
+ * @returns Reference to `this` in order to allow method chaining
1196
+ */
1197
+ destroyItems(): this;
1198
+ /**
1199
+ * Gets content of aggregation {@link #getItems items}.
1200
+ *
1201
+ * The sub items.
1202
+ *
1203
+ * @since 1.121.0
1204
+ */
1205
+ getItems(): NavigationListItem[];
1206
+ /**
1207
+ * Checks for the provided `sap.tnt.NavigationListItem` in the aggregation {@link #getItems items}. and
1208
+ * returns its index if found or -1 otherwise.
1209
+ *
1210
+ * @since 1.121.0
1211
+ *
1212
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
1213
+ */
1214
+ indexOfItem(
1215
+ /**
1216
+ * The item whose index is looked for
1217
+ */
1218
+ oItem: NavigationListItem
1219
+ ): int;
1220
+ /**
1221
+ * Inserts a item into the aggregation {@link #getItems items}.
1222
+ *
1223
+ * @since 1.121.0
1224
+ *
1225
+ * @returns Reference to `this` in order to allow method chaining
1226
+ */
1227
+ insertItem(
1228
+ /**
1229
+ * The item to insert; if empty, nothing is inserted
1230
+ */
1231
+ oItem: NavigationListItem,
1232
+ /**
1233
+ * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
1234
+ * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
1235
+ * the last position
1236
+ */
1237
+ iIndex: int
1238
+ ): this;
1239
+ /**
1240
+ * Removes all the controls from the aggregation {@link #getItems items}.
1241
+ *
1242
+ * Additionally, it unregisters them from the hosting UIArea.
1243
+ *
1244
+ * @since 1.121.0
1245
+ *
1246
+ * @returns An array of the removed elements (might be empty)
1247
+ */
1248
+ removeAllItems(): NavigationListItem[];
1249
+ /**
1250
+ * Removes a item from the aggregation {@link #getItems items}.
1251
+ *
1252
+ * @since 1.121.0
1253
+ *
1254
+ * @returns The removed item or `null`
1255
+ */
1256
+ removeItem(
1257
+ /**
1258
+ * The item to remove or its index or id
1259
+ */
1260
+ vItem: int | string | NavigationListItem
1261
+ ): NavigationListItem | null;
1262
+ }
1263
+
1264
+ export interface $NavigationListGroupSettings
1265
+ extends $NavigationListItemBaseSettings {
1266
+ /**
1267
+ * The sub items.
1268
+ *
1269
+ * @since 1.121.0
1270
+ */
1271
+ items?:
1272
+ | NavigationListItem[]
1273
+ | NavigationListItem
1274
+ | AggregationBindingInfo
1275
+ | `{${string}}`;
1276
+ }
1277
+ }
1278
+
902
1279
  declare module "sap/tnt/NavigationListItem" {
903
- import { default as Item, $ItemSettings } from "sap/ui/core/Item";
1280
+ import {
1281
+ default as NavigationListItemBase,
1282
+ $NavigationListItemBaseSettings,
1283
+ } from "sap/tnt/NavigationListItemBase";
904
1284
 
905
1285
  import { URI } from "sap/ui/core/library";
906
1286
 
@@ -911,15 +1291,17 @@ declare module "sap/tnt/NavigationListItem" {
911
1291
  AggregationBindingInfo,
912
1292
  } from "sap/ui/base/ManagedObject";
913
1293
 
1294
+ import Item from "sap/ui/core/Item";
1295
+
914
1296
  import Event from "sap/ui/base/Event";
915
1297
 
916
1298
  /**
917
- * The NavigationListItem control represents an action, which can be selected by the user. It can provide
1299
+ * The NavigationListItem represents a navigation action, which can be selected by the user. It can provide
918
1300
  * sub items.
919
1301
  *
920
1302
  * @since 1.34
921
1303
  */
922
- export default class NavigationListItem extends Item {
1304
+ export default class NavigationListItem extends NavigationListItemBase {
923
1305
  /**
924
1306
  * Constructor for a new NavigationListItem.
925
1307
  *
@@ -955,7 +1337,7 @@ declare module "sap/tnt/NavigationListItem" {
955
1337
  * Creates a new subclass of class sap.tnt.NavigationListItem with name `sClassName` and enriches it with
956
1338
  * the information contained in `oClassInfo`.
957
1339
  *
958
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
1340
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.tnt.NavigationListItemBase.extend}.
959
1341
  *
960
1342
  *
961
1343
  * @returns Created class / constructor function
@@ -1079,36 +1461,6 @@ declare module "sap/tnt/NavigationListItem" {
1079
1461
  */
1080
1462
  mParameters?: NavigationListItem$SelectEventParameters
1081
1463
  ): this;
1082
- /**
1083
- * Gets current value of property {@link #getExpanded expanded}.
1084
- *
1085
- * Specifies if the item is expanded.
1086
- *
1087
- * Default value is `true`.
1088
- *
1089
- *
1090
- * @returns Value of property `expanded`
1091
- */
1092
- getExpanded(): boolean;
1093
- /**
1094
- * Returns the DOM Element that should get the focus.
1095
- *
1096
- * @ui5-protected Do not call from applications (only from related classes in the framework)
1097
- *
1098
- * @returns Returns the DOM Element that should get the focus
1099
- */
1100
- getFocusDomRef(): Element;
1101
- /**
1102
- * Gets current value of property {@link #getHasExpander hasExpander}.
1103
- *
1104
- * Specifies if the item has an expander.
1105
- *
1106
- * Default value is `true`.
1107
- *
1108
- *
1109
- * @returns Value of property `hasExpander`
1110
- */
1111
- getHasExpander(): boolean;
1112
1464
  /**
1113
1465
  * Gets current value of property {@link #getHref href}.
1114
1466
  *
@@ -1139,7 +1491,8 @@ declare module "sap/tnt/NavigationListItem" {
1139
1491
  /**
1140
1492
  * Gets current value of property {@link #getSelectable selectable}.
1141
1493
  *
1142
- * Specifies if the item can be selected.
1494
+ * Specifies if the item can be selected. It is recommended to set this property to `false` when the property
1495
+ * `href` is also used.
1143
1496
  *
1144
1497
  * Default value is `true`.
1145
1498
  *
@@ -1227,42 +1580,6 @@ declare module "sap/tnt/NavigationListItem" {
1227
1580
  */
1228
1581
  vItem: int | string | NavigationListItem
1229
1582
  ): NavigationListItem | null;
1230
- /**
1231
- * Sets a new value for property {@link #getExpanded expanded}.
1232
- *
1233
- * Specifies if the item is expanded.
1234
- *
1235
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1236
- *
1237
- * Default value is `true`.
1238
- *
1239
- *
1240
- * @returns Reference to `this` in order to allow method chaining
1241
- */
1242
- setExpanded(
1243
- /**
1244
- * New value for property `expanded`
1245
- */
1246
- bExpanded?: boolean
1247
- ): this;
1248
- /**
1249
- * Sets a new value for property {@link #getHasExpander hasExpander}.
1250
- *
1251
- * Specifies if the item has an expander.
1252
- *
1253
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1254
- *
1255
- * Default value is `true`.
1256
- *
1257
- *
1258
- * @returns Reference to `this` in order to allow method chaining
1259
- */
1260
- setHasExpander(
1261
- /**
1262
- * New value for property `hasExpander`
1263
- */
1264
- bHasExpander?: boolean
1265
- ): this;
1266
1583
  /**
1267
1584
  * Sets a new value for property {@link #getHref href}.
1268
1585
  *
@@ -1301,7 +1618,8 @@ declare module "sap/tnt/NavigationListItem" {
1301
1618
  /**
1302
1619
  * Sets a new value for property {@link #getSelectable selectable}.
1303
1620
  *
1304
- * Specifies if the item can be selected.
1621
+ * Specifies if the item can be selected. It is recommended to set this property to `false` when the property
1622
+ * `href` is also used.
1305
1623
  *
1306
1624
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1307
1625
  *
@@ -1360,22 +1678,13 @@ declare module "sap/tnt/NavigationListItem" {
1360
1678
  ): this;
1361
1679
  }
1362
1680
 
1363
- export interface $NavigationListItemSettings extends $ItemSettings {
1681
+ export interface $NavigationListItemSettings
1682
+ extends $NavigationListItemBaseSettings {
1364
1683
  /**
1365
1684
  * Specifies the icon for the item.
1366
1685
  */
1367
1686
  icon?: URI | PropertyBindingInfo | `{${string}}`;
1368
1687
 
1369
- /**
1370
- * Specifies if the item is expanded.
1371
- */
1372
- expanded?: boolean | PropertyBindingInfo | `{${string}}`;
1373
-
1374
- /**
1375
- * Specifies if the item has an expander.
1376
- */
1377
- hasExpander?: boolean | PropertyBindingInfo | `{${string}}`;
1378
-
1379
1688
  /**
1380
1689
  * Specifies if the item should be shown.
1381
1690
  *
@@ -1384,7 +1693,8 @@ declare module "sap/tnt/NavigationListItem" {
1384
1693
  visible?: boolean | PropertyBindingInfo | `{${string}}`;
1385
1694
 
1386
1695
  /**
1387
- * Specifies if the item can be selected.
1696
+ * Specifies if the item can be selected. It is recommended to set this property to `false` when the property
1697
+ * `href` is also used.
1388
1698
  *
1389
1699
  * @since 1.116
1390
1700
  * @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
@@ -1435,6 +1745,205 @@ declare module "sap/tnt/NavigationListItem" {
1435
1745
  >;
1436
1746
  }
1437
1747
 
1748
+ declare module "sap/tnt/NavigationListItemBase" {
1749
+ import { default as Item, $ItemSettings } from "sap/ui/core/Item";
1750
+
1751
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
1752
+
1753
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
1754
+
1755
+ /**
1756
+ * The `NavigationListItemBase` class represents a base class for the items that are accepted by the `NavigationList`
1757
+ * control.
1758
+ *
1759
+ * @since 1.121
1760
+ */
1761
+ export default abstract class NavigationListItemBase extends Item {
1762
+ /**
1763
+ * Constructor for a new `NavigationListItemBase`.
1764
+ *
1765
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1766
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1767
+ * of the syntax of the settings object.
1768
+ */
1769
+ constructor(
1770
+ /**
1771
+ * Initial settings for the new control
1772
+ */
1773
+ mSettings?: $NavigationListItemBaseSettings
1774
+ );
1775
+ /**
1776
+ * Constructor for a new `NavigationListItemBase`.
1777
+ *
1778
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1779
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1780
+ * of the syntax of the settings object.
1781
+ */
1782
+ constructor(
1783
+ /**
1784
+ * ID for the new control, generated automatically if no ID is given
1785
+ */
1786
+ sId?: string,
1787
+ /**
1788
+ * Initial settings for the new control
1789
+ */
1790
+ mSettings?: $NavigationListItemBaseSettings
1791
+ );
1792
+
1793
+ /**
1794
+ * Creates a new subclass of class sap.tnt.NavigationListItemBase with name `sClassName` and enriches it
1795
+ * with the information contained in `oClassInfo`.
1796
+ *
1797
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
1798
+ *
1799
+ *
1800
+ * @returns Created class / constructor function
1801
+ */
1802
+ static extend<T extends Record<string, unknown>>(
1803
+ /**
1804
+ * Name of the class being created
1805
+ */
1806
+ sClassName: string,
1807
+ /**
1808
+ * Object literal with information about the class
1809
+ */
1810
+ oClassInfo?: sap.ClassInfo<T, NavigationListItemBase>,
1811
+ /**
1812
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1813
+ * used by this class
1814
+ */
1815
+ FNMetaImpl?: Function
1816
+ ): Function;
1817
+ /**
1818
+ * Returns a metadata object for class sap.tnt.NavigationListItemBase.
1819
+ *
1820
+ *
1821
+ * @returns Metadata object describing this class
1822
+ */
1823
+ static getMetadata(): ElementMetadata;
1824
+ /**
1825
+ * Gets current value of property {@link #getExpanded expanded}.
1826
+ *
1827
+ * Specifies if the item is expanded.
1828
+ *
1829
+ * Default value is `true`.
1830
+ *
1831
+ * @since 1.121
1832
+ *
1833
+ * @returns Value of property `expanded`
1834
+ */
1835
+ getExpanded(): boolean;
1836
+ /**
1837
+ * Returns the DOM Element that should get the focus.
1838
+ *
1839
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
1840
+ *
1841
+ * @returns Returns the DOM Element that should get the focus
1842
+ */
1843
+ getFocusDomRef(): Element;
1844
+ /**
1845
+ * Gets current value of property {@link #getHasExpander hasExpander}.
1846
+ *
1847
+ * Specifies if the item is allowed to be expanded or collapsed by the user.
1848
+ *
1849
+ * Default value is `true`.
1850
+ *
1851
+ *
1852
+ * @returns Value of property `hasExpander`
1853
+ */
1854
+ getHasExpander(): boolean;
1855
+ /**
1856
+ * Gets current value of property {@link #getVisible visible}.
1857
+ *
1858
+ * Specifies if the item should be shown.
1859
+ *
1860
+ * Default value is `true`.
1861
+ *
1862
+ * @since 1.121
1863
+ *
1864
+ * @returns Value of property `visible`
1865
+ */
1866
+ getVisible(): boolean;
1867
+ /**
1868
+ * Sets a new value for property {@link #getExpanded expanded}.
1869
+ *
1870
+ * Specifies if the item is expanded.
1871
+ *
1872
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1873
+ *
1874
+ * Default value is `true`.
1875
+ *
1876
+ * @since 1.121
1877
+ *
1878
+ * @returns Reference to `this` in order to allow method chaining
1879
+ */
1880
+ setExpanded(
1881
+ /**
1882
+ * New value for property `expanded`
1883
+ */
1884
+ bExpanded?: boolean
1885
+ ): this;
1886
+ /**
1887
+ * Sets a new value for property {@link #getHasExpander hasExpander}.
1888
+ *
1889
+ * Specifies if the item is allowed to be expanded or collapsed by the user.
1890
+ *
1891
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1892
+ *
1893
+ * Default value is `true`.
1894
+ *
1895
+ *
1896
+ * @returns Reference to `this` in order to allow method chaining
1897
+ */
1898
+ setHasExpander(
1899
+ /**
1900
+ * New value for property `hasExpander`
1901
+ */
1902
+ bHasExpander?: boolean
1903
+ ): this;
1904
+ /**
1905
+ * Sets a new value for property {@link #getVisible visible}.
1906
+ *
1907
+ * Specifies if the item should be shown.
1908
+ *
1909
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1910
+ *
1911
+ * Default value is `true`.
1912
+ *
1913
+ * @since 1.121
1914
+ *
1915
+ * @returns Reference to `this` in order to allow method chaining
1916
+ */
1917
+ setVisible(
1918
+ /**
1919
+ * New value for property `visible`
1920
+ */
1921
+ bVisible?: boolean
1922
+ ): this;
1923
+ }
1924
+
1925
+ export interface $NavigationListItemBaseSettings extends $ItemSettings {
1926
+ /**
1927
+ * Specifies if the item is expanded.
1928
+ *
1929
+ * @since 1.121
1930
+ */
1931
+ expanded?: boolean | PropertyBindingInfo | `{${string}}`;
1932
+
1933
+ /**
1934
+ * Specifies if the item is allowed to be expanded or collapsed by the user.
1935
+ */
1936
+ hasExpander?: boolean | PropertyBindingInfo | `{${string}}`;
1937
+
1938
+ /**
1939
+ * Specifies if the item should be shown.
1940
+ *
1941
+ * @since 1.121
1942
+ */
1943
+ visible?: boolean | PropertyBindingInfo | `{${string}}`;
1944
+ }
1945
+ }
1946
+
1438
1947
  declare module "sap/tnt/SideNavigation" {
1439
1948
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
1440
1949
 
@@ -1456,17 +1965,17 @@ declare module "sap/tnt/SideNavigation" {
1456
1965
  import Event from "sap/ui/base/Event";
1457
1966
 
1458
1967
  /**
1459
- * The SideNavigation control is a container, which consists of flexible and fixed parts on top of each
1968
+ * The `SideNavigation` control is a container, which consists of flexible and fixed parts on top of each
1460
1969
  * other. Responsive Behavior:
1461
1970
  * - The flexible part adapts its size to the fixed one.
1462
1971
  * - The flexible part has a scrollbar when the content is larger than the available space. **Note:**
1463
- * In order for the SideNavigation to stretch properly, its parent layout control should only be the sap.tnt.ToolPage.
1972
+ * In order for the `SideNavigation` to stretch properly, its parent layout control should only be the `sap.tnt.ToolPage`.
1464
1973
  *
1465
1974
  * @since 1.34
1466
1975
  */
1467
1976
  export default class SideNavigation extends Control {
1468
1977
  /**
1469
- * Constructor for a new SideNavigation.
1978
+ * Constructor for a new `SideNavigation`.
1470
1979
  *
1471
1980
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1472
1981
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -1479,7 +1988,7 @@ declare module "sap/tnt/SideNavigation" {
1479
1988
  mSettings?: $SideNavigationSettings
1480
1989
  );
1481
1990
  /**
1482
- * Constructor for a new SideNavigation.
1991
+ * Constructor for a new `SideNavigation`.
1483
1992
  *
1484
1993
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
1485
1994
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -1645,7 +2154,7 @@ declare module "sap/tnt/SideNavigation" {
1645
2154
  /**
1646
2155
  * Gets current value of property {@link #getAriaLabel ariaLabel}.
1647
2156
  *
1648
- * Specifies an optional aria-label that can be used by the screen readers.
2157
+ * Specifies an optional `aria-label` that can be used by the screen readers.
1649
2158
  *
1650
2159
  * @since 1.98
1651
2160
  *
@@ -1689,7 +2198,7 @@ declare module "sap/tnt/SideNavigation" {
1689
2198
  *
1690
2199
  * @since 1.52.0
1691
2200
  */
1692
- getSelectedItem(): ID;
2201
+ getSelectedItem(): ID | null;
1693
2202
  /**
1694
2203
  * Gets current value of property {@link #getSelectedKey selectedKey}.
1695
2204
  *
@@ -1716,7 +2225,7 @@ declare module "sap/tnt/SideNavigation" {
1716
2225
  /**
1717
2226
  * Sets a new value for property {@link #getAriaLabel ariaLabel}.
1718
2227
  *
1719
- * Specifies an optional aria-label that can be used by the screen readers.
2228
+ * Specifies an optional `aria-label` that can be used by the screen readers.
1720
2229
  *
1721
2230
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1722
2231
  *
@@ -1740,7 +2249,7 @@ declare module "sap/tnt/SideNavigation" {
1740
2249
  /**
1741
2250
  * Indication if the SideNavigation is expanded.
1742
2251
  */
1743
- isExpanded: boolean
2252
+ bExpanded: boolean
1744
2253
  ): this;
1745
2254
  /**
1746
2255
  * Sets the aggregated {@link #getFixedItem fixedItem}.
@@ -1780,7 +2289,7 @@ declare module "sap/tnt/SideNavigation" {
1780
2289
  oItem: NavigationList
1781
2290
  ): this;
1782
2291
  /**
1783
- * Sets the association for selectedItem
2292
+ * Sets the association for `selectedItem`.
1784
2293
  *
1785
2294
  *
1786
2295
  * @returns The `selectedItem` association
@@ -1789,7 +2298,7 @@ declare module "sap/tnt/SideNavigation" {
1789
2298
  /**
1790
2299
  * The control to be set as selected
1791
2300
  */
1792
- selectedItem: string | NavigationListItem
2301
+ vSelectedItem: ID | NavigationListItem
1793
2302
  ): SideNavigation | null;
1794
2303
  /**
1795
2304
  * Sets the selected item based on a key.
@@ -1801,7 +2310,7 @@ declare module "sap/tnt/SideNavigation" {
1801
2310
  /**
1802
2311
  * The key of the item to be selected
1803
2312
  */
1804
- selectedKey: string
2313
+ sSelectedKey: string
1805
2314
  ): this;
1806
2315
  /**
1807
2316
  * Sets a new value for property {@link #getWidth width}.
@@ -1856,7 +2365,7 @@ declare module "sap/tnt/SideNavigation" {
1856
2365
  selectedKey?: string | PropertyBindingInfo;
1857
2366
 
1858
2367
  /**
1859
- * Specifies an optional aria-label that can be used by the screen readers.
2368
+ * Specifies an optional `aria-label` that can be used by the screen readers.
1860
2369
  *
1861
2370
  * @since 1.98
1862
2371
  */
@@ -2469,14 +2978,20 @@ declare module "sap/tnt/ToolPage" {
2469
2978
 
2470
2979
  declare namespace sap {
2471
2980
  interface IUI5DefineDependencyNames {
2981
+ "sap/tnt/IllustratedMessageType": undefined;
2982
+
2472
2983
  "sap/tnt/InfoLabel": undefined;
2473
2984
 
2474
2985
  "sap/tnt/library": undefined;
2475
2986
 
2476
2987
  "sap/tnt/NavigationList": undefined;
2477
2988
 
2989
+ "sap/tnt/NavigationListGroup": undefined;
2990
+
2478
2991
  "sap/tnt/NavigationListItem": undefined;
2479
2992
 
2993
+ "sap/tnt/NavigationListItemBase": undefined;
2994
+
2480
2995
  "sap/tnt/SideNavigation": undefined;
2481
2996
 
2482
2997
  "sap/tnt/ToolHeader": undefined;