@sapui5/types 1.117.1 → 1.118.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +0 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +416 -2
- package/types/sap.fe.core.d.ts +47 -48
- package/types/sap.fe.macros.d.ts +70 -10
- package/types/sap.fe.navigation.d.ts +109 -4
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +9 -5
- 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 +1 -1
- package/types/sap.insights.d.ts +20 -2
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +214 -90
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1426 -209
- package/types/sap.suite.ui.commons.d.ts +77 -23
- package/types/sap.suite.ui.generic.template.d.ts +64 -107
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +150 -20
- package/types/sap.ui.core.d.ts +1026 -192
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +7 -1
- package/types/sap.ui.fl.d.ts +51 -4
- package/types/sap.ui.generic.app.d.ts +3 -3
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +68 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +423 -141
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -4
- 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 +180 -39
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -20
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +38 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +76 -35
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +116 -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
- package/types/sap.fe.plugins.optimisticBatch.d.ts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.118.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
4
4
|
/**
|
|
@@ -13416,25 +13416,25 @@ declare module "sap/suite/ui/commons/imageeditor/ImageEditor" {
|
|
|
13416
13416
|
*/
|
|
13417
13417
|
getHistory(): HistoryItem[];
|
|
13418
13418
|
/**
|
|
13419
|
-
* Returns
|
|
13420
|
-
* the original format of the image is used or PNG
|
|
13421
|
-
*
|
|
13419
|
+
* Returns the blob object containing the image in a specified format. If the original format is not supported
|
|
13420
|
+
* by the browser's `canvas.toDataURL` method, either the original format of the image is used or a PNG
|
|
13421
|
+
* is used.
|
|
13422
13422
|
*
|
|
13423
|
-
* @returns Promise that resolves into the
|
|
13423
|
+
* @returns Promise that resolves into the blob object
|
|
13424
13424
|
*/
|
|
13425
13425
|
getImageAsBlob(
|
|
13426
13426
|
/**
|
|
13427
|
-
* File format of the returned image
|
|
13427
|
+
* File format of the returned image blob. If the selected format is not supported by the browser's `canvas.toDataURL`
|
|
13428
13428
|
* method, PNG is returned instead.
|
|
13429
13429
|
*/
|
|
13430
13430
|
sFormat?: ImageFormat | keyof typeof ImageFormat,
|
|
13431
13431
|
/**
|
|
13432
|
-
* Only applied when JPEG format is used. Quality of the returned image, ranging from 0 to 1. 0
|
|
13433
|
-
* compressed image
|
|
13434
|
-
* is used.
|
|
13432
|
+
* Only applied when JPEG format is used. Quality of the returned image, ranging from 0 to 1. 0 implies
|
|
13433
|
+
* highly compressed image and 1 implies uncompressed image. When no value is provided, canvas default compression
|
|
13434
|
+
* level is used.
|
|
13435
13435
|
*/
|
|
13436
13436
|
fQuality?: float
|
|
13437
|
-
): Promise<
|
|
13437
|
+
): Promise<Blob>;
|
|
13438
13438
|
/**
|
|
13439
13439
|
* Returns Base64 Data URL of the image in the specified format. If the format is not specified, either
|
|
13440
13440
|
* the original format of the image is used or PNG, if the original format is not supported by the browser's
|
|
@@ -13551,6 +13551,19 @@ declare module "sap/suite/ui/commons/imageeditor/ImageEditor" {
|
|
|
13551
13551
|
* @returns Value of property `src`
|
|
13552
13552
|
*/
|
|
13553
13553
|
getSrc(): any;
|
|
13554
|
+
/**
|
|
13555
|
+
* @since 1.118.0
|
|
13556
|
+
*
|
|
13557
|
+
* Gets current value of property {@link #getUseExifOrientation useExifOrientation}.
|
|
13558
|
+
*
|
|
13559
|
+
* Defines the behaviour where if the property is set to true, the images are displayed as per the exif
|
|
13560
|
+
* orientation
|
|
13561
|
+
*
|
|
13562
|
+
* Default value is `false`.
|
|
13563
|
+
*
|
|
13564
|
+
* @returns Value of property `useExifOrientation`
|
|
13565
|
+
*/
|
|
13566
|
+
getUseExifOrientation(): boolean;
|
|
13554
13567
|
/**
|
|
13555
13568
|
* Gets the width of the image.
|
|
13556
13569
|
*
|
|
@@ -13915,6 +13928,26 @@ declare module "sap/suite/ui/commons/imageeditor/ImageEditor" {
|
|
|
13915
13928
|
*/
|
|
13916
13929
|
oSrc?: any
|
|
13917
13930
|
): this;
|
|
13931
|
+
/**
|
|
13932
|
+
* @since 1.118.0
|
|
13933
|
+
*
|
|
13934
|
+
* Sets a new value for property {@link #getUseExifOrientation useExifOrientation}.
|
|
13935
|
+
*
|
|
13936
|
+
* Defines the behaviour where if the property is set to true, the images are displayed as per the exif
|
|
13937
|
+
* orientation
|
|
13938
|
+
*
|
|
13939
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
13940
|
+
*
|
|
13941
|
+
* Default value is `false`.
|
|
13942
|
+
*
|
|
13943
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13944
|
+
*/
|
|
13945
|
+
setUseExifOrientation(
|
|
13946
|
+
/**
|
|
13947
|
+
* New value for property `useExifOrientation`
|
|
13948
|
+
*/
|
|
13949
|
+
bUseExifOrientation?: boolean
|
|
13950
|
+
): this;
|
|
13918
13951
|
/**
|
|
13919
13952
|
* Sets the width of the image in pixels.
|
|
13920
13953
|
* If the property `keepResizeAspectRatio` is set to `true`, changes the current image height as well (even
|
|
@@ -14057,6 +14090,14 @@ declare module "sap/suite/ui/commons/imageeditor/ImageEditor" {
|
|
|
14057
14090
|
*/
|
|
14058
14091
|
scaleCropArea?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
14059
14092
|
|
|
14093
|
+
/**
|
|
14094
|
+
* @since 1.118.0
|
|
14095
|
+
*
|
|
14096
|
+
* Defines the behaviour where if the property is set to true, the images are displayed as per the exif
|
|
14097
|
+
* orientation
|
|
14098
|
+
*/
|
|
14099
|
+
useExifOrientation?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
14100
|
+
|
|
14060
14101
|
/**
|
|
14061
14102
|
* This event is fired after the image specified in the `src` property is successfully loaded.
|
|
14062
14103
|
*/
|
|
@@ -22184,7 +22225,7 @@ declare module "sap/suite/ui/commons/networkgraph/layout/LayoutTask" {
|
|
|
22184
22225
|
/**
|
|
22185
22226
|
* @since 1.50
|
|
22186
22227
|
*
|
|
22187
|
-
* A layout task is a wrapper around Promise
|
|
22228
|
+
* A layout task is a wrapper around Promise that allows the caller to terminate the task. A terminated
|
|
22188
22229
|
* layout task should not modify the graph associated with it.
|
|
22189
22230
|
*/
|
|
22190
22231
|
export default class LayoutTask extends BaseObject {
|
|
@@ -22193,9 +22234,9 @@ declare module "sap/suite/ui/commons/networkgraph/layout/LayoutTask" {
|
|
|
22193
22234
|
*/
|
|
22194
22235
|
constructor(
|
|
22195
22236
|
/**
|
|
22196
|
-
* A function to be called from Promise main body.
|
|
22237
|
+
* A function to be called from Promise main body.
|
|
22197
22238
|
*/
|
|
22198
|
-
fnPromiseCallback: Function
|
|
22239
|
+
fnPromiseCallback: (p1: Function, p2: Function, p3: LayoutTask) => void
|
|
22199
22240
|
);
|
|
22200
22241
|
|
|
22201
22242
|
/**
|
|
@@ -24025,7 +24066,7 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
24025
24066
|
/**
|
|
24026
24067
|
* icon to render
|
|
24027
24068
|
*/
|
|
24028
|
-
sIcon:
|
|
24069
|
+
sIcon: string,
|
|
24029
24070
|
/**
|
|
24030
24071
|
* Options passed to the method (optional).
|
|
24031
24072
|
*/
|
|
@@ -24452,7 +24493,20 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
24452
24493
|
/**
|
|
24453
24494
|
* Arguments passed to the method
|
|
24454
24495
|
*/
|
|
24455
|
-
mArguments:
|
|
24496
|
+
mArguments: {
|
|
24497
|
+
/**
|
|
24498
|
+
* The width of the node.
|
|
24499
|
+
*/
|
|
24500
|
+
width?: number;
|
|
24501
|
+
/**
|
|
24502
|
+
* The height of the node.
|
|
24503
|
+
*/
|
|
24504
|
+
height?: number;
|
|
24505
|
+
/**
|
|
24506
|
+
* The height of the title.
|
|
24507
|
+
*/
|
|
24508
|
+
titleHeight?: number;
|
|
24509
|
+
}
|
|
24456
24510
|
): void;
|
|
24457
24511
|
/**
|
|
24458
24512
|
* Sets a new value for property {@link #getStatusIcon statusIcon}.
|
|
@@ -35772,14 +35826,14 @@ declare module "sap/suite/ui/commons/statusindicator/StatusIndicator" {
|
|
|
35772
35826
|
): this;
|
|
35773
35827
|
/**
|
|
35774
35828
|
*
|
|
35775
|
-
* @returns
|
|
35829
|
+
* @returns The StatusIndicator Instance. Sets the status indicator percentage value.
|
|
35776
35830
|
*/
|
|
35777
35831
|
setValue(
|
|
35778
35832
|
/**
|
|
35779
|
-
* Value that should be displayed
|
|
35833
|
+
* Value that should be displayed.Must be a number between 0 and 100.
|
|
35780
35834
|
*/
|
|
35781
|
-
iValue:
|
|
35782
|
-
):
|
|
35835
|
+
iValue: number
|
|
35836
|
+
): StatusIndicator;
|
|
35783
35837
|
/**
|
|
35784
35838
|
* Sets a new value for property {@link #getViewBox viewBox}.
|
|
35785
35839
|
*
|
|
@@ -46855,7 +46909,7 @@ declare module "sap/suite/ui/commons/util/ManagedObjectRegister" {
|
|
|
46855
46909
|
/**
|
|
46856
46910
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
46857
46911
|
*
|
|
46858
|
-
* Registers an object. Registry
|
|
46912
|
+
* Registers an object. Registry automatically create a getter for the object.
|
|
46859
46913
|
*/
|
|
46860
46914
|
register(
|
|
46861
46915
|
/**
|
|
@@ -46863,12 +46917,12 @@ declare module "sap/suite/ui/commons/util/ManagedObjectRegister" {
|
|
|
46863
46917
|
*/
|
|
46864
46918
|
sKey: string,
|
|
46865
46919
|
/**
|
|
46866
|
-
* A managed object to register or a factory function
|
|
46867
|
-
* used for lazy loading of the object. Register
|
|
46920
|
+
* A managed object to register or a factory function that can build the object. Factory function can be
|
|
46921
|
+
* used for lazy loading of the object. Register passes the sKey to the function, so it can be shared for
|
|
46868
46922
|
* more objects.
|
|
46869
46923
|
*/
|
|
46870
46924
|
oFactoryFunction: Function | ManagedObject
|
|
46871
|
-
):
|
|
46925
|
+
): ManagedObject | null;
|
|
46872
46926
|
}
|
|
46873
46927
|
}
|
|
46874
46928
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.118.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/generic/template/library" {
|
|
4
4
|
/**
|
|
@@ -501,6 +501,35 @@ declare module "sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/Ex
|
|
|
501
501
|
*/
|
|
502
502
|
sUiElementId: string
|
|
503
503
|
): Context[];
|
|
504
|
+
/**
|
|
505
|
+
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
506
|
+
*
|
|
507
|
+
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
508
|
+
* returned from {@link sap.ui.generic.app.ApplicationController#invokeActions}
|
|
509
|
+
*/
|
|
510
|
+
invokeActions(
|
|
511
|
+
/**
|
|
512
|
+
* The name of the function or action as expected by {@link sap.ui.model.odata.v2.ODataModel#callFunction}
|
|
513
|
+
*/
|
|
514
|
+
sFunctionName: string,
|
|
515
|
+
/**
|
|
516
|
+
* The binding context(s) the function will be called for. To be omitted if the action is static.
|
|
517
|
+
*/
|
|
518
|
+
vContext?: Context[] | Context,
|
|
519
|
+
/**
|
|
520
|
+
* The URL parameters (name-value pairs) for the function or action. Only needed in special cases.
|
|
521
|
+
*/
|
|
522
|
+
mUrlParameters?: Record<string, any>,
|
|
523
|
+
/**
|
|
524
|
+
* Additional settings
|
|
525
|
+
*/
|
|
526
|
+
oSettings?: {
|
|
527
|
+
/**
|
|
528
|
+
* Determines whether the common or unique changeset gets sent in batch
|
|
529
|
+
*/
|
|
530
|
+
bInvocationGroupingChangeSet?: boolean;
|
|
531
|
+
}
|
|
532
|
+
): Promise<any>;
|
|
504
533
|
/**
|
|
505
534
|
* This method should be called when any custom ui state handled by the getCustomAppStateDataExtension method
|
|
506
535
|
* changes. Note that changes applied to custom filters need not to be propagated this way, since the change
|
|
@@ -742,55 +771,29 @@ declare module "sap/suite/ui/generic/template/Canvas/extensionAPI/ExtensionAPI"
|
|
|
742
771
|
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
743
772
|
*
|
|
744
773
|
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
745
|
-
* returned from {@link sap.ui.generic.app.ApplicationController}
|
|
774
|
+
* returned from {@link sap.ui.generic.app.ApplicationController#invokeActions}
|
|
746
775
|
*/
|
|
747
776
|
invokeActions(
|
|
748
777
|
/**
|
|
749
|
-
* The name of the function or action
|
|
778
|
+
* The name of the function or action as expected by {@link sap.ui.model.odata.v2.ODataModel#callFunction}
|
|
750
779
|
*/
|
|
751
780
|
sFunctionName: string,
|
|
752
781
|
/**
|
|
753
|
-
* The
|
|
754
|
-
*/
|
|
755
|
-
vContext: any[] | Context,
|
|
756
|
-
/**
|
|
757
|
-
* The URL parameters (name-value pairs) for the function or action. This is not in oSettings for backward
|
|
758
|
-
* compatibility
|
|
759
|
-
*/
|
|
760
|
-
mUrlParameters: Record<string, any>,
|
|
761
|
-
/**
|
|
762
|
-
* Parameters that are set for invoking Application controller's invokeActions method
|
|
782
|
+
* The binding context(s) the function will be called for. To be omitted if the action is static.
|
|
763
783
|
*/
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* Determines whether the common or unique changeset gets sent in batch
|
|
767
|
-
*/
|
|
768
|
-
bInvocationGroupingChangeSet: boolean;
|
|
769
|
-
}
|
|
770
|
-
): Promise<any>;
|
|
771
|
-
/**
|
|
772
|
-
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
773
|
-
*
|
|
774
|
-
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
775
|
-
* returned from {@link sap.ui.generic.app.ApplicationController}
|
|
776
|
-
*/
|
|
777
|
-
invokeActions(
|
|
778
|
-
/**
|
|
779
|
-
* The name of the function or action
|
|
780
|
-
*/
|
|
781
|
-
sFunctionName: string,
|
|
784
|
+
vContext?: Context[] | Context,
|
|
782
785
|
/**
|
|
783
|
-
* The
|
|
786
|
+
* The URL parameters (name-value pairs) for the function or action. Only needed in special cases.
|
|
784
787
|
*/
|
|
785
|
-
|
|
788
|
+
mUrlParameters?: Record<string, any>,
|
|
786
789
|
/**
|
|
787
|
-
*
|
|
790
|
+
* Additional settings
|
|
788
791
|
*/
|
|
789
|
-
oSettings
|
|
792
|
+
oSettings?: {
|
|
790
793
|
/**
|
|
791
794
|
* Determines whether the common or unique changeset gets sent in batch
|
|
792
795
|
*/
|
|
793
|
-
bInvocationGroupingChangeSet
|
|
796
|
+
bInvocationGroupingChangeSet?: boolean;
|
|
794
797
|
}
|
|
795
798
|
): Promise<any>;
|
|
796
799
|
/**
|
|
@@ -2131,55 +2134,29 @@ declare module "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionA
|
|
|
2131
2134
|
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
2132
2135
|
*
|
|
2133
2136
|
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
2134
|
-
* returned from {@link sap.ui.generic.app.ApplicationController}
|
|
2137
|
+
* returned from {@link sap.ui.generic.app.ApplicationController#invokeActions}
|
|
2135
2138
|
*/
|
|
2136
2139
|
invokeActions(
|
|
2137
2140
|
/**
|
|
2138
|
-
* The name of the function or action
|
|
2141
|
+
* The name of the function or action as expected by {@link sap.ui.model.odata.v2.ODataModel#callFunction}
|
|
2139
2142
|
*/
|
|
2140
2143
|
sFunctionName: string,
|
|
2141
2144
|
/**
|
|
2142
|
-
* The
|
|
2145
|
+
* The binding context(s) the function will be called for. To be omitted if the action is static.
|
|
2143
2146
|
*/
|
|
2144
|
-
vContext
|
|
2147
|
+
vContext?: Context[] | Context,
|
|
2145
2148
|
/**
|
|
2146
|
-
* The URL parameters (name-value pairs) for the function or action.
|
|
2147
|
-
* compatibility
|
|
2149
|
+
* The URL parameters (name-value pairs) for the function or action. Only needed in special cases.
|
|
2148
2150
|
*/
|
|
2149
|
-
mUrlParameters
|
|
2151
|
+
mUrlParameters?: Record<string, any>,
|
|
2150
2152
|
/**
|
|
2151
|
-
*
|
|
2153
|
+
* Additional settings
|
|
2152
2154
|
*/
|
|
2153
|
-
oSettings
|
|
2155
|
+
oSettings?: {
|
|
2154
2156
|
/**
|
|
2155
2157
|
* Determines whether the common or unique changeset gets sent in batch
|
|
2156
2158
|
*/
|
|
2157
|
-
bInvocationGroupingChangeSet
|
|
2158
|
-
}
|
|
2159
|
-
): Promise<any>;
|
|
2160
|
-
/**
|
|
2161
|
-
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
2162
|
-
*
|
|
2163
|
-
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
2164
|
-
* returned from {@link sap.ui.generic.app.ApplicationController}
|
|
2165
|
-
*/
|
|
2166
|
-
invokeActions(
|
|
2167
|
-
/**
|
|
2168
|
-
* The name of the function or action
|
|
2169
|
-
*/
|
|
2170
|
-
sFunctionName: string,
|
|
2171
|
-
/**
|
|
2172
|
-
* The given binding contexts
|
|
2173
|
-
*/
|
|
2174
|
-
vContext: any[] | Context,
|
|
2175
|
-
/**
|
|
2176
|
-
* Parameters that are set for invoking Application controller's invokeActions method
|
|
2177
|
-
*/
|
|
2178
|
-
oSettings: {
|
|
2179
|
-
/**
|
|
2180
|
-
* Determines whether the common or unique changeset gets sent in batch
|
|
2181
|
-
*/
|
|
2182
|
-
bInvocationGroupingChangeSet: boolean;
|
|
2159
|
+
bInvocationGroupingChangeSet?: boolean;
|
|
2183
2160
|
}
|
|
2184
2161
|
): Promise<any>;
|
|
2185
2162
|
/**
|
|
@@ -3022,55 +2999,29 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionA
|
|
|
3022
2999
|
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
3023
3000
|
*
|
|
3024
3001
|
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
3025
|
-
* returned from {@link sap.ui.generic.app.ApplicationController}
|
|
3002
|
+
* returned from {@link sap.ui.generic.app.ApplicationController#invokeActions}
|
|
3026
3003
|
*/
|
|
3027
3004
|
invokeActions(
|
|
3028
3005
|
/**
|
|
3029
|
-
* The name of the function or action
|
|
3006
|
+
* The name of the function or action as expected by {@link sap.ui.model.odata.v2.ODataModel#callFunction}
|
|
3030
3007
|
*/
|
|
3031
3008
|
sFunctionName: string,
|
|
3032
3009
|
/**
|
|
3033
|
-
* The
|
|
3010
|
+
* The binding context(s) the function will be called for. To be omitted if the action is static.
|
|
3034
3011
|
*/
|
|
3035
|
-
vContext
|
|
3012
|
+
vContext?: Context[] | Context,
|
|
3036
3013
|
/**
|
|
3037
|
-
* The URL parameters (name-value pairs) for the function or action.
|
|
3038
|
-
* compatibility
|
|
3014
|
+
* The URL parameters (name-value pairs) for the function or action. Only needed in special cases.
|
|
3039
3015
|
*/
|
|
3040
|
-
mUrlParameters
|
|
3016
|
+
mUrlParameters?: Record<string, any>,
|
|
3041
3017
|
/**
|
|
3042
|
-
*
|
|
3018
|
+
* Additional settings
|
|
3043
3019
|
*/
|
|
3044
|
-
oSettings
|
|
3020
|
+
oSettings?: {
|
|
3045
3021
|
/**
|
|
3046
3022
|
* Determines whether the common or unique changeset gets sent in batch
|
|
3047
3023
|
*/
|
|
3048
|
-
bInvocationGroupingChangeSet
|
|
3049
|
-
}
|
|
3050
|
-
): Promise<any>;
|
|
3051
|
-
/**
|
|
3052
|
-
* Invokes multiple time the action with the given name and submits changes to the back-end.
|
|
3053
|
-
*
|
|
3054
|
-
* @returns A `Promise` for asynchronous execution of the action, resolving to the same result as the `Promise`
|
|
3055
|
-
* returned from {@link sap.ui.generic.app.ApplicationController}
|
|
3056
|
-
*/
|
|
3057
|
-
invokeActions(
|
|
3058
|
-
/**
|
|
3059
|
-
* The name of the function or action
|
|
3060
|
-
*/
|
|
3061
|
-
sFunctionName: string,
|
|
3062
|
-
/**
|
|
3063
|
-
* The given binding contexts
|
|
3064
|
-
*/
|
|
3065
|
-
vContext: any[] | Context,
|
|
3066
|
-
/**
|
|
3067
|
-
* Parameters that are set for invoking Application controller's invokeActions method
|
|
3068
|
-
*/
|
|
3069
|
-
oSettings: {
|
|
3070
|
-
/**
|
|
3071
|
-
* Determines whether the common or unique changeset gets sent in batch
|
|
3072
|
-
*/
|
|
3073
|
-
bInvocationGroupingChangeSet: boolean;
|
|
3024
|
+
bInvocationGroupingChangeSet?: boolean;
|
|
3074
3025
|
}
|
|
3075
3026
|
): Promise<any>;
|
|
3076
3027
|
/**
|
|
@@ -3335,7 +3286,13 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/NonDraftTr
|
|
|
3335
3286
|
*/
|
|
3336
3287
|
attachAfterSave(
|
|
3337
3288
|
/**
|
|
3338
|
-
* the handler function
|
|
3289
|
+
* the handler function This function will receive an object which contains two properties: `saveEntityPromise`
|
|
3290
|
+
* and `sideEffectsExecutedPromise` which both point to Promises. Both Promises will be rejected in case
|
|
3291
|
+
* the save operation fails in the backend. Otherwise both Promises will be resolved, but at different point
|
|
3292
|
+
* in time. The `saveEntityPromise` will be resolved immediately when the save operation has finished successfully.
|
|
3293
|
+
* The `sideEffectsExecutedPromise` will be resolved as soon as the processing of all side-effects connected
|
|
3294
|
+
* to this action has finished as well. Note that even a side-effect execution which results in an error
|
|
3295
|
+
* would be considered as finished processing here.
|
|
3339
3296
|
*/
|
|
3340
3297
|
fnFunction: Function
|
|
3341
3298
|
): void;
|
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.118.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/codeeditor/library" {}
|
|
4
4
|
|
|
@@ -392,7 +392,10 @@ declare module "sap/ui/codeeditor/CodeEditor" {
|
|
|
392
392
|
/**
|
|
393
393
|
* @since 1.54.1
|
|
394
394
|
*
|
|
395
|
-
* Pretty-prints the content of the editor
|
|
395
|
+
* Pretty-prints the content of the editor.
|
|
396
|
+
*
|
|
397
|
+
* **Note:** Works well only for PHP. For other programming languages, the content might not be formatted
|
|
398
|
+
* well. In such cases it is recommended to use your own formatting.
|
|
396
399
|
*/
|
|
397
400
|
prettyPrint(): void;
|
|
398
401
|
/**
|