@sapui5/ts-types 1.134.0 → 1.135.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 (67) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +1 -1
  7. package/types/sap.f.d.ts +2 -3
  8. package/types/sap.fe.base.d.ts +1 -1
  9. package/types/sap.fe.controls.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +5 -5
  11. package/types/sap.fe.ina.d.ts +1 -1
  12. package/types/sap.fe.macros.d.ts +696 -184
  13. package/types/sap.fe.navigation.d.ts +1 -1
  14. package/types/sap.fe.placeholder.d.ts +1 -1
  15. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  16. package/types/sap.fe.templates.d.ts +1 -1
  17. package/types/sap.fe.test.d.ts +6 -4
  18. package/types/sap.fe.tools.d.ts +1 -1
  19. package/types/sap.feedback.ui.d.ts +1 -1
  20. package/types/sap.gantt.d.ts +75 -14
  21. package/types/sap.insights.d.ts +1 -1
  22. package/types/sap.m.d.ts +275 -45
  23. package/types/sap.makit.d.ts +1 -1
  24. package/types/sap.me.d.ts +1 -1
  25. package/types/sap.ndc.d.ts +1 -1
  26. package/types/sap.ovp.d.ts +1 -1
  27. package/types/sap.rules.ui.d.ts +1 -1
  28. package/types/sap.sac.df.d.ts +354 -1388
  29. package/types/sap.suite.ui.commons.d.ts +75 -1
  30. package/types/sap.suite.ui.generic.template.d.ts +6 -2
  31. package/types/sap.suite.ui.microchart.d.ts +1 -1
  32. package/types/sap.tnt.d.ts +215 -15
  33. package/types/sap.ui.codeeditor.d.ts +1 -1
  34. package/types/sap.ui.commons.d.ts +1 -1
  35. package/types/sap.ui.comp.d.ts +89 -14
  36. package/types/sap.ui.core.d.ts +168 -38
  37. package/types/sap.ui.dt.d.ts +1 -1
  38. package/types/sap.ui.export.d.ts +1 -1
  39. package/types/sap.ui.fl.d.ts +10 -2
  40. package/types/sap.ui.generic.app.d.ts +1 -1
  41. package/types/sap.ui.generic.template.d.ts +1 -1
  42. package/types/sap.ui.integration.d.ts +1 -1
  43. package/types/sap.ui.layout.d.ts +11 -10
  44. package/types/sap.ui.mdc.d.ts +26 -6
  45. package/types/sap.ui.richtexteditor.d.ts +37 -1
  46. package/types/sap.ui.rta.d.ts +31 -5
  47. package/types/sap.ui.suite.d.ts +1 -1
  48. package/types/sap.ui.support.d.ts +22 -16
  49. package/types/sap.ui.table.d.ts +10 -18
  50. package/types/sap.ui.testrecorder.d.ts +1 -1
  51. package/types/sap.ui.unified.d.ts +32 -1
  52. package/types/sap.ui.ux3.d.ts +1 -1
  53. package/types/sap.ui.vbm.d.ts +1 -1
  54. package/types/sap.ui.vk.d.ts +11 -73
  55. package/types/sap.ui.vtm.d.ts +1 -1
  56. package/types/sap.ui.webc.common.d.ts +1 -1
  57. package/types/sap.ui.webc.fiori.d.ts +1 -1
  58. package/types/sap.ui.webc.main.d.ts +1 -1
  59. package/types/sap.uiext.inbox.d.ts +1 -1
  60. package/types/sap.ushell.d.ts +45 -13
  61. package/types/sap.ushell_abap.d.ts +1 -1
  62. package/types/sap.uxap.d.ts +10 -1
  63. package/types/sap.viz.d.ts +1 -1
  64. package/types/sap.webanalytics.core.d.ts +1 -1
  65. package/types/sap.zen.commons.d.ts +1 -1
  66. package/types/sap.zen.crosstab.d.ts +1 -1
  67. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.135.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -574,7 +574,9 @@ declare namespace sap {
574
574
 
575
575
  /**
576
576
  * This event is fired before a variant is saved. The event can be used to adapt the data of the custom
577
- * filters, which will be saved as variant later.
577
+ * filters, which will be saved as variant later. **Note:** This event is not fired during key user adaptation
578
+ * of the `FilterBar` right away. The variant is saved when the key user saves the draft. Therefore it's
579
+ * recommended to use the `beforeVariantFetch` event to adapt the data of custom filters for key user scenarios.
578
580
  */
579
581
  beforeVariantSave?: (
580
582
  oEvent: FilterBar$BeforeVariantSaveEvent
@@ -588,8 +590,8 @@ declare namespace sap {
588
590
  beforeVariantFetch?: (oEvent: sap.ui.base.Event) => void;
589
591
 
590
592
  /**
591
- * This event is fired after a variant has been loaded and applied to the FilterBar. The event can be used
592
- * to adapt custom filters with data from the variant.
593
+ * This event is fired after a variant has been loaded and applied to the `FilterBar`. The event can be
594
+ * used to adapt custom filters with data from the variant.
593
595
  */
594
596
  afterVariantLoad?: (oEvent: FilterBar$AfterVariantLoadEvent) => void;
595
597
 
@@ -951,7 +953,7 @@ declare namespace sap {
951
953
  selectionSet?: sap.ui.core.Control[];
952
954
 
953
955
  /**
954
- * Is event fired due to user action in FilterBar
956
+ * Set to `true` when event is fired due to user action in `FilterBar`
955
957
  */
956
958
  firedFromFilterBar?: boolean;
957
959
  }
@@ -1210,8 +1212,8 @@ declare namespace sap {
1210
1212
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1211
1213
  * otherwise it will be bound to this `sap.ui.comp.filterbar.FilterBar` itself.
1212
1214
  *
1213
- * This event is fired after a variant has been loaded and applied to the FilterBar. The event can be used
1214
- * to adapt custom filters with data from the variant.
1215
+ * This event is fired after a variant has been loaded and applied to the `FilterBar`. The event can be
1216
+ * used to adapt custom filters with data from the variant.
1215
1217
  *
1216
1218
  *
1217
1219
  * @returns Reference to `this` in order to allow method chaining
@@ -1238,8 +1240,8 @@ declare namespace sap {
1238
1240
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1239
1241
  * otherwise it will be bound to this `sap.ui.comp.filterbar.FilterBar` itself.
1240
1242
  *
1241
- * This event is fired after a variant has been loaded and applied to the FilterBar. The event can be used
1242
- * to adapt custom filters with data from the variant.
1243
+ * This event is fired after a variant has been loaded and applied to the `FilterBar`. The event can be
1244
+ * used to adapt custom filters with data from the variant.
1243
1245
  *
1244
1246
  *
1245
1247
  * @returns Reference to `this` in order to allow method chaining
@@ -1417,7 +1419,9 @@ declare namespace sap {
1417
1419
  * otherwise it will be bound to this `sap.ui.comp.filterbar.FilterBar` itself.
1418
1420
  *
1419
1421
  * This event is fired before a variant is saved. The event can be used to adapt the data of the custom
1420
- * filters, which will be saved as variant later.
1422
+ * filters, which will be saved as variant later. **Note:** This event is not fired during key user adaptation
1423
+ * of the `FilterBar` right away. The variant is saved when the key user saves the draft. Therefore it's
1424
+ * recommended to use the `beforeVariantFetch` event to adapt the data of custom filters for key user scenarios.
1421
1425
  *
1422
1426
  *
1423
1427
  * @returns Reference to `this` in order to allow method chaining
@@ -1445,7 +1449,9 @@ declare namespace sap {
1445
1449
  * otherwise it will be bound to this `sap.ui.comp.filterbar.FilterBar` itself.
1446
1450
  *
1447
1451
  * This event is fired before a variant is saved. The event can be used to adapt the data of the custom
1448
- * filters, which will be saved as variant later.
1452
+ * filters, which will be saved as variant later. **Note:** This event is not fired during key user adaptation
1453
+ * of the `FilterBar` right away. The variant is saved when the key user saves the draft. Therefore it's
1454
+ * recommended to use the `beforeVariantFetch` event to adapt the data of custom filters for key user scenarios.
1449
1455
  *
1450
1456
  *
1451
1457
  * @returns Reference to `this` in order to allow method chaining
@@ -5647,7 +5653,7 @@ declare namespace sap {
5647
5653
  /**
5648
5654
  * This callback function triggers the retrieval of navigation targets and leads to the opening of the navigation
5649
5655
  * popover. Signatures: `open()` If `beforePopoverOpens` has been registered, `open` function has to be
5650
- * called manually in order to open the navigation popover.
5656
+ * called manually in order to open the navigation popover or trigger a direct navigation.
5651
5657
  */
5652
5658
  open?: Function;
5653
5659
  }
@@ -5820,7 +5826,7 @@ declare namespace sap {
5820
5826
  /**
5821
5827
  * This callback function triggers the retrieval of navigation targets and leads to the opening of the navigation
5822
5828
  * popover. Signatures: `open()` If the `beforePopoverOpens` has been registered, the `open` function has
5823
- * to be called manually in order to open the navigation popover.
5829
+ * to be called manually in order to open the navigation popover or trigger a direct navigation.
5824
5830
  */
5825
5831
  open?: Function;
5826
5832
  }
@@ -36387,7 +36393,7 @@ declare namespace sap {
36387
36393
  implements
36388
36394
  sap.ui.core.IShrinkable,
36389
36395
  sap.m.IOverflowToolbarContent,
36390
- /* was: sap.m.IToolbarInteractiveControl */ Object
36396
+ sap.m.IToolbarInteractiveControl
36391
36397
  {
36392
36398
  __implements__sap_ui_core_IShrinkable: boolean;
36393
36399
  __implements__sap_m_IOverflowToolbarContent: boolean;
@@ -38371,6 +38377,24 @@ declare namespace sap {
38371
38377
  | object
38372
38378
  | sap.ui.base.ManagedObject.PropertyBindingInfo
38373
38379
  | `{${string}}`;
38380
+
38381
+ /**
38382
+ * Structure containing table related settings. The properties might be related to a specific table type
38383
+ * and will be ignored if a different table type is used.
38384
+ *
38385
+ *
38386
+ * ```javascript
38387
+ *
38388
+ * {
38389
+ * fixedColumnCount: int,
38390
+ * showDetails: boolean
38391
+ * }
38392
+ * ```
38393
+ */
38394
+ tableSettings?:
38395
+ | object
38396
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
38397
+ | `{${string}}`;
38374
38398
  }
38375
38399
 
38376
38400
  /**
@@ -38632,6 +38656,26 @@ declare namespace sap {
38632
38656
  * @returns Value of property `semanticDates`
38633
38657
  */
38634
38658
  getSemanticDates(): object;
38659
+ /**
38660
+ * Gets current value of property {@link #getTableSettings tableSettings}.
38661
+ *
38662
+ * Structure containing table related settings. The properties might be related to a specific table type
38663
+ * and will be ignored if a different table type is used.
38664
+ *
38665
+ *
38666
+ * ```javascript
38667
+ *
38668
+ * {
38669
+ * fixedColumnCount: int,
38670
+ * showDetails: boolean
38671
+ * }
38672
+ * ```
38673
+ *
38674
+ *
38675
+ *
38676
+ * @returns Value of property `tableSettings`
38677
+ */
38678
+ getTableSettings(): object;
38635
38679
  /**
38636
38680
  * Gets current value of property {@link #getValueTexts valueTexts}.
38637
38681
  *
@@ -38780,6 +38824,33 @@ declare namespace sap {
38780
38824
  */
38781
38825
  oSemanticDates: object
38782
38826
  ): this;
38827
+ /**
38828
+ * Sets a new value for property {@link #getTableSettings tableSettings}.
38829
+ *
38830
+ * Structure containing table related settings. The properties might be related to a specific table type
38831
+ * and will be ignored if a different table type is used.
38832
+ *
38833
+ *
38834
+ * ```javascript
38835
+ *
38836
+ * {
38837
+ * fixedColumnCount: int,
38838
+ * showDetails: boolean
38839
+ * }
38840
+ * ```
38841
+ *
38842
+ *
38843
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
38844
+ *
38845
+ *
38846
+ * @returns Reference to `this` in order to allow method chaining
38847
+ */
38848
+ setTableSettings(
38849
+ /**
38850
+ * New value for property `tableSettings`
38851
+ */
38852
+ oTableSettings: object
38853
+ ): this;
38783
38854
  /**
38784
38855
  * Sets a new value for property {@link #getValueTexts valueTexts}.
38785
38856
  *
@@ -42614,6 +42685,10 @@ declare namespace sap {
42614
42685
 
42615
42686
  "sap/ui/comp/delegates/FlexibilityDelegate": undefined;
42616
42687
 
42688
+ "sap/ui/comp/delegates/Label": undefined;
42689
+
42690
+ "sap/ui/comp/delegates/TextArrangement": undefined;
42691
+
42617
42692
  "sap/ui/comp/filterbar/FilterBar": undefined;
42618
42693
 
42619
42694
  "sap/ui/comp/filterbar/FilterGroupItem": undefined;
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.134.0
282
+ // For Library Version: 1.135.0
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -1516,7 +1516,8 @@ declare module "sap/base/i18n/ResourceBundle" {
1516
1516
  enhanceWith?: Configuration[];
1517
1517
  /**
1518
1518
  * Whether the first bundle should be loaded asynchronously Note: Fallback bundles loaded by {@link #getText }
1519
- * are always loaded synchronously.
1519
+ * are always loaded synchronously. **As of version 1.135, synchronous loading is deprecated.** The `async`
1520
+ * parameter must have the value `true`.
1520
1521
  */
1521
1522
  async?: boolean;
1522
1523
  }
@@ -5155,6 +5156,20 @@ declare module "sap/ui/core/Theming" {
5155
5156
  * @since 1.118.0
5156
5157
  */
5157
5158
  notifyContentDensityChanged(): void;
5159
+ /**
5160
+ * Sets the favicon. The path must be relative to the current origin. Absolute URLs are not allowed.
5161
+ *
5162
+ * @since 1.135
5163
+ *
5164
+ * @returns A promise that resolves when the favicon has been set with undefined
5165
+ */
5166
+ setFavicon(
5167
+ /**
5168
+ * A string containing a specific relative path to the favicon, 'true' to use a favicon from custom theme
5169
+ * or the default favicon in case no custom favicon is maintained, 'false' or undefined to disable the favicon
5170
+ */
5171
+ vFavicon: string | boolean | undefined
5172
+ ): Promise<undefined>;
5158
5173
  /**
5159
5174
  * Allows setting the theme name
5160
5175
  *
@@ -12825,6 +12840,9 @@ declare namespace sap {
12825
12840
  *
12826
12841
  * For more information on the `oBindingInfo.key` property and its usage, see {@link https://ui5.sap.com/#/topic/7cdff73f308b4b10bdf7d83b7aba72e7 Extended Change Detection}.
12827
12842
  *
12843
+ * Providing sorters and/or filters as positional parameters is deprecated as of 1.135.0. Provide them as
12844
+ * part of a `BindingInfo` object instead.
12845
+ *
12828
12846
  *
12829
12847
  * @returns Returns `this` to allow method chaining
12830
12848
  */
@@ -12834,9 +12852,21 @@ declare namespace sap {
12834
12852
  */
12835
12853
  sName: string,
12836
12854
  /**
12837
- * Binding info
12855
+ * A `BindingInfo` object or just the path, if no further properties are required
12838
12856
  */
12839
- oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
12857
+ vBindingInfo:
12858
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
12859
+ | string,
12860
+ /**
12861
+ * The template to clone for each item in the aggregation; either a template `Element` or a factory function
12862
+ * must be given
12863
+ */
12864
+ vTemplate?:
12865
+ | sap.ui.base.ManagedObject
12866
+ | ((
12867
+ p1: string,
12868
+ p2: sap.ui.model.Context
12869
+ ) => sap.ui.base.ManagedObject)
12840
12870
  ): this;
12841
12871
  /**
12842
12872
  * Bind the object to the referenced entity in the model, which is used as the binding context to resolve
@@ -12873,14 +12903,17 @@ declare namespace sap {
12873
12903
  * Also see {@link https://ui5.sap.com/#/topic/91f05e8b6f4d1014b6dd926db0e91070 Context Binding} in the
12874
12904
  * documentation.
12875
12905
  *
12906
+ * As of 1.135, providing 'parameters' as positional parameter is deprecated. Provide them as part of a
12907
+ * `BindingInfo` object instead.
12908
+ *
12876
12909
  *
12877
12910
  * @returns Returns `this` to allow method chaining
12878
12911
  */
12879
12912
  bindObject(
12880
12913
  /**
12881
- * Binding info
12914
+ * A `BindingInfo` object or just the path, if no further properties are required
12882
12915
  */
12883
- oBindingInfo: sap.ui.base.ManagedObject.ObjectBindingInfo
12916
+ vBindingInfo: sap.ui.base.ManagedObject.ObjectBindingInfo | string
12884
12917
  ): this;
12885
12918
  /**
12886
12919
  * Binds a property to the model.
@@ -12943,6 +12976,9 @@ declare namespace sap {
12943
12976
  * Also see {@link https://ui5.sap.com/#/topic/91f0652b6f4d1014b6dd926db0e91070 Property Binding} in the
12944
12977
  * documentation.
12945
12978
  *
12979
+ * Providing a type, formatter, or bindingMode as a positional parameter is deprecated as of 1.135.0. Provide
12980
+ * them as part of a `BindingInfo` object instead.
12981
+ *
12946
12982
  *
12947
12983
  * @returns Returns `this` to allow method chaining
12948
12984
  */
@@ -12953,9 +12989,9 @@ declare namespace sap {
12953
12989
  */
12954
12990
  sName: string,
12955
12991
  /**
12956
- * Binding information
12992
+ * A `BindingInfo` object or just the path, if no further properties are required
12957
12993
  */
12958
- oBindingInfo: sap.ui.base.ManagedObject.PropertyBindingInfo
12994
+ vBindingInfo: sap.ui.base.ManagedObject.PropertyBindingInfo | string
12959
12995
  ): this;
12960
12996
  /**
12961
12997
  * Clones a tree of objects starting with the object on which clone is called first (root object).
@@ -20599,6 +20635,18 @@ declare namespace sap {
20599
20635
  XML = "xml",
20600
20636
  }
20601
20637
  }
20638
+
20639
+ namespace ControllerExtension {
20640
+ /**
20641
+ * The type of the `overrides` property
20642
+ */
20643
+ type Overrides = { [key: string]: any } & Partial<
20644
+ Pick<
20645
+ (typeof Controller)["prototype"],
20646
+ "onAfterRendering" | "onBeforeRendering" | "onExit" | "onInit"
20647
+ >
20648
+ >;
20649
+ }
20602
20650
  /**
20603
20651
  * Marker interface for a ControllerExtension.
20604
20652
  *
@@ -20839,7 +20887,8 @@ declare namespace sap {
20839
20887
  mOptions: {
20840
20888
  /**
20841
20889
  * The controller name that corresponds to a JS module that can be loaded via the module system (mOptions.name
20842
- * + suffix ".controller.js")
20890
+ * + suffix ".controller.js"). It can be specified either in dot notation (`my.sample.Controller`) or in
20891
+ * module name syntax (`module:my/sample/Controller`).
20843
20892
  */
20844
20893
  name: string;
20845
20894
  }
@@ -21043,8 +21092,9 @@ declare namespace sap {
21043
21092
  */
21044
21093
  mOptions: {
21045
21094
  /**
21046
- * The Fragment name, which must correspond to a Fragment which can be loaded via the module system (fragmentName
21047
- * + suffix ".fragment.[typeextension]") and which contains the Fragment definition.
21095
+ * The fragment name, which must correspond to a fragment which can be loaded via the module system (mOptions.name
21096
+ * + suffix ".fragment.[typeextension]") and must contain the fragment definition. It can be specified either
21097
+ * in dot notation (`my.sample.myFragment`) or, for JS fragments, in module name syntax (`module:my/sample/myFragment`).
21048
21098
  */
21049
21099
  name: string;
21050
21100
  /**
@@ -21056,11 +21106,12 @@ declare namespace sap {
21056
21106
  */
21057
21107
  autoPrefixId?: boolean;
21058
21108
  /**
21059
- * the ID of the Fragment
21109
+ * the ID of the fragment
21060
21110
  */
21061
21111
  id?: string;
21062
21112
  /**
21063
- * the Fragment type, e.g. "XML", "JS", or "HTML" (see above). Default is "XML"
21113
+ * the fragment type, e.g. "XML", "JS", or "HTML" (see above). Default is "XML". If the fragment name is
21114
+ * given in module name syntax (e.g., `module:my/sample/myFragment`) the type must be omitted.
21064
21115
  */
21065
21116
  type?: string;
21066
21117
  }
@@ -21158,6 +21209,11 @@ declare namespace sap {
21158
21209
  * @ui5-protected Do not call from applications (only from related classes in the framework)
21159
21210
  */
21160
21211
  protected constructor();
21212
+ /**
21213
+ * The `overrides` definition object, which is used to specify methods of the base class to override. The
21214
+ * names of this object's properties are method names like `onInit` and the values are the respective implementation.
21215
+ */
21216
+ static readonly overrides?: sap.ui.core.mvc.ControllerExtension.Overrides;
21161
21217
 
21162
21218
  /**
21163
21219
  * Creates a new subclass of class sap.ui.core.mvc.ControllerExtension with name `sClassName` and enriches
@@ -21835,14 +21891,17 @@ declare namespace sap {
21835
21891
  * ```
21836
21892
  *
21837
21893
  *
21838
- * Other Methods: Besides `createContent`, there are two other methods that a view can implement: Method
21839
- * {@link #getControllerName getControllerName} defines the name of the controller that should be instantiated
21840
- * and used for the view. The name must be in class name notation (dot notation), without the `".controller"`
21841
- * suffix. The suffix will be added by the framework when loading the module containing the controller.
21842
- *
21843
- * {@link #getAutoPrefixId getAutoPrefixId} defines whether the IDs of controls created during the execution
21844
- * of `createContent` will be prefixed with the ID of the view automatically. The default implementation
21845
- * of this method returns `false`.
21894
+ * Other Methods: Besides `createContent`, there are other methods that a view can implement:
21895
+ * - Method {@link #getControllerName getControllerName} defines the name of the controller that should
21896
+ * be instantiated and used for the view. The name must be in class name notation (dot notation), without
21897
+ * the `".controller"` suffix. The suffix will be added by the framework when loading the module containing
21898
+ * the controller.
21899
+ * - Method {@link #getControllerModuleName getControllerModuleName} defines the module name of the controller
21900
+ * that should be loaded for the view. Unlike `getControllerName`, the name must be in `sap.ui.define/sap.ui.require`
21901
+ * syntax (slash-separated name without '.js' suffix).
21902
+ * - {@link #getAutoPrefixId getAutoPrefixId} defines whether the IDs of controls created during the execution
21903
+ * of `createContent` will be prefixed with the ID of the view automatically. The default implementation
21904
+ * of this method returns `false`.
21846
21905
  */
21847
21906
  abstract class View extends sap.ui.core.Control {
21848
21907
  /**
@@ -22474,6 +22533,16 @@ declare namespace sap {
22474
22533
  * @returns Controller of this view.
22475
22534
  */
22476
22535
  getController(): sap.ui.core.mvc.Controller;
22536
+ /**
22537
+ * An optional method that views can implement to return the controller's module name in `sap.ui.define/sap.ui.require`
22538
+ * syntax (slash-separated name without '.js' suffix). If no controller instance is provided at the time
22539
+ * of View instantiation AND this method exists, the View attempts to load and instantiate the controller
22540
+ * and to connect it to itself.
22541
+ *
22542
+ *
22543
+ * @returns Name of the module name from which to load the view definition.
22544
+ */
22545
+ getControllerModuleName(): string;
22477
22546
  /**
22478
22547
  * An (optional) method to be implemented by Views. When no controller instance is given at View instantiation
22479
22548
  * time AND this method exists and returns the (package and class) name of a controller, the View tries
@@ -38110,6 +38179,8 @@ declare namespace sap {
38110
38179
  * The properties can also be defined in the descriptor. These properties can be overwritten by the local
38111
38180
  * properties of that function.
38112
38181
  *
38182
+ * Synchronous Component creation is deprecated as of 1.135.0.
38183
+ *
38113
38184
  * @since 1.47.0
38114
38185
  *
38115
38186
  * @returns Component instance or Promise which will be resolved with the component instance (defaults to
@@ -40506,7 +40577,7 @@ declare namespace sap {
40506
40577
  );
40507
40578
 
40508
40579
  /**
40509
- * Returns the nearest [UI5 Element]{@link sap.ui.core.Element} that wraps the given DOM element.
40580
+ * Returns the nearest {@link sap.ui.core.Element UI5 Element} that wraps the given DOM element.
40510
40581
  *
40511
40582
  * A DOM element or a CSS selector is accepted as a given parameter. When a CSS selector is given as parameter,
40512
40583
  * only the first DOM element that matches the CSS selector is taken to find the nearest UI5 Element that
@@ -40793,13 +40864,16 @@ declare namespace sap {
40793
40864
  */
40794
40865
  bindElement(
40795
40866
  /**
40796
- * the binding path or an object with more detailed binding options
40867
+ * A `BindingInfo` object or just the path, if no further properties are required
40797
40868
  */
40798
- vPath: string | sap.ui.base.ManagedObject.ObjectBindingInfo,
40869
+ vBindingInfo: sap.ui.base.ManagedObject.ObjectBindingInfo | string,
40799
40870
  /**
40800
40871
  * map of additional parameters for this binding. Only taken into account when `vPath` is a string. In that
40801
40872
  * case it corresponds to `mParameters` of {@link sap.ui.base.ManagedObject.ObjectBindingInfo}. The supported
40802
40873
  * parameters are listed in the corresponding model-specific implementation of `sap.ui.model.ContextBinding`.
40874
+ *
40875
+ * Providing 'parameters' as positional parameter is deprecated as of 1.135.0. Provide them as part of a
40876
+ * `BindingInfo` object instead.
40803
40877
  */
40804
40878
  mParameters?: object
40805
40879
  ): this;
@@ -42145,15 +42219,18 @@ declare namespace sap {
42145
42219
  */
42146
42220
  mOptions: {
42147
42221
  /**
42148
- * must be supplied if no `definition` parameter is given. The fragment name must correspond to an XML fragment
42149
- * which can be loaded via the module system (fragmentName + suffix `.fragment.<typeExtension>`)
42150
- * and which contains the fragment definition. If `mOptions.controller` is supplied, the (event handler)
42151
- * methods referenced in the fragment will be called on that controller. Note that fragments may require
42152
- * a controller to be given and certain methods to be implemented by it.
42222
+ * Must be provided if no `definition` parameter is given. The fragment name must correspond to an XML fragment
42223
+ * which can be loaded via the module system and must contain the fragment definition. It can be specified
42224
+ * either in dot notation (fragmentName + suffix `.fragment.<typeExtension>`) or, for JS fragments,
42225
+ * in module name syntax (`module:my/sample/AsyncButton`). If `mOptions.controller` is supplied, the (event
42226
+ * handler) methods referenced in the fragment will be called on that controller. Note that fragments may
42227
+ * require a controller to be given and certain methods to be implemented by it.
42153
42228
  */
42154
42229
  name?: string;
42155
42230
  /**
42156
- * the fragment type, e.g. `"XML"`, `"JS"`, or `"HTML"` (type `"HTML"` is deprecated). Default is `"XML"`
42231
+ * the fragment type, e.g. `"XML"`, `"JS"`, or `"HTML"` (type `"HTML"` is deprecated). Default is `"XML"`.
42232
+ * If the fragment name is given in module name syntax (e.g., `module:my/sample/AsyncButton`) the type must
42233
+ * be omitted.
42157
42234
  */
42158
42235
  type?: string;
42159
42236
  /**
@@ -44790,15 +44867,16 @@ declare namespace sap {
44790
44867
  sCurrencySymbol: string
44791
44868
  ): string;
44792
44869
  /**
44793
- * Returns the number of digits of the specified currency.
44870
+ * Returns the number of digits of the given currency considering a custom currency first and falling back
44871
+ * to the CLDR data if no custom currency is defined.
44794
44872
  *
44795
44873
  * @since 1.21.1
44796
44874
  *
44797
- * @returns digits of the currency
44875
+ * @returns The number of digits for the given currency
44798
44876
  */
44799
44877
  getCurrencyDigits(
44800
44878
  /**
44801
- * ISO 4217 currency code
44879
+ * The ISO 4217 currency code
44802
44880
  */
44803
44881
  sCurrency: string
44804
44882
  ): int;
@@ -45650,14 +45728,14 @@ declare namespace sap {
45650
45728
  * @since 1.54
45651
45729
  *
45652
45730
  * @returns The unit format pattern for the given unit name as a map from a pattern key like `"unitPattern-count-other"`
45653
- * to the corresponding pattern
45731
+ * to the corresponding pattern or `undefined` if no corresponding pattern is found
45654
45732
  */
45655
45733
  getUnitFormat(
45656
45734
  /**
45657
45735
  * unit name, e.g. "duration-hour"
45658
45736
  */
45659
45737
  sUnit: string
45660
- ): Record<string, string>;
45738
+ ): Record<string, string> | undefined;
45661
45739
  /**
45662
45740
  * Retrieves unit format patterns for all units see {@link #getResolvedUnitFormat} for an example of a unit
45663
45741
  * format pattern.
@@ -51720,6 +51798,7 @@ declare namespace sap {
51720
51798
  * },
51721
51799
  *
51722
51800
  * // activate real async loading and module definitions
51801
+ * // (will become obsolete in 2.0 contexts as async will be the only mode there)
51723
51802
  * async: true,
51724
51803
  *
51725
51804
  * // provide dependency and export metadata for non-UI5 modules
@@ -51861,6 +51940,8 @@ declare namespace sap {
51861
51940
  * on the application bootstrap tag.
51862
51941
  *
51863
51942
  * **Note:** Switching back from async to sync is not supported and trying to do so will throw an `Error`
51943
+ *
51944
+ * In the next major version of UI5, this option will become obsolete as async will be the only mode.
51864
51945
  */
51865
51946
  async?: boolean;
51866
51947
  /**
@@ -63775,6 +63856,8 @@ declare namespace sap {
63775
63856
  *
63776
63857
  * Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all key properties
63777
63858
  * are available within the initial data.
63859
+ * See:
63860
+ * #requestCanonicalPath
63778
63861
  *
63779
63862
  * @since 1.39.0
63780
63863
  *
@@ -64031,6 +64114,10 @@ declare namespace sap {
64031
64114
  * A parameter object
64032
64115
  */
64033
64116
  oParameters: {
64117
+ /**
64118
+ * Whether the node should be copied instead of moved (@experimental as of version 1.135.0)
64119
+ */
64120
+ copy?: boolean;
64034
64121
  /**
64035
64122
  * The next sibling's context, or `null` to turn this node into the last sibling. Omitting the sibling moves
64036
64123
  * this node to a position determined by the server.
@@ -64087,6 +64174,8 @@ declare namespace sap {
64087
64174
  *
64088
64175
  * Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all key properties
64089
64176
  * are available within the initial data.
64177
+ * See:
64178
+ * #getCanonicalPath
64090
64179
  *
64091
64180
  * @since 1.39.0
64092
64181
  *
@@ -64547,7 +64636,9 @@ declare namespace sap {
64547
64636
  /**
64548
64637
  * Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
64549
64638
  * is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
64550
- * the '$filter' or '$search' parameter is changed.
64639
+ * the '$filter' or '$search' parameter is changed. In all other cases, the caller of this method needs
64640
+ * to evaluate whether the changed parameters invalidate the current selection and then deselect the header
64641
+ * context if needed.
64551
64642
  *
64552
64643
  * If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
64553
64644
  * to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
@@ -65115,7 +65206,9 @@ declare namespace sap {
65115
65206
  /**
65116
65207
  * Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
65117
65208
  * is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
65118
- * the '$filter' or '$search' parameter is changed.
65209
+ * the '$filter' or '$search' parameter is changed. In all other cases, the caller of this method needs
65210
+ * to evaluate whether the changed parameters invalidate the current selection and then deselect the header
65211
+ * context if needed.
65119
65212
  *
65120
65213
  * If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
65121
65214
  * to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
@@ -65619,6 +65712,17 @@ declare namespace sap {
65619
65712
  | sap.ui.model.odata.v4.ODataListBinding
65620
65713
  | sap.ui.model.odata.v4.ODataPropertyBinding
65621
65714
  | undefined;
65715
+ /**
65716
+ * Returns the count of selected elements as a number of type `Edm.Int64`. The count is bindable via the
65717
+ * header context (see {@link #getHeaderContext}) and path `$selectionCount`; it is either available synchronously
65718
+ * or unknown. It is unknown if the binding is relative but has no context and also if the list binding's
65719
+ * {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context} is selected ("select all").
65720
+ *
65721
+ * @since 1.135.0
65722
+ *
65723
+ * @returns The count of selected elements or `undefined` if the count or the header context is not available.
65724
+ */
65725
+ getSelectionCount(): number | undefined;
65622
65726
  /**
65623
65727
  * Returns the group ID of the binding that is used for update requests. The update group ID of the binding
65624
65728
  * is alternatively defined by
@@ -66414,6 +66518,17 @@ declare namespace sap {
66414
66518
  */
66415
66519
  sPropertyPath: string
66416
66520
  ): sap.ui.model.odata.v4.ValueListType;
66521
+ /**
66522
+ * Tells whether this metadata model's service prefers requests to use a resource path with navigation properties
66523
+ * instead of a canonical path, thus reflecting the object composition. See "com.sap.vocabularies.Common.v1.AddressViaNavigationPath"
66524
+ * for more details.
66525
+ *
66526
+ * @since 1.135.0
66527
+ *
66528
+ * @returns `true` if the "com.sap.vocabularies.Common.v1.AddressViaNavigationPath" tag is present, `undefined`
66529
+ * if it is missing or metadata is not (yet) available
66530
+ */
66531
+ isAddressViaNavigationPath(): boolean | undefined;
66417
66532
  /**
66418
66533
  * Method not supported
66419
66534
  * See:
@@ -67241,7 +67356,10 @@ declare namespace sap {
67241
67356
  $$canonicalPath?: boolean;
67242
67357
  /**
67243
67358
  * Whether the selection state of the list binding is cleared when a filter is changed; this includes dynamic
67244
- * filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13.
67359
+ * filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13. Since 1.135.0, the
67360
+ * selection state is validated when reloading the list binding's data. The {@link sap.ui.model.odata.v4.Context#isSelected selection states of contexts }
67361
+ * which no longer match the current filter are reset. **Note:** The selection state is not validated if
67362
+ * the `$$aggregation` parameter is used.
67245
67363
  */
67246
67364
  $$clearSelectionOnFilter?: boolean;
67247
67365
  /**
@@ -67328,6 +67446,16 @@ declare namespace sap {
67328
67446
  * binding refers to an action advertisement the binding's mode must be {@link sap.ui.model.BindingMode.OneTime}.
67329
67447
  * {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (since 1.130.0) for complex types and
67330
67448
  * collections thereof; for entity types, use {@link #bindContext} instead.
67449
+ *
67450
+ * Since 1.135.0, the binding may also point to an array element inside a collection of primitive type,
67451
+ * for example in the context of geography locations. Let's assume "GeoLocation" is a structural property
67452
+ * of type "Edm.GeographyPoint", then "coordinates" is a structural property of type "Collection(Edm.Double)":
67453
+ *
67454
+ * ```javascript
67455
+ *
67456
+ * <Text id="longitude" text="{Address/GeoLocation/coordinates/0}"/>
67457
+ * ```
67458
+ *
67331
67459
  * See:
67332
67460
  * sap.ui.base.ManagedObject#bindProperty
67333
67461
  * sap.ui.model.Model#bindProperty
@@ -86013,6 +86141,8 @@ declare namespace sap {
86013
86141
 
86014
86142
  "sap/ui/core/Element": undefined;
86015
86143
 
86144
+ "sap/ui/core/ElementHooks": undefined;
86145
+
86016
86146
  "sap/ui/core/ElementMetadata": undefined;
86017
86147
 
86018
86148
  "sap/ui/core/ElementRegistry": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.135.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {