@sapui5/types 1.114.0 → 1.115.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 (65) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +2 -0
  3. package/types/sap.apf.d.ts +70 -60
  4. package/types/sap.ca.ui.d.ts +207 -105
  5. package/types/sap.chart.d.ts +213 -143
  6. package/types/sap.collaboration.d.ts +98 -87
  7. package/types/sap.esh.search.ui.d.ts +92 -2
  8. package/types/sap.f.d.ts +1780 -1315
  9. package/types/sap.fe.core.d.ts +78 -205
  10. package/types/sap.fe.macros.d.ts +120 -10
  11. package/types/sap.fe.navigation.d.ts +39 -32
  12. package/types/sap.fe.placeholder.d.ts +3 -0
  13. package/types/sap.fe.templates.d.ts +16 -292
  14. package/types/sap.fe.test.d.ts +40 -13
  15. package/types/sap.fe.tools.d.ts +3 -0
  16. package/types/sap.feedback.ui.d.ts +1 -1
  17. package/types/sap.gantt.d.ts +1987 -1251
  18. package/types/sap.insights.d.ts +1 -1
  19. package/types/sap.landvisz.d.ts +75 -29
  20. package/types/sap.m.d.ts +12407 -8461
  21. package/types/sap.makit.d.ts +88 -28
  22. package/types/sap.me.d.ts +167 -78
  23. package/types/sap.ndc.d.ts +115 -42
  24. package/types/sap.ovp.d.ts +3 -3
  25. package/types/sap.rules.ui.d.ts +53 -24
  26. package/types/sap.sac.df.d.ts +11 -8
  27. package/types/sap.suite.ui.commons.d.ts +2090 -1437
  28. package/types/sap.suite.ui.generic.template.d.ts +99 -97
  29. package/types/sap.suite.ui.microchart.d.ts +492 -322
  30. package/types/sap.tnt.d.ts +173 -95
  31. package/types/sap.ui.codeeditor.d.ts +61 -39
  32. package/types/sap.ui.commons.d.ts +1393 -846
  33. package/types/sap.ui.comp.d.ts +4159 -2878
  34. package/types/sap.ui.core.d.ts +6286 -3651
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +76 -53
  37. package/types/sap.ui.fl.d.ts +160 -100
  38. package/types/sap.ui.generic.app.d.ts +58 -49
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +502 -375
  41. package/types/sap.ui.layout.d.ts +603 -640
  42. package/types/sap.ui.mdc.d.ts +22208 -140
  43. package/types/sap.ui.richtexteditor.d.ts +106 -70
  44. package/types/sap.ui.rta.d.ts +7 -7
  45. package/types/sap.ui.suite.d.ts +29 -13
  46. package/types/sap.ui.support.d.ts +15 -16
  47. package/types/sap.ui.table.d.ts +907 -647
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +1765 -1179
  50. package/types/sap.ui.ux3.d.ts +1472 -807
  51. package/types/sap.ui.vbm.d.ts +1018 -760
  52. package/types/sap.ui.vk.d.ts +2858 -1896
  53. package/types/sap.ui.vtm.d.ts +650 -479
  54. package/types/sap.ui.webc.common.d.ts +5 -5
  55. package/types/sap.ui.webc.fiori.d.ts +817 -462
  56. package/types/sap.ui.webc.main.d.ts +2018 -1096
  57. package/types/sap.uiext.inbox.d.ts +168 -38
  58. package/types/sap.ushell.d.ts +738 -429
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +472 -348
  61. package/types/sap.viz.d.ts +2203 -835
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +15 -10
  64. package/types/sap.zen.crosstab.d.ts +7 -4
  65. package/types/sap.zen.dsh.d.ts +143 -87
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.114.0
1
+ // For Library Version: 1.115.1
2
2
 
3
3
  declare namespace sap {}
@@ -1,14 +1,14 @@
1
- // For Library Version: 1.114.0
1
+ // For Library Version: 1.115.1
2
2
 
3
3
  declare module "sap/ui/export/library" {
4
4
  /**
5
- * @SINCE 1.50.0
5
+ * @since 1.50.0
6
6
  *
7
7
  * EDM data types for document export.
8
8
  */
9
9
  export enum EdmType {
10
10
  /**
11
- * @SINCE 1.60
11
+ * @since 1.60
12
12
  *
13
13
  * Property of type BigNumber.
14
14
  */
@@ -30,7 +30,7 @@ declare module "sap/ui/export/library" {
30
30
  */
31
31
  DateTime = "DateTime",
32
32
  /**
33
- * @SINCE 1.58
33
+ * @since 1.58
34
34
  *
35
35
  * Property of type Enumeration.
36
36
  */
@@ -40,7 +40,7 @@ declare module "sap/ui/export/library" {
40
40
  */
41
41
  Number = "Number",
42
42
  /**
43
- * @SINCE 1.87
43
+ * @since 1.87
44
44
  *
45
45
  * Property of type Percentage.
46
46
  */
@@ -55,7 +55,7 @@ declare module "sap/ui/export/library" {
55
55
  Time = "Time",
56
56
  }
57
57
  /**
58
- * @SINCE 1.78
58
+ * @since 1.78
59
59
  *
60
60
  * File types for document export.
61
61
  */
@@ -78,8 +78,10 @@ declare module "sap/ui/export/ExportBase" {
78
78
 
79
79
  import TreeBinding from "sap/ui/model/TreeBinding";
80
80
 
81
+ import Event from "sap/ui/base/Event";
82
+
81
83
  /**
82
- * @SINCE 1.96
84
+ * @since 1.96
83
85
  *
84
86
  * The `sap.ui.export.ExportBase` class allows you to export table data from a UI5 application to certain
85
87
  * formats. This class is an abstract class that requires specific implementations for each file format.
@@ -148,7 +150,7 @@ declare module "sap/ui/export/ExportBase" {
148
150
  */
149
151
  static getMetadata(): Metadata;
150
152
  /**
151
- * @SINCE 1.96
153
+ * @since 1.96
152
154
  *
153
155
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.ExportBase#event:beforeExport} event
154
156
  * of this `sap.ui.export.ExportBase`.
@@ -174,7 +176,7 @@ declare module "sap/ui/export/ExportBase" {
174
176
  oListener?: object
175
177
  ): this;
176
178
  /**
177
- * @SINCE 1.96
179
+ * @since 1.96
178
180
  *
179
181
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.ExportBase#event:beforeExport} event
180
182
  * of this `sap.ui.export.ExportBase`.
@@ -213,7 +215,7 @@ declare module "sap/ui/export/ExportBase" {
213
215
  */
214
216
  destroy(): void;
215
217
  /**
216
- * @SINCE 1.96
218
+ * @since 1.96
217
219
  *
218
220
  * Detaches event handler `fnFunction` from the {@link sap.ui.export.ExportBase#event:beforeExport} event
219
221
  * of this `sap.ui.export.ExportBase`.
@@ -232,7 +234,7 @@ declare module "sap/ui/export/ExportBase" {
232
234
  oListener?: object
233
235
  ): this;
234
236
  /**
235
- * @SINCE 1.112
237
+ * @since 1.112
236
238
  *
237
239
  * Returns the specific MIME type
238
240
  */
@@ -250,6 +252,16 @@ declare module "sap/ui/export/ExportBase" {
250
252
  oDataSource: object | ListBinding | TreeBinding
251
253
  ): object | null;
252
254
  }
255
+
256
+ export interface ExportBase$BeforeExportEventParameters {}
257
+
258
+ /**
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.
261
+ */
262
+ export type $ExportBaseBeforeExportEventParameters = ExportBase$BeforeExportEventParameters;
263
+
264
+ export type ExportBase$BeforeExportEvent = Event<ExportBase$BeforeExportEventParameters>;
253
265
  }
254
266
 
255
267
  declare module "sap/ui/export/Spreadsheet" {
@@ -259,8 +271,10 @@ declare module "sap/ui/export/Spreadsheet" {
259
271
 
260
272
  import TreeBinding from "sap/ui/model/TreeBinding";
261
273
 
274
+ import Event from "sap/ui/base/Event";
275
+
262
276
  /**
263
- * @SINCE 1.50
277
+ * @since 1.50
264
278
  *
265
279
  * The `sap.ui.export.Spreadsheet` class allows you to export table data from a UI5 application to a spreadsheet
266
280
  * file.
@@ -276,7 +290,7 @@ declare module "sap/ui/export/Spreadsheet" {
276
290
  * thread of the browser. The status of the process is visually presented to the user in a progress dialog
277
291
  * that can be suppressed. The user can cancel the process with the Cancel button of the dialog.
278
292
  *
279
- * This class provides a low level API for spreadsheet export. The {@link sap.ui.comp.smarttable.SmartTable}
293
+ * This class provides a low level API for spreadsheet export. The {@link sap.ui.comp.smarttable.SmartTable }
280
294
  * control implements it internally and provides the export functionality out of the box. For special cases,
281
295
  * please refer to details below.
282
296
  *
@@ -293,23 +307,23 @@ declare module "sap/ui/export/Spreadsheet" {
293
307
  * `label` (string) - Column header text
294
308
  * - `property` (string) - Field name or Array of field names in the data source feed
295
309
  * - `type` (string) - Optional data type of the field. See {@link sap.ui.export.EdmType} for the list
296
- * of supported types. If this property is omitted, the property is processed as a string field.
310
+ * of supported types. If this property is omitted, the property is processed as a string field.
297
311
  * - `width` (number) - Optional width of the column in characters. There is no 1:1 correspondence between
298
- * character widths in the exported spreadsheet and CSS units.The width of one character is approximately
299
- * 0.5em in CSS units, depending on the fonts that are used in the table and in the resulting spreadsheet.
300
- * The default value is 10 characters.
312
+ * character widths in the exported spreadsheet and CSS units.The width of one character is approximately
313
+ * 0.5em in CSS units, depending on the fonts that are used in the table and in the resulting spreadsheet.
314
+ * The default value is 10 characters.
301
315
  * - `textAlign` (string) - Horizontal alignment of cell contents. The following values of the CSS `text-align`
302
- * property are accepted: `[left, right, center, begin, end]`. If not specified, the columns are horizontally
303
- * aligned based on the property type.
316
+ * property are accepted: `[left, right, center, begin, end]`. If not specified, the columns are horizontally
317
+ * aligned based on the property type.
304
318
  * - `scale` (number) - Number of digits after decimal point for numeric values
305
319
  * - `delimiter` (boolean) - Set to `true` to display thousands separators in numeric values. The default
306
- * value is `false`.
320
+ * value is `false`.
307
321
  * - `unit` (string) - Text to display as the unit of measurement or currency next to the numeric value.
308
- * It is treated as a string and has no influence on the value itself. For example, a value of 150 with
309
- * the unit "%" is still 150 and not 1.5, as a user may expect.
322
+ * It is treated as a string and has no influence on the value itself. For example, a value of 150 with
323
+ * the unit "%" is still 150 and not 1.5, as a user may expect.
310
324
  * - `unitProperty` (string) - Name of the data source field that contains the unit/currency text
311
325
  * - `displayUnit` (boolean) - The property applies to currency values only and defines if the currency
312
- * is shown in the column. The default value is `true`.
326
+ * is shown in the column. The default value is `true`.
313
327
  * - `trueValue` (string) - Textual representation of a boolean type that has the value `true`
314
328
  * - `falseValue` (string) - Textual representation of a boolean type that has the value `false`
315
329
  * - `template` (string) - Formatting template that supports indexed placeholders within curly brackets
@@ -317,45 +331,45 @@ declare module "sap/ui/export/Spreadsheet" {
317
331
  * - `inputFormat` (string) - Formatting template for string formatted dates
318
332
  * - `utc` (boolean) - Defines whether the `DateTime` is displayed as UTC or local time
319
333
  * - `valueMap` (string) - Mapping object or Map containing the values that should be mapped to a particular
320
- * key
334
+ * key
321
335
  * - `wrap` (boolean) - Indicates if wrapping is enabled for this particular column
322
336
  * - `workbook.context` - Context object that will be applied to the generated file. It may contain the
323
- * following fields:
337
+ * following fields:
324
338
  * - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
325
339
  * - `version` (string) - Application version that creates the XLSX document (default: "${version}")
326
340
  * - `title` (string) - Title of the XLSX document (NOT the filename)
327
341
  * - `modifiedBy` (string) - User context for the XLSX document
328
342
  * - `sheetName` (string) - The label of the data sheet
329
343
  * - `metaSheetName` (string) - The label of the metadata sheet. The sheet will not be shown unless metadata
330
- * entries are provided
344
+ * entries are provided
331
345
  * - `metainfo` (Array) - An Array of metadata groups. Each group has a name property and an items Array
332
- * which contains key/value pairs
346
+ * which contains key/value pairs
333
347
  * - `workbook.hierarchyLevel` - Name of the property that contains the hierarchy level information of
334
- * each line item
348
+ * each line item
335
349
  * - `dataSource` - Source of spreadsheet data. It can be a JSON array with row data, an URL or an OData
336
- * properties object with the following fields:
350
+ * properties object with the following fields:
337
351
  * `type` (string) - Type of the data source. Currently, only OData is supported and the value have to
338
352
  * be set to `"odata"`.
339
353
  * - `dataUrl` (string) - URL to table data on the server, including all select, filter, and search query
340
- * parameters
354
+ * parameters
341
355
  * - `serviceUrl` (string) - URL to the OData service. The parameter is required for OData batch requests.
342
356
  *
343
357
  * - `count` (number) - Count of available records on the server
344
358
  * - `useBatch` (boolean) - Set to `true` if OData batch requests are used to fetch the spreadsheet data.
345
- * In this case, `serviceUrl` and `headers` have to be specified, too.
359
+ * In this case, `serviceUrl` and `headers` have to be specified, too.
346
360
  * - `headers` (object) - Map of HTTP request header properties. They should correspond to the HTTP request
347
- * headers that are used to obtain table data for display in the browser.
361
+ * headers that are used to obtain table data for display in the browser.
348
362
  * - `sizeLimit` (number) - Maximal allowed number of records that can be obtained from the service in
349
- * a single request
363
+ * a single request
350
364
  * - `count` (number) - The maximal number of records to export. If not specified, all data from the data
351
- * source is fetched.
365
+ * source is fetched.
352
366
  * - `worker` (boolean) - Run export process in a worker thread. Set to `false` to disable worker and
353
- * run export in a main thread. This is needed, for example, if a mock server is used to provide spreadsheet
354
- * data.
367
+ * run export in a main thread. This is needed, for example, if a mock server is used to provide spreadsheet
368
+ * data.
355
369
  * **Note:** In case of a strict content security policy, it is not always possible to create an export
356
370
  * worker. In this case, export runs in a main thread disregarding the `worker` value.
357
371
  * - `fileName` (string) - Optional file name for the exported file. If not specified, the spreadsheet
358
- * is exported as `export.xlsx`.
372
+ * is exported as `export.xlsx`.
359
373
  * - `showProgress` (boolean) - Set to `false` to suppress the progress dialog
360
374
  *
361
375
  * Usage: To start export, create a new `sap.ui.export.Spreadsheet` object and call the `build` method.
@@ -441,8 +455,7 @@ declare module "sap/ui/export/Spreadsheet" {
441
455
  * ```
442
456
  *
443
457
  *
444
- * Restrictions: For a complete list of restrictions, see: {@link topic:2c641481649f44de9c1c22c9c3c49d13
445
- * Spreadsheet Export Restrictions}
458
+ * Restrictions: For a complete list of restrictions, see: {@link https://ui5.sap.com/#/topic/2c641481649f44de9c1c22c9c3c49d13 Spreadsheet Export Restrictions}
446
459
  *
447
460
  * You can export only the primitive cell data types that are listed in {@link sap.ui.export.EdmType}. Icons,
448
461
  * images, check boxes, and complex controls in UI5 table cells are not supported.
@@ -473,7 +486,7 @@ declare module "sap/ui/export/Spreadsheet" {
473
486
  * The properties sheetName and metaSheetName on the workbook.context object are limited to 31 characters
474
487
  * each. If their value exceeds this maximum length, the value will be truncated.
475
488
  * See:
476
- * {@link topic:2691788a08fc43f7bf269ea7c6336caf Spreadsheet}
489
+ * {@link https://ui5.sap.com/#/topic/2691788a08fc43f7bf269ea7c6336caf Spreadsheet}
477
490
  */
478
491
  constructor(
479
492
  /**
@@ -567,7 +580,7 @@ declare module "sap/ui/export/Spreadsheet" {
567
580
  );
568
581
 
569
582
  /**
570
- * @SINCE 1.61
583
+ * @since 1.61
571
584
  *
572
585
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.Spreadsheet#event:beforeSave} event of
573
586
  * this `sap.ui.export.Spreadsheet`.
@@ -593,7 +606,7 @@ declare module "sap/ui/export/Spreadsheet" {
593
606
  oListener?: object
594
607
  ): this;
595
608
  /**
596
- * @SINCE 1.61
609
+ * @since 1.61
597
610
  *
598
611
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.Spreadsheet#event:beforeSave} event of
599
612
  * this `sap.ui.export.Spreadsheet`.
@@ -614,7 +627,7 @@ declare module "sap/ui/export/Spreadsheet" {
614
627
  oListener?: object
615
628
  ): this;
616
629
  /**
617
- * @SINCE 1.52
630
+ * @since 1.52
618
631
  *
619
632
  * Cancels a running export process. This method does nothing if no export is running.
620
633
  *
@@ -622,7 +635,7 @@ declare module "sap/ui/export/Spreadsheet" {
622
635
  */
623
636
  cancel(): this;
624
637
  /**
625
- * @SINCE 1.61
638
+ * @since 1.61
626
639
  *
627
640
  * Detaches event handler `fnFunction` from the {@link sap.ui.export.Spreadsheet beforeSave} event of this
628
641
  * `sap.ui.export.Spreadsheet`.
@@ -641,7 +654,7 @@ declare module "sap/ui/export/Spreadsheet" {
641
654
  oListener?: object
642
655
  ): this;
643
656
  /**
644
- * @SINCE 1.112
657
+ * @since 1.112
645
658
  *
646
659
  * Returns the specific MIME type
647
660
  *
@@ -649,7 +662,7 @@ declare module "sap/ui/export/Spreadsheet" {
649
662
  */
650
663
  getMimeType(): string;
651
664
  /**
652
- * @SINCE 1.73
665
+ * @since 1.73
653
666
  *
654
667
  * Sets the data source configuration that will be used for exporting the data. If the passed parameter
655
668
  * is null, the call will be ignored.
@@ -664,6 +677,16 @@ declare module "sap/ui/export/Spreadsheet" {
664
677
  oDataSource: string | any[] | Object | ListBinding | TreeBinding
665
678
  ): object | null;
666
679
  }
680
+
681
+ export interface Spreadsheet$BeforeSaveEventParameters {}
682
+
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>;
667
690
  }
668
691
 
669
692
  declare module "sap/ui/export/util/Filter" {
@@ -674,7 +697,7 @@ declare module "sap/ui/export/util/Filter" {
674
697
  import SimpleType from "sap/ui/model/SimpleType";
675
698
 
676
699
  /**
677
- * @SINCE 1.110
700
+ * @since 1.110
678
701
  *
679
702
  * The `sap.ui.export.util.Filter` class represents filter settings that are used for the export. It provides
680
703
  * the capability to have a visual representation of the filters in the exported document and offers convenience
@@ -757,7 +780,7 @@ declare module "sap/ui/export/util/Filter" {
757
780
  */
758
781
  static getMetadata(): Metadata;
759
782
  /**
760
- * @SINCE 1.110
783
+ * @since 1.110
761
784
  *
762
785
  * Returns the filter label if available. Otherwise the name of the filter property will be returned.
763
786
  *
@@ -765,7 +788,7 @@ declare module "sap/ui/export/util/Filter" {
765
788
  */
766
789
  getLabel(): string;
767
790
  /**
768
- * @SINCE 1.110
791
+ * @since 1.110
769
792
  *
770
793
  * Returns the technical name of the property on which the filter is applied.
771
794
  *
@@ -773,7 +796,7 @@ declare module "sap/ui/export/util/Filter" {
773
796
  */
774
797
  getProperty(): string;
775
798
  /**
776
- * @SINCE 1.110
799
+ * @since 1.110
777
800
  *
778
801
  * Returns the formatted filter value(s) as string. If there are multiple filters for the same property,
779
802
  * which are combined via `OR`, it will return a semicolon-separated list of the filter values including
@@ -783,7 +806,7 @@ declare module "sap/ui/export/util/Filter" {
783
806
  */
784
807
  getValue(): string;
785
808
  /**
786
- * @SINCE 1.110
809
+ * @since 1.110
787
810
  *
788
811
  * Uses the given format function to format all filter values. The function has to accept a single parameter
789
812
  * of type `string` and needs to return a string value. The function will be called for every single raw
@@ -802,7 +825,7 @@ declare module "sap/ui/export/util/Filter" {
802
825
  fnFormat: Function
803
826
  ): void;
804
827
  /**
805
- * @SINCE 1.110
828
+ * @since 1.110
806
829
  *
807
830
  * Takes the given string as label of the filter.
808
831
  */
@@ -813,7 +836,7 @@ declare module "sap/ui/export/util/Filter" {
813
836
  sLabel: string
814
837
  ): void;
815
838
  /**
816
- * @SINCE 1.110
839
+ * @since 1.110
817
840
  *
818
841
  * Uses the given `sap.ui.model.SimpleType` instance to format the filter values accordingly.
819
842
  */