@sapui5/ts-types 1.100.2 → 1.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +2 -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 +376 -30
  6. package/types/sap.collaboration.d.ts +320 -40
  7. package/types/sap.esh.search.ui.d.ts +6 -2
  8. package/types/sap.f.d.ts +2015 -119
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +77 -64
  11. package/types/sap.fe.macros.d.ts +92 -40
  12. package/types/sap.fe.navigation.d.ts +148 -74
  13. package/types/sap.fe.templates.d.ts +115 -187
  14. package/types/sap.fe.test.d.ts +539 -25
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +7242 -516
  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 +16699 -1186
  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 +209 -18
  25. package/types/sap.sac.df.d.ts +2196 -0
  26. package/types/sap.sac.grid.d.ts +115 -8
  27. package/types/sap.suite.ui.commons.d.ts +5532 -396
  28. package/types/sap.suite.ui.generic.template.d.ts +226 -31
  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 +4005 -289
  34. package/types/sap.ui.core.d.ts +6317 -336
  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 +247 -73
  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 +9 -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 +39 -6
  47. package/types/sap.ui.table.d.ts +1060 -113
  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 +6027 -327
  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 +2036 -161
  56. package/types/sap.ushell_abap.d.ts +4 -1
  57. package/types/sap.uxap.d.ts +903 -88
  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 +249 -1688
  61. package/types/sap.zen.crosstab.d.ts +217 -21
  62. package/types/sap.zen.dsh.d.ts +1505 -4036
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.100.0
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.100.0
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -11,13 +11,46 @@ declare namespace sap {
11
11
  * @SINCE 1.96
12
12
  */
13
13
  class ExportBase extends sap.ui.base.EventProvider {
14
- constructor();
14
+ /**
15
+ * Base class for specific SAPUI5 export implementations. This class contains abstract functions that need
16
+ * to be implemented.
17
+ */
18
+ constructor(
19
+ /**
20
+ * Export settings
21
+ */
22
+ mSettings: {
23
+ /**
24
+ * Data and formatting related export settings
25
+ */
26
+ workbook: object;
27
+ /**
28
+ * Source of export data. A data source properties map or `sap.ui.model.ListBinding` can be provided. An
29
+ * instance of `sap.ui.model.ListBinding` has to implement a `#getDownloadUrl` function.
30
+ */
31
+ dataSource: object | sap.ui.model.ListBinding;
32
+ /**
33
+ * The maximal number of records to export
34
+ */
35
+ count?: int;
36
+ /**
37
+ * Optional file name for the exported file
38
+ */
39
+ fileName?: string;
40
+ /**
41
+ * `FileType` that is used to identify the file-ending and MIME-type of the file
42
+ */
43
+ fileType?: sap.ui.export.FileType;
44
+ }
45
+ );
15
46
 
16
47
  /**
17
48
  * Creates a new subclass of class sap.ui.export.ExportBase with name `sClassName` and enriches it with
18
49
  * the information contained in `oClassInfo`.
19
50
  *
20
51
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.EventProvider.extend}.
52
+ *
53
+ * @returns Created class / constructor function
21
54
  */
22
55
  static extend<T extends Record<string, unknown>>(
23
56
  /**
@@ -36,6 +69,8 @@ declare namespace sap {
36
69
  ): Function;
37
70
  /**
38
71
  * Returns a metadata object for class sap.ui.export.ExportBase.
72
+ *
73
+ * @returns Metadata object describing this class
39
74
  */
40
75
  static getMetadata(): sap.ui.base.Metadata;
41
76
  /**
@@ -46,6 +81,8 @@ declare namespace sap {
46
81
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
47
82
  * otherwise it will be bound to this `sap.ui.export.ExportBase` itself.
48
83
  * This event is fired just before the export process is started.
84
+ *
85
+ * @returns Reference to `this` in order to allow method chaining
49
86
  */
50
87
  attachBeforeExport(
51
88
  /**
@@ -70,6 +107,8 @@ declare namespace sap {
70
107
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
71
108
  * otherwise it will be bound to this `sap.ui.export.ExportBase` itself.
72
109
  * This event is fired just before the export process is started.
110
+ *
111
+ * @returns Reference to `this` in order to allow method chaining
73
112
  */
74
113
  attachBeforeExport(
75
114
  /**
@@ -83,6 +122,8 @@ declare namespace sap {
83
122
  ): this;
84
123
  /**
85
124
  * Triggers the export process of the specific format.
125
+ *
126
+ * @returns Promise that gets resolved once the data has been exported
86
127
  */
87
128
  build(): Promise<any>;
88
129
  /**
@@ -95,6 +136,8 @@ declare namespace sap {
95
136
  * Detaches event handler `fnFunction` from the {@link sap.ui.export.ExportBase#event:beforeExport} event
96
137
  * of this `sap.ui.export.ExportBase`.
97
138
  * The passed function and listener object must match the ones used for event registration.
139
+ *
140
+ * @returns Reference to `this` in order to allow method chaining
98
141
  */
99
142
  detachBeforeExport(
100
143
  /**
@@ -109,16 +152,18 @@ declare namespace sap {
109
152
  /**
110
153
  * Sets the data source configuration that will be used for exporting the data. If the passed parameter
111
154
  * is null, the call will be ignored.
155
+ *
156
+ * @returns - Valid dataSource object or null in case the dataSource configuration is not supported
112
157
  */
113
158
  processDataSource(
114
159
  /**
115
160
  * Possible types are a data source configuration, a `sap.ui.model.ListBinding` or `sap.ui.model.TreeBinding`
116
161
  */
117
162
  oDataSource:
118
- | Object
163
+ | object
119
164
  | sap.ui.model.ListBinding
120
165
  | sap.ui.model.TreeBinding
121
- ): Object | null;
166
+ ): object | null;
122
167
  }
123
168
  /**
124
169
  * @SINCE 1.50
@@ -180,7 +225,7 @@ declare namespace sap {
180
225
  * - `workbook.context` - Context object that will be applied to the generated file. It may contain the
181
226
  * following fields:
182
227
  * - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
183
- * - `version` (string) - Application version that creates the XLSX document (default: "1.100.0")
228
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.102.0")
184
229
  * - `title` (string) - Title of the XLSX document (NOT the filename)
185
230
  * - `modifiedBy` (string) - User context for the XLSX document
186
231
  * - `sheetName` (string) - The label of the data sheet
@@ -266,7 +311,7 @@ declare namespace sap {
266
311
  * columns: aColumns,
267
312
  * context: {
268
313
  * application: 'Debug Test Application',
269
- * version: '1.100.0',
314
+ * version: '1.102.0',
270
315
  * title: 'Some random title',
271
316
  * modifiedBy: 'John Doe',
272
317
  * metaSheetName: 'Custom metadata',
@@ -432,6 +477,8 @@ declare namespace sap {
432
477
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
433
478
  * otherwise it will be bound to this `sap.ui.export.Spreadsheet` itself.
434
479
  * This event is fired just before the generated file is saved to the file system.
480
+ *
481
+ * @returns Reference to `this` in order to allow method chaining
435
482
  */
436
483
  attachBeforeSave(
437
484
  /**
@@ -456,6 +503,8 @@ declare namespace sap {
456
503
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
457
504
  * otherwise it will be bound to this `sap.ui.export.Spreadsheet` itself.
458
505
  * This event is fired just before the generated file is saved to the file system.
506
+ *
507
+ * @returns Reference to `this` in order to allow method chaining
459
508
  */
460
509
  attachBeforeSave(
461
510
  /**
@@ -471,6 +520,8 @@ declare namespace sap {
471
520
  * @SINCE 1.52
472
521
  *
473
522
  * Cancels a running export process. This method does nothing if no export is running.
523
+ *
524
+ * @returns - Reference to `this` in order to allow method chaining
474
525
  */
475
526
  cancel(): this;
476
527
  /**
@@ -479,6 +530,8 @@ declare namespace sap {
479
530
  * Detaches event handler `fnFunction` from the {@link sap.ui.export.Spreadsheet beforeSave} event of this
480
531
  * `sap.ui.export.Spreadsheet`.
481
532
  * The passed function and listener object must match the ones used for event registration.
533
+ *
534
+ * @returns Reference to `this` in order to allow method chaining
482
535
  */
483
536
  detachBeforeSave(
484
537
  /**
@@ -561,6 +614,8 @@ declare namespace sap {
561
614
  interface IUI5DefineDependencyNames {
562
615
  "sap/ui/export/ExportBase": undefined;
563
616
 
617
+ "sap/ui/export/ExportHandler": undefined;
618
+
564
619
  "sap/ui/export/ExportUtils": undefined;
565
620
 
566
621
  "sap/ui/export/library": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.100.0
1
+ // For Library Version: 1.102.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {