@sapui5/ts-types-esm 1.134.1 → 1.136.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.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +82 -0
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +102 -8
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +31 -7
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1289 -386
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +6 -4
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +152 -22
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +837 -111
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +249 -1230
- package/types/sap.suite.ui.commons.d.ts +83 -1
- package/types/sap.suite.ui.generic.template.d.ts +15 -3
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +215 -19
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +3643 -505
- package/types/sap.ui.core.d.ts +272 -155
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +21 -7
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +2 -2
- package/types/sap.ui.layout.d.ts +14 -13
- package/types/sap.ui.mdc.d.ts +160 -13
- package/types/sap.ui.richtexteditor.d.ts +39 -1
- package/types/sap.ui.rta.d.ts +31 -5
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +30 -16
- package/types/sap.ui.table.d.ts +16 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +45 -32
- package/types/sap.ui.ux3.d.ts +3 -3
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +320 -110
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +63 -52
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +11 -21
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.136.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
|
}
|
|
@@ -1747,7 +1748,7 @@ declare module "sap/base/Log" {
|
|
|
1747
1748
|
sComponent?: string,
|
|
1748
1749
|
/**
|
|
1749
1750
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
1750
|
-
* called if support info mode is turned on
|
|
1751
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
1751
1752
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
1752
1753
|
* with mostly static and stable content.
|
|
1753
1754
|
*/
|
|
@@ -1772,7 +1773,7 @@ declare module "sap/base/Log" {
|
|
|
1772
1773
|
sComponent?: string,
|
|
1773
1774
|
/**
|
|
1774
1775
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
1775
|
-
* called if support info mode is turned on
|
|
1776
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
1776
1777
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
1777
1778
|
* with mostly static and stable content.
|
|
1778
1779
|
*/
|
|
@@ -1797,7 +1798,7 @@ declare module "sap/base/Log" {
|
|
|
1797
1798
|
sComponent?: string,
|
|
1798
1799
|
/**
|
|
1799
1800
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
1800
|
-
* called if support info mode is turned on
|
|
1801
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
1801
1802
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
1802
1803
|
* with mostly static and stable content.
|
|
1803
1804
|
*/
|
|
@@ -1871,7 +1872,7 @@ declare module "sap/base/Log" {
|
|
|
1871
1872
|
sComponent?: string,
|
|
1872
1873
|
/**
|
|
1873
1874
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
1874
|
-
* called if support info mode is turned on
|
|
1875
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
1875
1876
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
1876
1877
|
* with mostly static and stable content.
|
|
1877
1878
|
*/
|
|
@@ -1943,7 +1944,7 @@ declare module "sap/base/Log" {
|
|
|
1943
1944
|
sComponent?: string,
|
|
1944
1945
|
/**
|
|
1945
1946
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
1946
|
-
* called if support info mode is turned on
|
|
1947
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
1947
1948
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
1948
1949
|
* with mostly static and stable content.
|
|
1949
1950
|
*/
|
|
@@ -1968,7 +1969,7 @@ declare module "sap/base/Log" {
|
|
|
1968
1969
|
sComponent?: string,
|
|
1969
1970
|
/**
|
|
1970
1971
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
1971
|
-
* called if support info mode is turned on
|
|
1972
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
1972
1973
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
1973
1974
|
* with mostly static and stable content.
|
|
1974
1975
|
*/
|
|
@@ -2132,7 +2133,7 @@ declare module "sap/base/Log" {
|
|
|
2132
2133
|
sComponent?: string,
|
|
2133
2134
|
/**
|
|
2134
2135
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
2135
|
-
* called if support info mode is turned on
|
|
2136
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
2136
2137
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
2137
2138
|
* with mostly static and stable content.
|
|
2138
2139
|
*/
|
|
@@ -2157,7 +2158,7 @@ declare module "sap/base/Log" {
|
|
|
2157
2158
|
sComponent?: string,
|
|
2158
2159
|
/**
|
|
2159
2160
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
2160
|
-
* called if support info mode is turned on
|
|
2161
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
2161
2162
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
2162
2163
|
* with mostly static and stable content.
|
|
2163
2164
|
*/
|
|
@@ -2182,7 +2183,7 @@ declare module "sap/base/Log" {
|
|
|
2182
2183
|
sComponent?: string,
|
|
2183
2184
|
/**
|
|
2184
2185
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
2185
|
-
* called if support info mode is turned on
|
|
2186
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
2186
2187
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
2187
2188
|
* with mostly static and stable content.
|
|
2188
2189
|
*/
|
|
@@ -2221,7 +2222,7 @@ declare module "sap/base/Log" {
|
|
|
2221
2222
|
sComponent?: string,
|
|
2222
2223
|
/**
|
|
2223
2224
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
2224
|
-
* called if support info mode is turned on
|
|
2225
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
2225
2226
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
2226
2227
|
* with mostly static and stable content.
|
|
2227
2228
|
*/
|
|
@@ -2284,7 +2285,7 @@ declare module "sap/base/Log" {
|
|
|
2284
2285
|
sComponent?: string,
|
|
2285
2286
|
/**
|
|
2286
2287
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
2287
|
-
* called if support info mode is turned on
|
|
2288
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
2288
2289
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
2289
2290
|
* with mostly static and stable content.
|
|
2290
2291
|
*/
|
|
@@ -2309,7 +2310,7 @@ declare module "sap/base/Log" {
|
|
|
2309
2310
|
sComponent?: string,
|
|
2310
2311
|
/**
|
|
2311
2312
|
* Callback that returns an additional support object to be logged in support mode. This function is only
|
|
2312
|
-
* called if support info mode is turned on
|
|
2313
|
+
* called if support info mode is turned on via the Support Assistant. To avoid negative effects regarding
|
|
2313
2314
|
* execution times and memory consumption, the returned object should be a simple immutable JSON object
|
|
2314
2315
|
* with mostly static and stable content.
|
|
2315
2316
|
*/
|
|
@@ -5187,6 +5188,20 @@ declare module "sap/ui/core/Theming" {
|
|
|
5187
5188
|
* @since 1.118.0
|
|
5188
5189
|
*/
|
|
5189
5190
|
notifyContentDensityChanged(): void;
|
|
5191
|
+
/**
|
|
5192
|
+
* Sets the favicon. The path must be relative to the current origin. Absolute URLs are not allowed.
|
|
5193
|
+
*
|
|
5194
|
+
* @since 1.135
|
|
5195
|
+
*
|
|
5196
|
+
* @returns A promise that resolves when the favicon has been set with undefined
|
|
5197
|
+
*/
|
|
5198
|
+
setFavicon(
|
|
5199
|
+
/**
|
|
5200
|
+
* A string containing a specific relative path to the favicon, 'true' to use a favicon from custom theme
|
|
5201
|
+
* or the default favicon in case no custom favicon is maintained, 'false' or undefined to disable the favicon
|
|
5202
|
+
*/
|
|
5203
|
+
vFavicon: string | boolean | undefined
|
|
5204
|
+
): Promise<undefined>;
|
|
5190
5205
|
/**
|
|
5191
5206
|
* Allows setting the theme name
|
|
5192
5207
|
*
|
|
@@ -6966,10 +6981,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6966
6981
|
* - `properties` could be an array containing the property names which should be included in the new
|
|
6967
6982
|
* entry. Other properties defined in the entity type won't be included.
|
|
6968
6983
|
* - `properties` could be an object which includes the desired properties and the corresponding values
|
|
6969
|
-
* which should be used for the created entry.
|
|
6970
|
-
* the entity type will be included in the created entry.
|
|
6971
|
-
*
|
|
6972
|
-
* If there are no values specified, the properties will have `undefined` values.
|
|
6984
|
+
* which should be used for the created entry.
|
|
6973
6985
|
*
|
|
6974
6986
|
* The `properties` can be modified via property bindings relative to the returned context instance.
|
|
6975
6987
|
*
|
|
@@ -11644,10 +11656,10 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
11644
11656
|
|
|
11645
11657
|
import Event from "sap/ui/base/Event";
|
|
11646
11658
|
|
|
11647
|
-
import Binding from "sap/ui/model/Binding";
|
|
11648
|
-
|
|
11649
11659
|
import Context from "sap/ui/model/Context";
|
|
11650
11660
|
|
|
11661
|
+
import Binding from "sap/ui/model/Binding";
|
|
11662
|
+
|
|
11651
11663
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
11652
11664
|
|
|
11653
11665
|
import Model from "sap/ui/model/Model";
|
|
@@ -12472,6 +12484,9 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12472
12484
|
*
|
|
12473
12485
|
* For more information on the `oBindingInfo.key` property and its usage, see {@link https://ui5.sap.com/#/topic/7cdff73f308b4b10bdf7d83b7aba72e7 Extended Change Detection}.
|
|
12474
12486
|
*
|
|
12487
|
+
* Providing sorters and/or filters as positional parameters is deprecated as of 1.135.0. Provide them as
|
|
12488
|
+
* part of a `BindingInfo` object instead.
|
|
12489
|
+
*
|
|
12475
12490
|
*
|
|
12476
12491
|
* @returns Returns `this` to allow method chaining
|
|
12477
12492
|
*/
|
|
@@ -12481,9 +12496,14 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12481
12496
|
*/
|
|
12482
12497
|
sName: string,
|
|
12483
12498
|
/**
|
|
12484
|
-
*
|
|
12499
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12485
12500
|
*/
|
|
12486
|
-
|
|
12501
|
+
vBindingInfo: AggregationBindingInfo | string,
|
|
12502
|
+
/**
|
|
12503
|
+
* The template to clone for each item in the aggregation; either a template `Element` or a factory function
|
|
12504
|
+
* must be given
|
|
12505
|
+
*/
|
|
12506
|
+
vTemplate?: ManagedObject | ((p1: string, p2: Context) => ManagedObject)
|
|
12487
12507
|
): this;
|
|
12488
12508
|
/**
|
|
12489
12509
|
* Bind the object to the referenced entity in the model, which is used as the binding context to resolve
|
|
@@ -12520,14 +12540,17 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12520
12540
|
* Also see {@link https://ui5.sap.com/#/topic/91f05e8b6f4d1014b6dd926db0e91070 Context Binding} in the
|
|
12521
12541
|
* documentation.
|
|
12522
12542
|
*
|
|
12543
|
+
* As of 1.135, providing 'parameters' as positional parameter is deprecated. Provide them as part of a
|
|
12544
|
+
* `BindingInfo` object instead.
|
|
12545
|
+
*
|
|
12523
12546
|
*
|
|
12524
12547
|
* @returns Returns `this` to allow method chaining
|
|
12525
12548
|
*/
|
|
12526
12549
|
bindObject(
|
|
12527
12550
|
/**
|
|
12528
|
-
*
|
|
12551
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12529
12552
|
*/
|
|
12530
|
-
|
|
12553
|
+
vBindingInfo: ObjectBindingInfo | string
|
|
12531
12554
|
): this;
|
|
12532
12555
|
/**
|
|
12533
12556
|
* Binds a property to the model.
|
|
@@ -12590,6 +12613,9 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12590
12613
|
* Also see {@link https://ui5.sap.com/#/topic/91f0652b6f4d1014b6dd926db0e91070 Property Binding} in the
|
|
12591
12614
|
* documentation.
|
|
12592
12615
|
*
|
|
12616
|
+
* Providing a type, formatter, or bindingMode as a positional parameter is deprecated as of 1.135.0. Provide
|
|
12617
|
+
* them as part of a `BindingInfo` object instead.
|
|
12618
|
+
*
|
|
12593
12619
|
*
|
|
12594
12620
|
* @returns Returns `this` to allow method chaining
|
|
12595
12621
|
*/
|
|
@@ -12600,9 +12626,9 @@ declare module "sap/ui/base/ManagedObject" {
|
|
|
12600
12626
|
*/
|
|
12601
12627
|
sName: string,
|
|
12602
12628
|
/**
|
|
12603
|
-
*
|
|
12629
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12604
12630
|
*/
|
|
12605
|
-
|
|
12631
|
+
vBindingInfo: PropertyBindingInfo | string
|
|
12606
12632
|
): this;
|
|
12607
12633
|
/**
|
|
12608
12634
|
* Clones a tree of objects starting with the object on which clone is called first (root object).
|
|
@@ -18348,7 +18374,9 @@ declare module "sap/ui/core/Component" {
|
|
|
18348
18374
|
* the manifest will not be evaluated before the controller. It might still be loaded synchronously if declared
|
|
18349
18375
|
* in the Component metadata. A non-empty string value will be interpreted as the URL to load the manifest
|
|
18350
18376
|
* from. If the manifest could not be loaded from a given URL, the Promise returned by the Component.create
|
|
18351
|
-
* factory rejects. A non-null object value will be interpreted as manifest content.
|
|
18377
|
+
* factory rejects. A non-null object value will be interpreted as manifest content. **Note:** If a manifest
|
|
18378
|
+
* is provided as URL or plain object, it must use the same major schema version as the original manifest
|
|
18379
|
+
* to avoid incompatible changes in the behavior of the component.
|
|
18352
18380
|
*/
|
|
18353
18381
|
manifest?: boolean | string | object;
|
|
18354
18382
|
/**
|
|
@@ -18653,6 +18681,8 @@ declare module "sap/ui/core/Component" {
|
|
|
18653
18681
|
* The properties can also be defined in the descriptor. These properties can be overwritten by the local
|
|
18654
18682
|
* properties of that function.
|
|
18655
18683
|
*
|
|
18684
|
+
* Synchronous Component creation is deprecated as of 1.135.0.
|
|
18685
|
+
*
|
|
18656
18686
|
* @since 1.47.0
|
|
18657
18687
|
*
|
|
18658
18688
|
* @returns Component instance or Promise which will be resolved with the component instance (defaults to
|
|
@@ -26998,7 +27028,7 @@ declare module "sap/ui/core/Element" {
|
|
|
26998
27028
|
static registry: registry;
|
|
26999
27029
|
|
|
27000
27030
|
/**
|
|
27001
|
-
* Returns the nearest
|
|
27031
|
+
* Returns the nearest {@link sap.ui.core.Element UI5 Element} that wraps the given DOM element.
|
|
27002
27032
|
*
|
|
27003
27033
|
* A DOM element or a CSS selector is accepted as a given parameter. When a CSS selector is given as parameter,
|
|
27004
27034
|
* only the first DOM element that matches the CSS selector is taken to find the nearest UI5 Element that
|
|
@@ -27285,13 +27315,16 @@ declare module "sap/ui/core/Element" {
|
|
|
27285
27315
|
*/
|
|
27286
27316
|
bindElement(
|
|
27287
27317
|
/**
|
|
27288
|
-
*
|
|
27318
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
27289
27319
|
*/
|
|
27290
|
-
|
|
27320
|
+
vBindingInfo: ObjectBindingInfo | string,
|
|
27291
27321
|
/**
|
|
27292
27322
|
* map of additional parameters for this binding. Only taken into account when `vPath` is a string. In that
|
|
27293
27323
|
* case it corresponds to `mParameters` of {@link sap.ui.base.ManagedObject.ObjectBindingInfo}. The supported
|
|
27294
27324
|
* parameters are listed in the corresponding model-specific implementation of `sap.ui.model.ContextBinding`.
|
|
27325
|
+
*
|
|
27326
|
+
* Providing 'parameters' as positional parameter is deprecated as of 1.135.0. Provide them as part of a
|
|
27327
|
+
* `BindingInfo` object instead.
|
|
27295
27328
|
*/
|
|
27296
27329
|
mParameters?: object
|
|
27297
27330
|
): this;
|
|
@@ -30769,15 +30802,18 @@ declare module "sap/ui/core/Fragment" {
|
|
|
30769
30802
|
*/
|
|
30770
30803
|
mOptions: {
|
|
30771
30804
|
/**
|
|
30772
|
-
*
|
|
30773
|
-
* which can be loaded via the module system
|
|
30774
|
-
*
|
|
30775
|
-
*
|
|
30776
|
-
*
|
|
30805
|
+
* Must be provided if no `definition` parameter is given. The fragment name must correspond to an XML fragment
|
|
30806
|
+
* which can be loaded via the module system and must contain the fragment definition. It can be specified
|
|
30807
|
+
* either in dot notation (fragmentName + suffix `.fragment.<typeExtension>`) or, for JS fragments,
|
|
30808
|
+
* in module name syntax (`module:my/sample/AsyncButton`). If `mOptions.controller` is supplied, the (event
|
|
30809
|
+
* handler) methods referenced in the fragment will be called on that controller. Note that fragments may
|
|
30810
|
+
* require a controller to be given and certain methods to be implemented by it.
|
|
30777
30811
|
*/
|
|
30778
30812
|
name?: string;
|
|
30779
30813
|
/**
|
|
30780
|
-
* the fragment type, e.g. `"XML"`, `"JS"`, or `"HTML"` (type `"HTML"` is deprecated). Default is `"XML"
|
|
30814
|
+
* the fragment type, e.g. `"XML"`, `"JS"`, or `"HTML"` (type `"HTML"` is deprecated). Default is `"XML"`.
|
|
30815
|
+
* If the fragment name is given in module name syntax (e.g., `module:my/sample/AsyncButton`) the type must
|
|
30816
|
+
* be omitted.
|
|
30781
30817
|
*/
|
|
30782
30818
|
type?: string;
|
|
30783
30819
|
/**
|
|
@@ -34486,15 +34522,16 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
34486
34522
|
sCurrencySymbol: string
|
|
34487
34523
|
): string;
|
|
34488
34524
|
/**
|
|
34489
|
-
* Returns the number of digits of the
|
|
34525
|
+
* Returns the number of digits of the given currency considering a custom currency first and falling back
|
|
34526
|
+
* to the CLDR data if no custom currency is defined.
|
|
34490
34527
|
*
|
|
34491
34528
|
* @since 1.21.1
|
|
34492
34529
|
*
|
|
34493
|
-
* @returns
|
|
34530
|
+
* @returns The number of digits for the given currency
|
|
34494
34531
|
*/
|
|
34495
34532
|
getCurrencyDigits(
|
|
34496
34533
|
/**
|
|
34497
|
-
* ISO 4217 currency code
|
|
34534
|
+
* The ISO 4217 currency code
|
|
34498
34535
|
*/
|
|
34499
34536
|
sCurrency: string
|
|
34500
34537
|
): int;
|
|
@@ -35335,14 +35372,14 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
35335
35372
|
* @since 1.54
|
|
35336
35373
|
*
|
|
35337
35374
|
* @returns The unit format pattern for the given unit name as a map from a pattern key like `"unitPattern-count-other"`
|
|
35338
|
-
* to the corresponding pattern
|
|
35375
|
+
* to the corresponding pattern or `undefined` if no corresponding pattern is found
|
|
35339
35376
|
*/
|
|
35340
35377
|
getUnitFormat(
|
|
35341
35378
|
/**
|
|
35342
35379
|
* unit name, e.g. "duration-hour"
|
|
35343
35380
|
*/
|
|
35344
35381
|
sUnit: string
|
|
35345
|
-
): Record<string, string
|
|
35382
|
+
): Record<string, string> | undefined;
|
|
35346
35383
|
/**
|
|
35347
35384
|
* Retrieves unit format patterns for all units see {@link #getResolvedUnitFormat} for an example of a unit
|
|
35348
35385
|
* format pattern.
|
|
@@ -36795,7 +36832,8 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
36795
36832
|
mOptions: {
|
|
36796
36833
|
/**
|
|
36797
36834
|
* The controller name that corresponds to a JS module that can be loaded via the module system (mOptions.name
|
|
36798
|
-
* + suffix ".controller.js")
|
|
36835
|
+
* + suffix ".controller.js"). It can be specified either in dot notation (`my.sample.Controller`) or in
|
|
36836
|
+
* module name syntax (`module:my/sample/Controller`).
|
|
36799
36837
|
*/
|
|
36800
36838
|
name: string;
|
|
36801
36839
|
}
|
|
@@ -36832,86 +36870,15 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
36832
36870
|
*/
|
|
36833
36871
|
static getMetadata(): Metadata;
|
|
36834
36872
|
/**
|
|
36835
|
-
*
|
|
36836
|
-
* of a specific controller. The code enhancements are returned either in sync or async mode.
|
|
36837
|
-
*
|
|
36838
|
-
* The extension provider module provides the `getControllerExtensions` function which returns either directly
|
|
36839
|
-
* an array of objects or a Promise that returns an array of objects when it resolves. These objects are
|
|
36840
|
-
* object literals defining the methods and properties of the controller in a similar way as for {@link sap.ui.core.mvc.Controller Controller }
|
|
36841
|
-
* subclasses.
|
|
36842
|
-
*
|
|
36843
|
-
* **Example for a callback module definition (sync):**
|
|
36844
|
-
* ```javascript
|
|
36845
|
-
*
|
|
36846
|
-
* sap.ui.define("my/custom/sync/ExtensionProvider", [], function() {
|
|
36847
|
-
* var ExtensionProvider = function() {};
|
|
36848
|
-
* ExtensionProvider.prototype.getControllerExtensions = function(sControllerName, sComponentId, bAsync) {
|
|
36849
|
-
* if (!bAsync && sControllerName == "my.own.Controller") {
|
|
36850
|
-
* // IMPORTANT: only return extensions for a specific controller
|
|
36851
|
-
* return [{
|
|
36852
|
-
* onInit: function() {
|
|
36853
|
-
* // Do something here...
|
|
36854
|
-
* },
|
|
36855
|
-
* onAfterRendering: function() {
|
|
36856
|
-
* // Do something here...
|
|
36857
|
-
* },
|
|
36858
|
-
* onButtonClick: function(oEvent) {
|
|
36859
|
-
* // Handle the button click event
|
|
36860
|
-
* }
|
|
36861
|
-
* }
|
|
36862
|
-
* }];
|
|
36863
|
-
* };
|
|
36864
|
-
* return ExtensionProvider;
|
|
36865
|
-
* });
|
|
36866
|
-
* ```
|
|
36867
|
-
*
|
|
36868
|
-
*
|
|
36869
|
-
* **Example for a callback module definition (async):**
|
|
36870
|
-
* ```javascript
|
|
36871
|
-
*
|
|
36872
|
-
* sap.ui.define("my/custom/async/ExtensionProvider", [], function() {
|
|
36873
|
-
* var ExtensionProvider = function() {};
|
|
36874
|
-
* ExtensionProvider.prototype.getControllerExtensions = function(sControllerName, sComponentId, bAsync) {
|
|
36875
|
-
* if (bAsync && sControllerName == "my.own.Controller") {
|
|
36876
|
-
* // IMPORTANT:
|
|
36877
|
-
* // only return a Promise for a specific controller since it
|
|
36878
|
-
* // requires the View/Controller and its parents to run in async
|
|
36879
|
-
* // mode!
|
|
36880
|
-
* return new Promise(function(fnResolve, fnReject) {
|
|
36881
|
-
* fnResolve([{
|
|
36882
|
-
* onInit: function() {
|
|
36883
|
-
* // Do something here...
|
|
36884
|
-
* },
|
|
36885
|
-
* onAfterRendering: function() {
|
|
36886
|
-
* // Do something here...
|
|
36887
|
-
* },
|
|
36888
|
-
* onButtonClick: function(oEvent) {
|
|
36889
|
-
* // Handle the button click event
|
|
36890
|
-
* }
|
|
36891
|
-
* }]);
|
|
36892
|
-
* }
|
|
36893
|
-
* };
|
|
36894
|
-
* };
|
|
36895
|
-
* return ExtensionProvider;
|
|
36896
|
-
* });
|
|
36897
|
-
* ```
|
|
36898
|
-
*
|
|
36899
|
-
*
|
|
36900
|
-
* The lifecycle functions `onInit`, `onExit`, `onBeforeRendering` and `onAfterRendering` are added before
|
|
36901
|
-
* or after the lifecycle functions of the original controller. The event handler functions, such as `onButtonClick`,
|
|
36902
|
-
* are replacing the original controller's function.
|
|
36903
|
-
*
|
|
36904
|
-
* When using an async extension provider, you need to ensure that the view is loaded in async mode.
|
|
36905
|
-
*
|
|
36906
|
-
* In both cases, return `undefined` if no controller extension shall be applied.
|
|
36873
|
+
* See {@link sap.ui.core.mvc.ControllerExtensionProvider.registerExtensionProvider}.
|
|
36907
36874
|
*
|
|
36908
36875
|
* @since 1.34.0
|
|
36876
|
+
* @deprecated As of version 1.136.0. without replacement, the extension provider concept is intended for
|
|
36877
|
+
* framework internal use only.
|
|
36909
36878
|
*/
|
|
36910
36879
|
static registerExtensionProvider(
|
|
36911
36880
|
/**
|
|
36912
36881
|
* the module name of the extension provider
|
|
36913
|
-
*
|
|
36914
|
-
* See {@link sap.ui.core.mvc.Controller} for an overview of the available functions for controllers.
|
|
36915
36882
|
*/
|
|
36916
36883
|
sExtensionProvider: string
|
|
36917
36884
|
): void;
|
|
@@ -36999,8 +36966,9 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
36999
36966
|
*/
|
|
37000
36967
|
mOptions: {
|
|
37001
36968
|
/**
|
|
37002
|
-
* The
|
|
37003
|
-
* + suffix ".fragment.[typeextension]") and
|
|
36969
|
+
* The fragment name, which must correspond to a fragment which can be loaded via the module system (mOptions.name
|
|
36970
|
+
* + suffix ".fragment.[typeextension]") and must contain the fragment definition. It can be specified either
|
|
36971
|
+
* in dot notation (`my.sample.myFragment`) or, for JS fragments, in module name syntax (`module:my/sample/myFragment`).
|
|
37004
36972
|
*/
|
|
37005
36973
|
name: string;
|
|
37006
36974
|
/**
|
|
@@ -37012,11 +36980,12 @@ declare module "sap/ui/core/mvc/Controller" {
|
|
|
37012
36980
|
*/
|
|
37013
36981
|
autoPrefixId?: boolean;
|
|
37014
36982
|
/**
|
|
37015
|
-
* the ID of the
|
|
36983
|
+
* the ID of the fragment
|
|
37016
36984
|
*/
|
|
37017
36985
|
id?: string;
|
|
37018
36986
|
/**
|
|
37019
|
-
* the
|
|
36987
|
+
* the fragment type, e.g. "XML", "JS", or "HTML" (see above). Default is "XML". If the fragment name is
|
|
36988
|
+
* given in module name syntax (e.g., `module:my/sample/myFragment`) the type must be omitted.
|
|
37020
36989
|
*/
|
|
37021
36990
|
type?: string;
|
|
37022
36991
|
}
|
|
@@ -37125,6 +37094,11 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
|
|
|
37125
37094
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
37126
37095
|
*/
|
|
37127
37096
|
protected constructor();
|
|
37097
|
+
/**
|
|
37098
|
+
* The `overrides` definition object, which is used to specify methods of the base class to override. The
|
|
37099
|
+
* names of this object's properties are method names like `onInit` and the values are the respective implementation.
|
|
37100
|
+
*/
|
|
37101
|
+
static readonly overrides?: Overrides;
|
|
37128
37102
|
|
|
37129
37103
|
/**
|
|
37130
37104
|
* Creates a new subclass of class sap.ui.core.mvc.ControllerExtension with name `sClassName` and enriches
|
|
@@ -37265,6 +37239,15 @@ declare module "sap/ui/core/mvc/ControllerExtension" {
|
|
|
37265
37239
|
*/
|
|
37266
37240
|
getView(): View;
|
|
37267
37241
|
}
|
|
37242
|
+
/**
|
|
37243
|
+
* The type of the `overrides` property
|
|
37244
|
+
*/
|
|
37245
|
+
export type Overrides = { [key: string]: any } & Partial<
|
|
37246
|
+
Pick<
|
|
37247
|
+
(typeof import("sap/ui/core/mvc/Controller").default)["prototype"],
|
|
37248
|
+
"onAfterRendering" | "onBeforeRendering" | "onExit" | "onInit"
|
|
37249
|
+
>
|
|
37250
|
+
>;
|
|
37268
37251
|
}
|
|
37269
37252
|
|
|
37270
37253
|
declare module "sap/ui/core/mvc/HTMLView" {
|
|
@@ -37918,14 +37901,17 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
37918
37901
|
* ```
|
|
37919
37902
|
*
|
|
37920
37903
|
*
|
|
37921
|
-
* Other Methods: Besides `createContent`, there are
|
|
37922
|
-
* {@link #getControllerName getControllerName} defines the name of the controller that should
|
|
37923
|
-
* and used for the view. The name must be in class name notation (dot notation), without
|
|
37924
|
-
* suffix. The suffix will be added by the framework when loading the module containing
|
|
37925
|
-
*
|
|
37926
|
-
* {@link #
|
|
37927
|
-
*
|
|
37928
|
-
*
|
|
37904
|
+
* Other Methods: Besides `createContent`, there are other methods that a view can implement:
|
|
37905
|
+
* - Method {@link #getControllerName getControllerName} defines the name of the controller that should
|
|
37906
|
+
* be instantiated and used for the view. The name must be in class name notation (dot notation), without
|
|
37907
|
+
* the `".controller"` suffix. The suffix will be added by the framework when loading the module containing
|
|
37908
|
+
* the controller.
|
|
37909
|
+
* - Method {@link #getControllerModuleName getControllerModuleName} defines the module name of the controller
|
|
37910
|
+
* that should be loaded for the view. Unlike `getControllerName`, the name must be in `sap.ui.define/sap.ui.require`
|
|
37911
|
+
* syntax (slash-separated name without '.js' suffix).
|
|
37912
|
+
* - {@link #getAutoPrefixId getAutoPrefixId} defines whether the IDs of controls created during the execution
|
|
37913
|
+
* of `createContent` will be prefixed with the ID of the view automatically. The default implementation
|
|
37914
|
+
* of this method returns `false`.
|
|
37929
37915
|
*/
|
|
37930
37916
|
export default abstract class View extends Control {
|
|
37931
37917
|
/**
|
|
@@ -38550,6 +38536,16 @@ declare module "sap/ui/core/mvc/View" {
|
|
|
38550
38536
|
* @returns Controller of this view.
|
|
38551
38537
|
*/
|
|
38552
38538
|
getController(): Controller;
|
|
38539
|
+
/**
|
|
38540
|
+
* An optional method that views can implement to return the controller's module name in `sap.ui.define/sap.ui.require`
|
|
38541
|
+
* syntax (slash-separated name without '.js' suffix). If no controller instance is provided at the time
|
|
38542
|
+
* of View instantiation AND this method exists, the View attempts to load and instantiate the controller
|
|
38543
|
+
* and to connect it to itself.
|
|
38544
|
+
*
|
|
38545
|
+
*
|
|
38546
|
+
* @returns Name of the module name from which to load the view definition.
|
|
38547
|
+
*/
|
|
38548
|
+
getControllerModuleName(): string;
|
|
38553
38549
|
/**
|
|
38554
38550
|
* An (optional) method to be implemented by Views. When no controller instance is given at View instantiation
|
|
38555
38551
|
* time AND this method exists and returns the (package and class) name of a controller, the View tries
|
|
@@ -39995,11 +39991,11 @@ declare module "sap/ui/core/Popup" {
|
|
|
39995
39991
|
/**
|
|
39996
39992
|
* the popup content's reference position for docking
|
|
39997
39993
|
*/
|
|
39998
|
-
my?: Dock,
|
|
39994
|
+
my?: Dock | keyof typeof Dock,
|
|
39999
39995
|
/**
|
|
40000
39996
|
* the "of" element's reference point for docking to
|
|
40001
39997
|
*/
|
|
40002
|
-
at?: Dock,
|
|
39998
|
+
at?: Dock | keyof typeof Dock,
|
|
40003
39999
|
/**
|
|
40004
40000
|
* specifies the reference element to which the given content should dock to
|
|
40005
40001
|
*/
|
|
@@ -40037,11 +40033,11 @@ declare module "sap/ui/core/Popup" {
|
|
|
40037
40033
|
/**
|
|
40038
40034
|
* the popup content's reference position for docking
|
|
40039
40035
|
*/
|
|
40040
|
-
my?: Dock,
|
|
40036
|
+
my?: Dock | keyof typeof Dock,
|
|
40041
40037
|
/**
|
|
40042
40038
|
* the "of" element's reference point for docking to
|
|
40043
40039
|
*/
|
|
40044
|
-
at?: Dock,
|
|
40040
|
+
at?: Dock | keyof typeof Dock,
|
|
40045
40041
|
/**
|
|
40046
40042
|
* specifies the reference element to which the given content should dock to
|
|
40047
40043
|
*/
|
|
@@ -40208,12 +40204,12 @@ declare module "sap/ui/core/Popup" {
|
|
|
40208
40204
|
/**
|
|
40209
40205
|
* specifies which point of the given Content should be aligned
|
|
40210
40206
|
*/
|
|
40211
|
-
my: Dock,
|
|
40207
|
+
my: Dock | keyof typeof Dock,
|
|
40212
40208
|
/**
|
|
40213
40209
|
* specifies the point of the reference element to which the given Content should be aligned
|
|
40214
40210
|
*/
|
|
40215
40211
|
at:
|
|
40216
|
-
| Dock
|
|
40212
|
+
| (Dock | keyof typeof Dock)
|
|
40217
40213
|
| {
|
|
40218
40214
|
left: CSSSize;
|
|
40219
40215
|
|
|
@@ -40263,35 +40259,35 @@ declare module "sap/ui/core/Popup" {
|
|
|
40263
40259
|
* This enum is part of the 'sap/ui/core/Popup' module export and must be accessed by the property 'Dock'.
|
|
40264
40260
|
*/
|
|
40265
40261
|
enum Dock {
|
|
40266
|
-
BeginBottom = "
|
|
40262
|
+
BeginBottom = "BeginBottom",
|
|
40267
40263
|
|
|
40268
|
-
BeginCenter = "
|
|
40264
|
+
BeginCenter = "BeginCenter",
|
|
40269
40265
|
|
|
40270
|
-
BeginTop = "
|
|
40266
|
+
BeginTop = "BeginTop",
|
|
40271
40267
|
|
|
40272
|
-
CenterBottom = "
|
|
40268
|
+
CenterBottom = "CenterBottom",
|
|
40273
40269
|
|
|
40274
|
-
CenterCenter = "
|
|
40270
|
+
CenterCenter = "CenterCenter",
|
|
40275
40271
|
|
|
40276
|
-
CenterTop = "
|
|
40272
|
+
CenterTop = "CenterTop",
|
|
40277
40273
|
|
|
40278
|
-
EndBottom = "
|
|
40274
|
+
EndBottom = "EndBottom",
|
|
40279
40275
|
|
|
40280
|
-
EndCenter = "
|
|
40276
|
+
EndCenter = "EndCenter",
|
|
40281
40277
|
|
|
40282
|
-
EndTop = "
|
|
40278
|
+
EndTop = "EndTop",
|
|
40283
40279
|
|
|
40284
|
-
LeftBottom = "
|
|
40280
|
+
LeftBottom = "LeftBottom",
|
|
40285
40281
|
|
|
40286
|
-
LeftCenter = "
|
|
40282
|
+
LeftCenter = "LeftCenter",
|
|
40287
40283
|
|
|
40288
|
-
LeftTop = "
|
|
40284
|
+
LeftTop = "LeftTop",
|
|
40289
40285
|
|
|
40290
|
-
RightBottom = "
|
|
40286
|
+
RightBottom = "RightBottom",
|
|
40291
40287
|
|
|
40292
|
-
RightCenter = "
|
|
40288
|
+
RightCenter = "RightCenter",
|
|
40293
40289
|
|
|
40294
|
-
RightTop = "
|
|
40290
|
+
RightTop = "RightTop",
|
|
40295
40291
|
}
|
|
40296
40292
|
|
|
40297
40293
|
export type PositionInfo = {
|
|
@@ -71576,6 +71572,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71576
71572
|
*
|
|
71577
71573
|
* Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all key properties
|
|
71578
71574
|
* are available within the initial data.
|
|
71575
|
+
* See:
|
|
71576
|
+
* #requestCanonicalPath
|
|
71579
71577
|
*
|
|
71580
71578
|
* @since 1.39.0
|
|
71581
71579
|
*
|
|
@@ -71824,14 +71822,19 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71824
71822
|
*
|
|
71825
71823
|
* @since 1.125.0
|
|
71826
71824
|
*
|
|
71827
|
-
* @returns A promise which is resolved without a defined result when the move is finished, or
|
|
71828
|
-
* in case of an error
|
|
71825
|
+
* @returns A promise which is resolved without a defined result when the move is finished, or with the
|
|
71826
|
+
* index for the copied node, or rejected in case of an error
|
|
71829
71827
|
*/
|
|
71830
71828
|
move(
|
|
71831
71829
|
/**
|
|
71832
71830
|
* A parameter object
|
|
71833
71831
|
*/
|
|
71834
71832
|
oParameters: {
|
|
71833
|
+
/**
|
|
71834
|
+
* Whether the node should be copied instead of moved (@experimental as of version 1.135.0). The returned
|
|
71835
|
+
* promise resolves with the index for the copied node.
|
|
71836
|
+
*/
|
|
71837
|
+
copy?: boolean;
|
|
71835
71838
|
/**
|
|
71836
71839
|
* The next sibling's context, or `null` to turn this node into the last sibling. Omitting the sibling moves
|
|
71837
71840
|
* this node to a position determined by the server.
|
|
@@ -71842,7 +71845,7 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71842
71845
|
*/
|
|
71843
71846
|
parent: Context | null;
|
|
71844
71847
|
}
|
|
71845
|
-
): Promise<
|
|
71848
|
+
): Promise<number | undefined>;
|
|
71846
71849
|
/**
|
|
71847
71850
|
* Refreshes the single entity represented by this context. Use {@link #requestRefresh} if you want to wait
|
|
71848
71851
|
* for the refresh.
|
|
@@ -71888,6 +71891,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71888
71891
|
*
|
|
71889
71892
|
* Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all key properties
|
|
71890
71893
|
* are available within the initial data.
|
|
71894
|
+
* See:
|
|
71895
|
+
* #getCanonicalPath
|
|
71891
71896
|
*
|
|
71892
71897
|
* @since 1.39.0
|
|
71893
71898
|
*
|
|
@@ -72364,7 +72369,9 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
|
|
|
72364
72369
|
/**
|
|
72365
72370
|
* Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
|
|
72366
72371
|
* is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
|
|
72367
|
-
* the '$filter' or '$search' parameter is changed.
|
|
72372
|
+
* the '$filter' or '$search' parameter is changed. In all other cases, the caller of this method needs
|
|
72373
|
+
* to evaluate whether the changed parameters invalidate the current selection and then deselect the header
|
|
72374
|
+
* context if needed.
|
|
72368
72375
|
*
|
|
72369
72376
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
72370
72377
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -73028,10 +73035,46 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73028
73035
|
*/
|
|
73029
73036
|
oListener?: object
|
|
73030
73037
|
): this;
|
|
73038
|
+
/**
|
|
73039
|
+
* Attach event handler `fnFunction` to the 'selectionChanged' event of this binding.
|
|
73040
|
+
*
|
|
73041
|
+
* @since 1.136.0
|
|
73042
|
+
*
|
|
73043
|
+
* @returns `this` to allow method chaining
|
|
73044
|
+
*/
|
|
73045
|
+
attachSelectionChanged(
|
|
73046
|
+
/**
|
|
73047
|
+
* The function to call when the event occurs
|
|
73048
|
+
*/
|
|
73049
|
+
fnFunction: Function,
|
|
73050
|
+
/**
|
|
73051
|
+
* Object on which to call the given function
|
|
73052
|
+
*/
|
|
73053
|
+
oListener?: object
|
|
73054
|
+
): this;
|
|
73055
|
+
/**
|
|
73056
|
+
* Attach event handler `fnFunction` to the 'separateReceived' event of this binding.
|
|
73057
|
+
*
|
|
73058
|
+
* @since 1.136.0
|
|
73059
|
+
*
|
|
73060
|
+
* @returns `this` to allow method chaining
|
|
73061
|
+
*/
|
|
73062
|
+
attachSeparateReceived(
|
|
73063
|
+
/**
|
|
73064
|
+
* The function to call when the event occurs
|
|
73065
|
+
*/
|
|
73066
|
+
fnFunction: Function,
|
|
73067
|
+
/**
|
|
73068
|
+
* Object on which to call the given function
|
|
73069
|
+
*/
|
|
73070
|
+
oListener?: object
|
|
73071
|
+
): this;
|
|
73031
73072
|
/**
|
|
73032
73073
|
* Changes this binding's parameters and refreshes the binding. Since 1.111.0, a list binding's header context
|
|
73033
73074
|
* is deselected, but (since 1.120.13) only if the binding parameter '$$clearSelectionOnFilter' is set and
|
|
73034
|
-
* the '$filter' or '$search' parameter is changed.
|
|
73075
|
+
* the '$filter' or '$search' parameter is changed. In all other cases, the caller of this method needs
|
|
73076
|
+
* to evaluate whether the changed parameters invalidate the current selection and then deselect the header
|
|
73077
|
+
* context if needed.
|
|
73035
73078
|
*
|
|
73036
73079
|
* If there are pending changes that cannot be ignored, an error is thrown. Use {@link #hasPendingChanges }
|
|
73037
73080
|
* to check if there are such pending changes. If there are, call {@link sap.ui.model.odata.v4.ODataModel#submitBatch }
|
|
@@ -73257,6 +73300,40 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73257
73300
|
*/
|
|
73258
73301
|
oListener?: object
|
|
73259
73302
|
): this;
|
|
73303
|
+
/**
|
|
73304
|
+
* Detach event handler `fnFunction` from the 'selectionChanged' event of this binding.
|
|
73305
|
+
*
|
|
73306
|
+
* @since 1.136.0
|
|
73307
|
+
*
|
|
73308
|
+
* @returns `this` to allow method chaining
|
|
73309
|
+
*/
|
|
73310
|
+
detachSelectionChanged(
|
|
73311
|
+
/**
|
|
73312
|
+
* The function to call when the event occurs
|
|
73313
|
+
*/
|
|
73314
|
+
fnFunction: (evt: ODataListBinding$SelectionChangedEvent) => void,
|
|
73315
|
+
/**
|
|
73316
|
+
* Object on which to call the given function
|
|
73317
|
+
*/
|
|
73318
|
+
oListener?: object
|
|
73319
|
+
): this;
|
|
73320
|
+
/**
|
|
73321
|
+
* Detach event handler `fnFunction` from the 'separateReceived' event of this binding.
|
|
73322
|
+
*
|
|
73323
|
+
* @since 1.136.0
|
|
73324
|
+
*
|
|
73325
|
+
* @returns `this` to allow method chaining
|
|
73326
|
+
*/
|
|
73327
|
+
detachSeparateReceived(
|
|
73328
|
+
/**
|
|
73329
|
+
* The function to call when the event occurs
|
|
73330
|
+
*/
|
|
73331
|
+
fnFunction: (evt: ODataListBinding$SeparateReceivedEvent) => void,
|
|
73332
|
+
/**
|
|
73333
|
+
* Object on which to call the given function
|
|
73334
|
+
*/
|
|
73335
|
+
oListener?: object
|
|
73336
|
+
): this;
|
|
73260
73337
|
/**
|
|
73261
73338
|
* Filters the list with the given filters. Since 1.97.0, if filters are unchanged, no request is sent,
|
|
73262
73339
|
* regardless of pending changes. Since 1.111.0, all contexts (incl. the header context) are deselected,
|
|
@@ -73535,6 +73612,17 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73535
73612
|
| ODataListBinding
|
|
73536
73613
|
| ODataPropertyBinding
|
|
73537
73614
|
| undefined;
|
|
73615
|
+
/**
|
|
73616
|
+
* Returns the count of selected elements as a number of type `Edm.Int64`. The count is bindable via the
|
|
73617
|
+
* header context (see {@link #getHeaderContext}) and path `$selectionCount`; it is either available synchronously
|
|
73618
|
+
* or unknown. It is unknown if the binding is relative but has no context and also if the list binding's
|
|
73619
|
+
* {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context} is selected ("select all").
|
|
73620
|
+
*
|
|
73621
|
+
* @since 1.135.0
|
|
73622
|
+
*
|
|
73623
|
+
* @returns The count of selected elements or `undefined` if the count or the header context is not available.
|
|
73624
|
+
*/
|
|
73625
|
+
getSelectionCount(): number | undefined;
|
|
73538
73626
|
/**
|
|
73539
73627
|
* Returns the group ID of the binding that is used for update requests. The update group ID of the binding
|
|
73540
73628
|
* is alternatively defined by
|
|
@@ -74567,6 +74655,17 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
74567
74655
|
*/
|
|
74568
74656
|
sPropertyPath: string
|
|
74569
74657
|
): ValueListType;
|
|
74658
|
+
/**
|
|
74659
|
+
* Tells whether this metadata model's service prefers requests to use a resource path with navigation properties
|
|
74660
|
+
* instead of a canonical path, thus reflecting the object composition. See "com.sap.vocabularies.Common.v1.AddressViaNavigationPath"
|
|
74661
|
+
* for more details.
|
|
74662
|
+
*
|
|
74663
|
+
* @since 1.135.0
|
|
74664
|
+
*
|
|
74665
|
+
* @returns `true` if the "com.sap.vocabularies.Common.v1.AddressViaNavigationPath" tag is present, `undefined`
|
|
74666
|
+
* if it is missing or metadata is not (yet) available
|
|
74667
|
+
*/
|
|
74668
|
+
isAddressViaNavigationPath(): boolean | undefined;
|
|
74570
74669
|
/**
|
|
74571
74670
|
* Method not supported
|
|
74572
74671
|
* See:
|
|
@@ -75434,7 +75533,10 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75434
75533
|
$$canonicalPath?: boolean;
|
|
75435
75534
|
/**
|
|
75436
75535
|
* Whether the selection state of the list binding is cleared when a filter is changed; this includes dynamic
|
|
75437
|
-
* filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13.
|
|
75536
|
+
* filters, '$filter', '$search', and `$$aggregation.search`. Supported since 1.120.13. Since 1.135.0, the
|
|
75537
|
+
* selection state is validated when reloading the list binding's data. The {@link sap.ui.model.odata.v4.Context#isSelected selection states of contexts }
|
|
75538
|
+
* which no longer match the current filter are reset. **Note:** The selection state is not validated if
|
|
75539
|
+
* the `$$aggregation` parameter is used.
|
|
75438
75540
|
*/
|
|
75439
75541
|
$$clearSelectionOnFilter?: boolean;
|
|
75440
75542
|
/**
|
|
@@ -75521,6 +75623,16 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75521
75623
|
* binding refers to an action advertisement the binding's mode must be {@link sap.ui.model.BindingMode.OneTime}.
|
|
75522
75624
|
* {@link sap.ui.model.BindingMode.OneWay OneWay} is also supported (since 1.130.0) for complex types and
|
|
75523
75625
|
* collections thereof; for entity types, use {@link #bindContext} instead.
|
|
75626
|
+
*
|
|
75627
|
+
* Since 1.135.0, the binding may also point to an array element inside a collection of primitive type,
|
|
75628
|
+
* for example in the context of geography locations. Let's assume "GeoLocation" is a structural property
|
|
75629
|
+
* of type "Edm.GeographyPoint", then "coordinates" is a structural property of type "Collection(Edm.Double)":
|
|
75630
|
+
*
|
|
75631
|
+
* ```javascript
|
|
75632
|
+
*
|
|
75633
|
+
* <Text id="longitude" text="{Address/GeoLocation/coordinates/0}"/>
|
|
75634
|
+
* ```
|
|
75635
|
+
*
|
|
75524
75636
|
* See:
|
|
75525
75637
|
* sap.ui.base.ManagedObject#bindProperty
|
|
75526
75638
|
* sap.ui.model.Model#bindProperty
|
|
@@ -87528,6 +87640,7 @@ declare namespace sap {
|
|
|
87528
87640
|
* },
|
|
87529
87641
|
*
|
|
87530
87642
|
* // activate real async loading and module definitions
|
|
87643
|
+
* // (will become obsolete in 2.0 contexts as async will be the only mode there)
|
|
87531
87644
|
* async: true,
|
|
87532
87645
|
*
|
|
87533
87646
|
* // provide dependency and export metadata for non-UI5 modules
|
|
@@ -87669,6 +87782,8 @@ declare namespace sap {
|
|
|
87669
87782
|
* on the application bootstrap tag.
|
|
87670
87783
|
*
|
|
87671
87784
|
* **Note:** Switching back from async to sync is not supported and trying to do so will throw an `Error`
|
|
87785
|
+
*
|
|
87786
|
+
* In the next major version of UI5, this option will become obsolete as async will be the only mode.
|
|
87672
87787
|
*/
|
|
87673
87788
|
async?: boolean;
|
|
87674
87789
|
/**
|
|
@@ -88029,6 +88144,8 @@ declare namespace sap {
|
|
|
88029
88144
|
|
|
88030
88145
|
"sap/ui/core/Element": undefined;
|
|
88031
88146
|
|
|
88147
|
+
"sap/ui/core/ElementHooks": undefined;
|
|
88148
|
+
|
|
88032
88149
|
"sap/ui/core/ElementMetadata": undefined;
|
|
88033
88150
|
|
|
88034
88151
|
"sap/ui/core/ElementRegistry": undefined;
|