@sapui5/types 1.115.1 → 1.117.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 (65) hide show
  1. package/README.md +5 -3
  2. package/package.json +1 -1
  3. package/types/index.d.ts +10 -3
  4. package/types/sap.apf.d.ts +47 -40
  5. package/types/sap.ca.ui.d.ts +255 -161
  6. package/types/sap.chart.d.ts +31 -52
  7. package/types/sap.collaboration.d.ts +34 -38
  8. package/types/sap.esh.search.ui.d.ts +118 -109
  9. package/types/sap.f.d.ts +196 -276
  10. package/types/sap.fe.core.d.ts +151 -15
  11. package/types/sap.fe.macros.d.ts +181 -54
  12. package/types/sap.fe.placeholder.d.ts +1 -1
  13. package/types/sap.fe.plugins.optimisticBatch.d.ts +3 -0
  14. package/types/sap.fe.test.d.ts +1 -1
  15. package/types/sap.fe.tools.d.ts +1 -1
  16. package/types/sap.feedback.ui.d.ts +1 -1
  17. package/types/sap.gantt.d.ts +1406 -2521
  18. package/types/sap.insights.d.ts +250 -4
  19. package/types/sap.landvisz.d.ts +112 -67
  20. package/types/sap.m.d.ts +2202 -2899
  21. package/types/sap.makit.d.ts +22 -43
  22. package/types/sap.me.d.ts +38 -68
  23. package/types/sap.ndc.d.ts +41 -39
  24. package/types/sap.ovp.d.ts +10 -83
  25. package/types/sap.rules.ui.d.ts +50 -51
  26. package/types/sap.sac.df.d.ts +100 -12
  27. package/types/sap.suite.ui.commons.d.ts +1511 -1233
  28. package/types/sap.suite.ui.generic.template.d.ts +5 -8
  29. package/types/sap.suite.ui.microchart.d.ts +72 -123
  30. package/types/sap.tnt.d.ts +64 -29
  31. package/types/sap.ui.codeeditor.d.ts +11 -17
  32. package/types/sap.ui.commons.d.ts +278 -422
  33. package/types/sap.ui.comp.d.ts +830 -948
  34. package/types/sap.ui.core.d.ts +1160 -1090
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +201 -12
  37. package/types/sap.ui.fl.d.ts +24 -74
  38. package/types/sap.ui.generic.app.d.ts +39 -43
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +192 -100
  41. package/types/sap.ui.layout.d.ts +100 -69
  42. package/types/sap.ui.mdc.d.ts +1100 -913
  43. package/types/sap.ui.richtexteditor.d.ts +18 -30
  44. package/types/sap.ui.rta.d.ts +1 -1
  45. package/types/sap.ui.suite.d.ts +9 -15
  46. package/types/sap.ui.support.d.ts +1 -1
  47. package/types/sap.ui.table.d.ts +140 -192
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +277 -501
  50. package/types/sap.ui.ux3.d.ts +263 -504
  51. package/types/sap.ui.vbm.d.ts +691 -541
  52. package/types/sap.ui.vk.d.ts +1916 -1834
  53. package/types/sap.ui.vtm.d.ts +428 -329
  54. package/types/sap.ui.webc.common.d.ts +1 -1
  55. package/types/sap.ui.webc.fiori.d.ts +864 -342
  56. package/types/sap.ui.webc.main.d.ts +4337 -1135
  57. package/types/sap.uiext.inbox.d.ts +50 -92
  58. package/types/sap.ushell.d.ts +275 -309
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +51 -91
  61. package/types/sap.viz.d.ts +523 -959
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +7 -12
  64. package/types/sap.zen.crosstab.d.ts +4 -7
  65. package/types/sap.zen.dsh.d.ts +154 -157
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/ui/export/library" {
4
4
  /**
@@ -60,6 +60,12 @@ declare module "sap/ui/export/library" {
60
60
  * File types for document export.
61
61
  */
62
62
  export enum FileType {
63
+ /**
64
+ * @since 1.117
65
+ *
66
+ * Portable Document Format (PDF) file type.
67
+ */
68
+ PDF = "PDF",
63
69
  /**
64
70
  * Office Open XML - SpreadsheetML file type.
65
71
  */
@@ -255,13 +261,199 @@ declare module "sap/ui/export/ExportBase" {
255
261
 
256
262
  export interface ExportBase$BeforeExportEventParameters {}
257
263
 
264
+ export type ExportBase$BeforeExportEvent = Event<
265
+ ExportBase$BeforeExportEventParameters,
266
+ ExportBase
267
+ >;
268
+ }
269
+
270
+ declare module "sap/ui/export/ExportHandler" {
271
+ import EventProvider from "sap/ui/base/EventProvider";
272
+
273
+ import Metadata from "sap/ui/base/Metadata";
274
+
275
+ import Filter from "sap/ui/export/util/Filter";
276
+
277
+ import Event from "sap/ui/base/Event";
278
+
258
279
  /**
259
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'ExportBase$BeforeExportEventParameters'
260
- * in 1.115.1 and any later releases.
280
+ * @since 1.102
281
+ *
282
+ * The `sap.ui.export.ExportHandler` class allows you to export table data from an SAPUI5 application.
261
283
  */
262
- export type $ExportBaseBeforeExportEventParameters = ExportBase$BeforeExportEventParameters;
284
+ export default class ExportHandler extends EventProvider {
285
+ /**
286
+ * Any export-related functionality is encapsulated in the `ExportHandler` that also stores user settings
287
+ * throughout the session.
288
+ */
289
+ constructor(
290
+ /**
291
+ * `ExportHandler` capabilities that define supported file types and features
292
+ */
293
+ mCapabilities: object
294
+ );
263
295
 
264
- export type ExportBase$BeforeExportEvent = Event<ExportBase$BeforeExportEventParameters>;
296
+ /**
297
+ * Creates a new subclass of class sap.ui.export.ExportHandler with name `sClassName` and enriches it with
298
+ * the information contained in `oClassInfo`.
299
+ *
300
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.EventProvider.extend}.
301
+ *
302
+ * @returns Created class / constructor function
303
+ */
304
+ static extend<T extends Record<string, unknown>>(
305
+ /**
306
+ * Name of the class being created
307
+ */
308
+ sClassName: string,
309
+ /**
310
+ * Object literal with information about the class
311
+ */
312
+ oClassInfo?: sap.ClassInfo<T, ExportHandler>,
313
+ /**
314
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
315
+ * used by this class
316
+ */
317
+ FNMetaImpl?: Function
318
+ ): Function;
319
+ /**
320
+ * Returns a metadata object for class sap.ui.export.ExportHandler.
321
+ *
322
+ * @returns Metadata object describing this class
323
+ */
324
+ static getMetadata(): Metadata;
325
+ /**
326
+ * @since 1.102
327
+ *
328
+ * Attaches event handler `fnFunction` to the {@link sap.ui.export.ExportHandler#event:beforeExport} event
329
+ * of this `sap.ui.export.ExportHandler`.
330
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
331
+ * otherwise it will be bound to this `sap.ui.export.ExportHandler` itself.
332
+ * This event is fired just before the export process is started.
333
+ *
334
+ * @returns Reference to `this` in order to allow method chaining
335
+ */
336
+ attachBeforeExport(
337
+ /**
338
+ * An application-specific payload object that will be passed to the event handler along with the event
339
+ * object when firing the event
340
+ */
341
+ oData: object,
342
+ /**
343
+ * The function to be called when the event occurs
344
+ */
345
+ fnHandler: Function,
346
+ /**
347
+ * Context object to call the event handler with; defaults to this `sap.ui.export.ExportHandler` instance
348
+ * itself
349
+ */
350
+ oListener?: object
351
+ ): this;
352
+ /**
353
+ * @since 1.102
354
+ *
355
+ * Attaches event handler `fnFunction` to the {@link sap.ui.export.ExportHandler#event:beforeExport} event
356
+ * of this `sap.ui.export.ExportHandler`.
357
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
358
+ * otherwise it will be bound to this `sap.ui.export.ExportHandler` itself.
359
+ * This event is fired just before the export process is started.
360
+ *
361
+ * @returns Reference to `this` in order to allow method chaining
362
+ */
363
+ attachBeforeExport(
364
+ /**
365
+ * The function to be called when the event occurs
366
+ */
367
+ fnHandler: Function,
368
+ /**
369
+ * Context object to call the event handler with; defaults to this `sap.ui.export.ExportHandler` instance
370
+ * itself
371
+ */
372
+ oListener?: object
373
+ ): this;
374
+ /**
375
+ * Cleans up the internal structures and removes all event handlers.
376
+ *
377
+ * The object must not be used anymore after destroy was called.
378
+ * See:
379
+ * sap.ui.base.Object#destroy
380
+ */
381
+ destroy(): void;
382
+ /**
383
+ * @since 1.102
384
+ *
385
+ * Detaches event handler `fnFunction` from the {@link sap.ui.export.ExportHandler#event:beforeExport} event
386
+ * of this `sap.ui.export.ExportHandler`.
387
+ * The passed function and listener object must match the ones used for event registration.
388
+ *
389
+ * @returns Reference to `this` in order to allow method chaining
390
+ */
391
+ detachBeforeExport(
392
+ /**
393
+ * The function to be called when the event occurs
394
+ */
395
+ fnHandler: Function,
396
+ /**
397
+ * Context object on which the given function had to be called
398
+ */
399
+ oListener?: object
400
+ ): this;
401
+ /**
402
+ * @since 1.102
403
+ *
404
+ * Exports the data as defined via parameter. The function returns a `Promise` that will be resolved after
405
+ * the export process has been finished. In case of an error, its message will be shown in a `Dialog`, and
406
+ * the `Promise` will be rejected.
407
+ *
408
+ * @returns A `Promise` that gets resolved after the export process has been finished
409
+ */
410
+ export(
411
+ /**
412
+ * Export settings that are used for the export
413
+ */
414
+ mExportSettings: object
415
+ ): Promise<any>;
416
+ /**
417
+ * @since 1.102
418
+ *
419
+ * Exports the data as defined by the user. This function will show an export settings dialog where the
420
+ * user can define certain settings that influence the output of the export functionality.
421
+ *
422
+ * @returns A `Promise` that resolves once the data has been exported
423
+ */
424
+ exportAs(
425
+ /**
426
+ * General export settings containing `workbook` and `dataSource` information
427
+ */
428
+ oSettings: object,
429
+ /**
430
+ * Resolves the label for a particular column that is not directly contained in the export settings
431
+ */
432
+ fnResolveColumnLabel?: Function
433
+ ): Promise<any>;
434
+ }
435
+
436
+ export interface ExportHandler$BeforeExportEventParameters {
437
+ /**
438
+ * Contains export-related configuration
439
+ */
440
+ exportSettings?: object;
441
+
442
+ /**
443
+ * User-specific settings from the Export As dialog
444
+ */
445
+ userExportSettings?: object;
446
+
447
+ /**
448
+ * Array of filter settings for the exported data
449
+ */
450
+ filterSettings?: Filter[];
451
+ }
452
+
453
+ export type ExportHandler$BeforeExportEvent = Event<
454
+ ExportHandler$BeforeExportEventParameters,
455
+ ExportHandler
456
+ >;
265
457
  }
266
458
 
267
459
  declare module "sap/ui/export/Spreadsheet" {
@@ -680,13 +872,10 @@ declare module "sap/ui/export/Spreadsheet" {
680
872
 
681
873
  export interface Spreadsheet$BeforeSaveEventParameters {}
682
874
 
683
- /**
684
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Spreadsheet$BeforeSaveEventParameters'
685
- * in 1.115.1 and any later releases.
686
- */
687
- export type $SpreadsheetBeforeSaveEventParameters = Spreadsheet$BeforeSaveEventParameters;
688
-
689
- export type Spreadsheet$BeforeSaveEvent = Event<Spreadsheet$BeforeSaveEventParameters>;
875
+ export type Spreadsheet$BeforeSaveEvent = Event<
876
+ Spreadsheet$BeforeSaveEventParameters,
877
+ Spreadsheet
878
+ >;
690
879
  }
691
880
 
692
881
  declare module "sap/ui/export/util/Filter" {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -744,17 +744,6 @@ declare module "sap/ui/fl/variants/VariantManagement" {
744
744
  * @returns Value of property `inErrorState`
745
745
  */
746
746
  getInErrorState(): boolean;
747
- /**
748
- * Gets current value of property {@link #getManualVariantKey manualVariantKey}.
749
- *
750
- * If set to `true`, the key for a vendor variant will be added manually.
751
- * **Note:** This flag is only used internally.
752
- *
753
- * Default value is `false`.
754
- *
755
- * @returns Value of property `manualVariantKey`
756
- */
757
- getManualVariantKey(): boolean;
758
747
  /**
759
748
  * @since 1.109
760
749
  *
@@ -964,24 +953,6 @@ declare module "sap/ui/fl/variants/VariantManagement" {
964
953
  */
965
954
  bInErrorState?: boolean
966
955
  ): this;
967
- /**
968
- * Sets a new value for property {@link #getManualVariantKey manualVariantKey}.
969
- *
970
- * If set to `true`, the key for a vendor variant will be added manually.
971
- * **Note:** This flag is only used internally.
972
- *
973
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
974
- *
975
- * Default value is `false`.
976
- *
977
- * @returns Reference to `this` in order to allow method chaining
978
- */
979
- setManualVariantKey(
980
- /**
981
- * New value for property `manualVariantKey`
982
- */
983
- bManualVariantKey?: boolean
984
- ): this;
985
956
  /**
986
957
  * @since 1.109
987
958
  *
@@ -1124,12 +1095,6 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1124
1095
  */
1125
1096
  showSetAsDefault?: boolean | PropertyBindingInfo | `{${string}}`;
1126
1097
 
1127
- /**
1128
- * If set to `true`, the key for a vendor variant will be added manually.
1129
- * **Note:** This flag is only used internally.
1130
- */
1131
- manualVariantKey?: boolean | PropertyBindingInfo | `{${string}}`;
1132
-
1133
1098
  /**
1134
1099
  * Indicates that the control is in error state. If set to `true`, an error message will be displayed whenever
1135
1100
  * the variant is opened.
@@ -1194,7 +1159,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1194
1159
  * This event is fired when the Save View dialog or the Save As dialog is closed with the
1195
1160
  * save button.
1196
1161
  */
1197
- save?: (oEvent: Event<VariantManagement$SaveEventParameters>) => void;
1162
+ save?: (oEvent: VariantManagement$SaveEvent) => void;
1198
1163
 
1199
1164
  /**
1200
1165
  * This event is fired when users presses the cancel button inside Save As dialog.
@@ -1204,33 +1169,27 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1204
1169
  /**
1205
1170
  * This event is fired when users apply changes to variants in the Manage Views dialog.
1206
1171
  */
1207
- manage?: (oEvent: Event<VariantManagement$ManageEventParameters>) => void;
1172
+ manage?: (oEvent: VariantManagement$ManageEvent) => void;
1208
1173
 
1209
1174
  /**
1210
1175
  * This event is fired when a new variant is selected.
1211
1176
  */
1212
- select?: (oEvent: Event<VariantManagement$SelectEventParameters>) => void;
1177
+ select?: (oEvent: VariantManagement$SelectEvent) => void;
1213
1178
  }
1214
1179
 
1215
1180
  export interface VariantManagement$CancelEventParameters {}
1216
1181
 
1217
- /**
1218
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'VariantManagement$CancelEventParameters'
1219
- * in 1.115.1 and any later releases.
1220
- */
1221
- export type $VariantManagementCancelEventParameters = VariantManagement$CancelEventParameters;
1222
-
1223
- export type VariantManagement$CancelEvent = Event<VariantManagement$CancelEventParameters>;
1182
+ export type VariantManagement$CancelEvent = Event<
1183
+ VariantManagement$CancelEventParameters,
1184
+ VariantManagement
1185
+ >;
1224
1186
 
1225
1187
  export interface VariantManagement$InitializedEventParameters {}
1226
1188
 
1227
- /**
1228
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'VariantManagement$InitializedEventParameters'
1229
- * in 1.115.1 and any later releases.
1230
- */
1231
- export type $VariantManagementInitializedEventParameters = VariantManagement$InitializedEventParameters;
1232
-
1233
- export type VariantManagement$InitializedEvent = Event<VariantManagement$InitializedEventParameters>;
1189
+ export type VariantManagement$InitializedEvent = Event<
1190
+ VariantManagement$InitializedEventParameters,
1191
+ VariantManagement
1192
+ >;
1234
1193
 
1235
1194
  export interface VariantManagement$ManageEventParameters {
1236
1195
  /**
@@ -1255,13 +1214,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1255
1214
  def?: string;
1256
1215
  }
1257
1216
 
1258
- /**
1259
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'VariantManagement$ManageEventParameters'
1260
- * in 1.115.1 and any later releases.
1261
- */
1262
- export type $VariantManagementManageEventParameters = VariantManagement$ManageEventParameters;
1263
-
1264
- export type VariantManagement$ManageEvent = Event<VariantManagement$ManageEventParameters>;
1217
+ export type VariantManagement$ManageEvent = Event<
1218
+ VariantManagement$ManageEventParameters,
1219
+ VariantManagement
1220
+ >;
1265
1221
 
1266
1222
  export interface VariantManagement$SaveEventParameters {
1267
1223
  /**
@@ -1302,13 +1258,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1302
1258
  tile?: boolean;
1303
1259
  }
1304
1260
 
1305
- /**
1306
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'VariantManagement$SaveEventParameters'
1307
- * in 1.115.1 and any later releases.
1308
- */
1309
- export type $VariantManagementSaveEventParameters = VariantManagement$SaveEventParameters;
1310
-
1311
- export type VariantManagement$SaveEvent = Event<VariantManagement$SaveEventParameters>;
1261
+ export type VariantManagement$SaveEvent = Event<
1262
+ VariantManagement$SaveEventParameters,
1263
+ VariantManagement
1264
+ >;
1312
1265
 
1313
1266
  export interface VariantManagement$SelectEventParameters {
1314
1267
  /**
@@ -1317,13 +1270,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1317
1270
  key?: string;
1318
1271
  }
1319
1272
 
1320
- /**
1321
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'VariantManagement$SelectEventParameters'
1322
- * in 1.115.1 and any later releases.
1323
- */
1324
- export type $VariantManagementSelectEventParameters = VariantManagement$SelectEventParameters;
1325
-
1326
- export type VariantManagement$SelectEvent = Event<VariantManagement$SelectEventParameters>;
1273
+ export type VariantManagement$SelectEvent = Event<
1274
+ VariantManagement$SelectEventParameters,
1275
+ VariantManagement
1276
+ >;
1327
1277
  }
1328
1278
 
1329
1279
  declare module "sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant" {