@sapui5/ts-types 1.96.4 → 1.98.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 +0 -4
  3. package/types/sap.apf.d.ts +6 -6
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +425 -13
  8. package/types/sap.f.d.ts +108 -573
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +153 -25
  11. package/types/sap.fe.macros.d.ts +1 -1
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.templates.d.ts +5 -1
  14. package/types/sap.fe.test.d.ts +97 -6
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +179 -1
  17. package/types/sap.landvisz.d.ts +49 -1
  18. package/types/sap.m.d.ts +3169 -344
  19. package/types/sap.makit.d.ts +1 -1
  20. package/types/sap.me.d.ts +1 -1
  21. package/types/sap.ndc.d.ts +38 -3
  22. package/types/sap.ovp.d.ts +44 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.grid.d.ts +3 -1
  25. package/types/sap.suite.ui.commons.d.ts +1 -1
  26. package/types/sap.suite.ui.generic.template.d.ts +41 -19
  27. package/types/sap.suite.ui.microchart.d.ts +1 -1
  28. package/types/sap.tnt.d.ts +4 -4
  29. package/types/sap.ui.codeeditor.d.ts +7 -1
  30. package/types/sap.ui.commons.d.ts +1 -1
  31. package/types/sap.ui.comp.d.ts +375 -17
  32. package/types/sap.ui.core.d.ts +1177 -331
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +3 -3
  35. package/types/sap.ui.fl.d.ts +7 -3
  36. package/types/sap.ui.generic.app.d.ts +1 -1
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +60 -1
  39. package/types/sap.ui.layout.d.ts +4 -4
  40. package/types/sap.ui.mdc.d.ts +31 -15
  41. package/types/sap.ui.richtexteditor.d.ts +7 -1
  42. package/types/sap.ui.rta.d.ts +5 -11
  43. package/types/sap.ui.suite.d.ts +1 -1
  44. package/types/sap.ui.support.d.ts +6 -6
  45. package/types/sap.ui.table.d.ts +32 -3
  46. package/types/sap.ui.testrecorder.d.ts +1 -1
  47. package/types/sap.ui.unified.d.ts +43 -1
  48. package/types/sap.ui.ux3.d.ts +1 -1
  49. package/types/sap.ui.vbm.d.ts +1 -3
  50. package/types/sap.ui.vk.d.ts +222 -111
  51. package/types/sap.ui.vtm.d.ts +2 -1
  52. package/types/sap.uiext.inbox.d.ts +1 -1
  53. package/types/sap.ushell.d.ts +115 -84
  54. package/types/sap.ushell_abap.d.ts +1 -1
  55. package/types/sap.uxap.d.ts +1 -1
  56. package/types/sap.viz.d.ts +1 -1
  57. package/types/sap.webanalytics.core.d.ts +1 -1
  58. package/types/sap.zen.commons.d.ts +1 -1
  59. package/types/sap.zen.crosstab.d.ts +1 -1
  60. package/types/sap.zen.dsh.d.ts +1 -1
  61. package/types/sap.fe.placeholder.d.ts +0 -3
  62. package/types/sap.fe.plugins.d.ts +0 -3
  63. package/types/sap.fe.semantics.d.ts +0 -3
  64. package/types/sap.fe.tools.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -31,6 +31,13 @@ declare namespace sap {
31
31
  */
32
32
  dialogTitle?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
33
33
 
34
+ /**
35
+ * If set to true, the front camera will be used to decode.
36
+ */
37
+ preferFrontCamera?:
38
+ | boolean
39
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
40
+
34
41
  /**
35
42
  * Event is fired when the scanning is finished or cancelled
36
43
  */
@@ -105,7 +112,8 @@ declare namespace sap {
105
112
  * function (mParams) {
106
113
  * alert("Value entered: " + mParams.newValue);
107
114
  * },
108
- * "Enter Product Bar Code"
115
+ * "Enter Product Bar Code",
116
+ * true
109
117
  * );
110
118
  * });
111
119
  * ```
@@ -126,7 +134,11 @@ declare namespace sap {
126
134
  /**
127
135
  * Defines the bar code input dialog title. If unset, a predefined title will be used.
128
136
  */
129
- dialogTitle?: string
137
+ dialogTitle?: string,
138
+ /**
139
+ * Flag, which defines whether the front or back camera should be used.
140
+ */
141
+ preferFrontCamera?: boolean
130
142
  ): void;
131
143
  }
132
144
  const BarcodeScanner: BarcodeScanner;
@@ -415,6 +427,14 @@ declare namespace sap {
415
427
  * Defines the bar code input dialog title. If unset, a predefined title will be used.
416
428
  */
417
429
  getDialogTitle(): string;
430
+ /**
431
+ * Gets current value of property {@link #getPreferFrontCamera preferFrontCamera}.
432
+ *
433
+ * If set to true, the front camera will be used to decode.
434
+ *
435
+ * Default value is `false`.
436
+ */
437
+ getPreferFrontCamera(): boolean;
418
438
  /**
419
439
  * Gets current value of property {@link #getProvideFallback provideFallback}.
420
440
  *
@@ -452,6 +472,21 @@ declare namespace sap {
452
472
  */
453
473
  sDialogTitle?: string
454
474
  ): this;
475
+ /**
476
+ * Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
477
+ *
478
+ * If set to true, the front camera will be used to decode.
479
+ *
480
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
481
+ *
482
+ * Default value is `false`.
483
+ */
484
+ setPreferFrontCamera(
485
+ /**
486
+ * New value for property `preferFrontCamera`
487
+ */
488
+ bPreferFrontCamera?: boolean
489
+ ): this;
455
490
  /**
456
491
  * Sets a new value for property {@link #getProvideFallback provideFallback}.
457
492
  *
@@ -1,7 +1,50 @@
1
- // For Library Version: 1.96.2
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
+ /**
5
+ * SAP library: sap.ovp
6
+ */
7
+ namespace ovp {
8
+ namespace app {
9
+ /**
10
+ * This class contains all extension functions that can be implemented by the application developers in
11
+ * their extension code. Application developers must not override any methods that are not mentioned in
12
+ * this documentation.
13
+ */
14
+ interface TemplateBaseExtension {
15
+ /**
16
+ * Creates a new subclass of class sap.ovp.app.TemplateBaseExtension with name `sClassName` and enriches
17
+ * it with the information contained in `oClassInfo`.
18
+ *
19
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.mvc.ControllerExtension.extend}.
20
+ */
21
+ extend(
22
+ /**
23
+ * Name of the class being created
24
+ */
25
+ sClassName: string,
26
+ /**
27
+ * Object literal with information about the class
28
+ */
29
+ oClassInfo?: object,
30
+ /**
31
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
32
+ * used by this class
33
+ */
34
+ FNMetaImpl?: Function
35
+ ): Function;
36
+ /**
37
+ * Returns a metadata object for class sap.ovp.app.TemplateBaseExtension.
38
+ */
39
+ getMetadata(): sap.ui.base.Metadata;
40
+ }
41
+ const TemplateBaseExtension: TemplateBaseExtension;
42
+ }
43
+ }
44
+
4
45
  interface IUI5DefineDependencyNames {
46
+ "sap/ovp/app/TemplateBaseExtension": undefined;
47
+
5
48
  "sap/ovp/library": undefined;
6
49
  }
7
50
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.0
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace rules {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.1
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace sac {
@@ -628,6 +628,8 @@ declare namespace sap {
628
628
 
629
629
  "sap/sac/grid/Format": undefined;
630
630
 
631
+ "sap/sac/grid/Grid": undefined;
632
+
631
633
  "sap/sac/grid/library": undefined;
632
634
 
633
635
  "sap/sac/grid/SemanticStyle": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.0
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.2
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -315,9 +315,9 @@ declare namespace sap {
315
315
  }
316
316
  ): void;
317
317
  /**
318
- * This method should be implemented whenever application uses onListNaviagtionExtension for internal navigation.
318
+ * This method should be implemented whenever application uses onListNavigationExtension for internal navigation.
319
319
  * In this case the implementation of this method should provide an 'inverse' mapping to the transformation
320
- * implemented within onListNaviagtionExtension. More precisely, the identification of a child page instance
320
+ * implemented within onListNavigationExtension. More precisely, the identification of a child page instance
321
321
  * is passed to this function. The implementation of this function should provide information about the
322
322
  * list item which has triggered the opening of the child page.
323
323
  */
@@ -554,11 +554,11 @@ declare namespace sap {
554
554
  */
555
555
  mUrlParameters: Record<string, any>,
556
556
  /**
557
- * Parameters which are used to set patameters for involing Application controller's incokeActions method
557
+ * Parameters that are set for invoking Application controller's invokeActions method
558
558
  */
559
559
  oSettings: {
560
560
  /**
561
- * determined whether common or unique changeset will be sent in batch
561
+ * Determines whether the common or unique changeset gets sent in batch
562
562
  */
563
563
  bInvocationGroupingChangeSet: boolean;
564
564
  }
@@ -576,11 +576,11 @@ declare namespace sap {
576
576
  */
577
577
  vContext: any[] | sap.ui.model.Context,
578
578
  /**
579
- * Parameters which are used to set patameters for involing Application controller's incokeActions method
579
+ * Parameters that are set for invoking Application controller's invokeActions method
580
580
  */
581
581
  oSettings: {
582
582
  /**
583
- * determined whether common or unique changeset will be sent in batch
583
+ * Determines whether the common or unique changeset gets sent in batch
584
584
  */
585
585
  bInvocationGroupingChangeSet: boolean;
586
586
  }
@@ -955,11 +955,11 @@ declare namespace sap {
955
955
  */
956
956
  mUrlParameters: Record<string, any>,
957
957
  /**
958
- * Parameters which are used to set patameters for involing Application controller's incokeActions method
958
+ * Parameters that are set for invoking Application controller's invokeActions method
959
959
  */
960
960
  oSettings: {
961
961
  /**
962
- * determined whether common or unique changeset will be sent in batch
962
+ * Determines whether the common or unique changeset gets sent in batch
963
963
  */
964
964
  bInvocationGroupingChangeSet: boolean;
965
965
  }
@@ -977,11 +977,11 @@ declare namespace sap {
977
977
  */
978
978
  vContext: any[] | sap.ui.model.Context,
979
979
  /**
980
- * Parameters which are used to set patameters for involing Application controller's incokeActions method
980
+ * Parameters that are set for invoking Application controller's invokeActions method
981
981
  */
982
982
  oSettings: {
983
983
  /**
984
- * determined whether common or unique changeset will be sent in batch
984
+ * Determines whether the common or unique changeset gets sent in batch
985
985
  */
986
986
  bInvocationGroupingChangeSet: boolean;
987
987
  }
@@ -1211,6 +1211,28 @@ declare namespace sap {
1211
1211
  aContexts: any[];
1212
1212
  }
1213
1213
  ): Promise<any>;
1214
+ /**
1215
+ * This method should be implemented whenever the application needs to have a custom save functionality
1216
+ * for multi edit scenario. The logic for save should be defined here and this method should return a promise
1217
+ * based on whose resolution or rejection the framework would perform cleanup tasks like closing the dialog
1218
+ * and refreshing the table data.There will be no chaining of multi edit save from the framework, if the
1219
+ * extension is implemented then the framework will only execute extension code for save.
1220
+ */
1221
+ beforeMultiEditSaveExtension(
1222
+ /**
1223
+ * The array of objects containing the contexts to be updated and the updated value.
1224
+ */
1225
+ aContextsToBeUpdated: Array<{
1226
+ /**
1227
+ * The context path for the child to be updated.
1228
+ */
1229
+ sContextPath: string;
1230
+ /**
1231
+ * The Object with the updated values for the selected properties in the multi edit dialog.
1232
+ */
1233
+ oUpdateData: Object;
1234
+ }>
1235
+ ): Promise<any>;
1214
1236
  /**
1215
1237
  * This method is called by SAP Fiori elements before persisting the AppState. Application developers can
1216
1238
  * override this method for persisting the state of custom controls. State of the custom control (controls)
@@ -1320,9 +1342,9 @@ declare namespace sap {
1320
1342
  oEvent: sap.ui.base.Event
1321
1343
  ): void;
1322
1344
  /**
1323
- * This method should be implemented whenever application uses onListNaviagtionExtension for internal navigation.
1345
+ * This method should be implemented whenever application uses onListNavigationExtension for internal navigation.
1324
1346
  * In this case the implementation of this method should provide an 'inverse' mapping to the transformation
1325
- * implemented within onListNaviagtionExtension. More precisely, the identification of a child page instance
1347
+ * implemented within onListNavigationExtension. More precisely, the identification of a child page instance
1326
1348
  * is passed to this function. The implementation of this function should provide information about the
1327
1349
  * list item which has triggered the opening of the child page.
1328
1350
  */
@@ -1720,11 +1742,11 @@ declare namespace sap {
1720
1742
  */
1721
1743
  mUrlParameters: Record<string, any>,
1722
1744
  /**
1723
- * Parameters which are used to set patameters for involing Application controller's incokeActions method
1745
+ * Parameters that are set for invoking Application controller's invokeActions method
1724
1746
  */
1725
1747
  oSettings: {
1726
1748
  /**
1727
- * determined whether common or unique changeset will be sent in batch
1749
+ * Determines whether the common or unique changeset gets sent in batch
1728
1750
  */
1729
1751
  bInvocationGroupingChangeSet: boolean;
1730
1752
  }
@@ -1742,11 +1764,11 @@ declare namespace sap {
1742
1764
  */
1743
1765
  vContext: any[] | sap.ui.model.Context,
1744
1766
  /**
1745
- * Parameters which are used to set patameters for involing Application controller's incokeActions method
1767
+ * Parameters that are set for invoking Application controller's invokeActions method
1746
1768
  */
1747
1769
  oSettings: {
1748
1770
  /**
1749
- * determined whether common or unique changeset will be sent in batch
1771
+ * Determines whether the common or unique changeset gets sent in batch
1750
1772
  */
1751
1773
  bInvocationGroupingChangeSet: boolean;
1752
1774
  }
@@ -2103,9 +2125,9 @@ declare namespace sap {
2103
2125
  oEvent: sap.ui.base.Event
2104
2126
  ): void;
2105
2127
  /**
2106
- * This method should be implemented whenever application uses onListNaviagtionExtension for internal navigation.
2128
+ * This method should be implemented whenever application uses onListNavigationExtension for internal navigation.
2107
2129
  * In this case the implementation of this method should provide an 'inverse' mapping to the transformation
2108
- * implemented within onListNaviagtionExtension. More precisely, the identification of a child page instance
2130
+ * implemented within onListNavigationExtension. More precisely, the identification of a child page instance
2109
2131
  * is passed to this function. The implementation of this function should provide information about the
2110
2132
  * list item which has triggered the opening of the child page.
2111
2133
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -186,7 +186,7 @@ declare namespace sap {
186
186
  selectedKey?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
187
187
 
188
188
  /**
189
- * @SINCE 1.96.2
189
+ * @SINCE 1.98
190
190
  *
191
191
  * Specifies an optional aria-label that can be used by the screen readers.
192
192
  */
@@ -1357,7 +1357,7 @@ declare namespace sap {
1357
1357
  }
1358
1358
  ): this;
1359
1359
  /**
1360
- * @SINCE 1.96.2
1360
+ * @SINCE 1.98
1361
1361
  *
1362
1362
  * Gets current value of property {@link #getAriaLabel ariaLabel}.
1363
1363
  *
@@ -1406,7 +1406,7 @@ declare namespace sap {
1406
1406
  */
1407
1407
  getSelectedKey(): string;
1408
1408
  /**
1409
- * @SINCE 1.96.2
1409
+ * @SINCE 1.98
1410
1410
  *
1411
1411
  * Sets a new value for property {@link #getAriaLabel ariaLabel}.
1412
1412
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -361,6 +361,12 @@ declare namespace sap {
361
361
  * Default value is `"100%"`.
362
362
  */
363
363
  getHeight(): sap.ui.core.CSSSize;
364
+ /**
365
+ * Returns the DOMNode ID to be used for the "labelFor" attribute of the label.
366
+ *
367
+ * By default, this is the ID of the control itself.
368
+ */
369
+ getIdForLabel(): string;
364
370
  /**
365
371
  * Gets current value of property {@link #getLineNumbers lineNumbers}.
366
372
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.3
1
+ // For Library Version: 1.98.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {