@sapui5/ts-types-esm 1.136.3 → 1.138.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 (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 +315 -65
  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 +50 -8
  14. package/types/sap.fe.ina.d.ts +1 -1
  15. package/types/sap.fe.macros.d.ts +170 -66
  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 +1251 -564
  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 +4 -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 +67 -9
  39. package/types/sap.ui.core.d.ts +72 -69
  40. package/types/sap.ui.dt.d.ts +1 -1
  41. package/types/sap.ui.export.d.ts +221 -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-esm-d.ts → sap.ui.mdc.d.ts} +599 -297
  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 +75 -30
  57. package/types/sap.ui.vk.d.ts +364 -102
  58. package/types/sap.ui.vtm.d.ts +3 -2
  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 +58 -44
  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
  /**
@@ -29717,8 +29717,7 @@ declare module "sap/ui/core/format/NumberFormat" {
29717
29717
  */
29718
29718
  groupingBaseSize?: int;
29719
29719
  /**
29720
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
29721
- * the `groupingSize` format option is set to a non-positive value.
29720
+ * defines whether grouping is enabled (grouping separators are shown)
29722
29721
  */
29723
29722
  groupingEnabled?: boolean;
29724
29723
  /**
@@ -29727,8 +29726,7 @@ declare module "sap/ui/core/format/NumberFormat" {
29727
29726
  */
29728
29727
  groupingSeparator?: string;
29729
29728
  /**
29730
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
29731
- * non-positive value, grouping will be disabled entirely.
29729
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
29732
29730
  */
29733
29731
  groupingSize?: int;
29734
29732
  /**
@@ -29898,8 +29896,7 @@ declare module "sap/ui/core/format/NumberFormat" {
29898
29896
  */
29899
29897
  groupingBaseSize?: int;
29900
29898
  /**
29901
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
29902
- * the `groupingSize` format option is set to a non-positive value.
29899
+ * defines whether grouping is enabled (grouping separators are shown)
29903
29900
  */
29904
29901
  groupingEnabled?: boolean;
29905
29902
  /**
@@ -29908,8 +29905,7 @@ declare module "sap/ui/core/format/NumberFormat" {
29908
29905
  */
29909
29906
  groupingSeparator?: string;
29910
29907
  /**
29911
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
29912
- * non-positive value, grouping will be disabled entirely.
29908
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
29913
29909
  */
29914
29910
  groupingSize?: int;
29915
29911
  /**
@@ -30063,8 +30059,7 @@ declare module "sap/ui/core/format/NumberFormat" {
30063
30059
  */
30064
30060
  groupingBaseSize?: int;
30065
30061
  /**
30066
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
30067
- * the `groupingSize` format option is set to a non-positive value.
30062
+ * defines whether grouping is enabled (grouping separators are shown)
30068
30063
  */
30069
30064
  groupingEnabled?: boolean;
30070
30065
  /**
@@ -30073,8 +30068,7 @@ declare module "sap/ui/core/format/NumberFormat" {
30073
30068
  */
30074
30069
  groupingSeparator?: string;
30075
30070
  /**
30076
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
30077
- * non-positive value, grouping will be disabled entirely.
30071
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
30078
30072
  */
30079
30073
  groupingSize?: int;
30080
30074
  /**
@@ -30223,8 +30217,7 @@ declare module "sap/ui/core/format/NumberFormat" {
30223
30217
  */
30224
30218
  groupingBaseSize?: int;
30225
30219
  /**
30226
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
30227
- * the `groupingSize` format option is set to a non-positive value.
30220
+ * defines whether grouping is enabled (grouping separators are shown)
30228
30221
  */
30229
30222
  groupingEnabled?: boolean;
30230
30223
  /**
@@ -30233,8 +30226,7 @@ declare module "sap/ui/core/format/NumberFormat" {
30233
30226
  */
30234
30227
  groupingSeparator?: string;
30235
30228
  /**
30236
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
30237
- * non-positive value, grouping will be disabled entirely.
30229
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
30238
30230
  */
30239
30231
  groupingSize?: int;
30240
30232
  /**
@@ -30395,8 +30387,7 @@ declare module "sap/ui/core/format/NumberFormat" {
30395
30387
  */
30396
30388
  groupingBaseSize?: int;
30397
30389
  /**
30398
- * defines whether grouping is enabled (grouping separators are shown). **Note:** Grouping is disabled if
30399
- * the `groupingSize` format option is set to a non-positive value.
30390
+ * defines whether grouping is enabled (grouping separators are shown)
30400
30391
  */
30401
30392
  groupingEnabled?: boolean;
30402
30393
  /**
@@ -30405,8 +30396,7 @@ declare module "sap/ui/core/format/NumberFormat" {
30405
30396
  */
30406
30397
  groupingSeparator?: string;
30407
30398
  /**
30408
- * defines the grouping size in digits; the default is `3`. **Note:** If this format option is set to a
30409
- * non-positive value, grouping will be disabled entirely.
30399
+ * defines the grouping size in digits; the default is `3`. It must be a positive number.
30410
30400
  */
30411
30401
  groupingSize?: int;
30412
30402
  /**
@@ -42680,7 +42670,10 @@ declare module "sap/ui/core/routing/Target" {
42680
42670
  oListener?: object
42681
42671
  ): this;
42682
42672
  /**
42683
- * 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}.
42673
+ * Creates a view and puts it in an aggregation of a control that has been defined in the {@link #constructor}.
42674
+ *
42675
+ * This method can be used to display a target without changing the browser hash. If the browser hash should
42676
+ * be changed, the {@link sap.ui.core.routing.Router#navTo} method should be used instead
42684
42677
  *
42685
42678
  *
42686
42679
  * @returns resolves with {name: *, view: *, control: *} if the target can be successfully displayed otherwise
@@ -44600,6 +44593,27 @@ declare module "sap/ui/core/routing/RouterHashChanger" {
44600
44593
  * @returns Metadata object describing this class
44601
44594
  */
44602
44595
  static getMetadata(): Metadata;
44596
+ /**
44597
+ * Returns a managed instance of {@link sap.ui.core.routing.RouterHashChanger} associated with the current
44598
+ * instance.
44599
+ *
44600
+ * This sub-instance handles a specific part of the URL hash. When the sub-instance modifies the hash, it
44601
+ * notifies the parent instance, which then updates the browser’s hash accordingly. Likewise, when the relevant
44602
+ * part of the hash changes externally, the parent instance notifies the sub-instance.
44603
+ *
44604
+ * The provided `sKey` is used as an identifier for caching the sub-instance. If this method is called again
44605
+ * with the same key, the previously created instance is returned.
44606
+ *
44607
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
44608
+ *
44609
+ * @returns The corresponding sub RouterHashChanger instance.
44610
+ */
44611
+ createSubHashChanger(
44612
+ /**
44613
+ * A unique key used as the prefix for the sub RouterHashChanger.
44614
+ */
44615
+ sKey: string
44616
+ ): RouterHashChanger;
44603
44617
  /**
44604
44618
  * Save the given hash and potentially fires a "hashChanged" event; may be extended to modify the hash before
44605
44619
  * firing the event.
@@ -44716,10 +44730,6 @@ declare module "sap/ui/core/routing/Targets" {
44716
44730
  default as Target,
44717
44731
  } from "sap/ui/core/routing/Target";
44718
44732
 
44719
- import View from "sap/ui/core/mvc/View";
44720
-
44721
- import Control from "sap/ui/core/Control";
44722
-
44723
44733
  import Metadata from "sap/ui/base/Metadata";
44724
44734
 
44725
44735
  import Event from "sap/ui/base/Event";
@@ -45040,37 +45050,29 @@ declare module "sap/ui/core/routing/Targets" {
45040
45050
  * Creates a view and puts it in an aggregation of the specified control.
45041
45051
  *
45042
45052
  *
45043
- * @returns this pointer for chaining or a Promise
45053
+ * @returns resolving with {{name: *, view: *, control: *}|undefined} for every vTargets, object for single,
45054
+ * array for multiple
45044
45055
  */
45045
45056
  display(
45046
45057
  /**
45047
- * Either the target name or a target info object. To display multiple targets you may also pass an array
45048
- * of target names or target info objects.
45058
+ * the key of the target as specified in the {@link #constructor}. To display multiple targets you may also
45059
+ * pass an array of keys. If the target(s) represents a sap.ui.core.UIComponent, a prefix for its Router
45060
+ * is needed. You can set this parameter with an object which has the 'name' property set with the key of
45061
+ * the target and the 'prefix' property set with the prefix for the UIComponent's router. To display multiple
45062
+ * component targets, you man also pass an array of objects.
45049
45063
  */
45050
- vTargets: string | string[] | TargetInfo | TargetInfo[],
45064
+ vTargets: string | string[] | object | object[],
45051
45065
  /**
45052
45066
  * an object that will be passed to the display event in the data property. If the target has parents, the
45053
45067
  * data will also be passed to them.
45054
45068
  */
45055
- oData?: object,
45069
+ vData?: object,
45056
45070
  /**
45057
45071
  * the name of the target from which the title option is taken for firing the {@link sap.ui.core.routing.Targets#event:titleChanged titleChanged }
45058
45072
  * event
45059
45073
  */
45060
45074
  sTitleTarget?: string
45061
- ):
45062
- | this
45063
- | Promise<
45064
- Array<{
45065
- name: string;
45066
-
45067
- view: View;
45068
-
45069
- control: Control;
45070
-
45071
- targetInfo: TargetInfo;
45072
- }>
45073
- >;
45075
+ ): Promise<any>;
45074
45076
  /**
45075
45077
  * Fires event {@link #event:created created} to attached listeners.
45076
45078
  *
@@ -51751,8 +51753,7 @@ declare module "sap/ui/core/webc/WebComponent" {
51751
51753
  * properties, the aggregations and the events. It also ensures to render the control and put the aggregated
51752
51754
  * controls in the dedicated slots of the Web Component.
51753
51755
  *
51754
- * @since 1.118.0
51755
- * @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
51756
+ * @since 1.138.0
51756
51757
  */
51757
51758
  export default class WebComponent extends Control {
51758
51759
  /**
@@ -51899,8 +51900,6 @@ declare module "sap/ui/core/webc/WebComponent" {
51899
51900
 
51900
51901
  /**
51901
51902
  * Describes the settings that can be provided to the WebComponent constructor.
51902
- *
51903
- * @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
51904
51903
  */
51905
51904
  export interface $WebComponentSettings extends $ControlSettings {}
51906
51905
 
@@ -52000,8 +51999,7 @@ declare module "sap/ui/core/webc/WebComponentMetadata" {
52000
51999
  import ElementMetadata from "sap/ui/core/ElementMetadata";
52001
52000
 
52002
52001
  /**
52003
- * @since 1.118.0
52004
- * @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
52002
+ * @since 1.138.0
52005
52003
  */
52006
52004
  export default class WebComponentMetadata extends ElementMetadata {
52007
52005
  /**
@@ -53835,7 +53833,7 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
53835
53833
  * to OData requests. If a binding count mode is set to `Request` or `Both`, a warning is logged to remind
53836
53834
  * the application that the OData requests generated by the AnalyticalBinding include a $inlinecount.
53837
53835
  *
53838
- * @experimental This module is only for experimental use!
53836
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
53839
53837
  * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
53840
53838
  */
53841
53839
  export default class AnalyticalBinding extends TreeBinding {
@@ -54431,6 +54429,10 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
54431
54429
  }
54432
54430
 
54433
54431
  declare module "sap/ui/model/analytics/AnalyticalTreeBindingAdapter" {
54432
+ /**
54433
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
54434
+ * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
54435
+ */
54434
54436
  export default class AnalyticalTreeBindingAdapter {
54435
54437
  /**
54436
54438
  * Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
@@ -54579,7 +54581,7 @@ declare module "sap/ui/model/analytics/odata4analytics" {
54579
54581
  *
54580
54582
  * Lazy initialization of attributes will cause unexpected values when you access object attributes directly.
54581
54583
  *
54582
- * @experimental This module is only for experimental use!
54584
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
54583
54585
  * @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
54584
54586
  */
54585
54587
  interface odata4analytics {
@@ -54606,6 +54608,9 @@ declare module "sap/ui/model/analytics/odata4analytics" {
54606
54608
  ): void;
54607
54609
  }
54608
54610
  const odata4analytics: odata4analytics;
54611
+ /**
54612
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
54613
+ */
54609
54614
  export default odata4analytics;
54610
54615
 
54611
54616
  /**
@@ -61390,7 +61395,7 @@ declare module "sap/ui/model/odata/ODataTreeBindingAdapter" {
61390
61395
  * controls. Only usable with the sap.ui.table.TreeTable control. The functions defined here are only available
61391
61396
  * when you are using a TreeTable and an ODataModel.
61392
61397
  *
61393
- * @experimental This module is only for experimental and internal use!
61398
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 hierarchy functionality, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1/section_RCH Recursive Hierarchy}
61394
61399
  */
61395
61400
  export default function ODataTreeBindingAdapter(): void;
61396
61401
  }
@@ -74285,8 +74290,6 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
74285
74290
 
74286
74291
  /**
74287
74292
  * Parameters of the ODataListBinding#separateReceived event.
74288
- *
74289
- * @experimental As of version 1.131.0.
74290
74293
  */
74291
74294
  export interface ODataListBinding$SeparateReceivedEventParameters {
74292
74295
  /**
@@ -74305,15 +74308,13 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
74305
74308
  length?: number;
74306
74309
 
74307
74310
  /**
74308
- * A UI5 message of type {@link module:sap/ui/core/message/MessageType MessageType.Error}
74311
+ * An array of UI5 messages if the request failed; `undefined` otherwise
74309
74312
  */
74310
- errorMessage?: Message;
74313
+ messagesOnError?: Message[];
74311
74314
  }
74312
74315
 
74313
74316
  /**
74314
74317
  * Event object of the ODataListBinding#separateReceived event.
74315
- *
74316
- * @experimental As of version 1.131.0.
74317
74318
  */
74318
74319
  export type ODataListBinding$SeparateReceivedEvent = Event<
74319
74320
  ODataListBinding$SeparateReceivedEventParameters,
@@ -74914,7 +74915,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
74914
74915
  * is not an OData simple identifier, it can be used as a placeholder for one. In this way, "/EMPLOYEES/"
74915
74916
  * addresses the same entity type as "/EMPLOYEES/$Type/". That entity type in turn is a map of all its OData
74916
74917
  * children (that is, structural and navigation properties) and determines the set of possible child names
74917
- * that might be used after the trailing slash.
74918
+ * that might be used after the trailing slash. Since 1.137.0, open (complex or entity) types are supported
74919
+ * as follows: A simple identifier that does not refer to an OData child is valid and treated as a dynamic
74920
+ * property of type "Edm.Untyped".
74918
74921
  *
74919
74922
  * "$" can be used as the last segment to continue a path and thus force scope lookup, but no OData simple
74920
74923
  * identifier preparations. In this way, it serves as a placeholder for a technical property. The path must
@@ -75581,12 +75584,12 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
75581
75584
  */
75582
75585
  $$ownRequest?: boolean;
75583
75586
  /**
75584
- * An array of navigation property names which are omitted from the main list request and loaded in a separate
75585
- * request instead (@experimental as of version 1.129.0). This results in the main list becoming available
75586
- * faster, while the separate properties are merged as soon as the data is received. Note that the separate
75587
- * properties must be single valued and part of the '$expand' system query option, either automatically
75588
- * via the "autoExpandSelect" model parameter (see {@link #constructor}) or manually. The `$$separate` parameter
75589
- * must not be combined with `$$aggregation`.
75587
+ * An array of navigation property names which are omitted from the main list request (since 1.137.0). Instead,
75588
+ * each of them is loaded in a separate request. This results in the main list becoming available faster,
75589
+ * while the separate properties are merged as soon as the data is received. Note that the separate properties
75590
+ * must be single valued and part of the '$expand' system query option, either automatically via the "autoExpandSelect"
75591
+ * model parameter (see {@link #constructor}) or manually. The `$$separate` parameter must not be combined
75592
+ * with `$$aggregation`.
75590
75593
  */
75591
75594
  $$separate?: string[];
75592
75595
  /**
@@ -84536,11 +84539,11 @@ declare module "sap/ui/test/Opa5" {
84536
84539
  * whether a function is used as arrangement or action. Each function typically contains one or multiple
84537
84540
  * `waitFor` statements.
84538
84541
  */
84539
- actions?: Record<string, () => void> | Function;
84542
+ actions?: Record<string, Function> | Function;
84540
84543
  /**
84541
84544
  * A map or a class of functions that can be used as assertions in Opa tests.
84542
84545
  */
84543
- assertions?: Record<string, () => void> | Function;
84546
+ assertions?: Record<string, Function> | Function;
84544
84547
  };
84545
84548
  }
84546
84549
 
@@ -87837,7 +87840,7 @@ declare namespace sap {
87837
87840
  /**
87838
87841
  * If called on an instance of an (v1/v2) ODataModel it will enrich it with analytics capabilities.
87839
87842
  *
87840
- * @experimental This module is only for experimental use!
87843
+ * @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
87841
87844
  * @ui5-protected Do not call from applications (only from related classes in the framework)
87842
87845
  */
87843
87846
  function ODataModelAdapter(): void;
@@ -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 {