@openui5/ts-types 1.104.0 → 1.105.1
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 +1 -1
- package/types/sap.m.d.ts +197 -47
- package/types/sap.tnt.d.ts +1 -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 +195 -43
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1117 -5
- package/types/sap.ui.integration.d.ts +59 -7
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +3 -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 +1 -1
- 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 +51 -4
- 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 +209 -16
- package/types/sap.ui.webc.main.d.ts +524 -62
- 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.105.1
|
|
268
268
|
|
|
269
269
|
declare module "sap/base/assert" {
|
|
270
270
|
/**
|
|
@@ -11201,7 +11201,7 @@ declare namespace sap {
|
|
|
11201
11201
|
/**
|
|
11202
11202
|
* Root DOM reference
|
|
11203
11203
|
*/
|
|
11204
|
-
oDomRef:
|
|
11204
|
+
oDomRef: /* was Element */ global_Element
|
|
11205
11205
|
): this;
|
|
11206
11206
|
/**
|
|
11207
11207
|
* Sets the selected index if the used control supports selection.
|
|
@@ -13062,6 +13062,16 @@ declare namespace sap {
|
|
|
13062
13062
|
* Object which defines the format options
|
|
13063
13063
|
*/
|
|
13064
13064
|
oFormatOptions?: {
|
|
13065
|
+
/**
|
|
13066
|
+
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13067
|
+
* the value taken from the locale is used
|
|
13068
|
+
*/
|
|
13069
|
+
firstDayOfWeek?: int;
|
|
13070
|
+
/**
|
|
13071
|
+
* @since 1.105.0 minimal days at the beginning of the year which define the first calendar week; if not
|
|
13072
|
+
* defined, the value taken from the locale is used
|
|
13073
|
+
*/
|
|
13074
|
+
minimalDaysInFirstWeek?: int;
|
|
13065
13075
|
/**
|
|
13066
13076
|
* @since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
13067
13077
|
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
@@ -13140,6 +13150,16 @@ declare namespace sap {
|
|
|
13140
13150
|
* Object which defines the format options
|
|
13141
13151
|
*/
|
|
13142
13152
|
oFormatOptions?: {
|
|
13153
|
+
/**
|
|
13154
|
+
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13155
|
+
* the value taken from the locale is used
|
|
13156
|
+
*/
|
|
13157
|
+
firstDayOfWeek?: int;
|
|
13158
|
+
/**
|
|
13159
|
+
* @since 1.105.0 minimal days at the beginning of the year which define the first calendar week; if not
|
|
13160
|
+
* defined, the value taken from the locale is used
|
|
13161
|
+
*/
|
|
13162
|
+
minimalDaysInFirstWeek?: int;
|
|
13143
13163
|
/**
|
|
13144
13164
|
* @since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
13145
13165
|
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
@@ -13222,6 +13242,16 @@ declare namespace sap {
|
|
|
13222
13242
|
* An object which defines the format options
|
|
13223
13243
|
*/
|
|
13224
13244
|
oFormatOptions?: {
|
|
13245
|
+
/**
|
|
13246
|
+
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13247
|
+
* the value taken from the locale is used
|
|
13248
|
+
*/
|
|
13249
|
+
firstDayOfWeek?: int;
|
|
13250
|
+
/**
|
|
13251
|
+
* @since 1.105.0 minimal days at the beginning of the year which define the first calendar week; if not
|
|
13252
|
+
* defined, the value taken from the locale is used
|
|
13253
|
+
*/
|
|
13254
|
+
minimalDaysInFirstWeek?: int;
|
|
13225
13255
|
/**
|
|
13226
13256
|
* A string containing pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into a pattern for
|
|
13227
13257
|
* the used locale that matches the wanted symbols best. The symbols must be in canonical order, that is:
|
|
@@ -13301,6 +13331,16 @@ declare namespace sap {
|
|
|
13301
13331
|
* Object which defines the format options
|
|
13302
13332
|
*/
|
|
13303
13333
|
oFormatOptions?: {
|
|
13334
|
+
/**
|
|
13335
|
+
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13336
|
+
* the value taken from the locale is used
|
|
13337
|
+
*/
|
|
13338
|
+
firstDayOfWeek?: int;
|
|
13339
|
+
/**
|
|
13340
|
+
* @since 1.105.0 minimal days at the beginning of the year which define the first calendar week; if not
|
|
13341
|
+
* defined, the value taken from the locale is used
|
|
13342
|
+
*/
|
|
13343
|
+
minimalDaysInFirstWeek?: int;
|
|
13304
13344
|
/**
|
|
13305
13345
|
* @since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
13306
13346
|
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
@@ -15569,7 +15609,7 @@ declare namespace sap {
|
|
|
15569
15609
|
* or after the lifecycle functions of the original controller. The event handler functions, such as `onButtonClick`,
|
|
15570
15610
|
* are replacing the original controller's function.
|
|
15571
15611
|
*
|
|
15572
|
-
* When using an async extension provider you need to ensure that the view is loaded in async mode.
|
|
15612
|
+
* When using an async extension provider, you need to ensure that the view is loaded in async mode.
|
|
15573
15613
|
*
|
|
15574
15614
|
* In both cases, return `undefined` if no controller extension shall be applied.
|
|
15575
15615
|
*/
|
|
@@ -15587,7 +15627,7 @@ declare namespace sap {
|
|
|
15587
15627
|
* Views automatically prepend their own ID as a prefix to created Elements to make the IDs unique even
|
|
15588
15628
|
* in the case of multiple view instances. This method helps to find an element by its local ID only.
|
|
15589
15629
|
*
|
|
15590
|
-
* If no view is connected or if the view doesn't contain an element with the given local ID, undefined
|
|
15630
|
+
* If no view is connected or if the view doesn't contain an element with the given local ID, `undefined`
|
|
15591
15631
|
* is returned.
|
|
15592
15632
|
*
|
|
15593
15633
|
* @returns Element by its (view local) ID
|
|
@@ -15597,11 +15637,11 @@ declare namespace sap {
|
|
|
15597
15637
|
* View-local ID
|
|
15598
15638
|
*/
|
|
15599
15639
|
sId: string
|
|
15600
|
-
): sap.ui.core.Element;
|
|
15640
|
+
): sap.ui.core.Element | undefined;
|
|
15601
15641
|
/**
|
|
15602
15642
|
* Converts a view local ID to a globally unique one by prepending the view ID.
|
|
15603
15643
|
*
|
|
15604
|
-
* If no view is connected, undefined is returned.
|
|
15644
|
+
* If no view is connected, `undefined` is returned.
|
|
15605
15645
|
*
|
|
15606
15646
|
* @returns Prefixed ID
|
|
15607
15647
|
*/
|
|
@@ -15610,24 +15650,24 @@ declare namespace sap {
|
|
|
15610
15650
|
* View-local ID
|
|
15611
15651
|
*/
|
|
15612
15652
|
sId: string
|
|
15613
|
-
): string;
|
|
15653
|
+
): string | undefined;
|
|
15614
15654
|
/**
|
|
15615
15655
|
* @SINCE 1.23.0
|
|
15616
15656
|
*
|
|
15617
15657
|
* Gets the component of the controller's view
|
|
15618
15658
|
*
|
|
15619
|
-
* If there is no Component connected to the view or the view is not connected to the controller, undefined
|
|
15659
|
+
* If there is no Component connected to the view or the view is not connected to the controller, `undefined`
|
|
15620
15660
|
* is returned.
|
|
15621
15661
|
*
|
|
15622
15662
|
* @returns Component instance
|
|
15623
15663
|
*/
|
|
15624
|
-
getOwnerComponent(): sap.ui.core.Component;
|
|
15664
|
+
getOwnerComponent(): sap.ui.core.Component | undefined;
|
|
15625
15665
|
/**
|
|
15626
|
-
* Returns the view associated with this controller or undefined
|
|
15666
|
+
* Returns the view associated with this controller or `undefined`.
|
|
15627
15667
|
*
|
|
15628
15668
|
* @returns View connected to this controller.
|
|
15629
15669
|
*/
|
|
15630
|
-
getView(): sap.ui.core.mvc.View;
|
|
15670
|
+
getView(): sap.ui.core.mvc.View | undefined;
|
|
15631
15671
|
/**
|
|
15632
15672
|
* @SINCE 1.93
|
|
15633
15673
|
*
|
|
@@ -15669,11 +15709,11 @@ declare namespace sap {
|
|
|
15669
15709
|
/**
|
|
15670
15710
|
* Whether the fragment content should be added to the `dependents` aggregation of the view
|
|
15671
15711
|
*/
|
|
15672
|
-
addToDependents?:
|
|
15712
|
+
addToDependents?: boolean;
|
|
15673
15713
|
/**
|
|
15674
15714
|
* Whether the IDs of the fragment content will be prefixed by the view ID
|
|
15675
15715
|
*/
|
|
15676
|
-
autoPrefixId?:
|
|
15716
|
+
autoPrefixId?: boolean;
|
|
15677
15717
|
/**
|
|
15678
15718
|
* the ID of the Fragment
|
|
15679
15719
|
*/
|
|
@@ -15683,7 +15723,7 @@ declare namespace sap {
|
|
|
15683
15723
|
*/
|
|
15684
15724
|
type?: string;
|
|
15685
15725
|
}
|
|
15686
|
-
): Promise<
|
|
15726
|
+
): Promise<sap.ui.core.Control | sap.ui.core.Control[]>;
|
|
15687
15727
|
/**
|
|
15688
15728
|
* This method is called every time the View is rendered, after the HTML is placed in the DOM-Tree. It can
|
|
15689
15729
|
* be used to apply additional changes to the DOM after the Renderer has finished. (Even though this method
|
|
@@ -16747,7 +16787,7 @@ declare namespace sap {
|
|
|
16747
16787
|
* View local ID of the element
|
|
16748
16788
|
*/
|
|
16749
16789
|
sId: string
|
|
16750
|
-
): sap.ui.core.Element;
|
|
16790
|
+
): sap.ui.core.Element | undefined;
|
|
16751
16791
|
/**
|
|
16752
16792
|
* Creates a clone of this view.
|
|
16753
16793
|
*
|
|
@@ -16983,7 +17023,7 @@ declare namespace sap {
|
|
|
16983
17023
|
* Prefixed ID
|
|
16984
17024
|
*/
|
|
16985
17025
|
sId: string
|
|
16986
|
-
): string;
|
|
17026
|
+
): string | null;
|
|
16987
17027
|
/**
|
|
16988
17028
|
* Returns the info object which is also passed to the preprocessors
|
|
16989
17029
|
* See:
|
|
@@ -16998,7 +17038,7 @@ declare namespace sap {
|
|
|
16998
17038
|
bSync: boolean
|
|
16999
17039
|
): object;
|
|
17000
17040
|
/**
|
|
17001
|
-
* Returns user specific data object
|
|
17041
|
+
* Returns user specific data object.
|
|
17002
17042
|
*
|
|
17003
17043
|
* @returns viewData
|
|
17004
17044
|
*/
|
|
@@ -19908,7 +19948,7 @@ declare namespace sap {
|
|
|
19908
19948
|
* Name of the route
|
|
19909
19949
|
*/
|
|
19910
19950
|
sName: string
|
|
19911
|
-
): sap.ui.core.routing.Route;
|
|
19951
|
+
): sap.ui.core.routing.Route | undefined;
|
|
19912
19952
|
/**
|
|
19913
19953
|
* @SINCE 1.75
|
|
19914
19954
|
*
|
|
@@ -21468,7 +21508,7 @@ declare namespace sap {
|
|
|
21468
21508
|
/**
|
|
21469
21509
|
* The callback function which is called when the suggestions are available.
|
|
21470
21510
|
*/
|
|
21471
|
-
fCallback:
|
|
21511
|
+
fCallback: (p1: string, p2: string[]) => void
|
|
21472
21512
|
): void;
|
|
21473
21513
|
}
|
|
21474
21514
|
/**
|
|
@@ -21573,7 +21613,7 @@ declare namespace sap {
|
|
|
21573
21613
|
/**
|
|
21574
21614
|
* The callback function which is called when the suggestions are available.
|
|
21575
21615
|
*/
|
|
21576
|
-
fnCallback:
|
|
21616
|
+
fnCallback: (p1: string, p2: string[]) => void
|
|
21577
21617
|
): void;
|
|
21578
21618
|
}
|
|
21579
21619
|
}
|
|
@@ -25351,6 +25391,39 @@ declare namespace sap {
|
|
|
25351
25391
|
OPEN = "1",
|
|
25352
25392
|
}
|
|
25353
25393
|
}
|
|
25394
|
+
/**
|
|
25395
|
+
* @SINCE 1.104
|
|
25396
|
+
* @EXPERIMENTAL (since 1.104)
|
|
25397
|
+
*
|
|
25398
|
+
* Implementing this interface allows a control to be accessible via access keys.
|
|
25399
|
+
*/
|
|
25400
|
+
interface IAccessKeySupport {
|
|
25401
|
+
__implements__sap_ui_core_IAccessKeySupport: boolean;
|
|
25402
|
+
|
|
25403
|
+
/**
|
|
25404
|
+
* @SINCE 1.104
|
|
25405
|
+
* @EXPERIMENTAL (since 1.104)
|
|
25406
|
+
*
|
|
25407
|
+
* Returns a refence to DOM element to be focused during Access key navigation. If not implemented getFocusDomRef()
|
|
25408
|
+
* method is used.
|
|
25409
|
+
*/
|
|
25410
|
+
getAccessKeysFocusTarget?(): void;
|
|
25411
|
+
/**
|
|
25412
|
+
* @SINCE 1.104
|
|
25413
|
+
* @EXPERIMENTAL (since 1.104)
|
|
25414
|
+
*
|
|
25415
|
+
* If implemented called when access keys feature is enabled and highlighting is over
|
|
25416
|
+
*/
|
|
25417
|
+
onAccKeysHighlightEnd?(): void;
|
|
25418
|
+
/**
|
|
25419
|
+
* @SINCE 1.104
|
|
25420
|
+
* @EXPERIMENTAL (since 1.104)
|
|
25421
|
+
*
|
|
25422
|
+
* If implemented called when access keys feature is enabled and highlighting is ongoing
|
|
25423
|
+
*/
|
|
25424
|
+
onAccKeysHighlightStart?(): void;
|
|
25425
|
+
}
|
|
25426
|
+
|
|
25354
25427
|
/**
|
|
25355
25428
|
* @SINCE 1.89.0
|
|
25356
25429
|
*
|
|
@@ -30903,7 +30976,10 @@ declare namespace sap {
|
|
|
30903
30976
|
/**
|
|
30904
30977
|
* @SINCE 1.99.0
|
|
30905
30978
|
*
|
|
30906
|
-
*
|
|
30979
|
+
* **Note: Due to compatibility considerations, this function will always return the timezone of the browser/host
|
|
30980
|
+
* system in this release**
|
|
30981
|
+
*
|
|
30982
|
+
* Retrieves the configured IANA timezone ID.
|
|
30907
30983
|
*
|
|
30908
30984
|
* @returns The configured IANA timezone ID, e.g. "America/New_York"
|
|
30909
30985
|
*/
|
|
@@ -31085,6 +31161,9 @@ declare namespace sap {
|
|
|
31085
31161
|
/**
|
|
31086
31162
|
* @SINCE 1.99.0
|
|
31087
31163
|
*
|
|
31164
|
+
* **Note: Due to compatibility considerations, this function has no effect in this release. The timezone
|
|
31165
|
+
* configuration will always reflect the timezone of the browser/host system.**
|
|
31166
|
+
*
|
|
31088
31167
|
* Sets the timezone such that all date and time based calculations use this timezone.
|
|
31089
31168
|
*
|
|
31090
31169
|
* When the timezone has changed, the Core will fire its {@link sap.ui.core.Core#event:localizationChanged
|
|
@@ -37642,7 +37721,13 @@ declare namespace sap {
|
|
|
37642
37721
|
/**
|
|
37643
37722
|
* specifies the point of the reference element to which the given Content should be aligned
|
|
37644
37723
|
*/
|
|
37645
|
-
at:
|
|
37724
|
+
at:
|
|
37725
|
+
| sap.ui.core.Popup.Dock
|
|
37726
|
+
| {
|
|
37727
|
+
left: sap.ui.core.CSSSize;
|
|
37728
|
+
|
|
37729
|
+
top: sap.ui.core.CSSSize;
|
|
37730
|
+
},
|
|
37646
37731
|
/**
|
|
37647
37732
|
* specifies the reference element to which the given content should be aligned as specified in the other
|
|
37648
37733
|
* parameters
|
|
@@ -40477,6 +40562,10 @@ declare namespace sap {
|
|
|
40477
40562
|
* ```
|
|
40478
40563
|
*
|
|
40479
40564
|
*
|
|
40565
|
+
* **Note:** {@link topic:b11d853a8e784db6b2d210ef57b0f7d7 Requiring modules in XML} will result in side
|
|
40566
|
+
* effects that might cause the XMLComposite to not work properly. We suggest you require the needed modules
|
|
40567
|
+
* inside the JavaScript coding of the class extending the XMLComposite.
|
|
40568
|
+
*
|
|
40480
40569
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
40481
40570
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
40482
40571
|
* of the syntax of the settings object.
|
|
@@ -50699,7 +50788,8 @@ declare namespace sap {
|
|
|
50699
50788
|
): any;
|
|
50700
50789
|
/**
|
|
50701
50790
|
* Returns the changed properties of all changed entities in a map which are still pending. The key is the
|
|
50702
|
-
* string name of the entity and the value is an object which contains the changed properties.
|
|
50791
|
+
* string name of the entity, and the value is an object which contains the changed properties. The tree
|
|
50792
|
+
* hierarchy changes for removed nodes are represented via an empty object.
|
|
50703
50793
|
*
|
|
50704
50794
|
* In contrast to the two related functions {@link #hasPendingChanges} and {@link #resetChanges}, only client
|
|
50705
50795
|
* data changes are supported.
|
|
@@ -50771,11 +50861,11 @@ declare namespace sap {
|
|
|
50771
50861
|
/**
|
|
50772
50862
|
* Checks if there exist pending changes in the model.
|
|
50773
50863
|
*
|
|
50774
|
-
* By default, only client data changes triggered through
|
|
50775
|
-
* taken into account.
|
|
50864
|
+
* By default, only client data changes triggered through {@link #createEntry} or {@link #setProperty},
|
|
50865
|
+
* and tree hierarchy changes are taken into account.
|
|
50776
50866
|
*
|
|
50777
|
-
* If `bAll` is set to `true`, also deferred requests triggered through
|
|
50778
|
-
* {@link #remove} are taken into account.
|
|
50867
|
+
* If `bAll` is set to `true`, also deferred requests triggered through {@link #create}, {@link #update},
|
|
50868
|
+
* and {@link #remove} are taken into account.
|
|
50779
50869
|
*
|
|
50780
50870
|
* @returns `true` if there are pending changes, `false` otherwise.
|
|
50781
50871
|
*/
|
|
@@ -51084,6 +51174,9 @@ declare namespace sap {
|
|
|
51084
51174
|
* account. If `bAll` is set, also deferred requests triggered through {@link #create}, {@link #update}
|
|
51085
51175
|
* or {@link #remove} are taken into account.
|
|
51086
51176
|
*
|
|
51177
|
+
* With a given `aPath` only specified entities are reset. Note that tree hierarchy changes are only affected
|
|
51178
|
+
* if a given path is equal to the tree binding's resolved binding path.
|
|
51179
|
+
*
|
|
51087
51180
|
* If `bDeleteCreatedEntities` is set, the entity is completely removed, provided it has been created
|
|
51088
51181
|
*
|
|
51089
51182
|
* - via {@link #createEntry} and it is not yet persisted in the back end, or
|
|
@@ -52434,26 +52527,44 @@ declare namespace sap {
|
|
|
52434
52527
|
/**
|
|
52435
52528
|
* @SINCE 1.41.0
|
|
52436
52529
|
*
|
|
52437
|
-
* Deletes the OData entity this context points to.
|
|
52530
|
+
* Deletes the OData entity this context points to. The context is removed from the binding immediately,
|
|
52531
|
+
* even if {@link sap.ui.model.odata.v4.SubmitMode.API} is used, and the request is only sent later when
|
|
52532
|
+
* {@link sap.ui.model.odata.v4.ODataModel#submitBatch} is called. As long as the context is deleted on
|
|
52533
|
+
* the client, but not yet on the server, {@link #isDeleted} returns `true`.
|
|
52534
|
+
*
|
|
52535
|
+
* Since 1.105 such a pending deletion is a pending change. It causes `hasPendingChanges` to return `true`
|
|
52536
|
+
* for the context, the binding containing it, and the model. `resetChanges` in binding or model cancels
|
|
52537
|
+
* the deletion and restores the context.
|
|
52538
|
+
*
|
|
52539
|
+
* The usage of a group ID with {@link sap.ui.model.odata.v4.SubmitMode.API} is possible since 1.105 - this
|
|
52540
|
+
* is an experimental API.
|
|
52438
52541
|
*
|
|
52439
52542
|
* The context must not be used anymore after successful deletion.
|
|
52543
|
+
* See:
|
|
52544
|
+
* {#hasPendingChanges}
|
|
52545
|
+
* {sap.ui.model.odata.v4.ODataContextBinding#hasPendingChanges}
|
|
52546
|
+
* {sap.ui.model.odata.v4.ODataListBinding#hasPendingChanges}
|
|
52547
|
+
* {sap.ui.model.odata.v4.ODataModel#hasPendingChanges}
|
|
52548
|
+
* {sap.ui.model.odata.v4.ODataContextBinding#resetChanges}
|
|
52549
|
+
* {sap.ui.model.odata.v4.ODataListBinding#resetChanges}
|
|
52550
|
+
* {sap.ui.model.odata.v4.ODataModel#resetChanges}
|
|
52440
52551
|
*
|
|
52441
52552
|
* @returns A promise which is resolved without a result in case of success, or rejected with an instance
|
|
52442
|
-
* of `Error` in case of failure,
|
|
52443
|
-
*
|
|
52444
|
-
*
|
|
52445
|
-
*
|
|
52446
|
-
*
|
|
52447
|
-
*
|
|
52553
|
+
* of `Error` in case of failure, for example if:
|
|
52554
|
+
* the given context does not point to an entity, the deletion on the server fails, the deletion
|
|
52555
|
+
* is canceled via `resetChanges` (in this case the error instance has the property `canceled` with value
|
|
52556
|
+
* `true`). The error instance has the property `isConcurrentModification` with value `true` in case
|
|
52557
|
+
* a concurrent modification (e.g. by another user) of the entity between loading and deletion has been
|
|
52558
|
+
* detected; this should be shown to the user who needs to decide whether to try deletion again. If the
|
|
52559
|
+
* entity does not exist, we assume it has already been deleted by someone else and report success.
|
|
52448
52560
|
*/
|
|
52449
52561
|
delete(
|
|
52450
52562
|
/**
|
|
52451
52563
|
* The group ID to be used for the DELETE request; if not specified, the update group ID for the context's
|
|
52452
|
-
* binding is used, see {@link #getUpdateGroupId}
|
|
52453
|
-
*
|
|
52454
|
-
*
|
|
52455
|
-
* not
|
|
52456
|
-
* a draft after activation).
|
|
52564
|
+
* binding is used, see {@link #getUpdateGroupId}. Since 1.81, if this context is transient (see {@link
|
|
52565
|
+
* #isTransient}), no group ID needs to be specified. Since 1.98.0, you can use `null` to prevent the DELETE
|
|
52566
|
+
* request in case of a kept-alive context that is not in the collection and of which you know that it does
|
|
52567
|
+
* not exist on the server anymore (for example, a draft after activation).
|
|
52457
52568
|
*/
|
|
52458
52569
|
sGroupId?: string,
|
|
52459
52570
|
/**
|
|
@@ -52593,6 +52704,17 @@ declare namespace sap {
|
|
|
52593
52704
|
* @returns Whether there are pending changes
|
|
52594
52705
|
*/
|
|
52595
52706
|
hasPendingChanges(): boolean;
|
|
52707
|
+
/**
|
|
52708
|
+
* @SINCE 1.105
|
|
52709
|
+
*
|
|
52710
|
+
* Returns whether this context is deleted on the client, but not on the server yet. The result of this
|
|
52711
|
+
* function can also be accessed via the "@$ui5.context.isDeleted" instance annotation at the entity.
|
|
52712
|
+
* See:
|
|
52713
|
+
* #delete
|
|
52714
|
+
*
|
|
52715
|
+
* @returns `true` if this context is deleted
|
|
52716
|
+
*/
|
|
52717
|
+
isDeleted(): boolean;
|
|
52596
52718
|
/**
|
|
52597
52719
|
* @SINCE 1.77.0
|
|
52598
52720
|
*
|
|
@@ -54193,6 +54315,9 @@ declare namespace sap {
|
|
|
54193
54315
|
* of grand totals like in 1.84.0, using aggregates of aggregates and thus allowing to filter by aggregated
|
|
54194
54316
|
* properties while grand totals are needed. Beware that methods like "average" or "countdistinct" are not
|
|
54195
54317
|
* compatible with this approach, and it cannot be combined with group levels.
|
|
54318
|
+
* Since 1.105.0, either a recursive hierarchy or pure data aggregation is supported, but no mix; `hierarchyQualifier`
|
|
54319
|
+
* is the leading property that decides between those two use cases - this is an **experimental API** and
|
|
54320
|
+
* is only supported if the model uses the `autoExpandSelect` parameter!
|
|
54196
54321
|
*/
|
|
54197
54322
|
oAggregation?: {
|
|
54198
54323
|
/**
|
|
@@ -54210,6 +54335,11 @@ declare namespace sap {
|
|
|
54210
54335
|
* situation"). (SQL suggestion: `CASE WHEN MIN(Unit) = MAX(Unit) THEN MIN(Unit) END`)
|
|
54211
54336
|
*/
|
|
54212
54337
|
aggregate?: object;
|
|
54338
|
+
/**
|
|
54339
|
+
* The number of initially expanded levels as a positive integer (@experimental as of version 1.105.0),
|
|
54340
|
+
* supported only if a `hierarchyQualifier` is given.
|
|
54341
|
+
*/
|
|
54342
|
+
expandTo?: number;
|
|
54213
54343
|
/**
|
|
54214
54344
|
* Tells whether the grand totals for aggregatable properties are displayed at the bottom only (since 1.86.0);
|
|
54215
54345
|
* `true` for bottom only, `false` for top and bottom, the default is top only
|
|
@@ -54229,6 +54359,12 @@ declare namespace sap {
|
|
|
54229
54359
|
* (since 1.93.0) with "$search".
|
|
54230
54360
|
*/
|
|
54231
54361
|
groupLevels?: string[];
|
|
54362
|
+
/**
|
|
54363
|
+
* The qualifier for the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy" and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"
|
|
54364
|
+
* annotations at this binding's entity type (@experimental as of version 1.105.0). If present, a recursive
|
|
54365
|
+
* hierarchy without data aggregation is defined, and the only other supported property is `expandTo`.
|
|
54366
|
+
*/
|
|
54367
|
+
hierarchyQualifier?: string;
|
|
54232
54368
|
/**
|
|
54233
54369
|
* Like the
|
|
54234
54370
|
* "5.1.7 System Query Option $search", but applied before data aggregation (since 1.93.0). Note that
|
|
@@ -59840,9 +59976,9 @@ declare namespace sap {
|
|
|
59840
59976
|
*/
|
|
59841
59977
|
constructor(
|
|
59842
59978
|
/**
|
|
59843
|
-
*
|
|
59979
|
+
* Either the URL where to load the XML from or an XML document
|
|
59844
59980
|
*/
|
|
59845
|
-
oData:
|
|
59981
|
+
oData: XMLDocument | string
|
|
59846
59982
|
);
|
|
59847
59983
|
|
|
59848
59984
|
/**
|
|
@@ -66373,7 +66509,15 @@ declare namespace sap {
|
|
|
66373
66509
|
* `oListener` instance (if present) or on the `window` instance. A map with information about the entered
|
|
66374
66510
|
* range set is provided as a single argument to the handler (see details above).
|
|
66375
66511
|
*/
|
|
66376
|
-
fnFunction:
|
|
66512
|
+
fnFunction: (p1: {
|
|
66513
|
+
from: number;
|
|
66514
|
+
|
|
66515
|
+
to: number;
|
|
66516
|
+
|
|
66517
|
+
unit: string;
|
|
66518
|
+
|
|
66519
|
+
name: string | undefined;
|
|
66520
|
+
}) => void,
|
|
66377
66521
|
/**
|
|
66378
66522
|
* The object that wants to be notified when the event occurs (`this` context within the handler function).
|
|
66379
66523
|
* If it is not specified, the handler function is called in the context of the `window`.
|
|
@@ -66424,7 +66568,15 @@ declare namespace sap {
|
|
|
66424
66568
|
* size will be used.
|
|
66425
66569
|
*/
|
|
66426
66570
|
iWidth?: int
|
|
66427
|
-
):
|
|
66571
|
+
): {
|
|
66572
|
+
from: number;
|
|
66573
|
+
|
|
66574
|
+
to: number;
|
|
66575
|
+
|
|
66576
|
+
unit: string;
|
|
66577
|
+
|
|
66578
|
+
name: string | undefined;
|
|
66579
|
+
};
|
|
66428
66580
|
/**
|
|
66429
66581
|
* Returns `true` if a range set with the given name is already initialized.
|
|
66430
66582
|
*
|
package/types/sap.ui.dt.d.ts
CHANGED