@openui5/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.
- package/package.json +1 -1
- package/types/sap.f.d.ts +2 -3
- package/types/sap.m.d.ts +275 -45
- package/types/sap.tnt.d.ts +215 -15
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +168 -38
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +10 -2
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +11 -10
- package/types/sap.ui.mdc.d.ts +26 -6
- 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 +22 -16
- package/types/sap.ui.table.d.ts +10 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +32 -1
- package/types/sap.ui.ux3.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.uxap.d.ts +10 -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.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
|
-
*
|
|
12855
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12838
12856
|
*/
|
|
12839
|
-
|
|
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
|
-
*
|
|
12914
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12882
12915
|
*/
|
|
12883
|
-
|
|
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
|
-
*
|
|
12992
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
12957
12993
|
*/
|
|
12958
|
-
|
|
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
|
|
21047
|
-
* + suffix ".fragment.[typeextension]") and
|
|
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
|
|
21109
|
+
* the ID of the fragment
|
|
21060
21110
|
*/
|
|
21061
21111
|
id?: string;
|
|
21062
21112
|
/**
|
|
21063
|
-
* the
|
|
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
|
|
21839
|
-
* {@link #getControllerName getControllerName} defines the name of the controller that should
|
|
21840
|
-
* and used for the view. The name must be in class name notation (dot notation), without
|
|
21841
|
-
* suffix. The suffix will be added by the framework when loading the module containing
|
|
21842
|
-
*
|
|
21843
|
-
* {@link #
|
|
21844
|
-
*
|
|
21845
|
-
*
|
|
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
|
|
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
|
-
*
|
|
40867
|
+
* A `BindingInfo` object or just the path, if no further properties are required
|
|
40797
40868
|
*/
|
|
40798
|
-
|
|
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
|
-
*
|
|
42149
|
-
* which can be loaded via the module system
|
|
42150
|
-
*
|
|
42151
|
-
*
|
|
42152
|
-
*
|
|
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
|
|
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
|
|
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;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -265,7 +265,7 @@ declare namespace sap {
|
|
|
265
265
|
implements
|
|
266
266
|
sap.ui.core.IShrinkable,
|
|
267
267
|
sap.m.IOverflowToolbarContent,
|
|
268
|
-
|
|
268
|
+
sap.m.IToolbarInteractiveControl
|
|
269
269
|
{
|
|
270
270
|
__implements__sap_ui_core_IShrinkable: boolean;
|
|
271
271
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
@@ -1400,6 +1400,10 @@ declare namespace sap {
|
|
|
1400
1400
|
|
|
1401
1401
|
"sap/ui/fl/apply/_internal/flexObjects/Variant": undefined;
|
|
1402
1402
|
|
|
1403
|
+
"sap/ui/fl/apply/_internal/flexObjects/VariantChange": undefined;
|
|
1404
|
+
|
|
1405
|
+
"sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange": undefined;
|
|
1406
|
+
|
|
1403
1407
|
"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler": undefined;
|
|
1404
1408
|
|
|
1405
1409
|
"sap/ui/fl/apply/_internal/flexState/changes/ExtensionPointState": undefined;
|
|
@@ -1454,6 +1458,8 @@ declare namespace sap {
|
|
|
1454
1458
|
|
|
1455
1459
|
"sap/ui/fl/ChangePersistenceFactory": undefined;
|
|
1456
1460
|
|
|
1461
|
+
"sap/ui/fl/descriptorRelated/api/DescriptorChange": undefined;
|
|
1462
|
+
|
|
1457
1463
|
"sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory": undefined;
|
|
1458
1464
|
|
|
1459
1465
|
"sap/ui/fl/descriptorRelated/api/DescriptorInlineChangeFactory": undefined;
|
|
@@ -1566,6 +1572,8 @@ declare namespace sap {
|
|
|
1566
1572
|
|
|
1567
1573
|
"sap/ui/fl/write/api/AppVariantWriteAPI": undefined;
|
|
1568
1574
|
|
|
1575
|
+
"sap/ui/fl/write/api/BusinessNetworkAPI": undefined;
|
|
1576
|
+
|
|
1569
1577
|
"sap/ui/fl/write/api/ChangesWriteAPI": undefined;
|
|
1570
1578
|
|
|
1571
1579
|
"sap/ui/fl/write/api/connectors/ObjectStorageConnector": undefined;
|
package/types/sap.ui.layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -96,7 +96,7 @@ declare namespace sap {
|
|
|
96
96
|
* less priority and will be overwritten.
|
|
97
97
|
*/
|
|
98
98
|
gridGap?:
|
|
99
|
-
| sap.ui.
|
|
99
|
+
| sap.ui.core.CSSGapShortHand
|
|
100
100
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
101
101
|
| `{${string}}`;
|
|
102
102
|
|
|
@@ -180,7 +180,7 @@ declare namespace sap {
|
|
|
180
180
|
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-gap MDN web docs: grid-gap}
|
|
181
181
|
*/
|
|
182
182
|
gridGap?:
|
|
183
|
-
| sap.ui.
|
|
183
|
+
| sap.ui.core.CSSGapShortHand
|
|
184
184
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
185
185
|
| `{${string}}`;
|
|
186
186
|
|
|
@@ -389,7 +389,7 @@ declare namespace sap {
|
|
|
389
389
|
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-gap MDN web docs: grid-gap}
|
|
390
390
|
*/
|
|
391
391
|
gridGap?:
|
|
392
|
-
| sap.ui.
|
|
392
|
+
| sap.ui.core.CSSGapShortHand
|
|
393
393
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
394
394
|
| `{${string}}`;
|
|
395
395
|
|
|
@@ -708,7 +708,7 @@ declare namespace sap {
|
|
|
708
708
|
*
|
|
709
709
|
* @returns Value of property `gridGap`
|
|
710
710
|
*/
|
|
711
|
-
getGridGap(): sap.ui.
|
|
711
|
+
getGridGap(): sap.ui.core.CSSGapShortHand;
|
|
712
712
|
/**
|
|
713
713
|
* Returns the layout configuration of the `CSSGrid`.
|
|
714
714
|
*
|
|
@@ -921,7 +921,7 @@ declare namespace sap {
|
|
|
921
921
|
/**
|
|
922
922
|
* New value for property `gridGap`
|
|
923
923
|
*/
|
|
924
|
-
sGridGap?: sap.ui.
|
|
924
|
+
sGridGap?: sap.ui.core.CSSGapShortHand
|
|
925
925
|
): this;
|
|
926
926
|
/**
|
|
927
927
|
* Sets a new value for property {@link #getGridRowGap gridRowGap}.
|
|
@@ -1121,7 +1121,7 @@ declare namespace sap {
|
|
|
1121
1121
|
*
|
|
1122
1122
|
* @returns Value of property `gridGap`
|
|
1123
1123
|
*/
|
|
1124
|
-
getGridGap(): sap.ui.
|
|
1124
|
+
getGridGap(): sap.ui.core.CSSGapShortHand;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Gets current value of property {@link #getGridRowGap gridRowGap}.
|
|
1127
1127
|
*
|
|
@@ -1243,7 +1243,7 @@ declare namespace sap {
|
|
|
1243
1243
|
/**
|
|
1244
1244
|
* New value for property `gridGap`
|
|
1245
1245
|
*/
|
|
1246
|
-
sGridGap?: sap.ui.
|
|
1246
|
+
sGridGap?: sap.ui.core.CSSGapShortHand
|
|
1247
1247
|
): this;
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Sets a new value for property {@link #getGridRowGap gridRowGap}.
|
|
@@ -2297,7 +2297,7 @@ declare namespace sap {
|
|
|
2297
2297
|
*
|
|
2298
2298
|
* @returns Value of property `gridGap`
|
|
2299
2299
|
*/
|
|
2300
|
-
getGridGap(): sap.ui.
|
|
2300
|
+
getGridGap(): sap.ui.core.CSSGapShortHand;
|
|
2301
2301
|
/**
|
|
2302
2302
|
* Gets current value of property {@link #getGridRowGap gridRowGap}.
|
|
2303
2303
|
*
|
|
@@ -2419,7 +2419,7 @@ declare namespace sap {
|
|
|
2419
2419
|
/**
|
|
2420
2420
|
* New value for property `gridGap`
|
|
2421
2421
|
*/
|
|
2422
|
-
sGridGap?: sap.ui.
|
|
2422
|
+
sGridGap?: sap.ui.core.CSSGapShortHand
|
|
2423
2423
|
): this;
|
|
2424
2424
|
/**
|
|
2425
2425
|
* Sets a new value for property {@link #getGridRowGap gridRowGap}.
|
|
@@ -2817,6 +2817,7 @@ declare namespace sap {
|
|
|
2817
2817
|
* {@link https://developer.mozilla.org/en-US/docs/Web/CSS/gap}
|
|
2818
2818
|
*
|
|
2819
2819
|
* @since 1.60.0
|
|
2820
|
+
* @deprecated As of version 1.135. use {@link sap.ui.core.CSSGapShortHand} instead
|
|
2820
2821
|
*/
|
|
2821
2822
|
type CSSGridGapShortHand = sap.ui.core.CSSGapShortHand;
|
|
2822
2823
|
|