@sapui5/ts-types 1.101.0 → 1.102.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.
Files changed (62) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +89 -1
  4. package/types/sap.ca.ui.d.ts +1747 -124
  5. package/types/sap.chart.d.ts +375 -29
  6. package/types/sap.collaboration.d.ts +320 -40
  7. package/types/sap.esh.search.ui.d.ts +1 -669
  8. package/types/sap.f.d.ts +1785 -100
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +70 -2
  11. package/types/sap.fe.macros.d.ts +78 -34
  12. package/types/sap.fe.navigation.d.ts +144 -4
  13. package/types/sap.fe.templates.d.ts +26 -5
  14. package/types/sap.fe.test.d.ts +497 -2
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +7203 -502
  17. package/types/sap.insights.d.ts +80 -0
  18. package/types/sap.landvisz.d.ts +1015 -66
  19. package/types/sap.m.d.ts +16686 -1152
  20. package/types/sap.makit.d.ts +575 -54
  21. package/types/sap.me.d.ts +578 -51
  22. package/types/sap.ndc.d.ts +63 -5
  23. package/types/sap.ovp.d.ts +5 -6
  24. package/types/sap.rules.ui.d.ts +171 -15
  25. package/types/sap.sac.df.d.ts +1430 -215
  26. package/types/sap.sac.grid.d.ts +91 -8
  27. package/types/sap.suite.ui.commons.d.ts +5515 -396
  28. package/types/sap.suite.ui.generic.template.d.ts +157 -69
  29. package/types/sap.suite.ui.microchart.d.ts +1801 -160
  30. package/types/sap.tnt.d.ts +279 -19
  31. package/types/sap.ui.codeeditor.d.ts +89 -8
  32. package/types/sap.ui.commons.d.ts +3784 -313
  33. package/types/sap.ui.comp.d.ts +3853 -276
  34. package/types/sap.ui.core.d.ts +6248 -313
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +61 -6
  37. package/types/sap.ui.fl.d.ts +1 -1
  38. package/types/sap.ui.generic.app.d.ts +238 -64
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +316 -23
  41. package/types/sap.ui.layout.d.ts +1851 -199
  42. package/types/sap.ui.mdc.d.ts +1 -1
  43. package/types/sap.ui.richtexteditor.d.ts +340 -49
  44. package/types/sap.ui.rta.d.ts +5 -1
  45. package/types/sap.ui.suite.d.ts +87 -6
  46. package/types/sap.ui.support.d.ts +30 -1
  47. package/types/sap.ui.table.d.ts +1050 -80
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +2704 -202
  50. package/types/sap.ui.ux3.d.ts +2379 -181
  51. package/types/sap.ui.vbm.d.ts +2002 -197
  52. package/types/sap.ui.vk.d.ts +5353 -310
  53. package/types/sap.ui.vtm.d.ts +1130 -41
  54. package/types/sap.uiext.inbox.d.ts +423 -22
  55. package/types/sap.ushell.d.ts +1488 -49
  56. package/types/sap.ushell_abap.d.ts +4 -1
  57. package/types/sap.uxap.d.ts +902 -87
  58. package/types/sap.viz.d.ts +5514 -380
  59. package/types/sap.webanalytics.core.d.ts +1 -1
  60. package/types/sap.zen.commons.d.ts +165 -20
  61. package/types/sap.zen.crosstab.d.ts +217 -21
  62. package/types/sap.zen.dsh.d.ts +227 -14
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.101.0
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -41,6 +41,8 @@ declare namespace sap {
41
41
  * and enriches it with the information contained in `oClassInfo`.
42
42
  *
43
43
  * `oClassInfo` might contain the same kind of information as described in {@link sap.fe.navigation.NavError.extend}.
44
+ *
45
+ * @returns Created class / constructor function
44
46
  */
45
47
  static extend<T extends Record<string, unknown>>(
46
48
  /**
@@ -62,12 +64,16 @@ declare namespace sap {
62
64
  ): Function;
63
65
  /**
64
66
  * Returns a metadata object for class sap.ui.generic.app.navigation.service.NavError.
67
+ *
68
+ * @returns Metadata object describing this class
65
69
  */
66
70
  static getMetadata(): sap.ui.base.Metadata;
67
71
  /**
68
72
  * @deprecated (since 1.83.0)
69
73
  *
70
74
  * Returns the error code with which the instance has been created.
75
+ *
76
+ * @returns The error code of the error
71
77
  */
72
78
  getErrorCode(): string;
73
79
  }
@@ -113,6 +119,8 @@ declare namespace sap {
113
119
  * The method creates a context url based on provided data. This context url can either be used as {@link
114
120
  * sap.ui.generic.app.navigation.service.NavigationHandler#setParameterContextUrl ParameterContextUrl} or
115
121
  * {@link sap.ui.generic.app.navigation.service.NavigationHandler#setFilterContextUrl FilterContextUrl}
122
+ *
123
+ * @returns context url for the given entities
116
124
  */
117
125
  static constructContextUrl(
118
126
  /**
@@ -129,6 +137,8 @@ declare namespace sap {
129
137
  * and enriches it with the information contained in `oClassInfo`.
130
138
  *
131
139
  * `oClassInfo` might contain the same kind of information as described in {@link sap.fe.navigation.NavigationHandler.extend}.
140
+ *
141
+ * @returns Created class / constructor function
132
142
  */
133
143
  static extend<T extends Record<string, unknown>>(
134
144
  /**
@@ -150,6 +160,8 @@ declare namespace sap {
150
160
  ): Function;
151
161
  /**
152
162
  * Returns a metadata object for class sap.ui.generic.app.navigation.service.NavigationHandler.
163
+ *
164
+ * @returns Metadata object describing this class
153
165
  */
154
166
  static getMetadata(): sap.ui.base.Metadata;
155
167
  /**
@@ -161,6 +173,8 @@ declare namespace sap {
161
173
  * - `sap-system`
162
174
  * - `sap-ushell-defaultedParameterNames`
163
175
  * - `"hcpApplicationId"`
176
+ *
177
+ * @returns Containing the technical parameters.
164
178
  */
165
179
  static getTechnicalParameters(): any[];
166
180
  /**
@@ -171,6 +185,8 @@ declare namespace sap {
171
185
  * variant does not contain any parameters. All parameters are merged into select options. The output of
172
186
  * this function, converted to a JSON string, can be used for the {@link #.navigate NavigationHandler.navigate}
173
187
  * method.
188
+ *
189
+ * @returns Instance of {@link sap.ui.generic.app.navigation.service.SelectionVariant}
174
190
  */
175
191
  static mixAttributesAndSelectionVariant(
176
192
  /**
@@ -752,6 +768,34 @@ declare namespace sap {
752
768
  * state is returned in the resolved Promise. Otherwise startup parameters will be merged into the app state
753
769
  * provided by cross app navigation, and a combined app state will be returned. The conflict resolution
754
770
  * can be influenced with sParamHandlingMode defined in the constructor.
771
+ *
772
+ * @returns A Promise object to monitor when all the actions of the function have been executed. If the
773
+ * execution is successful, the extracted app state, the startup parameters, and the type of navigation
774
+ * are returned, see also the example above. The app state is an object that contains the following information:
775
+ *
776
+ * - `oAppData.oSelectionVariant`: An instance of {@link sap.ui.generic.app.navigation.service.SelectionVariant}
777
+ * containing only parameters/select options that are related to navigation
778
+ * - `oAppData.selectionVariant`: The navigation-related selection variant as a JSON-formatted string
779
+ *
780
+ * - `oAppData.oDefaultedSelectionVariant`: An instance of {@link sap.ui.generic.app.navigation.service.SelectionVariant}
781
+ * containing only the parameters/select options that are set by user default data
782
+ * - `oAppData.bNavSelVarHasDefaultsOnly`: A Boolean flag that indicates whether only defaulted parameters
783
+ * and no navigation parameters are present.
784
+ * **Note:** If no navigation parameters are available, `bNavSelVarHasDefaultsOnly` is set to `true`, even
785
+ * though parameters without default might be available as well. If the navigation-related selection
786
+ * variant is empty, it is replaced by a copy of the defaulted selection variant.
787
+ * The navigation type is an enumeration type of type {@link sap.ui.generic.app.navigation.service.NavType}
788
+ * (possible values are initial, URLParams, xAppState, and iAppState).
789
+ * **Note:** If the navigation type is {@link sap.ui.generic.app.navigation.service.NavType.iAppState}
790
+ * oAppData has two additional properties
791
+ * - `oAppData.tableVariantId`
792
+ * - `oAppData.customData` which return the inner app data as stored in {@link #.navigate navigate}
793
+ * or {@link #.storeInnerAppState storeInnerAppState}. `oAppData.oDefaultedSelectionVariant` is an empty
794
+ * selection variant and `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
795
+ * **Note:** If the navigation type is {@link sap.ui.generic.app.navigation.service.NavType.initial} oAppData
796
+ * is an empty object!
797
+ * If an error occurs, an error object of type {@link sap.ui.generic.app.navigation.service.NavError},
798
+ * URL parameters (if available) and the type of navigation are returned.
755
799
  */
756
800
  static parseNavigation(): object;
757
801
  /**
@@ -773,6 +817,10 @@ declare namespace sap {
773
817
  * popover as semantic attributes.
774
818
  * - The method `oTableEventParameters.open()` is called. Note that this does not really open the popover,
775
819
  * but the SmartLink control proceeds with firing the event `navigationTargetsObtained`.
820
+ *
821
+ * @returns A Promise object to monitor when all actions of the function have been executed; if the execution
822
+ * is successful, the modified oTableEventParameters is returned; if an error occurs, an error object of
823
+ * type {@link sap.ui.generic.app.navigation.service.NavError} is returned
776
824
  */
777
825
  static processBeforeSmartLinkPopoverOpens(
778
826
  /**
@@ -879,6 +927,10 @@ declare namespace sap {
879
927
  * @deprecated (since 1.83.0)
880
928
  *
881
929
  * Changes the URL according to the current app state and stores the app state for later retrieval.
930
+ *
931
+ * @returns A Promise object to monitor when all the actions of the function have been executed; if the
932
+ * execution is successful, the app state key is returned; if an error occurs, an object of type {@link
933
+ * sap.ui.generic.app.navigation.service.NavError} is returned
882
934
  */
883
935
  static storeInnerAppState(
884
936
  /**
@@ -921,6 +973,9 @@ declare namespace sap {
921
973
  * @deprecated (since 1.83.0)
922
974
  *
923
975
  * Changes the URL according to the current app state and stores the app state for later retrieval.
976
+ *
977
+ * @returns An object containing the appStateId and a promise object to monitor when all the actions of
978
+ * the function have been executed; Please note that the appStateKey may be undefined or empty.
924
979
  */
925
980
  static storeInnerAppStateWithImmediateReturn(
926
981
  /**
@@ -983,6 +1038,8 @@ declare namespace sap {
983
1038
  * and enriches it with the information contained in `oClassInfo`.
984
1039
  *
985
1040
  * `oClassInfo` might contain the same kind of information as described in {@link sap.fe.navigation.PresentationVariant.extend}.
1041
+ *
1042
+ * @returns Created class / constructor function
986
1043
  */
987
1044
  static extend<T extends Record<string, unknown>>(
988
1045
  /**
@@ -1006,46 +1063,62 @@ declare namespace sap {
1006
1063
  * @deprecated (since 1.83.0)
1007
1064
  *
1008
1065
  * Gets the chart visualization property.
1066
+ *
1067
+ * @returns mProperties to be used for the chart visualization.
1009
1068
  */
1010
1069
  static getChartVisualization(): Record<string, any>;
1011
1070
  /**
1012
1071
  * @deprecated (since 1.83.0)
1013
1072
  *
1014
1073
  * Gets the current context URL intended for the query.
1074
+ *
1075
+ * @returns The current context URL for the query
1015
1076
  */
1016
1077
  static getContextUrl(): string;
1017
1078
  /**
1018
1079
  * @deprecated (since 1.83.0)
1019
1080
  *
1020
1081
  * Returns the identification of the selection variant.
1082
+ *
1083
+ * @returns The identification of the selection variant as made available during construction
1021
1084
  */
1022
1085
  static getID(): string;
1023
1086
  /**
1024
1087
  * Returns a metadata object for class sap.ui.generic.app.navigation.service.PresentationVariant.
1088
+ *
1089
+ * @returns Metadata object describing this class
1025
1090
  */
1026
1091
  static getMetadata(): sap.ui.base.Metadata;
1027
1092
  /**
1028
1093
  * @deprecated (since 1.83.0)
1029
1094
  *
1030
1095
  * Gets the more trivial properties. Basically all properties with the exception of the Visualization.
1096
+ *
1097
+ * @returns The current properties.
1031
1098
  */
1032
1099
  static getProperties(): Record<string, any>;
1033
1100
  /**
1034
1101
  * @deprecated (since 1.83.0)
1035
1102
  *
1036
1103
  * Gets the table visualization property.
1104
+ *
1105
+ * @returns mProperties to be used for the table visualization.
1037
1106
  */
1038
1107
  static getTableVisualization(): Record<string, any>;
1039
1108
  /**
1040
1109
  * @deprecated (since 1.83.0)
1041
1110
  *
1042
1111
  * Returns the current text / description of this selection variant.
1112
+ *
1113
+ * @returns the current description of this selection variant.
1043
1114
  */
1044
1115
  static getText(): string;
1045
1116
  /**
1046
1117
  * @deprecated (since 1.83.0)
1047
1118
  *
1048
1119
  * Returns `true` if the presentation variant does not contain any properties. nor ranges.
1120
+ *
1121
+ * @returns If set to `true` there are no current properties set; `false` otherwise.
1049
1122
  */
1050
1123
  static isEmpty(): boolean;
1051
1124
  /**
@@ -1118,12 +1191,16 @@ declare namespace sap {
1118
1191
  * @deprecated (since 1.83.0)
1119
1192
  *
1120
1193
  * Returns the external representation of the selection variant as JSON object.
1194
+ *
1195
+ * @returns The external representation of this instance as a JSON object
1121
1196
  */
1122
1197
  static toJSONObject(): object;
1123
1198
  /**
1124
1199
  * @deprecated (since 1.83.0)
1125
1200
  *
1126
1201
  * Serializes this instance into a JSON-formatted string.
1202
+ *
1203
+ * @returns The JSON-formatted representation of this instance in stringified format
1127
1204
  */
1128
1205
  static toJSONString(): string;
1129
1206
  }
@@ -1148,6 +1225,8 @@ declare namespace sap {
1148
1225
  *
1149
1226
  * Sets the value of a parameter called `sName` to the new value `sValue`. If the parameter has already
1150
1227
  * been set before, its value is overwritten.
1228
+ *
1229
+ * @returns This instance to allow method chaining
1151
1230
  */
1152
1231
  static addParameter(
1153
1232
  /**
@@ -1163,6 +1242,8 @@ declare namespace sap {
1163
1242
  * @deprecated (since 1.83.0)
1164
1243
  *
1165
1244
  * Adds a new range to the list of select options for a given parameter.
1245
+ *
1246
+ * @returns This instance to allow method chaining.
1166
1247
  */
1167
1248
  static addSelectOption(
1168
1249
  /**
@@ -1195,6 +1276,8 @@ declare namespace sap {
1195
1276
  * and enriches it with the information contained in `oClassInfo`.
1196
1277
  *
1197
1278
  * `oClassInfo` might contain the same kind of information as described in {@link sap.fe.navigation.SelectionVariant.extend}.
1279
+ *
1280
+ * @returns Created class / constructor function
1198
1281
  */
1199
1282
  static extend<T extends Record<string, unknown>>(
1200
1283
  /**
@@ -1218,16 +1301,22 @@ declare namespace sap {
1218
1301
  * @deprecated (since 1.83.0)
1219
1302
  *
1220
1303
  * Gets the current context URL intended for the filters.
1304
+ *
1305
+ * @returns The current context URL for the filters
1221
1306
  */
1222
1307
  static getFilterContextUrl(): string;
1223
1308
  /**
1224
1309
  * @deprecated (since 1.83.0)
1225
1310
  *
1226
1311
  * Returns the identification of the selection variant.
1312
+ *
1313
+ * @returns The identification of the selection variant as made available during construction
1227
1314
  */
1228
1315
  static getID(): string;
1229
1316
  /**
1230
1317
  * Returns a metadata object for class sap.ui.generic.app.navigation.service.SelectionVariant.
1318
+ *
1319
+ * @returns Metadata object describing this class
1231
1320
  */
1232
1321
  static getMetadata(): sap.ui.base.Metadata;
1233
1322
  /**
@@ -1235,6 +1324,8 @@ declare namespace sap {
1235
1324
  *
1236
1325
  * Returns the value of the parameter called `sName` if it has been set. If the parameter has never been
1237
1326
  * set or has been removed, `undefined` is returned.
1327
+ *
1328
+ * @returns The value of parameter `sName`; returning the value `null` not possible
1238
1329
  */
1239
1330
  static getParameter(
1240
1331
  /**
@@ -1246,24 +1337,39 @@ declare namespace sap {
1246
1337
  * @deprecated (since 1.83.0)
1247
1338
  *
1248
1339
  * Gets the current context URL intended for the parameters.
1340
+ *
1341
+ * @returns The current context URL for the parameters
1249
1342
  */
1250
1343
  static getParameterContextUrl(): string;
1251
1344
  /**
1252
1345
  * @deprecated (since 1.83.0)
1253
1346
  *
1254
1347
  * Returns the set of parameter names available in this selection variant
1348
+ *
1349
+ * @returns the list of parameter names which are valid
1255
1350
  */
1256
1351
  static getParameterNames(): any[];
1257
1352
  /**
1258
1353
  * @deprecated (since 1.83.0)
1259
1354
  *
1260
1355
  * Returns the names of the parameter and select option properties available for this instance.
1356
+ *
1357
+ * @returns The list of parameter and select option property names available for this instance
1261
1358
  */
1262
1359
  static getPropertyNames(): any[];
1263
1360
  /**
1264
1361
  * @deprecated (since 1.83.0)
1265
1362
  *
1266
1363
  * Returns the set of select options/ranges available for a given property name.
1364
+ *
1365
+ * @returns If `sPropertyName` is an invalid name of a property or no range exists, `undefined` is returned;
1366
+ * otherwise, an immutable array of ranges is returned. Each entry of the array is an object with the following
1367
+ * properties:
1368
+ * - `Sign`: The sign of the range
1369
+ * - `Option`: The option of the range
1370
+ * - `Low`: The low value of the range; returning value `null` is not possible
1371
+ * - `High`: The high value of the range; if this value is not necessary, `null` is used For further
1372
+ * information about the meaning of the attributes, refer to method `addSelectOption`.
1267
1373
  */
1268
1374
  static getSelectOption(
1269
1375
  /**
@@ -1275,12 +1381,16 @@ declare namespace sap {
1275
1381
  * @deprecated (since 1.83.0)
1276
1382
  *
1277
1383
  * Returns the names of the properties available for this instance.
1384
+ *
1385
+ * @returns The list of property names available for this instance
1278
1386
  */
1279
1387
  static getSelectOptionsPropertyNames(): any[];
1280
1388
  /**
1281
1389
  * @deprecated (since 1.83.0)
1282
1390
  *
1283
1391
  * Returns the current text / description of this selection variant.
1392
+ *
1393
+ * @returns the current description of this selection variant.
1284
1394
  */
1285
1395
  static getText(): string;
1286
1396
  /**
@@ -1291,6 +1401,15 @@ declare namespace sap {
1291
1401
  * `sName`, is made. If the latter succeeds, the single value is converted to fit into an array of selections
1292
1402
  * to make it type compatible with ranges. This array is then returned. If neither a select option
1293
1403
  * nor a parameter could be found, `undefined` is returned.
1404
+ *
1405
+ * @returns The ranges in the select options for the specified property or a range-converted representation
1406
+ * of a parameter is returned. If both lookups fail, `undefined` is returned. The returned ranges
1407
+ * have the format:
1408
+ * - `Sign`: The sign of the range
1409
+ * - `Option`: The option of the range
1410
+ * - `Low`: The low value of the range; returning the value `null` is not possible
1411
+ * - `High`: The high value of the range; if this value is not necessary, `null` (but does exist)
1412
+ * For further information on the meaning of the attributes, refer to method {@link #.addSelectOption addSelectOption}.
1294
1413
  */
1295
1414
  static getValue(
1296
1415
  /**
@@ -1302,12 +1421,17 @@ declare namespace sap {
1302
1421
  * @deprecated (since 1.83.0)
1303
1422
  *
1304
1423
  * Returns `true` if the selection variant does neither contain parameters nor ranges.
1424
+ *
1425
+ * @returns If set to `true` there are no parameters and no select options available in the selection variant;
1426
+ * `false` otherwise.
1305
1427
  */
1306
1428
  static isEmpty(): boolean;
1307
1429
  /**
1308
1430
  * @deprecated (since 1.83.0)
1309
1431
  *
1310
1432
  * Adds a set of select options to the list of select options for a given parameter.
1433
+ *
1434
+ * @returns This instance to allow method chaining
1311
1435
  */
1312
1436
  static massAddSelectOption(
1313
1437
  /**
@@ -1323,6 +1447,8 @@ declare namespace sap {
1323
1447
  * @deprecated (since 1.83.0)
1324
1448
  *
1325
1449
  * Removes a parameter called `sName` from the selection variant.
1450
+ *
1451
+ * @returns This instance to allow method chaining
1326
1452
  */
1327
1453
  static removeParameter(
1328
1454
  /**
@@ -1334,6 +1460,8 @@ declare namespace sap {
1334
1460
  * @deprecated (since 1.83.0)
1335
1461
  *
1336
1462
  * Removes a select option called `sName` from the selection variant.
1463
+ *
1464
+ * @returns This instance to allow method chaining.
1337
1465
  */
1338
1466
  static removeSelectOption(
1339
1467
  /**
@@ -1347,6 +1475,8 @@ declare namespace sap {
1347
1475
  * Renames a parameter called `sNameOld` to `sNameNew`. If a parameter or a select option with the name
1348
1476
  * `sNameNew` already exist, an error is thrown. If a parameter with the name `sNameOld` does not exist,
1349
1477
  * nothing is changed.
1478
+ *
1479
+ * @returns This instance to allow method chaining
1350
1480
  */
1351
1481
  static renameParameter(
1352
1482
  /**
@@ -1364,6 +1494,8 @@ declare namespace sap {
1364
1494
  * Renames a select option called `sNameOld` to `sNameNew`. If a select option or a parameter with the name
1365
1495
  * `sNameNew` already exist, an error is thrown. If a select option with the name `sNameOld` does not exist,
1366
1496
  * nothing is changed.
1497
+ *
1498
+ * @returns This instance to allow method chaining
1367
1499
  */
1368
1500
  static renameSelectOption(
1369
1501
  /**
@@ -1423,62 +1555,26 @@ declare namespace sap {
1423
1555
  * @deprecated (since 1.83.0)
1424
1556
  *
1425
1557
  * Returns the external representation of the selection variant as JSON object.
1558
+ *
1559
+ * @returns The external representation of this instance as a JSON object
1426
1560
  */
1427
1561
  static toJSONObject(): object;
1428
1562
  /**
1429
1563
  * @deprecated (since 1.83.0)
1430
1564
  *
1431
1565
  * Serializes this instance into a JSON-formatted string
1566
+ *
1567
+ * @returns The JSON-formatted representation of this instance in stringified format
1432
1568
  */
1433
1569
  static toJSONString(): string;
1434
1570
  }
1435
- /**
1436
- * @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.NavType} instead.
1437
- *
1438
- * A static enumeration type which indicates the type of inbound navigation
1439
- */
1440
- enum NavType {
1441
- /**
1442
- * Back navigation with sap-iapp-state parameter
1443
- */
1444
- iAppState = "iAppState",
1445
- /**
1446
- * Initial startup without any navigation or default parameters
1447
- */
1448
- initial = "initial",
1449
- /**
1450
- * Basic cross-app navigation with URL parameters only (without sap-xapp-state) or initial start with default
1451
- * parameters
1452
- */
1453
- URLParams = "URLParams",
1454
- /**
1455
- * Cross-app navigation with sap-xapp-state parameter (and URL parameters), defaulted parameters may be
1456
- * added
1457
- */
1458
- xAppState = "xAppState",
1459
- }
1460
1571
  /**
1461
1572
  * @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.ParamHandlingMode} instead.
1462
1573
  *
1463
1574
  * A static enumeration type which indicates the conflict resolution method when merging URL parameters
1464
1575
  * into select options
1465
1576
  */
1466
- enum ParamHandlingMode {
1467
- /**
1468
- * The conflict resolution adds URL parameters to the SelectionVariant
1469
- */
1470
- InsertInSelOpt = "undefined",
1471
- /**
1472
- * The conflict resolution favors the SelectionVariant over URL parameters
1473
- */
1474
- SelVarWins = "undefined",
1475
- /**
1476
- * The conflict resolution favors the URL parameters over the SelectionVariant. Caution: In case of cross-app
1477
- * navigation a navigation parameter value from the source app is overwritten by a default, if a default
1478
- * is maintained in the launchpad designer for this parameter in the target app!
1479
- */
1480
- URLParamWins = "undefined",
1481
- }
1577
+ enum ParamHandlingMode {}
1482
1578
  /**
1483
1579
  * @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SuppressionBehavior} instead.
1484
1580
  *
@@ -1488,28 +1584,7 @@ declare namespace sap {
1488
1584
  * mixAttributesAndSelectionVariant} of the {@link sap.ui.generic.app.navigation.service.NavigationHandler
1489
1585
  * NavigationHandler}
1490
1586
  */
1491
- enum SuppressionBehavior {
1492
- /**
1493
- * Semantic attributes with an empty string are ignored, the remaining attributes are mixed in to the selection
1494
- * variant. Warning! Consider the impact on Boolean variable values!
1495
- */
1496
- ignoreEmptyString = "undefined",
1497
- /**
1498
- * Semantic attributes with a `null` value lead to an {@link sap.fin.central.lib.error.Error error} of type
1499
- * NavigationHandler.INVALID_INPUT
1500
- */
1501
- raiseErrorOnNull = "undefined",
1502
- /**
1503
- * Semantic attributes with an `undefined` value lead to an {@link sap.fin.central.lib.error.Error error}
1504
- * of type NavigationHandler.INVALID_INPUT
1505
- */
1506
- raiseErrorOnUndefined = "undefined",
1507
- /**
1508
- * Standard suppression behavior: semantic attributes with a `null` or an `undefined` value are ignored,
1509
- * the remaining attributes are mixed in to the selection variant
1510
- */
1511
- standard = "undefined",
1512
- }
1587
+ enum SuppressionBehavior {}
1513
1588
  }
1514
1589
  }
1515
1590
 
@@ -1541,6 +1616,8 @@ declare namespace sap {
1541
1616
  * and enriches it with the information contained in `oClassInfo`.
1542
1617
  *
1543
1618
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.EventProvider.extend}.
1619
+ *
1620
+ * @returns Created class / constructor function
1544
1621
  */
1545
1622
  static extend<T extends Record<string, unknown>>(
1546
1623
  /**
@@ -1562,6 +1639,8 @@ declare namespace sap {
1562
1639
  ): Function;
1563
1640
  /**
1564
1641
  * Returns a metadata object for class sap.ui.generic.app.transaction.BaseController.
1642
+ *
1643
+ * @returns Metadata object describing this class
1565
1644
  */
1566
1645
  static getMetadata(): sap.ui.base.Metadata;
1567
1646
  /**
@@ -1596,10 +1675,14 @@ declare namespace sap {
1596
1675
  ): void;
1597
1676
  /**
1598
1677
  * Checks for client messages.
1678
+ *
1679
+ * @returns If client-side messages exist a rejected promise is returned, `null` otherwise
1599
1680
  */
1600
1681
  hasClientMessages(): Promise<any>;
1601
1682
  /**
1602
1683
  * Triggers submitting the currently tracked changes to the back-end.
1684
+ *
1685
+ * @returns A `Promise` for asynchronous execution of the submit
1603
1686
  */
1604
1687
  triggerSubmitChanges(
1605
1688
  /**
@@ -1651,6 +1734,8 @@ declare namespace sap {
1651
1734
  * enriches it with the information contained in `oClassInfo`.
1652
1735
  *
1653
1736
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
1737
+ *
1738
+ * @returns Created class / constructor function
1654
1739
  */
1655
1740
  static extend<T extends Record<string, unknown>>(
1656
1741
  /**
@@ -1672,6 +1757,8 @@ declare namespace sap {
1672
1757
  ): Function;
1673
1758
  /**
1674
1759
  * Returns a metadata object for class sap.ui.generic.app.transaction.DraftContext.
1760
+ *
1761
+ * @returns Metadata object describing this class
1675
1762
  */
1676
1763
  static getMetadata(): sap.ui.base.Metadata;
1677
1764
  /**
@@ -1679,6 +1766,8 @@ declare namespace sap {
1679
1766
  *
1680
1767
  * Checks whether an OData property is annotated with UpdateOnChange. The method is used in context of a
1681
1768
  * validation success event.
1769
+ *
1770
+ * @returns `true`, if the property is annotated with UpdateOnChange, `false` otherwise
1682
1771
  */
1683
1772
  checkUpdateOnChange(
1684
1773
  /**
@@ -1696,6 +1785,8 @@ declare namespace sap {
1696
1785
  destroy(): void;
1697
1786
  /**
1698
1787
  * Returns the name of the function import to be used.
1788
+ *
1789
+ * @returns The name of the function import to be used
1699
1790
  */
1700
1791
  getODataDraftFunctionImportName(
1701
1792
  /**
@@ -1709,6 +1800,8 @@ declare namespace sap {
1709
1800
  ): string;
1710
1801
  /**
1711
1802
  * Returns the semantic keys for a given entity set.
1803
+ *
1804
+ * @returns The semantic keys
1712
1805
  */
1713
1806
  getSemanticKey(
1714
1807
  /**
@@ -1719,6 +1812,8 @@ declare namespace sap {
1719
1812
  /**
1720
1813
  * Checks whether an entity set is draft-enabled. The entity set name is derived from the given binding
1721
1814
  * context
1815
+ *
1816
+ * @returns `true`, if a given entity set is draft-enabled, `false` otherwise
1722
1817
  */
1723
1818
  hasDraft(
1724
1819
  /**
@@ -1728,6 +1823,8 @@ declare namespace sap {
1728
1823
  ): boolean;
1729
1824
  /**
1730
1825
  * Checks whether administrative data for a given draft is available.
1826
+ *
1827
+ * @returns `true`, if administrative data is available, `false` otherwise
1731
1828
  */
1732
1829
  hasDraftAdministrativeData(
1733
1830
  /**
@@ -1738,6 +1835,8 @@ declare namespace sap {
1738
1835
  /**
1739
1836
  * Checks whether an entity set has a draft preparation action. The entity set name is derived from the
1740
1837
  * given binding context.
1838
+ *
1839
+ * @returns `true`, if a given entity set has a draft preparation action, `false` otherwise
1741
1840
  */
1742
1841
  hasDraftPreparationAction(
1743
1842
  /**
@@ -1747,6 +1846,8 @@ declare namespace sap {
1747
1846
  ): boolean;
1748
1847
  /**
1749
1848
  * Checks whether an entity set is draft root. The entity set name is derived from the given binding context.
1849
+ *
1850
+ * @returns `true`, if a given entity set is draft root, `false` otherwise
1750
1851
  */
1751
1852
  hasDraftRoot(
1752
1853
  /**
@@ -1757,6 +1858,8 @@ declare namespace sap {
1757
1858
  /**
1758
1859
  * Checks whether an entity set has a draft validation function. The entity set name is derived from the
1759
1860
  * given binding context.
1861
+ *
1862
+ * @returns `true`, if a given entity set has a draft validation function, `false` otherwise
1760
1863
  */
1761
1864
  hasDraftValidationFunction(
1762
1865
  /**
@@ -1770,10 +1873,14 @@ declare namespace sap {
1770
1873
  * Checks if the parameter "PreserveChanges" is supported by the edit function. If the edit action is triggered
1771
1874
  * with the parameter set to `true` the ABAP application infrastructure will respond with HTTP response
1772
1875
  * code 409 if unsaved changes (from another user) exist.
1876
+ *
1877
+ * @returns `true`, if "PreserveChanges" is supported
1773
1878
  */
1774
1879
  hasPreserveChanges(): boolean;
1775
1880
  /**
1776
1881
  * Checks whether a sibling entity for a given entity set is available.
1882
+ *
1883
+ * @returns `true`, if sibling entity is available, `false` otherwise
1777
1884
  */
1778
1885
  hasSiblingEntity(
1779
1886
  /**
@@ -1783,6 +1890,8 @@ declare namespace sap {
1783
1890
  ): boolean;
1784
1891
  /**
1785
1892
  * Checks whether a given entity set is draft-enabled.
1893
+ *
1894
+ * @returns `true`, if a given entity set is draft-enabled, `false` otherwise
1786
1895
  */
1787
1896
  isDraftEnabled(
1788
1897
  /**
@@ -1792,6 +1901,8 @@ declare namespace sap {
1792
1901
  ): boolean;
1793
1902
  /**
1794
1903
  * Checks whether a given entity set is a draft root.
1904
+ *
1905
+ * @returns `true`, if a given entity set is draft root, `false` otherwise
1795
1906
  */
1796
1907
  isDraftRoot(
1797
1908
  /**
@@ -1801,6 +1912,8 @@ declare namespace sap {
1801
1912
  ): boolean;
1802
1913
  /**
1803
1914
  * Checks whether a given key is a semantic key.
1915
+ *
1916
+ * @returns `true`, if a given key is a semantic key, `false` otherwise
1804
1917
  */
1805
1918
  isSemanticKey(
1806
1919
  /**
@@ -1814,6 +1927,8 @@ declare namespace sap {
1814
1927
  ): boolean;
1815
1928
  /**
1816
1929
  * Checks whether a given key is a technical key.
1930
+ *
1931
+ * @returns `true`, if a given key is a technical key, `false` otherwise
1817
1932
  */
1818
1933
  isTechnicalKey(
1819
1934
  /**
@@ -1862,6 +1977,8 @@ declare namespace sap {
1862
1977
  * and enriches it with the information contained in `oClassInfo`.
1863
1978
  *
1864
1979
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.generic.app.transaction.BaseController.extend}.
1980
+ *
1981
+ * @returns Created class / constructor function
1865
1982
  */
1866
1983
  static extend<T extends Record<string, unknown>>(
1867
1984
  /**
@@ -1883,10 +2000,14 @@ declare namespace sap {
1883
2000
  ): Function;
1884
2001
  /**
1885
2002
  * Returns a metadata object for class sap.ui.generic.app.transaction.DraftController.
2003
+ *
2004
+ * @returns Metadata object describing this class
1886
2005
  */
1887
2006
  static getMetadata(): sap.ui.base.Metadata;
1888
2007
  /**
1889
2008
  * Submits changes to the back-end and activates a draft entity in the back-end.
2009
+ *
2010
+ * @returns A `Promise` for asynchronous execution
1890
2011
  */
1891
2012
  activateDraftEntity(
1892
2013
  /**
@@ -1905,6 +2026,8 @@ declare namespace sap {
1905
2026
  ): Promise<any>;
1906
2027
  /**
1907
2028
  * Submits changes to the back-end and activates a draft entity in the back-end.
2029
+ *
2030
+ * @returns A `Promise` for asynchronous execution
1908
2031
  */
1909
2032
  activateDraftEntity(
1910
2033
  /**
@@ -1920,6 +2043,8 @@ declare namespace sap {
1920
2043
  /**
1921
2044
  * Creates an edit draft in the back-end. Additionally, possible changes that have been collected on the
1922
2045
  * client are sent to the back-end.
2046
+ *
2047
+ * @returns A `Promise` for asynchronous execution
1923
2048
  */
1924
2049
  createEditDraftEntity(
1925
2050
  /**
@@ -1938,6 +2063,8 @@ declare namespace sap {
1938
2063
  /**
1939
2064
  * Creates a new edit draft on the client and sends it to the back-end. Additionally, possible changes that
1940
2065
  * have been collected on the client are sent to the back-end.
2066
+ *
2067
+ * @returns A `Promise` for asynchronous execution of the request
1941
2068
  */
1942
2069
  createNewDraftEntity(
1943
2070
  /**
@@ -1988,6 +2115,8 @@ declare namespace sap {
1988
2115
  destroy(): void;
1989
2116
  /**
1990
2117
  * Returns the current draft context instance. If no instance exists, it is created lazily.
2118
+ *
2119
+ * @returns The current draft context instance
1991
2120
  */
1992
2121
  getDraftContext(): sap.ui.generic.app.transaction.DraftContext;
1993
2122
  /**
@@ -1995,6 +2124,8 @@ declare namespace sap {
1995
2124
  *
1996
2125
  * Retrieves a possibly existing draft entity for the given active entity using the binding context of the
1997
2126
  * active entity from the back-end.
2127
+ *
2128
+ * @returns A `Promise` for asynchronous execution
1998
2129
  */
1999
2130
  getDraftForActiveEntity(
2000
2131
  /**
@@ -2006,6 +2137,8 @@ declare namespace sap {
2006
2137
  * @SINCE 1.32.0
2007
2138
  *
2008
2139
  * Checks whether an entity has an active entity associated.
2140
+ *
2141
+ * @returns `true`, if an active entity exists, `false` otherwise
2009
2142
  */
2010
2143
  hasActiveEntity(
2011
2144
  /**
@@ -2015,6 +2148,8 @@ declare namespace sap {
2015
2148
  ): boolean;
2016
2149
  /**
2017
2150
  * Checks whether an entity set is active. The entity set name is derived from the given binding context
2151
+ *
2152
+ * @returns `true`, if a given entity set is active, `false` otherwise
2018
2153
  */
2019
2154
  isActiveEntity(
2020
2155
  /**
@@ -2025,6 +2160,8 @@ declare namespace sap {
2025
2160
  /**
2026
2161
  * Submits changes to the back-end and prepares an existing draft entity in the back-end for later activation
2027
2162
  * by invoking the preparation action.
2163
+ *
2164
+ * @returns A `Promise` for asynchronous execution
2028
2165
  */
2029
2166
  prepareDraftEntity(
2030
2167
  /**
@@ -2035,6 +2172,8 @@ declare namespace sap {
2035
2172
  /**
2036
2173
  * Submits changes to the back-end and prepares a draft entity in the back-end for later activation by invoking
2037
2174
  * the preparation action.
2175
+ *
2176
+ * @returns A `Promise` for asynchronous execution
2038
2177
  */
2039
2178
  saveAndPrepareDraftEntity(
2040
2179
  /**
@@ -2049,6 +2188,8 @@ declare namespace sap {
2049
2188
  /**
2050
2189
  * Submits changes to the back-end and prepares an existing draft entity in the back-end for later activation
2051
2190
  * by invoking the validation action.
2191
+ *
2192
+ * @returns A `Promise` for asynchronous execution
2052
2193
  */
2053
2194
  validateDraftEntity(
2054
2195
  /**
@@ -2099,6 +2240,8 @@ declare namespace sap {
2099
2240
  * and enriches it with the information contained in `oClassInfo`.
2100
2241
  *
2101
2242
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.generic.app.transaction.BaseController.extend}.
2243
+ *
2244
+ * @returns Created class / constructor function
2102
2245
  */
2103
2246
  static extend<T extends Record<string, unknown>>(
2104
2247
  /**
@@ -2120,6 +2263,8 @@ declare namespace sap {
2120
2263
  ): Function;
2121
2264
  /**
2122
2265
  * Returns a metadata object for class sap.ui.generic.app.transaction.TransactionController.
2266
+ *
2267
+ * @returns Metadata object describing this class
2123
2268
  */
2124
2269
  static getMetadata(): sap.ui.base.Metadata;
2125
2270
  /**
@@ -2128,6 +2273,9 @@ declare namespace sap {
2128
2273
  *
2129
2274
  * Submits changes to the backend system and deletes a group of entities in the backend system. These entities
2130
2275
  * can be both draft or active entities.
2276
+ *
2277
+ * @returns A `Promise` that receives an array with the responses of the delete requests. The `Promise`
2278
+ * resolves when at least one request was successful and rejects when all delete requests have been rejected/aborted.
2131
2279
  */
2132
2280
  deleteEntities(
2133
2281
  /**
@@ -2142,6 +2290,8 @@ declare namespace sap {
2142
2290
  /**
2143
2291
  * Submits changes to the backend system and deletes an entity in the backend system. This entity can be
2144
2292
  * either a draft or an active entity.
2293
+ *
2294
+ * @returns A `Promise` for asynchronous execution
2145
2295
  */
2146
2296
  deleteEntity(
2147
2297
  /**
@@ -2160,6 +2310,8 @@ declare namespace sap {
2160
2310
  /**
2161
2311
  * Prepares an entity for editing. If the entity is active and draft enabled, a new draft document is created.
2162
2312
  * If not, the control is automatically returned to the caller of the method by returning a resolved promise.
2313
+ *
2314
+ * @returns A `Promise` for asynchronous execution
2163
2315
  */
2164
2316
  editEntity(
2165
2317
  /**
@@ -2177,6 +2329,8 @@ declare namespace sap {
2177
2329
  ): Promise<any>;
2178
2330
  /**
2179
2331
  * Returns the current draft controller instance.
2332
+ *
2333
+ * @returns The draft controller instance
2180
2334
  */
2181
2335
  getDraftController(): sap.ui.generic.app.transaction.DraftController;
2182
2336
  /**
@@ -2186,6 +2340,9 @@ declare namespace sap {
2186
2340
  resetChanges(): void;
2187
2341
  /**
2188
2342
  * Multi edit handling.
2343
+ *
2344
+ * @returns A `Promise` which resolves if the given promises have been executed with at least one successfully.
2345
+ * It rejects if all given promises were rejected.
2189
2346
  */
2190
2347
  updateMultipleEntities(
2191
2348
  /**
@@ -2223,6 +2380,8 @@ declare namespace sap {
2223
2380
  * it with the information contained in `oClassInfo`.
2224
2381
  *
2225
2382
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.generic.app.transaction.BaseController.extend}.
2383
+ *
2384
+ * @returns Created class / constructor function
2226
2385
  */
2227
2386
  static extend<T extends Record<string, unknown>>(
2228
2387
  /**
@@ -2244,6 +2403,8 @@ declare namespace sap {
2244
2403
  ): Function;
2245
2404
  /**
2246
2405
  * Returns a metadata object for class sap.ui.generic.app.ApplicationController.
2406
+ *
2407
+ * @returns Metadata object describing this class
2247
2408
  */
2248
2409
  static getMetadata(): sap.ui.base.Metadata;
2249
2410
  /**
@@ -2257,6 +2418,9 @@ declare namespace sap {
2257
2418
  * or entities are passed the unspecified side effect is executed. This unspecified side effect uses either
2258
2419
  * the annotated targets of the unspecified side effect or - in case of no available annotation - triggers
2259
2420
  * a complete model refresh on the OData model.
2421
+ *
2422
+ * @returns A `Promise` for asynchronous execution of the action. The promise is either already resolved
2423
+ * (when nothing needs to be processed) or resolves when the `triggerSubmitChanges()` has been executed.
2260
2424
  */
2261
2425
  executeSideEffects(
2262
2426
  /**
@@ -2282,6 +2446,10 @@ declare namespace sap {
2282
2446
  * @EXPERIMENTAL
2283
2447
  *
2284
2448
  * Creates a context for an action call (OData function import)
2449
+ *
2450
+ * @returns A `map` that contains two Promises: `context` which provides the action-specific model context
2451
+ * to the resolve function `result` which resolves when the success handler is called and rejects when the
2452
+ * error handler is called; The result of the promises is noramlized in both cases, error and success.
2285
2453
  */
2286
2454
  getNewActionContext(
2287
2455
  /**
@@ -2299,11 +2467,15 @@ declare namespace sap {
2299
2467
  ): Record<string, any>;
2300
2468
  /**
2301
2469
  * Returns the current transaction controller instance.
2470
+ *
2471
+ * @returns The transaction controller instance
2302
2472
  */
2303
2473
  getTransactionController(): sap.ui.generic.app.transaction.TransactionController;
2304
2474
  /**
2305
2475
  * Invokes an action for every provided context where the properties are taken as input from. The changes
2306
2476
  * are submitted directly to the back-end.
2477
+ *
2478
+ * @returns A `Promise` for asynchronous execution of the action
2307
2479
  */
2308
2480
  invokeActions(
2309
2481
  /**
@@ -2331,6 +2503,8 @@ declare namespace sap {
2331
2503
  *
2332
2504
  * Notifies the application controller of a change of a property. Please note that the method is not meant
2333
2505
  * for productive use currently. It is experimental.
2506
+ *
2507
+ * @returns A `Promise` for asynchronous execution of the action
2334
2508
  */
2335
2509
  propertyChanged(
2336
2510
  /**