@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,3 +1,3 @@
1
- // For Library Version: 1.101.0
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {}
@@ -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
  /**
@@ -28,6 +28,8 @@ declare namespace sap {
28
28
  *
29
29
  *
30
30
  * Submit the current set of changes and navigate back.
31
+ *
32
+ * @returns Promise resolves once the changes have been saved
31
33
  */
32
34
  applyDocument(
33
35
  /**
@@ -40,6 +42,8 @@ declare namespace sap {
40
42
  *
41
43
  *
42
44
  * Discard the editable document.
45
+ *
46
+ * @returns Promise resolves once editable document has been discarded
43
47
  */
44
48
  cancelDocument(
45
49
  /**
@@ -65,6 +69,8 @@ declare namespace sap {
65
69
  *
66
70
  *
67
71
  * Creates a new document.
72
+ *
73
+ * @returns Promise resolves once the object has been created
68
74
  */
69
75
  createDocument(
70
76
  /**
@@ -100,6 +106,8 @@ declare namespace sap {
100
106
  *
101
107
  *
102
108
  * Deletes the document.
109
+ *
110
+ * @returns Promise resolves once document has been deleted
103
111
  */
104
112
  deleteDocument(
105
113
  /**
@@ -125,6 +133,8 @@ declare namespace sap {
125
133
  *
126
134
  *
127
135
  * Creates a draft document for an existing active document.
136
+ *
137
+ * @returns Promise resolves once the editable document is available
128
138
  */
129
139
  editDocument(
130
140
  /**
@@ -185,6 +195,9 @@ declare namespace sap {
185
195
  * If you reject the promise, the 'Create' action is stopped.
186
196
  * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
187
197
  * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
198
+ *
199
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Create' action is triggered.
200
+ * If rejected, the 'Create' action is not triggered.
188
201
  */
189
202
  onBeforeCreate(
190
203
  /**
@@ -210,6 +223,9 @@ declare namespace sap {
210
223
  * If you reject the promise, the 'Delete' action is stopped.
211
224
  * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
212
225
  * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
226
+ *
227
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Delete' action is triggered.
228
+ * If rejected, the 'Delete' action is not triggered.
213
229
  */
214
230
  onBeforeDelete(
215
231
  /**
@@ -231,6 +247,9 @@ declare namespace sap {
231
247
  * If you reject the promise, the 'Discard' action is stopped and the user stays in edit mode.
232
248
  * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
233
249
  * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
250
+ *
251
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Discard' action is triggered.
252
+ * If rejected, the 'Discard' action is not triggered and the user stays in edit mode.
234
253
  */
235
254
  onBeforeDiscard(
236
255
  /**
@@ -252,6 +271,9 @@ declare namespace sap {
252
271
  * If you reject the promise, the 'Edit' action is stopped and the user stays in display mode.
253
272
  * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
254
273
  * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
274
+ *
275
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Edit' action is triggered.
276
+ * If rejected, the 'Edit' action is not triggered and the user stays in display mode.
255
277
  */
256
278
  onBeforeEdit(
257
279
  /**
@@ -273,6 +295,9 @@ declare namespace sap {
273
295
  * If you reject the promise, the 'Save' action is stopped and the user stays in edit mode.
274
296
  * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
275
297
  * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
298
+ *
299
+ * @returns A promise to be returned by the overridden method. If resolved, the 'Save' action is triggered.
300
+ * If rejected, the 'Save' action is not triggered and the user stays in edit mode.
276
301
  */
277
302
  onBeforeSave(
278
303
  /**
@@ -290,6 +315,8 @@ declare namespace sap {
290
315
  *
291
316
  *
292
317
  * Saves a new document after checking it.
318
+ *
319
+ * @returns Promise resolves once save is complete
293
320
  */
294
321
  saveDocument(
295
322
  /**
@@ -309,6 +336,9 @@ declare namespace sap {
309
336
  *
310
337
  * Secured execution of the given function. Ensures that the function is only executed when certain conditions
311
338
  * are fulfilled.
339
+ *
340
+ * @returns A promise that is rejected if the execution is prohibited and resolved by the promise returned
341
+ * by the fnFunction.
312
342
  */
313
343
  securedExecution(
314
344
  /**
@@ -346,6 +376,8 @@ declare namespace sap {
346
376
  *
347
377
  *
348
378
  * Updates the draft status and displays the error messages if there are errors during an update.
379
+ *
380
+ * @returns Promise resolves once draft status has been updated
349
381
  */
350
382
  updateDocument(
351
383
  /**
@@ -357,7 +389,7 @@ declare namespace sap {
357
389
  * update operation is completed, so the draft status can be updated.
358
390
  */
359
391
  oPromise: Promise<any>
360
- ): Promise<any>;
392
+ ): undefined | Promise<any>;
361
393
  }
362
394
  /**
363
395
  * @SINCE 1.86.0
@@ -442,6 +474,9 @@ declare namespace sap {
442
474
  * can filter on message types and can display details as well as the long text. If there is one message,
443
475
  * the dialog immediately shows the details of the message. If there is just one success message, a message
444
476
  * toast is shown instead.
477
+ *
478
+ * @returns A promise that is resolved once the user closes the dialog. If there are no messages
479
+ * to be shown, the promise is resolved immediately
445
480
  */
446
481
  showMessageDialog(): Promise<any>;
447
482
  }
@@ -506,6 +541,8 @@ declare namespace sap {
506
541
  ): void;
507
542
  /**
508
543
  * Navigate to another target.
544
+ *
545
+ * @returns Promise that is resolved when the navigation is finalized
509
546
  */
510
547
  navigateToRoute(
511
548
  /**
@@ -561,6 +598,9 @@ declare namespace sap {
561
598
  *
562
599
  * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
563
600
  * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
601
+ *
602
+ *
603
+ * @returns `true` to prevent the default execution, false to keep the standard behavior
564
604
  */
565
605
  onBeforeNavigation(
566
606
  /**
@@ -589,6 +629,8 @@ declare namespace sap {
589
629
  *
590
630
  * Adapts the metadata used while sharing the page URL via 'Send Email', 'Share in SAP Jam', and 'Save as
591
631
  * Tile'.
632
+ *
633
+ * @returns Share Metadata or a Promise resolving the Share Metadata
592
634
  */
593
635
  adaptShareMetadata(
594
636
  /**
@@ -755,6 +797,10 @@ declare namespace sap {
755
797
  *
756
798
  * Important:
757
799
  * You should only override this method for custom pages and not for the standard ListReportPage and ObjectPage!
800
+ *
801
+ *
802
+ * @returns If `true`, only the initial view state is applied once,
803
+ * else any new view state is also applied on follow-up calls (default)
758
804
  */
759
805
  applyInitialStateOnly(): boolean;
760
806
  /**
@@ -791,6 +837,8 @@ declare namespace sap {
791
837
  ): void;
792
838
  /**
793
839
  * Applies the given view state to this extensions view.
840
+ *
841
+ * @returns Promise for async state handling
794
842
  */
795
843
  applyViewState(
796
844
  /**
@@ -865,6 +913,8 @@ declare namespace sap {
865
913
  * Retrieve the view state of this extensions view.
866
914
  * When this function is called more than once before finishing, all but the final response will resolve
867
915
  * to `undefined`.
916
+ *
917
+ * @returns A promise resolving the view state
868
918
  */
869
919
  retrieveViewState(): Promise<any>;
870
920
  }
@@ -943,11 +993,15 @@ declare namespace sap {
943
993
  *
944
994
  *
945
995
  * Returns the current app component.
996
+ *
997
+ * @returns The app component or, if not found, null
946
998
  */
947
999
  getAppComponent(): sap.fe.core.AppComponent;
948
1000
  /**
949
1001
  * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
950
1002
  * name into each controller.
1003
+ *
1004
+ * @returns The model instance
951
1005
  */
952
1006
  getModel(
953
1007
  /**
@@ -957,6 +1011,8 @@ declare namespace sap {
957
1011
  ): sap.ui.model.Model;
958
1012
  /**
959
1013
  * Convenience method for setting the view model in every controller of the application.
1014
+ *
1015
+ * @returns The view instance
960
1016
  */
961
1017
  setModel(
962
1018
  /**
@@ -1005,6 +1061,8 @@ declare namespace sap {
1005
1061
  *
1006
1062
  * .
1007
1063
  * editMode is deprecated and should not be used anymore. Use isEditable instead.
1064
+ *
1065
+ * @returns The required model
1008
1066
  */
1009
1067
  getModel(
1010
1068
  /**
@@ -1014,6 +1072,8 @@ declare namespace sap {
1014
1072
  ): undefined | sap.ui.model.Model;
1015
1073
  /**
1016
1074
  * Load a fragment and go through the template preprocessor with the current page context.
1075
+ *
1076
+ * @returns The fragment definition
1017
1077
  */
1018
1078
  loadFragment(
1019
1079
  /**
@@ -1067,6 +1127,8 @@ declare namespace sap {
1067
1127
  /**
1068
1128
  * Triggers an update of the app state.
1069
1129
  * Should be called if the state of a control, or any other state-relevant information, was changed.
1130
+ *
1131
+ * @returns A promise that resolves with the new app state object.
1070
1132
  */
1071
1133
  updateAppState(): undefined | Promise<any>;
1072
1134
  }
@@ -1086,11 +1148,15 @@ declare namespace sap {
1086
1148
  *
1087
1149
  *
1088
1150
  * Returns the current app component.
1151
+ *
1152
+ * @returns The app component or, if not found, null
1089
1153
  */
1090
1154
  getAppComponent(): sap.fe.core.AppComponent;
1091
1155
  /**
1092
1156
  * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
1093
1157
  * name into each controller.
1158
+ *
1159
+ * @returns The model instance
1094
1160
  */
1095
1161
  getModel(
1096
1162
  /**
@@ -1100,6 +1166,8 @@ declare namespace sap {
1100
1166
  ): sap.ui.model.Model;
1101
1167
  /**
1102
1168
  * Convenience method for setting the view model in every controller of the application.
1169
+ *
1170
+ * @returns The view instance
1103
1171
  */
1104
1172
  setModel(
1105
1173
  /**
@@ -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 fe {
@@ -15,6 +15,10 @@ declare namespace sap {
15
15
  * Reference to the key of another action already displayed in the toolbar to properly place this one
16
16
  */
17
17
  anchor: string;
18
+ /**
19
+ * Enables or disables the action
20
+ */
21
+ enabled: boolean;
18
22
  /**
19
23
  * Unique identifier of the action
20
24
  */
@@ -95,7 +99,8 @@ declare namespace sap {
95
99
  personalization?:
96
100
  | boolean
97
101
  | string
98
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
102
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
103
+ | `{${string}}`;
99
104
 
100
105
  /**
101
106
  * Specifies the selection mode
@@ -115,7 +120,8 @@ declare namespace sap {
115
120
  */
116
121
  formatOptions?:
117
122
  | sap.fe.macros.FieldFormatOptions
118
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
123
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
124
+ | `{${string}}`;
119
125
 
120
126
  /**
121
127
  * The identifier of the Field control.
@@ -132,7 +138,10 @@ declare namespace sap {
132
138
  * If you do not set any expression, SAP Fiori elements hooks into the standard lifecycle to determine the
133
139
  * current state.
134
140
  */
135
- readOnly?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
141
+ readOnly?:
142
+ | boolean
143
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
144
+ | `{${string}}`;
136
145
 
137
146
  /**
138
147
  * Option to add semantic objects to a field.
@@ -176,6 +185,11 @@ declare namespace sap {
176
185
  * Defines the relative path of the property in the metamodel, based on the current contextPath.
177
186
  */
178
187
  metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
188
+
189
+ /**
190
+ * The title of the form control.
191
+ */
192
+ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
179
193
  }
180
194
 
181
195
  interface $MacroAPISettings extends sap.ui.core.$ControlSettings {
@@ -195,7 +209,10 @@ declare namespace sap {
195
209
  /**
196
210
  * An expression that allows you to control the 'busy' state of the table.
197
211
  */
198
- busy?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
212
+ busy?:
213
+ | boolean
214
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
215
+ | `{${string}}`;
199
216
 
200
217
  /**
201
218
  * Defines the path of the context used in the current page or block.
@@ -208,24 +225,32 @@ declare namespace sap {
208
225
  */
209
226
  enableAutoColumnWidth?:
210
227
  | boolean
211
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
228
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
229
+ | `{${string}}`;
212
230
 
213
231
  /**
214
232
  * Controls if the export functionality of the table is enabled or not.
215
233
  */
216
- enableExport?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
234
+ enableExport?:
235
+ | boolean
236
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
237
+ | `{${string}}`;
217
238
 
218
239
  /**
219
240
  * Controls whether the table can be opened in fullscreen mode or not.
220
241
  */
221
242
  enableFullScreen?:
222
243
  | boolean
223
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
244
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
245
+ | `{${string}}`;
224
246
 
225
247
  /**
226
248
  * Controls if the paste functionality of the table is enabled or not.
227
249
  */
228
- enablePaste?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
250
+ enablePaste?:
251
+ | boolean
252
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
253
+ | `{${string}}`;
229
254
 
230
255
  /**
231
256
  * ID of the FilterBar building block associated with the table.
@@ -240,7 +265,10 @@ declare namespace sap {
240
265
  /**
241
266
  * Controls if the header text should be shown or not.
242
267
  */
243
- headerVisible?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
268
+ headerVisible?:
269
+ | boolean
270
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
271
+ | `{${string}}`;
244
272
 
245
273
  /**
246
274
  * The identifier of the table control.
@@ -250,7 +278,10 @@ declare namespace sap {
250
278
  /**
251
279
  * Defines whether to display the search action.
252
280
  */
253
- isSearchable?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
281
+ isSearchable?:
282
+ | boolean
283
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
284
+ | `{${string}}`;
254
285
 
255
286
  /**
256
287
  * Groups menu actions by key.
@@ -284,14 +315,18 @@ declare namespace sap {
284
315
  personalization?:
285
316
  | boolean
286
317
  | string
287
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
318
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
319
+ | `{${string}}`;
288
320
 
289
321
  /**
290
322
  * An expression that allows you to control the 'read-only' state of the table.
291
323
  * If you do not set any expression, SAP Fiori elements hooks into the standard lifecycle to determine the
292
324
  * current state.
293
325
  */
294
- readOnly?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
326
+ readOnly?:
327
+ | boolean
328
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
329
+ | `{${string}}`;
295
330
 
296
331
  /**
297
332
  * Defines the selection mode to be used by the table.
@@ -336,7 +371,8 @@ declare namespace sap {
336
371
  * <macro:FlexibleColumnLayoutActions />
337
372
  * ```
338
373
  */
339
- class FlexibleColumnLayoutActions extends sap.fe.macros.MacroMetadata {
374
+ class FlexibleColumnLayoutActions
375
+ /* was: sap.fe.macros.MacroMetadata */ extends Object {
340
376
  constructor();
341
377
  }
342
378
  /**
@@ -344,16 +380,7 @@ declare namespace sap {
344
380
  *
345
381
  * Building block used to create a form element containing a label and a field.
346
382
  */
347
- class FormElement extends sap.fe.macros.MacroMetadata {
348
- constructor();
349
- }
350
- /**
351
- * @SINCE 1.90.0
352
- *
353
- * Base class for all SAP Fiori elements building blocks. This class is not meant to be used as a stand-alone
354
- * class.
355
- */
356
- class MacroMetadata {
383
+ class FormElement /* was: sap.fe.macros.MacroMetadata */ extends Object {
357
384
  constructor();
358
385
  }
359
386
  /**
@@ -361,7 +388,7 @@ declare namespace sap {
361
388
  *
362
389
  * Building block used to create a MicroChart based on the metadata provided by OData V4.
363
390
  */
364
- class MicroChart extends sap.fe.macros.MacroMetadata {
391
+ class MicroChart /* was: sap.fe.macros.MacroMetadata */ extends Object {
365
392
  constructor();
366
393
  }
367
394
  /**
@@ -375,7 +402,7 @@ declare namespace sap {
375
402
  * <macro:Paginator />
376
403
  * ```
377
404
  */
378
- class Paginator extends sap.fe.macros.MacroMetadata {
405
+ class Paginator /* was: sap.fe.macros.MacroMetadata */ extends Object {
379
406
  constructor();
380
407
  }
381
408
  /**
@@ -396,7 +423,7 @@ declare namespace sap {
396
423
  * />
397
424
  * ```
398
425
  */
399
- class Share extends sap.fe.macros.MacroMetadata {
426
+ class Share /* was: sap.fe.macros.MacroMetadata */ extends Object {
400
427
  constructor();
401
428
  }
402
429
  /**
@@ -432,6 +459,8 @@ declare namespace sap {
432
459
 
433
460
  /**
434
461
  * Adds a message to the field.
462
+ *
463
+ * @returns The id of the message
435
464
  */
436
465
  addMessage(
437
466
  /**
@@ -458,6 +487,8 @@ declare namespace sap {
458
487
  ): string;
459
488
  /**
460
489
  * Retrieves the current value of the Field.
490
+ *
491
+ * @returns The current value of the field
461
492
  */
462
493
  getValue(): string | boolean;
463
494
  /**
@@ -488,7 +519,9 @@ declare namespace sap {
488
519
  /**
489
520
  * Set the filter values for the given property in the filter bar.
490
521
  * The filter values can be either a single value or an array of values.
491
- * Each filter value must be represented as a string corresponding to the given operator.
522
+ * Each filter value must be represented as a primitive value.
523
+ *
524
+ * @returns A promise for asynchronous handling
492
525
  */
493
526
  setFilterValues(
494
527
  /**
@@ -502,19 +535,27 @@ declare namespace sap {
502
535
  /**
503
536
  * The values to be applied
504
537
  */
505
- vValues: undefined | string | string[]
506
- ): any;
538
+ vValues:
539
+ | undefined
540
+ | string
541
+ | number
542
+ | boolean
543
+ | string[]
544
+ | number[]
545
+ | boolean[]
546
+ ): void;
507
547
  }
508
548
  /**
509
549
  * Building block for creating a Form based on the metadata provided by OData V4.
510
550
  *
511
551
  *
512
- * Usually, a ReferenceFacet or CollectionFacet is expected
552
+ * It is designed to work based on a FieldGroup annotation but can also work if you provide a ReferenceFacet
553
+ * or a CollectionFacet
513
554
  * Usage example:
514
555
  *
515
556
  * ```javascript
516
557
  *
517
- * <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.Facets/0" />
558
+ * <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.FieldGroup#GeneralInformation" />
518
559
  * ```
519
560
  */
520
561
  class Form extends sap.fe.macros.MacroAPI {
@@ -545,6 +586,9 @@ declare namespace sap {
545
586
  /**
546
587
  * Adds a message to the table.
547
588
  * The message applies to the whole table and not to an individual table row.
589
+ *
590
+ *
591
+ * @returns The ID of the message
548
592
  */
549
593
  addMessage(
550
594
  /**
@@ -571,6 +615,8 @@ declare namespace sap {
571
615
  ): string;
572
616
  /**
573
617
  * Gets contexts from the table that have been selected by the user.
618
+ *
619
+ * @returns Contexts of the rows selected by the user
574
620
  */
575
621
  getSelectedContexts(): sap.ui.model.odata.v4.Context[];
576
622
  /**
@@ -671,8 +717,6 @@ declare namespace sap {
671
717
 
672
718
  "sap/fe/macros/MacroAPI": undefined;
673
719
 
674
- "sap/fe/macros/MacroMetadata": undefined;
675
-
676
720
  "sap/fe/macros/MicroChart.metadata": undefined;
677
721
 
678
722
  "sap/fe/macros/Paginator.metadata": undefined;