@sapui5/ts-types 1.136.3 → 1.138.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 (70) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +2 -1
  3. package/types/sap.apf.d.ts +30 -3
  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.cux.home.d.ts +263 -63
  8. package/types/sap.esh.search.ui.d.ts +71 -1
  9. package/types/sap.f.d.ts +1 -1
  10. package/types/sap.fe.ariba.d.ts +3 -0
  11. package/types/sap.fe.base.d.ts +1 -1
  12. package/types/sap.fe.controls.d.ts +1 -1
  13. package/types/sap.fe.core.d.ts +46 -6
  14. package/types/sap.fe.ina.d.ts +1 -1
  15. package/types/sap.fe.macros.d.ts +197 -65
  16. package/types/sap.fe.navigation.d.ts +1 -1
  17. package/types/sap.fe.placeholder.d.ts +1 -1
  18. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  19. package/types/sap.fe.templates.d.ts +1 -1
  20. package/types/sap.fe.test.d.ts +4 -3
  21. package/types/sap.fe.tools.d.ts +1 -1
  22. package/types/sap.feedback.ui.d.ts +1 -1
  23. package/types/sap.gantt.d.ts +1 -1
  24. package/types/sap.insights.d.ts +1 -1
  25. package/types/sap.m.d.ts +1206 -541
  26. package/types/sap.makit.d.ts +1 -1
  27. package/types/sap.me.d.ts +1 -1
  28. package/types/sap.ndc.d.ts +1 -1
  29. package/types/sap.ovp.d.ts +1 -1
  30. package/types/sap.rules.ui.d.ts +1 -1
  31. package/types/sap.sac.df.d.ts +34 -1
  32. package/types/sap.suite.ui.commons.d.ts +2 -2
  33. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  34. package/types/sap.suite.ui.microchart.d.ts +1 -1
  35. package/types/sap.tnt.d.ts +103 -16
  36. package/types/sap.ui.codeeditor.d.ts +1 -1
  37. package/types/sap.ui.commons.d.ts +1 -1
  38. package/types/sap.ui.comp.d.ts +70 -9
  39. package/types/sap.ui.core.d.ts +69 -70
  40. package/types/sap.ui.dt.d.ts +1 -1
  41. package/types/sap.ui.export.d.ts +216 -167
  42. package/types/sap.ui.fl.d.ts +3 -7
  43. package/types/sap.ui.generic.app.d.ts +1 -1
  44. package/types/sap.ui.generic.template.d.ts +1 -1
  45. package/types/sap.ui.integration.d.ts +44 -24
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/{mdc-1.136.0-d.ts → sap.ui.mdc.d.ts} +597 -293
  48. package/types/sap.ui.richtexteditor.d.ts +21 -17
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  52. package/types/sap.ui.table.d.ts +1 -1
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +9 -1
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +65 -29
  57. package/types/sap.ui.vk.d.ts +387 -100
  58. package/types/sap.ui.vtm.d.ts +7 -4
  59. package/types/sap.ui.webc.common.d.ts +1 -1
  60. package/types/sap.ui.webc.fiori.d.ts +1 -1
  61. package/types/sap.ui.webc.main.d.ts +1 -1
  62. package/types/sap.uiext.inbox.d.ts +1 -1
  63. package/types/sap.ushell.d.ts +55 -43
  64. package/types/sap.ushell_abap.d.ts +1 -1
  65. package/types/sap.uxap.d.ts +1 -1
  66. package/types/sap.viz.d.ts +1 -1
  67. package/types/sap.webanalytics.core.d.ts +1 -1
  68. package/types/sap.zen.commons.d.ts +1 -1
  69. package/types/sap.zen.crosstab.d.ts +1 -1
  70. package/types/sap.zen.dsh.d.ts +1 -1
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.136.2
282
+ // For Library Version: 1.138.0
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -18853,8 +18853,7 @@ declare namespace sap {
18853
18853
  */
18854
18854
  groupingBaseSize?: int;
18855
18855
  /**
18856
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
18857
- * the `groupingSize` format option is set to a non-positive value.
18856
+ * defines whether grouping is enabled (grouping separators are shown)
18858
18857
  */
18859
18858
  groupingEnabled?: boolean;
18860
18859
  /**
@@ -18863,8 +18862,7 @@ declare namespace sap {
18863
18862
  */
18864
18863
  groupingSeparator?: string;
18865
18864
  /**
18866
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
18867
- * non-positive value, grouping will be disabled entirely.
18865
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
18868
18866
  */
18869
18867
  groupingSize?: int;
18870
18868
  /**
@@ -19034,8 +19032,7 @@ declare namespace sap {
19034
19032
  */
19035
19033
  groupingBaseSize?: int;
19036
19034
  /**
19037
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
19038
- * the `groupingSize` format option is set to a non-positive value.
19035
+ * defines whether grouping is enabled (grouping separators are shown)
19039
19036
  */
19040
19037
  groupingEnabled?: boolean;
19041
19038
  /**
@@ -19044,8 +19041,7 @@ declare namespace sap {
19044
19041
  */
19045
19042
  groupingSeparator?: string;
19046
19043
  /**
19047
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
19048
- * non-positive value, grouping will be disabled entirely.
19044
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
19049
19045
  */
19050
19046
  groupingSize?: int;
19051
19047
  /**
@@ -19199,8 +19195,7 @@ declare namespace sap {
19199
19195
  */
19200
19196
  groupingBaseSize?: int;
19201
19197
  /**
19202
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
19203
- * the `groupingSize` format option is set to a non-positive value.
19198
+ * defines whether grouping is enabled (grouping separators are shown)
19204
19199
  */
19205
19200
  groupingEnabled?: boolean;
19206
19201
  /**
@@ -19209,8 +19204,7 @@ declare namespace sap {
19209
19204
  */
19210
19205
  groupingSeparator?: string;
19211
19206
  /**
19212
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
19213
- * non-positive value, grouping will be disabled entirely.
19207
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
19214
19208
  */
19215
19209
  groupingSize?: int;
19216
19210
  /**
@@ -19359,8 +19353,7 @@ declare namespace sap {
19359
19353
  */
19360
19354
  groupingBaseSize?: int;
19361
19355
  /**
19362
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
19363
- * the `groupingSize` format option is set to a non-positive value.
19356
+ * defines whether grouping is enabled (grouping separators are shown)
19364
19357
  */
19365
19358
  groupingEnabled?: boolean;
19366
19359
  /**
@@ -19369,8 +19362,7 @@ declare namespace sap {
19369
19362
  */
19370
19363
  groupingSeparator?: string;
19371
19364
  /**
19372
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
19373
- * non-positive value, grouping will be disabled entirely.
19365
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
19374
19366
  */
19375
19367
  groupingSize?: int;
19376
19368
  /**
@@ -19531,8 +19523,7 @@ declare namespace sap {
19531
19523
  */
19532
19524
  groupingBaseSize?: int;
19533
19525
  /**
19534
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
19535
- * the `groupingSize` format option is set to a non-positive value.
19526
+ * defines whether grouping is enabled (grouping separators are shown)
19536
19527
  */
19537
19528
  groupingEnabled?: boolean;
19538
19529
  /**
@@ -19541,8 +19532,7 @@ declare namespace sap {
19541
19532
  */
19542
19533
  groupingSeparator?: string;
19543
19534
  /**
19544
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
19545
- * non-positive value, grouping will be disabled entirely.
19535
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
19546
19536
  */
19547
19537
  groupingSize?: int;
19548
19538
  /**
@@ -26462,6 +26452,27 @@ declare namespace sap {
26462
26452
  * @returns Metadata object describing this class
26463
26453
  */
26464
26454
  static getMetadata(): sap.ui.base.Metadata;
26455
+ /**
26456
+ * Returns a managed instance of {@link sap.ui.core.routing.RouterHashChanger} associated with the current
26457
+ * instance.
26458
+ *
26459
+ * This sub-instance handles a specific part of the URL hash. When the sub-instance modifies the hash, it
26460
+ * notifies the parent instance, which then updates the browser’s hash accordingly. Likewise, when the relevant
26461
+ * part of the hash changes externally, the parent instance notifies the sub-instance.
26462
+ *
26463
+ * The provided `sKey` is used as an identifier for caching the sub-instance. If this method is called again
26464
+ * with the same key, the previously created instance is returned.
26465
+ *
26466
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
26467
+ *
26468
+ * @returns The corresponding sub RouterHashChanger instance.
26469
+ */
26470
+ createSubHashChanger(
26471
+ /**
26472
+ * A unique key used as the prefix for the sub RouterHashChanger.
26473
+ */
26474
+ sKey: string
26475
+ ): sap.ui.core.routing.RouterHashChanger;
26465
26476
  /**
26466
26477
  * Save the given hash and potentially fires a "hashChanged" event; may be extended to modify the hash before
26467
26478
  * firing the event.
@@ -26725,7 +26736,10 @@ declare namespace sap {
26725
26736
  oListener?: object
26726
26737
  ): this;
26727
26738
  /**
26728
- * Creates a view and puts it in an aggregation of a control that has been defined in the {@link sap.ui.core.routing.Target#constructor}.
26739
+ * Creates a view and puts it in an aggregation of a control that has been defined in the {@link #constructor}.
26740
+ *
26741
+ * This method can be used to display a target without changing the browser hash. If the browser hash should
26742
+ * be changed, the {@link sap.ui.core.routing.Router#navTo} method should be used instead
26729
26743
  *
26730
26744
  *
26731
26745
  * @returns resolves with {name: *, view: *, control: *} if the target can be successfully displayed otherwise
@@ -27040,41 +27054,29 @@ declare namespace sap {
27040
27054
  * Creates a view and puts it in an aggregation of the specified control.
27041
27055
  *
27042
27056
  *
27043
- * @returns this pointer for chaining or a Promise
27057
+ * @returns resolving with {{name: *, view: *, control: *}|undefined} for every vTargets, object for single,
27058
+ * array for multiple
27044
27059
  */
27045
27060
  display(
27046
27061
  /**
27047
- * Either the target name or a target info object. To display multiple targets you may also pass an array
27048
- * of target names or target info objects.
27062
+ * the key of the target as specified in the {@link #constructor}. To display multiple targets you may also
27063
+ * pass an array of keys. If the target(s) represents a sap.ui.core.UIComponent, a prefix for its Router
27064
+ * is needed. You can set this parameter with an object which has the 'name' property set with the key of
27065
+ * the target and the 'prefix' property set with the prefix for the UIComponent's router. To display multiple
27066
+ * component targets, you man also pass an array of objects.
27049
27067
  */
27050
- vTargets:
27051
- | string
27052
- | string[]
27053
- | sap.ui.core.routing.TargetInfo
27054
- | sap.ui.core.routing.TargetInfo[],
27068
+ vTargets: string | string[] | object | object[],
27055
27069
  /**
27056
27070
  * an object that will be passed to the display event in the data property. If the target has parents, the
27057
27071
  * data will also be passed to them.
27058
27072
  */
27059
- oData?: object,
27073
+ vData?: object,
27060
27074
  /**
27061
27075
  * the name of the target from which the title option is taken for firing the {@link sap.ui.core.routing.Targets#event:titleChanged titleChanged }
27062
27076
  * event
27063
27077
  */
27064
27078
  sTitleTarget?: string
27065
- ):
27066
- | this
27067
- | Promise<
27068
- Array<{
27069
- name: string;
27070
-
27071
- view: sap.ui.core.mvc.View;
27072
-
27073
- control: sap.ui.core.Control;
27074
-
27075
- targetInfo: sap.ui.core.routing.TargetInfo;
27076
- }>
27077
- >;
27079
+ ): Promise<any>;
27078
27080
  /**
27079
27081
  * Fires event {@link #event:created created} to attached listeners.
27080
27082
  *
@@ -32066,8 +32068,6 @@ declare namespace sap {
32066
32068
  }
32067
32069
  /**
32068
32070
  * Describes the settings that can be provided to the WebComponent constructor.
32069
- *
32070
- * @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
32071
32071
  */
32072
32072
  interface $WebComponentSettings extends sap.ui.core.$ControlSettings {}
32073
32073
 
@@ -32077,8 +32077,7 @@ declare namespace sap {
32077
32077
  * properties, the aggregations and the events. It also ensures to render the control and put the aggregated
32078
32078
  * controls in the dedicated slots of the Web Component.
32079
32079
  *
32080
- * @since 1.118.0
32081
- * @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
32080
+ * @since 1.138.0
32082
32081
  */
32083
32082
  class WebComponent extends sap.ui.core.Control {
32084
32083
  /**
@@ -32179,8 +32178,7 @@ declare namespace sap {
32179
32178
  static getMetadata(): sap.ui.core.webc.WebComponentMetadata;
32180
32179
  }
32181
32180
  /**
32182
- * @since 1.118.0
32183
- * @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
32181
+ * @since 1.138.0
32184
32182
  */
32185
32183
  class WebComponentMetadata extends sap.ui.core.ElementMetadata {
32186
32184
  /**
@@ -51926,7 +51924,7 @@ declare namespace sap {
51926
51924
  /**
51927
51925
  * If called on an instance of an (v1/v2) ODataModel it will enrich it with analytics capabilities.
51928
51926
  *
51929
- * @experimental This module is only for experimental use!
51927
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
51930
51928
  * @ui5-protected Do not call from applications (only from related classes in the framework)
51931
51929
  */
51932
51930
  function ODataModelAdapter(): void;
@@ -53849,7 +53847,7 @@ declare namespace sap {
53849
53847
  *
53850
53848
  * Lazy initialization of attributes will cause unexpected values when you access object attributes directly.
53851
53849
  *
53852
- * @experimental This module is only for experimental use!
53850
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
53853
53851
  * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
53854
53852
  */
53855
53853
  interface odata4analytics {
@@ -53880,7 +53878,7 @@ declare namespace sap {
53880
53878
  * to OData requests. If a binding count mode is set to `Request` or `Both`, a warning is logged to remind
53881
53879
  * the application that the OData requests generated by the AnalyticalBinding include a $inlinecount.
53882
53880
  *
53883
- * @experimental This module is only for experimental use!
53881
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
53884
53882
  * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
53885
53883
  */
53886
53884
  class AnalyticalBinding extends sap.ui.model.TreeBinding {
@@ -54476,7 +54474,10 @@ declare namespace sap {
54476
54474
  bForceChange: boolean
54477
54475
  ): void;
54478
54476
  }
54479
-
54477
+ /**
54478
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
54479
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
54480
+ */
54480
54481
  class AnalyticalTreeBindingAdapter {
54481
54482
  /**
54482
54483
  * Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
@@ -55042,7 +55043,7 @@ declare namespace sap {
55042
55043
  * controls. Only usable with the sap.ui.table.TreeTable control. The functions defined here are only available
55043
55044
  * when you are using a TreeTable and an ODataModel.
55044
55045
  *
55045
- * @experimental This module is only for experimental and internal use!
55046
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 hierarchy functionality, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1/section_RCH Recursive Hierarchy}
55046
55047
  */
55047
55048
  function ODataTreeBindingAdapter(): void;
55048
55049
  /**
@@ -62809,8 +62810,6 @@ declare namespace sap {
62809
62810
 
62810
62811
  /**
62811
62812
  * Parameters of the ODataListBinding#separateReceived event.
62812
- *
62813
- * @experimental As of version 1.131.0.
62814
62813
  */
62815
62814
  interface ODataListBinding$SeparateReceivedEventParameters {
62816
62815
  /**
@@ -62829,9 +62828,9 @@ declare namespace sap {
62829
62828
  length?: number;
62830
62829
 
62831
62830
  /**
62832
- * A UI5 message of type {@link module:sap/ui/core/message/MessageType MessageType.Error}
62831
+ * An array of UI5 messages if the request failed; `undefined` otherwise
62833
62832
  */
62834
- errorMessage?: sap.ui.core.message.Message;
62833
+ messagesOnError?: sap.ui.core.message.Message[];
62835
62834
  }
62836
62835
 
62837
62836
  /**
@@ -66774,7 +66773,9 @@ declare namespace sap {
66774
66773
  * is not an OData simple identifier, it can be used as a placeholder for one. In this way, "/EMPLOYEES/"
66775
66774
  * addresses the same entity type as "/EMPLOYEES/$Type/". That entity type in turn is a map of all its OData
66776
66775
  * children (that is, structural and navigation properties) and determines the set of possible child names
66777
- * that might be used after the trailing slash.
66776
+ * that might be used after the trailing slash. Since 1.137.0, open (complex or entity) types are supported
66777
+ * as follows: A simple identifier that does not refer to an OData child is valid and treated as a dynamic
66778
+ * property of type "Edm.Untyped".
66778
66779
  *
66779
66780
  * "$" can be used as the last segment to continue a path and thus force scope lookup, but no OData simple
66780
66781
  * identifier preparations. In this way, it serves as a placeholder for a technical property. The path must
@@ -67401,12 +67402,12 @@ declare namespace sap {
67401
67402
  */
67402
67403
  $$ownRequest?: boolean;
67403
67404
  /**
67404
- * An array of navigation property names which are omitted from the main list request and loaded in a separate
67405
- * request instead (@experimental as of version 1.129.0). This results in the main list becoming available
67406
- * faster, while the separate properties are merged as soon as the data is received. Note that the separate
67407
- * properties must be single valued and part of the '$expand' system query option, either automatically
67408
- * via the "autoExpandSelect" model parameter (see {@link #constructor}) or manually. The `$$separate` parameter
67409
- * must not be combined with `$$aggregation`.
67405
+ * An array of navigation property names which are omitted from the main list request (since 1.137.0). Instead,
67406
+ * each of them is loaded in a separate request. This results in the main list becoming available faster,
67407
+ * while the separate properties are merged as soon as the data is received. Note that the separate properties
67408
+ * must be single valued and part of the '$expand' system query option, either automatically via the "autoExpandSelect"
67409
+ * model parameter (see {@link #constructor}) or manually. The `$$separate` parameter must not be combined
67410
+ * with `$$aggregation`.
67410
67411
  */
67411
67412
  $$separate?: string[];
67412
67413
  /**
@@ -68569,8 +68570,6 @@ declare namespace sap {
68569
68570
 
68570
68571
  /**
68571
68572
  * Event object of the ODataListBinding#separateReceived event.
68572
- *
68573
- * @experimental As of version 1.131.0.
68574
68573
  */
68575
68574
  type ODataListBinding$SeparateReceivedEvent = sap.ui.base.Event<
68576
68575
  ODataListBinding$SeparateReceivedEventParameters,
@@ -85905,11 +85904,11 @@ declare namespace sap {
85905
85904
  * whether a function is used as arrangement or action. Each function typically contains one or multiple
85906
85905
  * `waitFor` statements.
85907
85906
  */
85908
- actions?: Record<string, () => void> | Function;
85907
+ actions?: Record<string, Function> | Function;
85909
85908
  /**
85910
85909
  * A map or a class of functions that can be used as assertions in Opa tests.
85911
85910
  */
85912
- assertions?: Record<string, () => void> | Function;
85911
+ assertions?: Record<string, Function> | Function;
85913
85912
  };
85914
85913
  }
85915
85914
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.2
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {