@sapui5/ts-types 1.101.1 → 1.103.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 +1 -0
  3. package/types/sap.apf.d.ts +89 -1
  4. package/types/sap.ca.ui.d.ts +1757 -134
  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 +1 -669
  8. package/types/sap.f.d.ts +1948 -123
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +29 -1091
  11. package/types/sap.fe.macros.d.ts +58 -589
  12. package/types/sap.fe.navigation.d.ts +7 -1175
  13. package/types/sap.fe.templates.d.ts +2 -140
  14. package/types/sap.fe.test.d.ts +476 -213
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +7540 -559
  17. package/types/sap.insights.d.ts +21 -0
  18. package/types/sap.landvisz.d.ts +1029 -80
  19. package/types/sap.m.d.ts +17162 -1399
  20. package/types/sap.makit.d.ts +579 -58
  21. package/types/sap.me.d.ts +579 -52
  22. package/types/sap.ndc.d.ts +137 -7
  23. package/types/sap.ovp.d.ts +5 -1
  24. package/types/sap.rules.ui.d.ts +171 -15
  25. package/types/sap.sac.df.d.ts +1629 -252
  26. package/types/sap.sac.grid.d.ts +91 -8
  27. package/types/sap.suite.ui.commons.d.ts +5573 -454
  28. package/types/sap.suite.ui.generic.template.d.ts +228 -54
  29. package/types/sap.suite.ui.microchart.d.ts +1814 -173
  30. package/types/sap.tnt.d.ts +282 -22
  31. package/types/sap.ui.codeeditor.d.ts +89 -8
  32. package/types/sap.ui.commons.d.ts +3818 -347
  33. package/types/sap.ui.comp.d.ts +3965 -303
  34. package/types/sap.ui.core.d.ts +6395 -258
  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 +3 -1
  38. package/types/sap.ui.generic.app.d.ts +245 -64
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +318 -25
  41. package/types/sap.ui.layout.d.ts +1883 -239
  42. package/types/sap.ui.mdc.d.ts +1 -1
  43. package/types/sap.ui.richtexteditor.d.ts +341 -50
  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 +30 -1
  47. package/types/sap.ui.table.d.ts +1057 -87
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +2738 -236
  50. package/types/sap.ui.ux3.d.ts +2421 -223
  51. package/types/sap.ui.vbm.d.ts +2006 -126
  52. package/types/sap.ui.vk.d.ts +5369 -326
  53. package/types/sap.ui.vtm.d.ts +1144 -52
  54. package/types/sap.uiext.inbox.d.ts +425 -24
  55. package/types/sap.ushell.d.ts +1500 -59
  56. package/types/sap.ushell_abap.d.ts +4 -1
  57. package/types/sap.uxap.d.ts +914 -99
  58. package/types/sap.viz.d.ts +5521 -387
  59. package/types/sap.webanalytics.core.d.ts +1 -1
  60. package/types/sap.zen.commons.d.ts +168 -23
  61. package/types/sap.zen.crosstab.d.ts +217 -21
  62. package/types/sap.zen.dsh.d.ts +227 -14
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.101.0
1
+ // For Library Version: 1.103.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -11,20 +11,27 @@ declare namespace sap {
11
11
  * If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
12
12
  * bar code.
13
13
  */
14
- provideFallback?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
14
+ provideFallback?:
15
+ | boolean
16
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
17
+ | `{${string}}`;
15
18
 
16
19
  /**
17
20
  * The invisible bar code scanner button is not rendered regardless of the availability of the native scan
18
21
  * feature.
19
22
  */
20
- visible?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
23
+ visible?:
24
+ | boolean
25
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
26
+ | `{${string}}`;
21
27
 
22
28
  /**
23
29
  * Defines the width of the scanner button.
24
30
  */
25
31
  width?:
26
32
  | sap.ui.core.CSSSize
27
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
33
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
34
+ | `{${string}}`;
28
35
 
29
36
  /**
30
37
  * Defines the bar code input dialog title. If unset, a predefined title will be used.
@@ -36,7 +43,24 @@ declare namespace sap {
36
43
  */
37
44
  preferFrontCamera?:
38
45
  | boolean
39
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
46
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
47
+ | `{${string}}`;
48
+
49
+ /**
50
+ * Defines the frame rate of the camera.
51
+ */
52
+ frameRate?:
53
+ | float
54
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
55
+ | `{${string}}`;
56
+
57
+ /**
58
+ * Defines the zoom of the camera. This parameter is not supported on iOS.
59
+ */
60
+ zoom?:
61
+ | float
62
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
63
+ | `{${string}}`;
40
64
 
41
65
  /**
42
66
  * Event is fired when the scanning is finished or cancelled
@@ -80,6 +104,8 @@ declare namespace sap {
80
104
  * Returns the status model of the BarcodeScanner. It is a JSON model which contains a single boolean property
81
105
  * '`available`' indicating whether or not the bar code scanner feature is available. It can be used to
82
106
  * bind to the `visible` property of UI controls which have to be hidden in case the feature is unavailable.
107
+ *
108
+ * @returns A JSON model containing the 'available' property
83
109
  */
84
110
  getStatusModel(): sap.ui.model.json.JSONModel;
85
111
  /**
@@ -113,7 +139,9 @@ declare namespace sap {
113
139
  * alert("Value entered: " + mParams.newValue);
114
140
  * },
115
141
  * "Enter Product Bar Code",
116
- * true
142
+ * true,
143
+ * 30,
144
+ * 1
117
145
  * );
118
146
  * });
119
147
  * ```
@@ -138,7 +166,15 @@ declare namespace sap {
138
166
  /**
139
167
  * Flag, which defines whether the front or back camera should be used.
140
168
  */
141
- preferFrontCamera?: boolean
169
+ preferFrontCamera?: boolean,
170
+ /**
171
+ * Defines the frame rate of the camera.
172
+ */
173
+ frameRate?: float,
174
+ /**
175
+ * Defines the zoom of the camera. This parameter is not supported on iOS.
176
+ */
177
+ zoom?: float
142
178
  ): void;
143
179
  }
144
180
  const BarcodeScanner: BarcodeScanner;
@@ -185,6 +221,8 @@ declare namespace sap {
185
221
  * the information contained in `oClassInfo`.
186
222
  *
187
223
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
224
+ *
225
+ * @returns Created class / constructor function
188
226
  */
189
227
  static extend<T extends Record<string, unknown>>(
190
228
  /**
@@ -203,6 +241,8 @@ declare namespace sap {
203
241
  ): Function;
204
242
  /**
205
243
  * Returns a metadata object for class sap.ndc.BarcodeScannerButton.
244
+ *
245
+ * @returns Metadata object describing this class
206
246
  */
207
247
  static getMetadata(): sap.ui.core.ElementMetadata;
208
248
  /**
@@ -213,6 +253,8 @@ declare namespace sap {
213
253
  * otherwise it will be bound to this `sap.ndc.BarcodeScannerButton` itself.
214
254
  *
215
255
  * Event is fired when the text in the dialog's input field is changed.
256
+ *
257
+ * @returns Reference to `this` in order to allow method chaining
216
258
  */
217
259
  attachInputLiveUpdate(
218
260
  /**
@@ -237,6 +279,8 @@ declare namespace sap {
237
279
  * otherwise it will be bound to this `sap.ndc.BarcodeScannerButton` itself.
238
280
  *
239
281
  * Event is fired when the text in the dialog's input field is changed.
282
+ *
283
+ * @returns Reference to `this` in order to allow method chaining
240
284
  */
241
285
  attachInputLiveUpdate(
242
286
  /**
@@ -255,6 +299,8 @@ declare namespace sap {
255
299
  * otherwise it will be bound to this `sap.ndc.BarcodeScannerButton` itself.
256
300
  *
257
301
  * Event is fired when the native scanning process is failed.
302
+ *
303
+ * @returns Reference to `this` in order to allow method chaining
258
304
  */
259
305
  attachScanFail(
260
306
  /**
@@ -278,6 +324,8 @@ declare namespace sap {
278
324
  * otherwise it will be bound to this `sap.ndc.BarcodeScannerButton` itself.
279
325
  *
280
326
  * Event is fired when the native scanning process is failed.
327
+ *
328
+ * @returns Reference to `this` in order to allow method chaining
281
329
  */
282
330
  attachScanFail(
283
331
  /**
@@ -296,6 +344,8 @@ declare namespace sap {
296
344
  * otherwise it will be bound to this `sap.ndc.BarcodeScannerButton` itself.
297
345
  *
298
346
  * Event is fired when the scanning is finished or cancelled
347
+ *
348
+ * @returns Reference to `this` in order to allow method chaining
299
349
  */
300
350
  attachScanSuccess(
301
351
  /**
@@ -319,6 +369,8 @@ declare namespace sap {
319
369
  * otherwise it will be bound to this `sap.ndc.BarcodeScannerButton` itself.
320
370
  *
321
371
  * Event is fired when the scanning is finished or cancelled
372
+ *
373
+ * @returns Reference to `this` in order to allow method chaining
322
374
  */
323
375
  attachScanSuccess(
324
376
  /**
@@ -335,6 +387,8 @@ declare namespace sap {
335
387
  * this `sap.ndc.BarcodeScannerButton`.
336
388
  *
337
389
  * The passed function and listener object must match the ones used for event registration.
390
+ *
391
+ * @returns Reference to `this` in order to allow method chaining
338
392
  */
339
393
  detachInputLiveUpdate(
340
394
  /**
@@ -350,6 +404,8 @@ declare namespace sap {
350
404
  * Detaches event handler `fnFunction` from the {@link #event:scanFail scanFail} event of this `sap.ndc.BarcodeScannerButton`.
351
405
  *
352
406
  * The passed function and listener object must match the ones used for event registration.
407
+ *
408
+ * @returns Reference to `this` in order to allow method chaining
353
409
  */
354
410
  detachScanFail(
355
411
  /**
@@ -365,6 +421,8 @@ declare namespace sap {
365
421
  * Detaches event handler `fnFunction` from the {@link #event:scanSuccess scanSuccess} event of this `sap.ndc.BarcodeScannerButton`.
366
422
  *
367
423
  * The passed function and listener object must match the ones used for event registration.
424
+ *
425
+ * @returns Reference to `this` in order to allow method chaining
368
426
  */
369
427
  detachScanSuccess(
370
428
  /**
@@ -378,6 +436,8 @@ declare namespace sap {
378
436
  ): this;
379
437
  /**
380
438
  * Fires event {@link #event:inputLiveUpdate inputLiveUpdate} to attached listeners.
439
+ *
440
+ * @returns Reference to `this` in order to allow method chaining
381
441
  */
382
442
  fireInputLiveUpdate(
383
443
  /**
@@ -392,6 +452,8 @@ declare namespace sap {
392
452
  ): this;
393
453
  /**
394
454
  * Fires event {@link #event:scanFail scanFail} to attached listeners.
455
+ *
456
+ * @returns Reference to `this` in order to allow method chaining
395
457
  */
396
458
  fireScanFail(
397
459
  /**
@@ -401,6 +463,8 @@ declare namespace sap {
401
463
  ): this;
402
464
  /**
403
465
  * Fires event {@link #event:scanSuccess scanSuccess} to attached listeners.
466
+ *
467
+ * @returns Reference to `this` in order to allow method chaining
404
468
  */
405
469
  fireScanSuccess(
406
470
  /**
@@ -425,14 +489,26 @@ declare namespace sap {
425
489
  * Gets current value of property {@link #getDialogTitle dialogTitle}.
426
490
  *
427
491
  * Defines the bar code input dialog title. If unset, a predefined title will be used.
492
+ *
493
+ * @returns Value of property `dialogTitle`
428
494
  */
429
495
  getDialogTitle(): string;
496
+ /**
497
+ * Gets current value of property {@link #getFrameRate frameRate}.
498
+ *
499
+ * Defines the frame rate of the camera.
500
+ *
501
+ * @returns Value of property `frameRate`
502
+ */
503
+ getFrameRate(): float;
430
504
  /**
431
505
  * Gets current value of property {@link #getPreferFrontCamera preferFrontCamera}.
432
506
  *
433
507
  * If set to true, the front camera will be used to decode.
434
508
  *
435
509
  * Default value is `false`.
510
+ *
511
+ * @returns Value of property `preferFrontCamera`
436
512
  */
437
513
  getPreferFrontCamera(): boolean;
438
514
  /**
@@ -442,6 +518,8 @@ declare namespace sap {
442
518
  * bar code.
443
519
  *
444
520
  * Default value is `true`.
521
+ *
522
+ * @returns Value of property `provideFallback`
445
523
  */
446
524
  getProvideFallback(): boolean;
447
525
  /**
@@ -451,20 +529,34 @@ declare namespace sap {
451
529
  * feature.
452
530
  *
453
531
  * Default value is `true`.
532
+ *
533
+ * @returns Value of property `visible`
454
534
  */
455
535
  getVisible(): boolean;
456
536
  /**
457
537
  * Gets current value of property {@link #getWidth width}.
458
538
  *
459
539
  * Defines the width of the scanner button.
540
+ *
541
+ * @returns Value of property `width`
460
542
  */
461
543
  getWidth(): sap.ui.core.CSSSize;
544
+ /**
545
+ * Gets current value of property {@link #getZoom zoom}.
546
+ *
547
+ * Defines the zoom of the camera. This parameter is not supported on iOS.
548
+ *
549
+ * @returns Value of property `zoom`
550
+ */
551
+ getZoom(): float;
462
552
  /**
463
553
  * Sets a new value for property {@link #getDialogTitle dialogTitle}.
464
554
  *
465
555
  * Defines the bar code input dialog title. If unset, a predefined title will be used.
466
556
  *
467
557
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
558
+ *
559
+ * @returns Reference to `this` in order to allow method chaining
468
560
  */
469
561
  setDialogTitle(
470
562
  /**
@@ -472,6 +564,21 @@ declare namespace sap {
472
564
  */
473
565
  sDialogTitle?: string
474
566
  ): this;
567
+ /**
568
+ * Sets a new value for property {@link #getFrameRate frameRate}.
569
+ *
570
+ * Defines the frame rate of the camera.
571
+ *
572
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
573
+ *
574
+ * @returns Reference to `this` in order to allow method chaining
575
+ */
576
+ setFrameRate(
577
+ /**
578
+ * New value for property `frameRate`
579
+ */
580
+ fFrameRate: float
581
+ ): this;
475
582
  /**
476
583
  * Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
477
584
  *
@@ -480,6 +587,8 @@ declare namespace sap {
480
587
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
481
588
  *
482
589
  * Default value is `false`.
590
+ *
591
+ * @returns Reference to `this` in order to allow method chaining
483
592
  */
484
593
  setPreferFrontCamera(
485
594
  /**
@@ -496,6 +605,8 @@ declare namespace sap {
496
605
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
497
606
  *
498
607
  * Default value is `true`.
608
+ *
609
+ * @returns Reference to `this` in order to allow method chaining
499
610
  */
500
611
  setProvideFallback(
501
612
  /**
@@ -512,6 +623,8 @@ declare namespace sap {
512
623
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
513
624
  *
514
625
  * Default value is `true`.
626
+ *
627
+ * @returns Reference to `this` in order to allow method chaining
515
628
  */
516
629
  setVisible(
517
630
  /**
@@ -525,6 +638,8 @@ declare namespace sap {
525
638
  * Defines the width of the scanner button.
526
639
  *
527
640
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
641
+ *
642
+ * @returns Reference to `this` in order to allow method chaining
528
643
  */
529
644
  setWidth(
530
645
  /**
@@ -532,6 +647,21 @@ declare namespace sap {
532
647
  */
533
648
  sWidth?: sap.ui.core.CSSSize
534
649
  ): this;
650
+ /**
651
+ * Sets a new value for property {@link #getZoom zoom}.
652
+ *
653
+ * Defines the zoom of the camera. This parameter is not supported on iOS.
654
+ *
655
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
656
+ *
657
+ * @returns Reference to `this` in order to allow method chaining
658
+ */
659
+ setZoom(
660
+ /**
661
+ * New value for property `zoom`
662
+ */
663
+ fZoom: float
664
+ ): this;
535
665
  }
536
666
  }
537
667
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.101.0
1
+ // For Library Version: 1.103.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -17,6 +17,8 @@ declare namespace sap {
17
17
  * it with the information contained in `oClassInfo`.
18
18
  *
19
19
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.mvc.ControllerExtension.extend}.
20
+ *
21
+ * @returns Created class / constructor function
20
22
  */
21
23
  extend(
22
24
  /**
@@ -35,6 +37,8 @@ declare namespace sap {
35
37
  ): Function;
36
38
  /**
37
39
  * Returns a metadata object for class sap.ovp.app.TemplateBaseExtension.
40
+ *
41
+ * @returns Metadata object describing this class
38
42
  */
39
43
  getMetadata(): sap.ui.base.Metadata;
40
44
  }