@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,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 fe {
@@ -15,6 +15,10 @@ declare namespace sap {
15
15
  * Reference to the key of another action already displayed in the toolbar to properly place this one
16
16
  */
17
17
  anchor: string;
18
+ /**
19
+ * Enables or disables the action
20
+ */
21
+ enabled: boolean;
18
22
  /**
19
23
  * Unique identifier of the action
20
24
  */
@@ -51,6 +55,11 @@ declare namespace sap {
51
55
  * The text that will be displayed for this column header
52
56
  */
53
57
  header: string;
58
+ /**
59
+ * Defines the column importance
60
+ * You can define which columns should be automatically moved to the pop-in area based on their importance
61
+ */
62
+ importance: string;
54
63
  /**
55
64
  * Unique identifier of the column
56
65
  */
@@ -90,7 +99,8 @@ declare namespace sap {
90
99
  personalization?:
91
100
  | boolean
92
101
  | string
93
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
102
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
103
+ | `{${string}}`;
94
104
 
95
105
  /**
96
106
  * Specifies the selection mode
@@ -110,7 +120,8 @@ declare namespace sap {
110
120
  */
111
121
  formatOptions?:
112
122
  | sap.fe.macros.FieldFormatOptions
113
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
123
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
124
+ | `{${string}}`;
114
125
 
115
126
  /**
116
127
  * The identifier of the Field control.
@@ -127,7 +138,10 @@ declare namespace sap {
127
138
  * If you do not set any expression, SAP Fiori elements hooks into the standard lifecycle to determine the
128
139
  * current state.
129
140
  */
130
- readOnly?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
141
+ readOnly?:
142
+ | boolean
143
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
144
+ | `{${string}}`;
131
145
 
132
146
  /**
133
147
  * Option to add semantic objects to a field.
@@ -171,6 +185,11 @@ declare namespace sap {
171
185
  * Defines the relative path of the property in the metamodel, based on the current contextPath.
172
186
  */
173
187
  metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
188
+
189
+ /**
190
+ * The title of the form control.
191
+ */
192
+ title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
174
193
  }
175
194
 
176
195
  interface $MacroAPISettings extends sap.ui.core.$ControlSettings {
@@ -190,7 +209,10 @@ declare namespace sap {
190
209
  /**
191
210
  * An expression that allows you to control the 'busy' state of the table.
192
211
  */
193
- busy?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
212
+ busy?:
213
+ | boolean
214
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
215
+ | `{${string}}`;
194
216
 
195
217
  /**
196
218
  * Defines the path of the context used in the current page or block.
@@ -203,27 +225,35 @@ declare namespace sap {
203
225
  */
204
226
  enableAutoColumnWidth?:
205
227
  | boolean
206
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
228
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
229
+ | `{${string}}`;
207
230
 
208
231
  /**
209
232
  * Controls if the export functionality of the table is enabled or not.
210
233
  */
211
- enableExport?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
234
+ enableExport?:
235
+ | boolean
236
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
237
+ | `{${string}}`;
212
238
 
213
239
  /**
214
240
  * Controls whether the table can be opened in fullscreen mode or not.
215
241
  */
216
242
  enableFullScreen?:
217
243
  | boolean
218
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
244
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
245
+ | `{${string}}`;
219
246
 
220
247
  /**
221
248
  * Controls if the paste functionality of the table is enabled or not.
222
249
  */
223
- enablePaste?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
250
+ enablePaste?:
251
+ | boolean
252
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
253
+ | `{${string}}`;
224
254
 
225
255
  /**
226
- * Id of the FilterBar building block associated with the table.
256
+ * ID of the FilterBar building block associated with the table.
227
257
  */
228
258
  filterBar?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
229
259
 
@@ -235,13 +265,24 @@ declare namespace sap {
235
265
  /**
236
266
  * Controls if the header text should be shown or not.
237
267
  */
238
- headerVisible?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
268
+ headerVisible?:
269
+ | boolean
270
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
271
+ | `{${string}}`;
239
272
 
240
273
  /**
241
274
  * The identifier of the table control.
242
275
  */
243
276
  id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
244
277
 
278
+ /**
279
+ * Defines whether to display the search action.
280
+ */
281
+ isSearchable?:
282
+ | boolean
283
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
284
+ | `{${string}}`;
285
+
245
286
  /**
246
287
  * Groups menu actions by key.
247
288
  */
@@ -274,14 +315,18 @@ declare namespace sap {
274
315
  personalization?:
275
316
  | boolean
276
317
  | string
277
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
318
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
319
+ | `{${string}}`;
278
320
 
279
321
  /**
280
322
  * An expression that allows you to control the 'read-only' state of the table.
281
323
  * If you do not set any expression, SAP Fiori elements hooks into the standard lifecycle to determine the
282
324
  * current state.
283
325
  */
284
- readOnly?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
326
+ readOnly?:
327
+ | boolean
328
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
329
+ | `{${string}}`;
285
330
 
286
331
  /**
287
332
  * Defines the selection mode to be used by the table.
@@ -290,7 +335,7 @@ declare namespace sap {
290
335
  selectionMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
291
336
 
292
337
  /**
293
- * Defines the type of table that will be used by the macro to render the data.
338
+ * Defines the type of table that will be used by the building block to render the data.
294
339
  * Allowed values are `GridTable` and `ResponsiveTable`
295
340
  */
296
341
  type?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
@@ -326,7 +371,8 @@ declare namespace sap {
326
371
  * <macro:FlexibleColumnLayoutActions />
327
372
  * ```
328
373
  */
329
- class FlexibleColumnLayoutActions extends sap.fe.macros.MacroMetadata {
374
+ class FlexibleColumnLayoutActions
375
+ /* was: sap.fe.macros.MacroMetadata */ extends Object {
330
376
  constructor();
331
377
  }
332
378
  /**
@@ -334,16 +380,7 @@ declare namespace sap {
334
380
  *
335
381
  * Building block used to create a form element containing a label and a field.
336
382
  */
337
- class FormElement extends sap.fe.macros.MacroMetadata {
338
- constructor();
339
- }
340
- /**
341
- * @SINCE 1.90.0
342
- *
343
- * Base class for all SAP Fiori elements building blocks. This class is not meant to be used as a stand-alone
344
- * class.
345
- */
346
- class MacroMetadata {
383
+ class FormElement /* was: sap.fe.macros.MacroMetadata */ extends Object {
347
384
  constructor();
348
385
  }
349
386
  /**
@@ -351,7 +388,7 @@ declare namespace sap {
351
388
  *
352
389
  * Building block used to create a MicroChart based on the metadata provided by OData V4.
353
390
  */
354
- class MicroChart extends sap.fe.macros.MacroMetadata {
391
+ class MicroChart /* was: sap.fe.macros.MacroMetadata */ extends Object {
355
392
  constructor();
356
393
  }
357
394
  /**
@@ -365,7 +402,7 @@ declare namespace sap {
365
402
  * <macro:Paginator />
366
403
  * ```
367
404
  */
368
- class Paginator extends sap.fe.macros.MacroMetadata {
405
+ class Paginator /* was: sap.fe.macros.MacroMetadata */ extends Object {
369
406
  constructor();
370
407
  }
371
408
  /**
@@ -386,7 +423,7 @@ declare namespace sap {
386
423
  * />
387
424
  * ```
388
425
  */
389
- class Share extends sap.fe.macros.MacroMetadata {
426
+ class Share /* was: sap.fe.macros.MacroMetadata */ extends Object {
390
427
  constructor();
391
428
  }
392
429
  /**
@@ -422,6 +459,8 @@ declare namespace sap {
422
459
 
423
460
  /**
424
461
  * Adds a message to the field.
462
+ *
463
+ * @returns The id of the message
425
464
  */
426
465
  addMessage(
427
466
  /**
@@ -443,11 +482,13 @@ declare namespace sap {
443
482
  /**
444
483
  * Type of the message
445
484
  */
446
- type?: /* was: sap.ui.core.library.MessageType */ any;
485
+ type?: sap.ui.core.MessageType;
447
486
  }
448
487
  ): string;
449
488
  /**
450
489
  * Retrieves the current value of the Field.
490
+ *
491
+ * @returns The current value of the field
451
492
  */
452
493
  getValue(): string | boolean;
453
494
  /**
@@ -476,11 +517,11 @@ declare namespace sap {
476
517
  constructor();
477
518
 
478
519
  /**
479
- * @EXPERIMENTAL
480
- *
481
520
  * Set the filter values for the given property in the filter bar.
482
521
  * The filter values can be either a single value or an array of values.
483
- * Each filter value must be represented as a string corresponding to the given operator.
522
+ * Each filter value must be represented as a primitive value.
523
+ *
524
+ * @returns A promise for asynchronous handling
484
525
  */
485
526
  setFilterValues(
486
527
  /**
@@ -490,23 +531,31 @@ declare namespace sap {
490
531
  /**
491
532
  * The operator to be used (optional) - if not set, the default operator (EQ) will be used
492
533
  */
493
- sOperator: any,
534
+ sOperator: undefined | string,
494
535
  /**
495
536
  * The values to be applied
496
537
  */
497
- vValues: any
498
- ): any;
538
+ vValues:
539
+ | undefined
540
+ | string
541
+ | number
542
+ | boolean
543
+ | string[]
544
+ | number[]
545
+ | boolean[]
546
+ ): void;
499
547
  }
500
548
  /**
501
549
  * Building block for creating a Form based on the metadata provided by OData V4.
502
550
  *
503
551
  *
504
- * Usually, a ReferenceFacet or CollectionFacet is expected
552
+ * It is designed to work based on a FieldGroup annotation but can also work if you provide a ReferenceFacet
553
+ * or a CollectionFacet
505
554
  * Usage example:
506
555
  *
507
556
  * ```javascript
508
557
  *
509
- * <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.Facets/0" />
558
+ * <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.FieldGroup#GeneralInformation" />
510
559
  * ```
511
560
  */
512
561
  class Form extends sap.fe.macros.MacroAPI {
@@ -537,6 +586,9 @@ declare namespace sap {
537
586
  /**
538
587
  * Adds a message to the table.
539
588
  * The message applies to the whole table and not to an individual table row.
589
+ *
590
+ *
591
+ * @returns The ID of the message
540
592
  */
541
593
  addMessage(
542
594
  /**
@@ -558,11 +610,13 @@ declare namespace sap {
558
610
  /**
559
611
  * Message type
560
612
  */
561
- type?: /* was: sap.ui.core.library.MessageType */ any;
613
+ type?: sap.ui.core.MessageType;
562
614
  }
563
615
  ): string;
564
616
  /**
565
617
  * Gets contexts from the table that have been selected by the user.
618
+ *
619
+ * @returns Contexts of the rows selected by the user
566
620
  */
567
621
  getSelectedContexts(): sap.ui.model.odata.v4.Context[];
568
622
  /**
@@ -663,8 +717,6 @@ declare namespace sap {
663
717
 
664
718
  "sap/fe/macros/MacroAPI": undefined;
665
719
 
666
- "sap/fe/macros/MacroMetadata": undefined;
667
-
668
720
  "sap/fe/macros/MicroChart.metadata": undefined;
669
721
 
670
722
  "sap/fe/macros/Paginator.metadata": undefined;