@sapui5/ts-types 1.101.1 → 1.102.2

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 +7209 -505
  17. package/types/sap.insights.d.ts +21 -0
  18. package/types/sap.landvisz.d.ts +1015 -66
  19. package/types/sap.m.d.ts +16677 -1155
  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 +3880 -276
  34. package/types/sap.ui.core.d.ts +6268 -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 +1977 -97
  52. package/types/sap.ui.vk.d.ts +5353 -310
  53. package/types/sap.ui.vtm.d.ts +1133 -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types",
3
- "version": "1.101.1",
3
+ "version": "1.102.2",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/index.d.ts CHANGED
@@ -23,6 +23,7 @@
23
23
  /// <reference path="./sap.ui.generic.app.d.ts"/>
24
24
  /// <reference path="./sap.ui.generic.template.d.ts"/>
25
25
  /// <reference path="./sap.uiext.inbox.d.ts"/>
26
+ /// <reference path="./sap.insights.d.ts"/>
26
27
  /// <reference path="./sap.ui.integration.d.ts"/>
27
28
  /// <reference path="./sap.ui.layout.d.ts"/>
28
29
  /// <reference path="./sap.makit.d.ts"/>
@@ -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
  /**
@@ -42,6 +42,8 @@ declare namespace sap {
42
42
  getParameters(): any[];
43
43
  /**
44
44
  * Gets the previous message object.
45
+ *
46
+ * @returns || undefined
45
47
  */
46
48
  getPrevious(): sap.apf.core.MessageObject;
47
49
  /**
@@ -74,22 +76,30 @@ declare namespace sap {
74
76
  hasRawText(): boolean;
75
77
  /**
76
78
  * Sets the code, that classifies the message.
79
+ *
80
+ * @returns undefined
77
81
  */
78
82
  setCode(code: string): undefined;
79
83
  /**
80
84
  * Sets the message text.
85
+ *
86
+ * @returns undefined
81
87
  */
82
88
  setMessage(sTextMessage: string): undefined;
83
89
  /**
84
90
  * Sets the previous message object. One can add a message object to this message object, that describes
85
91
  * a previous message. The message in the previous message object will also be displayed in the log (as
86
92
  * previous entry).
93
+ *
94
+ * @returns undefined
87
95
  */
88
96
  setPrevious(
89
97
  oPreviousMessageObject: sap.apf.core.MessageObject
90
98
  ): undefined;
91
99
  /**
92
100
  * Sets the severity , which classifies the message.
101
+ *
102
+ * @returns undefined
93
103
  */
94
104
  setSeverity(
95
105
  /**
@@ -134,6 +144,8 @@ declare namespace sap {
134
144
  ): /* was: sap.apf.core.MetadataFacade */ any;
135
145
  /**
136
146
  * Executes an OData request.
147
+ *
148
+ * @returns undefined
137
149
  */
138
150
  send(
139
151
  oFilter: sap.apf.utils.Filter | null | undefined,
@@ -187,6 +199,8 @@ declare namespace sap {
187
199
  ): /* was: sap.apf.core.MetadataFacade */ any;
188
200
  /**
189
201
  * Executes an OData request.
202
+ *
203
+ * @returns undefined
190
204
  */
191
205
  send(
192
206
  oFilter: sap.apf.utils.Filter | null | undefined,
@@ -250,31 +264,47 @@ declare namespace sap {
250
264
  deserialize(oSerializationInformation: object): void;
251
265
  /**
252
266
  * Returns the alternate representation of current step (i.e. list representation for the charts)
267
+ *
268
+ * @returns oAlternateRepresentation
253
269
  */
254
270
  getAlternateRepresentation(): object;
255
271
  /**
256
272
  * Returns data for representation type
273
+ *
274
+ * @returns aDataResponse
257
275
  */
258
276
  getData(): any[];
259
277
  /**
260
278
  * This method has to be implemented so that binding can determine which method has to be used for the filter
261
279
  * retrieval from a representations.
280
+ *
281
+ * @returns The filter method type the representation supports
262
282
  */
263
283
  getFilterMethodType(): /* was: sap.apf.constants.filterMethodTypes */ any;
264
284
  /**
265
285
  * This method holds the logic to draw the content to be shown on main representation area.
286
+ *
287
+ * @returns oUiObject The UI object that has to be shown in main representation area. Example: Line chart
288
+ * instance for a line chart representation.
266
289
  */
267
290
  getMainContent(): object;
268
291
  /**
269
292
  * Returns meta data for representation type
293
+ *
294
+ * @returns metadata
270
295
  */
271
296
  getMetaData(): /* was: sap.apf.core.EntityTypeMetadata */ any;
272
297
  /**
273
298
  * The method returns the constructor arguments which will be used to create toggle representation.
299
+ *
300
+ * @returns oParameters
274
301
  */
275
302
  getParameter(): object;
276
303
  /**
277
304
  * This method holds the logic to draw the content to be printed.
305
+ *
306
+ * @returns oUiObject The UI object that has to be printed. Example: Line chart instance for a line chart
307
+ * representation.
278
308
  */
279
309
  getPrintContent(): object;
280
310
  /**
@@ -297,20 +327,50 @@ declare namespace sap {
297
327
  * is expected, if ascending sort order is required for the property. If omitted default sort order 'descending'
298
328
  * is applied. **array** holding objects with properties 'property' and 'ascending' as described
299
329
  * above.
330
+ *
331
+ * @returns Example:
332
+ * { paging : {
333
+ * top : 10,
334
+ * skip : 30,
335
+ * inlineCount : true
336
+ * },
337
+ * orderby : [
338
+ * { property : "nameProperty1",
339
+ * }, {
340
+ * property : "nameProperty2",
341
+ * ascending : true
342
+ * }
343
+ * ]
344
+ * }
345
+ * See also http://www.odata.org/documentation/odata-version-2-0/uri-conventions/
300
346
  */
301
347
  getRequestOptions(): object;
302
348
  /**
303
349
  * This is the basic method with which the step can detect data selected in the chart.
350
+ *
351
+ * @returns An array with indices is returned.
352
+ * E.g. if the first and the third line of the array aDataResponse have been selected, then aIndices = [0,
353
+ * 2]. Counting of indices start from 0. If all data has been selected, and aDataResponse.length == 4, then
354
+ * the array [0,1,2,3] is returned. In general [ 0 .. aDataResponse.length - 1] If no data has been selected
355
+ * at all, then [] is returned. In case of an empty selection, the value undefined has to be returned. An
356
+ * empty selection may occur, when selections in the previous step has been changed, so that the visual
357
+ * selection on the chart is now empty (empty rectangle).
304
358
  */
305
359
  getSelectionAsArray(): number[];
306
360
  /**
307
361
  * This method holds the logic to draw the content to be shown on thumbnail area.
362
+ *
363
+ * @returns oUiObject The UI object that has to be shown in thumbnail area. Example: Line chart instance
364
+ * for a line chart representation.
308
365
  */
309
366
  getThumbnailContent(): object;
310
367
  /**
311
368
  * This method holds the logic to draw the content to be shown as tooltip for a thumbnail. It will be shown
312
369
  * inside a tooltip Popup when the thumbnail content overflows the thumbnail container area with a gradient
313
370
  * effect to indicate that it is overflowing.
371
+ *
372
+ * @returns oUiObject The UI object that has to be shown as tooltip for a thumbnail. Example: Detailed content
373
+ * of a form representation.
314
374
  */
315
375
  getTooltipContent(): object;
316
376
  /**
@@ -320,6 +380,8 @@ declare namespace sap {
320
380
  /**
321
381
  * This method returns the selection for serialization. This is required for the Persisting selection of
322
382
  * current representation. It includes selection mode and selections.
383
+ *
384
+ * @returns oSerializationInformation
323
385
  */
324
386
  serialize(): object;
325
387
  /**
@@ -447,6 +509,8 @@ declare namespace sap {
447
509
  * general can be composed of the logical operation AND (see the FilterAnd object) or OR (see the FilterOr
448
510
  * object) or be a boolean expression (see the FilterExpression object). AND and OR terms are returned as
449
511
  * arrays; boolean expressions are returned as objects.
512
+ *
513
+ * @returns Array of AND terms, OR terms and expressions.
450
514
  */
451
515
  getExpressions(): object[];
452
516
  /**
@@ -460,6 +524,8 @@ declare namespace sap {
460
524
  /**
461
525
  * Build the intersection of the this filter object with the supplied filter(s). The method does not change
462
526
  * the "this"-instance.
527
+ *
528
+ * @returns new CoreFilter object {@link sap.apf.utils.Filter} for the intersected filters
463
529
  */
464
530
  intersectWith(
465
531
  /**
@@ -470,6 +536,8 @@ declare namespace sap {
470
536
  ): sap.apf.utils.Filter;
471
537
  /**
472
538
  * Updates an expression.
539
+ *
540
+ * @returns undefined
473
541
  */
474
542
  updateExpression(
475
543
  /**
@@ -504,6 +572,8 @@ declare namespace sap {
504
572
  ): undefined;
505
573
  /**
506
574
  * Updates a value of an expression object.
575
+ *
576
+ * @returns undefined
507
577
  */
508
578
  updateValue(
509
579
  /**
@@ -532,6 +602,8 @@ declare namespace sap {
532
602
 
533
603
  /**
534
604
  * Adds an expression object to this filter.
605
+ *
606
+ * @returns this to allow method chaining
535
607
  */
536
608
  addExpression(
537
609
  /**
@@ -628,6 +700,8 @@ declare namespace sap {
628
700
  ): sap.apf.utils.FilterAnd;
629
701
  /**
630
702
  * Adds an expression object to this filter.
703
+ *
704
+ * @returns this to allow method chaining
631
705
  */
632
706
  addExpression(
633
707
  /**
@@ -654,6 +728,8 @@ declare namespace sap {
654
728
  ): sap.apf.utils.FilterOr;
655
729
  /**
656
730
  * Retrieves an ID of the term.
731
+ *
732
+ * @returns ID of the term.
657
733
  */
658
734
  getId(): string;
659
735
  }
@@ -701,6 +777,8 @@ declare namespace sap {
701
777
  *
702
778
  * The handling of the window.onerror by the message handler is either switched on or off. Per default the
703
779
  * handling is deactivated.
780
+ *
781
+ * @returns undefined
704
782
  */
705
783
  activateOnErrorHandling(
706
784
  /**
@@ -725,6 +803,8 @@ declare namespace sap {
725
803
  * Restriction: Only a single filter term or a disjunction/conjunction of single terms over a single property
726
804
  * is supported. Restriction: Only the operators EQ, LE (less equal than) and GE (greater equal than) are
727
805
  * supported.
806
+ *
807
+ * @returns ID to be provided for later updates of the same filter via method updatePathFilter.
728
808
  */
729
809
  addPathFilter(filter: sap.apf.utils.Filter): number;
730
810
  /**
@@ -783,6 +863,8 @@ declare namespace sap {
783
863
  ): void;
784
864
  /**
785
865
  * Gets a path filter fragment for the given identifier by fully replacing the existing one.
866
+ *
867
+ * @returns filter for id
786
868
  */
787
869
  getPathFilter(
788
870
  /**
@@ -833,6 +915,8 @@ declare namespace sap {
833
915
  /**
834
916
  * A message is passed to the APF message handler for further processing. All message specific settings
835
917
  * (e.g. message code or severity) need to be passed within an APF message object instance.
918
+ *
919
+ * @returns undefined
836
920
  */
837
921
  putMessage(
838
922
  /**
@@ -873,6 +957,8 @@ declare namespace sap {
873
957
  *
874
958
  * Register the function callback to be executed on the given event type. fnCallback will be executed under
875
959
  * a context and will be passed with arguments depending on the event type.
960
+ *
961
+ * @returns true or false based on success or failure of registering the listener.
876
962
  */
877
963
  setEventCallback(
878
964
  /**
@@ -889,6 +975,8 @@ declare namespace sap {
889
975
  /**
890
976
  * true, when no fatal error occurred during startup phase. Startup phase includes the initialization +
891
977
  * startupApf
978
+ *
979
+ * @returns success of startup
892
980
  */
893
981
  startupSucceeded(): boolean;
894
982
  /**