@sapui5/ts-types-esm 1.147.2 → 1.148.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 +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +51 -11
- package/types/sap.esh.search.ui.d.ts +175 -34
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +52 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +18 -1
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +3 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +19 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/{mobile-1.147.0-esm-d.ts → sap.m.d.ts} +193 -36
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +2 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- 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.147.0-esm-d.ts → sap.tnt.d.ts} +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/{commons-1.147.0-esm-d.ts → sap.ui.commons.d.ts} +1 -1
- package/types/sap.ui.comp.d.ts +198 -4
- package/types/{core-1.147.0-esm-d.ts → sap.ui.core.d.ts} +264 -20
- package/types/{dt-1.147.0-esm-d.ts → sap.ui.dt.d.ts} +1 -1
- package/types/sap.ui.export.d.ts +150 -1
- package/types/sap.ui.fl.d.ts +25 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +6 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.147.0-esm-d.ts → sap.ui.mdc.d.ts} +237 -3
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +4 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/{ux3-1.147.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 +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +3 -3
- 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.148.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -2841,6 +2841,30 @@ declare module "sap/base/util/array/uniqueSort" {
|
|
|
2841
2841
|
): any[];
|
|
2842
2842
|
}
|
|
2843
2843
|
|
|
2844
|
+
declare module "sap/base/util/clamp" {
|
|
2845
|
+
/**
|
|
2846
|
+
* Returns a value clamped between an upper bound 'max' and lower bound 'min'.
|
|
2847
|
+
*
|
|
2848
|
+
* @since 1.130
|
|
2849
|
+
*
|
|
2850
|
+
* @returns clamped value
|
|
2851
|
+
*/
|
|
2852
|
+
export default function clamp(
|
|
2853
|
+
/**
|
|
2854
|
+
* value
|
|
2855
|
+
*/
|
|
2856
|
+
val: number,
|
|
2857
|
+
/**
|
|
2858
|
+
* lower bound
|
|
2859
|
+
*/
|
|
2860
|
+
min: number,
|
|
2861
|
+
/**
|
|
2862
|
+
* upper bound
|
|
2863
|
+
*/
|
|
2864
|
+
max: number
|
|
2865
|
+
): number;
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2844
2868
|
declare module "sap/base/util/deepClone" {
|
|
2845
2869
|
/**
|
|
2846
2870
|
* Creates a deep clone of the source value.
|
|
@@ -19154,7 +19178,8 @@ declare module "sap/ui/core/Component" {
|
|
|
19154
19178
|
*
|
|
19155
19179
|
* @since 1.56.0
|
|
19156
19180
|
*
|
|
19157
|
-
* @returns A Promise that resolves with the newly created component instance
|
|
19181
|
+
* @returns A Promise that resolves with the newly created component instance, or rejects with an error
|
|
19182
|
+
* if the component could not be created
|
|
19158
19183
|
*/
|
|
19159
19184
|
static create(
|
|
19160
19185
|
/**
|
|
@@ -28976,7 +29001,12 @@ declare module "sap/ui/core/Element" {
|
|
|
28976
29001
|
*
|
|
28977
29002
|
* @returns reference to the instance itself
|
|
28978
29003
|
*/
|
|
28979
|
-
unbindElement(
|
|
29004
|
+
unbindElement(
|
|
29005
|
+
/**
|
|
29006
|
+
* Name of the model to remove the context for.
|
|
29007
|
+
*/
|
|
29008
|
+
sModelName?: string
|
|
29009
|
+
): ManagedObject;
|
|
28980
29010
|
}
|
|
28981
29011
|
/**
|
|
28982
29012
|
* The structure of the "metadata" object which is passed when inheriting from sap.ui.core.Element using
|
|
@@ -42803,8 +42833,8 @@ declare module "sap/ui/core/routing/Route" {
|
|
|
42803
42833
|
* browser is product/settings and no arguments will be passed to the events of the route.
|
|
42804
42834
|
*
|
|
42805
42835
|
* - mandatory parameters: "pattern" : "product/{id}" - {id} is a mandatory parameter, e. g. the following
|
|
42806
|
-
* hashes would match: product/5, product/3. The
|
|
42807
|
-
* arguments.The hash product/ will not match.
|
|
42836
|
+
* hashes would match: product/5, product/3. The patternMatched event will get 5 or 3 passed as id in its
|
|
42837
|
+
* arguments. The hash product/ will not match.
|
|
42808
42838
|
*
|
|
42809
42839
|
* - optional parameters: "pattern" : "product/{id}/detail/:detailId:" - :detailId: is an optional parameter,
|
|
42810
42840
|
* e. g. the following hashes would match: product/5/detail, product/3/detail/2
|
|
@@ -44160,7 +44190,7 @@ declare module "sap/ui/core/routing/Router" {
|
|
|
44160
44190
|
* The parent route - if a parent route is given, the `routeMatched` event of this route will also trigger
|
|
44161
44191
|
* the `routeMatched` of the parent and it will also create the view of the parent (if provided).
|
|
44162
44192
|
*/
|
|
44163
|
-
oParent
|
|
44193
|
+
oParent?: Route
|
|
44164
44194
|
): void;
|
|
44165
44195
|
/**
|
|
44166
44196
|
* Attaches event handler `fnFunction` to the {@link #event:beforeRouteMatched beforeRouteMatched} event
|
|
@@ -53217,7 +53247,7 @@ declare module "sap/ui/core/ws/SapPcpWebSocket" {
|
|
|
53217
53247
|
/**
|
|
53218
53248
|
* array of protocols as strings, a single protocol as a string. Protocol(s) should be selected from {@link sap.ui.core.ws.SapPcpWebSocket.SUPPORTED_PROTOCOLS}.
|
|
53219
53249
|
*/
|
|
53220
|
-
|
|
53250
|
+
vProtocols?: string | string[]
|
|
53221
53251
|
);
|
|
53222
53252
|
/**
|
|
53223
53253
|
* Protocol versions.
|
|
@@ -53290,7 +53320,7 @@ declare module "sap/ui/core/ws/SapPcpWebSocket" {
|
|
|
53290
53320
|
/**
|
|
53291
53321
|
* additional pcp-fields as key-value map
|
|
53292
53322
|
*/
|
|
53293
|
-
oPcpFields?:
|
|
53323
|
+
oPcpFields?: Record<string, any>
|
|
53294
53324
|
): this;
|
|
53295
53325
|
}
|
|
53296
53326
|
/**
|
|
@@ -53316,7 +53346,7 @@ declare module "sap/ui/core/ws/SapPcpWebSocket" {
|
|
|
53316
53346
|
/**
|
|
53317
53347
|
* Received pcpFields as a key-value map.
|
|
53318
53348
|
*/
|
|
53319
|
-
pcpFields?: string
|
|
53349
|
+
pcpFields?: Record<string, string>;
|
|
53320
53350
|
}
|
|
53321
53351
|
|
|
53322
53352
|
/**
|
|
@@ -53354,7 +53384,7 @@ declare module "sap/ui/core/ws/WebSocket" {
|
|
|
53354
53384
|
/**
|
|
53355
53385
|
* array of protocols as strings, a single protocol as a string
|
|
53356
53386
|
*/
|
|
53357
|
-
|
|
53387
|
+
vProtocols?: string | string[]
|
|
53358
53388
|
);
|
|
53359
53389
|
|
|
53360
53390
|
/**
|
|
@@ -61147,9 +61177,16 @@ declare module "sap/ui/model/json/JSONModel" {
|
|
|
61147
61177
|
}
|
|
61148
61178
|
|
|
61149
61179
|
declare module "sap/ui/model/json/TypedJSONModel" {
|
|
61180
|
+
import Message from "sap/ui/core/message/Message";
|
|
61181
|
+
import ClientContextBinding from "sap/ui/model/ClientContextBinding";
|
|
61182
|
+
import Context from "sap/ui/model/Context";
|
|
61183
|
+
import Filter from "sap/ui/model/Filter";
|
|
61184
|
+
import Sorter from "sap/ui/model/Sorter";
|
|
61150
61185
|
import JSONModel from "sap/ui/model/json/JSONModel";
|
|
61186
|
+
import JSONListBinding from "sap/ui/model/json/JSONListBinding";
|
|
61187
|
+
import JSONPropertyBinding from "sap/ui/model/json/JSONPropertyBinding";
|
|
61188
|
+
import JSONTreeBinding from "sap/ui/model/json/JSONTreeBinding";
|
|
61151
61189
|
import TypedJSONContext from "sap/ui/model/json/TypedJSONContext";
|
|
61152
|
-
import Context from "sap/ui/model/Context";
|
|
61153
61190
|
|
|
61154
61191
|
/**
|
|
61155
61192
|
* TypedJSONModel is a subclass of JSONModel that provides type-safe access to the model data. It is only available when using UI5 with TypeScript.
|
|
@@ -61166,7 +61203,76 @@ declare module "sap/ui/model/json/TypedJSONModel" {
|
|
|
61166
61203
|
fnCallBack?: Function,
|
|
61167
61204
|
bReload?: boolean
|
|
61168
61205
|
): TypedJSONContext<Data, Path>;
|
|
61206
|
+
|
|
61207
|
+
bindContext<Path extends AbsoluteObjectBindingPath<Data>>(
|
|
61208
|
+
sPath: Path,
|
|
61209
|
+
oContext?: undefined,
|
|
61210
|
+
mParameters?: object
|
|
61211
|
+
): ClientContextBinding;
|
|
61212
|
+
bindContext<
|
|
61213
|
+
Path extends RelativeObjectBindingPath<Data, Root>,
|
|
61214
|
+
Root extends AbsoluteObjectBindingPath<Data>,
|
|
61215
|
+
>(
|
|
61216
|
+
sPath: Path,
|
|
61217
|
+
oContext: TypedJSONContext<Data, Root>,
|
|
61218
|
+
mParameters?: object
|
|
61219
|
+
): ClientContextBinding;
|
|
61220
|
+
|
|
61221
|
+
bindList<Path extends AbsoluteListBindingPath<Data>>(
|
|
61222
|
+
sPath: Path,
|
|
61223
|
+
oContext?: undefined,
|
|
61224
|
+
aSorters?: Sorter | Sorter[],
|
|
61225
|
+
aFilters?: Filter | Filter[],
|
|
61226
|
+
mParameters?: object
|
|
61227
|
+
): JSONListBinding;
|
|
61228
|
+
bindList<
|
|
61229
|
+
Path extends RelativeListBindingPath<Data, Root>,
|
|
61230
|
+
Root extends AbsoluteBindingPath<Data>,
|
|
61231
|
+
>(
|
|
61232
|
+
sPath: Path,
|
|
61233
|
+
oContext: TypedJSONContext<Data, Root>,
|
|
61234
|
+
aSorters?: Sorter | Sorter[],
|
|
61235
|
+
aFilters?: Filter | Filter[],
|
|
61236
|
+
mParameters?: object
|
|
61237
|
+
): JSONListBinding;
|
|
61238
|
+
|
|
61239
|
+
bindProperty<Path extends AbsoluteBindingPath<Data>>(
|
|
61240
|
+
sPath: Path,
|
|
61241
|
+
oContext?: undefined,
|
|
61242
|
+
mParameters?: object
|
|
61243
|
+
): JSONPropertyBinding;
|
|
61244
|
+
bindProperty<
|
|
61245
|
+
Path extends RelativeBindingPath<Data, Root>,
|
|
61246
|
+
Root extends AbsoluteBindingPath<Data>,
|
|
61247
|
+
>(
|
|
61248
|
+
sPath: Path,
|
|
61249
|
+
oContext: TypedJSONContext<Data, Root>,
|
|
61250
|
+
mParameters?: object
|
|
61251
|
+
): JSONPropertyBinding;
|
|
61252
|
+
|
|
61253
|
+
bindTree<Path extends AbsoluteTreeBindingPath<Data>>(
|
|
61254
|
+
sPath: Path,
|
|
61255
|
+
oContext?: undefined,
|
|
61256
|
+
aFilters?: Filter | Filter[],
|
|
61257
|
+
mParameters?: object,
|
|
61258
|
+
aSorters?: Sorter | Sorter[]
|
|
61259
|
+
): JSONTreeBinding;
|
|
61260
|
+
bindTree<
|
|
61261
|
+
Path extends RelativeTreeBindingPath<Data, Root>,
|
|
61262
|
+
Root extends AbsoluteBindingPath<Data>,
|
|
61263
|
+
>(
|
|
61264
|
+
sPath: Path,
|
|
61265
|
+
oContext: TypedJSONContext<Data, Root>,
|
|
61266
|
+
aFilters?: Filter | Filter[],
|
|
61267
|
+
mParameters?: object,
|
|
61268
|
+
aSorters?: Sorter | Sorter[]
|
|
61269
|
+
): JSONTreeBinding;
|
|
61270
|
+
|
|
61169
61271
|
getData(): Data;
|
|
61272
|
+
getMessagesByPath<Path extends AbsoluteBindingPath<Data>>(
|
|
61273
|
+
sPath: Path,
|
|
61274
|
+
bPrefixMatch?: boolean
|
|
61275
|
+
): Message[];
|
|
61170
61276
|
getProperty<Path extends AbsoluteBindingPath<Data>>(
|
|
61171
61277
|
sPath: Path
|
|
61172
61278
|
): PropertyByAbsoluteBindingPath<Data, Path>;
|
|
@@ -61230,6 +61336,65 @@ declare module "sap/ui/model/json/TypedJSONModel" {
|
|
|
61230
61336
|
: // if T is not of type object:
|
|
61231
61337
|
never;
|
|
61232
61338
|
|
|
61339
|
+
/**
|
|
61340
|
+
* Valid absolute binding path for underlying `Array` types.
|
|
61341
|
+
*
|
|
61342
|
+
* @example
|
|
61343
|
+
* type SalesOrder = { id: string, items: string[] };
|
|
61344
|
+
* type PathInObject = PathInJSONModel<SalesOrder>; // "/id" | "/items"
|
|
61345
|
+
* let path: PathInObject = "/items"; // ok
|
|
61346
|
+
* path = "/id"; // error
|
|
61347
|
+
* path = "/items/0"; // error, since an element in the array is a string
|
|
61348
|
+
*/
|
|
61349
|
+
export type AbsoluteListBindingPath<Type> = {
|
|
61350
|
+
[Path in AbsoluteBindingPath<Type>]: PropertyByAbsoluteBindingPath<
|
|
61351
|
+
Type,
|
|
61352
|
+
Path
|
|
61353
|
+
> extends Array<unknown>
|
|
61354
|
+
? Path
|
|
61355
|
+
: never;
|
|
61356
|
+
}[AbsoluteBindingPath<Type>];
|
|
61357
|
+
|
|
61358
|
+
/**
|
|
61359
|
+
* Valid absolute binding path for underlying `Array` or `object` types.
|
|
61360
|
+
*
|
|
61361
|
+
* @example
|
|
61362
|
+
* type SalesOrder = { id: string, items: string[], parameters: { weight: number } };
|
|
61363
|
+
* type PathInObject = PathInJSONModel<SalesOrder>; // "/id" | "/items" | "/parameters"
|
|
61364
|
+
* let path: PathInObject = "/items"; // ok
|
|
61365
|
+
* path = "/parameters"; // ok
|
|
61366
|
+
* path = "/id"; // error
|
|
61367
|
+
* path = "/items/0"; // error, since an element in the array is a string
|
|
61368
|
+
*/
|
|
61369
|
+
export type AbsoluteTreeBindingPath<Type> = {
|
|
61370
|
+
[Path in AbsoluteBindingPath<Type>]: PropertyByAbsoluteBindingPath<
|
|
61371
|
+
Type,
|
|
61372
|
+
Path
|
|
61373
|
+
> extends Array<unknown>
|
|
61374
|
+
? Path
|
|
61375
|
+
: PropertyByAbsoluteBindingPath<Type, Path> extends object
|
|
61376
|
+
? Path
|
|
61377
|
+
: never;
|
|
61378
|
+
}[AbsoluteBindingPath<Type>];
|
|
61379
|
+
|
|
61380
|
+
/**
|
|
61381
|
+
* Valid absolute binding path for underlying object types (excludes arrays and primitives).
|
|
61382
|
+
*
|
|
61383
|
+
* @example
|
|
61384
|
+
* type Order = { customer: { address: { city: string } }, items: string[], total: number };
|
|
61385
|
+
* type ObjectPaths = AbsoluteObjectBindingPath<Order>; // "/customer" | "/customer/address"
|
|
61386
|
+
*/
|
|
61387
|
+
export type AbsoluteObjectBindingPath<Type> = {
|
|
61388
|
+
[Path in AbsoluteBindingPath<Type>]: PropertyByAbsoluteBindingPath<
|
|
61389
|
+
Type,
|
|
61390
|
+
Path
|
|
61391
|
+
> extends Array<unknown>
|
|
61392
|
+
? never
|
|
61393
|
+
: PropertyByAbsoluteBindingPath<Type, Path> extends object
|
|
61394
|
+
? Path
|
|
61395
|
+
: never;
|
|
61396
|
+
}[AbsoluteBindingPath<Type>];
|
|
61397
|
+
|
|
61233
61398
|
/**
|
|
61234
61399
|
* Valid relative binding path in a JSONModel.
|
|
61235
61400
|
* The root of the path is defined by the given root string.
|
|
@@ -61246,6 +61411,76 @@ declare module "sap/ui/model/json/TypedJSONModel" {
|
|
|
61246
61411
|
? Rest
|
|
61247
61412
|
: never;
|
|
61248
61413
|
|
|
61414
|
+
/**
|
|
61415
|
+
* Valid relative binding path for underlying `Array` types.
|
|
61416
|
+
* The root of the path is defined by the given root string.
|
|
61417
|
+
*
|
|
61418
|
+
* @example
|
|
61419
|
+
* type SalesOrder = { buyer: { id: string, items: string[] } };
|
|
61420
|
+
* type PathRelativeToSalesOrder = RelativeListBindingPath<SalesOrderWrapper, "/buyer">; // "id" | "items"
|
|
61421
|
+
*/
|
|
61422
|
+
export type RelativeListBindingPath<
|
|
61423
|
+
Type,
|
|
61424
|
+
Root extends AbsoluteBindingPath<Type>,
|
|
61425
|
+
> = {
|
|
61426
|
+
[Path in RelativeBindingPath<Type, Root>]: PropertyByRelativeBindingPath<
|
|
61427
|
+
Type,
|
|
61428
|
+
Root,
|
|
61429
|
+
Path
|
|
61430
|
+
> extends Array<unknown>
|
|
61431
|
+
? Path
|
|
61432
|
+
: never;
|
|
61433
|
+
}[RelativeBindingPath<Type, Root>];
|
|
61434
|
+
|
|
61435
|
+
/**
|
|
61436
|
+
* Valid relative binding path for underlying `Array` or `object` types.
|
|
61437
|
+
* The root of the path is defined by the given root string.
|
|
61438
|
+
*
|
|
61439
|
+
* @example
|
|
61440
|
+
* type SalesOrder = { buyer: { id: string, items: string[], parameters: { weight: number } } };
|
|
61441
|
+
* type PathRelativeToSalesOrder = RelativeTreeBindingPath<SalesOrderWrapper, "/buyer">; // "items" | "parameters"
|
|
61442
|
+
*/
|
|
61443
|
+
export type RelativeTreeBindingPath<
|
|
61444
|
+
Type,
|
|
61445
|
+
Root extends AbsoluteBindingPath<Type>,
|
|
61446
|
+
> = {
|
|
61447
|
+
[Path in RelativeBindingPath<Type, Root>]: PropertyByRelativeBindingPath<
|
|
61448
|
+
Type,
|
|
61449
|
+
Root,
|
|
61450
|
+
Path
|
|
61451
|
+
> extends Array<unknown>
|
|
61452
|
+
? Path
|
|
61453
|
+
: PropertyByRelativeBindingPath<Type, Root, Path> extends object
|
|
61454
|
+
? Path
|
|
61455
|
+
: never;
|
|
61456
|
+
}[RelativeBindingPath<Type, Root>];
|
|
61457
|
+
|
|
61458
|
+
/**
|
|
61459
|
+
* Valid relative binding path for underlying object types (excludes arrays and primitives).
|
|
61460
|
+
* The root of the path is defined by the given root string.
|
|
61461
|
+
*
|
|
61462
|
+
* @example
|
|
61463
|
+
* type SalesOrder = { buyer: { id: string, name: string }, items: string[] };
|
|
61464
|
+
* type PathRelativeToSalesOrder = RelativeObjectBindingPath<SalesOrder, "/buyer">; // never (no nested objects)
|
|
61465
|
+
*
|
|
61466
|
+
* type Order = { customer: { address: { city: string } }, total: number };
|
|
61467
|
+
* type PathInOrder = RelativeObjectBindingPath<Order, "/">; // "customer" | "customer/address"
|
|
61468
|
+
*/
|
|
61469
|
+
export type RelativeObjectBindingPath<
|
|
61470
|
+
Type,
|
|
61471
|
+
Root extends AbsoluteBindingPath<Type>,
|
|
61472
|
+
> = {
|
|
61473
|
+
[Path in RelativeBindingPath<Type, Root>]: PropertyByRelativeBindingPath<
|
|
61474
|
+
Type,
|
|
61475
|
+
Root,
|
|
61476
|
+
Path
|
|
61477
|
+
> extends Array<unknown>
|
|
61478
|
+
? never
|
|
61479
|
+
: PropertyByRelativeBindingPath<Type, Root, Path> extends object
|
|
61480
|
+
? Path
|
|
61481
|
+
: never;
|
|
61482
|
+
}[RelativeBindingPath<Type, Root>];
|
|
61483
|
+
|
|
61249
61484
|
/**
|
|
61250
61485
|
* The type of a property in a JSONModel identified by the given path.
|
|
61251
61486
|
* Counterpart to {@link AbsoluteBindingPath}.
|
|
@@ -61449,6 +61684,16 @@ declare module "sap/ui/model/json/JSONPropertyBinding" {
|
|
|
61449
61684
|
* @returns Metadata object describing this class
|
|
61450
61685
|
*/
|
|
61451
61686
|
static getMetadata(): Metadata;
|
|
61687
|
+
/**
|
|
61688
|
+
* Sets the value for this `JSONPropertyBinding` if the binding is not suspended. If a new value is set,
|
|
61689
|
+
* an {@link sap.ui.model.Model#propertyChange} event is fired with change reason {@link sap.ui.model.ChangeReason.Binding Binding}.
|
|
61690
|
+
*/
|
|
61691
|
+
setValue(
|
|
61692
|
+
/**
|
|
61693
|
+
* The value to set for this binding
|
|
61694
|
+
*/
|
|
61695
|
+
vValue: any
|
|
61696
|
+
): void;
|
|
61452
61697
|
}
|
|
61453
61698
|
}
|
|
61454
61699
|
|
|
@@ -61610,10 +61855,9 @@ declare module "sap/ui/model/ListBinding" {
|
|
|
61610
61855
|
*/
|
|
61611
61856
|
vFilter?: Filter[] | Filter,
|
|
61612
61857
|
/**
|
|
61613
|
-
* The type of the application filters to replace
|
|
61858
|
+
* The type of the application filters to replace, see {@link sap.ui.model.FilterType}
|
|
61614
61859
|
*/
|
|
61615
|
-
sFilterType?:
|
|
61616
|
-
any | /* was: sap.ui.model.FilterType.ApplicationBound */ any
|
|
61860
|
+
sFilterType?: "Application" | "ApplicationBound"
|
|
61617
61861
|
): Filter[] | Filter | undefined;
|
|
61618
61862
|
/**
|
|
61619
61863
|
* Detaches event handler `fnFunction` from the {@link #event:filter filter} event of this `sap.ui.model.ListBinding`.
|
|
@@ -74080,9 +74324,10 @@ declare module "sap/ui/model/odata/v4/Context" {
|
|
|
74080
74324
|
*
|
|
74081
74325
|
* @returns A promise which is resolved without a defined result in case of success, or rejected with an
|
|
74082
74326
|
* instance of `Error` in case of failure, for example if the annotation belongs to the read-only namespace
|
|
74083
|
-
* "@$ui5.*"
|
|
74084
|
-
*
|
|
74085
|
-
*
|
|
74327
|
+
* "@$ui5.*", or if `sGroupId` is `null` and the outdated flag at the header context would be set or the
|
|
74328
|
+
* grand total would be affected. With `bRetry` it is only rejected with an `Error` instance where `oError.canceled
|
|
74329
|
+
* === true` when the entity has been deleted while the request was pending or the property has been reset
|
|
74330
|
+
* via the methods
|
|
74086
74331
|
* {@link sap.ui.model.odata.v4.ODataModel#resetChanges} {@link sap.ui.model.odata.v4.ODataContextBinding#resetChanges }
|
|
74087
74332
|
* or {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges}.
|
|
74088
74333
|
*/
|
|
@@ -80320,10 +80565,9 @@ declare module "sap/ui/model/TreeBinding" {
|
|
|
80320
80565
|
*/
|
|
80321
80566
|
vFilter?: Filter[] | Filter,
|
|
80322
80567
|
/**
|
|
80323
|
-
* The type of the application filters to replace
|
|
80568
|
+
* The type of the application filters to replace, see {@link sap.ui.model.FilterType}
|
|
80324
80569
|
*/
|
|
80325
|
-
sFilterType?:
|
|
80326
|
-
any | /* was: sap.ui.model.FilterType.ApplicationBound */ any
|
|
80570
|
+
sFilterType?: "Application" | "ApplicationBound"
|
|
80327
80571
|
): Filter[] | Filter | undefined;
|
|
80328
80572
|
/**
|
|
80329
80573
|
* Detaches event handler `fnFunction` from the {@link #event:_filter _filter} event of this `sap.ui.model.TreeBinding`.
|
package/types/sap.ui.export.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.148.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/export/library" {
|
|
4
4
|
import ListBinding from "sap/ui/model/ListBinding";
|
|
@@ -1040,6 +1040,153 @@ declare module "sap/ui/export/Spreadsheet" {
|
|
|
1040
1040
|
>;
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
|
+
declare module "sap/ui/export/TableExportSettings" {
|
|
1044
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
1045
|
+
|
|
1046
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1047
|
+
|
|
1048
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* Defines default values shown in the export dialog of a table control, for example {@link sap.ui.mdc.Table }
|
|
1052
|
+
* or {@link sap.ui.comp.smarttable.SmartTable}.
|
|
1053
|
+
*
|
|
1054
|
+
* **Note:** These values are defaults shown to the user. The user can still modify them before export.
|
|
1055
|
+
* If the user modifies a value in the dialog, the user choice takes precedence and is not overridden by
|
|
1056
|
+
* event handlers.
|
|
1057
|
+
*
|
|
1058
|
+
* @since 1.148
|
|
1059
|
+
*/
|
|
1060
|
+
export default class TableExportSettings extends UI5Element {
|
|
1061
|
+
/**
|
|
1062
|
+
* Constructor for a new TableExportSettings.
|
|
1063
|
+
*
|
|
1064
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
1065
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
1066
|
+
* of the syntax of the settings object.
|
|
1067
|
+
*/
|
|
1068
|
+
constructor(
|
|
1069
|
+
/**
|
|
1070
|
+
* Initial settings for the new element
|
|
1071
|
+
*/
|
|
1072
|
+
mSettings?: $TableExportSettingsSettings
|
|
1073
|
+
);
|
|
1074
|
+
/**
|
|
1075
|
+
* Constructor for a new TableExportSettings.
|
|
1076
|
+
*
|
|
1077
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
1078
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
1079
|
+
* of the syntax of the settings object.
|
|
1080
|
+
*/
|
|
1081
|
+
constructor(
|
|
1082
|
+
/**
|
|
1083
|
+
* Optional ID for the new object; generated automatically if no non-empty ID is given
|
|
1084
|
+
*/
|
|
1085
|
+
sId?: string,
|
|
1086
|
+
/**
|
|
1087
|
+
* Initial settings for the new element
|
|
1088
|
+
*/
|
|
1089
|
+
mSettings?: $TableExportSettingsSettings
|
|
1090
|
+
);
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Creates a new subclass of class sap.ui.export.TableExportSettings with name `sClassName` and enriches
|
|
1094
|
+
* it with the information contained in `oClassInfo`.
|
|
1095
|
+
*
|
|
1096
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
1097
|
+
*
|
|
1098
|
+
*
|
|
1099
|
+
* @returns Created class / constructor function
|
|
1100
|
+
*/
|
|
1101
|
+
static extend<T extends Record<string, unknown>>(
|
|
1102
|
+
/**
|
|
1103
|
+
* Name of the class being created
|
|
1104
|
+
*/
|
|
1105
|
+
sClassName: string,
|
|
1106
|
+
/**
|
|
1107
|
+
* Object literal with information about the class
|
|
1108
|
+
*/
|
|
1109
|
+
oClassInfo?: sap.ClassInfo<T, TableExportSettings>,
|
|
1110
|
+
/**
|
|
1111
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1112
|
+
* used by this class
|
|
1113
|
+
*/
|
|
1114
|
+
FNMetaImpl?: Function
|
|
1115
|
+
): Function;
|
|
1116
|
+
/**
|
|
1117
|
+
* Returns a metadata object for class sap.ui.export.TableExportSettings.
|
|
1118
|
+
*
|
|
1119
|
+
*
|
|
1120
|
+
* @returns Metadata object describing this class
|
|
1121
|
+
*/
|
|
1122
|
+
static getMetadata(): ElementMetadata;
|
|
1123
|
+
/**
|
|
1124
|
+
* Gets current value of property {@link #getFileName fileName}.
|
|
1125
|
+
*
|
|
1126
|
+
* The default file name shown in the export dialog.
|
|
1127
|
+
*
|
|
1128
|
+
* If not specified, the table header is used as the file name.
|
|
1129
|
+
*
|
|
1130
|
+
* File Name Restrictions: The following characters are not allowed in the file name: `\ / : | ? " * <
|
|
1131
|
+
* >`
|
|
1132
|
+
*
|
|
1133
|
+
* The file name must not exceed 256 characters. A warning is shown if it exceeds 100 characters, as long
|
|
1134
|
+
* file names may prevent the spreadsheet from opening correctly.
|
|
1135
|
+
*
|
|
1136
|
+
* The proper file extension is appended automatically based on the selected file type if not already present.
|
|
1137
|
+
*
|
|
1138
|
+
*
|
|
1139
|
+
* @returns Value of property `fileName`
|
|
1140
|
+
*/
|
|
1141
|
+
getFileName(): string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Sets a new value for property {@link #getFileName fileName}.
|
|
1144
|
+
*
|
|
1145
|
+
* The default file name shown in the export dialog.
|
|
1146
|
+
*
|
|
1147
|
+
* If not specified, the table header is used as the file name.
|
|
1148
|
+
*
|
|
1149
|
+
* File Name Restrictions: The following characters are not allowed in the file name: `\ / : | ? " * <
|
|
1150
|
+
* >`
|
|
1151
|
+
*
|
|
1152
|
+
* The file name must not exceed 256 characters. A warning is shown if it exceeds 100 characters, as long
|
|
1153
|
+
* file names may prevent the spreadsheet from opening correctly.
|
|
1154
|
+
*
|
|
1155
|
+
* The proper file extension is appended automatically based on the selected file type if not already present.
|
|
1156
|
+
*
|
|
1157
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1158
|
+
*
|
|
1159
|
+
*
|
|
1160
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1161
|
+
*/
|
|
1162
|
+
setFileName(
|
|
1163
|
+
/**
|
|
1164
|
+
* New value for property `fileName`
|
|
1165
|
+
*/
|
|
1166
|
+
sFileName: string
|
|
1167
|
+
): this;
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* Describes the settings that can be provided to the TableExportSettings constructor.
|
|
1171
|
+
*/
|
|
1172
|
+
export interface $TableExportSettingsSettings extends $ElementSettings {
|
|
1173
|
+
/**
|
|
1174
|
+
* The default file name shown in the export dialog.
|
|
1175
|
+
*
|
|
1176
|
+
* If not specified, the table header is used as the file name.
|
|
1177
|
+
*
|
|
1178
|
+
* File Name Restrictions: The following characters are not allowed in the file name: `\ / : | ? " * <
|
|
1179
|
+
* >`
|
|
1180
|
+
*
|
|
1181
|
+
* The file name must not exceed 256 characters. A warning is shown if it exceeds 100 characters, as long
|
|
1182
|
+
* file names may prevent the spreadsheet from opening correctly.
|
|
1183
|
+
*
|
|
1184
|
+
* The proper file extension is appended automatically based on the selected file type if not already present.
|
|
1185
|
+
*/
|
|
1186
|
+
fileName?: string | PropertyBindingInfo;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1043
1190
|
declare module "sap/ui/export/util/Filter" {
|
|
1044
1191
|
import BaseObject from "sap/ui/base/Object";
|
|
1045
1192
|
|
|
@@ -1216,6 +1363,8 @@ declare namespace sap {
|
|
|
1216
1363
|
|
|
1217
1364
|
"sap/ui/export/Spreadsheet": undefined;
|
|
1218
1365
|
|
|
1366
|
+
"sap/ui/export/TableExportSettings": undefined;
|
|
1367
|
+
|
|
1219
1368
|
"sap/ui/export/util/Filter": undefined;
|
|
1220
1369
|
}
|
|
1221
1370
|
}
|
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.148.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
5
5
|
declare module "sap/ui/fl/apply/api/ControlVariantApplyAPI" {
|
|
6
6
|
import ManagedObject from "sap/ui/base/ManagedObject";
|
|
7
7
|
|
|
8
|
+
import Control from "sap/ui/core/Control";
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* Provides an API for applications to work with control variants. See also {@link sap.ui.fl.variants.VariantManagement}.
|
|
10
12
|
*
|
|
@@ -106,6 +108,28 @@ declare module "sap/ui/fl/apply/api/ControlVariantApplyAPI" {
|
|
|
106
108
|
vmControlId: string;
|
|
107
109
|
}
|
|
108
110
|
): void;
|
|
111
|
+
/**
|
|
112
|
+
* Returns the current variant reference for a given variant management reference and control.
|
|
113
|
+
*
|
|
114
|
+
* @since 1.148
|
|
115
|
+
*
|
|
116
|
+
* @returns Current variant reference
|
|
117
|
+
*/
|
|
118
|
+
getCurrentVariantReference(
|
|
119
|
+
/**
|
|
120
|
+
* Object with parameters as properties
|
|
121
|
+
*/
|
|
122
|
+
mPropertyBag: {
|
|
123
|
+
/**
|
|
124
|
+
* Variant management reference
|
|
125
|
+
*/
|
|
126
|
+
vmReference: string;
|
|
127
|
+
/**
|
|
128
|
+
* Control for the reference determination
|
|
129
|
+
*/
|
|
130
|
+
control: Control;
|
|
131
|
+
}
|
|
132
|
+
): string;
|
|
109
133
|
}
|
|
110
134
|
const ControlVariantApplyAPI: ControlVariantApplyAPI;
|
|
111
135
|
export default ControlVariantApplyAPI;
|
package/types/sap.ui.geomap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.148.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -1458,6 +1458,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1458
1458
|
* - If neither the manifest URL nor the base URL is defined, relative resources will not load correctly.
|
|
1459
1459
|
*
|
|
1460
1460
|
*
|
|
1461
|
+
* @since 1.70
|
|
1461
1462
|
*
|
|
1462
1463
|
* @returns Value of property `baseUrl`
|
|
1463
1464
|
*/
|
|
@@ -1893,6 +1894,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1893
1894
|
*
|
|
1894
1895
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1895
1896
|
*
|
|
1897
|
+
* @since 1.70
|
|
1896
1898
|
*
|
|
1897
1899
|
* @returns Reference to `this` in order to allow method chaining
|
|
1898
1900
|
*/
|
|
@@ -2635,6 +2637,9 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2635
2637
|
* URL.
|
|
2636
2638
|
* - If both the manifest URL and the base URL are defined, the base URL is used.
|
|
2637
2639
|
* - If neither the manifest URL nor the base URL is defined, relative resources will not load correctly.
|
|
2640
|
+
*
|
|
2641
|
+
*
|
|
2642
|
+
* @since 1.70
|
|
2638
2643
|
*/
|
|
2639
2644
|
baseUrl?: URI | PropertyBindingInfo | `{${string}}`;
|
|
2640
2645
|
|
|
@@ -4846,8 +4851,6 @@ declare namespace sap {
|
|
|
4846
4851
|
|
|
4847
4852
|
"sap/ui/integration/library": undefined;
|
|
4848
4853
|
|
|
4849
|
-
"sap/ui/integration/services/Service": undefined;
|
|
4850
|
-
|
|
4851
4854
|
"sap/ui/integration/util/CsrfTokenHandler": undefined;
|
|
4852
4855
|
|
|
4853
4856
|
"sap/ui/integration/util/DataProvider": undefined;
|