@sapui5/types 1.116.0 → 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 (64) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +114 -30
  5. package/types/sap.chart.d.ts +29 -8
  6. package/types/sap.collaboration.d.ts +5 -2
  7. package/types/sap.esh.search.ui.d.ts +9 -3
  8. package/types/sap.f.d.ts +130 -36
  9. package/types/sap.fe.core.d.ts +21 -11
  10. package/types/sap.fe.macros.d.ts +160 -9
  11. package/types/sap.fe.placeholder.d.ts +1 -1
  12. package/types/sap.fe.plugins.optimisticBatch.d.ts +3 -0
  13. package/types/sap.fe.test.d.ts +1 -1
  14. package/types/sap.fe.tools.d.ts +1 -1
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +282 -1118
  17. package/types/sap.insights.d.ts +248 -2
  18. package/types/sap.landvisz.d.ts +53 -14
  19. package/types/sap.m.d.ts +1793 -403
  20. package/types/sap.makit.d.ts +22 -7
  21. package/types/sap.me.d.ts +33 -9
  22. package/types/sap.ndc.d.ts +20 -15
  23. package/types/sap.ovp.d.ts +7 -97
  24. package/types/sap.rules.ui.d.ts +17 -5
  25. package/types/sap.sac.df.d.ts +90 -1
  26. package/types/sap.suite.ui.commons.d.ts +439 -108
  27. package/types/sap.suite.ui.generic.template.d.ts +5 -2
  28. package/types/sap.suite.ui.microchart.d.ts +69 -18
  29. package/types/sap.tnt.d.ts +13 -4
  30. package/types/sap.ui.codeeditor.d.ts +9 -3
  31. package/types/sap.ui.commons.d.ts +236 -68
  32. package/types/sap.ui.comp.d.ts +544 -169
  33. package/types/sap.ui.core.d.ts +934 -264
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +204 -3
  36. package/types/sap.ui.fl.d.ts +21 -6
  37. package/types/sap.ui.generic.app.d.ts +1 -1
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +71 -13
  40. package/types/sap.ui.layout.d.ts +95 -30
  41. package/types/sap.ui.mdc.d.ts +296 -98
  42. package/types/sap.ui.richtexteditor.d.ts +17 -5
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +9 -3
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +118 -24
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +209 -53
  49. package/types/sap.ui.ux3.d.ts +220 -61
  50. package/types/sap.ui.vbm.d.ts +184 -61
  51. package/types/sap.ui.vk.d.ts +544 -139
  52. package/types/sap.ui.vtm.d.ts +130 -37
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +137 -35
  55. package/types/sap.ui.webc.main.d.ts +331 -100
  56. package/types/sap.uiext.inbox.d.ts +50 -14
  57. package/types/sap.ushell.d.ts +625 -46
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +42 -12
  60. package/types/sap.viz.d.ts +521 -137
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +29 -8
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.116.0
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,7 +261,199 @@ declare module "sap/ui/export/ExportBase" {
255
261
 
256
262
  export interface ExportBase$BeforeExportEventParameters {}
257
263
 
258
- export type ExportBase$BeforeExportEvent = Event<ExportBase$BeforeExportEventParameters>;
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
+
279
+ /**
280
+ * @since 1.102
281
+ *
282
+ * The `sap.ui.export.ExportHandler` class allows you to export table data from an SAPUI5 application.
283
+ */
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
+ );
295
+
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
+ >;
259
457
  }
260
458
 
261
459
  declare module "sap/ui/export/Spreadsheet" {
@@ -674,7 +872,10 @@ declare module "sap/ui/export/Spreadsheet" {
674
872
 
675
873
  export interface Spreadsheet$BeforeSaveEventParameters {}
676
874
 
677
- export type Spreadsheet$BeforeSaveEvent = Event<Spreadsheet$BeforeSaveEventParameters>;
875
+ export type Spreadsheet$BeforeSaveEvent = Event<
876
+ Spreadsheet$BeforeSaveEventParameters,
877
+ Spreadsheet
878
+ >;
678
879
  }
679
880
 
680
881
  declare module "sap/ui/export/util/Filter" {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1179,11 +1179,17 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1179
1179
 
1180
1180
  export interface VariantManagement$CancelEventParameters {}
1181
1181
 
1182
- export type VariantManagement$CancelEvent = Event<VariantManagement$CancelEventParameters>;
1182
+ export type VariantManagement$CancelEvent = Event<
1183
+ VariantManagement$CancelEventParameters,
1184
+ VariantManagement
1185
+ >;
1183
1186
 
1184
1187
  export interface VariantManagement$InitializedEventParameters {}
1185
1188
 
1186
- export type VariantManagement$InitializedEvent = Event<VariantManagement$InitializedEventParameters>;
1189
+ export type VariantManagement$InitializedEvent = Event<
1190
+ VariantManagement$InitializedEventParameters,
1191
+ VariantManagement
1192
+ >;
1187
1193
 
1188
1194
  export interface VariantManagement$ManageEventParameters {
1189
1195
  /**
@@ -1208,7 +1214,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1208
1214
  def?: string;
1209
1215
  }
1210
1216
 
1211
- export type VariantManagement$ManageEvent = Event<VariantManagement$ManageEventParameters>;
1217
+ export type VariantManagement$ManageEvent = Event<
1218
+ VariantManagement$ManageEventParameters,
1219
+ VariantManagement
1220
+ >;
1212
1221
 
1213
1222
  export interface VariantManagement$SaveEventParameters {
1214
1223
  /**
@@ -1249,7 +1258,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1249
1258
  tile?: boolean;
1250
1259
  }
1251
1260
 
1252
- export type VariantManagement$SaveEvent = Event<VariantManagement$SaveEventParameters>;
1261
+ export type VariantManagement$SaveEvent = Event<
1262
+ VariantManagement$SaveEventParameters,
1263
+ VariantManagement
1264
+ >;
1253
1265
 
1254
1266
  export interface VariantManagement$SelectEventParameters {
1255
1267
  /**
@@ -1258,7 +1270,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1258
1270
  key?: string;
1259
1271
  }
1260
1272
 
1261
- export type VariantManagement$SelectEvent = Event<VariantManagement$SelectEventParameters>;
1273
+ export type VariantManagement$SelectEvent = Event<
1274
+ VariantManagement$SelectEventParameters,
1275
+ VariantManagement
1276
+ >;
1262
1277
  }
1263
1278
 
1264
1279
  declare module "sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant" {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/ui/generic/app/library" {
4
4
  export namespace navigation {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -600,7 +600,10 @@ declare module "sap/ui/integration/ActionDefinition" {
600
600
 
601
601
  export interface ActionDefinition$PressEventParameters {}
602
602
 
603
- export type ActionDefinition$PressEvent = Event<ActionDefinition$PressEventParameters>;
603
+ export type ActionDefinition$PressEvent = Event<
604
+ ActionDefinition$PressEventParameters,
605
+ ActionDefinition
606
+ >;
604
607
  }
605
608
 
606
609
  declare module "sap/ui/integration/widgets/Card" {
@@ -1468,6 +1471,12 @@ declare module "sap/ui/integration/widgets/Card" {
1468
1471
  */
1469
1472
  eCardArea?: CardArea | keyof typeof CardArea
1470
1473
  ): void;
1474
+ /**
1475
+ * @experimental (since 1.117)
1476
+ *
1477
+ * Hides the message previously shown by showMessage.
1478
+ */
1479
+ hideMessage(): void;
1471
1480
  /**
1472
1481
  * @since 1.85
1473
1482
  * @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
@@ -2010,6 +2019,12 @@ declare module "sap/ui/integration/widgets/Card" {
2010
2019
  */
2011
2020
  eCardArea?: CardArea | keyof typeof CardArea
2012
2021
  ): void;
2022
+ /**
2023
+ * @experimental (since 1.117)
2024
+ *
2025
+ * Hides the message previously shown by showMessage.
2026
+ */
2027
+ hideMessage(): void;
2013
2028
  /**
2014
2029
  * @since 1.85
2015
2030
  * @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
@@ -2410,7 +2425,7 @@ declare module "sap/ui/integration/widgets/Card" {
2410
2425
  type?: CardActionType | keyof typeof CardActionType;
2411
2426
  }
2412
2427
 
2413
- export type Card$ActionEvent = Event<Card$ActionEventParameters>;
2428
+ export type Card$ActionEvent = Event<Card$ActionEventParameters, Card>;
2414
2429
 
2415
2430
  export interface Card$ConfigurationChangeEventParameters {
2416
2431
  /**
@@ -2428,19 +2443,31 @@ declare module "sap/ui/integration/widgets/Card" {
2428
2443
  changes?: object;
2429
2444
  }
2430
2445
 
2431
- export type Card$ConfigurationChangeEvent = Event<Card$ConfigurationChangeEventParameters>;
2446
+ export type Card$ConfigurationChangeEvent = Event<
2447
+ Card$ConfigurationChangeEventParameters,
2448
+ Card
2449
+ >;
2432
2450
 
2433
2451
  export interface Card$ManifestAppliedEventParameters {}
2434
2452
 
2435
- export type Card$ManifestAppliedEvent = Event<Card$ManifestAppliedEventParameters>;
2453
+ export type Card$ManifestAppliedEvent = Event<
2454
+ Card$ManifestAppliedEventParameters,
2455
+ Card
2456
+ >;
2436
2457
 
2437
2458
  export interface Card$ManifestReadyEventParameters {}
2438
2459
 
2439
- export type Card$ManifestReadyEvent = Event<Card$ManifestReadyEventParameters>;
2460
+ export type Card$ManifestReadyEvent = Event<
2461
+ Card$ManifestReadyEventParameters,
2462
+ Card
2463
+ >;
2440
2464
 
2441
2465
  export interface Card$StateChangedEventParameters {}
2442
2466
 
2443
- export type Card$StateChangedEvent = Event<Card$StateChangedEventParameters>;
2467
+ export type Card$StateChangedEvent = Event<
2468
+ Card$StateChangedEventParameters,
2469
+ Card
2470
+ >;
2444
2471
  }
2445
2472
 
2446
2473
  declare module "sap/ui/integration/Designtime" {
@@ -3187,6 +3214,25 @@ declare module "sap/ui/integration/Extension" {
3187
3214
  * Called after the card is initialized.
3188
3215
  */
3189
3216
  onCardReady(): void;
3217
+ /**
3218
+ * @deprecated (since 1.85) - This property is replaced by the `actions` aggregation of the card;
3219
+ * @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
3220
+ * may be done before its official public release. Use at your own discretion.
3221
+ *
3222
+ * Sets a new value for property {@link #getActions actions}.
3223
+ *
3224
+ * The actions configuration.
3225
+ *
3226
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3227
+ *
3228
+ * @returns Reference to `this` in order to allow method chaining
3229
+ */
3230
+ setActions(
3231
+ /**
3232
+ * New value for property `actions`
3233
+ */
3234
+ sActions: CardMenuAction[]
3235
+ ): this;
3190
3236
  /**
3191
3237
  * Sets current value of property {@link #setFormatters formatters}.
3192
3238
  *
@@ -3260,7 +3306,10 @@ declare module "sap/ui/integration/Extension" {
3260
3306
  type?: CardActionType | keyof typeof CardActionType;
3261
3307
  }
3262
3308
 
3263
- export type Extension$ActionEvent = Event<Extension$ActionEventParameters>;
3309
+ export type Extension$ActionEvent = Event<
3310
+ Extension$ActionEventParameters,
3311
+ Extension
3312
+ >;
3264
3313
  }
3265
3314
 
3266
3315
  declare module "sap/ui/integration/Host" {
@@ -4057,7 +4106,7 @@ declare module "sap/ui/integration/Host" {
4057
4106
  type?: CardActionType | keyof typeof CardActionType;
4058
4107
  }
4059
4108
 
4060
- export type Host$ActionEvent = Event<Host$ActionEventParameters>;
4109
+ export type Host$ActionEvent = Event<Host$ActionEventParameters, Host>;
4061
4110
 
4062
4111
  export interface Host$CardConfigurationChangeEventParameters {
4063
4112
  /**
@@ -4080,7 +4129,10 @@ declare module "sap/ui/integration/Host" {
4080
4129
  changes?: object;
4081
4130
  }
4082
4131
 
4083
- export type Host$CardConfigurationChangeEvent = Event<Host$CardConfigurationChangeEventParameters>;
4132
+ export type Host$CardConfigurationChangeEvent = Event<
4133
+ Host$CardConfigurationChangeEventParameters,
4134
+ Host
4135
+ >;
4084
4136
 
4085
4137
  export interface Host$CardInitializedEventParameters {
4086
4138
  /**
@@ -4089,7 +4141,10 @@ declare module "sap/ui/integration/Host" {
4089
4141
  card?: Control;
4090
4142
  }
4091
4143
 
4092
- export type Host$CardInitializedEvent = Event<Host$CardInitializedEventParameters>;
4144
+ export type Host$CardInitializedEvent = Event<
4145
+ Host$CardInitializedEventParameters,
4146
+ Host
4147
+ >;
4093
4148
 
4094
4149
  export interface Host$CardStateChangedEventParameters {
4095
4150
  /**
@@ -4098,13 +4153,16 @@ declare module "sap/ui/integration/Host" {
4098
4153
  card?: Control;
4099
4154
  }
4100
4155
 
4101
- export type Host$CardStateChangedEvent = Event<Host$CardStateChangedEventParameters>;
4156
+ export type Host$CardStateChangedEvent = Event<
4157
+ Host$CardStateChangedEventParameters,
4158
+ Host
4159
+ >;
4102
4160
 
4103
4161
  export interface Host$MessageEventParameters {
4104
4162
  data?: object;
4105
4163
  }
4106
4164
 
4107
- export type Host$MessageEvent = Event<Host$MessageEventParameters>;
4165
+ export type Host$MessageEvent = Event<Host$MessageEventParameters, Host>;
4108
4166
  }
4109
4167
 
4110
4168
  declare namespace sap {