@openui5/ts-types-esm 1.95.0 → 1.96.3
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 +66 -40
- package/types/sap.m.d.ts +554 -110
- package/types/sap.tnt.d.ts +31 -1
- 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 +691 -486
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -23
- package/types/sap.ui.integration.d.ts +220 -1
- package/types/sap.ui.layout.d.ts +21 -1
- package/types/sap.ui.mdc.d.ts +39 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -6
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -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 +1 -1
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
264
264
|
): jQuery;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
// For Library Version: 1.
|
|
267
|
+
// For Library Version: 1.96.3
|
|
268
268
|
|
|
269
269
|
declare module "sap/base/assert" {
|
|
270
270
|
/**
|
|
@@ -10845,12 +10845,6 @@ declare module "sap/ui/core/ComponentContainer" {
|
|
|
10845
10845
|
* Container width in CSS size
|
|
10846
10846
|
*/
|
|
10847
10847
|
getWidth(): CSSSize;
|
|
10848
|
-
/**
|
|
10849
|
-
* @SINCE 1.91
|
|
10850
|
-
*
|
|
10851
|
-
* Hides the placeholder that is shown on the component container.
|
|
10852
|
-
*/
|
|
10853
|
-
hidePlaceholder(): void;
|
|
10854
10848
|
/**
|
|
10855
10849
|
* Sets a new value for property {@link #getAsync async}.
|
|
10856
10850
|
*
|
|
@@ -11055,22 +11049,6 @@ declare module "sap/ui/core/ComponentContainer" {
|
|
|
11055
11049
|
*/
|
|
11056
11050
|
sWidth?: CSSSize
|
|
11057
11051
|
): this;
|
|
11058
|
-
/**
|
|
11059
|
-
* @SINCE 1.91
|
|
11060
|
-
*
|
|
11061
|
-
* Shows the provided placeholder on the component container.
|
|
11062
|
-
*/
|
|
11063
|
-
showPlaceholder(
|
|
11064
|
-
/**
|
|
11065
|
-
* Object containing the placeholder object
|
|
11066
|
-
*/
|
|
11067
|
-
mSettings: {
|
|
11068
|
-
/**
|
|
11069
|
-
* The placeholder instance
|
|
11070
|
-
*/
|
|
11071
|
-
placeholder: /* was: sap.ui.core.Placeholder */ any;
|
|
11072
|
-
}
|
|
11073
|
-
): Promise<any>;
|
|
11074
11052
|
}
|
|
11075
11053
|
|
|
11076
11054
|
export interface $ComponentContainerSettings extends $ControlSettings {
|
|
@@ -20574,6 +20552,234 @@ declare module "sap/ui/core/Icon" {
|
|
|
20574
20552
|
}
|
|
20575
20553
|
}
|
|
20576
20554
|
|
|
20555
|
+
declare module "sap/ui/core/IconPool" {
|
|
20556
|
+
import ResourceBundle from "sap/base/i18n/ResourceBundle";
|
|
20557
|
+
|
|
20558
|
+
import Control from "sap/ui/core/Control";
|
|
20559
|
+
|
|
20560
|
+
import { URI } from "sap/ui/core/library";
|
|
20561
|
+
|
|
20562
|
+
/**
|
|
20563
|
+
* The IconPool is a static class for retrieving or registering icons. It also provides helping methods
|
|
20564
|
+
* for easier consumption of icons. There are already icons registered in IconPool, please use the Demo
|
|
20565
|
+
* App named "Icon Explorer" to find the name of the icon.
|
|
20566
|
+
*
|
|
20567
|
+
* In order to use the icon inside an existing control, please call {@link sap.ui.core.IconPool.getIconURI}
|
|
20568
|
+
* and assign the URI to the control's property which supports icons. If you want to support both, icons
|
|
20569
|
+
* and standard images in your own control, please use the static method {@link sap.ui.core.IconPool.createControlByURI}
|
|
20570
|
+
* to either create an Icon in case the first argument is an icon-URL or another control which you define
|
|
20571
|
+
* by providing it as the second argument.
|
|
20572
|
+
*/
|
|
20573
|
+
interface IconPool {
|
|
20574
|
+
/**
|
|
20575
|
+
* Register an additional icon to the sap.ui.core.IconPool.
|
|
20576
|
+
*/
|
|
20577
|
+
addIcon(
|
|
20578
|
+
/**
|
|
20579
|
+
* the name of the icon.
|
|
20580
|
+
*/
|
|
20581
|
+
iconName: string,
|
|
20582
|
+
/**
|
|
20583
|
+
* the name of icon collection. The built in icons are with empty collectionName, so if additional icons
|
|
20584
|
+
* need to be registered in IconPool, the collectionName can't be empty.
|
|
20585
|
+
*/
|
|
20586
|
+
collectionName: string,
|
|
20587
|
+
/**
|
|
20588
|
+
* the icon info which contains the following properties:
|
|
20589
|
+
*/
|
|
20590
|
+
iconInfo: {
|
|
20591
|
+
/**
|
|
20592
|
+
* is the name of the font when importing the font using @font-face in CSS
|
|
20593
|
+
*/
|
|
20594
|
+
fontFamily: string;
|
|
20595
|
+
/**
|
|
20596
|
+
* is the special hexadecimal code without the prefix, for example "e000" or several of them
|
|
20597
|
+
*/
|
|
20598
|
+
content: string | string[];
|
|
20599
|
+
/**
|
|
20600
|
+
* indicates if already registered icons should be overwritten when the same name and collection are given.
|
|
20601
|
+
* The built in icons can never be overwritten.
|
|
20602
|
+
*/
|
|
20603
|
+
overWrite?: boolean;
|
|
20604
|
+
/**
|
|
20605
|
+
* indicates whether this icon should NOT be mirrored in RTL (right to left) mode.
|
|
20606
|
+
*/
|
|
20607
|
+
suppressMirroring?: boolean;
|
|
20608
|
+
/**
|
|
20609
|
+
* ResourceBundle to be used for translation. Key format: "Icon.".
|
|
20610
|
+
*/
|
|
20611
|
+
resourceBundle?: ResourceBundle;
|
|
20612
|
+
}
|
|
20613
|
+
): object;
|
|
20614
|
+
/**
|
|
20615
|
+
* Creates an instance of {@link sap.ui.core.Icon} if the given URI is an icon URI, otherwise the given
|
|
20616
|
+
* constructor is called. The given URI is set to the src property of the control.
|
|
20617
|
+
*/
|
|
20618
|
+
createControlByURI(
|
|
20619
|
+
/**
|
|
20620
|
+
* Contains the properties which will be used to instantiate the returned control. All properties of the
|
|
20621
|
+
* associated constructor can be used. Unknown properties are ignored. It should contain at least a property
|
|
20622
|
+
* named src. If it's given with a string type, it will be taken as the value of src property.
|
|
20623
|
+
*/
|
|
20624
|
+
setting: string | object,
|
|
20625
|
+
/**
|
|
20626
|
+
* The constructor function which is called when the given URI isn't an icon URI
|
|
20627
|
+
*/
|
|
20628
|
+
constructor: Function
|
|
20629
|
+
): Control;
|
|
20630
|
+
/**
|
|
20631
|
+
* @SINCE 1.56.0
|
|
20632
|
+
*
|
|
20633
|
+
* Checks if the icon font is loaded
|
|
20634
|
+
*/
|
|
20635
|
+
fontLoaded(
|
|
20636
|
+
/**
|
|
20637
|
+
* icon collection name
|
|
20638
|
+
*/
|
|
20639
|
+
sCollectionName: string
|
|
20640
|
+
): Promise<any> | undefined;
|
|
20641
|
+
/**
|
|
20642
|
+
* Returns all names of registered collections in IconPool
|
|
20643
|
+
*/
|
|
20644
|
+
getIconCollectionNames(): any[];
|
|
20645
|
+
/**
|
|
20646
|
+
* @SINCE 1.25.0
|
|
20647
|
+
*
|
|
20648
|
+
* Returns the icon url based on the given mime type
|
|
20649
|
+
*/
|
|
20650
|
+
getIconForMimeType(
|
|
20651
|
+
/**
|
|
20652
|
+
* the mime type of a file (e.g. "application/zip")
|
|
20653
|
+
*/
|
|
20654
|
+
sMimeType: string
|
|
20655
|
+
): string;
|
|
20656
|
+
/**
|
|
20657
|
+
* Returns an info object for the icon with the given `iconName` and `collectionName`.
|
|
20658
|
+
*
|
|
20659
|
+
* Instead of giving name and collection, a complete icon-URI can be provided as `iconName`. The method
|
|
20660
|
+
* will determine name and collection from the URI, see {@link #.isIconURI IconPool.isIconURI} for details.
|
|
20661
|
+
*
|
|
20662
|
+
* The returned info object has the following properties:
|
|
20663
|
+
* - `string: name` Name of the icon
|
|
20664
|
+
* - `string: collection` Name of the collection that contains the icon or `undefined` in case of the
|
|
20665
|
+
* default collection
|
|
20666
|
+
* - `string: uri` Icon URI that identifies the icon
|
|
20667
|
+
* - `string: fontFamily` CSS font family to use for this icon
|
|
20668
|
+
* - `string: content` Character sequence that represents the icon in the icon font
|
|
20669
|
+
* - `string: text` Alternative text describing the icon (optional, might be empty)
|
|
20670
|
+
* - `boolean: suppressMirroring` Whether the icon needs no mirroring in right-to-left mode
|
|
20671
|
+
*/
|
|
20672
|
+
getIconInfo(
|
|
20673
|
+
/**
|
|
20674
|
+
* Name of the icon, or a complete icon-URI with icon collection and icon name; must not be empty
|
|
20675
|
+
*/
|
|
20676
|
+
iconName: string,
|
|
20677
|
+
/**
|
|
20678
|
+
* Name of the icon collection; to access built-in icons, omit the collection name
|
|
20679
|
+
*/
|
|
20680
|
+
collectionName?: string,
|
|
20681
|
+
/**
|
|
20682
|
+
* The approach for loading the icon info, if it is not already available: sync - font metadata is loaded
|
|
20683
|
+
* synchronously and the icon info is returned immediately async - a promise is returned that returns the
|
|
20684
|
+
* icon info when the font metadata is loaded mixed - until the font metadata is loaded a promise is returned,
|
|
20685
|
+
* afterwards the icon info
|
|
20686
|
+
*/
|
|
20687
|
+
loadingMode?: string
|
|
20688
|
+
): object | Promise<any> | undefined;
|
|
20689
|
+
/**
|
|
20690
|
+
* Returns all name of icons that are registered under the given collection.
|
|
20691
|
+
*/
|
|
20692
|
+
getIconNames(
|
|
20693
|
+
/**
|
|
20694
|
+
* the name of collection where icon names are retrieved.
|
|
20695
|
+
*/
|
|
20696
|
+
collectionName: string
|
|
20697
|
+
): any[];
|
|
20698
|
+
/**
|
|
20699
|
+
* Returns the URI of the icon in the pool which has the given `iconName` and `collectionName`.
|
|
20700
|
+
*/
|
|
20701
|
+
getIconURI(
|
|
20702
|
+
/**
|
|
20703
|
+
* Name of the icon, must not be empty
|
|
20704
|
+
*/
|
|
20705
|
+
iconName: string,
|
|
20706
|
+
/**
|
|
20707
|
+
* Name of the icon collection; to access built-in icons, omit the collection name
|
|
20708
|
+
*/
|
|
20709
|
+
collectionName?: string
|
|
20710
|
+
): string;
|
|
20711
|
+
/**
|
|
20712
|
+
* Adds CSS code to load an icon font to the DOM
|
|
20713
|
+
*/
|
|
20714
|
+
insertFontFaceStyle(
|
|
20715
|
+
/**
|
|
20716
|
+
* the file name of the font face
|
|
20717
|
+
*/
|
|
20718
|
+
sFontFace: string,
|
|
20719
|
+
/**
|
|
20720
|
+
* the path to the font file
|
|
20721
|
+
*/
|
|
20722
|
+
sPath: string,
|
|
20723
|
+
/**
|
|
20724
|
+
* the collection name, if not specified the font face is used
|
|
20725
|
+
*/
|
|
20726
|
+
sCollectionName?: string
|
|
20727
|
+
): void;
|
|
20728
|
+
/**
|
|
20729
|
+
* Returns whether the given `uri` is an icon URI.
|
|
20730
|
+
*
|
|
20731
|
+
* A string is an icon URI when it can be parsed as a URI and when it has one of the two forms
|
|
20732
|
+
* - sap-icon://collectionName/iconName
|
|
20733
|
+
* - sap-icon://iconName where collectionName and iconName must be non-empty.
|
|
20734
|
+
*/
|
|
20735
|
+
isIconURI(
|
|
20736
|
+
/**
|
|
20737
|
+
* The URI to check
|
|
20738
|
+
*/
|
|
20739
|
+
uri: string
|
|
20740
|
+
): boolean;
|
|
20741
|
+
/**
|
|
20742
|
+
* @SINCE 1.56.0
|
|
20743
|
+
*
|
|
20744
|
+
* Registers an additional icon font to the icon pool
|
|
20745
|
+
*/
|
|
20746
|
+
registerFont(
|
|
20747
|
+
/**
|
|
20748
|
+
* configuration object for registering the font
|
|
20749
|
+
*/
|
|
20750
|
+
oConfig: {
|
|
20751
|
+
/**
|
|
20752
|
+
* the file name of the font face
|
|
20753
|
+
*/
|
|
20754
|
+
fontFamily: string;
|
|
20755
|
+
/**
|
|
20756
|
+
* a collection name for the font, if not specified the font face will be used
|
|
20757
|
+
*/
|
|
20758
|
+
collectionName?: string;
|
|
20759
|
+
/**
|
|
20760
|
+
* the location where the font files are physically located
|
|
20761
|
+
*/
|
|
20762
|
+
fontURI: URI;
|
|
20763
|
+
/**
|
|
20764
|
+
* a configuration object mapping the icon name to the hexadecimal icon address in the font
|
|
20765
|
+
*/
|
|
20766
|
+
metadata?: object;
|
|
20767
|
+
/**
|
|
20768
|
+
* an URI to a file containing the configuration object specified with oConfig.metadata
|
|
20769
|
+
*/
|
|
20770
|
+
metadataURI?: object;
|
|
20771
|
+
/**
|
|
20772
|
+
* load the icon font metadata only when an icon is requested with {@link #.getIconInfo} if not specified
|
|
20773
|
+
* a JSON file with the name oConfig.fontFamily will be loaded from the location specified in oConfig.fontURI
|
|
20774
|
+
*/
|
|
20775
|
+
lazy?: boolean;
|
|
20776
|
+
}
|
|
20777
|
+
): void;
|
|
20778
|
+
}
|
|
20779
|
+
const IconPool: IconPool;
|
|
20780
|
+
export default IconPool;
|
|
20781
|
+
}
|
|
20782
|
+
|
|
20577
20783
|
declare module "sap/ui/core/IndicationColorSupport" {
|
|
20578
20784
|
import UI5Element from "sap/ui/core/Element";
|
|
20579
20785
|
|
|
@@ -28306,6 +28512,17 @@ declare module "sap/ui/core/routing/Router" {
|
|
|
28306
28512
|
|
|
28307
28513
|
import Views from "sap/ui/core/routing/Views";
|
|
28308
28514
|
|
|
28515
|
+
export type RouteInfo = {
|
|
28516
|
+
/**
|
|
28517
|
+
* The route name
|
|
28518
|
+
*/
|
|
28519
|
+
name: string;
|
|
28520
|
+
/**
|
|
28521
|
+
* The route data
|
|
28522
|
+
*/
|
|
28523
|
+
arguments: Record<string, string>;
|
|
28524
|
+
};
|
|
28525
|
+
|
|
28309
28526
|
export default class Router extends EventProvider {
|
|
28310
28527
|
/**
|
|
28311
28528
|
* Instantiates a SAPUI5 Router
|
|
@@ -28990,7 +29207,7 @@ declare module "sap/ui/core/routing/Router" {
|
|
|
28990
29207
|
* The hash to be matched
|
|
28991
29208
|
*/
|
|
28992
29209
|
sHash: string
|
|
28993
|
-
):
|
|
29210
|
+
): RouteInfo | undefined;
|
|
28994
29211
|
/**
|
|
28995
29212
|
* Returns a target by its name.
|
|
28996
29213
|
*
|
|
@@ -31028,14 +31245,6 @@ declare module "sap/ui/core/theming/Parameters" {
|
|
|
31028
31245
|
* The theming parameters are immutable and cannot be changed at runtime. Multiple `Parameters.get()`
|
|
31029
31246
|
* API calls for the same parameter name will always result in the same parameter value.
|
|
31030
31247
|
*
|
|
31031
|
-
* **Important, since 1.93:** When using the `Parameters.get()` API to retrieve theming parameters defined
|
|
31032
|
-
* as CSS variables, please be aware that the API can also unknowingly retrieve arbitrary CSS variables
|
|
31033
|
-
* defined in the DOM. All CSS variables defined via the `:root` pseudo-class can be retrieved this way.
|
|
31034
|
-
* Please make sure to only access theming parameters defined in a UI5 theme/library.
|
|
31035
|
-
*
|
|
31036
|
-
*
|
|
31037
|
-
*
|
|
31038
|
-
*
|
|
31039
31248
|
* The following API variants are available (see also the below examples):
|
|
31040
31249
|
* - **(deprecated since 1.92)** If no parameter is given a key-value map containing all parameters is
|
|
31041
31250
|
* returned
|
|
@@ -33285,7 +33494,7 @@ declare module "sap/ui/core/UIComponent" {
|
|
|
33285
33494
|
* A `sap.ui.core.UIComponent` subclass can additionally implement the {@link sap.ui.core.IAsyncContentCreation}
|
|
33286
33495
|
* interface. When implementing this interface the loading and processing of an asynchronous `rootView`
|
|
33287
33496
|
* will be chained into the result Promise of the {@link sap.ui.core.Component.create Component.create}
|
|
33288
|
-
* factory. See Sample 1 below.
|
|
33497
|
+
* factory. An additional async flag can be omitted. See Sample 1 below.
|
|
33289
33498
|
*
|
|
33290
33499
|
* Samples 2 and 3 show how subclasses can overwrite the `createContent` function to run asynchronously.
|
|
33291
33500
|
* To create the root control asynchronously, the subclass has to define the `sap.ui.core.IAsyncContentCreation`
|
|
@@ -36841,10 +37050,9 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
|
|
|
36841
37050
|
/**
|
|
36842
37051
|
* A comma-separated list of property names that need to be selected.
|
|
36843
37052
|
* If the `select` parameter is given, it has to contain all properties that are contained in the analytical
|
|
36844
|
-
* information (see {@link sap.ui.model.analytics.AnalyticalBinding#updateAnalyticalInfo})
|
|
36845
|
-
* dimensions
|
|
36846
|
-
*
|
|
36847
|
-
* of a dimension that is also selected.
|
|
37053
|
+
* information (see {@link sap.ui.model.analytics.AnalyticalBinding#updateAnalyticalInfo}). It must not
|
|
37054
|
+
* contain additional dimensions or measures or associated properties for additional dimensions or measures.
|
|
37055
|
+
* But it may contain additional properties like a text property of a dimension that is also selected.
|
|
36848
37056
|
* All properties of the `select` parameter are also considered in {@link sap.ui.model.analytics.AnalyticalBinding#getDownloadUrl}.
|
|
36849
37057
|
* The `select` parameter must not contain any duplicate entry.
|
|
36850
37058
|
* If the `select` parameter does not fit to the analytical information or if the `select` parameter contains
|
|
@@ -37200,34 +37408,41 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
|
|
|
37200
37408
|
* Updates the binding's structure with new analytical information.
|
|
37201
37409
|
*
|
|
37202
37410
|
* Analytical information is the mapping of UI columns to properties in the bound OData entity set. Every
|
|
37203
|
-
* column object contains the name of the bound property and in addition:
|
|
37411
|
+
* column object contains the `name` of the bound property and in addition:
|
|
37204
37412
|
* - A column bound to a dimension property has further boolean properties:
|
|
37205
|
-
* grouped: dimension
|
|
37206
|
-
* - visible: if the column is visible, values for the related property will be fetched from the OData
|
|
37207
|
-
* service
|
|
37413
|
+
* grouped: dimension is used for building groups
|
|
37208
37414
|
* - inResult: if the column is not visible, but declared to be part of the result, values for the related
|
|
37209
|
-
* property
|
|
37415
|
+
* property are also fetched from the OData service
|
|
37416
|
+
* - visible: if the column is visible, values for the related property are fetched from the OData service
|
|
37417
|
+
*
|
|
37210
37418
|
* - A column bound to a measure property has further boolean properties:
|
|
37211
|
-
*
|
|
37419
|
+
* inResult: if the column is not visible, but declared to be part of the result, values for the related
|
|
37420
|
+
* property are also fetched from the OData service
|
|
37421
|
+
* - total: totals and sub-totals are provided for the measure at all aggregation levels
|
|
37422
|
+
* - visible: if the column is visible, values for the related property are fetched from the OData service
|
|
37212
37423
|
*
|
|
37213
37424
|
* - A column bound to a hierarchy property has further properties:
|
|
37214
|
-
* grouped: boolean value; indicates whether the hierarchy
|
|
37425
|
+
* grouped: boolean value; indicates whether the hierarchy is used for building groups
|
|
37215
37426
|
* - level: integer value; the hierarchy level is mandatory for at least one of those columns that represent
|
|
37216
|
-
* the same hierarchy
|
|
37427
|
+
* the same hierarchy
|
|
37217
37428
|
*
|
|
37218
37429
|
* Invoking this function resets the state of the binding and subsequent data requests such as calls to
|
|
37219
|
-
* getNodeContexts()
|
|
37220
|
-
*
|
|
37430
|
+
* getNodeContexts() trigger OData requests in order to fetch the data that are in line with this analytical
|
|
37431
|
+
* information.
|
|
37221
37432
|
*
|
|
37222
|
-
*
|
|
37223
|
-
*
|
|
37224
|
-
*
|
|
37433
|
+
* Be aware that a call of this function might lead to additional back-end requests, as well as a control
|
|
37434
|
+
* re-rendering later on. Whenever possible use the API of the analytical control, instead of relying on
|
|
37435
|
+
* the binding.
|
|
37225
37436
|
*/
|
|
37226
37437
|
updateAnalyticalInfo(
|
|
37227
37438
|
/**
|
|
37228
|
-
*
|
|
37439
|
+
* An array with objects holding the analytical information for every column
|
|
37440
|
+
*/
|
|
37441
|
+
aColumns: object[],
|
|
37442
|
+
/**
|
|
37443
|
+
* Whether to fire a change event asynchronously even if columns didn't change
|
|
37229
37444
|
*/
|
|
37230
|
-
|
|
37445
|
+
bForceChange: boolean
|
|
37231
37446
|
): void;
|
|
37232
37447
|
}
|
|
37233
37448
|
}
|
|
@@ -38984,18 +39199,20 @@ declare module "sap/ui/model/Binding" {
|
|
|
38984
39199
|
*/
|
|
38985
39200
|
constructor(
|
|
38986
39201
|
/**
|
|
38987
|
-
*
|
|
39202
|
+
* The model
|
|
38988
39203
|
*/
|
|
38989
39204
|
oModel: Model,
|
|
38990
39205
|
/**
|
|
38991
|
-
*
|
|
39206
|
+
* The path
|
|
38992
39207
|
*/
|
|
38993
39208
|
sPath: string,
|
|
38994
39209
|
/**
|
|
38995
|
-
*
|
|
39210
|
+
* The context object
|
|
38996
39211
|
*/
|
|
38997
39212
|
oContext: Context,
|
|
38998
|
-
|
|
39213
|
+
/**
|
|
39214
|
+
* Additional, implementation-specific parameters
|
|
39215
|
+
*/
|
|
38999
39216
|
mParameters?: object
|
|
39000
39217
|
);
|
|
39001
39218
|
|
|
@@ -39033,27 +39250,27 @@ declare module "sap/ui/model/Binding" {
|
|
|
39033
39250
|
*/
|
|
39034
39251
|
attachAggregatedDataStateChange(
|
|
39035
39252
|
/**
|
|
39036
|
-
* The function to be called
|
|
39253
|
+
* The function to be called when the event occurs
|
|
39037
39254
|
*/
|
|
39038
39255
|
fnFunction: Function,
|
|
39039
39256
|
/**
|
|
39040
|
-
* Context object to call the event handler with
|
|
39257
|
+
* Context object to call the event handler with; defaults to this `sap.ui.model.Binding` itself
|
|
39041
39258
|
*/
|
|
39042
39259
|
oListener?: object
|
|
39043
39260
|
): void;
|
|
39044
39261
|
/**
|
|
39045
|
-
* Attaches
|
|
39262
|
+
* Attaches the `fnFunction` event handler to the {@link #event:change change} event of this `sap.ui.model.Model`.
|
|
39046
39263
|
*
|
|
39047
39264
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
39048
39265
|
* otherwise it will be bound to this `sap.ui.model.Binding` itself.
|
|
39049
39266
|
*/
|
|
39050
39267
|
attachChange(
|
|
39051
39268
|
/**
|
|
39052
|
-
* The function to be called
|
|
39269
|
+
* The function to be called when the event occurs
|
|
39053
39270
|
*/
|
|
39054
39271
|
fnFunction: Function,
|
|
39055
39272
|
/**
|
|
39056
|
-
* Context object to call the event handler with
|
|
39273
|
+
* Context object to call the event handler with; defaults to this `sap.ui.model.Binding` itself
|
|
39057
39274
|
*/
|
|
39058
39275
|
oListener?: object
|
|
39059
39276
|
): void;
|
|
@@ -39065,11 +39282,11 @@ declare module "sap/ui/model/Binding" {
|
|
|
39065
39282
|
*/
|
|
39066
39283
|
attachDataReceived(
|
|
39067
39284
|
/**
|
|
39068
|
-
* Function to be called
|
|
39285
|
+
* Function to be called when the event occurs
|
|
39069
39286
|
*/
|
|
39070
39287
|
fnFunction: Function,
|
|
39071
39288
|
/**
|
|
39072
|
-
* Context object to call the event handler with
|
|
39289
|
+
* Context object to call the event handler with; defaults to this `sap.ui.model.Binding` itself
|
|
39073
39290
|
*/
|
|
39074
39291
|
oListener?: object
|
|
39075
39292
|
): void;
|
|
@@ -39081,35 +39298,40 @@ declare module "sap/ui/model/Binding" {
|
|
|
39081
39298
|
*/
|
|
39082
39299
|
attachDataRequested(
|
|
39083
39300
|
/**
|
|
39084
|
-
* The function to be called
|
|
39301
|
+
* The function to be called when the event occurs
|
|
39085
39302
|
*/
|
|
39086
39303
|
fnFunction: Function,
|
|
39087
39304
|
/**
|
|
39088
|
-
* Context object to call the event handler with
|
|
39305
|
+
* Context object to call the event handler with; defaults to this `sap.ui.model.Binding` itself
|
|
39089
39306
|
*/
|
|
39090
39307
|
oListener?: object
|
|
39091
39308
|
): void;
|
|
39092
39309
|
/**
|
|
39093
|
-
* Attaches
|
|
39094
|
-
* `sap.ui.model.Binding`.
|
|
39310
|
+
* Attaches the `fnFunction` event handler to the {@link #event:DataStateChange DataStateChange} event of
|
|
39311
|
+
* thi `sap.ui.model.Binding`.
|
|
39095
39312
|
*
|
|
39096
39313
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
39097
39314
|
* otherwise it will be bound to this `sap.ui.model.Binding` itself.
|
|
39098
39315
|
*/
|
|
39099
39316
|
attachDataStateChange(
|
|
39100
39317
|
/**
|
|
39101
|
-
* Function to be called
|
|
39318
|
+
* Function to be called when the event occurs
|
|
39102
39319
|
*/
|
|
39103
39320
|
fnFunction: Function,
|
|
39104
39321
|
/**
|
|
39105
|
-
* Context object to call the event handler with
|
|
39322
|
+
* Context object to call the event handler with; defaults to this `sap.ui.model.Binding` itself
|
|
39106
39323
|
*/
|
|
39107
39324
|
oListener?: object
|
|
39108
39325
|
): void;
|
|
39109
39326
|
/**
|
|
39110
39327
|
* Attach multiple events.
|
|
39111
39328
|
*/
|
|
39112
|
-
attachEvents(
|
|
39329
|
+
attachEvents(
|
|
39330
|
+
/**
|
|
39331
|
+
* Events to attach to this binding
|
|
39332
|
+
*/
|
|
39333
|
+
oEvents: Record<string, Function>
|
|
39334
|
+
): Binding;
|
|
39113
39335
|
/**
|
|
39114
39336
|
* Attaches event handler `fnFunction` to the {@link #event:refresh refresh} event of this `sap.ui.model.Binding`.
|
|
39115
39337
|
*
|
|
@@ -39118,11 +39340,11 @@ declare module "sap/ui/model/Binding" {
|
|
|
39118
39340
|
*/
|
|
39119
39341
|
attachRefresh(
|
|
39120
39342
|
/**
|
|
39121
|
-
* The function to be called
|
|
39343
|
+
* The function to be called when the event occurs
|
|
39122
39344
|
*/
|
|
39123
39345
|
fnFunction: Function,
|
|
39124
39346
|
/**
|
|
39125
|
-
* Context object to call the event handler with
|
|
39347
|
+
* Context object to call the event handler with; defaults to this `sap.ui.model.Binding` itself
|
|
39126
39348
|
*/
|
|
39127
39349
|
oListener?: object
|
|
39128
39350
|
): void;
|
|
@@ -39139,7 +39361,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
39139
39361
|
*/
|
|
39140
39362
|
detachAggregatedDataStateChange(
|
|
39141
39363
|
/**
|
|
39142
|
-
* The function to be called
|
|
39364
|
+
* The function to be called when the event occurs
|
|
39143
39365
|
*/
|
|
39144
39366
|
fnFunction: Function,
|
|
39145
39367
|
/**
|
|
@@ -39152,7 +39374,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
39152
39374
|
*/
|
|
39153
39375
|
detachChange(
|
|
39154
39376
|
/**
|
|
39155
|
-
* Function to be called
|
|
39377
|
+
* Function to be called when the event occurs
|
|
39156
39378
|
*/
|
|
39157
39379
|
fnFunction: Function,
|
|
39158
39380
|
/**
|
|
@@ -39165,7 +39387,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
39165
39387
|
*/
|
|
39166
39388
|
detachDataReceived(
|
|
39167
39389
|
/**
|
|
39168
|
-
* Function to be called
|
|
39390
|
+
* Function to be called when the event occurs
|
|
39169
39391
|
*/
|
|
39170
39392
|
fnFunction: Function,
|
|
39171
39393
|
/**
|
|
@@ -39179,7 +39401,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
39179
39401
|
*/
|
|
39180
39402
|
detachDataRequested(
|
|
39181
39403
|
/**
|
|
39182
|
-
* The function to be called
|
|
39404
|
+
* The function to be called when the event occurs
|
|
39183
39405
|
*/
|
|
39184
39406
|
fnFunction: Function,
|
|
39185
39407
|
/**
|
|
@@ -39193,7 +39415,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
39193
39415
|
*/
|
|
39194
39416
|
detachDataStateChange(
|
|
39195
39417
|
/**
|
|
39196
|
-
* The function to be called
|
|
39418
|
+
* The function to be called when the event occurs
|
|
39197
39419
|
*/
|
|
39198
39420
|
fnFunction: Function,
|
|
39199
39421
|
/**
|
|
@@ -39204,17 +39426,22 @@ declare module "sap/ui/model/Binding" {
|
|
|
39204
39426
|
/**
|
|
39205
39427
|
* Detach multiple events.
|
|
39206
39428
|
*/
|
|
39207
|
-
detachEvents(
|
|
39429
|
+
detachEvents(
|
|
39430
|
+
/**
|
|
39431
|
+
* Events to detach from this binding
|
|
39432
|
+
*/
|
|
39433
|
+
oEvents: Record<string, Function>
|
|
39434
|
+
): Binding;
|
|
39208
39435
|
/**
|
|
39209
39436
|
* Detaches event handler `fnFunction` from the {@link #event:refresh refresh} event of this `sap.ui.model.Binding`.
|
|
39210
39437
|
*/
|
|
39211
39438
|
detachRefresh(
|
|
39212
39439
|
/**
|
|
39213
|
-
* The function to be called
|
|
39440
|
+
* The function to be called when the event occurs
|
|
39214
39441
|
*/
|
|
39215
39442
|
fnFunction: Function,
|
|
39216
39443
|
/**
|
|
39217
|
-
*
|
|
39444
|
+
* Object on which to call the given function.
|
|
39218
39445
|
*/
|
|
39219
39446
|
oListener?: object
|
|
39220
39447
|
): void;
|
|
@@ -39225,11 +39452,11 @@ declare module "sap/ui/model/Binding" {
|
|
|
39225
39452
|
*/
|
|
39226
39453
|
fireDataReceived(
|
|
39227
39454
|
/**
|
|
39228
|
-
* Parameters to pass along with the event
|
|
39455
|
+
* Parameters to pass along with the event
|
|
39229
39456
|
*/
|
|
39230
39457
|
oParameters: {
|
|
39231
39458
|
/**
|
|
39232
|
-
* Data received
|
|
39459
|
+
* Data received; on error cases it will be undefined
|
|
39233
39460
|
*/
|
|
39234
39461
|
data?: object;
|
|
39235
39462
|
}
|
|
@@ -39239,7 +39466,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
39239
39466
|
*/
|
|
39240
39467
|
fireDataRequested(
|
|
39241
39468
|
/**
|
|
39242
|
-
* Parameters to pass along with the event
|
|
39469
|
+
* Parameters to pass along with the event
|
|
39243
39470
|
*/
|
|
39244
39471
|
oParameters: object
|
|
39245
39472
|
): void;
|
|
@@ -39285,11 +39512,11 @@ declare module "sap/ui/model/Binding" {
|
|
|
39285
39512
|
*/
|
|
39286
39513
|
initialize(): void;
|
|
39287
39514
|
/**
|
|
39288
|
-
* Returns whether the binding is initial, which means it did not get an initial value yet
|
|
39515
|
+
* Returns whether the binding is initial, which means it did not get an initial value yet.
|
|
39289
39516
|
*/
|
|
39290
39517
|
isInitial(): boolean;
|
|
39291
39518
|
/**
|
|
39292
|
-
* Returns whether the binding is relative, which means its path does not start with a slash
|
|
39519
|
+
* Returns whether the binding is relative, which means its path does not start with a slash.
|
|
39293
39520
|
*/
|
|
39294
39521
|
isRelative(): boolean;
|
|
39295
39522
|
/**
|
|
@@ -39322,8 +39549,8 @@ declare module "sap/ui/model/Binding" {
|
|
|
39322
39549
|
/**
|
|
39323
39550
|
* Resumes the binding update. Change events will be fired again.
|
|
39324
39551
|
*
|
|
39325
|
-
* When the binding is resumed, a change event will be fired immediately
|
|
39326
|
-
*
|
|
39552
|
+
* When the binding is resumed, a change event will be fired immediately if the data has changed while the
|
|
39553
|
+
* binding was suspended. For server-side models, a request to the server will be triggered if a refresh
|
|
39327
39554
|
* was requested while the binding was suspended.
|
|
39328
39555
|
*/
|
|
39329
39556
|
resume(): void;
|
|
@@ -39937,7 +40164,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
39937
40164
|
*
|
|
39938
40165
|
* A `CompositeBinding` combines the values from all its binding parts (each an instance of `PropertyBinding`),
|
|
39939
40166
|
* either by calling a formatter function or by involving a {@link sap.ui.model.CompositeType composite
|
|
39940
|
-
* type}. When a formatter function is used,
|
|
40167
|
+
* type}. When a formatter function is used, the composite binding is automatically limited to `OneWay`
|
|
39941
40168
|
* mode. When a type is used, the binding can also operate in `TwoWay` mode.
|
|
39942
40169
|
*
|
|
39943
40170
|
* Higher layers of the framework derive composite bindings from easy-to-write string representations (the
|
|
@@ -40003,7 +40230,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40003
40230
|
*/
|
|
40004
40231
|
fnFunction: Function,
|
|
40005
40232
|
/**
|
|
40006
|
-
*
|
|
40233
|
+
* Object on which to call the given function
|
|
40007
40234
|
*/
|
|
40008
40235
|
oListener?: object
|
|
40009
40236
|
): void;
|
|
@@ -40019,7 +40246,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40019
40246
|
*/
|
|
40020
40247
|
fnFunction: Function,
|
|
40021
40248
|
/**
|
|
40022
|
-
*
|
|
40249
|
+
* Object on which to call the given function
|
|
40023
40250
|
*/
|
|
40024
40251
|
oListener?: object
|
|
40025
40252
|
): void;
|
|
@@ -40035,7 +40262,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40035
40262
|
*/
|
|
40036
40263
|
fnFunction: Function,
|
|
40037
40264
|
/**
|
|
40038
|
-
*
|
|
40265
|
+
* Object on which to call the given function
|
|
40039
40266
|
*/
|
|
40040
40267
|
oListener?: object
|
|
40041
40268
|
): void;
|
|
@@ -40048,7 +40275,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40048
40275
|
*/
|
|
40049
40276
|
fnFunction: Function,
|
|
40050
40277
|
/**
|
|
40051
|
-
*
|
|
40278
|
+
* Object on which to call the given function
|
|
40052
40279
|
*/
|
|
40053
40280
|
oListener?: object
|
|
40054
40281
|
): void;
|
|
@@ -40061,7 +40288,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40061
40288
|
*/
|
|
40062
40289
|
fnFunction: Function,
|
|
40063
40290
|
/**
|
|
40064
|
-
*
|
|
40291
|
+
* Object on which to call the given function
|
|
40065
40292
|
*/
|
|
40066
40293
|
oListener?: object
|
|
40067
40294
|
): void;
|
|
@@ -40074,7 +40301,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40074
40301
|
*/
|
|
40075
40302
|
fnFunction: Function,
|
|
40076
40303
|
/**
|
|
40077
|
-
*
|
|
40304
|
+
* Object on which to call the given function
|
|
40078
40305
|
*/
|
|
40079
40306
|
oListener?: object
|
|
40080
40307
|
): void;
|
|
@@ -40088,12 +40315,12 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40088
40315
|
getExternalValue(): object;
|
|
40089
40316
|
/**
|
|
40090
40317
|
* Returns the current internal value of the bound target which is an array of the internal (JS native)
|
|
40091
|
-
* values of nested bindings
|
|
40318
|
+
* values of nested bindings.
|
|
40092
40319
|
*/
|
|
40093
40320
|
getInternalValue(): any[];
|
|
40094
40321
|
/**
|
|
40095
40322
|
* Returns the current raw value of the bound target which is an array of the raw (model) values of nested
|
|
40096
|
-
* bindings
|
|
40323
|
+
* bindings.
|
|
40097
40324
|
*/
|
|
40098
40325
|
getRawValue(): any[];
|
|
40099
40326
|
/**
|
|
@@ -40102,10 +40329,10 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40102
40329
|
getValue(): object;
|
|
40103
40330
|
/**
|
|
40104
40331
|
* Initialize the binding. The method should be called when creating a binding. The default implementation
|
|
40105
|
-
* calls checkUpdate(true). Prevent checkUpdate to be triggered while initializing
|
|
40106
|
-
*
|
|
40332
|
+
* calls checkUpdate(true). Prevent checkUpdate to be triggered while initializing nested bindings, it is
|
|
40333
|
+
* sufficient to call checkUpdate when all nested bindings are initialized.
|
|
40107
40334
|
*/
|
|
40108
|
-
initialize():
|
|
40335
|
+
initialize(): this;
|
|
40109
40336
|
/**
|
|
40110
40337
|
* Suspends the binding update. No change events will be fired.
|
|
40111
40338
|
*
|
|
@@ -40116,12 +40343,12 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40116
40343
|
resume(): void;
|
|
40117
40344
|
/**
|
|
40118
40345
|
* Sets the external value of a composite binding. If no CompositeType is assigned to the binding, the default
|
|
40119
|
-
* implementation assumes a space
|
|
40346
|
+
* implementation assumes a space-separated list of values. This will cause the setValue to be called for
|
|
40120
40347
|
* each nested binding, except for undefined values in the array.
|
|
40121
40348
|
*/
|
|
40122
40349
|
setExternalValue(
|
|
40123
40350
|
/**
|
|
40124
|
-
*
|
|
40351
|
+
* The value to set for this binding
|
|
40125
40352
|
*/
|
|
40126
40353
|
oValue: object
|
|
40127
40354
|
): undefined | Promise<any>;
|
|
@@ -40134,7 +40361,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40134
40361
|
* the new values of the nested bindings
|
|
40135
40362
|
*/
|
|
40136
40363
|
aValues: any[]
|
|
40137
|
-
):
|
|
40364
|
+
): undefined | Promise<any>;
|
|
40138
40365
|
/**
|
|
40139
40366
|
* Sets the raw value of the bound target. Parameter must be an array of values matching the raw (model)
|
|
40140
40367
|
* types of nested bindings.
|
|
@@ -40144,7 +40371,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40144
40371
|
* the new values of the nested bindings
|
|
40145
40372
|
*/
|
|
40146
40373
|
aValues: any[]
|
|
40147
|
-
):
|
|
40374
|
+
): undefined | Promise<any>;
|
|
40148
40375
|
/**
|
|
40149
40376
|
* Sets the optional type and internal type for the binding. The type and internal type are used to do the
|
|
40150
40377
|
* parsing/formatting correctly. The internal type is the property type of the element which the value is
|
|
@@ -40152,11 +40379,11 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40152
40379
|
*/
|
|
40153
40380
|
setType(
|
|
40154
40381
|
/**
|
|
40155
|
-
*
|
|
40382
|
+
* The type for the binding
|
|
40156
40383
|
*/
|
|
40157
40384
|
oType: CompositeType,
|
|
40158
40385
|
/**
|
|
40159
|
-
*
|
|
40386
|
+
* The internal type of the element property which this binding is bound against.
|
|
40160
40387
|
*/
|
|
40161
40388
|
sInternalType: string
|
|
40162
40389
|
): void;
|
|
@@ -40166,7 +40393,7 @@ declare module "sap/ui/model/CompositeBinding" {
|
|
|
40166
40393
|
*/
|
|
40167
40394
|
setValue(
|
|
40168
40395
|
/**
|
|
40169
|
-
*
|
|
40396
|
+
* The values to set for this binding
|
|
40170
40397
|
*/
|
|
40171
40398
|
aValues: any[]
|
|
40172
40399
|
): void;
|
|
@@ -40820,17 +41047,19 @@ declare module "sap/ui/model/Filter" {
|
|
|
40820
41047
|
* You either pass a single object literal with the filter parameters or use the individual constructor
|
|
40821
41048
|
* arguments. No matter which variant is used, only certain combinations of parameters are supported (the
|
|
40822
41049
|
* following list uses the names from the object literal):
|
|
40823
|
-
*
|
|
40824
|
-
*
|
|
40825
|
-
*
|
|
40826
|
-
*
|
|
40827
|
-
*
|
|
40828
|
-
*
|
|
40829
|
-
*
|
|
40830
|
-
*
|
|
40831
|
-
*
|
|
40832
|
-
*
|
|
40833
|
-
*
|
|
41050
|
+
* A `path`, `operator` and one or two values (`value1`, `value2`), depending on the operator A `path`
|
|
41051
|
+
* and a custom filter function `test` An array of other filters named `filters` and a Boolean flag
|
|
41052
|
+
* `and` that specifies whether to combine the filters with an AND (`true`) or an OR (`false`) operator.
|
|
41053
|
+
* An error will be logged to the console if an invalid combination of parameters is provided.
|
|
41054
|
+
*
|
|
41055
|
+
* Please note that a model implementation may not support a custom filter function, e.g. if the model does
|
|
41056
|
+
* not perform client-side filtering. It also depends on the model implementation if the filtering is case
|
|
41057
|
+
* sensitive or not. Client models filter case insensitive compared to the OData models which filter case
|
|
41058
|
+
* sensitive by default. See particular model documentation for details.
|
|
41059
|
+
*
|
|
41060
|
+
* The filter operators {@link sap.ui.model.FilterOperator.Any "Any"} and {@link sap.ui.model.FilterOperator.All
|
|
41061
|
+
* "All"} are only supported in V4 OData models. When creating a filter instance with these filter operators,
|
|
41062
|
+
* the argument `variable` only accepts a string identifier and `condition` needs to be another filter instance.
|
|
40834
41063
|
*/
|
|
40835
41064
|
constructor(
|
|
40836
41065
|
/**
|
|
@@ -40843,15 +41072,19 @@ declare module "sap/ui/model/Filter" {
|
|
|
40843
41072
|
*/
|
|
40844
41073
|
path?: string;
|
|
40845
41074
|
/**
|
|
40846
|
-
* Function
|
|
40847
|
-
*
|
|
41075
|
+
* Function used for the client-side filtering of items. It should return a Boolean indicating whether the
|
|
41076
|
+
* current item passes the filter. If no test function is given, a default test function is used, based
|
|
41077
|
+
* on the given filter operator and the comparator function.
|
|
40848
41078
|
*/
|
|
40849
|
-
test?:
|
|
41079
|
+
test?: (p1: any) => boolean;
|
|
40850
41080
|
/**
|
|
40851
|
-
* Function
|
|
40852
|
-
*
|
|
41081
|
+
* Function used to compare two values for equality and order during client-side filtering. Two values are
|
|
41082
|
+
* given as parameters. The function is expected to return:
|
|
41083
|
+
* a negative number if the first value is smaller than the second value, `0` if the two values are
|
|
41084
|
+
* equal, a positive number if the first value is larger than the second value, `NaN` for non-comparable
|
|
41085
|
+
* values. If no function is given, {@link sap.ui.model.Filter.defaultComparator} is used.
|
|
40853
41086
|
*/
|
|
40854
|
-
comparator?:
|
|
41087
|
+
comparator?: (p1: any, p2: any) => number;
|
|
40855
41088
|
/**
|
|
40856
41089
|
* Operator used for the filter
|
|
40857
41090
|
*/
|
|
@@ -40861,47 +41094,52 @@ declare module "sap/ui/model/Filter" {
|
|
|
40861
41094
|
*/
|
|
40862
41095
|
value1?: any;
|
|
40863
41096
|
/**
|
|
40864
|
-
* Second value to use with the filter operator
|
|
41097
|
+
* Second value to use with the given filter operator, used only for the {@link sap.ui.model.FilterOperator.BT
|
|
41098
|
+
* "BT" between} and {@link sap.ui.model.FilterOperator.NB "NB" not between} filter operators
|
|
40865
41099
|
*/
|
|
40866
41100
|
value2?: any;
|
|
40867
41101
|
/**
|
|
40868
|
-
* The variable used in lambda operators (
|
|
41102
|
+
* The variable name used in lambda operators ({@link sap.ui.model.FilterOperator.Any "Any"} and {@link
|
|
41103
|
+
* sap.ui.model.FilterOperator.All "All"})
|
|
40869
41104
|
*/
|
|
40870
41105
|
variable?: string;
|
|
40871
41106
|
/**
|
|
40872
|
-
* A
|
|
41107
|
+
* A filter instance which will be used as the condition for lambda operators ({@link sap.ui.model.FilterOperator.Any
|
|
41108
|
+
* "Any"} and {@link sap.ui.model.FilterOperator.All "All"})
|
|
40873
41109
|
*/
|
|
40874
41110
|
condition?: Filter;
|
|
40875
41111
|
/**
|
|
40876
|
-
*
|
|
41112
|
+
* An array of filters on which the logical conjunction is applied
|
|
40877
41113
|
*/
|
|
40878
41114
|
filters?: Filter[];
|
|
40879
41115
|
/**
|
|
40880
41116
|
* Indicates whether an "AND" logical conjunction is applied on the filters. If it's not set or set to `false`,
|
|
40881
|
-
* an "OR" conjunction is applied
|
|
41117
|
+
* an "OR" conjunction is applied.
|
|
40882
41118
|
*/
|
|
40883
41119
|
and?: boolean;
|
|
40884
41120
|
/**
|
|
40885
|
-
* Indicates whether a string value should be compared case sensitive or not.
|
|
41121
|
+
* Indicates whether a string value should be compared case sensitive or not. The handling of `undefined`
|
|
41122
|
+
* depends on the model implementation.
|
|
40886
41123
|
*/
|
|
40887
41124
|
caseSensitive?: boolean;
|
|
40888
41125
|
}
|
|
40889
41126
|
| string
|
|
40890
41127
|
| Filter[],
|
|
40891
41128
|
/**
|
|
40892
|
-
* Either a filter operator or a custom filter function or a
|
|
40893
|
-
* filters
|
|
41129
|
+
* Either a filter operator or a custom filter function or a `boolean` flag that defines how to combine
|
|
41130
|
+
* multiple filters
|
|
40894
41131
|
*/
|
|
40895
41132
|
vOperator?:
|
|
40896
41133
|
| (FilterOperator | keyof typeof FilterOperator)
|
|
40897
|
-
|
|
|
41134
|
+
| ((p1: any) => boolean)
|
|
40898
41135
|
| boolean,
|
|
40899
41136
|
/**
|
|
40900
41137
|
* First value to use with the given filter operator
|
|
40901
41138
|
*/
|
|
40902
41139
|
vValue1?: any,
|
|
40903
41140
|
/**
|
|
40904
|
-
* Second value to use with the given filter operator
|
|
41141
|
+
* Second value to use with the given filter operator, used only for the {@link sap.ui.model.FilterOperator.BT
|
|
41142
|
+
* "BT" between} and {@link sap.ui.model.FilterOperator.NB "NB" not between} filter operators
|
|
40905
41143
|
*/
|
|
40906
41144
|
vValue2?: any
|
|
40907
41145
|
);
|
|
@@ -40909,7 +41147,7 @@ declare module "sap/ui/model/Filter" {
|
|
|
40909
41147
|
/**
|
|
40910
41148
|
* Compares two values
|
|
40911
41149
|
*
|
|
40912
|
-
* This is the default comparator function used for
|
|
41150
|
+
* This is the default comparator function used for client-side filtering, if no custom comparator is given
|
|
40913
41151
|
* in the constructor. It does compare just by using equal/less than/greater than with automatic type casting,
|
|
40914
41152
|
* except for null values, which are neither less or greater, and string values where localeCompare is used.
|
|
40915
41153
|
*
|
|
@@ -40924,7 +41162,7 @@ declare module "sap/ui/model/Filter" {
|
|
|
40924
41162
|
* the second value to compare
|
|
40925
41163
|
*/
|
|
40926
41164
|
b: any
|
|
40927
|
-
):
|
|
41165
|
+
): number;
|
|
40928
41166
|
/**
|
|
40929
41167
|
* Creates a new subclass of class sap.ui.model.Filter with name `sClassName` and enriches it with the information
|
|
40930
41168
|
* contained in `oClassInfo`.
|
|
@@ -40950,6 +41188,83 @@ declare module "sap/ui/model/Filter" {
|
|
|
40950
41188
|
* Returns a metadata object for class sap.ui.model.Filter.
|
|
40951
41189
|
*/
|
|
40952
41190
|
static getMetadata(): Metadata;
|
|
41191
|
+
/**
|
|
41192
|
+
* @SINCE 1.96.0
|
|
41193
|
+
*
|
|
41194
|
+
* Returns the comparator function as provided on construction of this filter, see {@link sap.ui.model.Filter#constructor},
|
|
41195
|
+
* parameter `vFilterInfo.comparator`.
|
|
41196
|
+
*/
|
|
41197
|
+
getComparator(): ((p1: any) => boolean) | undefined;
|
|
41198
|
+
/**
|
|
41199
|
+
* @SINCE 1.96.0
|
|
41200
|
+
*
|
|
41201
|
+
* Returns the filter instance which is used as the condition for lambda operators, see {@link sap.ui.model.Filter#constructor},
|
|
41202
|
+
* parameter `vFilterInfo.condition`.
|
|
41203
|
+
*/
|
|
41204
|
+
getCondition(): Filter | undefined;
|
|
41205
|
+
/**
|
|
41206
|
+
* @SINCE 1.96.0
|
|
41207
|
+
*
|
|
41208
|
+
* Returns the array of filters as specified on construction of this filter, see {@link sap.ui.model.Filter#constructor},
|
|
41209
|
+
* parameter `vFilterInfo.filters`
|
|
41210
|
+
*/
|
|
41211
|
+
getFilters(): Filter[] | undefined;
|
|
41212
|
+
/**
|
|
41213
|
+
* @SINCE 1.96.0
|
|
41214
|
+
*
|
|
41215
|
+
* Returns the filter operator used for this filter, see {@link sap.ui.model.Filter#constructor}, parameter
|
|
41216
|
+
* `vFilterInfo.operator` or `vOperator`.
|
|
41217
|
+
*/
|
|
41218
|
+
getOperator(): (FilterOperator | keyof typeof FilterOperator) | undefined;
|
|
41219
|
+
/**
|
|
41220
|
+
* @SINCE 1.96.0
|
|
41221
|
+
*
|
|
41222
|
+
* Returns the binding path for this filter, see {@link sap.ui.model.Filter#constructor}, parameter `vFilterInfo`
|
|
41223
|
+
* or `vFilterInfo.path`.
|
|
41224
|
+
*/
|
|
41225
|
+
getPath(): string | undefined;
|
|
41226
|
+
/**
|
|
41227
|
+
* @SINCE 1.96.0
|
|
41228
|
+
*
|
|
41229
|
+
* Returns the test function which is used to filter the items, see {@link sap.ui.model.Filter#constructor},
|
|
41230
|
+
* parameter `vFilterInfo.test`.
|
|
41231
|
+
*/
|
|
41232
|
+
getTest(): ((p1: any, p2: any) => boolean) | undefined;
|
|
41233
|
+
/**
|
|
41234
|
+
* @SINCE 1.96.0
|
|
41235
|
+
*
|
|
41236
|
+
* Returns the first value that is used with the given filter operator, see {@link sap.ui.model.Filter#constructor},
|
|
41237
|
+
* parameter `vFilterInfo.value1` or `vValue1`.
|
|
41238
|
+
*/
|
|
41239
|
+
getValue1(): any;
|
|
41240
|
+
/**
|
|
41241
|
+
* @SINCE 1.96.0
|
|
41242
|
+
*
|
|
41243
|
+
* Returns the second value that is used with the given filter operator, see {@link sap.ui.model.Filter#constructor},
|
|
41244
|
+
* parameter `vFilterInfo.value2` or `vValue2`.
|
|
41245
|
+
*/
|
|
41246
|
+
getValue2(): any;
|
|
41247
|
+
/**
|
|
41248
|
+
* @SINCE 1.96.0
|
|
41249
|
+
*
|
|
41250
|
+
* Returns the variable name used in lambda operators, see {@link sap.ui.model.Filter#constructor}, parameter
|
|
41251
|
+
* `vFilterInfo.variable`.
|
|
41252
|
+
*/
|
|
41253
|
+
getVariable(): string | undefined;
|
|
41254
|
+
/**
|
|
41255
|
+
* @SINCE 1.96.0
|
|
41256
|
+
*
|
|
41257
|
+
* Indicates whether an "AND" logical conjunction is applied on the filters, see {@link sap.ui.model.Filter#constructor},
|
|
41258
|
+
* parameter `vFilterInfo.and`.
|
|
41259
|
+
*/
|
|
41260
|
+
isAnd(): boolean;
|
|
41261
|
+
/**
|
|
41262
|
+
* @SINCE 1.96.0
|
|
41263
|
+
*
|
|
41264
|
+
* Indicates whether a string value should be compared case sensitive, see {@link sap.ui.model.Filter#constructor},
|
|
41265
|
+
* parameter `vFilterInfo.caseSensitive`.
|
|
41266
|
+
*/
|
|
41267
|
+
isCaseSensitive(): boolean;
|
|
40953
41268
|
}
|
|
40954
41269
|
}
|
|
40955
41270
|
|
|
@@ -41542,7 +41857,7 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41542
41857
|
*/
|
|
41543
41858
|
fnFunction: Function,
|
|
41544
41859
|
/**
|
|
41545
|
-
* Context object to call the event handler with
|
|
41860
|
+
* Context object to call the event handler with; defaults to this `ListBinding` itself
|
|
41546
41861
|
*/
|
|
41547
41862
|
oListener?: object
|
|
41548
41863
|
): void;
|
|
@@ -41561,7 +41876,7 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41561
41876
|
*/
|
|
41562
41877
|
fnFunction: Function,
|
|
41563
41878
|
/**
|
|
41564
|
-
* Context object to call the event handler with
|
|
41879
|
+
* Context object to call the event handler with; defaults to this `ListBinding` itself
|
|
41565
41880
|
*/
|
|
41566
41881
|
oListener?: object
|
|
41567
41882
|
): void;
|
|
@@ -41576,7 +41891,7 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41576
41891
|
*/
|
|
41577
41892
|
fnFunction: Function,
|
|
41578
41893
|
/**
|
|
41579
|
-
*
|
|
41894
|
+
* On which object the given function had to be called
|
|
41580
41895
|
*/
|
|
41581
41896
|
oListener?: object
|
|
41582
41897
|
): void;
|
|
@@ -41632,7 +41947,11 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41632
41947
|
* The path of the property containing the key or a function getting the context as only parameter to calculate
|
|
41633
41948
|
* a key to identify an entry
|
|
41634
41949
|
*/
|
|
41635
|
-
vKey: Function | string
|
|
41950
|
+
vKey: Function | string,
|
|
41951
|
+
/**
|
|
41952
|
+
* The configuration for the change detection
|
|
41953
|
+
*/
|
|
41954
|
+
oExtendedChangeDetectionConfig: object
|
|
41636
41955
|
): void;
|
|
41637
41956
|
/**
|
|
41638
41957
|
* Applies a new set of filters to the list represented by this binding.
|
|
@@ -41641,18 +41960,18 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41641
41960
|
* a server and it might execute asynchronously.
|
|
41642
41961
|
*
|
|
41643
41962
|
* Application and Control Filters: Each list binding maintains two separate lists of filters, one for filters
|
|
41644
|
-
* defined by the control that owns the binding and another list for filters that an application can define
|
|
41963
|
+
* defined by the control that owns the binding, and another list for filters that an application can define
|
|
41645
41964
|
* in addition. When executing the filter operation, both sets of filters are combined.
|
|
41646
41965
|
*
|
|
41647
|
-
* By using the
|
|
41966
|
+
* By using the `sFilterType` parameter of the `filter` method, the caller can control which set of filters
|
|
41648
41967
|
* is modified. If no type is given, then the behavior depends on the model implementation and should be
|
|
41649
41968
|
* documented in the API reference for that model.
|
|
41650
41969
|
*
|
|
41651
41970
|
* Auto-Grouping of Filters: Filters are first grouped according to their binding path. All filters belonging
|
|
41652
|
-
* to the same
|
|
41653
|
-
* filters applied to
|
|
41654
|
-
*
|
|
41655
|
-
*
|
|
41971
|
+
* to the same path are ORed, and after that the results of all paths are ANDed. Usually this means that
|
|
41972
|
+
* all filters applied to the same property are ORed, while filters on different properties are ANDed. Please
|
|
41973
|
+
* use either the automatic grouping of filters (where applicable) or explicit AND/OR filters, as a mixture
|
|
41974
|
+
* of both is not supported.
|
|
41656
41975
|
*/
|
|
41657
41976
|
filter(
|
|
41658
41977
|
/**
|
|
@@ -41681,22 +42000,22 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41681
42000
|
*/
|
|
41682
42001
|
getContexts(
|
|
41683
42002
|
/**
|
|
41684
|
-
*
|
|
42003
|
+
* The startIndex where to start the retrieval of contexts
|
|
41685
42004
|
*/
|
|
41686
42005
|
iStartIndex?: int,
|
|
41687
42006
|
/**
|
|
41688
|
-
*
|
|
42007
|
+
* Determines how many contexts to retrieve beginning from the start index.
|
|
41689
42008
|
*/
|
|
41690
42009
|
iLength?: int,
|
|
41691
42010
|
/**
|
|
41692
42011
|
* The maximum number of contexts to read before and after the given range; with this, controls can prefetch
|
|
41693
|
-
* data that is likely to be needed soon, e.g. when scrolling down in a table
|
|
41694
|
-
* and not implemented by all models
|
|
42012
|
+
* data that is likely to be needed soon, e.g. when scrolling down in a table; this parameter is model-specific
|
|
42013
|
+
* and not implemented by all models
|
|
41695
42014
|
*/
|
|
41696
42015
|
iMaximumPrefetchSize?: int,
|
|
41697
42016
|
/**
|
|
41698
42017
|
* Whether this call keeps the result of {@link #getCurrentContexts} untouched; since 1.86.0. This parameter
|
|
41699
|
-
* is model-specific and not implemented by all models
|
|
42018
|
+
* is model-specific and not implemented by all models
|
|
41700
42019
|
*/
|
|
41701
42020
|
bKeepCurrent?: boolean
|
|
41702
42021
|
): Context[];
|
|
@@ -41718,7 +42037,7 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41718
42037
|
*
|
|
41719
42038
|
* Returns an array of currently used binding contexts of the bound control.
|
|
41720
42039
|
*
|
|
41721
|
-
* This method does not trigger any data requests from the
|
|
42040
|
+
* This method does not trigger any data requests from the back end or a delta calculation, but just returns
|
|
41722
42041
|
* the context array as last requested by the control. This can be used by the application to get access
|
|
41723
42042
|
* to the data currently displayed by a list control.
|
|
41724
42043
|
*/
|
|
@@ -41732,6 +42051,17 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41732
42051
|
*/
|
|
41733
42052
|
sPath: string
|
|
41734
42053
|
): any[];
|
|
42054
|
+
/**
|
|
42055
|
+
* @SINCE 1.96.0
|
|
42056
|
+
*
|
|
42057
|
+
* Returns the filters set via the constructor or via {@link #filter} for the given {@link sap.ui.model.FilterType}.
|
|
42058
|
+
*/
|
|
42059
|
+
getFilters(
|
|
42060
|
+
/**
|
|
42061
|
+
* The FilterType
|
|
42062
|
+
*/
|
|
42063
|
+
sFilterType: FilterType | keyof typeof FilterType
|
|
42064
|
+
): Filter[];
|
|
41735
42065
|
/**
|
|
41736
42066
|
* Gets the group for the given context. Must only be called if `isGrouped()` returns that grouping is enabled
|
|
41737
42067
|
* for this binding. The grouping will be performed using the first sorter (in case multiple sorters are
|
|
@@ -41755,8 +42085,8 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41755
42085
|
*/
|
|
41756
42086
|
getLength(): int;
|
|
41757
42087
|
/**
|
|
41758
|
-
* Indicates whether grouping is enabled for the binding. Grouping is enabled for a list binding
|
|
41759
|
-
*
|
|
42088
|
+
* Indicates whether grouping is enabled for the binding. Grouping is enabled for a list binding if at least
|
|
42089
|
+
* one sorter exists on the binding and the first sorter is a grouping sorter.
|
|
41760
42090
|
*/
|
|
41761
42091
|
isGrouped(): boolean;
|
|
41762
42092
|
/**
|
|
@@ -41793,7 +42123,7 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41793
42123
|
* Instead of a single sorter also an array of sorters can be passed to the sort method. In this case they
|
|
41794
42124
|
* are processed in the sequence in which they are contained in the array.
|
|
41795
42125
|
*
|
|
41796
|
-
* Grouping: Sorting and grouping are closely related
|
|
42126
|
+
* Grouping: Sorting and grouping are closely related. In case a list should be grouped, it must be sorted
|
|
41797
42127
|
* by the property to group with. Grouping is enabled by setting the `group` property on the sorter object.
|
|
41798
42128
|
* If it is enabled, you can get the current group of an item using {@link sap.ui.model.ListBinding.prototype.getGroup}.
|
|
41799
42129
|
* In case multiple sorters are provided, grouping can only be done on the first sorter, nested grouping
|
|
@@ -41801,7 +42131,7 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
41801
42131
|
*/
|
|
41802
42132
|
sort(
|
|
41803
42133
|
/**
|
|
41804
|
-
*
|
|
42134
|
+
* The Sorter object or an array of sorters which defines the sort order
|
|
41805
42135
|
*/
|
|
41806
42136
|
aSorters: Sorter | any[]
|
|
41807
42137
|
): this;
|
|
@@ -41815,6 +42145,8 @@ declare module "sap/ui/model/message/MessageModel" {
|
|
|
41815
42145
|
|
|
41816
42146
|
import Metadata from "sap/ui/base/Metadata";
|
|
41817
42147
|
|
|
42148
|
+
import Context from "sap/ui/model/Context";
|
|
42149
|
+
|
|
41818
42150
|
/**
|
|
41819
42151
|
* Model implementation for Messages.
|
|
41820
42152
|
*
|
|
@@ -41857,17 +42189,17 @@ declare module "sap/ui/model/message/MessageModel" {
|
|
|
41857
42189
|
*/
|
|
41858
42190
|
static getMetadata(): Metadata;
|
|
41859
42191
|
/**
|
|
41860
|
-
* Returns the value for the property with the given `sPropertyName
|
|
42192
|
+
* Returns the value for the property with the given `sPropertyName`.
|
|
41861
42193
|
*/
|
|
41862
42194
|
getProperty(
|
|
41863
42195
|
/**
|
|
41864
|
-
*
|
|
42196
|
+
* The path to the property
|
|
41865
42197
|
*/
|
|
41866
42198
|
sPath: string,
|
|
41867
42199
|
/**
|
|
41868
|
-
*
|
|
42200
|
+
* The context to resolve a relative path with
|
|
41869
42201
|
*/
|
|
41870
|
-
oContext?:
|
|
42202
|
+
oContext?: Context
|
|
41871
42203
|
): any;
|
|
41872
42204
|
/**
|
|
41873
42205
|
* Sets the message data to the model.
|
|
@@ -41884,7 +42216,20 @@ declare module "sap/ui/model/message/MessageModel" {
|
|
|
41884
42216
|
* Other models provide this method to set a new value for a specific property. `MessageModel` does not
|
|
41885
42217
|
* support it as it supports the `OneWay` mode only.
|
|
41886
42218
|
*/
|
|
41887
|
-
setProperty(
|
|
42219
|
+
setProperty(
|
|
42220
|
+
/**
|
|
42221
|
+
* Unused in this implementation
|
|
42222
|
+
*/
|
|
42223
|
+
sPath: string,
|
|
42224
|
+
/**
|
|
42225
|
+
* Unused in this implementation
|
|
42226
|
+
*/
|
|
42227
|
+
oValue: object,
|
|
42228
|
+
/**
|
|
42229
|
+
* Unused in this implementation
|
|
42230
|
+
*/
|
|
42231
|
+
oContext: Context
|
|
42232
|
+
): void;
|
|
41888
42233
|
}
|
|
41889
42234
|
}
|
|
41890
42235
|
|
|
@@ -42007,7 +42352,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42007
42352
|
*/
|
|
42008
42353
|
oData: object,
|
|
42009
42354
|
/**
|
|
42010
|
-
* The function to be called
|
|
42355
|
+
* The function to be called when the event occurs
|
|
42011
42356
|
*/
|
|
42012
42357
|
fnFunction: Function,
|
|
42013
42358
|
/**
|
|
@@ -42023,7 +42368,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42023
42368
|
*/
|
|
42024
42369
|
attachParseError(
|
|
42025
42370
|
/**
|
|
42026
|
-
* The function to be called
|
|
42371
|
+
* The function to be called when the event occurs
|
|
42027
42372
|
*/
|
|
42028
42373
|
fnFunction: Function,
|
|
42029
42374
|
/**
|
|
@@ -42045,7 +42390,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42045
42390
|
*/
|
|
42046
42391
|
oData: object,
|
|
42047
42392
|
/**
|
|
42048
|
-
* The function to be called
|
|
42393
|
+
* The function to be called when the event occurs
|
|
42049
42394
|
*/
|
|
42050
42395
|
fnFunction: Function,
|
|
42051
42396
|
/**
|
|
@@ -42062,7 +42407,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42062
42407
|
*/
|
|
42063
42408
|
attachPropertyChange(
|
|
42064
42409
|
/**
|
|
42065
|
-
* The function to be called
|
|
42410
|
+
* The function to be called when the event occurs
|
|
42066
42411
|
*/
|
|
42067
42412
|
fnFunction: Function,
|
|
42068
42413
|
/**
|
|
@@ -42084,7 +42429,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42084
42429
|
*/
|
|
42085
42430
|
oData: object,
|
|
42086
42431
|
/**
|
|
42087
|
-
* The function to be called
|
|
42432
|
+
* The function to be called when the event occurs
|
|
42088
42433
|
*/
|
|
42089
42434
|
fnFunction: Function,
|
|
42090
42435
|
/**
|
|
@@ -42101,7 +42446,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42101
42446
|
*/
|
|
42102
42447
|
attachRequestCompleted(
|
|
42103
42448
|
/**
|
|
42104
|
-
* The function to be called
|
|
42449
|
+
* The function to be called when the event occurs
|
|
42105
42450
|
*/
|
|
42106
42451
|
fnFunction: Function,
|
|
42107
42452
|
/**
|
|
@@ -42122,7 +42467,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42122
42467
|
*/
|
|
42123
42468
|
oData: object,
|
|
42124
42469
|
/**
|
|
42125
|
-
* The function to be called
|
|
42470
|
+
* The function to be called when the event occurs
|
|
42126
42471
|
*/
|
|
42127
42472
|
fnFunction: Function,
|
|
42128
42473
|
/**
|
|
@@ -42138,7 +42483,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42138
42483
|
*/
|
|
42139
42484
|
attachRequestFailed(
|
|
42140
42485
|
/**
|
|
42141
|
-
* The function to be called
|
|
42486
|
+
* The function to be called when the event occurs
|
|
42142
42487
|
*/
|
|
42143
42488
|
fnFunction: Function,
|
|
42144
42489
|
/**
|
|
@@ -42159,7 +42504,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42159
42504
|
*/
|
|
42160
42505
|
oData: object,
|
|
42161
42506
|
/**
|
|
42162
|
-
* The function to be called
|
|
42507
|
+
* The function to be called when the event occurs
|
|
42163
42508
|
*/
|
|
42164
42509
|
fnFunction: Function,
|
|
42165
42510
|
/**
|
|
@@ -42175,7 +42520,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42175
42520
|
*/
|
|
42176
42521
|
attachRequestSent(
|
|
42177
42522
|
/**
|
|
42178
|
-
* The function to be called
|
|
42523
|
+
* The function to be called when the event occurs
|
|
42179
42524
|
*/
|
|
42180
42525
|
fnFunction: Function,
|
|
42181
42526
|
/**
|
|
@@ -42188,111 +42533,103 @@ declare module "sap/ui/model/Model" {
|
|
|
42188
42533
|
*/
|
|
42189
42534
|
bindContext(
|
|
42190
42535
|
/**
|
|
42191
|
-
*
|
|
42536
|
+
* The path pointing to the property that should be bound
|
|
42192
42537
|
*/
|
|
42193
42538
|
sPath: string,
|
|
42194
42539
|
/**
|
|
42195
|
-
*
|
|
42540
|
+
* The context object for this databinding
|
|
42196
42541
|
*/
|
|
42197
42542
|
oContext?: Context,
|
|
42198
42543
|
/**
|
|
42199
|
-
*
|
|
42544
|
+
* Additional model-specific parameters
|
|
42200
42545
|
*/
|
|
42201
42546
|
mParameters?: object,
|
|
42202
42547
|
/**
|
|
42203
|
-
*
|
|
42548
|
+
* Event handlers can be passed to the binding ({change:myHandler})
|
|
42204
42549
|
*/
|
|
42205
42550
|
oEvents?: object
|
|
42206
42551
|
): ContextBinding;
|
|
42207
|
-
|
|
42208
|
-
* Implement in inheriting classes.
|
|
42209
|
-
*/
|
|
42552
|
+
|
|
42210
42553
|
bindList(
|
|
42211
42554
|
/**
|
|
42212
|
-
*
|
|
42555
|
+
* The path pointing to the list / array that should be bound
|
|
42213
42556
|
*/
|
|
42214
42557
|
sPath: string,
|
|
42215
42558
|
/**
|
|
42216
|
-
*
|
|
42559
|
+
* The context object for this databinding
|
|
42217
42560
|
*/
|
|
42218
42561
|
oContext?: Context,
|
|
42219
42562
|
/**
|
|
42220
|
-
*
|
|
42563
|
+
* Initial sort order (can be either a sorter or an array of sorters)
|
|
42221
42564
|
*/
|
|
42222
42565
|
aSorters?: Sorter | Sorter[],
|
|
42223
42566
|
/**
|
|
42224
|
-
*
|
|
42567
|
+
* Predefined filter/s (can be either a filter or an array of filters)
|
|
42225
42568
|
*/
|
|
42226
42569
|
aFilters?: Filter | Filter[],
|
|
42227
42570
|
/**
|
|
42228
|
-
*
|
|
42571
|
+
* Additional model-specific parameters
|
|
42229
42572
|
*/
|
|
42230
42573
|
mParameters?: object
|
|
42231
42574
|
): ListBinding;
|
|
42232
|
-
|
|
42233
|
-
* Implement in inheriting classes.
|
|
42234
|
-
*/
|
|
42575
|
+
|
|
42235
42576
|
bindProperty(
|
|
42236
42577
|
/**
|
|
42237
|
-
*
|
|
42578
|
+
* The path pointing to the property that should be bound
|
|
42238
42579
|
*/
|
|
42239
42580
|
sPath: string,
|
|
42240
42581
|
/**
|
|
42241
|
-
*
|
|
42582
|
+
* The context object for this databinding
|
|
42242
42583
|
*/
|
|
42243
42584
|
oContext?: Context,
|
|
42244
42585
|
/**
|
|
42245
|
-
*
|
|
42586
|
+
* Additional model-specific parameters
|
|
42246
42587
|
*/
|
|
42247
42588
|
mParameters?: object
|
|
42248
42589
|
): PropertyBinding;
|
|
42249
|
-
|
|
42250
|
-
* Implement in inheriting classes.
|
|
42251
|
-
*/
|
|
42590
|
+
|
|
42252
42591
|
bindTree(
|
|
42253
42592
|
/**
|
|
42254
|
-
*
|
|
42593
|
+
* The path pointing to the tree / array that should be bound
|
|
42255
42594
|
*/
|
|
42256
42595
|
sPath: string,
|
|
42257
42596
|
/**
|
|
42258
|
-
*
|
|
42597
|
+
* The context object for this databinding
|
|
42259
42598
|
*/
|
|
42260
42599
|
oContext?: Context,
|
|
42261
42600
|
/**
|
|
42262
|
-
*
|
|
42601
|
+
* Predefined filter/s contained in an array
|
|
42263
42602
|
*/
|
|
42264
42603
|
aFilters?: Filter[],
|
|
42265
42604
|
/**
|
|
42266
|
-
*
|
|
42605
|
+
* Additional model specific parameters
|
|
42267
42606
|
*/
|
|
42268
42607
|
mParameters?: object,
|
|
42269
42608
|
/**
|
|
42270
|
-
*
|
|
42609
|
+
* Predefined sap.ui.model.sorter/s contained in an array
|
|
42271
42610
|
*/
|
|
42272
42611
|
aSorters?: Sorter[]
|
|
42273
42612
|
): TreeBinding;
|
|
42274
|
-
|
|
42275
|
-
* Implement in inheriting classes.
|
|
42276
|
-
*/
|
|
42613
|
+
|
|
42277
42614
|
createBindingContext(
|
|
42278
42615
|
/**
|
|
42279
|
-
*
|
|
42616
|
+
* The path to create the new context from
|
|
42280
42617
|
*/
|
|
42281
42618
|
sPath: string,
|
|
42282
42619
|
/**
|
|
42283
|
-
*
|
|
42620
|
+
* The context which should be used to create the new binding context
|
|
42284
42621
|
*/
|
|
42285
42622
|
oContext?: Context,
|
|
42286
42623
|
/**
|
|
42287
|
-
*
|
|
42624
|
+
* The parameters used to create the new binding context
|
|
42288
42625
|
*/
|
|
42289
42626
|
mParameters?: object,
|
|
42290
42627
|
/**
|
|
42291
|
-
*
|
|
42628
|
+
* The function which should be called after the binding context has been created
|
|
42292
42629
|
*/
|
|
42293
42630
|
fnCallBack?: Function,
|
|
42294
42631
|
/**
|
|
42295
|
-
*
|
|
42632
|
+
* Force reload even if data is already available; for server-side models this should refetch the data from
|
|
42296
42633
|
* the server
|
|
42297
42634
|
*/
|
|
42298
42635
|
bReload?: boolean
|
|
@@ -42300,18 +42637,16 @@ declare module "sap/ui/model/Model" {
|
|
|
42300
42637
|
/**
|
|
42301
42638
|
* Destroys the model and clears the model data.
|
|
42302
42639
|
*
|
|
42303
|
-
* A model implementation may override this function and perform model
|
|
42640
|
+
* A model implementation may override this function and perform model-specific cleanup tasks e.g. abort
|
|
42304
42641
|
* requests, prevent new requests, etc.
|
|
42305
42642
|
* See:
|
|
42306
42643
|
* sap.ui.base.Object.prototype.destroy
|
|
42307
42644
|
*/
|
|
42308
42645
|
destroy(): void;
|
|
42309
|
-
|
|
42310
|
-
* Implement in inheriting classes.
|
|
42311
|
-
*/
|
|
42646
|
+
|
|
42312
42647
|
destroyBindingContext(
|
|
42313
42648
|
/**
|
|
42314
|
-
* to destroy
|
|
42649
|
+
* The context to destroy
|
|
42315
42650
|
*/
|
|
42316
42651
|
oContext: Context
|
|
42317
42652
|
): void;
|
|
@@ -42322,7 +42657,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42322
42657
|
*/
|
|
42323
42658
|
detachParseError(
|
|
42324
42659
|
/**
|
|
42325
|
-
* The function to be called
|
|
42660
|
+
* The function to be called when the event occurs
|
|
42326
42661
|
*/
|
|
42327
42662
|
fnFunction: Function,
|
|
42328
42663
|
/**
|
|
@@ -42338,7 +42673,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42338
42673
|
*/
|
|
42339
42674
|
detachPropertyChange(
|
|
42340
42675
|
/**
|
|
42341
|
-
* The function to be called
|
|
42676
|
+
* The function to be called when the event occurs
|
|
42342
42677
|
*/
|
|
42343
42678
|
fnFunction: Function,
|
|
42344
42679
|
/**
|
|
@@ -42370,7 +42705,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42370
42705
|
*/
|
|
42371
42706
|
detachRequestFailed(
|
|
42372
42707
|
/**
|
|
42373
|
-
* The function to be called
|
|
42708
|
+
* The function to be called when the event occurs
|
|
42374
42709
|
*/
|
|
42375
42710
|
fnFunction: Function,
|
|
42376
42711
|
/**
|
|
@@ -42433,11 +42768,11 @@ declare module "sap/ui/model/Model" {
|
|
|
42433
42768
|
*/
|
|
42434
42769
|
path?: string;
|
|
42435
42770
|
/**
|
|
42436
|
-
*
|
|
42771
|
+
* The context of the property
|
|
42437
42772
|
*/
|
|
42438
42773
|
context?: object;
|
|
42439
42774
|
/**
|
|
42440
|
-
*
|
|
42775
|
+
* The value of the property
|
|
42441
42776
|
*/
|
|
42442
42777
|
value?: object;
|
|
42443
42778
|
}
|
|
@@ -42451,7 +42786,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42451
42786
|
*/
|
|
42452
42787
|
oParameters?: {
|
|
42453
42788
|
/**
|
|
42454
|
-
* The url which was sent to the
|
|
42789
|
+
* The url which was sent to the back end.
|
|
42455
42790
|
*/
|
|
42456
42791
|
url?: string;
|
|
42457
42792
|
/**
|
|
@@ -42493,7 +42828,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42493
42828
|
*/
|
|
42494
42829
|
statusText?: string;
|
|
42495
42830
|
/**
|
|
42496
|
-
* Response that has been received for the request
|
|
42831
|
+
* Response that has been received for the request, as a text string
|
|
42497
42832
|
*/
|
|
42498
42833
|
responseText?: string;
|
|
42499
42834
|
}
|
|
@@ -42507,7 +42842,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42507
42842
|
*/
|
|
42508
42843
|
oParameters?: {
|
|
42509
42844
|
/**
|
|
42510
|
-
* The url which is sent to the
|
|
42845
|
+
* The url which is sent to the back end.
|
|
42511
42846
|
*/
|
|
42512
42847
|
url?: string;
|
|
42513
42848
|
/**
|
|
@@ -42519,7 +42854,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42519
42854
|
*/
|
|
42520
42855
|
async?: boolean;
|
|
42521
42856
|
/**
|
|
42522
|
-
*
|
|
42857
|
+
* Additional information for the request (if available) **deprecated**
|
|
42523
42858
|
*/
|
|
42524
42859
|
info?: string;
|
|
42525
42860
|
/**
|
|
@@ -42564,9 +42899,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42564
42899
|
* Returns the meta model associated with this model if it is available for the concrete model type.
|
|
42565
42900
|
*/
|
|
42566
42901
|
getMetaModel(): MetaModel;
|
|
42567
|
-
|
|
42568
|
-
* Implement in inheriting classes.
|
|
42569
|
-
*/
|
|
42902
|
+
|
|
42570
42903
|
getObject(
|
|
42571
42904
|
/**
|
|
42572
42905
|
* Path to where to read the object
|
|
@@ -42577,7 +42910,7 @@ declare module "sap/ui/model/Model" {
|
|
|
42577
42910
|
*/
|
|
42578
42911
|
oContext?: Context,
|
|
42579
42912
|
/**
|
|
42580
|
-
* Additional model
|
|
42913
|
+
* Additional model-specific parameters
|
|
42581
42914
|
*/
|
|
42582
42915
|
mParameters?: object
|
|
42583
42916
|
): any;
|
|
@@ -42596,16 +42929,14 @@ declare module "sap/ui/model/Model" {
|
|
|
42596
42929
|
*/
|
|
42597
42930
|
oContext?: Context
|
|
42598
42931
|
): any;
|
|
42599
|
-
|
|
42600
|
-
* Implement in inheriting classes.
|
|
42601
|
-
*/
|
|
42932
|
+
|
|
42602
42933
|
getProperty(
|
|
42603
42934
|
/**
|
|
42604
|
-
*
|
|
42935
|
+
* The path to where to read the attribute value
|
|
42605
42936
|
*/
|
|
42606
42937
|
sPath: string,
|
|
42607
42938
|
/**
|
|
42608
|
-
*
|
|
42939
|
+
* The context with which the path should be resolved
|
|
42609
42940
|
*/
|
|
42610
42941
|
oContext?: Context
|
|
42611
42942
|
): any;
|
|
@@ -48391,6 +48722,7 @@ declare module "sap/ui/model/odata/v2/Context" {
|
|
|
48391
48722
|
* A context for the OData V2 model cannot be created at will, it has to be retrieved via:
|
|
48392
48723
|
* - an OData binding
|
|
48393
48724
|
* - a view element
|
|
48725
|
+
* - {@link sap.ui.model.odata.v2.ODataModel#callFunction}
|
|
48394
48726
|
* - {@link sap.ui.model.odata.v2.ODataModel#createBindingContext}
|
|
48395
48727
|
* - {@link sap.ui.model.odata.v2.ODataModel#createEntry}
|
|
48396
48728
|
*/
|
|
@@ -48422,6 +48754,18 @@ declare module "sap/ui/model/odata/v2/Context" {
|
|
|
48422
48754
|
* Returns a metadata object for class sap.ui.model.odata.v2.Context.
|
|
48423
48755
|
*/
|
|
48424
48756
|
static getMetadata(): Metadata;
|
|
48757
|
+
/**
|
|
48758
|
+
* @SINCE 1.96.0
|
|
48759
|
+
*
|
|
48760
|
+
* Returns a promise on the creation state of this context if it has been created via {@link sap.ui.model.odata.v2.ODataModel#createEntry};
|
|
48761
|
+
* otherwise returns `undefined`.
|
|
48762
|
+
*
|
|
48763
|
+
* As long as the promise is not yet resolved or rejected, the entity represented by this context is transient.
|
|
48764
|
+
*
|
|
48765
|
+
* Once the promise is resolved, the entity for this context is stored in the back end and {@link #getPath}
|
|
48766
|
+
* returns a path including the key predicate of the new entity.
|
|
48767
|
+
*/
|
|
48768
|
+
created(): Promise<any>;
|
|
48425
48769
|
/**
|
|
48426
48770
|
* @SINCE 1.94.0
|
|
48427
48771
|
*
|
|
@@ -49148,6 +49492,14 @@ declare module "sap/ui/model/odata/v2/ODataListBinding" {
|
|
|
49148
49492
|
* Defines the count mode of this binding; if not specified, the default count mode of the `oModel` is applied
|
|
49149
49493
|
*/
|
|
49150
49494
|
countMode?: CountMode | keyof typeof CountMode;
|
|
49495
|
+
/**
|
|
49496
|
+
* A key used in combination with the resolved path of this binding to identify the entities created this
|
|
49497
|
+
* binding's {@link #create} method.
|
|
49498
|
+
*
|
|
49499
|
+
* **Note:** Different controls or control aggregation bindings to the same collection must have different
|
|
49500
|
+
* `createdEntitiesKey` values.
|
|
49501
|
+
*/
|
|
49502
|
+
createdEntitiesKey?: string;
|
|
49151
49503
|
/**
|
|
49152
49504
|
* An optional map of custom query parameters. Custom parameters must not start with `$`
|
|
49153
49505
|
*/
|
|
@@ -49896,6 +50248,14 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
49896
50248
|
* Count mode for this binding; if not specified, the default count mode for this model is used
|
|
49897
50249
|
*/
|
|
49898
50250
|
countMode?: CountMode | keyof typeof CountMode;
|
|
50251
|
+
/**
|
|
50252
|
+
* A key used in combination with the resolved path of the binding to identify the entities created via
|
|
50253
|
+
* the binding's {@link #create} method.
|
|
50254
|
+
*
|
|
50255
|
+
* **Note:** Different controls or control aggregation bindings to the same collection must have different
|
|
50256
|
+
* `createdEntitiesKey` values.
|
|
50257
|
+
*/
|
|
50258
|
+
createdEntitiesKey?: string;
|
|
49899
50259
|
/**
|
|
49900
50260
|
* Operation mode for this binding; if not specified, the default operation mode of this model is used
|
|
49901
50261
|
*/
|
|
@@ -50337,8 +50697,11 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
50337
50697
|
* Name. A context object is returned which can be used to bind against the newly created object.
|
|
50338
50698
|
*
|
|
50339
50699
|
* For each created entry a request is created and stored in a request queue. The request queue can be submitted
|
|
50340
|
-
* by calling {@link #submitChanges}.
|
|
50341
|
-
*
|
|
50700
|
+
* by calling {@link #submitChanges}. As long as the context is transient (see {@link sap.ui.model.odata.v2.Context#isTransient}),
|
|
50701
|
+
* {@link sap.ui.model.odata.v2.ODataModel#resetChanges} with the `bDeleteCreatedEntities` parameter set
|
|
50702
|
+
* to `true` can be used to delete the created entity again.
|
|
50703
|
+
*
|
|
50704
|
+
* If the creation of the entity on the server failed, it is repeated automatically.
|
|
50342
50705
|
*
|
|
50343
50706
|
* The optional parameter `mParameters.properties` can be used as follows:
|
|
50344
50707
|
* - `properties` could be an array containing the property names which should be included in the new
|
|
@@ -50349,7 +50712,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
50349
50712
|
*
|
|
50350
50713
|
* If there are no values specified, the properties will have `undefined` values.
|
|
50351
50714
|
*
|
|
50352
|
-
*
|
|
50715
|
+
* The `properties` can be modified via property bindings relative to the returned context instance.
|
|
50353
50716
|
*
|
|
50354
50717
|
* The parameter `expand` is supported since 1.78.0. If this parameter is set, the given navigation properties
|
|
50355
50718
|
* are expanded automatically with the same $batch request in which the POST request for the creation is
|
|
@@ -50368,6 +50731,14 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
50368
50731
|
* handler is called with the data and the response of the POST request. The response object of the success
|
|
50369
50732
|
* handler call and the response parameter of the corresponding `requestFailed` and `requestCompleted` events
|
|
50370
50733
|
* have an additional property `expandAfterCreateFailed` set to `true`.
|
|
50734
|
+
*
|
|
50735
|
+
* Note: If a server requires a property in the request, you must supply this property in the initial data,
|
|
50736
|
+
* for example if the server requires a unit for an amount. This also applies if this property has a default
|
|
50737
|
+
* value.
|
|
50738
|
+
*
|
|
50739
|
+
* Note: A deep create (including data defined by navigation properties) is not supported. The dependent
|
|
50740
|
+
* entity has to be created using a second list binding, after this entity has been saved successfully in
|
|
50741
|
+
* the back-end system.
|
|
50371
50742
|
*/
|
|
50372
50743
|
createEntry(
|
|
50373
50744
|
/**
|
|
@@ -51291,8 +51662,8 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
51291
51662
|
*/
|
|
51292
51663
|
changeSetId?: string;
|
|
51293
51664
|
/**
|
|
51294
|
-
* Since 1.46; defines whether to update all bindings after submitting this change operation
|
|
51295
|
-
* #setRefreshAfterChange} If given, this overrules the model-wide `refreshAfterChange` flag for this operation
|
|
51665
|
+
* Since 1.46; defines whether to update all bindings after submitting this change operation, see {@link
|
|
51666
|
+
* #setRefreshAfterChange}. If given, this overrules the model-wide `refreshAfterChange` flag for this operation
|
|
51296
51667
|
* only.
|
|
51297
51668
|
*/
|
|
51298
51669
|
refreshAfterChange?: boolean;
|
|
@@ -53579,6 +53950,19 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
53579
53950
|
*
|
|
53580
53951
|
* Filters are case sensitive unless the property `caseSensitive` is set to `false`. This property has to
|
|
53581
53952
|
* be set on each filter, it is not inherited from a multi-filter.
|
|
53953
|
+
*
|
|
53954
|
+
* Application and Control Filters: Each list binding maintains two separate lists of filters, one for filters
|
|
53955
|
+
* defined by the control that owns the binding, and another list for filters that an application can define
|
|
53956
|
+
* in addition. When executing the filter operation, both sets of filters are combined.
|
|
53957
|
+
*
|
|
53958
|
+
* By using the `sFilterType` parameter of the `filter` method, the caller can control which set of filters
|
|
53959
|
+
* is modified.
|
|
53960
|
+
*
|
|
53961
|
+
* Auto-Grouping of Filters: Filters are first grouped according to their binding path. All filters belonging
|
|
53962
|
+
* to the same path are ORed, and after that the results of all paths are ANDed. Usually this means that
|
|
53963
|
+
* all filters applied to the same property are ORed, while filters on different properties are ANDed. Please
|
|
53964
|
+
* use either the automatic grouping of filters (where applicable) or explicit AND/OR filters, as a mixture
|
|
53965
|
+
* of both is not supported.
|
|
53582
53966
|
* See:
|
|
53583
53967
|
* sap.ui.model.ListBinding#filter
|
|
53584
53968
|
* #setAggregation
|
|
@@ -54986,9 +55370,8 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
54986
55370
|
$$groupId?: string;
|
|
54987
55371
|
/**
|
|
54988
55372
|
* For operation bindings only: Whether $expand and $select from the parent binding are used in the request
|
|
54989
|
-
* sent on {@link #execute}. If set to `true`, the binding must not set the $expand
|
|
54990
|
-
*
|
|
54991
|
-
* same entity set.
|
|
55373
|
+
* sent on {@link #execute}. If set to `true`, the binding must not set the $expand itself, the operation
|
|
55374
|
+
* must be bound, and the return value and the binding parameter must belong to the same entity set.
|
|
54992
55375
|
*/
|
|
54993
55376
|
$$inheritExpandSelect?: boolean;
|
|
54994
55377
|
/**
|
|
@@ -55980,7 +56363,7 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
55980
56363
|
*/
|
|
55981
56364
|
static getMetadata(): Metadata;
|
|
55982
56365
|
/**
|
|
55983
|
-
* Returns the binding mode
|
|
56366
|
+
* Returns the binding mode.
|
|
55984
56367
|
*/
|
|
55985
56368
|
getBindingMode(): BindingMode | keyof typeof BindingMode;
|
|
55986
56369
|
/**
|
|
@@ -55988,7 +56371,7 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
55988
56371
|
*/
|
|
55989
56372
|
getExternalValue(): any;
|
|
55990
56373
|
/**
|
|
55991
|
-
* Returns the formatter function
|
|
56374
|
+
* Returns the formatter function.
|
|
55992
56375
|
*/
|
|
55993
56376
|
getFormatter(): Function;
|
|
55994
56377
|
/**
|
|
@@ -55996,21 +56379,21 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
55996
56379
|
* model format} of this binding's type. If this binding doesn't have a type, the original value which is
|
|
55997
56380
|
* stored in the model is returned.
|
|
55998
56381
|
*
|
|
55999
|
-
* This method will be used when targetType
|
|
56382
|
+
* This method will be used when targetType is set to "internal" or when it's included in a {@link sap.ui.model.CompositeBinding
|
|
56000
56383
|
* CompositeBinding} and the CompositeBinding needs to have the related JavaScript primitive values for
|
|
56001
56384
|
* its type or formatter.
|
|
56002
56385
|
*/
|
|
56003
56386
|
getInternalValue(): any;
|
|
56004
56387
|
/**
|
|
56005
|
-
* Returns the raw model value, as it exists in the model dataset
|
|
56388
|
+
* Returns the raw model value, as it exists in the model dataset.
|
|
56006
56389
|
*
|
|
56007
|
-
* This method will be used when targetType of a binding is set to "raw" or it's
|
|
56008
|
-
* CompositeBinding} and the CompositeBinding needs to have the related JavaScript
|
|
56009
|
-
* its type or formatter.
|
|
56390
|
+
* This method will be used when targetType of a binding is set to "raw" or when it's include in a {@link
|
|
56391
|
+
* sap.ui.model.CompositeBinding CompositeBinding} and the CompositeBinding needs to have the related JavaScript
|
|
56392
|
+
* primitive values for its type or formatter.
|
|
56010
56393
|
*/
|
|
56011
56394
|
getRawValue(): any;
|
|
56012
56395
|
/**
|
|
56013
|
-
* Returns the type if any for the binding.
|
|
56396
|
+
* Returns the type (if any) for the binding.
|
|
56014
56397
|
*/
|
|
56015
56398
|
getType(): Type;
|
|
56016
56399
|
/**
|
|
@@ -56025,22 +56408,22 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
56025
56408
|
*/
|
|
56026
56409
|
resume(): void;
|
|
56027
56410
|
/**
|
|
56028
|
-
* Sets the binding mode
|
|
56411
|
+
* Sets the binding mode.
|
|
56029
56412
|
*/
|
|
56030
56413
|
setBindingMode(
|
|
56031
56414
|
/**
|
|
56032
|
-
*
|
|
56415
|
+
* The binding mode
|
|
56033
56416
|
*/
|
|
56034
56417
|
sBindingMode: BindingMode | keyof typeof BindingMode
|
|
56035
56418
|
): void;
|
|
56036
56419
|
/**
|
|
56037
56420
|
* Sets the value for this binding. The value is parsed and validated against its type and then set to the
|
|
56038
56421
|
* binding. A model implementation should check if the current default binding mode permits setting the
|
|
56039
|
-
* binding value and if so set the new value
|
|
56422
|
+
* binding value, and if so, set the new value in the model, too.
|
|
56040
56423
|
*/
|
|
56041
56424
|
setExternalValue(
|
|
56042
56425
|
/**
|
|
56043
|
-
*
|
|
56426
|
+
* The value to set for this binding
|
|
56044
56427
|
*/
|
|
56045
56428
|
vValue: any
|
|
56046
56429
|
): undefined | Promise<any>;
|
|
@@ -56049,7 +56432,7 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
56049
56432
|
*/
|
|
56050
56433
|
setFormatter(
|
|
56051
56434
|
/**
|
|
56052
|
-
*
|
|
56435
|
+
* The formatter function for the binding
|
|
56053
56436
|
*/
|
|
56054
56437
|
fnFormatter: Function
|
|
56055
56438
|
): void;
|
|
@@ -56060,20 +56443,20 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
56060
56443
|
*/
|
|
56061
56444
|
setInternalValue(
|
|
56062
56445
|
/**
|
|
56063
|
-
*
|
|
56446
|
+
* The value to set for this binding
|
|
56064
56447
|
*/
|
|
56065
56448
|
vValue: any
|
|
56066
|
-
):
|
|
56449
|
+
): Promise<any> | undefined;
|
|
56067
56450
|
/**
|
|
56068
56451
|
* Sets the value for this binding with the raw model value. This setter will perform type validation, in
|
|
56069
56452
|
* case a type is defined on the binding.
|
|
56070
56453
|
*/
|
|
56071
56454
|
setRawValue(
|
|
56072
56455
|
/**
|
|
56073
|
-
*
|
|
56456
|
+
* The value to set for this binding
|
|
56074
56457
|
*/
|
|
56075
56458
|
vValue: any
|
|
56076
|
-
):
|
|
56459
|
+
): Promise<any> | undefined;
|
|
56077
56460
|
/**
|
|
56078
56461
|
* Sets the optional type and internal type for the binding. The type and internal type are used to do the
|
|
56079
56462
|
* parsing/formatting correctly. The internal type is the property type of the element which the value is
|
|
@@ -56081,17 +56464,17 @@ declare module "sap/ui/model/PropertyBinding" {
|
|
|
56081
56464
|
*/
|
|
56082
56465
|
setType(
|
|
56083
56466
|
/**
|
|
56084
|
-
*
|
|
56467
|
+
* The type for the binding
|
|
56085
56468
|
*/
|
|
56086
56469
|
oType: Type,
|
|
56087
56470
|
/**
|
|
56088
|
-
*
|
|
56471
|
+
* The internal type of the element property which this binding is bound against.
|
|
56089
56472
|
*/
|
|
56090
56473
|
sInternalType: string
|
|
56091
56474
|
): void;
|
|
56092
56475
|
/**
|
|
56093
56476
|
* Sets the value for this binding. A model implementation should check if the current default binding mode
|
|
56094
|
-
* permits setting the binding value and if so set the new value
|
|
56477
|
+
* permits setting the binding value, and if so, set the new value in the model, too.
|
|
56095
56478
|
*/
|
|
56096
56479
|
setValue(
|
|
56097
56480
|
/**
|
|
@@ -57106,18 +57489,18 @@ declare module "sap/ui/model/TreeBindingAdapter" {
|
|
|
57106
57489
|
* @deprecated (since 1.52) - This method is marked as 'protected' which was meant to be overwritten by
|
|
57107
57490
|
* its subclasses. It may be renamed or deleted and should only be called from this class or its subclasses.
|
|
57108
57491
|
*
|
|
57109
|
-
* Calculate the request length based on the given information
|
|
57492
|
+
* Calculate the request length based on the given information.
|
|
57110
57493
|
*/
|
|
57111
57494
|
_calculateRequestLength(
|
|
57112
57495
|
/**
|
|
57113
|
-
*
|
|
57496
|
+
* The maximum group size
|
|
57114
57497
|
*/
|
|
57115
|
-
iMaxGroupSize:
|
|
57498
|
+
iMaxGroupSize: number,
|
|
57116
57499
|
/**
|
|
57117
|
-
*
|
|
57500
|
+
* The information of the current section
|
|
57118
57501
|
*/
|
|
57119
57502
|
oSection: object
|
|
57120
|
-
):
|
|
57503
|
+
): number;
|
|
57121
57504
|
/**
|
|
57122
57505
|
* Attaches event handler `fnFunction` to the {@link #event:selectionChanged selectionChanged} event of
|
|
57123
57506
|
* this `sap.ui.model.TreeBindingAdapter`.
|
|
@@ -57216,6 +57599,10 @@ declare module "sap/ui/model/TreeBindingAdapter" {
|
|
|
57216
57599
|
*/
|
|
57217
57600
|
iThreshold?: number
|
|
57218
57601
|
): Context[];
|
|
57602
|
+
/**
|
|
57603
|
+
* Returns the number of entries in the tree.
|
|
57604
|
+
*/
|
|
57605
|
+
getLength(): number;
|
|
57219
57606
|
/**
|
|
57220
57607
|
* Gets an array of nodes for the requested part of the tree.
|
|
57221
57608
|
*/
|
|
@@ -57237,6 +57624,11 @@ declare module "sap/ui/model/TreeBindingAdapter" {
|
|
|
57237
57624
|
}
|
|
57238
57625
|
|
|
57239
57626
|
declare module "sap/ui/model/TreeBindingCompatibilityAdapter" {
|
|
57627
|
+
import TreeBinding from "sap/ui/model/TreeBinding";
|
|
57628
|
+
|
|
57629
|
+
/**
|
|
57630
|
+
* @deprecated - use {@link sap.ui.model.TreeBindingAdapter} instead
|
|
57631
|
+
*/
|
|
57240
57632
|
export default class TreeBindingCompatibilityAdapter {
|
|
57241
57633
|
/**
|
|
57242
57634
|
* Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
|
|
@@ -57244,7 +57636,16 @@ declare module "sap/ui/model/TreeBindingCompatibilityAdapter" {
|
|
|
57244
57636
|
*
|
|
57245
57637
|
* This module is only for experimental and internal use!
|
|
57246
57638
|
*/
|
|
57247
|
-
constructor(
|
|
57639
|
+
constructor(
|
|
57640
|
+
/**
|
|
57641
|
+
* The binding to add ListBinding functionality to
|
|
57642
|
+
*/
|
|
57643
|
+
oBinding: TreeBinding,
|
|
57644
|
+
/**
|
|
57645
|
+
* The tree or tree table control using the given binding; the control is used for selection handling
|
|
57646
|
+
*/
|
|
57647
|
+
oControl: object
|
|
57648
|
+
);
|
|
57248
57649
|
}
|
|
57249
57650
|
}
|
|
57250
57651
|
|
|
@@ -57578,8 +57979,12 @@ declare module "sap/ui/model/type/Date" {
|
|
|
57578
57979
|
* Returns a metadata object for class sap.ui.model.type.Date.
|
|
57579
57980
|
*/
|
|
57580
57981
|
static getMetadata(): Metadata;
|
|
57581
|
-
|
|
57582
|
-
|
|
57982
|
+
/**
|
|
57983
|
+
* Returns the output pattern.
|
|
57984
|
+
* See:
|
|
57985
|
+
* sap.ui.core.format.DateFormat.getDateInstance
|
|
57986
|
+
*/
|
|
57987
|
+
getOutputPattern(): string;
|
|
57583
57988
|
}
|
|
57584
57989
|
}
|
|
57585
57990
|
|
|
@@ -58520,35 +58925,35 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
58520
58925
|
*/
|
|
58521
58926
|
static getMetadata(): Metadata;
|
|
58522
58927
|
/**
|
|
58523
|
-
* Returns the object for the given
|
|
58928
|
+
* Returns the object for the given path and context.
|
|
58524
58929
|
*/
|
|
58525
58930
|
getObject(
|
|
58526
58931
|
/**
|
|
58527
|
-
*
|
|
58932
|
+
* The path to the object
|
|
58528
58933
|
*/
|
|
58529
58934
|
sPath: string,
|
|
58530
58935
|
/**
|
|
58531
|
-
*
|
|
58936
|
+
* The context which will be used to retrieve the object
|
|
58532
58937
|
*/
|
|
58533
58938
|
oContext?: object
|
|
58534
|
-
):
|
|
58939
|
+
): object;
|
|
58535
58940
|
/**
|
|
58536
|
-
* Returns the value for the property with the given `sPropertyName
|
|
58941
|
+
* Returns the value for the property with the given `sPropertyName`.
|
|
58537
58942
|
*/
|
|
58538
58943
|
getProperty(
|
|
58539
58944
|
/**
|
|
58540
|
-
*
|
|
58945
|
+
* The path to the property
|
|
58541
58946
|
*/
|
|
58542
58947
|
sPath: string,
|
|
58543
58948
|
/**
|
|
58544
|
-
*
|
|
58949
|
+
* The context which will be used to retrieve the property
|
|
58545
58950
|
*/
|
|
58546
58951
|
oContext?: object
|
|
58547
|
-
):
|
|
58952
|
+
): string;
|
|
58548
58953
|
/**
|
|
58549
58954
|
* Serializes the current XML data of the model into a string.
|
|
58550
58955
|
*/
|
|
58551
|
-
getXML():
|
|
58956
|
+
getXML(): string;
|
|
58552
58957
|
/**
|
|
58553
58958
|
* Load XML-encoded data from the server using a GET HTTP request and store the resulting XML data in the
|
|
58554
58959
|
* model. Note: Due to browser security restrictions, most "Ajax" requests are subject to the same origin
|
|
@@ -58596,11 +59001,11 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
58596
59001
|
*/
|
|
58597
59002
|
setNameSpace(
|
|
58598
59003
|
/**
|
|
58599
|
-
*
|
|
59004
|
+
* The namespace URI
|
|
58600
59005
|
*/
|
|
58601
59006
|
sNameSpace: string,
|
|
58602
59007
|
/**
|
|
58603
|
-
*
|
|
59008
|
+
* The prefix for the namespace
|
|
58604
59009
|
*/
|
|
58605
59010
|
sPrefix?: string
|
|
58606
59011
|
): void;
|
|
@@ -58610,19 +59015,19 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
58610
59015
|
*/
|
|
58611
59016
|
setProperty(
|
|
58612
59017
|
/**
|
|
58613
|
-
*
|
|
59018
|
+
* Path of the property to set
|
|
58614
59019
|
*/
|
|
58615
59020
|
sPath: string,
|
|
58616
59021
|
/**
|
|
58617
|
-
*
|
|
59022
|
+
* Value to set the property to
|
|
58618
59023
|
*/
|
|
58619
59024
|
oValue: any,
|
|
58620
59025
|
/**
|
|
58621
|
-
*
|
|
59026
|
+
* The context which will be used to set the property
|
|
58622
59027
|
*/
|
|
58623
59028
|
oContext?: object,
|
|
58624
59029
|
/**
|
|
58625
|
-
*
|
|
59030
|
+
* Whether to update other bindings dependent on this property asynchronously
|
|
58626
59031
|
*/
|
|
58627
59032
|
bAsyncUpdate?: boolean
|
|
58628
59033
|
): boolean;
|
|
@@ -60560,8 +60965,8 @@ declare module "sap/ui/test/matchers/I18NText" {
|
|
|
60560
60965
|
* ```
|
|
60561
60966
|
*
|
|
60562
60967
|
*
|
|
60563
|
-
* As of version 1.
|
|
60564
|
-
* used to resolve the i18n key
|
|
60968
|
+
* As of version 1.95 if the `useLibraryBundle` flag is set to `true`, the library resource bundle of the
|
|
60969
|
+
* control is used to resolve the i18n key.
|
|
60565
60970
|
*/
|
|
60566
60971
|
export default class I18NText extends Matcher {
|
|
60567
60972
|
/**
|
|
@@ -66181,206 +66586,6 @@ declare namespace sap {
|
|
|
66181
66586
|
* style class support on existing elements by calling this function.
|
|
66182
66587
|
*/
|
|
66183
66588
|
function CustomStyleClassSupport(): void;
|
|
66184
|
-
/**
|
|
66185
|
-
* The IconPool is a static class for retrieving or registering icons. It also provides helping methods
|
|
66186
|
-
* for easier consumption of icons. There are already icons registered in IconPool, please use the Demo
|
|
66187
|
-
* App named "Icon Explorer" to find the name of the icon.
|
|
66188
|
-
*
|
|
66189
|
-
* In order to use the icon inside an existing control, please call {@link sap.ui.core.IconPool.getIconURI}
|
|
66190
|
-
* and assign the URI to the control's property which supports icons. If you want to support both, icons
|
|
66191
|
-
* and standard images in your own control, please use the static method {@link sap.ui.core.IconPool.createControlByURI}
|
|
66192
|
-
* to either create an Icon in case the first argument is an icon-URL or another control which you define
|
|
66193
|
-
* by providing it as the second argument.
|
|
66194
|
-
*/
|
|
66195
|
-
namespace IconPool {
|
|
66196
|
-
/**
|
|
66197
|
-
* Register an additional icon to the sap.ui.core.IconPool.
|
|
66198
|
-
*/
|
|
66199
|
-
function addIcon(
|
|
66200
|
-
/**
|
|
66201
|
-
* the name of the icon.
|
|
66202
|
-
*/
|
|
66203
|
-
iconName: string,
|
|
66204
|
-
/**
|
|
66205
|
-
* the name of icon collection. The built in icons are with empty collectionName, so if additional icons
|
|
66206
|
-
* need to be registered in IconPool, the collectionName can't be empty.
|
|
66207
|
-
*/
|
|
66208
|
-
collectionName: string,
|
|
66209
|
-
/**
|
|
66210
|
-
* the icon info which contains the following properties:
|
|
66211
|
-
*/
|
|
66212
|
-
iconInfo: {
|
|
66213
|
-
/**
|
|
66214
|
-
* is the name of the font when importing the font using @font-face in CSS
|
|
66215
|
-
*/
|
|
66216
|
-
fontFamily: string;
|
|
66217
|
-
/**
|
|
66218
|
-
* is the special hexadecimal code without the prefix, for example "e000" or several of them
|
|
66219
|
-
*/
|
|
66220
|
-
content: string | string[];
|
|
66221
|
-
/**
|
|
66222
|
-
* indicates if already registered icons should be overwritten when the same name and collection are given.
|
|
66223
|
-
* The built in icons can never be overwritten.
|
|
66224
|
-
*/
|
|
66225
|
-
overWrite?: boolean;
|
|
66226
|
-
/**
|
|
66227
|
-
* indicates whether this icon should NOT be mirrored in RTL (right to left) mode.
|
|
66228
|
-
*/
|
|
66229
|
-
suppressMirroring?: boolean;
|
|
66230
|
-
/**
|
|
66231
|
-
* ResourceBundle to be used for translation. Key format: "Icon.".
|
|
66232
|
-
*/
|
|
66233
|
-
resourceBundle?: import("sap/base/i18n/ResourceBundle").default;
|
|
66234
|
-
}
|
|
66235
|
-
): object;
|
|
66236
|
-
/**
|
|
66237
|
-
* Creates an instance of {@link sap.ui.core.Icon} if the given URI is an icon URI, otherwise the given
|
|
66238
|
-
* constructor is called. The given URI is set to the src property of the control.
|
|
66239
|
-
*/
|
|
66240
|
-
function createControlByURI(
|
|
66241
|
-
/**
|
|
66242
|
-
* Contains the properties which will be used to instantiate the returned control. All properties of the
|
|
66243
|
-
* associated constructor can be used. Unknown properties are ignored. It should contain at least a property
|
|
66244
|
-
* named src. If it's given with a string type, it will be taken as the value of src property.
|
|
66245
|
-
*/
|
|
66246
|
-
setting: string | object,
|
|
66247
|
-
/**
|
|
66248
|
-
* The constructor function which is called when the given URI isn't an icon URI
|
|
66249
|
-
*/
|
|
66250
|
-
constructor: Function
|
|
66251
|
-
): import("sap/ui/core/Control").default;
|
|
66252
|
-
/**
|
|
66253
|
-
* @SINCE 1.56.0
|
|
66254
|
-
*
|
|
66255
|
-
* Checks if the icon font is loaded
|
|
66256
|
-
*/
|
|
66257
|
-
function fontLoaded(
|
|
66258
|
-
/**
|
|
66259
|
-
* icon collection name
|
|
66260
|
-
*/
|
|
66261
|
-
sCollectionName: string
|
|
66262
|
-
): Promise<any> | undefined;
|
|
66263
|
-
/**
|
|
66264
|
-
* Returns all names of registered collections in IconPool
|
|
66265
|
-
*/
|
|
66266
|
-
function getIconCollectionNames(): any[];
|
|
66267
|
-
/**
|
|
66268
|
-
* @SINCE 1.25.0
|
|
66269
|
-
*
|
|
66270
|
-
* Returns the icon url based on the given mime type
|
|
66271
|
-
*/
|
|
66272
|
-
function getIconForMimeType(
|
|
66273
|
-
/**
|
|
66274
|
-
* the mime type of a file (e.g. "application/zip")
|
|
66275
|
-
*/
|
|
66276
|
-
sMimeType: string
|
|
66277
|
-
): string;
|
|
66278
|
-
/**
|
|
66279
|
-
* Returns an info object for the icon with the given `iconName` and `collectionName`.
|
|
66280
|
-
*
|
|
66281
|
-
* Instead of giving name and collection, a complete icon-URI can be provided as `iconName`. The method
|
|
66282
|
-
* will determine name and collection from the URI, see {@link #.isIconURI IconPool.isIconURI} for details.
|
|
66283
|
-
*
|
|
66284
|
-
* The returned info object has the following properties:
|
|
66285
|
-
* - `string: name` Name of the icon
|
|
66286
|
-
* - `string: collection` Name of the collection that contains the icon or `undefined` in case of the
|
|
66287
|
-
* default collection
|
|
66288
|
-
* - `string: uri` Icon URI that identifies the icon
|
|
66289
|
-
* - `string: fontFamily` CSS font family to use for this icon
|
|
66290
|
-
* - `string: content` Character sequence that represents the icon in the icon font
|
|
66291
|
-
* - `string: text` Alternative text describing the icon (optional, might be empty)
|
|
66292
|
-
* - `boolean: suppressMirroring` Whether the icon needs no mirroring in right-to-left mode
|
|
66293
|
-
*/
|
|
66294
|
-
function getIconInfo(
|
|
66295
|
-
/**
|
|
66296
|
-
* Name of the icon, or a complete icon-URI with icon collection and icon name; must not be empty
|
|
66297
|
-
*/
|
|
66298
|
-
iconName: string,
|
|
66299
|
-
/**
|
|
66300
|
-
* Name of the icon collection; to access built-in icons, omit the collection name
|
|
66301
|
-
*/
|
|
66302
|
-
collectionName?: string,
|
|
66303
|
-
/**
|
|
66304
|
-
* The approach for loading the icon info, if it is not already available: sync - font metadata is loaded
|
|
66305
|
-
* synchronously and the icon info is returned immediately async - a promise is returned that returns the
|
|
66306
|
-
* icon info when the font metadata is loaded mixed - until the font metadata is loaded a promise is returned,
|
|
66307
|
-
* afterwards the icon info
|
|
66308
|
-
*/
|
|
66309
|
-
loadingMode?: string
|
|
66310
|
-
): object | Promise<any> | undefined;
|
|
66311
|
-
/**
|
|
66312
|
-
* Returns all name of icons that are registered under the given collection.
|
|
66313
|
-
*/
|
|
66314
|
-
function getIconNames(
|
|
66315
|
-
/**
|
|
66316
|
-
* the name of collection where icon names are retrieved.
|
|
66317
|
-
*/
|
|
66318
|
-
collectionName: string
|
|
66319
|
-
): any[];
|
|
66320
|
-
/**
|
|
66321
|
-
* Returns the URI of the icon in the pool which has the given `iconName` and `collectionName`.
|
|
66322
|
-
*/
|
|
66323
|
-
function getIconURI(
|
|
66324
|
-
/**
|
|
66325
|
-
* Name of the icon, must not be empty
|
|
66326
|
-
*/
|
|
66327
|
-
iconName: string,
|
|
66328
|
-
/**
|
|
66329
|
-
* Name of the icon collection; to access built-in icons, omit the collection name
|
|
66330
|
-
*/
|
|
66331
|
-
collectionName?: string
|
|
66332
|
-
): string;
|
|
66333
|
-
/**
|
|
66334
|
-
* Returns whether the given `uri` is an icon URI.
|
|
66335
|
-
*
|
|
66336
|
-
* A string is an icon URI when it can be parsed as a URI and when it has one of the two forms
|
|
66337
|
-
* - sap-icon://collectionName/iconName
|
|
66338
|
-
* - sap-icon://iconName where collectionName and iconName must be non-empty.
|
|
66339
|
-
*/
|
|
66340
|
-
function isIconURI(
|
|
66341
|
-
/**
|
|
66342
|
-
* The URI to check
|
|
66343
|
-
*/
|
|
66344
|
-
uri: string
|
|
66345
|
-
): boolean;
|
|
66346
|
-
/**
|
|
66347
|
-
* @SINCE 1.56.0
|
|
66348
|
-
*
|
|
66349
|
-
* Registers an additional icon font to the icon pool
|
|
66350
|
-
*/
|
|
66351
|
-
function registerFont(
|
|
66352
|
-
/**
|
|
66353
|
-
* configuration object for registering the font
|
|
66354
|
-
*/
|
|
66355
|
-
oConfig: {
|
|
66356
|
-
/**
|
|
66357
|
-
* the file name of the font face
|
|
66358
|
-
*/
|
|
66359
|
-
fontFamily: string;
|
|
66360
|
-
/**
|
|
66361
|
-
* a collection name for the font, if not specified the font face will be used
|
|
66362
|
-
*/
|
|
66363
|
-
collectionName?: string;
|
|
66364
|
-
/**
|
|
66365
|
-
* the location where the font files are physically located
|
|
66366
|
-
*/
|
|
66367
|
-
fontURI: import("sap/ui/core/library").URI;
|
|
66368
|
-
/**
|
|
66369
|
-
* a configuration object mapping the icon name to the hexadecimal icon address in the font
|
|
66370
|
-
*/
|
|
66371
|
-
metadata?: object;
|
|
66372
|
-
/**
|
|
66373
|
-
* an URI to a file containing the configuration object specified with oConfig.metadata
|
|
66374
|
-
*/
|
|
66375
|
-
metadataURI?: object;
|
|
66376
|
-
/**
|
|
66377
|
-
* load the icon font metadata only when an icon is requested with {@link #.getIconInfo} if not specified
|
|
66378
|
-
* a JSON file with the name oConfig.fontFamily will be loaded from the location specified in oConfig.fontURI
|
|
66379
|
-
*/
|
|
66380
|
-
lazy?: boolean;
|
|
66381
|
-
}
|
|
66382
|
-
): void;
|
|
66383
|
-
}
|
|
66384
66589
|
}
|
|
66385
66590
|
/**
|
|
66386
66591
|
* Provides access to UI5 loader configuration.
|
|
@@ -66591,11 +66796,11 @@ declare namespace sap {
|
|
|
66591
66796
|
/**
|
|
66592
66797
|
* The SAPUI5 Data Binding API.
|
|
66593
66798
|
*
|
|
66594
|
-
* The default binding mode for model implementations (if not implemented otherwise) is two
|
|
66595
|
-
* supported binding modes by the model are one
|
|
66799
|
+
* The default binding mode for model implementations (if not implemented otherwise) is two-way and the
|
|
66800
|
+
* supported binding modes by the model are one-way, two-way and one-time. The default binding mode can
|
|
66596
66801
|
* be changed by the application for each model instance. A model implementation should specify its supported
|
|
66597
|
-
* binding modes and set the default binding mode accordingly (e.g. if the model supports only one
|
|
66598
|
-
* the default binding mode should also be set to one
|
|
66802
|
+
* binding modes and set the default binding mode accordingly (e.g. if the model supports only one-way binding
|
|
66803
|
+
* the default binding mode should also be set to one-way).
|
|
66599
66804
|
*
|
|
66600
66805
|
* The default size limit for models is 100. The size limit determines the number of entries used for the
|
|
66601
66806
|
* list bindings.
|
|
@@ -67591,8 +67796,6 @@ declare namespace sap {
|
|
|
67591
67796
|
|
|
67592
67797
|
"sap/ui/base/ObjectPool": undefined;
|
|
67593
67798
|
|
|
67594
|
-
"sap/ui/core/_IconRegistry": undefined;
|
|
67595
|
-
|
|
67596
67799
|
"sap/ui/core/AppCacheBuster": undefined;
|
|
67597
67800
|
|
|
67598
67801
|
"sap/ui/core/BusyIndicator": undefined;
|
|
@@ -67667,6 +67870,8 @@ declare namespace sap {
|
|
|
67667
67870
|
|
|
67668
67871
|
"sap/ui/core/Icon": undefined;
|
|
67669
67872
|
|
|
67873
|
+
"sap/ui/core/IconPool": undefined;
|
|
67874
|
+
|
|
67670
67875
|
"sap/ui/core/IndicationColorSupport": undefined;
|
|
67671
67876
|
|
|
67672
67877
|
"sap/ui/core/IntervalTrigger": undefined;
|