@openui5/types 1.115.1 → 1.117.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 +6 -5
- package/package.json +1 -1
- package/types/index.d.ts +9 -3
- package/types/sap.f.d.ts +196 -276
- package/types/sap.m.d.ts +2202 -2899
- package/types/sap.tnt.d.ts +64 -29
- package/types/sap.ui.codeeditor.d.ts +11 -17
- package/types/sap.ui.commons.d.ts +278 -422
- package/types/sap.ui.core.d.ts +1160 -1090
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +24 -74
- package/types/sap.ui.integration.d.ts +192 -100
- package/types/sap.ui.layout.d.ts +100 -69
- package/types/sap.ui.mdc.d.ts +1100 -913
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +9 -15
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +140 -192
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +277 -501
- package/types/sap.ui.ux3.d.ts +263 -504
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +864 -342
- package/types/sap.ui.webc.main.d.ts +4337 -1135
- package/types/sap.uxap.d.ts +51 -91
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.117.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
@@ -744,17 +744,6 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
744
744
|
* @returns Value of property `inErrorState`
|
|
745
745
|
*/
|
|
746
746
|
getInErrorState(): boolean;
|
|
747
|
-
/**
|
|
748
|
-
* Gets current value of property {@link #getManualVariantKey manualVariantKey}.
|
|
749
|
-
*
|
|
750
|
-
* If set to `true`, the key for a vendor variant will be added manually.
|
|
751
|
-
* **Note:** This flag is only used internally.
|
|
752
|
-
*
|
|
753
|
-
* Default value is `false`.
|
|
754
|
-
*
|
|
755
|
-
* @returns Value of property `manualVariantKey`
|
|
756
|
-
*/
|
|
757
|
-
getManualVariantKey(): boolean;
|
|
758
747
|
/**
|
|
759
748
|
* @since 1.109
|
|
760
749
|
*
|
|
@@ -964,24 +953,6 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
964
953
|
*/
|
|
965
954
|
bInErrorState?: boolean
|
|
966
955
|
): this;
|
|
967
|
-
/**
|
|
968
|
-
* Sets a new value for property {@link #getManualVariantKey manualVariantKey}.
|
|
969
|
-
*
|
|
970
|
-
* If set to `true`, the key for a vendor variant will be added manually.
|
|
971
|
-
* **Note:** This flag is only used internally.
|
|
972
|
-
*
|
|
973
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
974
|
-
*
|
|
975
|
-
* Default value is `false`.
|
|
976
|
-
*
|
|
977
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
978
|
-
*/
|
|
979
|
-
setManualVariantKey(
|
|
980
|
-
/**
|
|
981
|
-
* New value for property `manualVariantKey`
|
|
982
|
-
*/
|
|
983
|
-
bManualVariantKey?: boolean
|
|
984
|
-
): this;
|
|
985
956
|
/**
|
|
986
957
|
* @since 1.109
|
|
987
958
|
*
|
|
@@ -1124,12 +1095,6 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1124
1095
|
*/
|
|
1125
1096
|
showSetAsDefault?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1126
1097
|
|
|
1127
|
-
/**
|
|
1128
|
-
* If set to `true`, the key for a vendor variant will be added manually.
|
|
1129
|
-
* **Note:** This flag is only used internally.
|
|
1130
|
-
*/
|
|
1131
|
-
manualVariantKey?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1132
|
-
|
|
1133
1098
|
/**
|
|
1134
1099
|
* Indicates that the control is in error state. If set to `true`, an error message will be displayed whenever
|
|
1135
1100
|
* the variant is opened.
|
|
@@ -1194,7 +1159,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1194
1159
|
* This event is fired when the Save View dialog or the Save As dialog is closed with the
|
|
1195
1160
|
* save button.
|
|
1196
1161
|
*/
|
|
1197
|
-
save?: (oEvent:
|
|
1162
|
+
save?: (oEvent: VariantManagement$SaveEvent) => void;
|
|
1198
1163
|
|
|
1199
1164
|
/**
|
|
1200
1165
|
* This event is fired when users presses the cancel button inside Save As dialog.
|
|
@@ -1204,33 +1169,27 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1204
1169
|
/**
|
|
1205
1170
|
* This event is fired when users apply changes to variants in the Manage Views dialog.
|
|
1206
1171
|
*/
|
|
1207
|
-
manage?: (oEvent:
|
|
1172
|
+
manage?: (oEvent: VariantManagement$ManageEvent) => void;
|
|
1208
1173
|
|
|
1209
1174
|
/**
|
|
1210
1175
|
* This event is fired when a new variant is selected.
|
|
1211
1176
|
*/
|
|
1212
|
-
select?: (oEvent:
|
|
1177
|
+
select?: (oEvent: VariantManagement$SelectEvent) => void;
|
|
1213
1178
|
}
|
|
1214
1179
|
|
|
1215
1180
|
export interface VariantManagement$CancelEventParameters {}
|
|
1216
1181
|
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
export type $VariantManagementCancelEventParameters = VariantManagement$CancelEventParameters;
|
|
1222
|
-
|
|
1223
|
-
export type VariantManagement$CancelEvent = Event<VariantManagement$CancelEventParameters>;
|
|
1182
|
+
export type VariantManagement$CancelEvent = Event<
|
|
1183
|
+
VariantManagement$CancelEventParameters,
|
|
1184
|
+
VariantManagement
|
|
1185
|
+
>;
|
|
1224
1186
|
|
|
1225
1187
|
export interface VariantManagement$InitializedEventParameters {}
|
|
1226
1188
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
export type $VariantManagementInitializedEventParameters = VariantManagement$InitializedEventParameters;
|
|
1232
|
-
|
|
1233
|
-
export type VariantManagement$InitializedEvent = Event<VariantManagement$InitializedEventParameters>;
|
|
1189
|
+
export type VariantManagement$InitializedEvent = Event<
|
|
1190
|
+
VariantManagement$InitializedEventParameters,
|
|
1191
|
+
VariantManagement
|
|
1192
|
+
>;
|
|
1234
1193
|
|
|
1235
1194
|
export interface VariantManagement$ManageEventParameters {
|
|
1236
1195
|
/**
|
|
@@ -1255,13 +1214,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1255
1214
|
def?: string;
|
|
1256
1215
|
}
|
|
1257
1216
|
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
export type $VariantManagementManageEventParameters = VariantManagement$ManageEventParameters;
|
|
1263
|
-
|
|
1264
|
-
export type VariantManagement$ManageEvent = Event<VariantManagement$ManageEventParameters>;
|
|
1217
|
+
export type VariantManagement$ManageEvent = Event<
|
|
1218
|
+
VariantManagement$ManageEventParameters,
|
|
1219
|
+
VariantManagement
|
|
1220
|
+
>;
|
|
1265
1221
|
|
|
1266
1222
|
export interface VariantManagement$SaveEventParameters {
|
|
1267
1223
|
/**
|
|
@@ -1302,13 +1258,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1302
1258
|
tile?: boolean;
|
|
1303
1259
|
}
|
|
1304
1260
|
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
export type $VariantManagementSaveEventParameters = VariantManagement$SaveEventParameters;
|
|
1310
|
-
|
|
1311
|
-
export type VariantManagement$SaveEvent = Event<VariantManagement$SaveEventParameters>;
|
|
1261
|
+
export type VariantManagement$SaveEvent = Event<
|
|
1262
|
+
VariantManagement$SaveEventParameters,
|
|
1263
|
+
VariantManagement
|
|
1264
|
+
>;
|
|
1312
1265
|
|
|
1313
1266
|
export interface VariantManagement$SelectEventParameters {
|
|
1314
1267
|
/**
|
|
@@ -1317,13 +1270,10 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1317
1270
|
key?: string;
|
|
1318
1271
|
}
|
|
1319
1272
|
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
export type $VariantManagementSelectEventParameters = VariantManagement$SelectEventParameters;
|
|
1325
|
-
|
|
1326
|
-
export type VariantManagement$SelectEvent = Event<VariantManagement$SelectEventParameters>;
|
|
1273
|
+
export type VariantManagement$SelectEvent = Event<
|
|
1274
|
+
VariantManagement$SelectEventParameters,
|
|
1275
|
+
VariantManagement
|
|
1276
|
+
>;
|
|
1327
1277
|
}
|
|
1328
1278
|
|
|
1329
1279
|
declare module "sap/ui/fl/write/_internal/fieldExtensibility/ABAPExtensibilityVariant" {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.117.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -600,13 +600,10 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
600
600
|
|
|
601
601
|
export interface ActionDefinition$PressEventParameters {}
|
|
602
602
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
export type $ActionDefinitionPressEventParameters = ActionDefinition$PressEventParameters;
|
|
608
|
-
|
|
609
|
-
export type ActionDefinition$PressEvent = Event<ActionDefinition$PressEventParameters>;
|
|
603
|
+
export type ActionDefinition$PressEvent = Event<
|
|
604
|
+
ActionDefinition$PressEventParameters,
|
|
605
|
+
ActionDefinition
|
|
606
|
+
>;
|
|
610
607
|
}
|
|
611
608
|
|
|
612
609
|
declare module "sap/ui/integration/widgets/Card" {
|
|
@@ -1259,8 +1256,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1259
1256
|
*
|
|
1260
1257
|
* Gets current value of property {@link #getBaseUrl baseUrl}.
|
|
1261
1258
|
*
|
|
1262
|
-
* Defines the base URL of the
|
|
1263
|
-
* of a URL.
|
|
1259
|
+
* Defines the base URL of the card manifest. It should be used when manifest property is an object instead
|
|
1260
|
+
* of a URL. If both manifest URL and base URL are defined - the base URL will be used for loading dependencies.
|
|
1264
1261
|
*
|
|
1265
1262
|
* @returns Value of property `baseUrl`
|
|
1266
1263
|
*/
|
|
@@ -1474,6 +1471,12 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1474
1471
|
*/
|
|
1475
1472
|
eCardArea?: CardArea | keyof typeof CardArea
|
|
1476
1473
|
): void;
|
|
1474
|
+
/**
|
|
1475
|
+
* @experimental (since 1.117)
|
|
1476
|
+
*
|
|
1477
|
+
* Hides the message previously shown by showMessage.
|
|
1478
|
+
*/
|
|
1479
|
+
hideMessage(): void;
|
|
1477
1480
|
/**
|
|
1478
1481
|
* @since 1.85
|
|
1479
1482
|
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
@@ -1630,8 +1633,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1630
1633
|
*
|
|
1631
1634
|
* Sets a new value for property {@link #getBaseUrl baseUrl}.
|
|
1632
1635
|
*
|
|
1633
|
-
* Defines the base URL of the
|
|
1634
|
-
* of a URL.
|
|
1636
|
+
* Defines the base URL of the card manifest. It should be used when manifest property is an object instead
|
|
1637
|
+
* of a URL. If both manifest URL and base URL are defined - the base URL will be used for loading dependencies.
|
|
1635
1638
|
*
|
|
1636
1639
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1637
1640
|
*
|
|
@@ -1918,8 +1921,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1918
1921
|
*
|
|
1919
1922
|
* Gets current value of property {@link #getBaseUrl baseUrl}.
|
|
1920
1923
|
*
|
|
1921
|
-
* Defines the base URL of the
|
|
1922
|
-
* of a URL.
|
|
1924
|
+
* Defines the base URL of the card manifest. It should be used when manifest property is an object instead
|
|
1925
|
+
* of a URL. If both manifest URL and base URL are defined - the base URL will be used for loading dependencies.
|
|
1923
1926
|
*
|
|
1924
1927
|
* @returns Value of property `baseUrl`
|
|
1925
1928
|
*/
|
|
@@ -2016,6 +2019,12 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2016
2019
|
*/
|
|
2017
2020
|
eCardArea?: CardArea | keyof typeof CardArea
|
|
2018
2021
|
): void;
|
|
2022
|
+
/**
|
|
2023
|
+
* @experimental (since 1.117)
|
|
2024
|
+
*
|
|
2025
|
+
* Hides the message previously shown by showMessage.
|
|
2026
|
+
*/
|
|
2027
|
+
hideMessage(): void;
|
|
2019
2028
|
/**
|
|
2020
2029
|
* @since 1.85
|
|
2021
2030
|
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
@@ -2256,8 +2265,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2256
2265
|
* @since 1.70
|
|
2257
2266
|
* @experimental (since 1.70)
|
|
2258
2267
|
*
|
|
2259
|
-
* Defines the base URL of the
|
|
2260
|
-
* of a URL.
|
|
2268
|
+
* Defines the base URL of the card manifest. It should be used when manifest property is an object instead
|
|
2269
|
+
* of a URL. If both manifest URL and base URL are defined - the base URL will be used for loading dependencies.
|
|
2261
2270
|
*/
|
|
2262
2271
|
baseUrl?: URI | PropertyBindingInfo | `{${string}}`;
|
|
2263
2272
|
|
|
@@ -2360,7 +2369,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2360
2369
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
2361
2370
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
2362
2371
|
*/
|
|
2363
|
-
action?: (oEvent:
|
|
2372
|
+
action?: (oEvent: Card$ActionEvent) => void;
|
|
2364
2373
|
|
|
2365
2374
|
/**
|
|
2366
2375
|
* @experimental (since 1.96)
|
|
@@ -2368,9 +2377,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2368
2377
|
* Fired when some configuration settings are changed as a result of user interaction. For example - filter
|
|
2369
2378
|
* value is changed.
|
|
2370
2379
|
*/
|
|
2371
|
-
configurationChange?: (
|
|
2372
|
-
oEvent: Event<Card$ConfigurationChangeEventParameters>
|
|
2373
|
-
) => void;
|
|
2380
|
+
configurationChange?: (oEvent: Card$ConfigurationChangeEvent) => void;
|
|
2374
2381
|
|
|
2375
2382
|
/**
|
|
2376
2383
|
* @experimental (since 1.72)
|
|
@@ -2418,13 +2425,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2418
2425
|
type?: CardActionType | keyof typeof CardActionType;
|
|
2419
2426
|
}
|
|
2420
2427
|
|
|
2421
|
-
|
|
2422
|
-
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Card$ActionEventParameters'
|
|
2423
|
-
* in 1.115.1 and any later releases.
|
|
2424
|
-
*/
|
|
2425
|
-
export type $CardActionEventParameters = Card$ActionEventParameters;
|
|
2426
|
-
|
|
2427
|
-
export type Card$ActionEvent = Event<Card$ActionEventParameters>;
|
|
2428
|
+
export type Card$ActionEvent = Event<Card$ActionEventParameters, Card>;
|
|
2428
2429
|
|
|
2429
2430
|
export interface Card$ConfigurationChangeEventParameters {
|
|
2430
2431
|
/**
|
|
@@ -2442,43 +2443,31 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2442
2443
|
changes?: object;
|
|
2443
2444
|
}
|
|
2444
2445
|
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
export type $CardConfigurationChangeEventParameters = Card$ConfigurationChangeEventParameters;
|
|
2450
|
-
|
|
2451
|
-
export type Card$ConfigurationChangeEvent = Event<Card$ConfigurationChangeEventParameters>;
|
|
2446
|
+
export type Card$ConfigurationChangeEvent = Event<
|
|
2447
|
+
Card$ConfigurationChangeEventParameters,
|
|
2448
|
+
Card
|
|
2449
|
+
>;
|
|
2452
2450
|
|
|
2453
2451
|
export interface Card$ManifestAppliedEventParameters {}
|
|
2454
2452
|
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
export type $CardManifestAppliedEventParameters = Card$ManifestAppliedEventParameters;
|
|
2460
|
-
|
|
2461
|
-
export type Card$ManifestAppliedEvent = Event<Card$ManifestAppliedEventParameters>;
|
|
2453
|
+
export type Card$ManifestAppliedEvent = Event<
|
|
2454
|
+
Card$ManifestAppliedEventParameters,
|
|
2455
|
+
Card
|
|
2456
|
+
>;
|
|
2462
2457
|
|
|
2463
2458
|
export interface Card$ManifestReadyEventParameters {}
|
|
2464
2459
|
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
export type $CardManifestReadyEventParameters = Card$ManifestReadyEventParameters;
|
|
2470
|
-
|
|
2471
|
-
export type Card$ManifestReadyEvent = Event<Card$ManifestReadyEventParameters>;
|
|
2460
|
+
export type Card$ManifestReadyEvent = Event<
|
|
2461
|
+
Card$ManifestReadyEventParameters,
|
|
2462
|
+
Card
|
|
2463
|
+
>;
|
|
2472
2464
|
|
|
2473
2465
|
export interface Card$StateChangedEventParameters {}
|
|
2474
2466
|
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
export type $CardStateChangedEventParameters = Card$StateChangedEventParameters;
|
|
2480
|
-
|
|
2481
|
-
export type Card$StateChangedEvent = Event<Card$StateChangedEventParameters>;
|
|
2467
|
+
export type Card$StateChangedEvent = Event<
|
|
2468
|
+
Card$StateChangedEventParameters,
|
|
2469
|
+
Card
|
|
2470
|
+
>;
|
|
2482
2471
|
}
|
|
2483
2472
|
|
|
2484
2473
|
declare module "sap/ui/integration/Designtime" {
|
|
@@ -2994,10 +2983,10 @@ declare module "sap/ui/integration/Extension" {
|
|
|
2994
2983
|
|
|
2995
2984
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
2996
2985
|
|
|
2997
|
-
import Event from "sap/ui/base/Event";
|
|
2998
|
-
|
|
2999
2986
|
import Control from "sap/ui/core/Control";
|
|
3000
2987
|
|
|
2988
|
+
import Event from "sap/ui/base/Event";
|
|
2989
|
+
|
|
3001
2990
|
/**
|
|
3002
2991
|
* @since 1.75
|
|
3003
2992
|
*
|
|
@@ -3225,6 +3214,25 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3225
3214
|
* Called after the card is initialized.
|
|
3226
3215
|
*/
|
|
3227
3216
|
onCardReady(): void;
|
|
3217
|
+
/**
|
|
3218
|
+
* @deprecated (since 1.85) - This property is replaced by the `actions` aggregation of the card;
|
|
3219
|
+
* @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3220
|
+
* may be done before its official public release. Use at your own discretion.
|
|
3221
|
+
*
|
|
3222
|
+
* Sets a new value for property {@link #getActions actions}.
|
|
3223
|
+
*
|
|
3224
|
+
* The actions configuration.
|
|
3225
|
+
*
|
|
3226
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3227
|
+
*
|
|
3228
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3229
|
+
*/
|
|
3230
|
+
setActions(
|
|
3231
|
+
/**
|
|
3232
|
+
* New value for property `actions`
|
|
3233
|
+
*/
|
|
3234
|
+
sActions: CardMenuAction[]
|
|
3235
|
+
): this;
|
|
3228
3236
|
/**
|
|
3229
3237
|
* Sets current value of property {@link #setFormatters formatters}.
|
|
3230
3238
|
*
|
|
@@ -3268,7 +3276,7 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3268
3276
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3269
3277
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3270
3278
|
*/
|
|
3271
|
-
action?: (oEvent:
|
|
3279
|
+
action?: (oEvent: Extension$ActionEvent) => void;
|
|
3272
3280
|
}
|
|
3273
3281
|
|
|
3274
3282
|
export interface Extension$ActionEventParameters {
|
|
@@ -3298,13 +3306,10 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3298
3306
|
type?: CardActionType | keyof typeof CardActionType;
|
|
3299
3307
|
}
|
|
3300
3308
|
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
export type $ExtensionActionEventParameters = Extension$ActionEventParameters;
|
|
3306
|
-
|
|
3307
|
-
export type Extension$ActionEvent = Event<Extension$ActionEventParameters>;
|
|
3309
|
+
export type Extension$ActionEvent = Event<
|
|
3310
|
+
Extension$ActionEventParameters,
|
|
3311
|
+
Extension
|
|
3312
|
+
>;
|
|
3308
3313
|
}
|
|
3309
3314
|
|
|
3310
3315
|
declare module "sap/ui/integration/Host" {
|
|
@@ -3318,10 +3323,10 @@ declare module "sap/ui/integration/Host" {
|
|
|
3318
3323
|
|
|
3319
3324
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
3320
3325
|
|
|
3321
|
-
import Event from "sap/ui/base/Event";
|
|
3322
|
-
|
|
3323
3326
|
import Control from "sap/ui/core/Control";
|
|
3324
3327
|
|
|
3328
|
+
import Event from "sap/ui/base/Event";
|
|
3329
|
+
|
|
3325
3330
|
/**
|
|
3326
3331
|
* @since 1.75
|
|
3327
3332
|
* @experimental (since 1.75)
|
|
@@ -3503,6 +3508,59 @@ declare module "sap/ui/integration/Host" {
|
|
|
3503
3508
|
*/
|
|
3504
3509
|
oListener?: object
|
|
3505
3510
|
): this;
|
|
3511
|
+
/**
|
|
3512
|
+
* @experimental (since 1.116)
|
|
3513
|
+
*
|
|
3514
|
+
* Attaches event handler `fnFunction` to the {@link #event:cardInitialized cardInitialized} event of this
|
|
3515
|
+
* `sap.ui.integration.Host`.
|
|
3516
|
+
*
|
|
3517
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
3518
|
+
* otherwise it will be bound to this `sap.ui.integration.Host` itself.
|
|
3519
|
+
*
|
|
3520
|
+
* Fired when the card is initially ready for the first time. Will not be fired for consecutive refreshes
|
|
3521
|
+
* or data changes.
|
|
3522
|
+
*
|
|
3523
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3524
|
+
*/
|
|
3525
|
+
attachCardInitialized(
|
|
3526
|
+
/**
|
|
3527
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
3528
|
+
* object when firing the event
|
|
3529
|
+
*/
|
|
3530
|
+
oData: object,
|
|
3531
|
+
/**
|
|
3532
|
+
* The function to be called when the event occurs
|
|
3533
|
+
*/
|
|
3534
|
+
fnFunction: (p1: Host$CardInitializedEvent) => void,
|
|
3535
|
+
/**
|
|
3536
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3537
|
+
*/
|
|
3538
|
+
oListener?: object
|
|
3539
|
+
): this;
|
|
3540
|
+
/**
|
|
3541
|
+
* @experimental (since 1.116)
|
|
3542
|
+
*
|
|
3543
|
+
* Attaches event handler `fnFunction` to the {@link #event:cardInitialized cardInitialized} event of this
|
|
3544
|
+
* `sap.ui.integration.Host`.
|
|
3545
|
+
*
|
|
3546
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
3547
|
+
* otherwise it will be bound to this `sap.ui.integration.Host` itself.
|
|
3548
|
+
*
|
|
3549
|
+
* Fired when the card is initially ready for the first time. Will not be fired for consecutive refreshes
|
|
3550
|
+
* or data changes.
|
|
3551
|
+
*
|
|
3552
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3553
|
+
*/
|
|
3554
|
+
attachCardInitialized(
|
|
3555
|
+
/**
|
|
3556
|
+
* The function to be called when the event occurs
|
|
3557
|
+
*/
|
|
3558
|
+
fnFunction: (p1: Host$CardInitializedEvent) => void,
|
|
3559
|
+
/**
|
|
3560
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3561
|
+
*/
|
|
3562
|
+
oListener?: object
|
|
3563
|
+
): this;
|
|
3506
3564
|
/**
|
|
3507
3565
|
* @experimental (since 1.107)
|
|
3508
3566
|
*
|
|
@@ -3675,6 +3733,26 @@ declare module "sap/ui/integration/Host" {
|
|
|
3675
3733
|
*/
|
|
3676
3734
|
oListener?: object
|
|
3677
3735
|
): this;
|
|
3736
|
+
/**
|
|
3737
|
+
* @experimental (since 1.116)
|
|
3738
|
+
*
|
|
3739
|
+
* Detaches event handler `fnFunction` from the {@link #event:cardInitialized cardInitialized} event of
|
|
3740
|
+
* this `sap.ui.integration.Host`.
|
|
3741
|
+
*
|
|
3742
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
3743
|
+
*
|
|
3744
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3745
|
+
*/
|
|
3746
|
+
detachCardInitialized(
|
|
3747
|
+
/**
|
|
3748
|
+
* The function to be called, when the event occurs
|
|
3749
|
+
*/
|
|
3750
|
+
fnFunction: (p1: Host$CardInitializedEvent) => void,
|
|
3751
|
+
/**
|
|
3752
|
+
* Context object on which the given function had to be called
|
|
3753
|
+
*/
|
|
3754
|
+
oListener?: object
|
|
3755
|
+
): this;
|
|
3678
3756
|
/**
|
|
3679
3757
|
* @experimental (since 1.107)
|
|
3680
3758
|
*
|
|
@@ -3746,6 +3824,20 @@ declare module "sap/ui/integration/Host" {
|
|
|
3746
3824
|
*/
|
|
3747
3825
|
mParameters?: Host$CardConfigurationChangeEventParameters
|
|
3748
3826
|
): this;
|
|
3827
|
+
/**
|
|
3828
|
+
* @experimental (since 1.116)
|
|
3829
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3830
|
+
*
|
|
3831
|
+
* Fires event {@link #event:cardInitialized cardInitialized} to attached listeners.
|
|
3832
|
+
*
|
|
3833
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3834
|
+
*/
|
|
3835
|
+
fireCardInitialized(
|
|
3836
|
+
/**
|
|
3837
|
+
* Parameters to pass along with the event
|
|
3838
|
+
*/
|
|
3839
|
+
mParameters?: Host$CardInitializedEventParameters
|
|
3840
|
+
): this;
|
|
3749
3841
|
/**
|
|
3750
3842
|
* @experimental (since 1.107)
|
|
3751
3843
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -3951,7 +4043,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3951
4043
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3952
4044
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3953
4045
|
*/
|
|
3954
|
-
action?: (oEvent:
|
|
4046
|
+
action?: (oEvent: Host$ActionEvent) => void;
|
|
3955
4047
|
|
|
3956
4048
|
/**
|
|
3957
4049
|
* @experimental (since 1.96)
|
|
@@ -3960,7 +4052,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3960
4052
|
* - filter value is changed.
|
|
3961
4053
|
*/
|
|
3962
4054
|
cardConfigurationChange?: (
|
|
3963
|
-
oEvent:
|
|
4055
|
+
oEvent: Host$CardConfigurationChangeEvent
|
|
3964
4056
|
) => void;
|
|
3965
4057
|
|
|
3966
4058
|
/**
|
|
@@ -3969,16 +4061,22 @@ declare module "sap/ui/integration/Host" {
|
|
|
3969
4061
|
* Fired when the state of a card is changed. For example - the card is ready, new page is selected inside
|
|
3970
4062
|
* the card, a filter is changed or data is refreshed.
|
|
3971
4063
|
*/
|
|
3972
|
-
cardStateChanged?: (
|
|
3973
|
-
|
|
3974
|
-
|
|
4064
|
+
cardStateChanged?: (oEvent: Host$CardStateChangedEvent) => void;
|
|
4065
|
+
|
|
4066
|
+
/**
|
|
4067
|
+
* @experimental (since 1.116)
|
|
4068
|
+
*
|
|
4069
|
+
* Fired when the card is initially ready for the first time. Will not be fired for consecutive refreshes
|
|
4070
|
+
* or data changes.
|
|
4071
|
+
*/
|
|
4072
|
+
cardInitialized?: (oEvent: Host$CardInitializedEvent) => void;
|
|
3975
4073
|
|
|
3976
4074
|
/**
|
|
3977
4075
|
* @experimental (since 1.91)
|
|
3978
4076
|
*
|
|
3979
4077
|
* Fired when a message from channels like navigator.serviceWorker is received.
|
|
3980
4078
|
*/
|
|
3981
|
-
message?: (oEvent:
|
|
4079
|
+
message?: (oEvent: Host$MessageEvent) => void;
|
|
3982
4080
|
}
|
|
3983
4081
|
|
|
3984
4082
|
export interface Host$ActionEventParameters {
|
|
@@ -4008,13 +4106,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
4008
4106
|
type?: CardActionType | keyof typeof CardActionType;
|
|
4009
4107
|
}
|
|
4010
4108
|
|
|
4011
|
-
|
|
4012
|
-
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Host$ActionEventParameters'
|
|
4013
|
-
* in 1.115.1 and any later releases.
|
|
4014
|
-
*/
|
|
4015
|
-
export type $HostActionEventParameters = Host$ActionEventParameters;
|
|
4016
|
-
|
|
4017
|
-
export type Host$ActionEvent = Event<Host$ActionEventParameters>;
|
|
4109
|
+
export type Host$ActionEvent = Event<Host$ActionEventParameters, Host>;
|
|
4018
4110
|
|
|
4019
4111
|
export interface Host$CardConfigurationChangeEventParameters {
|
|
4020
4112
|
/**
|
|
@@ -4037,13 +4129,22 @@ declare module "sap/ui/integration/Host" {
|
|
|
4037
4129
|
changes?: object;
|
|
4038
4130
|
}
|
|
4039
4131
|
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
export type $HostCardConfigurationChangeEventParameters = Host$CardConfigurationChangeEventParameters;
|
|
4132
|
+
export type Host$CardConfigurationChangeEvent = Event<
|
|
4133
|
+
Host$CardConfigurationChangeEventParameters,
|
|
4134
|
+
Host
|
|
4135
|
+
>;
|
|
4045
4136
|
|
|
4046
|
-
export
|
|
4137
|
+
export interface Host$CardInitializedEventParameters {
|
|
4138
|
+
/**
|
|
4139
|
+
* The card.
|
|
4140
|
+
*/
|
|
4141
|
+
card?: Control;
|
|
4142
|
+
}
|
|
4143
|
+
|
|
4144
|
+
export type Host$CardInitializedEvent = Event<
|
|
4145
|
+
Host$CardInitializedEventParameters,
|
|
4146
|
+
Host
|
|
4147
|
+
>;
|
|
4047
4148
|
|
|
4048
4149
|
export interface Host$CardStateChangedEventParameters {
|
|
4049
4150
|
/**
|
|
@@ -4052,25 +4153,16 @@ declare module "sap/ui/integration/Host" {
|
|
|
4052
4153
|
card?: Control;
|
|
4053
4154
|
}
|
|
4054
4155
|
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
export type $HostCardStateChangedEventParameters = Host$CardStateChangedEventParameters;
|
|
4060
|
-
|
|
4061
|
-
export type Host$CardStateChangedEvent = Event<Host$CardStateChangedEventParameters>;
|
|
4156
|
+
export type Host$CardStateChangedEvent = Event<
|
|
4157
|
+
Host$CardStateChangedEventParameters,
|
|
4158
|
+
Host
|
|
4159
|
+
>;
|
|
4062
4160
|
|
|
4063
4161
|
export interface Host$MessageEventParameters {
|
|
4064
4162
|
data?: object;
|
|
4065
4163
|
}
|
|
4066
4164
|
|
|
4067
|
-
|
|
4068
|
-
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Host$MessageEventParameters'
|
|
4069
|
-
* in 1.115.1 and any later releases.
|
|
4070
|
-
*/
|
|
4071
|
-
export type $HostMessageEventParameters = Host$MessageEventParameters;
|
|
4072
|
-
|
|
4073
|
-
export type Host$MessageEvent = Event<Host$MessageEventParameters>;
|
|
4165
|
+
export type Host$MessageEvent = Event<Host$MessageEventParameters, Host>;
|
|
4074
4166
|
}
|
|
4075
4167
|
|
|
4076
4168
|
declare namespace sap {
|