@sapui5/ts-types 1.124.2 → 1.125.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/index.d.ts +5 -4
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.base.d.ts +7 -0
- package/types/sap.fe.core.d.ts +6 -16
- package/types/sap.fe.macros.d.ts +664 -78
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +363 -330
- package/types/sap.insights.d.ts +1 -1
- package/types/{mobile-1.124.0-d.ts → sap.m.d.ts} +303 -87
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +8 -9
- package/types/sap.suite.ui.generic.template.d.ts +1 -4
- package/types/sap.suite.ui.microchart.d.ts +19 -19
- package/types/{tnt-1.124.1-d.ts → 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.comp.d.ts +110 -38
- package/types/{core-1.124.0-d.ts → sap.ui.core.d.ts} +130 -80
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +6 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.124.1-d.ts → sap.ui.mdc.d.ts} +37 -4
- package/types/sap.ui.richtexteditor.d.ts +1 -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 +29 -21
- 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.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +49 -103
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.125.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -16332,6 +16332,11 @@ declare namespace sap {
|
|
|
16332
16332
|
*/
|
|
16333
16333
|
dragSession?: sap.ui.core.dnd.DragSession;
|
|
16334
16334
|
|
|
16335
|
+
/**
|
|
16336
|
+
* The calculated position of the drop action relative to the `target`
|
|
16337
|
+
*/
|
|
16338
|
+
dropPosition?: sap.ui.core.dnd.RelativeDropPosition;
|
|
16339
|
+
|
|
16335
16340
|
/**
|
|
16336
16341
|
* The underlying browser event
|
|
16337
16342
|
*/
|
|
@@ -17377,17 +17382,20 @@ declare namespace sap {
|
|
|
17377
17382
|
/**
|
|
17378
17383
|
* Fires event {@link #event:dragOver dragOver} to attached listeners.
|
|
17379
17384
|
*
|
|
17385
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
17386
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
17387
|
+
*
|
|
17380
17388
|
* @since 1.56
|
|
17381
17389
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
17382
17390
|
*
|
|
17383
|
-
* @returns
|
|
17391
|
+
* @returns Whether or not to prevent the default action
|
|
17384
17392
|
*/
|
|
17385
17393
|
fireDragOver(
|
|
17386
17394
|
/**
|
|
17387
17395
|
* Parameters to pass along with the event
|
|
17388
17396
|
*/
|
|
17389
17397
|
mParameters?: sap.ui.core.dnd.DropInfo$DragOverEventParameters
|
|
17390
|
-
):
|
|
17398
|
+
): boolean;
|
|
17391
17399
|
/**
|
|
17392
17400
|
* Fires event {@link #event:drop drop} to attached listeners.
|
|
17393
17401
|
*
|
|
@@ -27581,7 +27589,7 @@ declare namespace sap {
|
|
|
27581
27589
|
/**
|
|
27582
27590
|
* Describes the settings that can be provided to the OpenSearchProvider constructor.
|
|
27583
27591
|
*
|
|
27584
|
-
* @deprecated (since 1.120)
|
|
27592
|
+
* @deprecated (since 1.120) - There is no API replacement.
|
|
27585
27593
|
*/
|
|
27586
27594
|
interface $OpenSearchProviderSettings
|
|
27587
27595
|
extends sap.ui.core.search.$SearchProviderSettings {
|
|
@@ -27603,7 +27611,7 @@ declare namespace sap {
|
|
|
27603
27611
|
/**
|
|
27604
27612
|
* Describes the settings that can be provided to the SearchProvider constructor.
|
|
27605
27613
|
*
|
|
27606
|
-
* @deprecated (since 1.120)
|
|
27614
|
+
* @deprecated (since 1.120) - There is no API replacement.
|
|
27607
27615
|
*/
|
|
27608
27616
|
interface $SearchProviderSettings extends sap.ui.core.$ElementSettings {
|
|
27609
27617
|
/**
|
|
@@ -27615,7 +27623,7 @@ declare namespace sap {
|
|
|
27615
27623
|
/**
|
|
27616
27624
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
27617
27625
|
*
|
|
27618
|
-
* @deprecated (since 1.120)
|
|
27626
|
+
* @deprecated (since 1.120) - There is no API replacement.
|
|
27619
27627
|
*/
|
|
27620
27628
|
class OpenSearchProvider extends sap.ui.core.search.SearchProvider {
|
|
27621
27629
|
/**
|
|
@@ -27760,7 +27768,7 @@ declare namespace sap {
|
|
|
27760
27768
|
*
|
|
27761
27769
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
27762
27770
|
*
|
|
27763
|
-
* @deprecated (since 1.120)
|
|
27771
|
+
* @deprecated (since 1.120) - There is no API replacement.
|
|
27764
27772
|
*/
|
|
27765
27773
|
abstract class SearchProvider extends sap.ui.core.Element {
|
|
27766
27774
|
/**
|
|
@@ -28148,7 +28156,8 @@ declare namespace sap {
|
|
|
28148
28156
|
/**
|
|
28149
28157
|
* Describes the settings that can be provided to the DOMAttribute constructor.
|
|
28150
28158
|
*
|
|
28151
|
-
* @deprecated (since 1.56)
|
|
28159
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28160
|
+
* instead.
|
|
28152
28161
|
*/
|
|
28153
28162
|
interface $DOMAttributeSettings extends sap.ui.core.$ElementSettings {
|
|
28154
28163
|
/**
|
|
@@ -28165,7 +28174,8 @@ declare namespace sap {
|
|
|
28165
28174
|
/**
|
|
28166
28175
|
* Describes the settings that can be provided to the DOMElement constructor.
|
|
28167
28176
|
*
|
|
28168
|
-
* @deprecated (since 1.56)
|
|
28177
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28178
|
+
* instead.
|
|
28169
28179
|
*/
|
|
28170
28180
|
interface $DOMElementSettings extends sap.ui.core.$ControlSettings {
|
|
28171
28181
|
/**
|
|
@@ -28200,7 +28210,8 @@ declare namespace sap {
|
|
|
28200
28210
|
/**
|
|
28201
28211
|
* Describes the settings that can be provided to the HandlebarsTemplate constructor.
|
|
28202
28212
|
*
|
|
28203
|
-
* @deprecated (since 1.56)
|
|
28213
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28214
|
+
* instead.
|
|
28204
28215
|
*/
|
|
28205
28216
|
interface $HandlebarsTemplateSettings
|
|
28206
28217
|
extends sap.ui.core.tmpl.$TemplateSettings {}
|
|
@@ -28221,7 +28232,8 @@ declare namespace sap {
|
|
|
28221
28232
|
/**
|
|
28222
28233
|
* Describes the settings that can be provided to the TemplateControl constructor.
|
|
28223
28234
|
*
|
|
28224
|
-
* @deprecated (since 1.56)
|
|
28235
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28236
|
+
* instead.
|
|
28225
28237
|
*/
|
|
28226
28238
|
interface $TemplateControlSettings
|
|
28227
28239
|
extends sap.ui.core.$ControlSettings {
|
|
@@ -28265,7 +28277,8 @@ declare namespace sap {
|
|
|
28265
28277
|
* Represents a DOM attribute of a DOM element.
|
|
28266
28278
|
*
|
|
28267
28279
|
* @since 1.15
|
|
28268
|
-
* @deprecated (since 1.56)
|
|
28280
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28281
|
+
* instead.
|
|
28269
28282
|
*/
|
|
28270
28283
|
class DOMAttribute extends sap.ui.core.Element {
|
|
28271
28284
|
/**
|
|
@@ -28385,7 +28398,8 @@ declare namespace sap {
|
|
|
28385
28398
|
* Represents a DOM element. It allows to use databinding for the properties and nested DOM attributes.
|
|
28386
28399
|
*
|
|
28387
28400
|
* @since 1.15
|
|
28388
|
-
* @deprecated (since 1.56)
|
|
28401
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28402
|
+
* instead.
|
|
28389
28403
|
*/
|
|
28390
28404
|
class DOMElement extends sap.ui.core.Control {
|
|
28391
28405
|
/**
|
|
@@ -28693,7 +28707,8 @@ declare namespace sap {
|
|
|
28693
28707
|
* The class for Handlebars Templates.
|
|
28694
28708
|
*
|
|
28695
28709
|
* @since 1.15
|
|
28696
|
-
* @deprecated (since 1.56)
|
|
28710
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
28711
|
+
* instead.
|
|
28697
28712
|
*/
|
|
28698
28713
|
abstract class HandlebarsTemplate extends sap.ui.core.tmpl.Template {
|
|
28699
28714
|
/**
|
|
@@ -29032,7 +29047,8 @@ declare namespace sap {
|
|
|
29032
29047
|
* This is the base class for all template controls. Template controls are declared based on templates.
|
|
29033
29048
|
*
|
|
29034
29049
|
* @since 1.15
|
|
29035
|
-
* @deprecated (since 1.56)
|
|
29050
|
+
* @deprecated (since 1.56) - Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View }
|
|
29051
|
+
* instead.
|
|
29036
29052
|
*/
|
|
29037
29053
|
class TemplateControl extends sap.ui.core.Control {
|
|
29038
29054
|
/**
|
|
@@ -29484,7 +29500,7 @@ declare namespace sap {
|
|
|
29484
29500
|
*
|
|
29485
29501
|
* @since 1.107
|
|
29486
29502
|
* @deprecated (since 1.120) - without a replacement. Applications should not be interested in the set of
|
|
29487
|
-
*
|
|
29503
|
+
* `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
|
|
29488
29504
|
* or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
29489
29505
|
*/
|
|
29490
29506
|
interface registry {
|
|
@@ -29492,7 +29508,7 @@ declare namespace sap {
|
|
|
29492
29508
|
* Number of existing UIAreas.
|
|
29493
29509
|
*
|
|
29494
29510
|
* @deprecated (since 1.120) - without a replacement. Applications should not be interested in the set of
|
|
29495
|
-
*
|
|
29511
|
+
* `UIArea`s. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
|
|
29496
29512
|
* or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
29497
29513
|
*/
|
|
29498
29514
|
size: int;
|
|
@@ -29596,8 +29612,8 @@ declare namespace sap {
|
|
|
29596
29612
|
* When the ID is `null` or `undefined` or when there's no UIArea with the given ID, then `undefined` is
|
|
29597
29613
|
* returned.
|
|
29598
29614
|
*
|
|
29599
|
-
* @deprecated (since 1.120) - without a replacement. Applications should not be interested in
|
|
29600
|
-
*
|
|
29615
|
+
* @deprecated (since 1.120) - without a replacement. Applications should not be interested in a certain
|
|
29616
|
+
* `UIArea`. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
|
|
29601
29617
|
* or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
29602
29618
|
*
|
|
29603
29619
|
* @returns UIArea with the given ID or `undefined`
|
|
@@ -34896,22 +34912,28 @@ declare namespace sap {
|
|
|
34896
34912
|
}
|
|
34897
34913
|
|
|
34898
34914
|
/**
|
|
34899
|
-
* Core
|
|
34915
|
+
* Singleton Core instance of the SAP UI Library.
|
|
34900
34916
|
*
|
|
34901
|
-
*
|
|
34917
|
+
* The module export of `sap/ui/core/Core` is **not** a class, but the singleton Core instance itself. The
|
|
34918
|
+
* `sap.ui.core.Core` class itself must not be instantiated, except by the framework itself.
|
|
34902
34919
|
*
|
|
34903
|
-
* The Core provides a {@link #ready ready function} to execute code after the
|
|
34920
|
+
* The Core provides a {@link #ready ready function} to execute code after the Core was booted.
|
|
34904
34921
|
*
|
|
34905
34922
|
* Example:
|
|
34906
34923
|
* ```javascript
|
|
34907
34924
|
*
|
|
34908
34925
|
*
|
|
34909
|
-
*
|
|
34926
|
+
* sap.ui.require(["sap/ui/core/Core"], async function(Core) {
|
|
34927
|
+
*
|
|
34928
|
+
* // Usage of a callback function
|
|
34929
|
+
* Core.ready(function() {
|
|
34910
34930
|
* ...
|
|
34911
|
-
*
|
|
34931
|
+
* });
|
|
34912
34932
|
*
|
|
34913
|
-
*
|
|
34914
|
-
*
|
|
34933
|
+
* // Usage of Core.ready() as a Promise
|
|
34934
|
+
* await Core.ready();
|
|
34935
|
+
* ...
|
|
34936
|
+
* });
|
|
34915
34937
|
*
|
|
34916
34938
|
* ```
|
|
34917
34939
|
*/
|
|
@@ -36278,7 +36300,8 @@ declare namespace sap {
|
|
|
36278
36300
|
*/
|
|
36279
36301
|
notifyContentDensityChanged(): void;
|
|
36280
36302
|
/**
|
|
36281
|
-
* Returns a Promise that resolves if the Core is initialized.
|
|
36303
|
+
* Returns a Promise that resolves if the Core is initialized. Additionally, a callback function can be
|
|
36304
|
+
* passed, for use cases where using Promises is not an option.
|
|
36282
36305
|
*
|
|
36283
36306
|
* @since 1.118.0
|
|
36284
36307
|
*
|
|
@@ -37387,7 +37410,11 @@ declare namespace sap {
|
|
|
37387
37410
|
*/
|
|
37388
37411
|
abstract class Component extends sap.ui.base.ManagedObject {
|
|
37389
37412
|
/**
|
|
37390
|
-
*
|
|
37413
|
+
* As `Component` is an abstract base class for components, applications should not call the constructor.
|
|
37414
|
+
* For many use cases the static {@link #.create Component.create} factory can be used to instantiate a
|
|
37415
|
+
* `Component`. Depending on the requirements, the framework also provides other ways to instantiate a `Component`,
|
|
37416
|
+
* documented under the {@link https://ui5.sap.com/#/topic/958ead51e2e94ab8bcdc90fb7e9d53d0 "Component" }
|
|
37417
|
+
* chapter.
|
|
37391
37418
|
*
|
|
37392
37419
|
* The set of allowed entries in the `mSettings` object depends on the concrete subclass and is described
|
|
37393
37420
|
* there. See {@link sap.ui.core.Component} for a general description of this argument.
|
|
@@ -37406,7 +37433,11 @@ declare namespace sap {
|
|
|
37406
37433
|
mSettings?: sap.ui.core.$ComponentSettings
|
|
37407
37434
|
);
|
|
37408
37435
|
/**
|
|
37409
|
-
*
|
|
37436
|
+
* As `Component` is an abstract base class for components, applications should not call the constructor.
|
|
37437
|
+
* For many use cases the static {@link #.create Component.create} factory can be used to instantiate a
|
|
37438
|
+
* `Component`. Depending on the requirements, the framework also provides other ways to instantiate a `Component`,
|
|
37439
|
+
* documented under the {@link https://ui5.sap.com/#/topic/958ead51e2e94ab8bcdc90fb7e9d53d0 "Component" }
|
|
37440
|
+
* chapter.
|
|
37410
37441
|
*
|
|
37411
37442
|
* The set of allowed entries in the `mSettings` object depends on the concrete subclass and is described
|
|
37412
37443
|
* there. See {@link sap.ui.core.Component} for a general description of this argument.
|
|
@@ -48871,7 +48902,7 @@ declare namespace sap {
|
|
|
48871
48902
|
* The node must have an ID that will be used as ID for this instance of `UIArea`.
|
|
48872
48903
|
*
|
|
48873
48904
|
* @deprecated (since 1.107) - without a replacement. Applications should not create or modify `UIArea`s
|
|
48874
|
-
* programmatically.
|
|
48905
|
+
* programmatically. They should only assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt Control.prototype.placeAt }
|
|
48875
48906
|
* or use the API of a `UIArea` as reachable via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
48876
48907
|
*/
|
|
48877
48908
|
setRootNode(
|
|
@@ -48897,7 +48928,11 @@ declare namespace sap {
|
|
|
48897
48928
|
*/
|
|
48898
48929
|
abstract class UIComponent extends sap.ui.core.Component {
|
|
48899
48930
|
/**
|
|
48900
|
-
*
|
|
48931
|
+
* As `UIComponent` is an abstract base class for UI components, applications should not call the constructor.
|
|
48932
|
+
* For many use cases the static {@link sap.ui.core.Component.create Component.create} factory can be used
|
|
48933
|
+
* to instantiate a `UIComponent`. Depending on the requirements, the framework also provides other ways
|
|
48934
|
+
* to instantiate a `UIComponent`, documented under the {@link https://ui5.sap.com/#/topic/958ead51e2e94ab8bcdc90fb7e9d53d0 "Component" }
|
|
48935
|
+
* chapter.
|
|
48901
48936
|
*
|
|
48902
48937
|
* The set of allowed entries in the `mSettings` object depends on the concrete subclass and is described
|
|
48903
48938
|
* there. See {@link sap.ui.core.Component} for a general description of this argument.
|
|
@@ -48913,7 +48948,11 @@ declare namespace sap {
|
|
|
48913
48948
|
mSettings?: sap.ui.core.$UIComponentSettings
|
|
48914
48949
|
);
|
|
48915
48950
|
/**
|
|
48916
|
-
*
|
|
48951
|
+
* As `UIComponent` is an abstract base class for UI components, applications should not call the constructor.
|
|
48952
|
+
* For many use cases the static {@link sap.ui.core.Component.create Component.create} factory can be used
|
|
48953
|
+
* to instantiate a `UIComponent`. Depending on the requirements, the framework also provides other ways
|
|
48954
|
+
* to instantiate a `UIComponent`, documented under the {@link https://ui5.sap.com/#/topic/958ead51e2e94ab8bcdc90fb7e9d53d0 "Component" }
|
|
48955
|
+
* chapter.
|
|
48917
48956
|
*
|
|
48918
48957
|
* The set of allowed entries in the `mSettings` object depends on the concrete subclass and is described
|
|
48919
48958
|
* there. See {@link sap.ui.core.Component} for a general description of this argument.
|
|
@@ -54017,9 +54056,11 @@ declare namespace sap {
|
|
|
54017
54056
|
/**
|
|
54018
54057
|
* Constructor for a new JSONModel.
|
|
54019
54058
|
*
|
|
54020
|
-
*
|
|
54021
|
-
*
|
|
54022
|
-
*
|
|
54059
|
+
* When observation is activated, the application can directly change the JS objects without the need to
|
|
54060
|
+
* call {@link sap.ui.model.json.JSONModel#setData}, {@link sap.ui.model.json.JSONModel#setProperty} or
|
|
54061
|
+
* {@link sap.ui.model.Model#refresh}. **Note:** Observation only works for existing properties in the JSON
|
|
54062
|
+
* model. Newly added or removed properties and newly added or removed array entries, for example, are not
|
|
54063
|
+
* detected.
|
|
54023
54064
|
*/
|
|
54024
54065
|
constructor(
|
|
54025
54066
|
/**
|
|
@@ -54027,7 +54068,7 @@ declare namespace sap {
|
|
|
54027
54068
|
*/
|
|
54028
54069
|
oData?: object | string,
|
|
54029
54070
|
/**
|
|
54030
|
-
* Whether to observe the JSON data for property changes
|
|
54071
|
+
* Whether to observe the JSON data for property changes
|
|
54031
54072
|
*/
|
|
54032
54073
|
bObserve?: boolean
|
|
54033
54074
|
);
|
|
@@ -59242,8 +59283,8 @@ declare namespace sap {
|
|
|
59242
59283
|
*/
|
|
59243
59284
|
useBatch?: boolean;
|
|
59244
59285
|
/**
|
|
59245
|
-
*
|
|
59246
|
-
*
|
|
59286
|
+
* If set to `true`, the user credentials are included in a cross-origin request. **Note:** This only works
|
|
59287
|
+
* if all requests are asynchronous.
|
|
59247
59288
|
*/
|
|
59248
59289
|
withCredentials?: boolean;
|
|
59249
59290
|
/**
|
|
@@ -61310,7 +61351,7 @@ declare namespace sap {
|
|
|
61310
61351
|
/**
|
|
61311
61352
|
* Paths to be reset; if no array is passed, all changes are reset
|
|
61312
61353
|
*/
|
|
61313
|
-
aPath?:
|
|
61354
|
+
aPath?: string[],
|
|
61314
61355
|
/**
|
|
61315
61356
|
* Whether also deferred requests are taken into account so that they are aborted
|
|
61316
61357
|
*/
|
|
@@ -63042,9 +63083,9 @@ declare namespace sap {
|
|
|
63042
63083
|
* depending on this context become unresolved, but no attempt is made to restore these bindings in case
|
|
63043
63084
|
* of reset or failure.
|
|
63044
63085
|
*
|
|
63045
|
-
*
|
|
63046
|
-
* is supported
|
|
63047
|
-
*
|
|
63086
|
+
* Since 1.125.0, deleting a node in a recursive hierarchy (see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation})
|
|
63087
|
+
* is supported. As a precondition, the context must not be both {@link #setKeepAlive kept-alive} and hidden
|
|
63088
|
+
* (for example due to a filter), and the group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}.
|
|
63048
63089
|
* Such a deletion is not a pending change.
|
|
63049
63090
|
* See:
|
|
63050
63091
|
* #hasPendingChanges
|
|
@@ -63356,7 +63397,7 @@ declare namespace sap {
|
|
|
63356
63397
|
* not be shown anymore due to the search or filter criteria. If the latter happens to this context, its
|
|
63357
63398
|
* {@link #getIndex index} becomes `undefined`.
|
|
63358
63399
|
*
|
|
63359
|
-
* @
|
|
63400
|
+
* @since 1.125.0
|
|
63360
63401
|
*
|
|
63361
63402
|
* @returns A promise which is resolved without a defined result when the move is finished, or rejected
|
|
63362
63403
|
* in case of an error
|
|
@@ -63367,12 +63408,12 @@ declare namespace sap {
|
|
|
63367
63408
|
*/
|
|
63368
63409
|
oParameters: {
|
|
63369
63410
|
/**
|
|
63370
|
-
* The next sibling's context, or `null` to turn this node into the last sibling
|
|
63371
|
-
*
|
|
63411
|
+
* The next sibling's context, or `null` to turn this node into the last sibling. Omitting the sibling moves
|
|
63412
|
+
* this node to a position determined by the server.
|
|
63372
63413
|
*/
|
|
63373
63414
|
nextSibling?: sap.ui.model.odata.v4.Context | null;
|
|
63374
63415
|
/**
|
|
63375
|
-
* The new parent's context, or
|
|
63416
|
+
* The new parent's context, or `null` to turn this node into a root node
|
|
63376
63417
|
*/
|
|
63377
63418
|
parent: sap.ui.model.odata.v4.Context | null;
|
|
63378
63419
|
}
|
|
@@ -64525,14 +64566,19 @@ declare namespace sap {
|
|
|
64525
64566
|
* has been read or if the system query option `$count` is `true` and the binding has processed at least
|
|
64526
64567
|
* one request.
|
|
64527
64568
|
*
|
|
64528
|
-
*
|
|
64529
|
-
* but not collapsed) is supported
|
|
64530
|
-
*
|
|
64531
|
-
*
|
|
64532
|
-
*
|
|
64533
|
-
*
|
|
64534
|
-
*
|
|
64535
|
-
*
|
|
64569
|
+
* Since 1.125.0, creating a new child beneath an existing and visible parent node (which must either be
|
|
64570
|
+
* a leaf or expanded, but not collapsed) is supported in case of a recursive hierarchy (see {@link #setAggregation}).
|
|
64571
|
+
* The parent node must be identified via an {@link sap.ui.model.odata.v4.Context} instance given as `oInitialData["@$ui5.node.parent"]`
|
|
64572
|
+
* (which is immediately removed from the new child's data). It can be `null` or absent when creating a
|
|
64573
|
+
* new root node. `bSkipRefresh` must be set, but both `bAtEnd` and `bInactive` must not be set. No other
|
|
64574
|
+
* creation or {@link sap.ui.model.odata.v4.Context#move move} must be pending, and no other modification
|
|
64575
|
+
* (including collapse of some ancestor node) must happen while this creation is pending! When using the
|
|
64576
|
+
* `createInPlace` parameter (see {@link #setAggregation}, @experimental as of version 1.125.0), the new
|
|
64577
|
+
* {@link sap.ui.model.odata.v4.Context#isTransient transient} child is hidden until it becomes {@link sap.ui.model.odata.v4.Context#created created},
|
|
64578
|
+
* and then it is shown at a position determined by the back end and the current sort order. The position
|
|
64579
|
+
* of the new child can be retrieved by using its {@link sap.ui.model.odata.v4.Context#getIndex index}.
|
|
64580
|
+
* If the created child does not become part of the hierarchy due to the search or filter criteria, the
|
|
64581
|
+
* context will be destroyed and its {@link sap.ui.model.odata.v4.Context#getIndex index} is set to `undefined`.
|
|
64536
64582
|
*
|
|
64537
64583
|
* @since 1.43.0
|
|
64538
64584
|
*
|
|
@@ -64720,7 +64766,7 @@ declare namespace sap {
|
|
|
64720
64766
|
getAggregation(
|
|
64721
64767
|
/**
|
|
64722
64768
|
* Whether to additionally return the "$"-prefixed values described below which obviously cannot be given
|
|
64723
|
-
* back to the setter (
|
|
64769
|
+
* back to the setter (since 1.125.0). They are retrieved from the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy"
|
|
64724
64770
|
* and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy" annotations at this binding's entity type,
|
|
64725
64771
|
* identified via the `hierarchyQualifier` given to {@link #setAggregation}.
|
|
64726
64772
|
* "$DistanceFromRoot" holds the path to the property which provides the raw value for "@$ui5.node.level"
|
|
@@ -65173,14 +65219,13 @@ declare namespace sap {
|
|
|
65173
65219
|
* An object holding the information needed for data aggregation; see also OData
|
|
65174
65220
|
* Extension for Data Aggregation Version 4.0. Since 1.76.0, `undefined` can be used to remove the data
|
|
65175
65221
|
* aggregation object, which allows to set `$apply` explicitly afterwards. `null` is not supported.
|
|
65176
|
-
* Since 1.89.0, the deprecated property `"grandTotal like 1.84" : true` can be used to turn on the
|
|
65177
|
-
* of grand totals like in 1.84.0, using aggregates of aggregates and thus allowing to filter by
|
|
65178
|
-
* properties while grand totals are needed. Beware that methods like "average" or "countdistinct"
|
|
65179
|
-
* compatible with this approach, and it cannot be combined with group levels.
|
|
65180
|
-
* Since 1.
|
|
65181
|
-
* is the leading property that decides between those two use cases
|
|
65182
|
-
*
|
|
65183
|
-
* for read-only hierarchies.
|
|
65222
|
+
* Since 1.89.0, the **deprecated** property `"grandTotal like 1.84" : true` can be used to turn on the
|
|
65223
|
+
* handling of grand totals like in 1.84.0, using aggregates of aggregates and thus allowing to filter by
|
|
65224
|
+
* aggregated properties while grand totals are needed. Beware that methods like "average" or "countdistinct"
|
|
65225
|
+
* are not compatible with this approach, and it cannot be combined with group levels.
|
|
65226
|
+
* Since 1.117.0, either a read-only recursive hierarchy or pure data aggregation is supported, but no
|
|
65227
|
+
* mix; `hierarchyQualifier` is the leading property that decides between those two use cases. Since 1.125.0,
|
|
65228
|
+
* maintenance of a recursive hierarchy is supported.
|
|
65184
65229
|
*/
|
|
65185
65230
|
oAggregation?: {
|
|
65186
65231
|
/**
|
|
@@ -65200,12 +65245,17 @@ declare namespace sap {
|
|
|
65200
65245
|
* `CASE WHEN MIN(Unit) = MAX(Unit) THEN MIN(Unit) END`)
|
|
65201
65246
|
*/
|
|
65202
65247
|
aggregate?: object;
|
|
65248
|
+
/**
|
|
65249
|
+
* Whether created nodes are shown in place at the position specified by the service (@experimental as of
|
|
65250
|
+
* version 1.125.0); only the value `true` is allowed. Otherwise, created nodes are displayed out of place
|
|
65251
|
+
* as the first child of their parent.
|
|
65252
|
+
*/
|
|
65253
|
+
createInPlace?: boolean;
|
|
65203
65254
|
/**
|
|
65204
65255
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
65205
|
-
* (
|
|
65206
|
-
*
|
|
65207
|
-
*
|
|
65208
|
-
* to expand all levels (`1E16` is recommended inside XML views for simplicity).
|
|
65256
|
+
* (since 1.117.0), supported only if a `hierarchyQualifier` is given. Root nodes are on the first level.
|
|
65257
|
+
* By default, only root nodes are available; they are not yet expanded. Since 1.120.0, `expandTo >= Number.MAX_SAFE_INTEGER`
|
|
65258
|
+
* can be used to expand all levels (`1E16` is recommended inside XML views for simplicity).
|
|
65209
65259
|
*/
|
|
65210
65260
|
expandTo?: number;
|
|
65211
65261
|
/**
|
|
@@ -65230,12 +65280,10 @@ declare namespace sap {
|
|
|
65230
65280
|
groupLevels?: string[];
|
|
65231
65281
|
/**
|
|
65232
65282
|
* The qualifier for the pair of "Org.OData.Aggregation.V1.RecursiveHierarchy" and "com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy"
|
|
65233
|
-
* annotations at this binding's entity type (
|
|
65234
|
-
*
|
|
65235
|
-
*
|
|
65236
|
-
*
|
|
65237
|
-
* "$search", the `vGroup` parameter of {@link sap.ui.model.Sorter} (since 1.107.0), shared
|
|
65238
|
-
* requests (since 1.108.0).
|
|
65283
|
+
* annotations at this binding's entity type (since 1.117.0). If present, a recursive hierarchy without
|
|
65284
|
+
* data aggregation is defined, and the only other supported properties are `createInPlace`, `expandTo`,
|
|
65285
|
+
* and `search`. A recursive hierarchy cannot be combined with:
|
|
65286
|
+
* "$search", the `vGroup` parameter of {@link sap.ui.model.Sorter}, shared requests.
|
|
65239
65287
|
*/
|
|
65240
65288
|
hierarchyQualifier?: string;
|
|
65241
65289
|
/**
|
|
@@ -65881,7 +65929,7 @@ declare namespace sap {
|
|
|
65881
65929
|
* must refer to a function in `mParameters.scope` in case of a relative name starting with a dot, which
|
|
65882
65930
|
* is stripped before lookup; see the `<template:alias>` instruction for XML Templating. In case of an
|
|
65883
65931
|
* absolute name, it is searched in `mParameters.scope` first and then in the global namespace. (Using the
|
|
65884
|
-
* global namespace is deprecated as of version 1.120.3). The names "requestCurrencyCodes" and "requestUnitsOfMeasure"
|
|
65932
|
+
* global namespace is **deprecated** as of version 1.120.3). The names "requestCurrencyCodes" and "requestUnitsOfMeasure"
|
|
65885
65933
|
* default to {@link #requestCurrencyCodes} and {@link #requestUnitsOfMeasure} resp. if not present in `mParameters.scope`.
|
|
65886
65934
|
* This function is called with the current object (or primitive value) and additional details and returns
|
|
65887
65935
|
* the result of this {@link #requestObject} call. The additional details are given as an object with the
|
|
@@ -65990,8 +66038,8 @@ declare namespace sap {
|
|
|
65990
66038
|
/**
|
|
65991
66039
|
* Scope for lookup of aliases for computed annotations (since 1.43.0) as a map from alias to a module (like
|
|
65992
66040
|
* `{AH : AnnotationHelper}`) or function (like `{format : AnnotationHelper.format}`); the alias must not
|
|
65993
|
-
* contain a dot. Since 1.120.3 looking up a computed annotation via its global name is deprecated
|
|
65994
|
-
* use this scope instead.
|
|
66041
|
+
* contain a dot. Since 1.120.3 looking up a computed annotation via its global name is **deprecated**;
|
|
66042
|
+
* always use this scope instead.
|
|
65995
66043
|
*/
|
|
65996
66044
|
scope?: Record<string, object | Function>;
|
|
65997
66045
|
}
|
|
@@ -66268,10 +66316,10 @@ declare namespace sap {
|
|
|
66268
66316
|
*/
|
|
66269
66317
|
supportReferences?: boolean;
|
|
66270
66318
|
/**
|
|
66319
|
+
* **deprecated:** As of Version 1.110.0, this parameter is obsolete; see also {@link https://ui5.sap.com/#/topic/648e360fa22d46248ca783dc6eb44531 Data Reuse }
|
|
66271
66320
|
* (Controls synchronization between different bindings which refer to the same data for the case data changes
|
|
66272
66321
|
* in one binding. Must be set to 'None' which means bindings are not synchronized at all; all other values
|
|
66273
|
-
* are not supported and lead to an error.)
|
|
66274
|
-
* see also {@link https://ui5.sap.com/#/topic/648e360fa22d46248ca783dc6eb44531 Data Reuse}
|
|
66322
|
+
* are not supported and lead to an error.)
|
|
66275
66323
|
*/
|
|
66276
66324
|
synchronizationMode?: string;
|
|
66277
66325
|
/**
|
|
@@ -66762,7 +66810,7 @@ declare namespace sap {
|
|
|
66762
66810
|
* are not supported.
|
|
66763
66811
|
*
|
|
66764
66812
|
* It is possible to create binding contexts pointing to metadata. A '##' is recognized as separator in
|
|
66765
|
-
* the resolved path and splits it into two parts; note that '#' may also be used as separator but is deprecated
|
|
66813
|
+
* the resolved path and splits it into two parts; note that '#' may also be used as separator but is **deprecated**
|
|
66766
66814
|
* since 1.51. The part before the separator is transformed into a metadata context (see {@link sap.ui.model.odata.v4.ODataMetaModel#getMetaContext}).
|
|
66767
66815
|
* The part following the separator is then interpreted relative to this metadata context, even if it starts
|
|
66768
66816
|
* with a '/'; a trailing '/' is allowed here, see {@link sap.ui.model.odata.v4.ODataMetaModel#requestObject }
|
|
@@ -72218,7 +72266,7 @@ declare namespace sap {
|
|
|
72218
72266
|
*/
|
|
72219
72267
|
activeTerminologies?: string[];
|
|
72220
72268
|
/**
|
|
72221
|
-
*
|
|
72269
|
+
* **Deprecated as of Version 1.125**; always use asynchronous loading for performance reasons
|
|
72222
72270
|
*/
|
|
72223
72271
|
async?: boolean;
|
|
72224
72272
|
/**
|
|
@@ -85626,6 +85674,8 @@ declare namespace sap {
|
|
|
85626
85674
|
|
|
85627
85675
|
"sap/ui/model/DataState": undefined;
|
|
85628
85676
|
|
|
85677
|
+
"sap/ui/model/FieldHelp": undefined;
|
|
85678
|
+
|
|
85629
85679
|
"sap/ui/model/Filter": undefined;
|
|
85630
85680
|
|
|
85631
85681
|
"sap/ui/model/FilterOperator": undefined;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.125.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -1398,6 +1398,8 @@ declare namespace sap {
|
|
|
1398
1398
|
|
|
1399
1399
|
"sap/ui/fl/apply/_internal/flexState/DataSelector": undefined;
|
|
1400
1400
|
|
|
1401
|
+
"sap/ui/fl/apply/_internal/flexState/FlexObjectState": undefined;
|
|
1402
|
+
|
|
1401
1403
|
"sap/ui/fl/apply/_internal/flexState/FlexState": undefined;
|
|
1402
1404
|
|
|
1403
1405
|
"sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.125.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -4308,6 +4308,11 @@ declare namespace sap {
|
|
|
4308
4308
|
* Description
|
|
4309
4309
|
*/
|
|
4310
4310
|
description?: string;
|
|
4311
|
+
/**
|
|
4312
|
+
* Path to a custom image to be shown on the place of the regular illustration. Relative to the card base
|
|
4313
|
+
* URL.
|
|
4314
|
+
*/
|
|
4315
|
+
imageSrc?: string;
|
|
4311
4316
|
/**
|
|
4312
4317
|
* Response object in case of a network error
|
|
4313
4318
|
*/
|
package/types/sap.ui.layout.d.ts
CHANGED