@sapui5/ts-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 +2 -2
  4. package/types/sap.ca.ui.d.ts +135 -67
  5. package/types/sap.chart.d.ts +216 -144
  6. package/types/sap.collaboration.d.ts +80 -78
  7. package/types/sap.esh.search.ui.d.ts +93 -1
  8. package/types/sap.f.d.ts +1987 -1517
  9. package/types/sap.fe.core.d.ts +95 -209
  10. package/types/sap.fe.macros.d.ts +112 -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 +10 -278
  14. package/types/sap.fe.test.d.ts +7 -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 +1716 -1087
  18. package/types/sap.insights.d.ts +1 -1
  19. package/types/sap.landvisz.d.ts +35 -9
  20. package/types/sap.m.d.ts +26776 -22688
  21. package/types/sap.makit.d.ts +87 -28
  22. package/types/sap.me.d.ts +166 -74
  23. package/types/sap.ndc.d.ts +115 -43
  24. package/types/sap.ovp.d.ts +1 -2
  25. package/types/sap.rules.ui.d.ts +43 -19
  26. package/types/sap.sac.df.d.ts +3 -3
  27. package/types/sap.suite.ui.commons.d.ts +2056 -1282
  28. package/types/sap.suite.ui.generic.template.d.ts +99 -102
  29. package/types/sap.suite.ui.microchart.d.ts +503 -322
  30. package/types/sap.tnt.d.ts +160 -86
  31. package/types/sap.ui.codeeditor.d.ts +64 -38
  32. package/types/sap.ui.commons.d.ts +1377 -793
  33. package/types/sap.ui.comp.d.ts +4158 -2831
  34. package/types/sap.ui.core.d.ts +6006 -3642
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +71 -53
  37. package/types/sap.ui.fl.d.ts +162 -97
  38. package/types/sap.ui.generic.app.d.ts +40 -39
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +497 -373
  41. package/types/sap.ui.layout.d.ts +598 -631
  42. package/types/sap.ui.mdc.d.ts +21985 -6
  43. package/types/sap.ui.richtexteditor.d.ts +107 -70
  44. package/types/sap.ui.rta.d.ts +7 -8
  45. package/types/sap.ui.suite.d.ts +29 -14
  46. package/types/sap.ui.support.d.ts +15 -17
  47. package/types/sap.ui.table.d.ts +910 -628
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +1775 -1166
  50. package/types/sap.ui.ux3.d.ts +1469 -759
  51. package/types/sap.ui.vbm.d.ts +1262 -710
  52. package/types/sap.ui.vk.d.ts +2981 -1751
  53. package/types/sap.ui.vtm.d.ts +704 -457
  54. package/types/sap.ui.webc.common.d.ts +9 -9
  55. package/types/sap.ui.webc.fiori.d.ts +812 -448
  56. package/types/sap.ui.webc.main.d.ts +2045 -1068
  57. package/types/sap.uiext.inbox.d.ts +168 -41
  58. package/types/sap.ushell.d.ts +722 -424
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +469 -343
  61. package/types/sap.viz.d.ts +2196 -833
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +5 -5
  64. package/types/sap.zen.crosstab.d.ts +1 -1
  65. package/types/sap.zen.dsh.d.ts +147 -81
@@ -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,4 +1,4 @@
1
- // For Library Version: 1.114.0
1
+ // For Library Version: 1.115.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -9,7 +9,7 @@ declare namespace sap {
9
9
  namespace expоrt {
10
10
  namespace util {
11
11
  /**
12
- * @SINCE 1.110
12
+ * @since 1.110
13
13
  *
14
14
  * The `sap.ui.export.util.Filter` class represents filter settings that are used for the export. It provides
15
15
  * the capability to have a visual representation of the filters in the exported document and offers convenience
@@ -92,7 +92,7 @@ declare namespace sap {
92
92
  */
93
93
  static getMetadata(): sap.ui.base.Metadata;
94
94
  /**
95
- * @SINCE 1.110
95
+ * @since 1.110
96
96
  *
97
97
  * Returns the filter label if available. Otherwise the name of the filter property will be returned.
98
98
  *
@@ -100,7 +100,7 @@ declare namespace sap {
100
100
  */
101
101
  getLabel(): string;
102
102
  /**
103
- * @SINCE 1.110
103
+ * @since 1.110
104
104
  *
105
105
  * Returns the technical name of the property on which the filter is applied.
106
106
  *
@@ -108,7 +108,7 @@ declare namespace sap {
108
108
  */
109
109
  getProperty(): string;
110
110
  /**
111
- * @SINCE 1.110
111
+ * @since 1.110
112
112
  *
113
113
  * Returns the formatted filter value(s) as string. If there are multiple filters for the same property,
114
114
  * which are combined via `OR`, it will return a semicolon-separated list of the filter values including
@@ -118,7 +118,7 @@ declare namespace sap {
118
118
  */
119
119
  getValue(): string;
120
120
  /**
121
- * @SINCE 1.110
121
+ * @since 1.110
122
122
  *
123
123
  * Uses the given format function to format all filter values. The function has to accept a single parameter
124
124
  * of type `string` and needs to return a string value. The function will be called for every single raw
@@ -137,7 +137,7 @@ declare namespace sap {
137
137
  fnFormat: Function
138
138
  ): void;
139
139
  /**
140
- * @SINCE 1.110
140
+ * @since 1.110
141
141
  *
142
142
  * Takes the given string as label of the filter.
143
143
  */
@@ -148,7 +148,7 @@ declare namespace sap {
148
148
  sLabel: string
149
149
  ): void;
150
150
  /**
151
- * @SINCE 1.110
151
+ * @since 1.110
152
152
  *
153
153
  * Uses the given `sap.ui.model.SimpleType` instance to format the filter values accordingly.
154
154
  */
@@ -161,8 +161,12 @@ declare namespace sap {
161
161
  }
162
162
  }
163
163
 
164
+ interface ExportBase$BeforeExportEventParameters {}
165
+
166
+ interface Spreadsheet$BeforeSaveEventParameters {}
167
+
164
168
  /**
165
- * @SINCE 1.96
169
+ * @since 1.96
166
170
  *
167
171
  * The `sap.ui.export.ExportBase` class allows you to export table data from a UI5 application to certain
168
172
  * formats. This class is an abstract class that requires specific implementations for each file format.
@@ -231,7 +235,7 @@ declare namespace sap {
231
235
  */
232
236
  static getMetadata(): sap.ui.base.Metadata;
233
237
  /**
234
- * @SINCE 1.96
238
+ * @since 1.96
235
239
  *
236
240
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.ExportBase#event:beforeExport} event
237
241
  * of this `sap.ui.export.ExportBase`.
@@ -257,7 +261,7 @@ declare namespace sap {
257
261
  oListener?: object
258
262
  ): this;
259
263
  /**
260
- * @SINCE 1.96
264
+ * @since 1.96
261
265
  *
262
266
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.ExportBase#event:beforeExport} event
263
267
  * of this `sap.ui.export.ExportBase`.
@@ -296,7 +300,7 @@ declare namespace sap {
296
300
  */
297
301
  destroy(): void;
298
302
  /**
299
- * @SINCE 1.96
303
+ * @since 1.96
300
304
  *
301
305
  * Detaches event handler `fnFunction` from the {@link sap.ui.export.ExportBase#event:beforeExport} event
302
306
  * of this `sap.ui.export.ExportBase`.
@@ -315,7 +319,7 @@ declare namespace sap {
315
319
  oListener?: object
316
320
  ): this;
317
321
  /**
318
- * @SINCE 1.112
322
+ * @since 1.112
319
323
  *
320
324
  * Returns the specific MIME type
321
325
  */
@@ -337,7 +341,7 @@ declare namespace sap {
337
341
  ): object | null;
338
342
  }
339
343
  /**
340
- * @SINCE 1.50
344
+ * @since 1.50
341
345
  *
342
346
  * The `sap.ui.export.Spreadsheet` class allows you to export table data from a UI5 application to a spreadsheet
343
347
  * file.
@@ -353,7 +357,7 @@ declare namespace sap {
353
357
  * thread of the browser. The status of the process is visually presented to the user in a progress dialog
354
358
  * that can be suppressed. The user can cancel the process with the Cancel button of the dialog.
355
359
  *
356
- * This class provides a low level API for spreadsheet export. The {@link sap.ui.comp.smarttable.SmartTable}
360
+ * This class provides a low level API for spreadsheet export. The {@link sap.ui.comp.smarttable.SmartTable }
357
361
  * control implements it internally and provides the export functionality out of the box. For special cases,
358
362
  * please refer to details below.
359
363
  *
@@ -370,23 +374,23 @@ declare namespace sap {
370
374
  * `label` (string) - Column header text
371
375
  * - `property` (string) - Field name or Array of field names in the data source feed
372
376
  * - `type` (string) - Optional data type of the field. See {@link sap.ui.export.EdmType} for the list
373
- * of supported types. If this property is omitted, the property is processed as a string field.
377
+ * of supported types. If this property is omitted, the property is processed as a string field.
374
378
  * - `width` (number) - Optional width of the column in characters. There is no 1:1 correspondence between
375
- * character widths in the exported spreadsheet and CSS units.The width of one character is approximately
376
- * 0.5em in CSS units, depending on the fonts that are used in the table and in the resulting spreadsheet.
377
- * The default value is 10 characters.
379
+ * character widths in the exported spreadsheet and CSS units.The width of one character is approximately
380
+ * 0.5em in CSS units, depending on the fonts that are used in the table and in the resulting spreadsheet.
381
+ * The default value is 10 characters.
378
382
  * - `textAlign` (string) - Horizontal alignment of cell contents. The following values of the CSS `text-align`
379
- * property are accepted: `[left, right, center, begin, end]`. If not specified, the columns are horizontally
380
- * aligned based on the property type.
383
+ * property are accepted: `[left, right, center, begin, end]`. If not specified, the columns are horizontally
384
+ * aligned based on the property type.
381
385
  * - `scale` (number) - Number of digits after decimal point for numeric values
382
386
  * - `delimiter` (boolean) - Set to `true` to display thousands separators in numeric values. The default
383
- * value is `false`.
387
+ * value is `false`.
384
388
  * - `unit` (string) - Text to display as the unit of measurement or currency next to the numeric value.
385
- * It is treated as a string and has no influence on the value itself. For example, a value of 150 with
386
- * the unit "%" is still 150 and not 1.5, as a user may expect.
389
+ * It is treated as a string and has no influence on the value itself. For example, a value of 150 with
390
+ * the unit "%" is still 150 and not 1.5, as a user may expect.
387
391
  * - `unitProperty` (string) - Name of the data source field that contains the unit/currency text
388
392
  * - `displayUnit` (boolean) - The property applies to currency values only and defines if the currency
389
- * is shown in the column. The default value is `true`.
393
+ * is shown in the column. The default value is `true`.
390
394
  * - `trueValue` (string) - Textual representation of a boolean type that has the value `true`
391
395
  * - `falseValue` (string) - Textual representation of a boolean type that has the value `false`
392
396
  * - `template` (string) - Formatting template that supports indexed placeholders within curly brackets
@@ -394,45 +398,45 @@ declare namespace sap {
394
398
  * - `inputFormat` (string) - Formatting template for string formatted dates
395
399
  * - `utc` (boolean) - Defines whether the `DateTime` is displayed as UTC or local time
396
400
  * - `valueMap` (string) - Mapping object or Map containing the values that should be mapped to a particular
397
- * key
401
+ * key
398
402
  * - `wrap` (boolean) - Indicates if wrapping is enabled for this particular column
399
403
  * - `workbook.context` - Context object that will be applied to the generated file. It may contain the
400
- * following fields:
404
+ * following fields:
401
405
  * - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
402
406
  * - `version` (string) - Application version that creates the XLSX document (default: "${version}")
403
407
  * - `title` (string) - Title of the XLSX document (NOT the filename)
404
408
  * - `modifiedBy` (string) - User context for the XLSX document
405
409
  * - `sheetName` (string) - The label of the data sheet
406
410
  * - `metaSheetName` (string) - The label of the metadata sheet. The sheet will not be shown unless metadata
407
- * entries are provided
411
+ * entries are provided
408
412
  * - `metainfo` (Array) - An Array of metadata groups. Each group has a name property and an items Array
409
- * which contains key/value pairs
413
+ * which contains key/value pairs
410
414
  * - `workbook.hierarchyLevel` - Name of the property that contains the hierarchy level information of
411
- * each line item
415
+ * each line item
412
416
  * - `dataSource` - Source of spreadsheet data. It can be a JSON array with row data, an URL or an OData
413
- * properties object with the following fields:
417
+ * properties object with the following fields:
414
418
  * `type` (string) - Type of the data source. Currently, only OData is supported and the value have to
415
419
  * be set to `"odata"`.
416
420
  * - `dataUrl` (string) - URL to table data on the server, including all select, filter, and search query
417
- * parameters
421
+ * parameters
418
422
  * - `serviceUrl` (string) - URL to the OData service. The parameter is required for OData batch requests.
419
423
  *
420
424
  * - `count` (number) - Count of available records on the server
421
425
  * - `useBatch` (boolean) - Set to `true` if OData batch requests are used to fetch the spreadsheet data.
422
- * In this case, `serviceUrl` and `headers` have to be specified, too.
426
+ * In this case, `serviceUrl` and `headers` have to be specified, too.
423
427
  * - `headers` (object) - Map of HTTP request header properties. They should correspond to the HTTP request
424
- * headers that are used to obtain table data for display in the browser.
428
+ * headers that are used to obtain table data for display in the browser.
425
429
  * - `sizeLimit` (number) - Maximal allowed number of records that can be obtained from the service in
426
- * a single request
430
+ * a single request
427
431
  * - `count` (number) - The maximal number of records to export. If not specified, all data from the data
428
- * source is fetched.
432
+ * source is fetched.
429
433
  * - `worker` (boolean) - Run export process in a worker thread. Set to `false` to disable worker and
430
- * run export in a main thread. This is needed, for example, if a mock server is used to provide spreadsheet
431
- * data.
434
+ * run export in a main thread. This is needed, for example, if a mock server is used to provide spreadsheet
435
+ * data.
432
436
  * **Note:** In case of a strict content security policy, it is not always possible to create an export
433
437
  * worker. In this case, export runs in a main thread disregarding the `worker` value.
434
438
  * - `fileName` (string) - Optional file name for the exported file. If not specified, the spreadsheet
435
- * is exported as `export.xlsx`.
439
+ * is exported as `export.xlsx`.
436
440
  * - `showProgress` (boolean) - Set to `false` to suppress the progress dialog
437
441
  *
438
442
  * Usage: To start export, create a new `sap.ui.export.Spreadsheet` object and call the `build` method.
@@ -518,8 +522,7 @@ declare namespace sap {
518
522
  * ```
519
523
  *
520
524
  *
521
- * Restrictions: For a complete list of restrictions, see: {@link topic:2c641481649f44de9c1c22c9c3c49d13
522
- * Spreadsheet Export Restrictions}
525
+ * Restrictions: For a complete list of restrictions, see: {@link https://ui5.sap.com/#/topic/2c641481649f44de9c1c22c9c3c49d13 Spreadsheet Export Restrictions}
523
526
  *
524
527
  * You can export only the primitive cell data types that are listed in {@link sap.ui.export.EdmType}. Icons,
525
528
  * images, check boxes, and complex controls in UI5 table cells are not supported.
@@ -550,7 +553,7 @@ declare namespace sap {
550
553
  * The properties sheetName and metaSheetName on the workbook.context object are limited to 31 characters
551
554
  * each. If their value exceeds this maximum length, the value will be truncated.
552
555
  * See:
553
- * {@link topic:2691788a08fc43f7bf269ea7c6336caf Spreadsheet}
556
+ * {@link https://ui5.sap.com/#/topic/2691788a08fc43f7bf269ea7c6336caf Spreadsheet}
554
557
  */
555
558
  constructor(
556
559
  /**
@@ -644,7 +647,7 @@ declare namespace sap {
644
647
  );
645
648
 
646
649
  /**
647
- * @SINCE 1.61
650
+ * @since 1.61
648
651
  *
649
652
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.Spreadsheet#event:beforeSave} event of
650
653
  * this `sap.ui.export.Spreadsheet`.
@@ -670,7 +673,7 @@ declare namespace sap {
670
673
  oListener?: object
671
674
  ): this;
672
675
  /**
673
- * @SINCE 1.61
676
+ * @since 1.61
674
677
  *
675
678
  * Attaches event handler `fnFunction` to the {@link sap.ui.export.Spreadsheet#event:beforeSave} event of
676
679
  * this `sap.ui.export.Spreadsheet`.
@@ -691,7 +694,7 @@ declare namespace sap {
691
694
  oListener?: object
692
695
  ): this;
693
696
  /**
694
- * @SINCE 1.52
697
+ * @since 1.52
695
698
  *
696
699
  * Cancels a running export process. This method does nothing if no export is running.
697
700
  *
@@ -699,7 +702,7 @@ declare namespace sap {
699
702
  */
700
703
  cancel(): this;
701
704
  /**
702
- * @SINCE 1.61
705
+ * @since 1.61
703
706
  *
704
707
  * Detaches event handler `fnFunction` from the {@link sap.ui.export.Spreadsheet beforeSave} event of this
705
708
  * `sap.ui.export.Spreadsheet`.
@@ -718,7 +721,7 @@ declare namespace sap {
718
721
  oListener?: object
719
722
  ): this;
720
723
  /**
721
- * @SINCE 1.112
724
+ * @since 1.112
722
725
  *
723
726
  * Returns the specific MIME type
724
727
  *
@@ -726,7 +729,7 @@ declare namespace sap {
726
729
  */
727
730
  getMimeType(): string;
728
731
  /**
729
- * @SINCE 1.73
732
+ * @since 1.73
730
733
  *
731
734
  * Sets the data source configuration that will be used for exporting the data. If the passed parameter
732
735
  * is null, the call will be ignored.
@@ -747,13 +750,13 @@ declare namespace sap {
747
750
  ): object | null;
748
751
  }
749
752
  /**
750
- * @SINCE 1.50.0
753
+ * @since 1.50.0
751
754
  *
752
755
  * EDM data types for document export.
753
756
  */
754
757
  enum EdmType {
755
758
  /**
756
- * @SINCE 1.60
759
+ * @since 1.60
757
760
  *
758
761
  * Property of type BigNumber.
759
762
  */
@@ -775,7 +778,7 @@ declare namespace sap {
775
778
  */
776
779
  DateTime = "DateTime",
777
780
  /**
778
- * @SINCE 1.58
781
+ * @since 1.58
779
782
  *
780
783
  * Property of type Enumeration.
781
784
  */
@@ -785,7 +788,7 @@ declare namespace sap {
785
788
  */
786
789
  Number = "Number",
787
790
  /**
788
- * @SINCE 1.87
791
+ * @since 1.87
789
792
  *
790
793
  * Property of type Percentage.
791
794
  */
@@ -800,7 +803,7 @@ declare namespace sap {
800
803
  Time = "Time",
801
804
  }
802
805
  /**
803
- * @SINCE 1.78
806
+ * @since 1.78
804
807
  *
805
808
  * File types for document export.
806
809
  */
@@ -810,6 +813,21 @@ declare namespace sap {
810
813
  */
811
814
  XLSX = "XLSX",
812
815
  }
816
+ /**
817
+ * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'ExportBase$BeforeExportEventParameters'
818
+ * in 1.115.1 and any later releases.
819
+ */
820
+ type $ExportBaseBeforeExportEventParameters = sap.ui.export.ExportBase$BeforeExportEventParameters;
821
+
822
+ type ExportBase$BeforeExportEvent = sap.ui.base.Event<ExportBase$BeforeExportEventParameters>;
823
+
824
+ /**
825
+ * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Spreadsheet$BeforeSaveEventParameters'
826
+ * in 1.115.1 and any later releases.
827
+ */
828
+ type $SpreadsheetBeforeSaveEventParameters = sap.ui.export.Spreadsheet$BeforeSaveEventParameters;
829
+
830
+ type Spreadsheet$BeforeSaveEvent = sap.ui.base.Event<Spreadsheet$BeforeSaveEventParameters>;
813
831
  }
814
832
  }
815
833