@openui5/ts-types 1.107.1 → 1.108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.f.d.ts +111 -44
- package/types/sap.m.d.ts +200 -97
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +12 -2
- package/types/sap.ui.core.d.ts +306 -103
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +104 -58
- package/types/sap.ui.layout.d.ts +2 -2
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +8 -3
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +28 -20
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +198 -24
- package/types/sap.ui.ux3.d.ts +18 -9
- package/types/sap.ui.webc.common.d.ts +3 -3
- package/types/sap.ui.webc.fiori.d.ts +58 -58
- package/types/sap.ui.webc.main.d.ts +129 -129
- package/types/sap.uxap.d.ts +1 -1
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -235,7 +235,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
235
235
|
/**
|
|
236
236
|
* Sets the text selection in the first element of the collection.
|
|
237
237
|
*
|
|
238
|
-
* <b>Note</b>: This feature is only supported for input element
|
|
238
|
+
* <b>Note</b>: This feature is only supported for input element's type of text, search, url, tel and password.
|
|
239
239
|
*/
|
|
240
240
|
selectText(
|
|
241
241
|
/**
|
|
@@ -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.108.0
|
|
268
268
|
|
|
269
269
|
declare module "sap/base/assert" {
|
|
270
270
|
/**
|
|
@@ -966,6 +966,9 @@ declare module "sap/base/security/URLListValidator" {
|
|
|
966
966
|
*
|
|
967
967
|
* Note: Adding the first entry to the list of allowed entries will disallow all URLs but the ones matching
|
|
968
968
|
* the newly added entry.
|
|
969
|
+
*
|
|
970
|
+
* **Note**: It is strongly recommended to set a path only in combination with an origin (never set a path
|
|
971
|
+
* alone). There's almost no case where checking only the path of a URL would allow to ensure its validity.
|
|
969
972
|
*/
|
|
970
973
|
add(
|
|
971
974
|
/**
|
|
@@ -1000,7 +1003,13 @@ declare module "sap/base/security/URLListValidator" {
|
|
|
1000
1003
|
/**
|
|
1001
1004
|
* Validates a URL. Check if it's not a script or other security issue.
|
|
1002
1005
|
*
|
|
1003
|
-
*
|
|
1006
|
+
* **Note**: It is strongly recommended to validate only absolute URLs. There's almost no case where checking
|
|
1007
|
+
* only the path of a URL would allow to ensure its validity. For compatibility reasons, this API cannot
|
|
1008
|
+
* automatically resolve URLs relative to `document.baseURI`, but callers should do so. In that case, and
|
|
1009
|
+
* when the allow list is not empty, an entry for the origin of `document.baseURI` must be added to the
|
|
1010
|
+
* allow list.
|
|
1011
|
+
*
|
|
1012
|
+
* Details: Splits the given URL into components and checks for allowed characters according to RFC 3986:
|
|
1004
1013
|
*
|
|
1005
1014
|
*
|
|
1006
1015
|
* ```javascript
|
|
@@ -2273,6 +2282,50 @@ declare module "sap/ui/core/ComponentSupport" {
|
|
|
2273
2282
|
export default ComponentSupport;
|
|
2274
2283
|
}
|
|
2275
2284
|
|
|
2285
|
+
declare module "sap/ui/core/date/CalendarUtils" {
|
|
2286
|
+
/**
|
|
2287
|
+
* @SINCE 1.108.0
|
|
2288
|
+
*
|
|
2289
|
+
* Provides calendar-related utilities.
|
|
2290
|
+
*/
|
|
2291
|
+
interface CalendarUtils {
|
|
2292
|
+
/**
|
|
2293
|
+
* @SINCE 1.108.0
|
|
2294
|
+
*
|
|
2295
|
+
* Resolves calendar week configuration.
|
|
2296
|
+
*
|
|
2297
|
+
* Returns an object with the following fields:
|
|
2298
|
+
* - `firstDayOfWeek`: specifies the first day of the week starting with `0` (which is Sunday)
|
|
2299
|
+
* - `minimalDaysInFirstWeek`: minimal days at the beginning of the year which define the first calendar
|
|
2300
|
+
* week
|
|
2301
|
+
*
|
|
2302
|
+
* @returns The calendar week configuration, or `undefined for an invalid value of sap.ui.core.date.CalendarWeekNumbering`.
|
|
2303
|
+
*/
|
|
2304
|
+
getWeekConfigurationValues(
|
|
2305
|
+
/**
|
|
2306
|
+
* The calendar week numbering; if omitted, `Default` is used.
|
|
2307
|
+
*/
|
|
2308
|
+
sCalendarWeekNumbering?:
|
|
2309
|
+
| sap.ui.core.date.CalendarWeekNumbering
|
|
2310
|
+
| keyof typeof sap.ui.core.date.CalendarWeekNumbering,
|
|
2311
|
+
/**
|
|
2312
|
+
* The locale to use; if not provided, this falls back to the format locale from the Configuration; see
|
|
2313
|
+
* {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale}. Is only used when `sCalendarWeekNumbering`
|
|
2314
|
+
* is set to `Default`.
|
|
2315
|
+
*/
|
|
2316
|
+
oLocale?: sap.ui.core.Locale
|
|
2317
|
+
):
|
|
2318
|
+
| {
|
|
2319
|
+
firstDayOfWeek: int;
|
|
2320
|
+
|
|
2321
|
+
minimalDaysInFirstWeek: int;
|
|
2322
|
+
}
|
|
2323
|
+
| undefined;
|
|
2324
|
+
}
|
|
2325
|
+
const CalendarUtils: CalendarUtils;
|
|
2326
|
+
export default CalendarUtils;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2276
2329
|
declare module "sap/ui/core/InvisibleRenderer" {
|
|
2277
2330
|
/**
|
|
2278
2331
|
* @SINCE 1.66.0
|
|
@@ -5801,7 +5854,11 @@ declare namespace sap {
|
|
|
5801
5854
|
/**
|
|
5802
5855
|
* Dependency (dependencies) to resolve
|
|
5803
5856
|
*/
|
|
5804
|
-
vDependencies:
|
|
5857
|
+
vDependencies:
|
|
5858
|
+
| string
|
|
5859
|
+
| Array<
|
|
5860
|
+
keyof IUI5DefineDependencyNames | (string & { IGNORE_ME?: never })
|
|
5861
|
+
>,
|
|
5805
5862
|
/**
|
|
5806
5863
|
* Callback function to execute after resolving an array of dependencies
|
|
5807
5864
|
*/
|
|
@@ -6366,7 +6423,8 @@ declare namespace sap {
|
|
|
6366
6423
|
): sap.ui.core.mvc.XMLView;
|
|
6367
6424
|
/**
|
|
6368
6425
|
* @deprecated (since 1.15.1) - use a {@link sap.ui.core.Component} instead.
|
|
6369
|
-
* @EXPERIMENTAL (since 1.11.1)
|
|
6426
|
+
* @EXPERIMENTAL (since 1.11.1) - The Application concept is still under construction, so some implementation
|
|
6427
|
+
* details can be changed in future.
|
|
6370
6428
|
*
|
|
6371
6429
|
* Provides a specialization of `sap.ui.core.Component` which represents a central application.
|
|
6372
6430
|
*/
|
|
@@ -6387,7 +6445,8 @@ declare namespace sap {
|
|
|
6387
6445
|
|
|
6388
6446
|
/**
|
|
6389
6447
|
* @deprecated (since 1.15.1) - The Component class is enhanced to take care about the Application code.
|
|
6390
|
-
* @EXPERIMENTAL (since 1.11.1)
|
|
6448
|
+
* @EXPERIMENTAL (since 1.11.1) - The Application class is still under construction, so some implementation
|
|
6449
|
+
* details can be changed in future.
|
|
6391
6450
|
*
|
|
6392
6451
|
* Abstract application class. Extend this class to create a central application class.
|
|
6393
6452
|
*/
|
|
@@ -6569,7 +6628,8 @@ declare namespace sap {
|
|
|
6569
6628
|
}
|
|
6570
6629
|
/**
|
|
6571
6630
|
* @deprecated (since 1.15.1) - The mock server code has been moved to sap.ui.core.util - see {@link sap.ui.core.util.MockServer}
|
|
6572
|
-
* @EXPERIMENTAL (since 1.13.0)
|
|
6631
|
+
* @EXPERIMENTAL (since 1.13.0) - The mock server is still under construction, so some implementation details
|
|
6632
|
+
* can be changed in future.
|
|
6573
6633
|
*
|
|
6574
6634
|
* Class to mock a server.
|
|
6575
6635
|
*/
|
|
@@ -9229,14 +9289,14 @@ declare namespace sap {
|
|
|
9229
9289
|
* - string literals `"null"` or `"undefined"` Omitting the model name (or using the value `undefined`)
|
|
9230
9290
|
* is explicitly allowed and refers to the default model.
|
|
9231
9291
|
*
|
|
9232
|
-
* @returns oModel
|
|
9292
|
+
* @returns oModel or undefined when there is no such model
|
|
9233
9293
|
*/
|
|
9234
9294
|
getModel(
|
|
9235
9295
|
/**
|
|
9236
9296
|
* name of the model to be retrieved
|
|
9237
9297
|
*/
|
|
9238
9298
|
sModelName?: string
|
|
9239
|
-
): sap.ui.model.Model;
|
|
9299
|
+
): sap.ui.model.Model | undefined;
|
|
9240
9300
|
/**
|
|
9241
9301
|
* Get the object binding object for a specific model.
|
|
9242
9302
|
*
|
|
@@ -13074,6 +13134,11 @@ declare namespace sap {
|
|
|
13074
13134
|
* Object which defines the format options
|
|
13075
13135
|
*/
|
|
13076
13136
|
oFormatOptions?: {
|
|
13137
|
+
/**
|
|
13138
|
+
* @since 1.108.0 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13139
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`.
|
|
13140
|
+
*/
|
|
13141
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13077
13142
|
/**
|
|
13078
13143
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13079
13144
|
* the value taken from the locale is used
|
|
@@ -13106,7 +13171,7 @@ declare namespace sap {
|
|
|
13106
13171
|
strictParsing?: boolean;
|
|
13107
13172
|
/**
|
|
13108
13173
|
* if true, the date is formatted relatively to todays date if it is within the given day range, e.g. "today",
|
|
13109
|
-
* "
|
|
13174
|
+
* "1 day ago", "in 5 days"
|
|
13110
13175
|
*/
|
|
13111
13176
|
relative?: boolean;
|
|
13112
13177
|
/**
|
|
@@ -13162,6 +13227,11 @@ declare namespace sap {
|
|
|
13162
13227
|
* Object which defines the format options
|
|
13163
13228
|
*/
|
|
13164
13229
|
oFormatOptions?: {
|
|
13230
|
+
/**
|
|
13231
|
+
* @since 1.108.0 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13232
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`.
|
|
13233
|
+
*/
|
|
13234
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13165
13235
|
/**
|
|
13166
13236
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13167
13237
|
* the value taken from the locale is used
|
|
@@ -13196,7 +13266,7 @@ declare namespace sap {
|
|
|
13196
13266
|
strictParsing?: boolean;
|
|
13197
13267
|
/**
|
|
13198
13268
|
* if true, the date is formatted relatively to today's date if it is within the given day range, e.g. "today",
|
|
13199
|
-
* "
|
|
13269
|
+
* "1 day ago", "in 5 days"
|
|
13200
13270
|
*/
|
|
13201
13271
|
relative?: boolean;
|
|
13202
13272
|
/**
|
|
@@ -13254,6 +13324,11 @@ declare namespace sap {
|
|
|
13254
13324
|
* An object which defines the format options
|
|
13255
13325
|
*/
|
|
13256
13326
|
oFormatOptions?: {
|
|
13327
|
+
/**
|
|
13328
|
+
* @since 1.108.0 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13329
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`.
|
|
13330
|
+
*/
|
|
13331
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13257
13332
|
/**
|
|
13258
13333
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13259
13334
|
* the value taken from the locale is used
|
|
@@ -13303,7 +13378,7 @@ declare namespace sap {
|
|
|
13303
13378
|
strictParsing?: boolean;
|
|
13304
13379
|
/**
|
|
13305
13380
|
* Whether the date is formatted relatively to today's date if it is within the given day range, e.g. "today",
|
|
13306
|
-
* "
|
|
13381
|
+
* "1 day ago", "in 5 days"
|
|
13307
13382
|
*/
|
|
13308
13383
|
relative?: boolean;
|
|
13309
13384
|
/**
|
|
@@ -13343,6 +13418,11 @@ declare namespace sap {
|
|
|
13343
13418
|
* Object which defines the format options
|
|
13344
13419
|
*/
|
|
13345
13420
|
oFormatOptions?: {
|
|
13421
|
+
/**
|
|
13422
|
+
* @since 1.108.0 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13423
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`.
|
|
13424
|
+
*/
|
|
13425
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13346
13426
|
/**
|
|
13347
13427
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13348
13428
|
* the value taken from the locale is used
|
|
@@ -13375,7 +13455,7 @@ declare namespace sap {
|
|
|
13375
13455
|
strictParsing?: boolean;
|
|
13376
13456
|
/**
|
|
13377
13457
|
* if true, the date is formatted relatively to todays date if it is within the given day range, e.g. "today",
|
|
13378
|
-
* "
|
|
13458
|
+
* "1 day ago", "in 5 days"
|
|
13379
13459
|
*/
|
|
13380
13460
|
relative?: boolean;
|
|
13381
13461
|
/**
|
|
@@ -14793,7 +14873,7 @@ declare namespace sap {
|
|
|
14793
14873
|
*/
|
|
14794
14874
|
getPersistent(): boolean;
|
|
14795
14875
|
/**
|
|
14796
|
-
* @deprecated - As a message may have multiple targets, use {@link #getTargets} instead
|
|
14876
|
+
* @deprecated (since 1.79.0) - As a message may have multiple targets, use {@link #getTargets} instead
|
|
14797
14877
|
*
|
|
14798
14878
|
* Returns the message target or the first target if the message has multiple targets.
|
|
14799
14879
|
*
|
|
@@ -14900,7 +14980,7 @@ declare namespace sap {
|
|
|
14900
14980
|
bPersistent: boolean
|
|
14901
14981
|
): void;
|
|
14902
14982
|
/**
|
|
14903
|
-
* @deprecated - As a message may have multiple targets, use {@link #setTargets} instead
|
|
14983
|
+
* @deprecated (since 1.79.0) - As a message may have multiple targets, use {@link #setTargets} instead
|
|
14904
14984
|
*
|
|
14905
14985
|
* Sets the message target; in case the message has multiple targets, sets the first target of the message.
|
|
14906
14986
|
* The syntax is MessageProcessor dependent. See the documentation of the respective MessageProcessor.
|
|
@@ -15873,6 +15953,13 @@ declare namespace sap {
|
|
|
15873
15953
|
}
|
|
15874
15954
|
/**
|
|
15875
15955
|
* @SINCE 1.9.2
|
|
15956
|
+
* @deprecated (since 1.108) - as there are no more known usages of `HTMLViews`, and as the use of HTML
|
|
15957
|
+
* as syntax does not bring any advantages over XML. The HTML necessary for the `HTMLView` is not re-used
|
|
15958
|
+
* for the HTML of the controls, but is fully replaced.
|
|
15959
|
+
*
|
|
15960
|
+
* Consider using {@link sap.ui.core.mvx.XMLView XMLViews} or "typed views" (view classes written in JavaScript)
|
|
15961
|
+
* instead. For more information, see the documentation on {@link topic:91f27e3e6f4d1014b6dd926db0e91070
|
|
15962
|
+
* View types}.
|
|
15876
15963
|
*
|
|
15877
15964
|
* A view defined/constructed by declarative HTML.
|
|
15878
15965
|
*/
|
|
@@ -18162,6 +18249,41 @@ declare namespace sap {
|
|
|
18162
18249
|
enum AnimationMode {}
|
|
18163
18250
|
}
|
|
18164
18251
|
|
|
18252
|
+
namespace date {
|
|
18253
|
+
/**
|
|
18254
|
+
* @SINCE 1.108.0
|
|
18255
|
+
*
|
|
18256
|
+
* The `CalendarWeekNumbering` enum defines how to calculate calendar weeks. Each value defines:
|
|
18257
|
+
* - The first day of the week,
|
|
18258
|
+
* - the first week of the year.
|
|
18259
|
+
*/
|
|
18260
|
+
enum CalendarWeekNumbering {
|
|
18261
|
+
/**
|
|
18262
|
+
* The default calendar week numbering:
|
|
18263
|
+
*
|
|
18264
|
+
* The framework determines the week numbering scheme; currently it is derived from the active format locale.
|
|
18265
|
+
* Future versions of UI5 might select a different week numbering scheme.
|
|
18266
|
+
*/
|
|
18267
|
+
Default = "Default",
|
|
18268
|
+
/**
|
|
18269
|
+
* Official calendar week numbering in most of Europe (ISO 8601 standard):
|
|
18270
|
+
* Monday is first day of the week, the week containing January 4th is first week of the year.
|
|
18271
|
+
*/
|
|
18272
|
+
ISO_8601 = "ISO_8601",
|
|
18273
|
+
/**
|
|
18274
|
+
* Official calendar week numbering in much of the Middle East (Middle Eastern calendar):
|
|
18275
|
+
* Saturday is first day of the week, the week containing January 1st is first week of the year.
|
|
18276
|
+
*/
|
|
18277
|
+
MiddleEastern = "MiddleEastern",
|
|
18278
|
+
/**
|
|
18279
|
+
* Official calendar week numbering in the United States, Canada, Brazil, Israel, Japan, and other countries
|
|
18280
|
+
* (Western traditional calendar):
|
|
18281
|
+
* Sunday is first day of the week, the week containing January 1st is first week of the year.
|
|
18282
|
+
*/
|
|
18283
|
+
WesternTraditional = "WesternTraditional",
|
|
18284
|
+
}
|
|
18285
|
+
}
|
|
18286
|
+
|
|
18165
18287
|
namespace Element {
|
|
18166
18288
|
/**
|
|
18167
18289
|
* @SINCE 1.67
|
|
@@ -27793,7 +27915,8 @@ declare namespace sap {
|
|
|
27793
27915
|
*/
|
|
27794
27916
|
getTemplate(sId: string): sap.ui.core.Component;
|
|
27795
27917
|
/**
|
|
27796
|
-
* @deprecated (since 1.107) - use {@link sap.ui.core.UIArea.registry#get UIArea.registry#get} instead
|
|
27918
|
+
* @deprecated (since 1.107) - use {@link sap.ui.core.UIArea.registry#get UIArea.registry#get} instead,
|
|
27919
|
+
* but note that `UIArea.registry.get` only accepts the ID of the UIArea as argument.
|
|
27797
27920
|
*
|
|
27798
27921
|
* Returns the {@link sap.ui.core.UIArea UIArea} with the given ID or that belongs to the given DOM element.
|
|
27799
27922
|
*
|
|
@@ -31716,6 +31839,9 @@ declare namespace sap {
|
|
|
31716
31839
|
* // `null` can be provided.
|
|
31717
31840
|
* editable: true, // Boolean which describes whether the control is editable. If not relevant it must not be set or
|
|
31718
31841
|
* // `null` can be provided.
|
|
31842
|
+
* required: true, // Boolean which describes whether the control is mandatory. If not relevant it must not be set or
|
|
31843
|
+
* // `null` can be provided. The required state might also be handled as part of the description. In this
|
|
31844
|
+
* // case this flag should not be used.
|
|
31719
31845
|
* children: [] // Aggregations of the given control (e.g. when the control is a layout). Primitive aggregations will be ignored.
|
|
31720
31846
|
* // Note: Children should only be provided when it is helpful to understand the accessibility context
|
|
31721
31847
|
* // (e.g. a form control must not provide details of its internals (fields, labels, ...) but a
|
|
@@ -38690,7 +38816,7 @@ declare namespace sap {
|
|
|
38690
38816
|
* of IDs for the ARIA attributes `aria-describedby` and `aria-labelledby`.
|
|
38691
38817
|
*
|
|
38692
38818
|
* Label controls that reference the given element in their `labelFor` relation are automatically added
|
|
38693
|
-
* to the `aria-labelledby`
|
|
38819
|
+
* to the `aria-labelledby` attribute.
|
|
38694
38820
|
*
|
|
38695
38821
|
* Note: This function is only a heuristic of a control property to ARIA attribute mapping. Control developers
|
|
38696
38822
|
* have to check whether it fulfills their requirements. In case of problems (for example the `RadioButton`
|
|
@@ -41241,6 +41367,10 @@ declare namespace sap {
|
|
|
41241
41367
|
* Type: Medium size
|
|
41242
41368
|
*/
|
|
41243
41369
|
Medium = "Medium",
|
|
41370
|
+
/**
|
|
41371
|
+
* Type: Medium size, specifically if the BusyIndicator is displayed over a page section
|
|
41372
|
+
*/
|
|
41373
|
+
Section = "Section",
|
|
41244
41374
|
/**
|
|
41245
41375
|
* Type: small size
|
|
41246
41376
|
*/
|
|
@@ -41818,12 +41948,14 @@ declare namespace sap {
|
|
|
41818
41948
|
type Collision = string;
|
|
41819
41949
|
|
|
41820
41950
|
/**
|
|
41821
|
-
* A string type that represents CSS color values.
|
|
41822
|
-
*
|
|
41823
|
-
* Allowed values are CSS hex colors like "#666666" or "#fff", RGB/HSL values like "rgb(0,0,0)" or "hsla(50%,10%,30%,0.5)"
|
|
41824
|
-
* as well as CSS color names like "green" and "darkblue" and special values like "inherit" and "transparent".
|
|
41951
|
+
* A string type that represents CSS color values (CSS Color Level 3).
|
|
41825
41952
|
*
|
|
41826
|
-
*
|
|
41953
|
+
* **Allowed values are:**
|
|
41954
|
+
* - Hex colors like `#666666` or `#fff`,
|
|
41955
|
+
* - HSL/RGB values with or without transparency, like `hsla(90,10%,30%,0.5)` or `rgb(0,0,0)`,
|
|
41956
|
+
* - CSS color names like `darkblue`, or special values like `inherit` and `transparent`,
|
|
41957
|
+
* - an empty string, which has the same effect as setting no color. For more information about
|
|
41958
|
+
* the CSS Level 3 color specification, see {@link https://www.w3.org/TR/css-color-3/#css-system}.
|
|
41827
41959
|
*/
|
|
41828
41960
|
type CSSColor = string;
|
|
41829
41961
|
|
|
@@ -42131,7 +42263,7 @@ declare namespace sap {
|
|
|
42131
42263
|
*/
|
|
42132
42264
|
namespace analytics {
|
|
42133
42265
|
/**
|
|
42134
|
-
* @EXPERIMENTAL
|
|
42266
|
+
* @EXPERIMENTAL - This module is only for experimental use!
|
|
42135
42267
|
*
|
|
42136
42268
|
* If called on an instance of an (v1/v2) ODataModel it will enrich it with analytics capabilities.
|
|
42137
42269
|
*/
|
|
@@ -43918,7 +44050,7 @@ declare namespace sap {
|
|
|
43918
44050
|
}
|
|
43919
44051
|
}
|
|
43920
44052
|
/**
|
|
43921
|
-
* @EXPERIMENTAL
|
|
44053
|
+
* @EXPERIMENTAL - This module is only for experimental use!
|
|
43922
44054
|
*
|
|
43923
44055
|
* The OData4Analytics API is purely experimental, not yet functionally complete and not meant for productive
|
|
43924
44056
|
* usage. At present, its only purpose is to demonstrate how easy analytical extensions of OData4SAP can
|
|
@@ -43946,7 +44078,7 @@ declare namespace sap {
|
|
|
43946
44078
|
const odata4analytics: odata4analytics;
|
|
43947
44079
|
|
|
43948
44080
|
/**
|
|
43949
|
-
* @EXPERIMENTAL
|
|
44081
|
+
* @EXPERIMENTAL - This module is only for experimental use!
|
|
43950
44082
|
*
|
|
43951
44083
|
* Tree binding implementation for OData entity sets with aggregate semantics.
|
|
43952
44084
|
*
|
|
@@ -45031,7 +45163,7 @@ declare namespace sap {
|
|
|
45031
45163
|
*/
|
|
45032
45164
|
namespace odata {
|
|
45033
45165
|
/**
|
|
45034
|
-
* @EXPERIMENTAL
|
|
45166
|
+
* @EXPERIMENTAL - This module is only for experimental and internal use!
|
|
45035
45167
|
*
|
|
45036
45168
|
* Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
|
|
45037
45169
|
* controls. Only usable with the sap.ui.table.TreeTable control. The functions defined here are only available
|
|
@@ -48828,6 +48960,10 @@ declare namespace sap {
|
|
|
48828
48960
|
*
|
|
48829
48961
|
* Note: This method requires that the model metadata has been loaded; see {@link sap.ui.model.odata.v2.ODataModel#metadataLoaded}.
|
|
48830
48962
|
*
|
|
48963
|
+
* Since 1.108.0, this method supports deep create, which means it may be called if this binding's context
|
|
48964
|
+
* is transient. The restrictions specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} regarding
|
|
48965
|
+
* deep create apply.
|
|
48966
|
+
*
|
|
48831
48967
|
* @returns The context representing the created entity
|
|
48832
48968
|
*/
|
|
48833
48969
|
create(
|
|
@@ -48843,8 +48979,9 @@ declare namespace sap {
|
|
|
48843
48979
|
*/
|
|
48844
48980
|
bAtEnd: boolean,
|
|
48845
48981
|
/**
|
|
48846
|
-
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} where only
|
|
48847
|
-
* the
|
|
48982
|
+
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry}, where only
|
|
48983
|
+
* the subset given below is supported. In case of deep create, **none** of the parameters in `mParameters`
|
|
48984
|
+
* must be set.
|
|
48848
48985
|
*/
|
|
48849
48986
|
mParameters: {
|
|
48850
48987
|
/**
|
|
@@ -48886,6 +49023,10 @@ declare namespace sap {
|
|
|
48886
49023
|
*
|
|
48887
49024
|
* Note: This method requires that the model metadata has been loaded; see {@link sap.ui.model.odata.v2.ODataModel#metadataLoaded}.
|
|
48888
49025
|
*
|
|
49026
|
+
* Since 1.108.0, this method supports deep create, which means it may be called if this binding's context
|
|
49027
|
+
* is transient. The restrictions specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} regarding
|
|
49028
|
+
* deep create apply.
|
|
49029
|
+
*
|
|
48889
49030
|
* @returns The context representing the created entity
|
|
48890
49031
|
*/
|
|
48891
49032
|
create(
|
|
@@ -48894,8 +49035,9 @@ declare namespace sap {
|
|
|
48894
49035
|
*/
|
|
48895
49036
|
oInitialData: object,
|
|
48896
49037
|
/**
|
|
48897
|
-
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} where only
|
|
48898
|
-
* the
|
|
49038
|
+
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry}, where only
|
|
49039
|
+
* the subset given below is supported. In case of deep create, **none** of the parameters in `mParameters`
|
|
49040
|
+
* must be set.
|
|
48899
49041
|
*/
|
|
48900
49042
|
mParameters: {
|
|
48901
49043
|
/**
|
|
@@ -48937,6 +49079,10 @@ declare namespace sap {
|
|
|
48937
49079
|
*
|
|
48938
49080
|
* Note: This method requires that the model metadata has been loaded; see {@link sap.ui.model.odata.v2.ODataModel#metadataLoaded}.
|
|
48939
49081
|
*
|
|
49082
|
+
* Since 1.108.0, this method supports deep create, which means it may be called if this binding's context
|
|
49083
|
+
* is transient. The restrictions specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} regarding
|
|
49084
|
+
* deep create apply.
|
|
49085
|
+
*
|
|
48940
49086
|
* @returns The context representing the created entity
|
|
48941
49087
|
*/
|
|
48942
49088
|
create(
|
|
@@ -48948,8 +49094,9 @@ declare namespace sap {
|
|
|
48948
49094
|
*/
|
|
48949
49095
|
bAtEnd: boolean,
|
|
48950
49096
|
/**
|
|
48951
|
-
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} where only
|
|
48952
|
-
* the
|
|
49097
|
+
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry}, where only
|
|
49098
|
+
* the subset given below is supported. In case of deep create, **none** of the parameters in `mParameters`
|
|
49099
|
+
* must be set.
|
|
48953
49100
|
*/
|
|
48954
49101
|
mParameters: {
|
|
48955
49102
|
/**
|
|
@@ -48991,12 +49138,17 @@ declare namespace sap {
|
|
|
48991
49138
|
*
|
|
48992
49139
|
* Note: This method requires that the model metadata has been loaded; see {@link sap.ui.model.odata.v2.ODataModel#metadataLoaded}.
|
|
48993
49140
|
*
|
|
49141
|
+
* Since 1.108.0, this method supports deep create, which means it may be called if this binding's context
|
|
49142
|
+
* is transient. The restrictions specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} regarding
|
|
49143
|
+
* deep create apply.
|
|
49144
|
+
*
|
|
48994
49145
|
* @returns The context representing the created entity
|
|
48995
49146
|
*/
|
|
48996
49147
|
create(
|
|
48997
49148
|
/**
|
|
48998
|
-
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry} where only
|
|
48999
|
-
* the
|
|
49149
|
+
* A map of parameters as specified for {@link sap.ui.model.odata.v2.ODataModel#createEntry}, where only
|
|
49150
|
+
* the subset given below is supported. In case of deep create, **none** of the parameters in `mParameters`
|
|
49151
|
+
* must be set.
|
|
49000
49152
|
*/
|
|
49001
49153
|
mParameters: {
|
|
49002
49154
|
/**
|
|
@@ -50205,7 +50357,8 @@ declare namespace sap {
|
|
|
50205
50357
|
* topic:6c47b2b39db9404582994070ec3d57a2#loio4c4cd99af9b14e08bb72470cc7cabff4 Creating Entities documentation}
|
|
50206
50358
|
* for comprehensive information on the topic.
|
|
50207
50359
|
*
|
|
50208
|
-
*
|
|
50360
|
+
* **Note:** This function does not support a "deep create" scenario. Use {@link #createEntry} or {@link
|
|
50361
|
+
* sap.ui.model.odata.v2.ODataListBinding#create} instead.
|
|
50209
50362
|
*
|
|
50210
50363
|
* @returns An object which has an `abort` function to abort the current request.
|
|
50211
50364
|
*/
|
|
@@ -50370,9 +50523,14 @@ declare namespace sap {
|
|
|
50370
50523
|
* for example if the server requires a unit for an amount. This also applies if this property has a default
|
|
50371
50524
|
* value.
|
|
50372
50525
|
*
|
|
50373
|
-
* Note:
|
|
50374
|
-
*
|
|
50375
|
-
* the back-end system.
|
|
50526
|
+
* Note: Deep create is only supported since 1.108.0, where "deep create" means creation of a sub-entity
|
|
50527
|
+
* for a navigation property of a transient, not yet persisted root entity. Before 1.108.0, the sub-entity
|
|
50528
|
+
* had to be created after the transient entity had been saved successfully in the back-end system. Since
|
|
50529
|
+
* 1.108.0, a deep create is triggered when the `sPath` parameter is a navigation property for the entity
|
|
50530
|
+
* type associated with the transient context given in `mParameters.context`. The payload of the OData request
|
|
50531
|
+
* to create the root entity then contains its sub-entities. On creation of a sub-entity, only the `sPath`,
|
|
50532
|
+
* `mParameters.context` and `mParameters.properties` method parameters are allowed; the context given in
|
|
50533
|
+
* `mParameters.context` must not be inactive.
|
|
50376
50534
|
*
|
|
50377
50535
|
* @returns An OData V2 context object that points to the newly created entry; or `undefined` if the service
|
|
50378
50536
|
* metadata are not yet loaded or if a `created` callback parameter is given
|
|
@@ -52018,9 +52176,9 @@ declare namespace sap {
|
|
|
52018
52176
|
): this;
|
|
52019
52177
|
}
|
|
52020
52178
|
/**
|
|
52021
|
-
* @deprecated - Use {@link sap.ui.model.odata.CountMode} to specify how the count of collections
|
|
52022
|
-
* Use the `useBatch` parameter of the {@link sap.ui.model.odata.v2.ODataModel} constructor
|
|
52023
|
-
* requests are sent in $batch.
|
|
52179
|
+
* @deprecated (since 1.74.0) - Use {@link sap.ui.model.odata.CountMode} to specify how the count of collections
|
|
52180
|
+
* is retrieved. Use the `useBatch` parameter of the {@link sap.ui.model.odata.v2.ODataModel} constructor
|
|
52181
|
+
* to specify whether requests are sent in $batch.
|
|
52024
52182
|
*
|
|
52025
52183
|
* Different modes for retrieving the count of collections.
|
|
52026
52184
|
*/
|
|
@@ -52775,17 +52933,16 @@ declare namespace sap {
|
|
|
52775
52933
|
* Deletes the OData entity this context points to. The context is removed from the binding immediately,
|
|
52776
52934
|
* even if {@link sap.ui.model.odata.v4.SubmitMode.API} is used, and the request is only sent later when
|
|
52777
52935
|
* {@link sap.ui.model.odata.v4.ODataModel#submitBatch} is called. As long as the context is deleted on
|
|
52778
|
-
* the client, but not yet on the server, {@link #isDeleted} returns `true
|
|
52779
|
-
*
|
|
52936
|
+
* the client, but not yet on the server, {@link #isDeleted} returns `true` and the context must not be
|
|
52937
|
+
* used anymore (except for checking {@link #isDeleted}), especially not as a binding context. The application
|
|
52938
|
+
* has to take care that the context is no longer used.
|
|
52780
52939
|
*
|
|
52781
52940
|
* Since 1.105 such a pending deletion is a pending change. It causes `hasPendingChanges` to return `true`
|
|
52782
52941
|
* for the context, the binding containing it, and the model. `resetChanges` in binding or model cancels
|
|
52783
52942
|
* the deletion and restores the context.
|
|
52784
52943
|
*
|
|
52785
|
-
*
|
|
52786
|
-
* is
|
|
52787
|
-
*
|
|
52788
|
-
* The context must not be used anymore after successful deletion.
|
|
52944
|
+
* If the DELETE request succeeds, the context is destroyed and must not be used anymore. If it fails, the
|
|
52945
|
+
* context is restored, reinserted into the list, and fully functional again.
|
|
52789
52946
|
* See:
|
|
52790
52947
|
* #hasPendingChanges
|
|
52791
52948
|
* sap.ui.model.odata.v4.ODataContextBinding#hasPendingChanges
|
|
@@ -52810,7 +52967,8 @@ declare namespace sap {
|
|
|
52810
52967
|
* binding is used, see {@link #getUpdateGroupId}. Since 1.81, if this context is transient (see {@link
|
|
52811
52968
|
* #isTransient}), no group ID needs to be specified. Since 1.98.0, you can use `null` to prevent the DELETE
|
|
52812
52969
|
* request in case of a kept-alive context that is not in the collection and of which you know that it does
|
|
52813
|
-
* not exist on the server anymore (for example, a draft after activation).
|
|
52970
|
+
* not exist on the server anymore (for example, a draft after activation). Since 1.108.0 the usage of a
|
|
52971
|
+
* group ID with {@link sap.ui.model.odata.v4.SubmitMode.API} is possible.
|
|
52814
52972
|
*/
|
|
52815
52973
|
sGroupId?: string,
|
|
52816
52974
|
/**
|
|
@@ -53177,6 +53335,9 @@ declare namespace sap {
|
|
|
53177
53335
|
* Use it to set fields affected by side effects to read-only before {@link #requestSideEffects} and make
|
|
53178
53336
|
* them editable again when the promise resolves; in the error handler, you can repeat the loading of side
|
|
53179
53337
|
* effects.
|
|
53338
|
+
* The promise is rejected if the call wants to refresh a whole list binding (via header context or an
|
|
53339
|
+
* absolute path), but the deletion of a row context (see {@link #delete}) is pending with a different group
|
|
53340
|
+
* ID.
|
|
53180
53341
|
*/
|
|
53181
53342
|
requestSideEffects(
|
|
53182
53343
|
/**
|
|
@@ -53616,11 +53777,10 @@ declare namespace sap {
|
|
|
53616
53777
|
/**
|
|
53617
53778
|
* @SINCE 1.39.0
|
|
53618
53779
|
*
|
|
53619
|
-
* Returns `true` if this binding or its dependent bindings have
|
|
53620
|
-
* which have not been sent successfully to the server. This function does not take
|
|
53621
|
-
* of
|
|
53622
|
-
*
|
|
53623
|
-
* inactive} contexts are ignored.
|
|
53780
|
+
* Returns `true` if this binding or its dependent bindings have property changes, created entities, or
|
|
53781
|
+
* entity deletions which have not been sent successfully to the server. This function does not take the
|
|
53782
|
+
* execution of OData operations (see {@link sap.ui.model.odata.v4.ODataContextBinding#execute}) into account.
|
|
53783
|
+
* Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isInactive inactive} contexts are ignored.
|
|
53624
53784
|
*
|
|
53625
53785
|
* Note: If this binding is relative, its data is cached separately for each parent context path. This method
|
|
53626
53786
|
* returns `true` if there are pending changes for the current parent context path of this binding. If this
|
|
@@ -53633,10 +53793,11 @@ declare namespace sap {
|
|
|
53633
53793
|
* Whether to ignore changes which will not be lost by APIs like {@link sap.ui.model.odata.v4.ODataListBinding#changeParameters
|
|
53634
53794
|
* changeParameters}, {@link sap.ui.model.odata.v4.ODataListBinding#filter filter}, {@link sap.ui.model.odata.v4.ODataListBinding#refresh
|
|
53635
53795
|
* refresh} (since 1.100.0), {@link sap.ui.model.odata.v4.ODataListBinding#sort sort}, or {@link sap.ui.model.odata.v4.ODataListBinding#suspend
|
|
53636
|
-
* suspend} because they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive kept-alive}
|
|
53637
|
-
*
|
|
53638
|
-
*
|
|
53639
|
-
*
|
|
53796
|
+
* suspend} because they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive kept-alive} (since
|
|
53797
|
+
* 1.97.0) or {@link sap.ui.model.odata.v4.Context#delete deleted} (since 1.108.0) context of this binding.
|
|
53798
|
+
* Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isTransient transient} contexts of a {@link #getRootBinding
|
|
53799
|
+
* root binding} are treated as kept-alive by this flag. Since 1.99.0, the same happens for bindings using
|
|
53800
|
+
* the `$$ownRequest` parameter (see {@link sap.ui.model.odata.v4.ODataModel#bindList}).
|
|
53640
53801
|
*/
|
|
53641
53802
|
bIgnoreKeptAlive?: boolean
|
|
53642
53803
|
): boolean;
|
|
@@ -53771,7 +53932,8 @@ declare namespace sap {
|
|
|
53771
53932
|
* requests. Call {@link #resume} to resume the binding. Before 1.53.0, this method was not supported and
|
|
53772
53933
|
* threw an error. Since 1.97.0, pending changes are ignored if they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive
|
|
53773
53934
|
* kept-alive} context of this binding. Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isTransient transient}
|
|
53774
|
-
* contexts of a {@link #getRootBinding root binding} do not count as pending changes.
|
|
53935
|
+
* contexts of a {@link #getRootBinding root binding} do not count as pending changes. Since 1.108.0 {@link
|
|
53936
|
+
* sap.ui.model.odata.v4.Context#delete deleted} contexts do not count as pending changes.
|
|
53775
53937
|
* See:
|
|
53776
53938
|
* {@link topic:b0f5c531e5034a27952cc748954cbe39 Suspend and Resume}
|
|
53777
53939
|
* sap.ui.model.Binding#suspend
|
|
@@ -54224,9 +54386,10 @@ declare namespace sap {
|
|
|
54224
54386
|
*
|
|
54225
54387
|
* If known, the value represents the sum of the element count of the collection on the server and the number
|
|
54226
54388
|
* of {@link sap.ui.model.odata.v4.Context#isInactive active} {@link sap.ui.model.odata.v4.Context#isTransient
|
|
54227
|
-
* transient} entities created on the client
|
|
54228
|
-
* `Edm.Int64`. Since 1.91.0, in case
|
|
54229
|
-
*
|
|
54389
|
+
* transient} entities created on the client, minus the {@link #sap.ui.model.data.v4.Context#delete deleted}
|
|
54390
|
+
* entities. Otherwise, it is `undefined`. The value is a number of type `Edm.Int64`. Since 1.91.0, in case
|
|
54391
|
+
* of data aggregation with group levels, the count is the leaf count on the server; it is only determined
|
|
54392
|
+
* if the `$count` system query option is given.
|
|
54230
54393
|
*
|
|
54231
54394
|
* The count is known to the binding in the following situations:
|
|
54232
54395
|
* The server-side count has been requested via the `$count` system query option. A "short read"
|
|
@@ -54248,7 +54411,8 @@ declare namespace sap {
|
|
|
54248
54411
|
*
|
|
54249
54412
|
* Returns the contexts that were requested by a control last time. Does not trigger a data request. In
|
|
54250
54413
|
* the time between the {@link #event:dataRequested} event and the {@link #event:dataReceived} event, the
|
|
54251
|
-
* resulting array contains `undefined` at those indexes where the data is not yet available
|
|
54414
|
+
* resulting array contains `undefined` at those indexes where the data is not yet available or has been
|
|
54415
|
+
* deleted.
|
|
54252
54416
|
* See:
|
|
54253
54417
|
* sap.ui.model.ListBinding#getCurrentContexts
|
|
54254
54418
|
* #getAllCurrentContexts
|
|
@@ -54385,11 +54549,10 @@ declare namespace sap {
|
|
|
54385
54549
|
/**
|
|
54386
54550
|
* @SINCE 1.39.0
|
|
54387
54551
|
*
|
|
54388
|
-
* Returns `true` if this binding or its dependent bindings have
|
|
54389
|
-
* which have not been sent successfully to the server. This function does not take
|
|
54390
|
-
* of
|
|
54391
|
-
*
|
|
54392
|
-
* inactive} contexts are ignored.
|
|
54552
|
+
* Returns `true` if this binding or its dependent bindings have property changes, created entities, or
|
|
54553
|
+
* entity deletions which have not been sent successfully to the server. This function does not take the
|
|
54554
|
+
* execution of OData operations (see {@link sap.ui.model.odata.v4.ODataContextBinding#execute}) into account.
|
|
54555
|
+
* Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isInactive inactive} contexts are ignored.
|
|
54393
54556
|
*
|
|
54394
54557
|
* Note: If this binding is relative, its data is cached separately for each parent context path. This method
|
|
54395
54558
|
* returns `true` if there are pending changes for the current parent context path of this binding. If this
|
|
@@ -54402,10 +54565,11 @@ declare namespace sap {
|
|
|
54402
54565
|
* Whether to ignore changes which will not be lost by APIs like {@link sap.ui.model.odata.v4.ODataListBinding#changeParameters
|
|
54403
54566
|
* changeParameters}, {@link sap.ui.model.odata.v4.ODataListBinding#filter filter}, {@link sap.ui.model.odata.v4.ODataListBinding#refresh
|
|
54404
54567
|
* refresh} (since 1.100.0), {@link sap.ui.model.odata.v4.ODataListBinding#sort sort}, or {@link sap.ui.model.odata.v4.ODataListBinding#suspend
|
|
54405
|
-
* suspend} because they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive kept-alive}
|
|
54406
|
-
*
|
|
54407
|
-
*
|
|
54408
|
-
*
|
|
54568
|
+
* suspend} because they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive kept-alive} (since
|
|
54569
|
+
* 1.97.0) or {@link sap.ui.model.odata.v4.Context#delete deleted} (since 1.108.0) context of this binding.
|
|
54570
|
+
* Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isTransient transient} contexts of a {@link #getRootBinding
|
|
54571
|
+
* root binding} are treated as kept-alive by this flag. Since 1.99.0, the same happens for bindings using
|
|
54572
|
+
* the `$$ownRequest` parameter (see {@link sap.ui.model.odata.v4.ODataModel#bindList}).
|
|
54409
54573
|
*/
|
|
54410
54574
|
bIgnoreKeptAlive?: boolean
|
|
54411
54575
|
): boolean;
|
|
@@ -54607,8 +54771,9 @@ declare namespace sap {
|
|
|
54607
54771
|
/**
|
|
54608
54772
|
* A map from aggregatable property names or aliases to objects containing the following details:
|
|
54609
54773
|
* `grandTotal`: An optional boolean that tells whether a grand total for this aggregatable property is
|
|
54610
|
-
* needed (since 1.59.0);
|
|
54611
|
-
*
|
|
54774
|
+
* needed (since 1.59.0); not supported in this case are:
|
|
54775
|
+
* filtering by any aggregatable property (since 1.89.0), "$search" (since 1.93.0), the `vGroup`
|
|
54776
|
+
* parameter of {@link sap.ui.model.Sorter} (since 1.107.0), shared requests (since 1.108.0).
|
|
54612
54777
|
* `subtotals`: An optional boolean that tells whether subtotals for this aggregatable property are
|
|
54613
54778
|
* needed `with`: An optional string that provides the name of the method (for example "sum") used
|
|
54614
54779
|
* for aggregation of this aggregatable property; see "3.1.2 Keyword with". `name`: An optional string
|
|
@@ -54640,16 +54805,18 @@ declare namespace sap {
|
|
|
54640
54805
|
group?: object;
|
|
54641
54806
|
/**
|
|
54642
54807
|
* A list of groupable property names used to determine group levels. They may, but don't need to, be repeated
|
|
54643
|
-
* in `oAggregation.group`. Group levels cannot be combined with
|
|
54644
|
-
*
|
|
54808
|
+
* in `oAggregation.group`. Group levels cannot be combined with:
|
|
54809
|
+
* filtering for aggregated properties, "$search" (since 1.93.0), the `vGroup` parameter of
|
|
54810
|
+
* {@link sap.ui.model.Sorter} (since 1.107.0), shared requests (since 1.108.0).
|
|
54645
54811
|
*/
|
|
54646
54812
|
groupLevels?: string[];
|
|
54647
54813
|
/**
|
|
54648
54814
|
* The qualifier for the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy" and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"
|
|
54649
54815
|
* annotations at this binding's entity type (@experimental as of version 1.105.0). If present, a recursive
|
|
54650
54816
|
* hierarchy without data aggregation is defined, and the only other supported properties are `expandTo`
|
|
54651
|
-
* and `search`. A recursive hierarchy cannot be combined with
|
|
54652
|
-
* parameter of {@link sap.ui.model.Sorter}.
|
|
54817
|
+
* and `search`. A recursive hierarchy cannot be combined with:
|
|
54818
|
+
* "$search", the `vGroup` parameter of {@link sap.ui.model.Sorter} (since 1.107.0), shared
|
|
54819
|
+
* requests (since 1.108.0).
|
|
54653
54820
|
*/
|
|
54654
54821
|
hierarchyQualifier?: string;
|
|
54655
54822
|
/**
|
|
@@ -54699,7 +54866,8 @@ declare namespace sap {
|
|
|
54699
54866
|
* requests. Call {@link #resume} to resume the binding. Before 1.53.0, this method was not supported and
|
|
54700
54867
|
* threw an error. Since 1.97.0, pending changes are ignored if they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive
|
|
54701
54868
|
* kept-alive} context of this binding. Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isTransient transient}
|
|
54702
|
-
* contexts of a {@link #getRootBinding root binding} do not count as pending changes.
|
|
54869
|
+
* contexts of a {@link #getRootBinding root binding} do not count as pending changes. Since 1.108.0 {@link
|
|
54870
|
+
* sap.ui.model.odata.v4.Context#delete deleted} contexts do not count as pending changes.
|
|
54703
54871
|
* See:
|
|
54704
54872
|
* {@link topic:b0f5c531e5034a27952cc748954cbe39 Suspend and Resume}
|
|
54705
54873
|
* sap.ui.model.Binding#suspend
|
|
@@ -54768,12 +54936,14 @@ declare namespace sap {
|
|
|
54768
54936
|
total?: boolean;
|
|
54769
54937
|
/**
|
|
54770
54938
|
* Measures only: Whether the maximum value (ignoring currencies or units of measure) for this measure is
|
|
54771
|
-
* needed (since 1.55.0); filtering and sorting is supported in this case (since 1.58.0)
|
|
54939
|
+
* needed (since 1.55.0); filtering and sorting is supported in this case (since 1.58.0), but shared requests
|
|
54940
|
+
* are not (since 1.108.0)
|
|
54772
54941
|
*/
|
|
54773
54942
|
max?: boolean;
|
|
54774
54943
|
/**
|
|
54775
54944
|
* Measures only: Whether the minimum value (ignoring currencies or units of measure) for this measure is
|
|
54776
|
-
* needed (since 1.55.0); filtering and sorting is supported in this case (since 1.58.0)
|
|
54945
|
+
* needed (since 1.55.0); filtering and sorting is supported in this case (since 1.58.0), but shared requests
|
|
54946
|
+
* are not (since 1.108.0)
|
|
54777
54947
|
*/
|
|
54778
54948
|
min?: boolean;
|
|
54779
54949
|
/**
|
|
@@ -55965,15 +56135,19 @@ declare namespace sap {
|
|
|
55965
56135
|
* Whether multiple bindings for the same resource path share the data, so that it is requested only once;
|
|
55966
56136
|
* only the value `true` is allowed. This parameter can be inherited from the model's parameter "sharedRequests",
|
|
55967
56137
|
* see {@link sap.ui.model.odata.v4.ODataModel#constructor}. Supported since 1.80.0 **Note:** These bindings
|
|
55968
|
-
* are read-only, so they may be especially useful for value lists;
|
|
55969
|
-
*
|
|
56138
|
+
* are read-only, so they may be especially useful for value lists; state messages (since 1.108.0) and the
|
|
56139
|
+
* following APIs are **not** allowed
|
|
55970
56140
|
* for the list binding itself:
|
|
55971
|
-
* {@link sap.ui.model.odata.v4.ODataListBinding#create}
|
|
55972
|
-
*
|
|
56141
|
+
* {@link sap.ui.model.odata.v4.ODataListBinding#create} {@link sap.ui.model.odata.v4.ODataListBinding#getKeepAliveContext}
|
|
56142
|
+
* or {@link #getKeepAliveContext} as far as it affects such a list binding {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges}
|
|
56143
|
+
* for the {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context} of
|
|
56144
|
+
* a list binding:
|
|
55973
56145
|
* {@link sap.ui.model.odata.v4.Context#requestSideEffects} for the context of a list binding
|
|
55974
56146
|
* representing a single entity:
|
|
55975
56147
|
* {@link sap.ui.model.odata.v4.Context#delete} {@link sap.ui.model.odata.v4.Context#refresh}
|
|
55976
|
-
* {@link sap.ui.model.odata.v4.Context#
|
|
56148
|
+
* {@link sap.ui.model.odata.v4.Context#replaceWith} {@link sap.ui.model.odata.v4.Context#requestSideEffects}
|
|
56149
|
+
* {@link sap.ui.model.odata.v4.Context#setKeepAlive} {@link sap.ui.model.odata.v4.Context#setProperty}
|
|
56150
|
+
* executing a bound operation using `bReplaceWithRVC`, see {@link sap.ui.model.odata.v4.ODataContextBinding#execute}
|
|
55977
56151
|
* for a dependent property binding of the list binding:
|
|
55978
56152
|
* {@link sap.ui.model.odata.v4.ODataPropertyBinding#setValue}
|
|
55979
56153
|
*/
|
|
@@ -56431,9 +56605,10 @@ declare namespace sap {
|
|
|
56431
56605
|
/**
|
|
56432
56606
|
* @SINCE 1.39.0
|
|
56433
56607
|
*
|
|
56434
|
-
* Returns `true` if there are pending changes,
|
|
56435
|
-
*
|
|
56436
|
-
* inactive} contexts
|
|
56608
|
+
* Returns `true` if there are pending changes, which can be updates, created entities (see {@link sap.ui.model.odata.v4.ODataListBinding#create})
|
|
56609
|
+
* or entity deletions (see {@link sap.ui.model.odata.v4.Context#delete}) that have not yet been successfully
|
|
56610
|
+
* sent to the server. Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isInactive inactive} contexts
|
|
56611
|
+
* are ignored.
|
|
56437
56612
|
*
|
|
56438
56613
|
* @returns `true` if there are pending changes
|
|
56439
56614
|
*/
|
|
@@ -56496,7 +56671,7 @@ declare namespace sap {
|
|
|
56496
56671
|
* Requests the metadata for the given meta path and calculates the key predicate by taking the key properties
|
|
56497
56672
|
* from the given entity instance.
|
|
56498
56673
|
* See:
|
|
56499
|
-
* #
|
|
56674
|
+
* #getKeyPredicate
|
|
56500
56675
|
*
|
|
56501
56676
|
* @returns A promise that gets resolved with the proper URI-encoded key predicate, for example "(Sector='A%2FB%26C',ID='42')"
|
|
56502
56677
|
* or "('42')", or `undefined` if at least one key property is undefined. It gets rejected if the metadata
|
|
@@ -56515,10 +56690,9 @@ declare namespace sap {
|
|
|
56515
56690
|
/**
|
|
56516
56691
|
* @SINCE 1.39.0
|
|
56517
56692
|
*
|
|
56518
|
-
* Resets all property changes
|
|
56519
|
-
* successfully submitted via {@link #submitBatch}. Resets also invalid user input for
|
|
56520
|
-
* This function does not reset the
|
|
56521
|
-
* and the execution of OData operations (see {@link sap.ui.model.odata.v4.ODataContextBinding#execute}).
|
|
56693
|
+
* Resets all property changes, created entities, and entity deletions associated with the given group ID
|
|
56694
|
+
* which have not been successfully submitted via {@link #submitBatch}. Resets also invalid user input for
|
|
56695
|
+
* the same group ID. This function does not reset the execution of OData operations (see {@link sap.ui.model.odata.v4.ODataContextBinding#execute}).
|
|
56522
56696
|
* See:
|
|
56523
56697
|
* sap.ui.model.odata.v4.ODataModel#constructor.
|
|
56524
56698
|
*/
|
|
@@ -56692,11 +56866,10 @@ declare namespace sap {
|
|
|
56692
56866
|
/**
|
|
56693
56867
|
* @SINCE 1.39.0
|
|
56694
56868
|
*
|
|
56695
|
-
* Returns `true` if this binding or its dependent bindings have
|
|
56696
|
-
* which have not been sent successfully to the server. This function does not take
|
|
56697
|
-
* of
|
|
56698
|
-
*
|
|
56699
|
-
* inactive} contexts are ignored.
|
|
56869
|
+
* Returns `true` if this binding or its dependent bindings have property changes, created entities, or
|
|
56870
|
+
* entity deletions which have not been sent successfully to the server. This function does not take the
|
|
56871
|
+
* execution of OData operations (see {@link sap.ui.model.odata.v4.ODataContextBinding#execute}) into account.
|
|
56872
|
+
* Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isInactive inactive} contexts are ignored.
|
|
56700
56873
|
*
|
|
56701
56874
|
* Note: If this binding is relative, its data is cached separately for each parent context path. This method
|
|
56702
56875
|
* returns `true` if there are pending changes for the current parent context path of this binding. If this
|
|
@@ -56709,10 +56882,11 @@ declare namespace sap {
|
|
|
56709
56882
|
* Whether to ignore changes which will not be lost by APIs like {@link sap.ui.model.odata.v4.ODataListBinding#changeParameters
|
|
56710
56883
|
* changeParameters}, {@link sap.ui.model.odata.v4.ODataListBinding#filter filter}, {@link sap.ui.model.odata.v4.ODataListBinding#refresh
|
|
56711
56884
|
* refresh} (since 1.100.0), {@link sap.ui.model.odata.v4.ODataListBinding#sort sort}, or {@link sap.ui.model.odata.v4.ODataListBinding#suspend
|
|
56712
|
-
* suspend} because they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive kept-alive}
|
|
56713
|
-
*
|
|
56714
|
-
*
|
|
56715
|
-
*
|
|
56885
|
+
* suspend} because they relate to a {@link sap.ui.model.odata.v4.Context#isKeepAlive kept-alive} (since
|
|
56886
|
+
* 1.97.0) or {@link sap.ui.model.odata.v4.Context#delete deleted} (since 1.108.0) context of this binding.
|
|
56887
|
+
* Since 1.98.0, {@link sap.ui.model.odata.v4.Context#isTransient transient} contexts of a {@link #getRootBinding
|
|
56888
|
+
* root binding} are treated as kept-alive by this flag. Since 1.99.0, the same happens for bindings using
|
|
56889
|
+
* the `$$ownRequest` parameter (see {@link sap.ui.model.odata.v4.ODataModel#bindList}).
|
|
56716
56890
|
*/
|
|
56717
56891
|
bIgnoreKeptAlive?: boolean
|
|
56718
56892
|
): boolean;
|
|
@@ -62768,6 +62942,16 @@ declare namespace sap {
|
|
|
62768
62942
|
*/
|
|
62769
62943
|
sFilterType?: sap.ui.model.FilterType
|
|
62770
62944
|
): this;
|
|
62945
|
+
/**
|
|
62946
|
+
* @SINCE 1.108.0
|
|
62947
|
+
*
|
|
62948
|
+
* Returns the count of entries in the tree, or `undefined` if it is unknown. If the tree is filtered, the
|
|
62949
|
+
* count of all entries matching the filter conditions is returned. The entries required only for the tree
|
|
62950
|
+
* structure are not counted.
|
|
62951
|
+
*
|
|
62952
|
+
* @returns The count of entries in the tree, or `undefined` if the binding is not resolved
|
|
62953
|
+
*/
|
|
62954
|
+
getCount(): number | undefined;
|
|
62771
62955
|
/**
|
|
62772
62956
|
* Return node contexts for the tree
|
|
62773
62957
|
*
|
|
@@ -66211,6 +66395,19 @@ declare namespace sap {
|
|
|
66211
66395
|
*/
|
|
66212
66396
|
oContext: Object
|
|
66213
66397
|
): int;
|
|
66398
|
+
/**
|
|
66399
|
+
* @SINCE 1.108.0
|
|
66400
|
+
*
|
|
66401
|
+
* Returns the count of entries in the tree, or `undefined` if it is unknown. If the tree is filtered, the
|
|
66402
|
+
* count of all entries matching the filter conditions is returned. The entries required only for the tree
|
|
66403
|
+
* structure are not counted.
|
|
66404
|
+
*
|
|
66405
|
+
* **Note:** The default implementation returns `undefined` and has to be overwritten by subclasses.
|
|
66406
|
+
*
|
|
66407
|
+
* @returns The count of entries in the tree, or `undefined` if it is unknown, for example because the binding
|
|
66408
|
+
* is not resolved or because this feature is not supported.
|
|
66409
|
+
*/
|
|
66410
|
+
getCount(): number | undefined;
|
|
66214
66411
|
/**
|
|
66215
66412
|
* Returns the current value of the bound target
|
|
66216
66413
|
*
|
|
@@ -66408,7 +66605,7 @@ declare namespace sap {
|
|
|
66408
66605
|
getLength(): number;
|
|
66409
66606
|
}
|
|
66410
66607
|
/**
|
|
66411
|
-
* @deprecated - use {@link sap.ui.model.TreeBindingAdapter} instead
|
|
66608
|
+
* @deprecated (since 1.96.0) - use {@link sap.ui.model.TreeBindingAdapter} instead
|
|
66412
66609
|
*/
|
|
66413
66610
|
class TreeBindingCompatibilityAdapter {
|
|
66414
66611
|
/**
|
|
@@ -73356,6 +73553,8 @@ declare namespace sap {
|
|
|
73356
73553
|
|
|
73357
73554
|
"sap/ui/base/SyncPromise": undefined;
|
|
73358
73555
|
|
|
73556
|
+
"sap/ui/core/_UrlResolver": undefined;
|
|
73557
|
+
|
|
73359
73558
|
"sap/ui/core/AppCacheBuster": undefined;
|
|
73360
73559
|
|
|
73361
73560
|
"sap/ui/core/BusyIndicator": undefined;
|
|
@@ -73386,6 +73585,10 @@ declare namespace sap {
|
|
|
73386
73585
|
|
|
73387
73586
|
"sap/ui/core/CustomData": undefined;
|
|
73388
73587
|
|
|
73588
|
+
"sap/ui/core/date/CalendarUtils": undefined;
|
|
73589
|
+
|
|
73590
|
+
"sap/ui/core/date/CalendarWeekNumbering": undefined;
|
|
73591
|
+
|
|
73389
73592
|
"sap/ui/core/date/UniversalDate": undefined;
|
|
73390
73593
|
|
|
73391
73594
|
"sap/ui/core/date/UniversalDateUtils": undefined;
|