@openui5/ts-types-esm 1.92.0 → 1.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/package.json +1 -1
- package/types/sap.f.d.ts +897 -482
- package/types/sap.m.d.ts +5672 -4629
- package/types/sap.tnt.d.ts +159 -128
- package/types/sap.ui.codeeditor.d.ts +56 -58
- package/types/sap.ui.commons.d.ts +1386 -1386
- package/types/sap.ui.core.d.ts +4395 -4210
- package/types/sap.ui.dt.d.ts +2 -4
- package/types/sap.ui.fl.d.ts +33 -31
- package/types/sap.ui.integration.d.ts +329 -126
- package/types/sap.ui.layout.d.ts +582 -575
- package/types/sap.ui.mdc.d.ts +35 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +53 -53
- package/types/sap.ui.support.d.ts +6 -12
- package/types/sap.ui.table.d.ts +254 -249
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +976 -710
- package/types/sap.ui.ux3.d.ts +785 -793
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1952 -767
- package/types/sap.ui.webc.main.d.ts +7518 -6031
- package/types/sap.uxap.d.ts +393 -231
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.95.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -164,6 +164,31 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
164
164
|
mSettings?: $ActionDefinitionSettings
|
|
165
165
|
);
|
|
166
166
|
|
|
167
|
+
/**
|
|
168
|
+
* Creates a new subclass of class sap.ui.integration.ActionDefinition with name `sClassName` and enriches
|
|
169
|
+
* it with the information contained in `oClassInfo`.
|
|
170
|
+
*
|
|
171
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
172
|
+
*/
|
|
173
|
+
static extend<T extends Record<string, unknown>>(
|
|
174
|
+
/**
|
|
175
|
+
* Name of the class being created
|
|
176
|
+
*/
|
|
177
|
+
sClassName: string,
|
|
178
|
+
/**
|
|
179
|
+
* Object literal with information about the class
|
|
180
|
+
*/
|
|
181
|
+
oClassInfo?: sap.ClassInfo<T, ActionDefinition>,
|
|
182
|
+
/**
|
|
183
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
184
|
+
* used by this class
|
|
185
|
+
*/
|
|
186
|
+
FNMetaImpl?: Function
|
|
187
|
+
): Function;
|
|
188
|
+
/**
|
|
189
|
+
* Returns a metadata object for class sap.ui.integration.ActionDefinition.
|
|
190
|
+
*/
|
|
191
|
+
static getMetadata(): ElementMetadata;
|
|
167
192
|
/**
|
|
168
193
|
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.integration.ActionDefinition`.
|
|
169
194
|
*
|
|
@@ -222,27 +247,6 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
222
247
|
*/
|
|
223
248
|
oListener?: object
|
|
224
249
|
): this;
|
|
225
|
-
/**
|
|
226
|
-
* Creates a new subclass of class sap.ui.integration.ActionDefinition with name `sClassName` and enriches
|
|
227
|
-
* it with the information contained in `oClassInfo`.
|
|
228
|
-
*
|
|
229
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
230
|
-
*/
|
|
231
|
-
static extend<T extends Record<string, unknown>>(
|
|
232
|
-
/**
|
|
233
|
-
* Name of the class being created
|
|
234
|
-
*/
|
|
235
|
-
sClassName: string,
|
|
236
|
-
/**
|
|
237
|
-
* Object literal with information about the class
|
|
238
|
-
*/
|
|
239
|
-
oClassInfo?: sap.ClassInfo<T, ActionDefinition>,
|
|
240
|
-
/**
|
|
241
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
242
|
-
* used by this class
|
|
243
|
-
*/
|
|
244
|
-
FNMetaImpl?: Function
|
|
245
|
-
): Function;
|
|
246
250
|
/**
|
|
247
251
|
* Fires event {@link #event:press press} to attached listeners.
|
|
248
252
|
*/
|
|
@@ -275,10 +279,6 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
275
279
|
* The icon of the action button.
|
|
276
280
|
*/
|
|
277
281
|
getIcon(): URI;
|
|
278
|
-
/**
|
|
279
|
-
* Returns a metadata object for class sap.ui.integration.ActionDefinition.
|
|
280
|
-
*/
|
|
281
|
-
static getMetadata(): ElementMetadata;
|
|
282
282
|
/**
|
|
283
283
|
* Gets current value of property {@link #getParameters parameters}.
|
|
284
284
|
*
|
|
@@ -449,7 +449,7 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
449
449
|
/**
|
|
450
450
|
* Fired when the action button is pressed.
|
|
451
451
|
*/
|
|
452
|
-
press?:
|
|
452
|
+
press?: (oEvent: Event) => void;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -529,14 +529,14 @@ declare module "sap/ui/integration/Designtime" {
|
|
|
529
529
|
*/
|
|
530
530
|
FNMetaImpl?: Function
|
|
531
531
|
): Function;
|
|
532
|
-
/**
|
|
533
|
-
* Returns an interface to the card, which uses this extension.
|
|
534
|
-
*/
|
|
535
|
-
getCard(): CardFacade;
|
|
536
532
|
/**
|
|
537
533
|
* Returns a metadata object for class sap.ui.integration.Designtime.
|
|
538
534
|
*/
|
|
539
535
|
static getMetadata(): ManagedObjectMetadata;
|
|
536
|
+
/**
|
|
537
|
+
* Returns an interface to the card, which uses this extension.
|
|
538
|
+
*/
|
|
539
|
+
getCard(): CardFacade;
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
export interface $DesigntimeSettings extends $ManagedObjectSettings {}
|
|
@@ -815,6 +815,163 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/NotABinding"
|
|
|
815
815
|
export default NotABinding;
|
|
816
816
|
}
|
|
817
817
|
|
|
818
|
+
declare module "sap/ui/integration/editor/Editor" {
|
|
819
|
+
/**
|
|
820
|
+
* @EXPERIMENTAL (since 1.94)
|
|
821
|
+
*
|
|
822
|
+
* Facade of the {@link sap.ui.integration.editor.Editor} control.
|
|
823
|
+
*/
|
|
824
|
+
export interface EditorFacade {
|
|
825
|
+
__implements__sap_ui_integration_editor_EditorFacade: boolean;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* @EXPERIMENTAL (since 1.94)
|
|
829
|
+
*
|
|
830
|
+
* Performs an HTTP request using the given configuration.
|
|
831
|
+
*/
|
|
832
|
+
request(
|
|
833
|
+
/**
|
|
834
|
+
* The configuration of the request.
|
|
835
|
+
*/
|
|
836
|
+
oConfiguration: {
|
|
837
|
+
/**
|
|
838
|
+
* The URL of the resource.
|
|
839
|
+
*/
|
|
840
|
+
URL: string;
|
|
841
|
+
/**
|
|
842
|
+
* The mode of the request. Possible values are "cors", "no-cors", "same-origin".
|
|
843
|
+
*/
|
|
844
|
+
mode?: string;
|
|
845
|
+
/**
|
|
846
|
+
* The HTTP method. Possible values are "GET", "POST".
|
|
847
|
+
*/
|
|
848
|
+
method?: string;
|
|
849
|
+
/**
|
|
850
|
+
* The request parameters. If the method is "POST" the parameters will be put as key/value pairs into the
|
|
851
|
+
* body of the request.
|
|
852
|
+
*/
|
|
853
|
+
parameters?: Object;
|
|
854
|
+
/**
|
|
855
|
+
* The expected Content-Type of the response. Possible values are "xml", "json", "text", "script", "html",
|
|
856
|
+
* "jsonp". Note: Complex Binding is not supported when a dataType is provided. Serialization of the response
|
|
857
|
+
* to an object is up to the developer.
|
|
858
|
+
*/
|
|
859
|
+
dataType?: Object;
|
|
860
|
+
/**
|
|
861
|
+
* The HTTP headers of the request.
|
|
862
|
+
*/
|
|
863
|
+
headers?: Object;
|
|
864
|
+
/**
|
|
865
|
+
* Indicates whether cross-site requests should be made using credentials.
|
|
866
|
+
*/
|
|
867
|
+
withCredentials?: boolean;
|
|
868
|
+
}
|
|
869
|
+
): Promise<any>;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare module "sap/ui/integration/editor/Extension" {
|
|
874
|
+
import {
|
|
875
|
+
default as ManagedObject,
|
|
876
|
+
$ManagedObjectSettings,
|
|
877
|
+
PropertyBindingInfo,
|
|
878
|
+
} from "sap/ui/base/ManagedObject";
|
|
879
|
+
|
|
880
|
+
import { CardFacade } from "sap/ui/integration/widgets/Card";
|
|
881
|
+
|
|
882
|
+
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* @SINCE 1.94
|
|
886
|
+
*
|
|
887
|
+
* Brings JavaScript capabilities for an {@link sap.ui.integration.editor.Editor} where custom logic can
|
|
888
|
+
* be implemented.
|
|
889
|
+
*/
|
|
890
|
+
export default class Extension extends ManagedObject {
|
|
891
|
+
/**
|
|
892
|
+
* Constructor for a new `Extension`.
|
|
893
|
+
*
|
|
894
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
895
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
896
|
+
* of the syntax of the settings object.
|
|
897
|
+
*/
|
|
898
|
+
constructor(
|
|
899
|
+
/**
|
|
900
|
+
* Initial settings for the new extension.
|
|
901
|
+
*/
|
|
902
|
+
mSettings?: $ExtensionSettings
|
|
903
|
+
);
|
|
904
|
+
/**
|
|
905
|
+
* Constructor for a new `Extension`.
|
|
906
|
+
*
|
|
907
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
908
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
909
|
+
* of the syntax of the settings object.
|
|
910
|
+
*/
|
|
911
|
+
constructor(
|
|
912
|
+
/**
|
|
913
|
+
* ID for the new extension, generated automatically if no ID is given.
|
|
914
|
+
*/
|
|
915
|
+
sId?: string,
|
|
916
|
+
/**
|
|
917
|
+
* Initial settings for the new extension.
|
|
918
|
+
*/
|
|
919
|
+
mSettings?: $ExtensionSettings
|
|
920
|
+
);
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Creates a new subclass of class sap.ui.integration.editor.Extension with name `sClassName` and enriches
|
|
924
|
+
* it with the information contained in `oClassInfo`.
|
|
925
|
+
*
|
|
926
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
927
|
+
*/
|
|
928
|
+
static extend<T extends Record<string, unknown>>(
|
|
929
|
+
/**
|
|
930
|
+
* Name of the class being created
|
|
931
|
+
*/
|
|
932
|
+
sClassName: string,
|
|
933
|
+
/**
|
|
934
|
+
* Object literal with information about the class
|
|
935
|
+
*/
|
|
936
|
+
oClassInfo?: sap.ClassInfo<T, Extension>,
|
|
937
|
+
/**
|
|
938
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
939
|
+
* used by this class
|
|
940
|
+
*/
|
|
941
|
+
FNMetaImpl?: Function
|
|
942
|
+
): Function;
|
|
943
|
+
/**
|
|
944
|
+
* Returns a metadata object for class sap.ui.integration.editor.Extension.
|
|
945
|
+
*/
|
|
946
|
+
static getMetadata(): ManagedObjectMetadata;
|
|
947
|
+
/**
|
|
948
|
+
* Returns an interface to the editor, which uses this extension.
|
|
949
|
+
*/
|
|
950
|
+
getEditor(): CardFacade;
|
|
951
|
+
/**
|
|
952
|
+
* @EXPERIMENTAL (since 1.94)
|
|
953
|
+
*
|
|
954
|
+
* Gets current value of property {@link #getFormatters formatters}.
|
|
955
|
+
*
|
|
956
|
+
* The formatters, which can be used in the manifest.
|
|
957
|
+
*/
|
|
958
|
+
getFormatters(): object;
|
|
959
|
+
/**
|
|
960
|
+
* Called when the editor is ready.
|
|
961
|
+
*/
|
|
962
|
+
onEditorReady(): void;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export interface $ExtensionSettings extends $ManagedObjectSettings {
|
|
966
|
+
/**
|
|
967
|
+
* @EXPERIMENTAL (since 1.94)
|
|
968
|
+
*
|
|
969
|
+
* The formatters, which can be used in the manifest.
|
|
970
|
+
*/
|
|
971
|
+
formatters?: object | PropertyBindingInfo;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
818
975
|
declare module "sap/ui/integration/Extension" {
|
|
819
976
|
import {
|
|
820
977
|
default as ManagedObject,
|
|
@@ -870,6 +1027,31 @@ declare module "sap/ui/integration/Extension" {
|
|
|
870
1027
|
mSettings?: $ExtensionSettings
|
|
871
1028
|
);
|
|
872
1029
|
|
|
1030
|
+
/**
|
|
1031
|
+
* Creates a new subclass of class sap.ui.integration.Extension with name `sClassName` and enriches it with
|
|
1032
|
+
* the information contained in `oClassInfo`.
|
|
1033
|
+
*
|
|
1034
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
1035
|
+
*/
|
|
1036
|
+
static extend<T extends Record<string, unknown>>(
|
|
1037
|
+
/**
|
|
1038
|
+
* Name of the class being created
|
|
1039
|
+
*/
|
|
1040
|
+
sClassName: string,
|
|
1041
|
+
/**
|
|
1042
|
+
* Object literal with information about the class
|
|
1043
|
+
*/
|
|
1044
|
+
oClassInfo?: sap.ClassInfo<T, Extension>,
|
|
1045
|
+
/**
|
|
1046
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1047
|
+
* used by this class
|
|
1048
|
+
*/
|
|
1049
|
+
FNMetaImpl?: Function
|
|
1050
|
+
): Function;
|
|
1051
|
+
/**
|
|
1052
|
+
* Returns a metadata object for class sap.ui.integration.Extension.
|
|
1053
|
+
*/
|
|
1054
|
+
static getMetadata(): ManagedObjectMetadata;
|
|
873
1055
|
/**
|
|
874
1056
|
* @EXPERIMENTAL (since 1.75)
|
|
875
1057
|
*
|
|
@@ -932,27 +1114,6 @@ declare module "sap/ui/integration/Extension" {
|
|
|
932
1114
|
*/
|
|
933
1115
|
oListener?: object
|
|
934
1116
|
): this;
|
|
935
|
-
/**
|
|
936
|
-
* Creates a new subclass of class sap.ui.integration.Extension with name `sClassName` and enriches it with
|
|
937
|
-
* the information contained in `oClassInfo`.
|
|
938
|
-
*
|
|
939
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
940
|
-
*/
|
|
941
|
-
static extend<T extends Record<string, unknown>>(
|
|
942
|
-
/**
|
|
943
|
-
* Name of the class being created
|
|
944
|
-
*/
|
|
945
|
-
sClassName: string,
|
|
946
|
-
/**
|
|
947
|
-
* Object literal with information about the class
|
|
948
|
-
*/
|
|
949
|
-
oClassInfo?: sap.ClassInfo<T, Extension>,
|
|
950
|
-
/**
|
|
951
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
952
|
-
* used by this class
|
|
953
|
-
*/
|
|
954
|
-
FNMetaImpl?: Function
|
|
955
|
-
): Function;
|
|
956
1117
|
/**
|
|
957
1118
|
* @EXPERIMENTAL (since 1.75)
|
|
958
1119
|
*
|
|
@@ -1009,10 +1170,6 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1009
1170
|
* The formatters, which can be used in the manifest.
|
|
1010
1171
|
*/
|
|
1011
1172
|
getFormatters(): object;
|
|
1012
|
-
/**
|
|
1013
|
-
* Returns a metadata object for class sap.ui.integration.Extension.
|
|
1014
|
-
*/
|
|
1015
|
-
static getMetadata(): ManagedObjectMetadata;
|
|
1016
1173
|
/**
|
|
1017
1174
|
* Called when the card is ready.
|
|
1018
1175
|
*/
|
|
@@ -1040,7 +1197,7 @@ declare module "sap/ui/integration/Extension" {
|
|
|
1040
1197
|
*
|
|
1041
1198
|
* Fired when an action is triggered in the card.
|
|
1042
1199
|
*/
|
|
1043
|
-
action?:
|
|
1200
|
+
action?: (oEvent: Event) => void;
|
|
1044
1201
|
}
|
|
1045
1202
|
}
|
|
1046
1203
|
|
|
@@ -1097,6 +1254,31 @@ declare module "sap/ui/integration/Host" {
|
|
|
1097
1254
|
mSettings?: $HostSettings
|
|
1098
1255
|
);
|
|
1099
1256
|
|
|
1257
|
+
/**
|
|
1258
|
+
* Creates a new subclass of class sap.ui.integration.Host with name `sClassName` and enriches it with the
|
|
1259
|
+
* information contained in `oClassInfo`.
|
|
1260
|
+
*
|
|
1261
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
1262
|
+
*/
|
|
1263
|
+
static extend<T extends Record<string, unknown>>(
|
|
1264
|
+
/**
|
|
1265
|
+
* Name of the class being created
|
|
1266
|
+
*/
|
|
1267
|
+
sClassName: string,
|
|
1268
|
+
/**
|
|
1269
|
+
* Object literal with information about the class
|
|
1270
|
+
*/
|
|
1271
|
+
oClassInfo?: sap.ClassInfo<T, Host>,
|
|
1272
|
+
/**
|
|
1273
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1274
|
+
* used by this class
|
|
1275
|
+
*/
|
|
1276
|
+
FNMetaImpl?: Function
|
|
1277
|
+
): Function;
|
|
1278
|
+
/**
|
|
1279
|
+
* Returns a metadata object for class sap.ui.integration.Host.
|
|
1280
|
+
*/
|
|
1281
|
+
static getMetadata(): ElementMetadata;
|
|
1100
1282
|
/**
|
|
1101
1283
|
* @EXPERIMENTAL (since 1.75)
|
|
1102
1284
|
*
|
|
@@ -1221,27 +1403,6 @@ declare module "sap/ui/integration/Host" {
|
|
|
1221
1403
|
*/
|
|
1222
1404
|
oListener?: object
|
|
1223
1405
|
): this;
|
|
1224
|
-
/**
|
|
1225
|
-
* Creates a new subclass of class sap.ui.integration.Host with name `sClassName` and enriches it with the
|
|
1226
|
-
* information contained in `oClassInfo`.
|
|
1227
|
-
*
|
|
1228
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
1229
|
-
*/
|
|
1230
|
-
static extend<T extends Record<string, unknown>>(
|
|
1231
|
-
/**
|
|
1232
|
-
* Name of the class being created
|
|
1233
|
-
*/
|
|
1234
|
-
sClassName: string,
|
|
1235
|
-
/**
|
|
1236
|
-
* Object literal with information about the class
|
|
1237
|
-
*/
|
|
1238
|
-
oClassInfo?: sap.ClassInfo<T, Host>,
|
|
1239
|
-
/**
|
|
1240
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1241
|
-
* used by this class
|
|
1242
|
-
*/
|
|
1243
|
-
FNMetaImpl?: Function
|
|
1244
|
-
): Function;
|
|
1245
1406
|
/**
|
|
1246
1407
|
* @EXPERIMENTAL (since 1.75)
|
|
1247
1408
|
*
|
|
@@ -1348,10 +1509,6 @@ declare module "sap/ui/integration/Host" {
|
|
|
1348
1509
|
* that contain at least the name. { "name": "DestinationName" }
|
|
1349
1510
|
*/
|
|
1350
1511
|
getDestinations(): Promise<any>;
|
|
1351
|
-
/**
|
|
1352
|
-
* Returns a metadata object for class sap.ui.integration.Host.
|
|
1353
|
-
*/
|
|
1354
|
-
static getMetadata(): ElementMetadata;
|
|
1355
1512
|
/**
|
|
1356
1513
|
* Gets current value of property {@link #getResolveDestination resolveDestination}.
|
|
1357
1514
|
*
|
|
@@ -1430,14 +1587,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
1430
1587
|
*
|
|
1431
1588
|
* Fired when an action is triggered.
|
|
1432
1589
|
*/
|
|
1433
|
-
action?:
|
|
1590
|
+
action?: (oEvent: Event) => void;
|
|
1434
1591
|
|
|
1435
1592
|
/**
|
|
1436
1593
|
* @EXPERIMENTAL (since 1.91)
|
|
1437
1594
|
*
|
|
1438
1595
|
* Fired when a message from channels like navigator.serviceWorker is received.
|
|
1439
1596
|
*/
|
|
1440
|
-
message?:
|
|
1597
|
+
message?: (oEvent: Event) => void;
|
|
1441
1598
|
}
|
|
1442
1599
|
}
|
|
1443
1600
|
|
|
@@ -1547,6 +1704,31 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1547
1704
|
mSettings?: $CardSettings
|
|
1548
1705
|
);
|
|
1549
1706
|
|
|
1707
|
+
/**
|
|
1708
|
+
* Creates a new subclass of class sap.ui.integration.widgets.Card with name `sClassName` and enriches it
|
|
1709
|
+
* with the information contained in `oClassInfo`.
|
|
1710
|
+
*
|
|
1711
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.f.CardBase.extend}.
|
|
1712
|
+
*/
|
|
1713
|
+
static extend<T extends Record<string, unknown>>(
|
|
1714
|
+
/**
|
|
1715
|
+
* Name of the class being created
|
|
1716
|
+
*/
|
|
1717
|
+
sClassName: string,
|
|
1718
|
+
/**
|
|
1719
|
+
* Object literal with information about the class
|
|
1720
|
+
*/
|
|
1721
|
+
oClassInfo?: sap.ClassInfo<T, Card>,
|
|
1722
|
+
/**
|
|
1723
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1724
|
+
* used by this class
|
|
1725
|
+
*/
|
|
1726
|
+
FNMetaImpl?: Function
|
|
1727
|
+
): Function;
|
|
1728
|
+
/**
|
|
1729
|
+
* Returns a metadata object for class sap.ui.integration.widgets.Card.
|
|
1730
|
+
*/
|
|
1731
|
+
static getMetadata(): ElementMetadata;
|
|
1550
1732
|
/**
|
|
1551
1733
|
* @SINCE 1.85
|
|
1552
1734
|
* @EXPERIMENTAL (since 1.85)
|
|
@@ -1756,27 +1938,6 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1756
1938
|
*/
|
|
1757
1939
|
oListener?: object
|
|
1758
1940
|
): this;
|
|
1759
|
-
/**
|
|
1760
|
-
* Creates a new subclass of class sap.ui.integration.widgets.Card with name `sClassName` and enriches it
|
|
1761
|
-
* with the information contained in `oClassInfo`.
|
|
1762
|
-
*
|
|
1763
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.f.CardBase.extend}.
|
|
1764
|
-
*/
|
|
1765
|
-
static extend<T extends Record<string, unknown>>(
|
|
1766
|
-
/**
|
|
1767
|
-
* Name of the class being created
|
|
1768
|
-
*/
|
|
1769
|
-
sClassName: string,
|
|
1770
|
-
/**
|
|
1771
|
-
* Object literal with information about the class
|
|
1772
|
-
*/
|
|
1773
|
-
oClassInfo?: sap.ClassInfo<T, Card>,
|
|
1774
|
-
/**
|
|
1775
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
1776
|
-
* used by this class
|
|
1777
|
-
*/
|
|
1778
|
-
FNMetaImpl?: Function
|
|
1779
|
-
): Function;
|
|
1780
1941
|
/**
|
|
1781
1942
|
* @EXPERIMENTAL (since 1.64)
|
|
1782
1943
|
*
|
|
@@ -1939,10 +2100,6 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1939
2100
|
*/
|
|
1940
2101
|
sPath: string
|
|
1941
2102
|
): Object;
|
|
1942
|
-
/**
|
|
1943
|
-
* Returns a metadata object for class sap.ui.integration.widgets.Card.
|
|
1944
|
-
*/
|
|
1945
|
-
static getMetadata(): ElementMetadata;
|
|
1946
2103
|
/**
|
|
1947
2104
|
* @EXPERIMENTAL (since 1.83)
|
|
1948
2105
|
*
|
|
@@ -2030,6 +2187,12 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2030
2187
|
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
2031
2188
|
*/
|
|
2032
2189
|
refresh(): void;
|
|
2190
|
+
/**
|
|
2191
|
+
* @SINCE 1.95
|
|
2192
|
+
*
|
|
2193
|
+
* Refreshes the card data by triggering all data requests.
|
|
2194
|
+
*/
|
|
2195
|
+
refreshData(): void;
|
|
2033
2196
|
/**
|
|
2034
2197
|
* @SINCE 1.85
|
|
2035
2198
|
* @EXPERIMENTAL (since 1.85)
|
|
@@ -2094,6 +2257,15 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2094
2257
|
withCredentials?: boolean;
|
|
2095
2258
|
}
|
|
2096
2259
|
): Promise<any>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Resolves the destination and returns its URL.
|
|
2262
|
+
*/
|
|
2263
|
+
resolveDestination(
|
|
2264
|
+
/**
|
|
2265
|
+
* The destination's key used in the configuration.
|
|
2266
|
+
*/
|
|
2267
|
+
sKey: string
|
|
2268
|
+
): Promise<any>;
|
|
2097
2269
|
/**
|
|
2098
2270
|
* @SINCE 1.70
|
|
2099
2271
|
* @EXPERIMENTAL (since 1.70)
|
|
@@ -2375,6 +2547,18 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2375
2547
|
*/
|
|
2376
2548
|
iIndex: int
|
|
2377
2549
|
): this;
|
|
2550
|
+
/**
|
|
2551
|
+
* @EXPERIMENTAL (since 1.65)
|
|
2552
|
+
*
|
|
2553
|
+
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
2554
|
+
*/
|
|
2555
|
+
refresh(): void;
|
|
2556
|
+
/**
|
|
2557
|
+
* @SINCE 1.95
|
|
2558
|
+
*
|
|
2559
|
+
* Refreshes the card data by triggering all data requests.
|
|
2560
|
+
*/
|
|
2561
|
+
refreshData(): void;
|
|
2378
2562
|
/**
|
|
2379
2563
|
* @SINCE 1.85
|
|
2380
2564
|
* @EXPERIMENTAL (since 1.85)
|
|
@@ -2430,6 +2614,15 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2430
2614
|
withCredentials?: boolean;
|
|
2431
2615
|
}
|
|
2432
2616
|
): Promise<any>;
|
|
2617
|
+
/**
|
|
2618
|
+
* Resolves the destination and returns its URL.
|
|
2619
|
+
*/
|
|
2620
|
+
resolveDestination(
|
|
2621
|
+
/**
|
|
2622
|
+
* The destination's key used in the configuration.
|
|
2623
|
+
*/
|
|
2624
|
+
sKey: string
|
|
2625
|
+
): Promise<any>;
|
|
2433
2626
|
/**
|
|
2434
2627
|
* Displays the loading placeholders on the whole card, or a particular area of the card. **Note:** Only
|
|
2435
2628
|
* areas that contain binding will receive a loading placeholder.
|
|
@@ -2572,14 +2765,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2572
2765
|
*
|
|
2573
2766
|
* Fired when an action is triggered on the card.
|
|
2574
2767
|
*/
|
|
2575
|
-
action?:
|
|
2768
|
+
action?: (oEvent: Event) => void;
|
|
2576
2769
|
|
|
2577
2770
|
/**
|
|
2578
2771
|
* @EXPERIMENTAL (since 1.72)
|
|
2579
2772
|
*
|
|
2580
2773
|
* Fired when the manifest is loaded.
|
|
2581
2774
|
*/
|
|
2582
|
-
manifestReady?:
|
|
2775
|
+
manifestReady?: (oEvent: Event) => void;
|
|
2583
2776
|
|
|
2584
2777
|
/**
|
|
2585
2778
|
* Fired when card utilities (like `DataProviderFactory`) and the card elements (like header) are created
|
|
@@ -2587,7 +2780,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2587
2780
|
*
|
|
2588
2781
|
* Note: The card's content may not be available yet because it may depend on other resources to load.
|
|
2589
2782
|
*/
|
|
2590
|
-
manifestApplied?:
|
|
2783
|
+
manifestApplied?: (oEvent: Event) => void;
|
|
2591
2784
|
}
|
|
2592
2785
|
}
|
|
2593
2786
|
|
|
@@ -2714,33 +2907,37 @@ declare namespace sap {
|
|
|
2714
2907
|
|
|
2715
2908
|
"sap/ui/integration/designtime/editor/CardPreview": undefined;
|
|
2716
2909
|
|
|
2717
|
-
"sap/ui/integration/
|
|
2910
|
+
"sap/ui/integration/editor/Editor": undefined;
|
|
2718
2911
|
|
|
2719
|
-
"sap/ui/integration/
|
|
2912
|
+
"sap/ui/integration/editor/EditorResourceBundles": undefined;
|
|
2720
2913
|
|
|
2721
|
-
"sap/ui/integration/
|
|
2914
|
+
"sap/ui/integration/editor/Extension": undefined;
|
|
2722
2915
|
|
|
2723
|
-
"sap/ui/integration/
|
|
2916
|
+
"sap/ui/integration/editor/fields/BaseField": undefined;
|
|
2724
2917
|
|
|
2725
|
-
"sap/ui/integration/
|
|
2918
|
+
"sap/ui/integration/editor/fields/BooleanField": undefined;
|
|
2726
2919
|
|
|
2727
|
-
"sap/ui/integration/
|
|
2920
|
+
"sap/ui/integration/editor/fields/DateField": undefined;
|
|
2728
2921
|
|
|
2729
|
-
"sap/ui/integration/
|
|
2922
|
+
"sap/ui/integration/editor/fields/DateTimeField": undefined;
|
|
2730
2923
|
|
|
2731
|
-
"sap/ui/integration/
|
|
2924
|
+
"sap/ui/integration/editor/fields/DestinationField": undefined;
|
|
2732
2925
|
|
|
2733
|
-
"sap/ui/integration/
|
|
2926
|
+
"sap/ui/integration/editor/fields/IntegerField": undefined;
|
|
2734
2927
|
|
|
2735
|
-
"sap/ui/integration/
|
|
2928
|
+
"sap/ui/integration/editor/fields/ListField": undefined;
|
|
2736
2929
|
|
|
2737
|
-
"sap/ui/integration/
|
|
2930
|
+
"sap/ui/integration/editor/fields/NumberField": undefined;
|
|
2738
2931
|
|
|
2739
|
-
"sap/ui/integration/
|
|
2932
|
+
"sap/ui/integration/editor/fields/StringField": undefined;
|
|
2740
2933
|
|
|
2741
|
-
"sap/ui/integration/
|
|
2934
|
+
"sap/ui/integration/editor/fields/viz/ColorSelect": undefined;
|
|
2742
2935
|
|
|
2743
|
-
"sap/ui/integration/
|
|
2936
|
+
"sap/ui/integration/editor/fields/viz/IconSelect": undefined;
|
|
2937
|
+
|
|
2938
|
+
"sap/ui/integration/editor/fields/viz/ShapeSelect": undefined;
|
|
2939
|
+
|
|
2940
|
+
"sap/ui/integration/editor/Settings": undefined;
|
|
2744
2941
|
|
|
2745
2942
|
"sap/ui/integration/Extension": undefined;
|
|
2746
2943
|
|
|
@@ -2750,6 +2947,12 @@ declare namespace sap {
|
|
|
2750
2947
|
|
|
2751
2948
|
"sap/ui/integration/services/Service": undefined;
|
|
2752
2949
|
|
|
2950
|
+
"sap/ui/integration/util/DataProvider": undefined;
|
|
2951
|
+
|
|
2952
|
+
"sap/ui/integration/util/DataProviderFactory": undefined;
|
|
2953
|
+
|
|
2954
|
+
"sap/ui/integration/util/RequestDataProvider": undefined;
|
|
2955
|
+
|
|
2753
2956
|
"sap/ui/integration/widgets/Card": undefined;
|
|
2754
2957
|
}
|
|
2755
2958
|
}
|