@openui5/types 1.136.3 → 1.139.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/README.md +3 -3
- package/package.json +2 -2
- package/types/sap.f.d.ts +5 -5
- package/types/sap.m.d.ts +1738 -583
- package/types/sap.tnt.d.ts +103 -16
- 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 +108 -68
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -7
- package/types/sap.ui.integration.d.ts +88 -31
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +614 -298
- 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 +9 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.139.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
/**
|
|
@@ -925,16 +925,19 @@ declare module "sap/tnt/NavigationList" {
|
|
|
925
925
|
/**
|
|
926
926
|
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
927
927
|
*
|
|
928
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
929
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
930
|
+
*
|
|
928
931
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
929
932
|
*
|
|
930
|
-
* @returns
|
|
933
|
+
* @returns Whether or not to prevent the default action
|
|
931
934
|
*/
|
|
932
935
|
fireItemPress(
|
|
933
936
|
/**
|
|
934
937
|
* Parameters to pass along with the event
|
|
935
938
|
*/
|
|
936
939
|
mParameters?: NavigationList$ItemPressEventParameters
|
|
937
|
-
):
|
|
940
|
+
): boolean;
|
|
938
941
|
/**
|
|
939
942
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
940
943
|
*
|
|
@@ -1214,6 +1217,28 @@ declare module "sap/tnt/NavigationList" {
|
|
|
1214
1217
|
* The pressed item.
|
|
1215
1218
|
*/
|
|
1216
1219
|
item?: Item;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Indicates whether the CTRL key was pressed when the link was selected.
|
|
1223
|
+
*/
|
|
1224
|
+
ctrlKey?: boolean;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Indicates whether the Shift key was pressed when the link was selected.
|
|
1228
|
+
*/
|
|
1229
|
+
shiftKey?: boolean;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Indicates whether the Alt key was pressed when the link was selected.
|
|
1233
|
+
*/
|
|
1234
|
+
altKey?: boolean;
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Indicates whether the "meta" key was pressed when the link was selected.
|
|
1238
|
+
*
|
|
1239
|
+
* On Macintosh keyboards, this is the command key (⌘). On Windows keyboards, this is the windows key (⊞).
|
|
1240
|
+
*/
|
|
1241
|
+
metaKey?: boolean;
|
|
1217
1242
|
}
|
|
1218
1243
|
|
|
1219
1244
|
/**
|
|
@@ -1679,7 +1704,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1679
1704
|
* a single side navigation.
|
|
1680
1705
|
*
|
|
1681
1706
|
* **Guidelines:**
|
|
1682
|
-
* -
|
|
1707
|
+
* - Items that have a set href and target set to `_blank` should not be selectable.
|
|
1683
1708
|
* - Items that trigger actions (with design "Action") should not be selectable.
|
|
1684
1709
|
*
|
|
1685
1710
|
* Default value is `true`.
|
|
@@ -1697,8 +1722,12 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1697
1722
|
* Specifies the browsing context where the linked content will open.
|
|
1698
1723
|
*
|
|
1699
1724
|
* Options are the standard values for window.open() supported by browsers: `_self`, `_top`, `_blank`, `_parent`,
|
|
1700
|
-
* `_search`. Alternatively, a frame name can be entered.
|
|
1701
|
-
*
|
|
1725
|
+
* `_search`. Alternatively, a frame name can be entered.
|
|
1726
|
+
*
|
|
1727
|
+
* **Guidelines:**
|
|
1728
|
+
* - Use only when `href` property is set.
|
|
1729
|
+
* - Items that have a set href and target set to `_blank` should not have children Items that have
|
|
1730
|
+
* a set href, should not use target for internal navigation/li>
|
|
1702
1731
|
*
|
|
1703
1732
|
*
|
|
1704
1733
|
* @returns Value of property `target`
|
|
@@ -1855,7 +1884,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1855
1884
|
* a single side navigation.
|
|
1856
1885
|
*
|
|
1857
1886
|
* **Guidelines:**
|
|
1858
|
-
* -
|
|
1887
|
+
* - Items that have a set href and target set to `_blank` should not be selectable.
|
|
1859
1888
|
* - Items that trigger actions (with design "Action") should not be selectable.
|
|
1860
1889
|
*
|
|
1861
1890
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
@@ -1880,8 +1909,12 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1880
1909
|
* Specifies the browsing context where the linked content will open.
|
|
1881
1910
|
*
|
|
1882
1911
|
* Options are the standard values for window.open() supported by browsers: `_self`, `_top`, `_blank`, `_parent`,
|
|
1883
|
-
* `_search`. Alternatively, a frame name can be entered.
|
|
1884
|
-
*
|
|
1912
|
+
* `_search`. Alternatively, a frame name can be entered.
|
|
1913
|
+
*
|
|
1914
|
+
* **Guidelines:**
|
|
1915
|
+
* - Use only when `href` property is set.
|
|
1916
|
+
* - Items that have a set href and target set to `_blank` should not have children Items that have
|
|
1917
|
+
* a set href, should not use target for internal navigation/li>
|
|
1885
1918
|
*
|
|
1886
1919
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1887
1920
|
*
|
|
@@ -1941,7 +1974,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1941
1974
|
* a single side navigation.
|
|
1942
1975
|
*
|
|
1943
1976
|
* **Guidelines:**
|
|
1944
|
-
* -
|
|
1977
|
+
* - Items that have a set href and target set to `_blank` should not be selectable.
|
|
1945
1978
|
* - Items that trigger actions (with design "Action") should not be selectable.
|
|
1946
1979
|
*
|
|
1947
1980
|
* @since 1.116
|
|
@@ -1960,8 +1993,12 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1960
1993
|
* Specifies the browsing context where the linked content will open.
|
|
1961
1994
|
*
|
|
1962
1995
|
* Options are the standard values for window.open() supported by browsers: `_self`, `_top`, `_blank`, `_parent`,
|
|
1963
|
-
* `_search`. Alternatively, a frame name can be entered.
|
|
1964
|
-
*
|
|
1996
|
+
* `_search`. Alternatively, a frame name can be entered.
|
|
1997
|
+
*
|
|
1998
|
+
* **Guidelines:**
|
|
1999
|
+
* - Use only when `href` property is set.
|
|
2000
|
+
* - Items that have a set href and target set to `_blank` should not have children Items that have
|
|
2001
|
+
* a set href, should not use target for internal navigation/li>
|
|
1965
2002
|
*/
|
|
1966
2003
|
target?: string | PropertyBindingInfo;
|
|
1967
2004
|
|
|
@@ -2170,17 +2207,20 @@ declare module "sap/tnt/NavigationListItemBase" {
|
|
|
2170
2207
|
/**
|
|
2171
2208
|
* Fires event {@link #event:press press} to attached listeners.
|
|
2172
2209
|
*
|
|
2210
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
2211
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
2212
|
+
*
|
|
2173
2213
|
* @since 1.133
|
|
2174
2214
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2175
2215
|
*
|
|
2176
|
-
* @returns
|
|
2216
|
+
* @returns Whether or not to prevent the default action
|
|
2177
2217
|
*/
|
|
2178
2218
|
firePress(
|
|
2179
2219
|
/**
|
|
2180
2220
|
* Parameters to pass along with the event
|
|
2181
2221
|
*/
|
|
2182
2222
|
mParameters?: NavigationListItemBase$PressEventParameters
|
|
2183
|
-
):
|
|
2223
|
+
): boolean;
|
|
2184
2224
|
/**
|
|
2185
2225
|
* Gets current value of property {@link #getExpanded expanded}.
|
|
2186
2226
|
*
|
|
@@ -2320,6 +2360,28 @@ declare module "sap/tnt/NavigationListItemBase" {
|
|
|
2320
2360
|
* The pressed item.
|
|
2321
2361
|
*/
|
|
2322
2362
|
item?: Item;
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Indicates whether the CTRL key was pressed when the link was selected.
|
|
2366
|
+
*/
|
|
2367
|
+
ctrlKey?: boolean;
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Indicates whether the Shift key was pressed when the link was selected.
|
|
2371
|
+
*/
|
|
2372
|
+
shiftKey?: boolean;
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* Indicates whether the Alt key was pressed when the link was selected.
|
|
2376
|
+
*/
|
|
2377
|
+
altKey?: boolean;
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Indicates whether the "meta" key was pressed when the link was selected.
|
|
2381
|
+
*
|
|
2382
|
+
* On Macintosh keyboards, this is the command key (⌘). On Windows keyboards, this is the windows key (⊞).
|
|
2383
|
+
*/
|
|
2384
|
+
metaKey?: boolean;
|
|
2323
2385
|
}
|
|
2324
2386
|
|
|
2325
2387
|
/**
|
|
@@ -2598,16 +2660,19 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2598
2660
|
/**
|
|
2599
2661
|
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
2600
2662
|
*
|
|
2663
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
2664
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
2665
|
+
*
|
|
2601
2666
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2602
2667
|
*
|
|
2603
|
-
* @returns
|
|
2668
|
+
* @returns Whether or not to prevent the default action
|
|
2604
2669
|
*/
|
|
2605
2670
|
fireItemPress(
|
|
2606
2671
|
/**
|
|
2607
2672
|
* Parameters to pass along with the event
|
|
2608
2673
|
*/
|
|
2609
2674
|
mParameters?: SideNavigation$ItemPressEventParameters
|
|
2610
|
-
):
|
|
2675
|
+
): boolean;
|
|
2611
2676
|
/**
|
|
2612
2677
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
2613
2678
|
*
|
|
@@ -2936,6 +3001,28 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2936
3001
|
* The pressed item.
|
|
2937
3002
|
*/
|
|
2938
3003
|
item?: Item;
|
|
3004
|
+
|
|
3005
|
+
/**
|
|
3006
|
+
* Indicates whether the CTRL key was pressed when the link was selected.
|
|
3007
|
+
*/
|
|
3008
|
+
ctrlKey?: boolean;
|
|
3009
|
+
|
|
3010
|
+
/**
|
|
3011
|
+
* Indicates whether the Shift key was pressed when the link was selected.
|
|
3012
|
+
*/
|
|
3013
|
+
shiftKey?: boolean;
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* Indicates whether the Alt key was pressed when the link was selected.
|
|
3017
|
+
*/
|
|
3018
|
+
altKey?: boolean;
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* Indicates whether the "meta" key was pressed when the link was selected.
|
|
3022
|
+
*
|
|
3023
|
+
* On Macintosh keyboards, this is the command key (⌘). On Windows keyboards, this is the windows key (⊞).
|
|
3024
|
+
*/
|
|
3025
|
+
metaKey?: boolean;
|
|
2939
3026
|
}
|
|
2940
3027
|
|
|
2941
3028
|
/**
|
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.139.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -42684,7 +42684,10 @@ declare module "sap/ui/core/routing/Target" {
|
|
|
42684
42684
|
oListener?: object
|
|
42685
42685
|
): this;
|
|
42686
42686
|
/**
|
|
42687
|
-
* Creates a view and puts it in an aggregation of a control that has been defined in the {@link
|
|
42687
|
+
* Creates a view and puts it in an aggregation of a control that has been defined in the {@link #constructor}.
|
|
42688
|
+
*
|
|
42689
|
+
* This method can be used to display a target without changing the browser hash. If the browser hash should
|
|
42690
|
+
* be changed, the {@link sap.ui.core.routing.Router#navTo} method should be used instead
|
|
42688
42691
|
*
|
|
42689
42692
|
*
|
|
42690
42693
|
* @returns resolves with {name: *, view: *, control: *} if the target can be successfully displayed otherwise
|
|
@@ -44604,6 +44607,27 @@ declare module "sap/ui/core/routing/RouterHashChanger" {
|
|
|
44604
44607
|
* @returns Metadata object describing this class
|
|
44605
44608
|
*/
|
|
44606
44609
|
static getMetadata(): Metadata;
|
|
44610
|
+
/**
|
|
44611
|
+
* Returns a managed instance of {@link sap.ui.core.routing.RouterHashChanger} associated with the current
|
|
44612
|
+
* instance.
|
|
44613
|
+
*
|
|
44614
|
+
* This sub-instance handles a specific part of the URL hash. When the sub-instance modifies the hash, it
|
|
44615
|
+
* notifies the parent instance, which then updates the browser’s hash accordingly. Likewise, when the relevant
|
|
44616
|
+
* part of the hash changes externally, the parent instance notifies the sub-instance.
|
|
44617
|
+
*
|
|
44618
|
+
* The provided `sKey` is used as an identifier for caching the sub-instance. If this method is called again
|
|
44619
|
+
* with the same key, the previously created instance is returned.
|
|
44620
|
+
*
|
|
44621
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
44622
|
+
*
|
|
44623
|
+
* @returns The corresponding sub RouterHashChanger instance.
|
|
44624
|
+
*/
|
|
44625
|
+
createSubHashChanger(
|
|
44626
|
+
/**
|
|
44627
|
+
* A unique key used as the prefix for the sub RouterHashChanger.
|
|
44628
|
+
*/
|
|
44629
|
+
sKey: string
|
|
44630
|
+
): RouterHashChanger;
|
|
44607
44631
|
/**
|
|
44608
44632
|
* Save the given hash and potentially fires a "hashChanged" event; may be extended to modify the hash before
|
|
44609
44633
|
* firing the event.
|
|
@@ -44720,10 +44744,6 @@ declare module "sap/ui/core/routing/Targets" {
|
|
|
44720
44744
|
default as Target,
|
|
44721
44745
|
} from "sap/ui/core/routing/Target";
|
|
44722
44746
|
|
|
44723
|
-
import View from "sap/ui/core/mvc/View";
|
|
44724
|
-
|
|
44725
|
-
import Control from "sap/ui/core/Control";
|
|
44726
|
-
|
|
44727
44747
|
import Metadata from "sap/ui/base/Metadata";
|
|
44728
44748
|
|
|
44729
44749
|
import Event from "sap/ui/base/Event";
|
|
@@ -45044,37 +45064,29 @@ declare module "sap/ui/core/routing/Targets" {
|
|
|
45044
45064
|
* Creates a view and puts it in an aggregation of the specified control.
|
|
45045
45065
|
*
|
|
45046
45066
|
*
|
|
45047
|
-
* @returns
|
|
45067
|
+
* @returns resolving with {{name: *, view: *, control: *}|undefined} for every vTargets, object for single,
|
|
45068
|
+
* array for multiple
|
|
45048
45069
|
*/
|
|
45049
45070
|
display(
|
|
45050
45071
|
/**
|
|
45051
|
-
*
|
|
45052
|
-
* of
|
|
45072
|
+
* the key of the target as specified in the {@link #constructor}. To display multiple targets you may also
|
|
45073
|
+
* pass an array of keys. If the target(s) represents a sap.ui.core.UIComponent, a prefix for its Router
|
|
45074
|
+
* is needed. You can set this parameter with an object which has the 'name' property set with the key of
|
|
45075
|
+
* the target and the 'prefix' property set with the prefix for the UIComponent's router. To display multiple
|
|
45076
|
+
* component targets, you man also pass an array of objects.
|
|
45053
45077
|
*/
|
|
45054
|
-
vTargets: string | string[] |
|
|
45078
|
+
vTargets: string | string[] | object | object[],
|
|
45055
45079
|
/**
|
|
45056
45080
|
* an object that will be passed to the display event in the data property. If the target has parents, the
|
|
45057
45081
|
* data will also be passed to them.
|
|
45058
45082
|
*/
|
|
45059
|
-
|
|
45083
|
+
vData?: object,
|
|
45060
45084
|
/**
|
|
45061
45085
|
* the name of the target from which the title option is taken for firing the {@link sap.ui.core.routing.Targets#event:titleChanged titleChanged }
|
|
45062
45086
|
* event
|
|
45063
45087
|
*/
|
|
45064
45088
|
sTitleTarget?: string
|
|
45065
|
-
):
|
|
45066
|
-
| this
|
|
45067
|
-
| Promise<
|
|
45068
|
-
Array<{
|
|
45069
|
-
name: string;
|
|
45070
|
-
|
|
45071
|
-
view: View;
|
|
45072
|
-
|
|
45073
|
-
control: Control;
|
|
45074
|
-
|
|
45075
|
-
targetInfo: TargetInfo;
|
|
45076
|
-
}>
|
|
45077
|
-
>;
|
|
45089
|
+
): Promise<any>;
|
|
45078
45090
|
/**
|
|
45079
45091
|
* Fires event {@link #event:created created} to attached listeners.
|
|
45080
45092
|
*
|
|
@@ -51755,8 +51767,7 @@ declare module "sap/ui/core/webc/WebComponent" {
|
|
|
51755
51767
|
* properties, the aggregations and the events. It also ensures to render the control and put the aggregated
|
|
51756
51768
|
* controls in the dedicated slots of the Web Component.
|
|
51757
51769
|
*
|
|
51758
|
-
* @since 1.
|
|
51759
|
-
* @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
|
|
51770
|
+
* @since 1.138.0
|
|
51760
51771
|
*/
|
|
51761
51772
|
export default class WebComponent extends Control {
|
|
51762
51773
|
/**
|
|
@@ -51903,8 +51914,6 @@ declare module "sap/ui/core/webc/WebComponent" {
|
|
|
51903
51914
|
|
|
51904
51915
|
/**
|
|
51905
51916
|
* Describes the settings that can be provided to the WebComponent constructor.
|
|
51906
|
-
*
|
|
51907
|
-
* @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
|
|
51908
51917
|
*/
|
|
51909
51918
|
export interface $WebComponentSettings extends $ControlSettings {}
|
|
51910
51919
|
|
|
@@ -52004,8 +52013,7 @@ declare module "sap/ui/core/webc/WebComponentMetadata" {
|
|
|
52004
52013
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
52005
52014
|
|
|
52006
52015
|
/**
|
|
52007
|
-
* @since 1.
|
|
52008
|
-
* @experimental As of version 1.118.0. The API might change. It is not intended for productive usage yet!
|
|
52016
|
+
* @since 1.138.0
|
|
52009
52017
|
*/
|
|
52010
52018
|
export default class WebComponentMetadata extends ElementMetadata {
|
|
52011
52019
|
/**
|
|
@@ -53839,7 +53847,7 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
|
|
|
53839
53847
|
* to OData requests. If a binding count mode is set to `Request` or `Both`, a warning is logged to remind
|
|
53840
53848
|
* the application that the OData requests generated by the AnalyticalBinding include a $inlinecount.
|
|
53841
53849
|
*
|
|
53842
|
-
* @
|
|
53850
|
+
* @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
|
|
53843
53851
|
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
53844
53852
|
*/
|
|
53845
53853
|
export default class AnalyticalBinding extends TreeBinding {
|
|
@@ -54435,6 +54443,10 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
|
|
|
54435
54443
|
}
|
|
54436
54444
|
|
|
54437
54445
|
declare module "sap/ui/model/analytics/AnalyticalTreeBindingAdapter" {
|
|
54446
|
+
/**
|
|
54447
|
+
* @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
|
|
54448
|
+
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
54449
|
+
*/
|
|
54438
54450
|
export default class AnalyticalTreeBindingAdapter {
|
|
54439
54451
|
/**
|
|
54440
54452
|
* Adapter for TreeBindings to add the ListBinding functionality and use the tree structure in list based
|
|
@@ -54583,7 +54595,7 @@ declare module "sap/ui/model/analytics/odata4analytics" {
|
|
|
54583
54595
|
*
|
|
54584
54596
|
* Lazy initialization of attributes will cause unexpected values when you access object attributes directly.
|
|
54585
54597
|
*
|
|
54586
|
-
* @
|
|
54598
|
+
* @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
|
|
54587
54599
|
* @ui5-protected DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
54588
54600
|
*/
|
|
54589
54601
|
interface odata4analytics {
|
|
@@ -54610,6 +54622,9 @@ declare module "sap/ui/model/analytics/odata4analytics" {
|
|
|
54610
54622
|
): void;
|
|
54611
54623
|
}
|
|
54612
54624
|
const odata4analytics: odata4analytics;
|
|
54625
|
+
/**
|
|
54626
|
+
* @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
|
|
54627
|
+
*/
|
|
54613
54628
|
export default odata4analytics;
|
|
54614
54629
|
|
|
54615
54630
|
/**
|
|
@@ -59002,9 +59017,11 @@ declare module "sap/ui/model/Filter" {
|
|
|
59002
59017
|
* sensitive or not. Client models filter case insensitive compared to the OData models which filter case
|
|
59003
59018
|
* sensitive by default. See particular model documentation for details.
|
|
59004
59019
|
*
|
|
59005
|
-
* The filter operators {@link sap.ui.model.FilterOperator.Any "Any"}
|
|
59020
|
+
* The filter operators {@link sap.ui.model.FilterOperator.Any "Any"}, {@link sap.ui.model.FilterOperator.All "All"},
|
|
59021
|
+
* {@link sap.ui.model.FilterOperator.NotAny "NotAny"}, and {@link sap.ui.model.FilterOperator.NotAll "NotAll" }
|
|
59006
59022
|
* are only supported in V4 OData models. When creating a filter instance with these filter operators, the
|
|
59007
|
-
*
|
|
59023
|
+
* `variable` argument only accepts a string identifier, and the `condition` argument must be another filter
|
|
59024
|
+
* instance.
|
|
59008
59025
|
*/
|
|
59009
59026
|
constructor(
|
|
59010
59027
|
/**
|
|
@@ -59045,12 +59062,14 @@ declare module "sap/ui/model/Filter" {
|
|
|
59045
59062
|
*/
|
|
59046
59063
|
value2?: any;
|
|
59047
59064
|
/**
|
|
59048
|
-
* The variable name used in lambda operators ({@link sap.ui.model.FilterOperator.Any "Any"}
|
|
59065
|
+
* The variable name used in the lambda operators ({@link sap.ui.model.FilterOperator.Any "Any"}, {@link sap.ui.model.FilterOperator.All "All"},
|
|
59066
|
+
* {@link sap.ui.model.FilterOperator.NotAny "NotAny"}, and {@link sap.ui.model.FilterOperator.NotAll "NotAll"})
|
|
59049
59067
|
*/
|
|
59050
59068
|
variable?: string;
|
|
59051
59069
|
/**
|
|
59052
|
-
* A filter instance which will be used as the condition for lambda operators ({@link sap.ui.model.FilterOperator.Any "Any"
|
|
59053
|
-
*
|
|
59070
|
+
* A filter instance which will be used as the condition for lambda operators ({@link sap.ui.model.FilterOperator.Any "Any"},
|
|
59071
|
+
* {@link sap.ui.model.FilterOperator.All "All"}, {@link sap.ui.model.FilterOperator.NotAny "NotAny"}, and
|
|
59072
|
+
* {@link sap.ui.model.FilterOperator.NotAll "NotAll"})
|
|
59054
59073
|
*/
|
|
59055
59074
|
condition?: Filter;
|
|
59056
59075
|
/**
|
|
@@ -59260,10 +59279,8 @@ declare module "sap/ui/model/FilterOperator" {
|
|
|
59260
59279
|
enum FilterOperator {
|
|
59261
59280
|
/**
|
|
59262
59281
|
* Used to filter a list based on filter criteria that are defined in a nested filter for dependent subitems.
|
|
59263
|
-
* `All` returns a list of
|
|
59264
|
-
* the nested filter.
|
|
59265
|
-
* to the list of orders the customer placed in the past. The filter returns a list of those customers that
|
|
59266
|
-
* **always** ordered a specific product.
|
|
59282
|
+
* `All` returns a list of all items for which it is **true** that all dependent subitems match the filter
|
|
59283
|
+
* criteria of the nested filter. This means that **every** dependent subitem matches the filter criteria.
|
|
59267
59284
|
*
|
|
59268
59285
|
* This filter operator is only supported in OData V4 models.
|
|
59269
59286
|
*
|
|
@@ -59272,10 +59289,8 @@ declare module "sap/ui/model/FilterOperator" {
|
|
|
59272
59289
|
All = "All",
|
|
59273
59290
|
/**
|
|
59274
59291
|
* Used to filter a list based on filter criteria that are defined in a nested filter for dependent subitems.
|
|
59275
|
-
* `Any` returns a list of
|
|
59276
|
-
* of the nested filter.
|
|
59277
|
-
* to the list of orders the customer placed in the past. The filter returns a list of those customers that
|
|
59278
|
-
* **at least once** ordered a specific product.
|
|
59292
|
+
* `Any` returns a list of all items for which **at least one** dependent subitem matches the filter criteria
|
|
59293
|
+
* of the nested filter.
|
|
59279
59294
|
*
|
|
59280
59295
|
* This filter operator is only supported in OData V4 models.
|
|
59281
59296
|
*
|
|
@@ -59343,6 +59358,28 @@ declare module "sap/ui/model/FilterOperator" {
|
|
|
59343
59358
|
* FilterOperator not equals
|
|
59344
59359
|
*/
|
|
59345
59360
|
NE = "NE",
|
|
59361
|
+
/**
|
|
59362
|
+
* Used to filter a list based on filter criteria that are defined in a nested filter for dependent subitems.
|
|
59363
|
+
* `NotAll` returns a list of all items for which it is **false** that all dependent subitems match the
|
|
59364
|
+
* filter criteria of the nested filter. This means that **at least one** dependent subitem does not match
|
|
59365
|
+
* the filter criteria.
|
|
59366
|
+
*
|
|
59367
|
+
* This filter operator is only supported in OData V4 models.
|
|
59368
|
+
*
|
|
59369
|
+
* @since 1.139.0
|
|
59370
|
+
*/
|
|
59371
|
+
NotAll = "NotAll",
|
|
59372
|
+
/**
|
|
59373
|
+
* Used to filter a list based on filter criteria that are defined in a nested filter for dependent subitems.
|
|
59374
|
+
* `NotAny` returns a list of all items for which **none** of the dependent subitems match the filter criteria
|
|
59375
|
+
* of the nested filter. If no filter condition is given, `NotAny` returns all items that do not have any
|
|
59376
|
+
* dependent subitems (i.e., for which the collection is empty).
|
|
59377
|
+
*
|
|
59378
|
+
* This filter operator is only supported in OData V4 models.
|
|
59379
|
+
*
|
|
59380
|
+
* @since 1.139.0
|
|
59381
|
+
*/
|
|
59382
|
+
NotAny = "NotAny",
|
|
59346
59383
|
/**
|
|
59347
59384
|
* FilterOperator not contains
|
|
59348
59385
|
*
|
|
@@ -61430,7 +61467,7 @@ declare module "sap/ui/model/odata/ODataTreeBindingAdapter" {
|
|
|
61430
61467
|
* controls. Only usable with the sap.ui.table.TreeTable control. The functions defined here are only available
|
|
61431
61468
|
* when you are using a TreeTable and an ODataModel.
|
|
61432
61469
|
*
|
|
61433
|
-
* @
|
|
61470
|
+
* @deprecated As of version 1.138.0. will be replaced by OData V4 hierarchy functionality, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1/section_RCH Recursive Hierarchy}
|
|
61434
61471
|
*/
|
|
61435
61472
|
export default function ODataTreeBindingAdapter(): void;
|
|
61436
61473
|
}
|
|
@@ -71669,8 +71706,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71669
71706
|
/**
|
|
71670
71707
|
* Returns the value for the given path relative to this context. The function allows access to the complete
|
|
71671
71708
|
* data the context points to (if `sPath` is "") or any part thereof. The data is a JSON structure as described
|
|
71672
|
-
* in "
|
|
71673
|
-
*
|
|
71709
|
+
* in "OData JSON Format Version 4.0".
|
|
71710
|
+
* Note that the function clones the result. Modify values via {@link sap.ui.model.odata.v4.ODataPropertyBinding#setValue}.
|
|
71674
71711
|
*
|
|
71675
71712
|
* Returns `undefined` if the data is not (yet) available; no request is initiated. Use {@link #requestObject }
|
|
71676
71713
|
* for asynchronous access.
|
|
@@ -71958,7 +71995,8 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
71958
71995
|
/**
|
|
71959
71996
|
* Returns a promise on the value for the given path relative to this context. The function allows access
|
|
71960
71997
|
* to the complete data the context points to (if `sPath` is "") or any part thereof. The data is a JSON
|
|
71961
|
-
* structure as described in
|
|
71998
|
+
* structure as described in "OData
|
|
71999
|
+
* JSON Format Version 4.0". Note that the function clones the result. Modify values via {@link #setProperty}.
|
|
71962
72000
|
*
|
|
71963
72001
|
* The header context of a list binding only delivers `$count` and `@$ui5.context.isSelected` (wrapped in
|
|
71964
72002
|
* an object if `sPath` is "").
|
|
@@ -72733,7 +72771,8 @@ declare module "sap/ui/model/odata/v4/ODataContextBinding" {
|
|
|
72733
72771
|
/**
|
|
72734
72772
|
* Returns a promise on the value for the given path relative to this binding. The function allows access
|
|
72735
72773
|
* to the complete data the binding points to (if `sPath` is "") or any part thereof. The data is a JSON
|
|
72736
|
-
* structure as described in
|
|
72774
|
+
* structure as described in "OData
|
|
72775
|
+
* JSON Format Version 4.0". Note that the function clones the result. Modify values via {@link sap.ui.model.odata.v4.Context#setProperty}.
|
|
72737
72776
|
*
|
|
72738
72777
|
* If you want {@link #requestObject} to read fresh data, call `oBinding.refresh()` first.
|
|
72739
72778
|
* See:
|
|
@@ -73903,7 +73942,8 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73903
73942
|
*/
|
|
73904
73943
|
resume(): void;
|
|
73905
73944
|
/**
|
|
73906
|
-
* Sets a new data aggregation object and derives the system query option `$apply` implicitly from it.
|
|
73945
|
+
* Sets a new data aggregation object and derives the system query option `$apply` implicitly from it. If
|
|
73946
|
+
* the aggregation is unchanged, nothing happens.
|
|
73907
73947
|
* See:
|
|
73908
73948
|
* #getAggregation
|
|
73909
73949
|
*
|
|
@@ -73947,7 +73987,9 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
73947
73987
|
* The number (as a positive integer) of different levels initially available without calling {@link sap.ui.model.odata.v4.Context#expand }
|
|
73948
73988
|
* (since 1.117.0), supported only if a `hierarchyQualifier` is given. Root nodes are on the first level.
|
|
73949
73989
|
* By default, only root nodes are available; they are not yet expanded. Since 1.120.0, `expandTo >= Number.MAX_SAFE_INTEGER`
|
|
73950
|
-
* can be used to expand all levels (`1E16` is recommended inside XML views for simplicity).
|
|
73990
|
+
* can be used to expand all levels (`1E16` is recommended inside XML views for simplicity). Since 1.139.0,
|
|
73991
|
+
* {@link #getAggregation} returns `expandTo : Number.MAX_SAFE_INTEGER` instead of values greater than this.
|
|
73992
|
+
* These differences do not count as changes.
|
|
73951
73993
|
*/
|
|
73952
73994
|
expandTo?: number;
|
|
73953
73995
|
/**
|
|
@@ -74329,8 +74371,6 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74329
74371
|
|
|
74330
74372
|
/**
|
|
74331
74373
|
* Parameters of the ODataListBinding#separateReceived event.
|
|
74332
|
-
*
|
|
74333
|
-
* @experimental As of version 1.131.0.
|
|
74334
74374
|
*/
|
|
74335
74375
|
export interface ODataListBinding$SeparateReceivedEventParameters {
|
|
74336
74376
|
/**
|
|
@@ -74349,15 +74389,13 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74349
74389
|
length?: number;
|
|
74350
74390
|
|
|
74351
74391
|
/**
|
|
74352
|
-
*
|
|
74392
|
+
* An array of UI5 messages if the request failed; `undefined` otherwise
|
|
74353
74393
|
*/
|
|
74354
|
-
|
|
74394
|
+
messagesOnError?: Message[];
|
|
74355
74395
|
}
|
|
74356
74396
|
|
|
74357
74397
|
/**
|
|
74358
74398
|
* Event object of the ODataListBinding#separateReceived event.
|
|
74359
|
-
*
|
|
74360
|
-
* @experimental As of version 1.131.0.
|
|
74361
74399
|
*/
|
|
74362
74400
|
export type ODataListBinding$SeparateReceivedEvent = Event<
|
|
74363
74401
|
ODataListBinding$SeparateReceivedEventParameters,
|
|
@@ -74958,7 +74996,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
74958
74996
|
* is not an OData simple identifier, it can be used as a placeholder for one. In this way, "/EMPLOYEES/"
|
|
74959
74997
|
* addresses the same entity type as "/EMPLOYEES/$Type/". That entity type in turn is a map of all its OData
|
|
74960
74998
|
* children (that is, structural and navigation properties) and determines the set of possible child names
|
|
74961
|
-
* that might be used after the trailing slash.
|
|
74999
|
+
* that might be used after the trailing slash. Since 1.137.0, open (complex or entity) types are supported
|
|
75000
|
+
* as follows: A simple identifier that does not refer to an OData child is valid and treated as a dynamic
|
|
75001
|
+
* property of type "Edm.Untyped".
|
|
74962
75002
|
*
|
|
74963
75003
|
* "$" can be used as the last segment to continue a path and thus force scope lookup, but no OData simple
|
|
74964
75004
|
* identifier preparations. In this way, it serves as a placeholder for a technical property. The path must
|
|
@@ -75625,12 +75665,12 @@ declare module "sap/ui/model/odata/v4/ODataModel" {
|
|
|
75625
75665
|
*/
|
|
75626
75666
|
$$ownRequest?: boolean;
|
|
75627
75667
|
/**
|
|
75628
|
-
* An array of navigation property names which are omitted from the main list request
|
|
75629
|
-
*
|
|
75630
|
-
*
|
|
75631
|
-
*
|
|
75632
|
-
*
|
|
75633
|
-
*
|
|
75668
|
+
* An array of navigation property names which are omitted from the main list request (since 1.137.0). Instead,
|
|
75669
|
+
* each of them is loaded in a separate request. This results in the main list becoming available faster,
|
|
75670
|
+
* while the separate properties are merged as soon as the data is received. Note that the separate properties
|
|
75671
|
+
* must be single valued and part of the '$expand' system query option, either automatically via the "autoExpandSelect"
|
|
75672
|
+
* model parameter (see {@link #constructor}) or manually. The `$$separate` parameter must not be combined
|
|
75673
|
+
* with `$$aggregation`.
|
|
75634
75674
|
*/
|
|
75635
75675
|
$$separate?: string[];
|
|
75636
75676
|
/**
|
|
@@ -84580,11 +84620,11 @@ declare module "sap/ui/test/Opa5" {
|
|
|
84580
84620
|
* whether a function is used as arrangement or action. Each function typically contains one or multiple
|
|
84581
84621
|
* `waitFor` statements.
|
|
84582
84622
|
*/
|
|
84583
|
-
actions?: Record<string,
|
|
84623
|
+
actions?: Record<string, Function> | Function;
|
|
84584
84624
|
/**
|
|
84585
84625
|
* A map or a class of functions that can be used as assertions in Opa tests.
|
|
84586
84626
|
*/
|
|
84587
|
-
assertions?: Record<string,
|
|
84627
|
+
assertions?: Record<string, Function> | Function;
|
|
84588
84628
|
};
|
|
84589
84629
|
}
|
|
84590
84630
|
|
|
@@ -87881,7 +87921,7 @@ declare namespace sap {
|
|
|
87881
87921
|
/**
|
|
87882
87922
|
* If called on an instance of an (v1/v2) ODataModel it will enrich it with analytics capabilities.
|
|
87883
87923
|
*
|
|
87884
|
-
* @
|
|
87924
|
+
* @deprecated As of version 1.138.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
|
|
87885
87925
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
87886
87926
|
*/
|
|
87887
87927
|
function ODataModelAdapter(): void;
|
package/types/sap.ui.dt.d.ts
CHANGED