@openui5/types 1.122.0 → 1.123.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.
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -186,7 +186,12 @@ declare module "sap/ui/fl/transport/TransportDialog" {
186
186
  */
187
187
  static getMetadata(): ElementMetadata;
188
188
  }
189
-
189
+ /**
190
+ * Describes the settings that can be provided to the TransportDialog constructor.
191
+ *
192
+ * @deprecated (since 1.74) - The TransportDialog should be used only internally inside the `sap.ui.fl`
193
+ * library.
194
+ */
190
195
  export interface $TransportDialogSettings extends $DialogSettings {}
191
196
  }
192
197
 
@@ -1105,7 +1110,9 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1105
1110
  bUpdateVariantInURL?: boolean
1106
1111
  ): this;
1107
1112
  }
1108
-
1113
+ /**
1114
+ * Describes the settings that can be provided to the VariantManagement constructor.
1115
+ */
1109
1116
  export interface $VariantManagementSettings extends $ControlSettings {
1110
1117
  /**
1111
1118
  * Indicates whether the current variant is updated based on the passed information in the URL. **Note:**
@@ -1218,20 +1225,35 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1218
1225
  select?: (oEvent: VariantManagement$SelectEvent) => void;
1219
1226
  }
1220
1227
 
1228
+ /**
1229
+ * Parameters of the VariantManagement#cancel event.
1230
+ */
1221
1231
  export interface VariantManagement$CancelEventParameters {}
1222
1232
 
1233
+ /**
1234
+ * Event object of the VariantManagement#cancel event.
1235
+ */
1223
1236
  export type VariantManagement$CancelEvent = Event<
1224
1237
  VariantManagement$CancelEventParameters,
1225
1238
  VariantManagement
1226
1239
  >;
1227
1240
 
1241
+ /**
1242
+ * Parameters of the VariantManagement#initialized event.
1243
+ */
1228
1244
  export interface VariantManagement$InitializedEventParameters {}
1229
1245
 
1246
+ /**
1247
+ * Event object of the VariantManagement#initialized event.
1248
+ */
1230
1249
  export type VariantManagement$InitializedEvent = Event<
1231
1250
  VariantManagement$InitializedEventParameters,
1232
1251
  VariantManagement
1233
1252
  >;
1234
1253
 
1254
+ /**
1255
+ * Parameters of the VariantManagement#manage event.
1256
+ */
1235
1257
  export interface VariantManagement$ManageEventParameters {
1236
1258
  /**
1237
1259
  * List of changed variants. Each entry contains a `key` (the variant key) and a `name` (the new title of
@@ -1269,11 +1291,17 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1269
1291
  contexts?: object[];
1270
1292
  }
1271
1293
 
1294
+ /**
1295
+ * Event object of the VariantManagement#manage event.
1296
+ */
1272
1297
  export type VariantManagement$ManageEvent = Event<
1273
1298
  VariantManagement$ManageEventParameters,
1274
1299
  VariantManagement
1275
1300
  >;
1276
1301
 
1302
+ /**
1303
+ * Parameters of the VariantManagement#save event.
1304
+ */
1277
1305
  export interface VariantManagement$SaveEventParameters {
1278
1306
  /**
1279
1307
  * Variant title
@@ -1316,11 +1344,17 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1316
1344
  tile?: boolean;
1317
1345
  }
1318
1346
 
1347
+ /**
1348
+ * Event object of the VariantManagement#save event.
1349
+ */
1319
1350
  export type VariantManagement$SaveEvent = Event<
1320
1351
  VariantManagement$SaveEventParameters,
1321
1352
  VariantManagement
1322
1353
  >;
1323
1354
 
1355
+ /**
1356
+ * Parameters of the VariantManagement#select event.
1357
+ */
1324
1358
  export interface VariantManagement$SelectEventParameters {
1325
1359
  /**
1326
1360
  * Variant key
@@ -1328,6 +1362,9 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1328
1362
  key?: string;
1329
1363
  }
1330
1364
 
1365
+ /**
1366
+ * Event object of the VariantManagement#select event.
1367
+ */
1331
1368
  export type VariantManagement$SelectEvent = Event<
1332
1369
  VariantManagement$SelectEventParameters,
1333
1370
  VariantManagement
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.122.0
1
+ // For Library Version: 1.123.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -619,7 +619,12 @@ declare module "sap/ui/integration/ActionDefinition" {
619
619
  bVisible?: boolean
620
620
  ): this;
621
621
  }
622
-
622
+ /**
623
+ * Describes the settings that can be provided to the ActionDefinition constructor.
624
+ *
625
+ * @experimental (since 1.85) - Disclaimer: this class is in a beta state - incompatible API changes may
626
+ * be done before its official public release. Use at your own discretion.
627
+ */
623
628
  export interface $ActionDefinitionSettings extends $ElementSettings {
624
629
  /**
625
630
  * The type of the action.
@@ -669,8 +674,14 @@ declare module "sap/ui/integration/ActionDefinition" {
669
674
  press?: (oEvent: Event) => void;
670
675
  }
671
676
 
677
+ /**
678
+ * Parameters of the ActionDefinition#press event.
679
+ */
672
680
  export interface ActionDefinition$PressEventParameters {}
673
681
 
682
+ /**
683
+ * Event object of the ActionDefinition#press event.
684
+ */
674
685
  export type ActionDefinition$PressEvent = Event<
675
686
  ActionDefinition$PressEventParameters,
676
687
  ActionDefinition
@@ -2373,6 +2384,9 @@ declare module "sap/ui/integration/widgets/Card" {
2373
2384
  validateControls(): boolean;
2374
2385
  }
2375
2386
 
2387
+ /**
2388
+ * Describes the settings that can be provided to the Card constructor.
2389
+ */
2376
2390
  export interface $CardSettings extends $CardBaseSettings {
2377
2391
  /**
2378
2392
  * Optional property which can be used by the host to reference the card. It will be forwarded to any children
@@ -2559,6 +2573,12 @@ declare module "sap/ui/integration/widgets/Card" {
2559
2573
  stateChanged?: (oEvent: Event) => void;
2560
2574
  }
2561
2575
 
2576
+ /**
2577
+ * Parameters of the Card#action event.
2578
+ *
2579
+ * @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
2580
+ * be done before its official public release. Use at your own discretion.
2581
+ */
2562
2582
  export interface Card$ActionEventParameters {
2563
2583
  /**
2564
2584
  * The action source.
@@ -2581,8 +2601,19 @@ declare module "sap/ui/integration/widgets/Card" {
2581
2601
  type?: CardActionType | keyof typeof CardActionType;
2582
2602
  }
2583
2603
 
2604
+ /**
2605
+ * Event object of the Card#action event.
2606
+ *
2607
+ * @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
2608
+ * be done before its official public release. Use at your own discretion.
2609
+ */
2584
2610
  export type Card$ActionEvent = Event<Card$ActionEventParameters, Card>;
2585
2611
 
2612
+ /**
2613
+ * Parameters of the Card#configurationChange event.
2614
+ *
2615
+ * @experimental (since 1.96)
2616
+ */
2586
2617
  export interface Card$ConfigurationChangeEventParameters {
2587
2618
  /**
2588
2619
  * Changed configuration settings.
@@ -2599,27 +2630,58 @@ declare module "sap/ui/integration/widgets/Card" {
2599
2630
  changes?: object;
2600
2631
  }
2601
2632
 
2633
+ /**
2634
+ * Event object of the Card#configurationChange event.
2635
+ *
2636
+ * @experimental (since 1.96)
2637
+ */
2602
2638
  export type Card$ConfigurationChangeEvent = Event<
2603
2639
  Card$ConfigurationChangeEventParameters,
2604
2640
  Card
2605
2641
  >;
2606
2642
 
2643
+ /**
2644
+ * Parameters of the Card#manifestApplied event.
2645
+ */
2607
2646
  export interface Card$ManifestAppliedEventParameters {}
2608
2647
 
2648
+ /**
2649
+ * Event object of the Card#manifestApplied event.
2650
+ */
2609
2651
  export type Card$ManifestAppliedEvent = Event<
2610
2652
  Card$ManifestAppliedEventParameters,
2611
2653
  Card
2612
2654
  >;
2613
2655
 
2656
+ /**
2657
+ * Parameters of the Card#manifestReady event.
2658
+ *
2659
+ * @experimental (since 1.72)
2660
+ */
2614
2661
  export interface Card$ManifestReadyEventParameters {}
2615
2662
 
2663
+ /**
2664
+ * Event object of the Card#manifestReady event.
2665
+ *
2666
+ * @experimental (since 1.72)
2667
+ */
2616
2668
  export type Card$ManifestReadyEvent = Event<
2617
2669
  Card$ManifestReadyEventParameters,
2618
2670
  Card
2619
2671
  >;
2620
2672
 
2673
+ /**
2674
+ * Parameters of the Card#stateChanged event.
2675
+ *
2676
+ * @experimental (since 1.107)
2677
+ */
2621
2678
  export interface Card$StateChangedEventParameters {}
2622
2679
 
2680
+ /**
2681
+ * Event object of the Card#stateChanged event.
2682
+ *
2683
+ * @experimental (since 1.107)
2684
+ */
2623
2685
  export type Card$StateChangedEvent = Event<
2624
2686
  Card$StateChangedEventParameters,
2625
2687
  Card
@@ -2720,7 +2782,11 @@ declare module "sap/ui/integration/Designtime" {
2720
2782
  */
2721
2783
  getCard(): CardFacade;
2722
2784
  }
2723
-
2785
+ /**
2786
+ * Describes the settings that can be provided to the Designtime constructor.
2787
+ *
2788
+ * @experimental (since 1.75)
2789
+ */
2724
2790
  export interface $DesigntimeSettings extends $ManagedObjectSettings {}
2725
2791
  }
2726
2792
 
@@ -3137,7 +3203,9 @@ declare module "sap/ui/integration/editor/Extension" {
3137
3203
  */
3138
3204
  onEditorReady(): void;
3139
3205
  }
3140
-
3206
+ /**
3207
+ * Describes the settings that can be provided to the Extension constructor.
3208
+ */
3141
3209
  export interface $ExtensionSettings extends $ExtensionSettings1 {}
3142
3210
  }
3143
3211
 
@@ -3424,7 +3492,9 @@ declare module "sap/ui/integration/Extension" {
3424
3492
  aFormatters?: Record<string, Function>
3425
3493
  ): this;
3426
3494
  }
3427
-
3495
+ /**
3496
+ * Describes the settings that can be provided to the Extension constructor.
3497
+ */
3428
3498
  export interface $ExtensionSettings extends $ManagedObjectSettings {
3429
3499
  /**
3430
3500
  * The actions configuration.
@@ -3455,6 +3525,12 @@ declare module "sap/ui/integration/Extension" {
3455
3525
  action?: (oEvent: Extension$ActionEvent) => void;
3456
3526
  }
3457
3527
 
3528
+ /**
3529
+ * Parameters of the Extension#action event.
3530
+ *
3531
+ * @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
3532
+ * be done before its official public release. Use at your own discretion.
3533
+ */
3458
3534
  export interface Extension$ActionEventParameters {
3459
3535
  /**
3460
3536
  * The card the action is fired from.
@@ -3482,6 +3558,12 @@ declare module "sap/ui/integration/Extension" {
3482
3558
  type?: CardActionType | keyof typeof CardActionType;
3483
3559
  }
3484
3560
 
3561
+ /**
3562
+ * Event object of the Extension#action event.
3563
+ *
3564
+ * @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
3565
+ * be done before its official public release. Use at your own discretion.
3566
+ */
3485
3567
  export type Extension$ActionEvent = Event<
3486
3568
  Extension$ActionEventParameters,
3487
3569
  Extension
@@ -3844,7 +3926,7 @@ declare module "sap/ui/integration/Host" {
3844
3926
  /**
3845
3927
  * This function is called when a CSRF token has expired.
3846
3928
  *
3847
- * @deprecated (since 1.120.0)
3929
+ * @deprecated (since 1.120.0) - the concept has been discarded.
3848
3930
  * @experimental (since 1.97)
3849
3931
  */
3850
3932
  csrfTokenExpired(
@@ -3858,7 +3940,7 @@ declare module "sap/ui/integration/Host" {
3858
3940
  /**
3859
3941
  * This function is called when a CSRF token is fetched.
3860
3942
  *
3861
- * @deprecated (since 1.120.0)
3943
+ * @deprecated (since 1.120.0) - the concept has been discarded.
3862
3944
  * @experimental (since 1.97)
3863
3945
  */
3864
3946
  csrfTokenFetched(
@@ -4099,7 +4181,7 @@ declare module "sap/ui/integration/Host" {
4099
4181
  * Resolves the value of a CSRF token. Subclasses of Host can override this method to take over the default
4100
4182
  * CSRF token resolving. Applications must not call this method directly, it is called by the framework.
4101
4183
  *
4102
- * @deprecated (since 1.120.0)
4184
+ * @deprecated (since 1.120.0) - the concept has been discarded.
4103
4185
  * @experimental (since 1.97)
4104
4186
  * @ui5-protected Do not call from applications (only from related classes in the framework)
4105
4187
  *
@@ -4196,7 +4278,11 @@ declare module "sap/ui/integration/Host" {
4196
4278
  fnResolveDestination?: (p1: string, p2: Card) => string | Promise<string>
4197
4279
  ): this;
4198
4280
  }
4199
-
4281
+ /**
4282
+ * Describes the settings that can be provided to the Host constructor.
4283
+ *
4284
+ * @experimental (since 1.75)
4285
+ */
4200
4286
  export interface $HostSettings extends $ElementSettings {
4201
4287
  /**
4202
4288
  * The actions configuration.
@@ -4265,6 +4351,12 @@ declare module "sap/ui/integration/Host" {
4265
4351
  message?: (oEvent: Host$MessageEvent) => void;
4266
4352
  }
4267
4353
 
4354
+ /**
4355
+ * Parameters of the Host#action event.
4356
+ *
4357
+ * @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
4358
+ * be done before its official public release. Use at your own discretion.
4359
+ */
4268
4360
  export interface Host$ActionEventParameters {
4269
4361
  /**
4270
4362
  * The card the action is fired from.
@@ -4292,8 +4384,19 @@ declare module "sap/ui/integration/Host" {
4292
4384
  type?: CardActionType | keyof typeof CardActionType;
4293
4385
  }
4294
4386
 
4387
+ /**
4388
+ * Event object of the Host#action event.
4389
+ *
4390
+ * @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
4391
+ * be done before its official public release. Use at your own discretion.
4392
+ */
4295
4393
  export type Host$ActionEvent = Event<Host$ActionEventParameters, Host>;
4296
4394
 
4395
+ /**
4396
+ * Parameters of the Host#cardConfigurationChange event.
4397
+ *
4398
+ * @experimental (since 1.96)
4399
+ */
4297
4400
  export interface Host$CardConfigurationChangeEventParameters {
4298
4401
  /**
4299
4402
  * The card the changes are fired from.
@@ -4315,11 +4418,21 @@ declare module "sap/ui/integration/Host" {
4315
4418
  changes?: object;
4316
4419
  }
4317
4420
 
4421
+ /**
4422
+ * Event object of the Host#cardConfigurationChange event.
4423
+ *
4424
+ * @experimental (since 1.96)
4425
+ */
4318
4426
  export type Host$CardConfigurationChangeEvent = Event<
4319
4427
  Host$CardConfigurationChangeEventParameters,
4320
4428
  Host
4321
4429
  >;
4322
4430
 
4431
+ /**
4432
+ * Parameters of the Host#cardInitialized event.
4433
+ *
4434
+ * @experimental (since 1.116)
4435
+ */
4323
4436
  export interface Host$CardInitializedEventParameters {
4324
4437
  /**
4325
4438
  * The card.
@@ -4327,11 +4440,21 @@ declare module "sap/ui/integration/Host" {
4327
4440
  card?: Control;
4328
4441
  }
4329
4442
 
4443
+ /**
4444
+ * Event object of the Host#cardInitialized event.
4445
+ *
4446
+ * @experimental (since 1.116)
4447
+ */
4330
4448
  export type Host$CardInitializedEvent = Event<
4331
4449
  Host$CardInitializedEventParameters,
4332
4450
  Host
4333
4451
  >;
4334
4452
 
4453
+ /**
4454
+ * Parameters of the Host#cardStateChanged event.
4455
+ *
4456
+ * @experimental (since 1.107)
4457
+ */
4335
4458
  export interface Host$CardStateChangedEventParameters {
4336
4459
  /**
4337
4460
  * The card the changes are fired from.
@@ -4339,15 +4462,30 @@ declare module "sap/ui/integration/Host" {
4339
4462
  card?: Control;
4340
4463
  }
4341
4464
 
4465
+ /**
4466
+ * Event object of the Host#cardStateChanged event.
4467
+ *
4468
+ * @experimental (since 1.107)
4469
+ */
4342
4470
  export type Host$CardStateChangedEvent = Event<
4343
4471
  Host$CardStateChangedEventParameters,
4344
4472
  Host
4345
4473
  >;
4346
4474
 
4475
+ /**
4476
+ * Parameters of the Host#message event.
4477
+ *
4478
+ * @experimental (since 1.91)
4479
+ */
4347
4480
  export interface Host$MessageEventParameters {
4348
4481
  data?: object;
4349
4482
  }
4350
4483
 
4484
+ /**
4485
+ * Event object of the Host#message event.
4486
+ *
4487
+ * @experimental (since 1.91)
4488
+ */
4351
4489
  export type Host$MessageEvent = Event<Host$MessageEventParameters, Host>;
4352
4490
  }
4353
4491