@sapui5/ts-types-esm 1.143.1 → 1.144.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +7 -7
- package/types/sap.apf.d.ts +3 -1
- package/types/sap.ca.ui.d.ts +8 -1
- package/types/sap.chart.d.ts +4 -4
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +846 -285
- package/types/sap.f.d.ts +4 -4
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +33 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +3591 -3495
- package/types/sap.fe.navigation.d.ts +7 -7
- 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 +18 -12
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +282 -10
- package/types/sap.insights.d.ts +1 -47
- package/types/{mobile-1.143.0-esm-d.ts → sap.m.d.ts} +298 -68
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +49 -21
- 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 +732 -6
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/{tnt-1.143.0-esm-d.ts → sap.tnt.d.ts} +5 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/{commons-1.143.0-esm-d.ts → sap.ui.commons.d.ts} +3469 -306
- package/types/sap.ui.comp.d.ts +3 -3
- package/types/{core-1.143.0-esm-d.ts → sap.ui.core.d.ts} +621 -166
- package/types/{dt-1.143.0-esm-d.ts → sap.ui.dt.d.ts} +1 -1
- package/types/sap.ui.export.d.ts +4 -4
- package/types/sap.ui.fl.d.ts +5 -5
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +18 -18
- package/types/{mdc-1.143.0-esm-d.ts → sap.ui.mdc.d.ts} +105 -67
- package/types/sap.ui.richtexteditor.d.ts +3 -3
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +3 -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 +126 -4
- package/types/{ux3-1.143.0-esm-d.ts → sap.ui.ux3.d.ts} +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +139 -4
- package/types/sap.ui.vtm.d.ts +100 -1
- package/types/sap.ui.webc.common.d.ts +3 -1
- package/types/sap.ui.webc.fiori.d.ts +31 -1
- package/types/sap.ui.webc.main.d.ts +70 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +15 -1
- 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.144.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -1471,8 +1471,8 @@ declare module "sap/base/i18n/ResourceBundle" {
|
|
|
1471
1471
|
bundleName?: string;
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Optional locale (aka 'language tag') to load the texts for. Can either be a BCP47 language tag or a JDK
|
|
1474
|
-
* compatible locale string (e.g. "en-GB", "en_GB" or "en"). Defaults to the current session locale
|
|
1475
|
-
*
|
|
1474
|
+
* compatible locale string (e.g. "en-GB", "en_GB" or "en"). Defaults to the current session locale ({@link module:sap/base/i18n/Localization.getLanguage Localization.getLanguage})
|
|
1475
|
+
* if available, otherwise to the provided `fallbackLocale`
|
|
1476
1476
|
*/
|
|
1477
1477
|
locale?: string;
|
|
1478
1478
|
/**
|
|
@@ -4971,7 +4971,7 @@ declare module "sap/ui/core/Messaging" {
|
|
|
4971
4971
|
import ManagedObject from "sap/ui/base/ManagedObject";
|
|
4972
4972
|
|
|
4973
4973
|
/**
|
|
4974
|
-
* Messaging provides a central place for managing `sap.ui.core.message.
|
|
4974
|
+
* Messaging provides a central place for managing `sap.ui.core.message.Message`s.
|
|
4975
4975
|
*
|
|
4976
4976
|
* @since 1.118.0
|
|
4977
4977
|
*/
|
|
@@ -4981,7 +4981,7 @@ declare module "sap/ui/core/Messaging" {
|
|
|
4981
4981
|
*/
|
|
4982
4982
|
addMessages(
|
|
4983
4983
|
/**
|
|
4984
|
-
* Array of
|
|
4984
|
+
* Array of `Message` or single `Message`
|
|
4985
4985
|
*/
|
|
4986
4986
|
vMessages: Message | Message[]
|
|
4987
4987
|
): void;
|
|
@@ -5840,6 +5840,8 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
5840
5840
|
|
|
5841
5841
|
import UpdateMethod from "sap/ui/model/odata/UpdateMethod";
|
|
5842
5842
|
|
|
5843
|
+
import { Source } from "sap/ui/model/odata/v2/ODataAnnotations";
|
|
5844
|
+
|
|
5843
5845
|
import Context from "sap/ui/model/Context";
|
|
5844
5846
|
|
|
5845
5847
|
import ODataContextBinding from "sap/ui/model/odata/v2/ODataContextBinding";
|
|
@@ -5864,8 +5866,6 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
5864
5866
|
|
|
5865
5867
|
import Event from "sap/ui/base/Event";
|
|
5866
5868
|
|
|
5867
|
-
import { Source } from "sap/ui/model/odata/v2/ODataAnnotations";
|
|
5868
|
-
|
|
5869
5869
|
/**
|
|
5870
5870
|
* The error object passed to the retry after callback.
|
|
5871
5871
|
*
|
|
@@ -6097,7 +6097,16 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6097
6097
|
*
|
|
6098
6098
|
* @returns A promise that resolves with an array containing information about the initially loaded annotations
|
|
6099
6099
|
*/
|
|
6100
|
-
annotationsLoaded(): Promise<
|
|
6100
|
+
annotationsLoaded(): Promise<
|
|
6101
|
+
Array<
|
|
6102
|
+
| {
|
|
6103
|
+
source: Source;
|
|
6104
|
+
|
|
6105
|
+
data: any;
|
|
6106
|
+
}
|
|
6107
|
+
| Error
|
|
6108
|
+
>
|
|
6109
|
+
>;
|
|
6101
6110
|
/**
|
|
6102
6111
|
* Attaches event handler `fnFunction` to the `annotationsFailed` event of this `sap.ui.model.odata.v2.ODataModel`.
|
|
6103
6112
|
*
|
|
@@ -6529,7 +6538,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6529
6538
|
/**
|
|
6530
6539
|
* A context object for the new binding
|
|
6531
6540
|
*/
|
|
6532
|
-
oContext?:
|
|
6541
|
+
oContext?: Context,
|
|
6533
6542
|
/**
|
|
6534
6543
|
* Map of optional parameters for the binding
|
|
6535
6544
|
*/
|
|
@@ -6847,7 +6856,13 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6847
6856
|
*/
|
|
6848
6857
|
batchGroupId?: string;
|
|
6849
6858
|
}
|
|
6850
|
-
):
|
|
6859
|
+
):
|
|
6860
|
+
| {
|
|
6861
|
+
contextCreated: () => Promise<Context>;
|
|
6862
|
+
|
|
6863
|
+
abort: () => void;
|
|
6864
|
+
}
|
|
6865
|
+
| undefined;
|
|
6851
6866
|
/**
|
|
6852
6867
|
* Whether the canonical requests calculation is switched on, see the `canonicalRequests` parameter of the
|
|
6853
6868
|
* model constructor.
|
|
@@ -6923,7 +6938,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6923
6938
|
*/
|
|
6924
6939
|
refreshAfterChange?: boolean;
|
|
6925
6940
|
}
|
|
6926
|
-
):
|
|
6941
|
+
): {
|
|
6942
|
+
abort: () => void;
|
|
6943
|
+
};
|
|
6927
6944
|
/**
|
|
6928
6945
|
* Creates a binding context for the given path.
|
|
6929
6946
|
*
|
|
@@ -6948,7 +6965,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6948
6965
|
/**
|
|
6949
6966
|
* Binding context
|
|
6950
6967
|
*/
|
|
6951
|
-
oContext?:
|
|
6968
|
+
oContext?: Context,
|
|
6952
6969
|
/**
|
|
6953
6970
|
* Map which contains additional parameters for the binding
|
|
6954
6971
|
*/
|
|
@@ -6975,7 +6992,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
6975
6992
|
* The function to be called when the context has been created. The parameter of the callback function is
|
|
6976
6993
|
* the newly created binding context, an instance of {@link sap.ui.model.odata.v2.Context}.
|
|
6977
6994
|
*/
|
|
6978
|
-
fnCallBack?:
|
|
6995
|
+
fnCallBack?: (p1: Context) => void,
|
|
6979
6996
|
/**
|
|
6980
6997
|
* Whether to reload data
|
|
6981
6998
|
*/
|
|
@@ -7127,7 +7144,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7127
7144
|
/**
|
|
7128
7145
|
* Object containing at least all the key properties of the entity type
|
|
7129
7146
|
*/
|
|
7130
|
-
oKeyProperties:
|
|
7147
|
+
oKeyProperties: Record<string, string>
|
|
7131
7148
|
): string;
|
|
7132
7149
|
/**
|
|
7133
7150
|
* Deletes a created entry from the request queue and from the model.
|
|
@@ -7409,7 +7426,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7409
7426
|
/**
|
|
7410
7427
|
* The optional context which is used with the `sPath` to retrieve the requested data.
|
|
7411
7428
|
*/
|
|
7412
|
-
oContext?:
|
|
7429
|
+
oContext?: Context,
|
|
7413
7430
|
/**
|
|
7414
7431
|
* This parameter should be set when a URI or custom parameter with a `$expand` system query option was
|
|
7415
7432
|
* used to retrieve associated entries embedded. If set to `true` then the `getProperty` function returns
|
|
@@ -7469,7 +7486,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7469
7486
|
*
|
|
7470
7487
|
* @returns The header map
|
|
7471
7488
|
*/
|
|
7472
|
-
getHeaders():
|
|
7489
|
+
getHeaders(): Record<string, any>;
|
|
7473
7490
|
/**
|
|
7474
7491
|
* Returns the key part for the given the canonical entry URI, model context or data object or `undefined`
|
|
7475
7492
|
* when the `vValue` can't be interpreted.
|
|
@@ -7633,7 +7650,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7633
7650
|
/**
|
|
7634
7651
|
* The context if available to access the property value
|
|
7635
7652
|
*/
|
|
7636
|
-
oContext?:
|
|
7653
|
+
oContext?: Context
|
|
7637
7654
|
): any;
|
|
7638
7655
|
/**
|
|
7639
7656
|
* Returns the pending changes in this model.
|
|
@@ -7671,7 +7688,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7671
7688
|
/**
|
|
7672
7689
|
* Context if available to access the property value
|
|
7673
7690
|
*/
|
|
7674
|
-
oContext?:
|
|
7691
|
+
oContext?: Context,
|
|
7675
7692
|
/**
|
|
7676
7693
|
* **Deprecated as of version 1.41.0**, use {@link #getObject} function with 'select' and 'expand' parameters
|
|
7677
7694
|
* instead. Whether entities for navigation properties of this property which have been read via `$expand`
|
|
@@ -7771,7 +7788,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7771
7788
|
* A function which can be used to restrict invalidation to specific entries, gets the entity key and object
|
|
7772
7789
|
* as parameters and should return true for entities to invalidate.
|
|
7773
7790
|
*/
|
|
7774
|
-
fnCheckEntry?:
|
|
7791
|
+
fnCheckEntry?: (p1: string, p2: object) => boolean
|
|
7775
7792
|
): void;
|
|
7776
7793
|
/**
|
|
7777
7794
|
* Invalidate all entries of the given entity type in the model data.
|
|
@@ -7825,7 +7842,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7825
7842
|
* @returns A promise resolving with `true` if the OData V2 annotation "message-scope-supported" on the
|
|
7826
7843
|
* `EntityContainer` is set to `true`
|
|
7827
7844
|
*/
|
|
7828
|
-
messageScopeSupported(): Promise<
|
|
7845
|
+
messageScopeSupported(): Promise<boolean>;
|
|
7829
7846
|
/**
|
|
7830
7847
|
* Returns a promise for the loaded state of the metadata.
|
|
7831
7848
|
*
|
|
@@ -7863,7 +7880,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7863
7880
|
* loading the annotations fails.
|
|
7864
7881
|
*/
|
|
7865
7882
|
bRejectOnFailure?: boolean
|
|
7866
|
-
): Promise<
|
|
7883
|
+
): Promise<void>;
|
|
7867
7884
|
/**
|
|
7868
7885
|
* Trigger a `GET` request to the OData service that was specified in the model constructor.
|
|
7869
7886
|
*
|
|
@@ -7885,7 +7902,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7885
7902
|
/**
|
|
7886
7903
|
* If specified, `sPath` has to be relative to the path given with the context.
|
|
7887
7904
|
*/
|
|
7888
|
-
context?:
|
|
7905
|
+
context?: Context;
|
|
7889
7906
|
/**
|
|
7890
7907
|
* A map containing the parameters that will be passed as query strings
|
|
7891
7908
|
*/
|
|
@@ -7925,7 +7942,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7925
7942
|
*/
|
|
7926
7943
|
updateAggregatedMessages?: boolean;
|
|
7927
7944
|
}
|
|
7928
|
-
):
|
|
7945
|
+
): {
|
|
7946
|
+
abort: () => void;
|
|
7947
|
+
};
|
|
7929
7948
|
/**
|
|
7930
7949
|
* Refresh the model.
|
|
7931
7950
|
*
|
|
@@ -7969,17 +7988,19 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7969
7988
|
/**
|
|
7970
7989
|
* Callback function which is called when the data has been successfully retrieved.
|
|
7971
7990
|
*/
|
|
7972
|
-
fnSuccess?:
|
|
7991
|
+
fnSuccess?: (p1: object, p2: object) => void,
|
|
7973
7992
|
/**
|
|
7974
7993
|
* Callback function which is called when the request failed. The handler can have the parameter: oError
|
|
7975
7994
|
* which contains additional error information.
|
|
7976
7995
|
*/
|
|
7977
|
-
fnError?:
|
|
7996
|
+
fnError?: (p1: object) => void,
|
|
7978
7997
|
/**
|
|
7979
7998
|
* Whether the request should be sent asynchronously
|
|
7980
7999
|
*/
|
|
7981
8000
|
bAsync?: boolean
|
|
7982
|
-
):
|
|
8001
|
+
): {
|
|
8002
|
+
abort: () => void;
|
|
8003
|
+
};
|
|
7983
8004
|
/**
|
|
7984
8005
|
* Trigger a `DELETE` request to the OData service that was specified in the model constructor.
|
|
7985
8006
|
*
|
|
@@ -7999,7 +8020,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
7999
8020
|
/**
|
|
8000
8021
|
* If specified, `sPath` has to be relative to the path given with the context.
|
|
8001
8022
|
*/
|
|
8002
|
-
context?:
|
|
8023
|
+
context?: Context;
|
|
8003
8024
|
/**
|
|
8004
8025
|
* A callback function which is called when the data has been successfully retrieved. The handler can have
|
|
8005
8026
|
* the following parameters: `oData` and `response`.
|
|
@@ -8041,7 +8062,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8041
8062
|
*/
|
|
8042
8063
|
refreshAfterChange?: boolean;
|
|
8043
8064
|
}
|
|
8044
|
-
):
|
|
8065
|
+
): {
|
|
8066
|
+
abort: () => void;
|
|
8067
|
+
};
|
|
8045
8068
|
/**
|
|
8046
8069
|
* Resets pending changes and aborts corresponding requests.
|
|
8047
8070
|
*
|
|
@@ -8077,14 +8100,14 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8077
8100
|
* Whether to delete the entities created via {@link #createEntry} or {@link #callFunction}; since 1.95.0
|
|
8078
8101
|
*/
|
|
8079
8102
|
bDeleteCreatedEntities?: boolean
|
|
8080
|
-
): Promise<
|
|
8103
|
+
): Promise<void>;
|
|
8081
8104
|
/**
|
|
8082
8105
|
* Returns a promise, which will resolve with the security token as soon as it is available.
|
|
8083
8106
|
*
|
|
8084
8107
|
*
|
|
8085
8108
|
* @returns A promise on the security token
|
|
8086
8109
|
*/
|
|
8087
|
-
securityTokenAvailable(): Promise<
|
|
8110
|
+
securityTokenAvailable(): Promise<string>;
|
|
8088
8111
|
/**
|
|
8089
8112
|
* Definition of batch groups per entity type for two-way binding changes.
|
|
8090
8113
|
*
|
|
@@ -8170,7 +8193,7 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8170
8193
|
/**
|
|
8171
8194
|
* The header name/value map.
|
|
8172
8195
|
*/
|
|
8173
|
-
mHeaders:
|
|
8196
|
+
mHeaders: Record<string, string>
|
|
8174
8197
|
): void;
|
|
8175
8198
|
/**
|
|
8176
8199
|
* Sets this model's message scope.
|
|
@@ -8328,7 +8351,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8328
8351
|
*/
|
|
8329
8352
|
merge?: boolean;
|
|
8330
8353
|
}
|
|
8331
|
-
):
|
|
8354
|
+
): {
|
|
8355
|
+
abort: () => void;
|
|
8356
|
+
};
|
|
8332
8357
|
/**
|
|
8333
8358
|
* Trigger a `PUT/MERGE` request to the OData service that was specified in the model constructor.
|
|
8334
8359
|
*
|
|
@@ -8400,7 +8425,9 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
|
|
|
8400
8425
|
*/
|
|
8401
8426
|
refreshAfterChange?: boolean;
|
|
8402
8427
|
}
|
|
8403
|
-
):
|
|
8428
|
+
): {
|
|
8429
|
+
abort: () => void;
|
|
8430
|
+
};
|
|
8404
8431
|
/**
|
|
8405
8432
|
* Update all bindings.
|
|
8406
8433
|
*/
|
|
@@ -11437,6 +11464,8 @@ declare module "sap/ui/app/MockServer" {
|
|
|
11437
11464
|
}
|
|
11438
11465
|
|
|
11439
11466
|
declare module "sap/ui/base/DataType" {
|
|
11467
|
+
import { MetadataOptions } from "sap/ui/base/ManagedObject";
|
|
11468
|
+
|
|
11440
11469
|
/**
|
|
11441
11470
|
* Represents the type of properties in a `ManagedObject` class.
|
|
11442
11471
|
*
|
|
@@ -11565,7 +11594,7 @@ declare module "sap/ui/base/DataType" {
|
|
|
11565
11594
|
/**
|
|
11566
11595
|
* Metadata of the property
|
|
11567
11596
|
*/
|
|
11568
|
-
oProperty?:
|
|
11597
|
+
oProperty?: MetadataOptions.Property
|
|
11569
11598
|
): DataType | undefined;
|
|
11570
11599
|
/**
|
|
11571
11600
|
* Registers an enum under the given name. With version 2.0, registering an enum becomes mandatory when
|
|
@@ -17692,6 +17721,18 @@ declare module "sap/ui/core/library" {
|
|
|
17692
17721
|
*/
|
|
17693
17722
|
SingleSelect = "undefined",
|
|
17694
17723
|
}
|
|
17724
|
+
/**
|
|
17725
|
+
* Interface for controls that represent a title.
|
|
17726
|
+
*
|
|
17727
|
+
* This marker interface can be implemented by controls that are semantically suitable to act as a title
|
|
17728
|
+
* or heading inside a toolbar.
|
|
17729
|
+
*
|
|
17730
|
+
* @since 1.144
|
|
17731
|
+
*/
|
|
17732
|
+
export interface ITitle {
|
|
17733
|
+
__implements__sap_ui_core_ITitle: boolean;
|
|
17734
|
+
}
|
|
17735
|
+
|
|
17695
17736
|
/**
|
|
17696
17737
|
* Marker interface for controls that can be used in `content` aggregation of the `sap.m.Title` control.
|
|
17697
17738
|
*
|
|
@@ -23870,7 +23911,7 @@ declare module "sap/ui/core/Core" {
|
|
|
23870
23911
|
/**
|
|
23871
23912
|
* Returns the registered element for the given ID, if any.
|
|
23872
23913
|
*
|
|
23873
|
-
* @deprecated As of version 1.1. use `sap.ui.core.Core.byId` instead!
|
|
23914
|
+
* @deprecated As of version 1.1. use `sap.ui.core.Core.prototype.byId` instead!
|
|
23874
23915
|
*
|
|
23875
23916
|
* @returns Element for the given ID or `undefined`
|
|
23876
23917
|
*/
|
|
@@ -29311,7 +29352,7 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
29311
29352
|
* since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
29312
29353
|
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
29313
29354
|
* is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
|
|
29314
|
-
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link
|
|
29355
|
+
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
|
|
29315
29356
|
*/
|
|
29316
29357
|
format?: string;
|
|
29317
29358
|
/**
|
|
@@ -29426,7 +29467,7 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
29426
29467
|
* since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
29427
29468
|
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
29428
29469
|
* is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
|
|
29429
|
-
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See
|
|
29470
|
+
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
|
|
29430
29471
|
*/
|
|
29431
29472
|
format?: string;
|
|
29432
29473
|
/**
|
|
@@ -29545,7 +29586,7 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
29545
29586
|
* A string containing pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into a pattern for
|
|
29546
29587
|
* the used locale that matches the wanted symbols best. The symbols must be in canonical order, that is:
|
|
29547
29588
|
* Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
|
|
29548
|
-
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See
|
|
29589
|
+
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
|
|
29549
29590
|
*/
|
|
29550
29591
|
format?: string;
|
|
29551
29592
|
/**
|
|
@@ -29655,7 +29696,7 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
29655
29696
|
* since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
29656
29697
|
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
29657
29698
|
* is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
|
|
29658
|
-
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See
|
|
29699
|
+
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
|
|
29659
29700
|
*/
|
|
29660
29701
|
format?: string;
|
|
29661
29702
|
/**
|
|
@@ -31166,9 +31207,9 @@ declare module "sap/ui/core/Fragment" {
|
|
|
31166
31207
|
* which returns the UI control tree defined inside the Fragments. When used within declarative Views, the
|
|
31167
31208
|
* Fragment content is imported and seamlessly integrated into the View.
|
|
31168
31209
|
*
|
|
31169
|
-
* Fragments are used similar as sap.ui.core.mvc.
|
|
31170
|
-
*
|
|
31171
|
-
*
|
|
31210
|
+
* Fragments are used similar as sap.ui.core.mvc.View, but Fragments do not have a Controller on their own
|
|
31211
|
+
* (they may know one, though), they are not a Control, they are not part of the UI tree and they have no
|
|
31212
|
+
* representation in HTML. By default, in contrast to declarative Views, they do not do anything to guarantee
|
|
31172
31213
|
* ID uniqueness.
|
|
31173
31214
|
*
|
|
31174
31215
|
* But like Views they can be defined in several Formats (XML and JavaScript; support for other types can
|
|
@@ -35165,7 +35206,7 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
35165
35206
|
* that is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w/W), Day-Of-Week (E/e/c), Day (d/D),
|
|
35166
35207
|
* Hour (h/H/k/K/), Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x)
|
|
35167
35208
|
*
|
|
35168
|
-
* See https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems
|
|
35209
|
+
* See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode - Available Formats}
|
|
35169
35210
|
*
|
|
35170
35211
|
* @since 1.46
|
|
35171
35212
|
*
|
|
@@ -35179,11 +35220,12 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
35179
35220
|
sSkeleton: string,
|
|
35180
35221
|
/**
|
|
35181
35222
|
* is either a string which represents the symbol matching the greatest difference in the two dates to format
|
|
35182
|
-
* or an object which contains key-value pairs. The value is always true
|
|
35183
|
-
* symbol groups whose value are different between the two dates. The key can only be set with '
|
|
35184
|
-
* 'Month', 'Week', 'Day', 'DayPeriod', 'Hour',
|
|
35223
|
+
* or an object which contains key-value pairs. The value is always `true`. The key is one of the date field
|
|
35224
|
+
* symbol groups whose value are different between the two dates. The key can only be set with: `'Era',
|
|
35225
|
+
* 'Year', 'Quarter', 'Month', 'Week', 'Day', 'DayPeriod', 'Hour','Minute', 'Second'`. For more information,
|
|
35226
|
+
* see {@link https://unicode.org/reports/tr35/tr35-dates.html#element-intervalformats Unicode - Element intervalFormats}.
|
|
35185
35227
|
*/
|
|
35186
|
-
vGreatestDiff:
|
|
35228
|
+
vGreatestDiff: DateFieldGroupsDifference | string,
|
|
35187
35229
|
/**
|
|
35188
35230
|
* the type of calendar. If it's not set, it falls back to the calendar type either set in configuration
|
|
35189
35231
|
* or calculated from locale.
|
|
@@ -35960,6 +36002,54 @@ declare module "sap/ui/core/LocaleData" {
|
|
|
35960
36002
|
*/
|
|
35961
36003
|
getWeekendStart(): int;
|
|
35962
36004
|
}
|
|
36005
|
+
/**
|
|
36006
|
+
* Type which describes the difference in the date field groups of the two dates of an date time interval.
|
|
36007
|
+
* The keys are the names of the date field symbol groups. If one of them is set, the value should be set
|
|
36008
|
+
* to `true`.
|
|
36009
|
+
*/
|
|
36010
|
+
export type DateFieldGroupsDifference = {
|
|
36011
|
+
/**
|
|
36012
|
+
* The era date field symbol group
|
|
36013
|
+
*/
|
|
36014
|
+
Era?: boolean;
|
|
36015
|
+
/**
|
|
36016
|
+
* The year date field symbol group
|
|
36017
|
+
*/
|
|
36018
|
+
Year?: boolean;
|
|
36019
|
+
/**
|
|
36020
|
+
* The quarter date field symbol group
|
|
36021
|
+
*/
|
|
36022
|
+
Quarter?: boolean;
|
|
36023
|
+
/**
|
|
36024
|
+
* The month date field symbol group
|
|
36025
|
+
*/
|
|
36026
|
+
Month?: boolean;
|
|
36027
|
+
/**
|
|
36028
|
+
* The week date field symbol group
|
|
36029
|
+
*/
|
|
36030
|
+
Week?: boolean;
|
|
36031
|
+
/**
|
|
36032
|
+
* The day date field symbol group
|
|
36033
|
+
*/
|
|
36034
|
+
Day?: boolean;
|
|
36035
|
+
/**
|
|
36036
|
+
* The day period date field symbol group
|
|
36037
|
+
*/
|
|
36038
|
+
DayPeriod?: boolean;
|
|
36039
|
+
/**
|
|
36040
|
+
* The hour date field symbol group
|
|
36041
|
+
*/
|
|
36042
|
+
Hour?: boolean;
|
|
36043
|
+
/**
|
|
36044
|
+
* The minute date field symbol group
|
|
36045
|
+
*/
|
|
36046
|
+
Minute?: boolean;
|
|
36047
|
+
/**
|
|
36048
|
+
* The second date field symbol group
|
|
36049
|
+
*/
|
|
36050
|
+
Second?: boolean;
|
|
36051
|
+
};
|
|
36052
|
+
|
|
35963
36053
|
/**
|
|
35964
36054
|
* A relative time pattern.
|
|
35965
36055
|
*/
|
|
@@ -36934,15 +37024,6 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
36934
37024
|
*/
|
|
36935
37025
|
constructor();
|
|
36936
37026
|
|
|
36937
|
-
/**
|
|
36938
|
-
* Add messages to Messaging
|
|
36939
|
-
*/
|
|
36940
|
-
static addMessages(
|
|
36941
|
-
/**
|
|
36942
|
-
* Array of sap.ui.core.message.Message or single sap.ui.core.message.Message
|
|
36943
|
-
*/
|
|
36944
|
-
vMessages: Message | Message[]
|
|
36945
|
-
): void;
|
|
36946
37027
|
/**
|
|
36947
37028
|
* Creates a new subclass of class sap.ui.core.message.MessageManager with name `sClassName` and enriches
|
|
36948
37029
|
* it with the information contained in `oClassInfo`.
|
|
@@ -36968,23 +37049,32 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
36968
37049
|
FNMetaImpl?: Function
|
|
36969
37050
|
): Function;
|
|
36970
37051
|
/**
|
|
36971
|
-
*
|
|
37052
|
+
* Returns a metadata object for class sap.ui.core.message.MessageManager.
|
|
36972
37053
|
*
|
|
36973
37054
|
*
|
|
36974
|
-
* @returns
|
|
37055
|
+
* @returns Metadata object describing this class
|
|
36975
37056
|
*/
|
|
36976
|
-
static
|
|
37057
|
+
static getMetadata(): Metadata;
|
|
36977
37058
|
/**
|
|
36978
|
-
*
|
|
37059
|
+
* Add messages to Messaging
|
|
37060
|
+
*/
|
|
37061
|
+
addMessages(
|
|
37062
|
+
/**
|
|
37063
|
+
* Array of `Message` or single `Message`
|
|
37064
|
+
*/
|
|
37065
|
+
vMessages: Message | Message[]
|
|
37066
|
+
): void;
|
|
37067
|
+
/**
|
|
37068
|
+
* Get the MessageModel
|
|
36979
37069
|
*
|
|
36980
37070
|
*
|
|
36981
|
-
* @returns
|
|
37071
|
+
* @returns oMessageModel The Message Model
|
|
36982
37072
|
*/
|
|
36983
|
-
|
|
37073
|
+
getMessageModel(): MessageModel;
|
|
36984
37074
|
/**
|
|
36985
37075
|
* Register MessageProcessor
|
|
36986
37076
|
*/
|
|
36987
|
-
|
|
37077
|
+
registerMessageProcessor(
|
|
36988
37078
|
/**
|
|
36989
37079
|
* The MessageProcessor
|
|
36990
37080
|
*/
|
|
@@ -36996,7 +37086,7 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
36996
37086
|
* ManagedObjects, the Messaging attaches to these events and creates a `sap.ui.core.message.Message` (bHandleValidation=true)
|
|
36997
37087
|
* for each of these errors and cancels the event bubbling.
|
|
36998
37088
|
*/
|
|
36999
|
-
|
|
37089
|
+
registerObject(
|
|
37000
37090
|
/**
|
|
37001
37091
|
* The sap.ui.base.ManagedObject
|
|
37002
37092
|
*/
|
|
@@ -37010,11 +37100,11 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
37010
37100
|
/**
|
|
37011
37101
|
* Remove all messages
|
|
37012
37102
|
*/
|
|
37013
|
-
|
|
37103
|
+
removeAllMessages(): void;
|
|
37014
37104
|
/**
|
|
37015
37105
|
* Remove given Messages
|
|
37016
37106
|
*/
|
|
37017
|
-
|
|
37107
|
+
removeMessages(
|
|
37018
37108
|
/**
|
|
37019
37109
|
* The message(s) to be removed.
|
|
37020
37110
|
*/
|
|
@@ -37023,7 +37113,7 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
37023
37113
|
/**
|
|
37024
37114
|
* Deregister MessageProcessor
|
|
37025
37115
|
*/
|
|
37026
|
-
|
|
37116
|
+
unregisterMessageProcessor(
|
|
37027
37117
|
/**
|
|
37028
37118
|
* The MessageProcessor
|
|
37029
37119
|
*/
|
|
@@ -37032,7 +37122,7 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
37032
37122
|
/**
|
|
37033
37123
|
* Unregister ManagedObject
|
|
37034
37124
|
*/
|
|
37035
|
-
|
|
37125
|
+
unregisterObject(
|
|
37036
37126
|
/**
|
|
37037
37127
|
* The sap.ui.base.ManagedObject
|
|
37038
37128
|
*/
|
|
@@ -37043,7 +37133,7 @@ declare module "sap/ui/core/message/MessageManager" {
|
|
|
37043
37133
|
*
|
|
37044
37134
|
* The old ones will be removed, the new ones will be added.
|
|
37045
37135
|
*/
|
|
37046
|
-
|
|
37136
|
+
updateMessages(
|
|
37047
37137
|
/**
|
|
37048
37138
|
* Array of old messages to be removed
|
|
37049
37139
|
*/
|
|
@@ -41067,7 +41157,8 @@ declare module "sap/ui/core/RenderManager" {
|
|
|
41067
41157
|
/**
|
|
41068
41158
|
* A class that handles the rendering of controls.
|
|
41069
41159
|
*
|
|
41070
|
-
* For the default rendering task of UI5, a shared RenderManager is created and owned by
|
|
41160
|
+
* For the default rendering task of UI5, a shared RenderManager is created and owned by the framework.
|
|
41161
|
+
*
|
|
41071
41162
|
* Controls or other code that want to render controls outside the default rendering task can create a private
|
|
41072
41163
|
* instance of RenderManager by calling the {@link sap.ui.core.Core#createRenderManager sap.ui.getCore().createRenderManager() }
|
|
41073
41164
|
* method. When such a private instance is no longer needed, it should be {@link #destroy destroyed}.
|
|
@@ -49963,7 +50054,7 @@ declare module "sap/ui/core/UIComponent" {
|
|
|
49963
50054
|
* "controlId": "App",
|
|
49964
50055
|
* "controlAggregation": "pages",
|
|
49965
50056
|
* "viewNamespace": "myApplication.namespace",
|
|
49966
|
-
* // If you are using the mobile library, you have to use an sap.m.Router, to get support for
|
|
50057
|
+
* // If you are using the mobile library, you have to use an sap.m.routing.Router, to get support for
|
|
49967
50058
|
* // the controls sap.m.App, sap.m.SplitApp, sap.m.NavContainer and sap.m.SplitContainer.
|
|
49968
50059
|
* "routerClass": "sap.m.routing.Router",
|
|
49969
50060
|
* // What happens if no route matches the hash?
|
|
@@ -53417,7 +53508,144 @@ declare module "sap/ui/core/XMLComposite" {
|
|
|
53417
53508
|
* sap.ui.core.Fragment
|
|
53418
53509
|
* {@link https://ui5.sap.com/#/topic/b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
53419
53510
|
*/
|
|
53420
|
-
constructor(
|
|
53511
|
+
constructor(
|
|
53512
|
+
/**
|
|
53513
|
+
* Initial settings for the new control
|
|
53514
|
+
*/
|
|
53515
|
+
mSettings?: $XMLCompositeSettings
|
|
53516
|
+
);
|
|
53517
|
+
/**
|
|
53518
|
+
* XMLComposite is the base class for composite controls that use a XML fragment representation for their
|
|
53519
|
+
* visual parts. From a user perspective such controls appear as any other control, but internally the rendering
|
|
53520
|
+
* part is added as a fragment. The fragment that is used should appear in the same folder as the control's
|
|
53521
|
+
* JS implementation with the file extension `.control.xml`. The fragment's content can access the interface
|
|
53522
|
+
* data from the XMLComposite control via bindings. Currently only aggregations and properties can be used
|
|
53523
|
+
* with bindings inside a fragment. The exposed model that is used for internal bindings in the fragment
|
|
53524
|
+
* has the default name `$this`. The name will always start with an `$`. The metadata of the derived control
|
|
53525
|
+
* can define the alias with its metadata. A code example can be found below.
|
|
53526
|
+
*
|
|
53527
|
+
* As XMLComposites compose other controls, they are only invalidated and re-rendered if explicitly defined.
|
|
53528
|
+
* Additional metadata for invalidation can be given for properties and aggregation. The default invalidation
|
|
53529
|
+
* is `"none"`. Setting invalidate to `true` for properties and aggregations sets the complete XMLComposite
|
|
53530
|
+
* to invalidate and rerender.
|
|
53531
|
+
*
|
|
53532
|
+
* Example:
|
|
53533
|
+
* ```javascript
|
|
53534
|
+
*
|
|
53535
|
+
* XMLComposite.extend("sap.mylib.MyXMLComposite", {
|
|
53536
|
+
* metadata : {
|
|
53537
|
+
* library: "sap.mylib",
|
|
53538
|
+
* properties : {
|
|
53539
|
+
* text: { //changing this property will not re-render the XMLComposite
|
|
53540
|
+
* type: "string",
|
|
53541
|
+
* defaultValue: ""
|
|
53542
|
+
* },
|
|
53543
|
+
* title: { //changing this property will re-render the XMLComposite as it defines invalidate: true
|
|
53544
|
+
* type: "string",
|
|
53545
|
+
* defaultValue: "",
|
|
53546
|
+
* invalidate: true
|
|
53547
|
+
* },
|
|
53548
|
+
* value: { //changing this property will re-render the XMLComposite as it defines invalidate: true
|
|
53549
|
+
* type: "string",
|
|
53550
|
+
* defaultValue: "",
|
|
53551
|
+
* invalidate: true
|
|
53552
|
+
* }
|
|
53553
|
+
* },
|
|
53554
|
+
* defaultProperty : "text",
|
|
53555
|
+
* aggregations : {
|
|
53556
|
+
* items : {
|
|
53557
|
+
* type: "sap.ui.core.Control",
|
|
53558
|
+
* invalidate: true
|
|
53559
|
+
* },
|
|
53560
|
+
* header : {
|
|
53561
|
+
* type: "sap.mylib.FancyHeader",
|
|
53562
|
+
* multiple : false
|
|
53563
|
+
* }
|
|
53564
|
+
* },
|
|
53565
|
+
* defaultAggregation : "items"
|
|
53566
|
+
* events: {
|
|
53567
|
+
* outerEvent : {
|
|
53568
|
+
* parameters : {
|
|
53569
|
+
* opener : "sap.ui.core.Control"
|
|
53570
|
+
* }
|
|
53571
|
+
* }
|
|
53572
|
+
* }
|
|
53573
|
+
* },
|
|
53574
|
+
* //alias defaults to "this"
|
|
53575
|
+
* alias: "mycontrolroot" //inner bindings will use model name $mycontrolroot
|
|
53576
|
+
* //fragment defaults to {control name}.control.xml in this case sap.mylib.MyXMLComposite.control.xml
|
|
53577
|
+
* fragment: "sap.mylib.MyXMLCompositeOther.control.xml" //the name of the fragment
|
|
53578
|
+
* });
|
|
53579
|
+
* ```
|
|
53580
|
+
*
|
|
53581
|
+
*
|
|
53582
|
+
* Internally the XMLComposite instantiates and initializes the given fragment and stores the resulting
|
|
53583
|
+
* control in a hidden aggregation named `_content`. The fragment should only include one root element.
|
|
53584
|
+
*
|
|
53585
|
+
* Bindings of inner controls to the interface of the XMLComposite can be done with normal binding syntax.
|
|
53586
|
+
* Here properties are used as property bindings and aggregations are used as list bindings. Currently it
|
|
53587
|
+
* is not possible to bind associations in a fragment.
|
|
53588
|
+
*
|
|
53589
|
+
* Example:
|
|
53590
|
+
* ```javascript
|
|
53591
|
+
*
|
|
53592
|
+
* <core:FragmentDefinition xmlns:m="sap.m" xmlns:core="sap.ui.core">
|
|
53593
|
+
* <m:Text text="{$this>text}" visible="{= ${$this>text} !== ""}" />
|
|
53594
|
+
* </core:FragmentDefinition>
|
|
53595
|
+
* ```
|
|
53596
|
+
*
|
|
53597
|
+
* ```javascript
|
|
53598
|
+
*
|
|
53599
|
+
* <core:FragmentDefinition xmlns:m="sap.m" xmlns:core="sap.ui.core">
|
|
53600
|
+
* <m:VBox items="{path:"$this>texts", filters:{path:"text", operator:"Contains", value1:"Text"}, sorter:{path:"text", descending:true}}">
|
|
53601
|
+
* <m:Text text="{$this>text}" />
|
|
53602
|
+
* </m:VBox>
|
|
53603
|
+
* </core:FragmentDefinition>
|
|
53604
|
+
* ```
|
|
53605
|
+
*
|
|
53606
|
+
* ```javascript
|
|
53607
|
+
*
|
|
53608
|
+
* <core:FragmentDefinition xmlns:m="sap.m" xmlns:core="sap.ui.core">
|
|
53609
|
+
* <m:Button text="Press Me" press="handlePress"/>
|
|
53610
|
+
* </core:FragmentDefinition>
|
|
53611
|
+
* ```
|
|
53612
|
+
*
|
|
53613
|
+
*
|
|
53614
|
+
* All events handled within the fragment will be dispatched to the XMLComposite control. It is recommended
|
|
53615
|
+
* to follow this paradigm to allow reuse of a XMLComposite without any dependency to controller code of
|
|
53616
|
+
* the current embedding view.
|
|
53617
|
+
*
|
|
53618
|
+
*
|
|
53619
|
+
* ```javascript
|
|
53620
|
+
*
|
|
53621
|
+
* MyXMLComposite.prototype.handlePress = function() {
|
|
53622
|
+
* this.fireOuterEvent(); // passing on the event to the outer view
|
|
53623
|
+
* }
|
|
53624
|
+
* ```
|
|
53625
|
+
*
|
|
53626
|
+
*
|
|
53627
|
+
* **Note:** {@link https://ui5.sap.com/#/topic/b11d853a8e784db6b2d210ef57b0f7d7 Requiring modules in XML }
|
|
53628
|
+
* will result in side effects that might cause the XMLComposite to not work properly. We suggest you require
|
|
53629
|
+
* the needed modules inside the JavaScript coding of the class extending the XMLComposite.
|
|
53630
|
+
*
|
|
53631
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
53632
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53633
|
+
* of the syntax of the settings object.
|
|
53634
|
+
* See:
|
|
53635
|
+
* sap.ui.core.Control
|
|
53636
|
+
* sap.ui.core.Fragment
|
|
53637
|
+
* {@link https://ui5.sap.com/#/topic/b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
53638
|
+
*/
|
|
53639
|
+
constructor(
|
|
53640
|
+
/**
|
|
53641
|
+
* ID for the new control, generated automatically if no ID is given
|
|
53642
|
+
*/
|
|
53643
|
+
sId?: string,
|
|
53644
|
+
/**
|
|
53645
|
+
* Initial settings for the new control
|
|
53646
|
+
*/
|
|
53647
|
+
mSettings?: $XMLCompositeSettings
|
|
53648
|
+
);
|
|
53421
53649
|
|
|
53422
53650
|
/**
|
|
53423
53651
|
* Creates a new subclass of class sap.ui.core.XMLComposite with name `sClassName` and enriches it with
|
|
@@ -54909,6 +55137,13 @@ declare module "sap/ui/model/analytics/AnalyticalBinding" {
|
|
|
54909
55137
|
* @returns true if and only one or more properties are measure properties.
|
|
54910
55138
|
*/
|
|
54911
55139
|
hasMeasures(): boolean;
|
|
55140
|
+
/**
|
|
55141
|
+
* Initialize binding. Fires a change if data is already available ($expand) or a refresh. If metadata is
|
|
55142
|
+
* not yet available, do nothing, method will be called again when metadata is loaded.
|
|
55143
|
+
*
|
|
55144
|
+
* The ODataModel will call this on all bindings as soon as the metadata was loaded
|
|
55145
|
+
*/
|
|
55146
|
+
initialize(): void;
|
|
54912
55147
|
/**
|
|
54913
55148
|
* Determines if a given name refers to a measure property
|
|
54914
55149
|
*
|
|
@@ -55066,6 +55301,8 @@ declare module "sap/ui/model/analytics/BatchResponseCollector" {
|
|
|
55066
55301
|
*
|
|
55067
55302
|
* Also handles clean-up after all responses (either success or error) have been collected. Instantiated
|
|
55068
55303
|
* in AnalyticalBinding.prototype._executeBatchRequest()
|
|
55304
|
+
*
|
|
55305
|
+
* @deprecated As of version 1.144.0. will be replaced by OData V4 data aggregation, see {@link topic:7d914317c0b64c23824bf932cc8a4ae1 Extension for Data Aggregation}
|
|
55069
55306
|
*/
|
|
55070
55307
|
export default class BatchResponseCollector {
|
|
55071
55308
|
/**
|
|
@@ -57578,7 +57815,7 @@ declare module "sap/ui/model/Binding" {
|
|
|
57578
57815
|
/**
|
|
57579
57816
|
* The model instance to compare against
|
|
57580
57817
|
*/
|
|
57581
|
-
oModel:
|
|
57818
|
+
oModel: Model
|
|
57582
57819
|
): boolean;
|
|
57583
57820
|
}
|
|
57584
57821
|
/**
|
|
@@ -57989,6 +58226,8 @@ declare module "sap/ui/model/ClientListBinding" {
|
|
|
57989
58226
|
declare module "sap/ui/model/ClientModel" {
|
|
57990
58227
|
import Model from "sap/ui/model/Model";
|
|
57991
58228
|
|
|
58229
|
+
import Context from "sap/ui/model/Context";
|
|
58230
|
+
|
|
57992
58231
|
import PropertyBinding from "sap/ui/model/PropertyBinding";
|
|
57993
58232
|
|
|
57994
58233
|
import Metadata from "sap/ui/base/Metadata";
|
|
@@ -58056,7 +58295,7 @@ declare module "sap/ui/model/ClientModel" {
|
|
|
58056
58295
|
/**
|
|
58057
58296
|
* A context object for the new binding
|
|
58058
58297
|
*/
|
|
58059
|
-
oContext?:
|
|
58298
|
+
oContext?: Context,
|
|
58060
58299
|
/**
|
|
58061
58300
|
* Map of optional parameters for the binding
|
|
58062
58301
|
*/
|
|
@@ -59182,22 +59421,23 @@ declare module "sap/ui/model/Context" {
|
|
|
59182
59421
|
*/
|
|
59183
59422
|
getModel(): Model;
|
|
59184
59423
|
/**
|
|
59185
|
-
* Gets the (model
|
|
59186
|
-
* path
|
|
59424
|
+
* Gets the (model-dependent) object the context points to, or the object with the given relative binding
|
|
59425
|
+
* path.
|
|
59187
59426
|
*
|
|
59188
59427
|
*
|
|
59189
59428
|
* @returns the context object
|
|
59190
59429
|
*/
|
|
59191
59430
|
getObject(
|
|
59192
59431
|
/**
|
|
59193
|
-
* the binding path
|
|
59432
|
+
* the binding path as a string, or if an object is provided, it is treated as additional parameters (same
|
|
59433
|
+
* as `mParameters`)
|
|
59194
59434
|
*/
|
|
59195
|
-
|
|
59435
|
+
vPath?: string | object,
|
|
59196
59436
|
/**
|
|
59197
|
-
* additional model
|
|
59437
|
+
* additional model-specific parameters
|
|
59198
59438
|
*/
|
|
59199
59439
|
mParameters?: object
|
|
59200
|
-
):
|
|
59440
|
+
): any;
|
|
59201
59441
|
/**
|
|
59202
59442
|
* Getter for path of the context itself or a subpath
|
|
59203
59443
|
*
|
|
@@ -59250,7 +59490,7 @@ declare module "sap/ui/model/ContextBinding" {
|
|
|
59250
59490
|
|
|
59251
59491
|
mParameters?: object,
|
|
59252
59492
|
/**
|
|
59253
|
-
*
|
|
59493
|
+
* **Deprecated as of version 1.144.0** - unused
|
|
59254
59494
|
*/
|
|
59255
59495
|
oEvents?: object
|
|
59256
59496
|
);
|
|
@@ -59408,9 +59648,18 @@ declare module "sap/ui/model/DataState" {
|
|
|
59408
59648
|
* map only contains the changed properties.
|
|
59409
59649
|
*
|
|
59410
59650
|
*
|
|
59411
|
-
* @returns The changed properties of the data state
|
|
59651
|
+
* @returns The changed properties and messages of the data state. Changed messages are located in the `messages`
|
|
59652
|
+
* property. They share the same object structure as the changed properties, but the values in this structure
|
|
59653
|
+
* are of type {@link sap.ui.core.message.Message}.
|
|
59412
59654
|
*/
|
|
59413
|
-
getChanges():
|
|
59655
|
+
getChanges(): Record<
|
|
59656
|
+
string,
|
|
59657
|
+
{
|
|
59658
|
+
oldValue: any;
|
|
59659
|
+
|
|
59660
|
+
value: any;
|
|
59661
|
+
}
|
|
59662
|
+
>;
|
|
59414
59663
|
/**
|
|
59415
59664
|
* Returns the array of this data state's current control messages.
|
|
59416
59665
|
*
|
|
@@ -60153,13 +60402,13 @@ declare module "sap/ui/model/json/JSONModel" {
|
|
|
60153
60402
|
* Returns a Promise of the current data-loading state. Every currently running {@link sap.ui.model.json.JSONModel#loadData }
|
|
60154
60403
|
* call is respected by the returned Promise. This also includes a potential loadData call from the JSONModel's
|
|
60155
60404
|
* constructor in case a URL was given. The data-loaded Promise will resolve once all running requests have
|
|
60156
|
-
* finished. Only
|
|
60405
|
+
* finished. Only requests, which have been queued up to the point of calling this function will be respected
|
|
60157
60406
|
* by the returned Promise.
|
|
60158
60407
|
*
|
|
60159
60408
|
*
|
|
60160
60409
|
* @returns a Promise, which resolves if all pending data-loading requests have finished
|
|
60161
60410
|
*/
|
|
60162
|
-
dataLoaded(): Promise<
|
|
60411
|
+
dataLoaded(): Promise<undefined>;
|
|
60163
60412
|
/**
|
|
60164
60413
|
* Serializes the current JSON data of the model into a string.
|
|
60165
60414
|
*
|
|
@@ -61648,9 +61897,9 @@ declare module "sap/ui/model/Model" {
|
|
|
61648
61897
|
*/
|
|
61649
61898
|
mParameters?: object,
|
|
61650
61899
|
/**
|
|
61651
|
-
*
|
|
61900
|
+
* **Deprecated as of version 1.144.0** - unused
|
|
61652
61901
|
*/
|
|
61653
|
-
oEvents?:
|
|
61902
|
+
oEvents?: Record<string, Function>
|
|
61654
61903
|
): ContextBinding;
|
|
61655
61904
|
/**
|
|
61656
61905
|
*
|
|
@@ -62688,10 +62937,10 @@ declare module "sap/ui/model/odata/CountMode" {
|
|
|
62688
62937
|
/**
|
|
62689
62938
|
* Different modes for retrieving the count of collections.
|
|
62690
62939
|
* See:
|
|
62691
|
-
* sap.ui.model.ODataModel#bindList
|
|
62692
|
-
* sap.ui.model.ODataModel#constructor
|
|
62693
|
-
* sap.ui.model.v2.ODataModel#bindList
|
|
62694
|
-
* sap.ui.model.v2.ODataModel#constructor
|
|
62940
|
+
* sap.ui.model.odata.ODataModel#bindList
|
|
62941
|
+
* sap.ui.model.odata.ODataModel#constructor
|
|
62942
|
+
* sap.ui.model.odata.v2.ODataModel#bindList
|
|
62943
|
+
* sap.ui.model.odata.v2.ODataModel#constructor
|
|
62695
62944
|
*/
|
|
62696
62945
|
enum CountMode {
|
|
62697
62946
|
/**
|
|
@@ -62804,7 +63053,7 @@ declare module "sap/ui/model/odata/MessageScope" {
|
|
|
62804
63053
|
/**
|
|
62805
63054
|
* Different scopes for retrieving messages from a service consumed via a {@link sap.ui.model.odata.v2.ODataModel}.
|
|
62806
63055
|
* See:
|
|
62807
|
-
* sap.ui.model.ODataModel#constructor
|
|
63056
|
+
* sap.ui.model.odata.v2.ODataModel#constructor
|
|
62808
63057
|
*/
|
|
62809
63058
|
enum MessageScope {
|
|
62810
63059
|
/**
|
|
@@ -63502,19 +63751,25 @@ declare module "sap/ui/model/odata/ODataMessageParser" {
|
|
|
63502
63751
|
/**
|
|
63503
63752
|
* The response from the server containing body and headers
|
|
63504
63753
|
*/
|
|
63505
|
-
oResponse:
|
|
63754
|
+
oResponse: {
|
|
63755
|
+
statusCode: number;
|
|
63756
|
+
|
|
63757
|
+
headers: Record<string, string>;
|
|
63758
|
+
|
|
63759
|
+
body: string;
|
|
63760
|
+
},
|
|
63506
63761
|
/**
|
|
63507
63762
|
* The original request that lead to this response
|
|
63508
63763
|
*/
|
|
63509
|
-
oRequest:
|
|
63764
|
+
oRequest: Request,
|
|
63510
63765
|
/**
|
|
63511
|
-
* A map with the keys of the entities requested from the back
|
|
63766
|
+
* A map with the keys of the entities requested from the back end mapped to true
|
|
63512
63767
|
*/
|
|
63513
|
-
mGetEntities?:
|
|
63768
|
+
mGetEntities?: Record<string, true>,
|
|
63514
63769
|
/**
|
|
63515
|
-
* A map with the keys of the entities changed in the back
|
|
63770
|
+
* A map with the keys of the entities changed in the back end mapped to true
|
|
63516
63771
|
*/
|
|
63517
|
-
mChangeEntities?:
|
|
63772
|
+
mChangeEntities?: Record<string, true>,
|
|
63518
63773
|
/**
|
|
63519
63774
|
* Whether the used OData service supports the message scope {@link sap.ui.model.odata.MessageScope.BusinessObject}
|
|
63520
63775
|
*/
|
|
@@ -63533,6 +63788,45 @@ declare module "sap/ui/model/odata/ODataMessageParser" {
|
|
|
63533
63788
|
sFieldName: string
|
|
63534
63789
|
): this;
|
|
63535
63790
|
}
|
|
63791
|
+
|
|
63792
|
+
export type Request = {
|
|
63793
|
+
/**
|
|
63794
|
+
* The HTTP method used for this request
|
|
63795
|
+
*/
|
|
63796
|
+
method: string;
|
|
63797
|
+
/**
|
|
63798
|
+
* The request URI of this request
|
|
63799
|
+
*/
|
|
63800
|
+
requestUri: string;
|
|
63801
|
+
/**
|
|
63802
|
+
* The headers of this request
|
|
63803
|
+
*/
|
|
63804
|
+
headers: Record<string, string>;
|
|
63805
|
+
/**
|
|
63806
|
+
* Entity key for created entities
|
|
63807
|
+
*/
|
|
63808
|
+
key?: string;
|
|
63809
|
+
/**
|
|
63810
|
+
* Flag indicating if an entity was created
|
|
63811
|
+
*/
|
|
63812
|
+
created?: boolean;
|
|
63813
|
+
/**
|
|
63814
|
+
* Deep path for nested entities
|
|
63815
|
+
*/
|
|
63816
|
+
deepPath?: string;
|
|
63817
|
+
/**
|
|
63818
|
+
* Metadata for function imports
|
|
63819
|
+
*/
|
|
63820
|
+
functionMetadata?: object;
|
|
63821
|
+
/**
|
|
63822
|
+
* Target for function imports
|
|
63823
|
+
*/
|
|
63824
|
+
functionTarget?: string;
|
|
63825
|
+
/**
|
|
63826
|
+
* Flag for updating aggregated messages
|
|
63827
|
+
*/
|
|
63828
|
+
updateAggregatedMessages?: boolean;
|
|
63829
|
+
};
|
|
63536
63830
|
}
|
|
63537
63831
|
|
|
63538
63832
|
declare module "sap/ui/model/odata/ODataMetadata" {
|
|
@@ -64050,8 +64344,8 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
|
|
|
64050
64344
|
static getMetadata(): Metadata;
|
|
64051
64345
|
/**
|
|
64052
64346
|
* Gets the metadata context for the given function import and parameter name. The result can be used with
|
|
64053
|
-
* {@link sap.ui.model.ODataMetaModel#getODataValueLists} to request the metadata for the value lists
|
|
64054
|
-
* that function import parameter.
|
|
64347
|
+
* {@link sap.ui.model.odata.ODataMetaModel#getODataValueLists} to request the metadata for the value lists
|
|
64348
|
+
* for that function import parameter.
|
|
64055
64349
|
*
|
|
64056
64350
|
* @since 1.129.0
|
|
64057
64351
|
*
|
|
@@ -64290,7 +64584,7 @@ declare module "sap/ui/model/odata/ODataMetaModel" {
|
|
|
64290
64584
|
*
|
|
64291
64585
|
* @returns a Promise
|
|
64292
64586
|
*/
|
|
64293
|
-
loaded(): Promise<
|
|
64587
|
+
loaded(): Promise<void>;
|
|
64294
64588
|
/**
|
|
64295
64589
|
* Refresh not supported by OData meta model!
|
|
64296
64590
|
*/
|
|
@@ -66635,7 +66929,7 @@ declare module "sap/ui/model/odata/ODataUtils" {
|
|
|
66635
66929
|
* the EDM type
|
|
66636
66930
|
*/
|
|
66637
66931
|
sEdmType: string
|
|
66638
|
-
):
|
|
66932
|
+
): (p1: any, p2: any) => int;
|
|
66639
66933
|
/**
|
|
66640
66934
|
* Adds an origin to the given service URL. If an origin is already present, it will only be replaced if
|
|
66641
66935
|
* the parameters object contains the flag "force: true". In case the URL already contains URL parameters,
|
|
@@ -66848,7 +67142,7 @@ declare module "sap/ui/model/odata/type/Boolean" {
|
|
|
66848
67142
|
*
|
|
66849
67143
|
* @returns the type's name
|
|
66850
67144
|
*/
|
|
66851
|
-
getName():
|
|
67145
|
+
getName(): "sap.ui.model.odata.type.Boolean";
|
|
66852
67146
|
/**
|
|
66853
67147
|
* Parses the given value from the given type to a boolean.
|
|
66854
67148
|
*
|
|
@@ -66958,7 +67252,7 @@ declare module "sap/ui/model/odata/type/Byte" {
|
|
|
66958
67252
|
*
|
|
66959
67253
|
* @returns the type's name
|
|
66960
67254
|
*/
|
|
66961
|
-
getName():
|
|
67255
|
+
getName(): "sap.ui.model.odata.type.Byte";
|
|
66962
67256
|
/**
|
|
66963
67257
|
* Returns the type's supported range as object with properties `minimum` and `maximum`.
|
|
66964
67258
|
*
|
|
@@ -66966,7 +67260,11 @@ declare module "sap/ui/model/odata/type/Byte" {
|
|
|
66966
67260
|
*
|
|
66967
67261
|
* @returns the range
|
|
66968
67262
|
*/
|
|
66969
|
-
getRange():
|
|
67263
|
+
getRange(): {
|
|
67264
|
+
minimum: number;
|
|
67265
|
+
|
|
67266
|
+
maximum: number;
|
|
67267
|
+
};
|
|
66970
67268
|
}
|
|
66971
67269
|
}
|
|
66972
67270
|
|
|
@@ -67119,7 +67417,7 @@ declare module "sap/ui/model/odata/type/Currency" {
|
|
|
67119
67417
|
*
|
|
67120
67418
|
* @returns The type's name
|
|
67121
67419
|
*/
|
|
67122
|
-
getName():
|
|
67420
|
+
getName(): "sap.ui.model.odata.type.Currency";
|
|
67123
67421
|
/**
|
|
67124
67422
|
* Parses the given string value to an array containing amount and currency.
|
|
67125
67423
|
* See:
|
|
@@ -67277,7 +67575,7 @@ declare module "sap/ui/model/odata/type/Date" {
|
|
|
67277
67575
|
*
|
|
67278
67576
|
* @returns the type's name
|
|
67279
67577
|
*/
|
|
67280
|
-
getName():
|
|
67578
|
+
getName(): "sap.ui.model.odata.type.Date";
|
|
67281
67579
|
/**
|
|
67282
67580
|
* Parses the given value to a date.
|
|
67283
67581
|
*
|
|
@@ -67414,7 +67712,7 @@ declare module "sap/ui/model/odata/type/DateTime" {
|
|
|
67414
67712
|
*
|
|
67415
67713
|
* @returns the type's name
|
|
67416
67714
|
*/
|
|
67417
|
-
getName():
|
|
67715
|
+
getName(): "sap.ui.model.odata.type.DateTime";
|
|
67418
67716
|
}
|
|
67419
67717
|
}
|
|
67420
67718
|
|
|
@@ -67693,7 +67991,7 @@ declare module "sap/ui/model/odata/type/DateTimeOffset" {
|
|
|
67693
67991
|
*
|
|
67694
67992
|
* @returns The type's name
|
|
67695
67993
|
*/
|
|
67696
|
-
getName():
|
|
67994
|
+
getName(): "sap.ui.model.odata.type.DateTimeOffset";
|
|
67697
67995
|
/**
|
|
67698
67996
|
* Parses the given value to a `Date` instance (OData V2) or a string like "1970-12-31T23:59:58Z" (OData
|
|
67699
67997
|
* V4), depending on the model's OData version.
|
|
@@ -67827,7 +68125,7 @@ declare module "sap/ui/model/odata/type/DateTimeWithTimezone" {
|
|
|
67827
68125
|
*
|
|
67828
68126
|
* @returns The type's name
|
|
67829
68127
|
*/
|
|
67830
|
-
getName():
|
|
68128
|
+
getName(): "sap.ui.model.odata.type.DateTimeWithTimezone";
|
|
67831
68129
|
/**
|
|
67832
68130
|
* Gets an array of indices that determine which parts of this type shall not propagate their model messages
|
|
67833
68131
|
* to the attached control. Prerequisite is that the corresponding binding supports this feature, see {@link sap.ui.model.Binding#supportsIgnoreMessages}.
|
|
@@ -68045,7 +68343,7 @@ declare module "sap/ui/model/odata/type/Decimal" {
|
|
|
68045
68343
|
*
|
|
68046
68344
|
* @returns the type's name
|
|
68047
68345
|
*/
|
|
68048
|
-
getName():
|
|
68346
|
+
getName(): "sap.ui.model.odata.type.Decimal";
|
|
68049
68347
|
/**
|
|
68050
68348
|
* Parses the given value, which is expected to be of the given type, to a decimal in `string` representation.
|
|
68051
68349
|
*
|
|
@@ -68187,7 +68485,7 @@ declare module "sap/ui/model/odata/type/Double" {
|
|
|
68187
68485
|
*
|
|
68188
68486
|
* @returns the type's name
|
|
68189
68487
|
*/
|
|
68190
|
-
getName():
|
|
68488
|
+
getName(): "sap.ui.model.odata.type.Double";
|
|
68191
68489
|
/**
|
|
68192
68490
|
* Parses the given value, which is expected to be of the given type, to an Edm.Double in `number` representation.
|
|
68193
68491
|
*
|
|
@@ -68320,7 +68618,7 @@ declare module "sap/ui/model/odata/type/Guid" {
|
|
|
68320
68618
|
*
|
|
68321
68619
|
* @returns the type's name
|
|
68322
68620
|
*/
|
|
68323
|
-
getName():
|
|
68621
|
+
getName(): "sap.ui.model.odata.type.Guid";
|
|
68324
68622
|
/**
|
|
68325
68623
|
* Parses the given value to a GUID.
|
|
68326
68624
|
*
|
|
@@ -68557,7 +68855,7 @@ declare module "sap/ui/model/odata/type/Int16" {
|
|
|
68557
68855
|
*
|
|
68558
68856
|
* @returns the type's name
|
|
68559
68857
|
*/
|
|
68560
|
-
getName():
|
|
68858
|
+
getName(): "sap.ui.model.odata.type.Int16";
|
|
68561
68859
|
/**
|
|
68562
68860
|
* Returns the type's supported range as object with properties `minimum` and `maximum`.
|
|
68563
68861
|
*
|
|
@@ -68565,7 +68863,11 @@ declare module "sap/ui/model/odata/type/Int16" {
|
|
|
68565
68863
|
*
|
|
68566
68864
|
* @returns the range
|
|
68567
68865
|
*/
|
|
68568
|
-
getRange():
|
|
68866
|
+
getRange(): {
|
|
68867
|
+
minimum: number;
|
|
68868
|
+
|
|
68869
|
+
maximum: number;
|
|
68870
|
+
};
|
|
68569
68871
|
}
|
|
68570
68872
|
}
|
|
68571
68873
|
|
|
@@ -68649,7 +68951,7 @@ declare module "sap/ui/model/odata/type/Int32" {
|
|
|
68649
68951
|
*
|
|
68650
68952
|
* @returns the type's name
|
|
68651
68953
|
*/
|
|
68652
|
-
getName():
|
|
68954
|
+
getName(): "sap.ui.model.odata.type.Int32";
|
|
68653
68955
|
/**
|
|
68654
68956
|
* Returns the type's supported range as object with properties `minimum` and `maximum`.
|
|
68655
68957
|
*
|
|
@@ -68657,7 +68959,11 @@ declare module "sap/ui/model/odata/type/Int32" {
|
|
|
68657
68959
|
*
|
|
68658
68960
|
* @returns the range
|
|
68659
68961
|
*/
|
|
68660
|
-
getRange():
|
|
68962
|
+
getRange(): {
|
|
68963
|
+
minimum: number;
|
|
68964
|
+
|
|
68965
|
+
maximum: number;
|
|
68966
|
+
};
|
|
68661
68967
|
}
|
|
68662
68968
|
}
|
|
68663
68969
|
|
|
@@ -68777,7 +69083,7 @@ declare module "sap/ui/model/odata/type/Int64" {
|
|
|
68777
69083
|
*
|
|
68778
69084
|
* @returns the type's name
|
|
68779
69085
|
*/
|
|
68780
|
-
getName():
|
|
69086
|
+
getName(): "sap.ui.model.odata.type.Int64";
|
|
68781
69087
|
/**
|
|
68782
69088
|
* Parses the given value, which is expected to be of the given type, to an Int64 in `string` representation.
|
|
68783
69089
|
*
|
|
@@ -68985,7 +69291,7 @@ declare module "sap/ui/model/odata/type/Raw" {
|
|
|
68985
69291
|
*
|
|
68986
69292
|
* @returns The type's name
|
|
68987
69293
|
*/
|
|
68988
|
-
getName():
|
|
69294
|
+
getName(): "sap.ui.model.odata.type.Raw";
|
|
68989
69295
|
/**
|
|
68990
69296
|
* Method not supported
|
|
68991
69297
|
* See:
|
|
@@ -69084,7 +69390,7 @@ declare module "sap/ui/model/odata/type/SByte" {
|
|
|
69084
69390
|
*
|
|
69085
69391
|
* @returns the type's name
|
|
69086
69392
|
*/
|
|
69087
|
-
getName():
|
|
69393
|
+
getName(): "sap.ui.model.odata.type.SByte";
|
|
69088
69394
|
/**
|
|
69089
69395
|
* Returns the type's supported range as object with properties `minimum` and `maximum`.
|
|
69090
69396
|
*
|
|
@@ -69092,7 +69398,11 @@ declare module "sap/ui/model/odata/type/SByte" {
|
|
|
69092
69398
|
*
|
|
69093
69399
|
* @returns the range
|
|
69094
69400
|
*/
|
|
69095
|
-
getRange():
|
|
69401
|
+
getRange(): {
|
|
69402
|
+
minimum: number;
|
|
69403
|
+
|
|
69404
|
+
maximum: number;
|
|
69405
|
+
};
|
|
69096
69406
|
}
|
|
69097
69407
|
}
|
|
69098
69408
|
|
|
@@ -69203,7 +69513,7 @@ declare module "sap/ui/model/odata/type/Single" {
|
|
|
69203
69513
|
*
|
|
69204
69514
|
* @returns the type's name
|
|
69205
69515
|
*/
|
|
69206
|
-
getName():
|
|
69516
|
+
getName(): "sap.ui.model.odata.type.Single";
|
|
69207
69517
|
/**
|
|
69208
69518
|
* Parses the given value, which is expected to be of the given type, to an Edm.Single in `number` representation.
|
|
69209
69519
|
*
|
|
@@ -69340,7 +69650,7 @@ declare module "sap/ui/model/odata/type/Stream" {
|
|
|
69340
69650
|
*
|
|
69341
69651
|
* @returns The type's name
|
|
69342
69652
|
*/
|
|
69343
|
-
getName():
|
|
69653
|
+
getName(): "sap.ui.model.odata.type.Stream";
|
|
69344
69654
|
/**
|
|
69345
69655
|
* Method not supported
|
|
69346
69656
|
* See:
|
|
@@ -69485,7 +69795,7 @@ declare module "sap/ui/model/odata/type/String" {
|
|
|
69485
69795
|
*
|
|
69486
69796
|
* @returns the type's name
|
|
69487
69797
|
*/
|
|
69488
|
-
getName():
|
|
69798
|
+
getName(): "sap.ui.model.odata.type.String";
|
|
69489
69799
|
/**
|
|
69490
69800
|
* Parses the given value which is expected to be of the given type to a string. If `isDigitSequence` constraint
|
|
69491
69801
|
* of this type is set to `true` and the parsed string is a sequence of digits, then the parsed string is
|
|
@@ -69635,7 +69945,7 @@ declare module "sap/ui/model/odata/type/Time" {
|
|
|
69635
69945
|
*/
|
|
69636
69946
|
oDate: Date | UI5Date | null
|
|
69637
69947
|
): {
|
|
69638
|
-
__edmType:
|
|
69948
|
+
__edmType: "Edm.Time";
|
|
69639
69949
|
|
|
69640
69950
|
ms: int;
|
|
69641
69951
|
} | null;
|
|
@@ -69645,7 +69955,7 @@ declare module "sap/ui/model/odata/type/Time" {
|
|
|
69645
69955
|
*
|
|
69646
69956
|
* @returns the type's name
|
|
69647
69957
|
*/
|
|
69648
|
-
getName():
|
|
69958
|
+
getName(): "sap.ui.model.odata.type.Time";
|
|
69649
69959
|
/**
|
|
69650
69960
|
* Parses the given value, which is expected to be of the given type, to a time object.
|
|
69651
69961
|
*
|
|
@@ -69662,7 +69972,11 @@ declare module "sap/ui/model/odata/type/Time" {
|
|
|
69662
69972
|
* See {@link sap.ui.model.odata.type} for more information.
|
|
69663
69973
|
*/
|
|
69664
69974
|
sSourceType: string
|
|
69665
|
-
):
|
|
69975
|
+
): {
|
|
69976
|
+
__edmType: "Edm.Time";
|
|
69977
|
+
|
|
69978
|
+
ms: int;
|
|
69979
|
+
};
|
|
69666
69980
|
/**
|
|
69667
69981
|
* Validates whether the given value in model representation is valid and meets the defined constraints.
|
|
69668
69982
|
*/
|
|
@@ -69670,7 +69984,11 @@ declare module "sap/ui/model/odata/type/Time" {
|
|
|
69670
69984
|
/**
|
|
69671
69985
|
* the value to be validated
|
|
69672
69986
|
*/
|
|
69673
|
-
oValue:
|
|
69987
|
+
oValue: {
|
|
69988
|
+
__edmType: "Edm.Time";
|
|
69989
|
+
|
|
69990
|
+
ms: int;
|
|
69991
|
+
}
|
|
69674
69992
|
): void;
|
|
69675
69993
|
}
|
|
69676
69994
|
}
|
|
@@ -69790,7 +70108,7 @@ declare module "sap/ui/model/odata/type/TimeOfDay" {
|
|
|
69790
70108
|
*
|
|
69791
70109
|
* @returns The type's name
|
|
69792
70110
|
*/
|
|
69793
|
-
getName():
|
|
70111
|
+
getName(): "sap.ui.model.odata.type.TimeOfDay";
|
|
69794
70112
|
/**
|
|
69795
70113
|
* Parses the given value, which is expected to be of the given type, to a string with an OData V4 Edm.TimeOfDay
|
|
69796
70114
|
* value.
|
|
@@ -69979,7 +70297,7 @@ declare module "sap/ui/model/odata/type/Unit" {
|
|
|
69979
70297
|
*
|
|
69980
70298
|
* @returns The type's name
|
|
69981
70299
|
*/
|
|
69982
|
-
getName():
|
|
70300
|
+
getName(): "sap.ui.model.odata.type.Unit";
|
|
69983
70301
|
/**
|
|
69984
70302
|
* Parses the given string value to an array containing measure and unit.
|
|
69985
70303
|
* See:
|
|
@@ -70235,6 +70553,8 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
|
|
|
70235
70553
|
|
|
70236
70554
|
import Metadata from "sap/ui/base/Metadata";
|
|
70237
70555
|
|
|
70556
|
+
import Event from "sap/ui/base/Event";
|
|
70557
|
+
|
|
70238
70558
|
/**
|
|
70239
70559
|
* Annotation loader for OData V2 services
|
|
70240
70560
|
*
|
|
@@ -70333,7 +70653,16 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
|
|
|
70333
70653
|
* containing a URL or an object of type {@link sap.ui.model.odata.v2.ODataAnnotations.Source}.
|
|
70334
70654
|
*/
|
|
70335
70655
|
vSource: string | string[] | Source | Source[]
|
|
70336
|
-
): Promise<
|
|
70656
|
+
): Promise<
|
|
70657
|
+
Array<
|
|
70658
|
+
| {
|
|
70659
|
+
source: Source;
|
|
70660
|
+
|
|
70661
|
+
data: any;
|
|
70662
|
+
}
|
|
70663
|
+
| Error
|
|
70664
|
+
>
|
|
70665
|
+
>;
|
|
70337
70666
|
/**
|
|
70338
70667
|
* Attaches the given callback to the `allFailed` event.
|
|
70339
70668
|
*
|
|
@@ -70776,7 +71105,7 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
|
|
|
70776
71105
|
*
|
|
70777
71106
|
* @returns A promise that resolves after the last added sources have been processed
|
|
70778
71107
|
*/
|
|
70779
|
-
loaded(): Promise<
|
|
71108
|
+
loaded(): Promise<void>;
|
|
70780
71109
|
/**
|
|
70781
71110
|
* Set custom headers which are provided in a key/value map. These headers are used for all requests. The
|
|
70782
71111
|
* "Accept-Language" header cannot be modified and is set using the core's language setting.
|
|
@@ -70808,8 +71137,8 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
|
|
|
70808
71137
|
*/
|
|
70809
71138
|
export type failedParameters = {
|
|
70810
71139
|
/**
|
|
70811
|
-
* An array of Errors, see {@link sap.ui.model.v2.ODataAnnotations#error} that occurred while loading
|
|
70812
|
-
* group of annotations
|
|
71140
|
+
* An array of Errors, see {@link sap.ui.model.odata.v2.ODataAnnotations#error} that occurred while loading
|
|
71141
|
+
* a group of annotations
|
|
70813
71142
|
*/
|
|
70814
71143
|
result: Error[];
|
|
70815
71144
|
};
|
|
@@ -70819,7 +71148,7 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
|
|
|
70819
71148
|
*/
|
|
70820
71149
|
export type loadedParameters = {
|
|
70821
71150
|
/**
|
|
70822
|
-
* An array of results and Errors (see {@link sap.ui.model.v2.ODataAnnotations#success} and {@link sap.ui.model.v2.ODataAnnotations#error})
|
|
71151
|
+
* An array of results and Errors (see {@link sap.ui.model.odata.v2.ODataAnnotations#success} and {@link sap.ui.model.odata.v2.ODataAnnotations#error})
|
|
70823
71152
|
* that occurred while loading a group of annotations
|
|
70824
71153
|
*/
|
|
70825
71154
|
result: Source[] | Error[] | any;
|
|
@@ -70861,6 +71190,58 @@ declare module "sap/ui/model/odata/v2/ODataAnnotations" {
|
|
|
70861
71190
|
*/
|
|
70862
71191
|
result: Source;
|
|
70863
71192
|
};
|
|
71193
|
+
|
|
71194
|
+
/**
|
|
71195
|
+
* Parameters of the ODataAnnotations#error event.
|
|
71196
|
+
*/
|
|
71197
|
+
export interface ODataAnnotations$ErrorEventParameters {}
|
|
71198
|
+
|
|
71199
|
+
/**
|
|
71200
|
+
* Event object of the ODataAnnotations#error event.
|
|
71201
|
+
*/
|
|
71202
|
+
export type ODataAnnotations$ErrorEvent = Event<
|
|
71203
|
+
ODataAnnotations$ErrorEventParameters,
|
|
71204
|
+
ODataAnnotations
|
|
71205
|
+
>;
|
|
71206
|
+
|
|
71207
|
+
/**
|
|
71208
|
+
* Parameters of the ODataAnnotations#failed event.
|
|
71209
|
+
*/
|
|
71210
|
+
export interface ODataAnnotations$FailedEventParameters {}
|
|
71211
|
+
|
|
71212
|
+
/**
|
|
71213
|
+
* Event object of the ODataAnnotations#failed event.
|
|
71214
|
+
*/
|
|
71215
|
+
export type ODataAnnotations$FailedEvent = Event<
|
|
71216
|
+
ODataAnnotations$FailedEventParameters,
|
|
71217
|
+
ODataAnnotations
|
|
71218
|
+
>;
|
|
71219
|
+
|
|
71220
|
+
/**
|
|
71221
|
+
* Parameters of the ODataAnnotations#loaded event.
|
|
71222
|
+
*/
|
|
71223
|
+
export interface ODataAnnotations$LoadedEventParameters {}
|
|
71224
|
+
|
|
71225
|
+
/**
|
|
71226
|
+
* Event object of the ODataAnnotations#loaded event.
|
|
71227
|
+
*/
|
|
71228
|
+
export type ODataAnnotations$LoadedEvent = Event<
|
|
71229
|
+
ODataAnnotations$LoadedEventParameters,
|
|
71230
|
+
ODataAnnotations
|
|
71231
|
+
>;
|
|
71232
|
+
|
|
71233
|
+
/**
|
|
71234
|
+
* Parameters of the ODataAnnotations#success event.
|
|
71235
|
+
*/
|
|
71236
|
+
export interface ODataAnnotations$SuccessEventParameters {}
|
|
71237
|
+
|
|
71238
|
+
/**
|
|
71239
|
+
* Event object of the ODataAnnotations#success event.
|
|
71240
|
+
*/
|
|
71241
|
+
export type ODataAnnotations$SuccessEvent = Event<
|
|
71242
|
+
ODataAnnotations$SuccessEventParameters,
|
|
71243
|
+
ODataAnnotations
|
|
71244
|
+
>;
|
|
70864
71245
|
}
|
|
70865
71246
|
|
|
70866
71247
|
declare module "sap/ui/model/odata/v2/ODataContextBinding" {
|
|
@@ -71472,10 +71853,10 @@ declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
|
|
|
71472
71853
|
|
|
71473
71854
|
import FilterType from "sap/ui/model/FilterType";
|
|
71474
71855
|
|
|
71475
|
-
import Metadata from "sap/ui/base/Metadata";
|
|
71476
|
-
|
|
71477
71856
|
import Context from "sap/ui/model/Context";
|
|
71478
71857
|
|
|
71858
|
+
import Metadata from "sap/ui/base/Metadata";
|
|
71859
|
+
|
|
71479
71860
|
import Context1 from "sap/ui/model/odata/v2/Context";
|
|
71480
71861
|
|
|
71481
71862
|
import Sorter from "sap/ui/model/Sorter";
|
|
@@ -71544,7 +71925,7 @@ declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
|
|
|
71544
71925
|
* If set to true, no change event will be fired
|
|
71545
71926
|
*/
|
|
71546
71927
|
bSuppressChange: boolean
|
|
71547
|
-
): Promise<
|
|
71928
|
+
): Promise<void>;
|
|
71548
71929
|
/**
|
|
71549
71930
|
* Applies the given filters to the ODataTreeBinding.
|
|
71550
71931
|
*
|
|
@@ -71594,7 +71975,7 @@ declare module "sap/ui/model/odata/v2/ODataTreeBinding" {
|
|
|
71594
71975
|
/**
|
|
71595
71976
|
* the context element of the node
|
|
71596
71977
|
*/
|
|
71597
|
-
oContext:
|
|
71978
|
+
oContext: Context
|
|
71598
71979
|
): int;
|
|
71599
71980
|
/**
|
|
71600
71981
|
* Get a download URL with the specified format considering the sort/filter/custom parameters.
|
|
@@ -72436,6 +72817,9 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
72436
72817
|
* is supported. As a precondition, the context must not be both {@link #setKeepAlive kept alive} and hidden
|
|
72437
72818
|
* (for example due to a filter), and the group ID must not have {@link sap.ui.model.odata.v4.SubmitMode.API}.
|
|
72438
72819
|
* Such a deletion is not a pending change.
|
|
72820
|
+
*
|
|
72821
|
+
* When using data aggregation without group levels, single entities can be deleted (@experimental as of
|
|
72822
|
+
* version 1.144.0, see {@link #isAggregated}). The same restrictions as for a recursive hierarchy apply.
|
|
72439
72823
|
* See:
|
|
72440
72824
|
* #hasPendingChanges
|
|
72441
72825
|
* #resetChanges
|
|
@@ -72644,6 +73028,20 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
72644
73028
|
* @returns Whether there are pending changes
|
|
72645
73029
|
*/
|
|
72646
73030
|
hasPendingChanges(): boolean;
|
|
73031
|
+
/**
|
|
73032
|
+
* Indicates whether this context represents aggregated data rather than a single entity instance. This
|
|
73033
|
+
* method returns `true` only in case of data aggregation (but not for a recursive hierarchy) and not for
|
|
73034
|
+
* non-expandable nodes (so-called leaves; see {@link #isExpanded}) if all of the entity type's key properties
|
|
73035
|
+
* are available as groups. For a list binding's {@link sap.ui.model.odata.v4.ODataListBinding#getHeaderContext header context},
|
|
73036
|
+
* the returned value matches that of every leaf.
|
|
73037
|
+
* See:
|
|
73038
|
+
* sap.ui.model.odata.v4.ODataListBinding#setAggregation
|
|
73039
|
+
*
|
|
73040
|
+
* @since 1.144.0
|
|
73041
|
+
*
|
|
73042
|
+
* @returns Whether this context represents aggregated data
|
|
73043
|
+
*/
|
|
73044
|
+
isAggregated(): boolean;
|
|
72647
73045
|
/**
|
|
72648
73046
|
* Tells whether this node is an ancestor of (or the same as) the given node (in case of a recursive hierarchy,
|
|
72649
73047
|
* see {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}).
|
|
@@ -73046,6 +73444,13 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73046
73444
|
* the context if it is no longer needed.
|
|
73047
73445
|
*
|
|
73048
73446
|
* Note: This is only supported if the model uses the `autoExpandSelect` parameter.
|
|
73447
|
+
*
|
|
73448
|
+
* Note: This can be used for single entities in a data aggregation scenario (@experimental as of version
|
|
73449
|
+
* 1.144.0), see {@link #isAggregated}. Such a kept-alive context
|
|
73450
|
+
* can be used as a binding context, can be used for updating data (see {@link #setProperty}),
|
|
73451
|
+
* is refreshed when its list binding's {@link sap.ui.model.odata.v4.ODataListBinding#refresh}) is called,
|
|
73452
|
+
* and is refreshed when {@link #requestSideEffects}) is called on its list binding's header context.
|
|
73453
|
+
* Other APIs are not supported.
|
|
73049
73454
|
* See:
|
|
73050
73455
|
* #isKeepAlive
|
|
73051
73456
|
*
|
|
@@ -73059,9 +73464,9 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
73059
73464
|
/**
|
|
73060
73465
|
* Callback function that is called once for a kept-alive context without any argument just before the context
|
|
73061
73466
|
* is destroyed; see {@link #destroy}. If a context has been replaced in a list binding (see {@link #replaceWith }
|
|
73062
|
-
* and {@link sap.ui.odata.v4.ODataContextBinding#invoke}), the callback will later also be called
|
|
73063
|
-
* before the replacing context is destroyed, but with that context as the only argument. Supported
|
|
73064
|
-
* 1.84.0
|
|
73467
|
+
* and {@link sap.ui.model.odata.v4.ODataContextBinding#invoke}), the callback will later also be called
|
|
73468
|
+
* just before the replacing context is destroyed, but with that context as the only argument. Supported
|
|
73469
|
+
* since 1.84.0
|
|
73065
73470
|
*/
|
|
73066
73471
|
fnOnBeforeDestroy?: (p1: Context | undefined) => void,
|
|
73067
73472
|
/**
|
|
@@ -74419,7 +74824,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74419
74824
|
*
|
|
74420
74825
|
* If known, the value represents the sum of the element count of the collection on the server and the number
|
|
74421
74826
|
* of {@link sap.ui.model.odata.v4.Context#isInactive active} {@link sap.ui.model.odata.v4.Context#isTransient transient }
|
|
74422
|
-
* entities created on the client, minus the {@link #sap.ui.model.
|
|
74827
|
+
* entities created on the client, minus the {@link #sap.ui.model.odata.v4.Context#delete deleted} entities.
|
|
74423
74828
|
* Otherwise, it is `undefined`. The value is a number of type `Edm.Int64`. Since 1.91.0, in case of data
|
|
74424
74829
|
* aggregation with group levels, the count is the leaf count on the server; it is only determined if the
|
|
74425
74830
|
* `$count` system query option is given. Since 1.110.0, in case of a recursive hierarchy, the count is
|
|
@@ -74469,7 +74874,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74469
74874
|
/**
|
|
74470
74875
|
* Returns a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
74471
74876
|
* delivers all entities considering the binding's query options (such as filters or sorters). Returns `null`
|
|
74472
|
-
* if the binding's filter is {@link sap.ui.
|
|
74877
|
+
* if the binding's filter is {@link sap.ui.model.Filter.NONE}. The returned URL does not specify `$skip`
|
|
74473
74878
|
* and `$top` and leaves it up to the server how many rows it delivers. Many servers tend to choose a small
|
|
74474
74879
|
* limit without `$skip` and `$top`, so it might be wise to add an appropriate value for `$top` at least.
|
|
74475
74880
|
*
|
|
@@ -74728,7 +75133,7 @@ declare module "sap/ui/model/odata/v4/ODataListBinding" {
|
|
|
74728
75133
|
/**
|
|
74729
75134
|
* Resolves with a URL by which the complete content of the list can be downloaded in JSON format. The request
|
|
74730
75135
|
* delivers all entities considering the binding's query options (such as filters or sorters). Resolves
|
|
74731
|
-
* with `null` if the binding's filter is {@link sap.ui.
|
|
75136
|
+
* with `null` if the binding's filter is {@link sap.ui.model.Filter.NONE}.
|
|
74732
75137
|
*
|
|
74733
75138
|
* The returned URL does not specify `$skip` and `$top` and leaves it up to the server how many rows it
|
|
74734
75139
|
* delivers. Many servers tend to choose a small limit without `$skip` and `$top`, so it might be wise to
|
|
@@ -75819,9 +76224,9 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
75819
76224
|
* of type "Edm.Int64". Otherwise, it is invalid.
|
|
75820
76225
|
*
|
|
75821
76226
|
* A segment which represents an OData simple identifier (or the special names "$ReturnType", since 1.71.0,
|
|
75822
|
-
* or "$Parameter", since 1.73.0) needs special preparations. The same applies to the empty segment
|
|
75823
|
-
* a trailing slash. If the current object has a "$Action", "$Function" or "$Type" property,
|
|
75824
|
-
* is used for scope lookup first. This way, "/EMPLOYEES/ENTRYDATE" addresses the same object as "/EMPLOYEES/$Type/ENTRYDATE",
|
|
76227
|
+
* or "$Parameter", since 1.73.0) needs special preparations. The same applies to the empty segment (typically
|
|
76228
|
+
* after a trailing slash). If the current object has a "$Action", "$Function" or "$Type" property,
|
|
76229
|
+
* it is used for scope lookup first. This way, "/EMPLOYEES/ENTRYDATE" addresses the same object as "/EMPLOYEES/$Type/ENTRYDATE",
|
|
75825
76230
|
* namely the "ENTRYDATE" child of the entity type corresponding to the "EMPLOYEES" child of the entity
|
|
75826
76231
|
* container. The other cases jump from an operation import to the corresponding operation overloads.
|
|
75827
76232
|
* Else if the segment is the first one within its path, the last schema child addressed via scope lookup
|
|
@@ -75842,6 +76247,8 @@ declare module "sap/ui/model/odata/v4/ODataMetaModel" {
|
|
|
75842
76247
|
*
|
|
75843
76248
|
* Operation overloads are then filtered by binding parameter; multiple overloads after filtering are invalid
|
|
75844
76249
|
* except if addressing all overloads via the segment "@$ui5.overload", for example "/acme.NewAction/@$ui5.overload".
|
|
76250
|
+
* Since 1.144.0, multiple overloads for an unbound function are tolerated when addressing the return type
|
|
76251
|
+
* (which is the same for all of them).
|
|
75845
76252
|
*
|
|
75846
76253
|
* Once a single overload has been determined, its parameters can be immediately addressed, for example
|
|
75847
76254
|
* "/TEAMS/acme.NewAction/Team_ID", or the special name "$Parameter" can be used (since 1.73.0), for example
|
|
@@ -79396,12 +79803,24 @@ declare module "sap/ui/model/TreeBindingUtils" {
|
|
|
79396
79803
|
/**
|
|
79397
79804
|
* the sections into which oNewSection will be merged
|
|
79398
79805
|
*/
|
|
79399
|
-
aSections:
|
|
79806
|
+
aSections: Array<{
|
|
79807
|
+
startIndex: number;
|
|
79808
|
+
|
|
79809
|
+
length: number;
|
|
79810
|
+
}>,
|
|
79400
79811
|
/**
|
|
79401
79812
|
* the section which should be merged into aNewSections
|
|
79402
79813
|
*/
|
|
79403
|
-
oNewSection:
|
|
79404
|
-
|
|
79814
|
+
oNewSection: {
|
|
79815
|
+
startIndex: number;
|
|
79816
|
+
|
|
79817
|
+
length: number;
|
|
79818
|
+
}
|
|
79819
|
+
): Array<{
|
|
79820
|
+
startIndex: number;
|
|
79821
|
+
|
|
79822
|
+
length: number;
|
|
79823
|
+
}>;
|
|
79405
79824
|
}
|
|
79406
79825
|
const TreeBindingUtils: TreeBindingUtils;
|
|
79407
79826
|
export default TreeBindingUtils;
|
|
@@ -80808,6 +81227,8 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
80808
81227
|
|
|
80809
81228
|
import Metadata from "sap/ui/base/Metadata";
|
|
80810
81229
|
|
|
81230
|
+
import Context from "sap/ui/model/Context";
|
|
81231
|
+
|
|
80811
81232
|
/**
|
|
80812
81233
|
* Model implementation for the XML format.
|
|
80813
81234
|
*
|
|
@@ -80859,7 +81280,12 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
80859
81280
|
* Returns the object for the given path and context.
|
|
80860
81281
|
*
|
|
80861
81282
|
*
|
|
80862
|
-
* @returns The object
|
|
81283
|
+
* @returns The object at the specified path:
|
|
81284
|
+
* - An XML DOM Element node object when the path resolves to an element.
|
|
81285
|
+
* - A string value when the path points to an attribute (using the @attribute syntax) or text content.
|
|
81286
|
+
*
|
|
81287
|
+
* - `null` when the document has no root element or the path cannot be resolved.
|
|
81288
|
+
* - `undefined` when the path resolution returns an empty result.
|
|
80863
81289
|
*/
|
|
80864
81290
|
getObject(
|
|
80865
81291
|
/**
|
|
@@ -80869,8 +81295,8 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
80869
81295
|
/**
|
|
80870
81296
|
* The context which will be used to retrieve the object
|
|
80871
81297
|
*/
|
|
80872
|
-
oContext?:
|
|
80873
|
-
):
|
|
81298
|
+
oContext?: Context
|
|
81299
|
+
): Element | string | null | undefined;
|
|
80874
81300
|
/**
|
|
80875
81301
|
* Returns the value for the property with the given `sPropertyName`.
|
|
80876
81302
|
*
|
|
@@ -80885,7 +81311,7 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
80885
81311
|
/**
|
|
80886
81312
|
* The context which will be used to retrieve the property
|
|
80887
81313
|
*/
|
|
80888
|
-
oContext?:
|
|
81314
|
+
oContext?: Context
|
|
80889
81315
|
): string;
|
|
80890
81316
|
/**
|
|
80891
81317
|
* Serializes the current XML data of the model into a string.
|
|
@@ -80926,7 +81352,7 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
80926
81352
|
/**
|
|
80927
81353
|
* An object of additional header key/value pairs to send along with the request
|
|
80928
81354
|
*/
|
|
80929
|
-
mHeaders?:
|
|
81355
|
+
mHeaders?: Record<string, string>
|
|
80930
81356
|
): void;
|
|
80931
81357
|
/**
|
|
80932
81358
|
* Sets the provided XML encoded data object to the model
|
|
@@ -80969,7 +81395,7 @@ declare module "sap/ui/model/xml/XMLModel" {
|
|
|
80969
81395
|
/**
|
|
80970
81396
|
* The context which will be used to set the property
|
|
80971
81397
|
*/
|
|
80972
|
-
oContext?:
|
|
81398
|
+
oContext?: Context,
|
|
80973
81399
|
/**
|
|
80974
81400
|
* Whether to update other bindings dependent on this property asynchronously
|
|
80975
81401
|
*/
|
|
@@ -81138,6 +81564,25 @@ declare module "sap/ui/test/actions/Action" {
|
|
|
81138
81564
|
* @returns Metadata object describing this class
|
|
81139
81565
|
*/
|
|
81140
81566
|
static getMetadata(): ManagedObjectMetadata;
|
|
81567
|
+
/**
|
|
81568
|
+
* Finds the most suitable jQuery element to execute an action on. A control may have many elements in its
|
|
81569
|
+
* DOM representation. The most suitable one is chosen by priority:
|
|
81570
|
+
* - If the user provided an idSuffix, return the element that matches it, or null
|
|
81571
|
+
* - If there is a control adapter for the action - return the element that matches it. See `controlAdapters`
|
|
81572
|
+
* at {@link sap.ui.test.Press} for an example
|
|
81573
|
+
* - If there is no control adapter, or it matches no elements, return the focusDomRef of the control.
|
|
81574
|
+
* Note that some controls may not have a focusDomRef.
|
|
81575
|
+
*
|
|
81576
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
81577
|
+
*
|
|
81578
|
+
* @returns the jQuery element which is most suitable for the action
|
|
81579
|
+
*/
|
|
81580
|
+
$(
|
|
81581
|
+
/**
|
|
81582
|
+
* the control to execute an action on
|
|
81583
|
+
*/
|
|
81584
|
+
oControl: object
|
|
81585
|
+
): jQuery;
|
|
81141
81586
|
/**
|
|
81142
81587
|
* Checks if the matcher is matching - will get an instance of sap.ui.core.Control as parameter Should be
|
|
81143
81588
|
* overwritten by subclasses
|
|
@@ -81164,6 +81609,14 @@ declare module "sap/ui/test/actions/Action" {
|
|
|
81164
81609
|
* @returns Value of property `idSuffix`
|
|
81165
81610
|
*/
|
|
81166
81611
|
getIdSuffix(): string;
|
|
81612
|
+
/**
|
|
81613
|
+
* Returns the QUnitUtils
|
|
81614
|
+
*
|
|
81615
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
81616
|
+
*
|
|
81617
|
+
* @returns QUnit utils of the current window or the OPA frame
|
|
81618
|
+
*/
|
|
81619
|
+
getUtils(): /* was: sap.ui.test.qunit.QUnitUtils */ any;
|
|
81167
81620
|
/**
|
|
81168
81621
|
* Sets a new value for property {@link #getIdSuffix idSuffix}.
|
|
81169
81622
|
*
|
|
@@ -85287,7 +85740,7 @@ declare module "sap/ui/test/Opa5" {
|
|
|
85287
85740
|
* viewName: "my.View"
|
|
85288
85741
|
* controlType: "sap.m.Input",
|
|
85289
85742
|
* success: function (aInputs) {
|
|
85290
|
-
* // aInputs are all sap.m.
|
|
85743
|
+
* // aInputs are all sap.m.Input controls inside of a view called 'my.View'
|
|
85291
85744
|
* }
|
|
85292
85745
|
* });
|
|
85293
85746
|
* ```
|
|
@@ -85622,7 +86075,7 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
85622
86075
|
FNMetaImpl?: Function
|
|
85623
86076
|
): Function;
|
|
85624
86077
|
/**
|
|
85625
|
-
* Returns the registered element with the given ID, if any. Internally forwards to {@link sap.ui.core.Element
|
|
86078
|
+
* Returns the registered element with the given ID, if any. Internally forwards to {@link sap.ui.core.Element.getElementById }
|
|
85626
86079
|
* or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
|
|
85627
86080
|
* uses a lower UI5 version.
|
|
85628
86081
|
*
|
|
@@ -85637,7 +86090,7 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
85637
86090
|
sId: ID | null | undefined
|
|
85638
86091
|
): UI5Element | undefined;
|
|
85639
86092
|
/**
|
|
85640
|
-
* Retrieves a resource bundle for the given library and locale. Internally forwards to {@link sap.ui.core.Lib
|
|
86093
|
+
* Retrieves a resource bundle for the given library and locale. Internally forwards to {@link sap.ui.core.Lib.getResourceBundleFor }
|
|
85641
86094
|
* or the corresponsing legacy API. The legacy API is used when the tested app is loaded in an iframe that
|
|
85642
86095
|
* uses a lower UI5 version.
|
|
85643
86096
|
*
|
|
@@ -85652,8 +86105,8 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
85652
86105
|
*/
|
|
85653
86106
|
static getMetadata(): Metadata;
|
|
85654
86107
|
/**
|
|
85655
|
-
* Returns the root element of the static, hidden area. Internally forwards to {@link sap
|
|
85656
|
-
* or the
|
|
86108
|
+
* Returns the root element of the static, hidden area. Internally forwards to {@link module:sap/ui/core/StaticArea.getDomRef }
|
|
86109
|
+
* or the corresponding legacy API. The legacy API is used when the tested app is loaded in an iframe that
|
|
85657
86110
|
* uses a lower UI5 version.
|
|
85658
86111
|
*
|
|
85659
86112
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -85663,8 +86116,8 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
85663
86116
|
static getStaticAreaDomRef(): Element;
|
|
85664
86117
|
/**
|
|
85665
86118
|
* Returns `true` if there are any pending rendering tasks or when such rendering tasks are currently being
|
|
85666
|
-
* executed. Internally forwards to {@link sap
|
|
85667
|
-
* API. The legacy API is used when the tested app is loaded in an iframe that uses a lower UI5 version.
|
|
86119
|
+
* executed. Internally forwards to {@link module:sap/ui/core/Rendering.isPending} or the corresponsing
|
|
86120
|
+
* legacy API. The legacy API is used when the tested app is loaded in an iframe that uses a lower UI5 version.
|
|
85668
86121
|
*
|
|
85669
86122
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
85670
86123
|
*
|
|
@@ -85833,7 +86286,7 @@ declare module "sap/ui/test/OpaPlugin" {
|
|
|
85833
86286
|
*
|
|
85834
86287
|
* // control type is often combined with viewName - only controls that are inside of the view
|
|
85835
86288
|
* // and have the correct type will be returned
|
|
85836
|
-
* // here all sap.m.
|
|
86289
|
+
* // here all sap.m.Input controls inside of a view called 'my.View' will be returned
|
|
85837
86290
|
* new OpaPlugin().getMatchingControls({
|
|
85838
86291
|
* viewName: "my.View"
|
|
85839
86292
|
* controlType: "sap.m.Input"
|
|
@@ -86057,7 +86510,7 @@ declare module "sap/ui/test/RecordReplay" {
|
|
|
86057
86510
|
/**
|
|
86058
86511
|
* Clear existing text before interaction
|
|
86059
86512
|
*/
|
|
86060
|
-
clearTextFirst?:
|
|
86513
|
+
clearTextFirst?: boolean;
|
|
86061
86514
|
/**
|
|
86062
86515
|
* If ENTER key will be entered after the text
|
|
86063
86516
|
*/
|
|
@@ -88990,6 +89443,8 @@ declare namespace sap {
|
|
|
88990
89443
|
|
|
88991
89444
|
"sap/base/util/array/uniqueSort": undefined;
|
|
88992
89445
|
|
|
89446
|
+
"sap/base/util/clamp": undefined;
|
|
89447
|
+
|
|
88993
89448
|
"sap/base/util/deepClone": undefined;
|
|
88994
89449
|
|
|
88995
89450
|
"sap/base/util/deepEqual": undefined;
|