@openui5/types 1.113.0 → 1.115.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.113.0
1
+ // For Library Version: 1.115.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.113.0
1
+ // For Library Version: 1.115.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -116,7 +116,7 @@ declare module "sap/ui/fl/transport/TransportDialog" {
116
116
  * transport request. It is not a generic utility, but part of the Variantmanament and therefore cannot
117
117
  * be used in any other application.
118
118
  */
119
- export default class TransportDialog extends Dialog {
119
+ class TransportDialog extends Dialog {
120
120
  /**
121
121
  * Constructor for a new transport/TransportDialog.
122
122
  *
@@ -124,8 +124,8 @@ declare module "sap/ui/fl/transport/TransportDialog" {
124
124
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
125
125
  * of the syntax of the settings object.
126
126
  *
127
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.Dialog#constructor
128
- * sap.m.Dialog} can be used.
127
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.Dialog#constructor sap.m.Dialog }
128
+ * can be used.
129
129
  */
130
130
  constructor(
131
131
  /**
@@ -140,8 +140,8 @@ declare module "sap/ui/fl/transport/TransportDialog" {
140
140
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
141
141
  * of the syntax of the settings object.
142
142
  *
143
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.Dialog#constructor
144
- * sap.m.Dialog} can be used.
143
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.Dialog#constructor sap.m.Dialog }
144
+ * can be used.
145
145
  */
146
146
  constructor(
147
147
  /**
@@ -184,6 +184,7 @@ declare module "sap/ui/fl/transport/TransportDialog" {
184
184
  */
185
185
  static getMetadata(): ElementMetadata;
186
186
  }
187
+ export default TransportDialog;
187
188
 
188
189
  export interface $TransportDialogSettings extends $DialogSettings {}
189
190
  }
@@ -208,7 +209,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
208
209
  * user adaptation.
209
210
  * **Note: **On the user interface, variants are generally referred to as "views".
210
211
  */
211
- export default class VariantManagement
212
+ class VariantManagement
212
213
  extends Control
213
214
  implements
214
215
  IShrinkable,
@@ -224,7 +225,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
224
225
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
225
226
  * of the syntax of the settings object.
226
227
  * See:
227
- * {@link topic:f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
228
+ * {@link https://ui5.sap.com/#/topic/f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
228
229
  */
229
230
  constructor(
230
231
  /**
@@ -239,7 +240,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
239
240
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
240
241
  * of the syntax of the settings object.
241
242
  * See:
242
- * {@link topic:f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
243
+ * {@link https://ui5.sap.com/#/topic/f1430c0337534d469da3a56307ff76af Key User Adaptation: Enable Your App}
243
244
  */
244
245
  constructor(
245
246
  /**
@@ -405,7 +406,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
405
406
  /**
406
407
  * The function to be called when the event occurs
407
408
  */
408
- fnFunction: (p1: Event) => void,
409
+ fnFunction: (p1: Event<$VariantManagementManageEventParameters>) => void,
409
410
  /**
410
411
  * Context object to call the event handler with. Defaults to this `sap.ui.fl.variants.VariantManagement`
411
412
  * itself
@@ -426,7 +427,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
426
427
  /**
427
428
  * The function to be called when the event occurs
428
429
  */
429
- fnFunction: (p1: Event) => void,
430
+ fnFunction: (p1: Event<$VariantManagementManageEventParameters>) => void,
430
431
  /**
431
432
  * Context object to call the event handler with. Defaults to this `sap.ui.fl.variants.VariantManagement`
432
433
  * itself
@@ -453,7 +454,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
453
454
  /**
454
455
  * The function to be called when the event occurs
455
456
  */
456
- fnFunction: (p1: Event) => void,
457
+ fnFunction: (p1: Event<$VariantManagementSaveEventParameters>) => void,
457
458
  /**
458
459
  * Context object to call the event handler with. Defaults to this `sap.ui.fl.variants.VariantManagement`
459
460
  * itself
@@ -475,7 +476,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
475
476
  /**
476
477
  * The function to be called when the event occurs
477
478
  */
478
- fnFunction: (p1: Event) => void,
479
+ fnFunction: (p1: Event<$VariantManagementSaveEventParameters>) => void,
479
480
  /**
480
481
  * Context object to call the event handler with. Defaults to this `sap.ui.fl.variants.VariantManagement`
481
482
  * itself
@@ -501,7 +502,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
501
502
  /**
502
503
  * The function to be called when the event occurs
503
504
  */
504
- fnFunction: (p1: Event) => void,
505
+ fnFunction: (p1: Event<$VariantManagementSelectEventParameters>) => void,
505
506
  /**
506
507
  * Context object to call the event handler with. Defaults to this `sap.ui.fl.variants.VariantManagement`
507
508
  * itself
@@ -522,7 +523,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
522
523
  /**
523
524
  * The function to be called when the event occurs
524
525
  */
525
- fnFunction: (p1: Event) => void,
526
+ fnFunction: (p1: Event<$VariantManagementSelectEventParameters>) => void,
526
527
  /**
527
528
  * Context object to call the event handler with. Defaults to this `sap.ui.fl.variants.VariantManagement`
528
529
  * itself
@@ -574,7 +575,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
574
575
  /**
575
576
  * The function to be called, when the event occurs
576
577
  */
577
- fnFunction: (p1: Event) => void,
578
+ fnFunction: (p1: Event<$VariantManagementManageEventParameters>) => void,
578
579
  /**
579
580
  * Context object on which the given function had to be called
580
581
  */
@@ -591,7 +592,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
591
592
  /**
592
593
  * The function to be called, when the event occurs
593
594
  */
594
- fnFunction: (p1: Event) => void,
595
+ fnFunction: (p1: Event<$VariantManagementSaveEventParameters>) => void,
595
596
  /**
596
597
  * Context object on which the given function had to be called
597
598
  */
@@ -608,7 +609,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
608
609
  /**
609
610
  * The function to be called, when the event occurs
610
611
  */
611
- fnFunction: (p1: Event) => void,
612
+ fnFunction: (p1: Event<$VariantManagementSelectEventParameters>) => void,
612
613
  /**
613
614
  * Context object on which the given function had to be called
614
615
  */
@@ -651,25 +652,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
651
652
  /**
652
653
  * Parameters to pass along with the event
653
654
  */
654
- mParameters?: {
655
- /**
656
- * List of changed variants. Each entry contains a 'key' - the variant key and a 'name' - the new title
657
- * of the variant
658
- */
659
- renamed?: object[];
660
- /**
661
- * List of deleted variant keys
662
- */
663
- deleted?: string[];
664
- /**
665
- * List of variant keys and the associated Execute on Selection indicator
666
- */
667
- exe?: object[];
668
- /**
669
- * The default variant key
670
- */
671
- def?: string;
672
- }
655
+ mParameters?: $VariantManagementManageEventParameters
673
656
  ): this;
674
657
  /**
675
658
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -682,38 +665,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
682
665
  /**
683
666
  * Parameters to pass along with the event
684
667
  */
685
- mParameters?: {
686
- /**
687
- * Variant title
688
- */
689
- name?: string;
690
- /**
691
- * Indicates if an existing variant is overwritten or if a new variant is created.
692
- */
693
- overwrite?: boolean;
694
- /**
695
- * Variant key
696
- */
697
- key?: string;
698
- /**
699
- * Apply Automatically indicator
700
- */
701
- execute?: boolean;
702
- /**
703
- * Indicates the check box state for 'Public'.
704
- */
705
- public?: boolean;
706
- /**
707
- * The default variant indicator
708
- */
709
- def?: boolean;
710
- /**
711
- * Indicates the check box state for 'Create Tile'.
712
- * Note:
713
- * This event parameter is used only internally.
714
- */
715
- tile?: boolean;
716
- }
668
+ mParameters?: $VariantManagementSaveEventParameters
717
669
  ): this;
718
670
  /**
719
671
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -726,12 +678,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
726
678
  /**
727
679
  * Parameters to pass along with the event
728
680
  */
729
- mParameters?: {
730
- /**
731
- * Variant key
732
- */
733
- key?: string;
734
- }
681
+ mParameters?: $VariantManagementSelectEventParameters
735
682
  ): this;
736
683
  /**
737
684
  * Gets the currently selected variant key.
@@ -772,8 +719,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
772
719
  */
773
720
  getExecuteOnSelectionForStandardDefault(): boolean;
774
721
  /**
775
- * Returns array of IDs of the elements which are the current targets of the association {@link #getFor
776
- * for}.
722
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getFor for}.
777
723
  */
778
724
  getFor(): ID[];
779
725
  /**
@@ -1148,6 +1094,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1148
1094
  bUpdateVariantInURL?: boolean
1149
1095
  ): this;
1150
1096
  }
1097
+ export default VariantManagement;
1151
1098
 
1152
1099
  export interface $VariantManagementSettings extends $ControlSettings {
1153
1100
  /**
@@ -1249,7 +1196,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1249
1196
  * This event is fired when the Save View dialog or the Save As dialog is closed with the
1250
1197
  * save button.
1251
1198
  */
1252
- save?: (oEvent: Event) => void;
1199
+ save?: (oEvent: Event<$VariantManagementSaveEventParameters>) => void;
1253
1200
 
1254
1201
  /**
1255
1202
  * This event is fired when users presses the cancel button inside Save As dialog.
@@ -1259,12 +1206,85 @@ declare module "sap/ui/fl/variants/VariantManagement" {
1259
1206
  /**
1260
1207
  * This event is fired when users apply changes to variants in the Manage Views dialog.
1261
1208
  */
1262
- manage?: (oEvent: Event) => void;
1209
+ manage?: (oEvent: Event<$VariantManagementManageEventParameters>) => void;
1263
1210
 
1264
1211
  /**
1265
1212
  * This event is fired when a new variant is selected.
1266
1213
  */
1267
- select?: (oEvent: Event) => void;
1214
+ select?: (oEvent: Event<$VariantManagementSelectEventParameters>) => void;
1215
+ }
1216
+
1217
+ export interface $VariantManagementCancelEventParameters {}
1218
+
1219
+ export interface $VariantManagementInitializedEventParameters {}
1220
+
1221
+ export interface $VariantManagementManageEventParameters {
1222
+ /**
1223
+ * List of changed variants. Each entry contains a 'key' - the variant key and a 'name' - the new title
1224
+ * of the variant
1225
+ */
1226
+ renamed?: object[];
1227
+
1228
+ /**
1229
+ * List of deleted variant keys
1230
+ */
1231
+ deleted?: string[];
1232
+
1233
+ /**
1234
+ * List of variant keys and the associated Execute on Selection indicator
1235
+ */
1236
+ exe?: object[];
1237
+
1238
+ /**
1239
+ * The default variant key
1240
+ */
1241
+ def?: string;
1242
+ }
1243
+
1244
+ export interface $VariantManagementSaveEventParameters {
1245
+ /**
1246
+ * Variant title
1247
+ */
1248
+ name?: string;
1249
+
1250
+ /**
1251
+ * Indicates if an existing variant is overwritten or if a new variant is created.
1252
+ */
1253
+ overwrite?: boolean;
1254
+
1255
+ /**
1256
+ * Variant key
1257
+ */
1258
+ key?: string;
1259
+
1260
+ /**
1261
+ * Apply Automatically indicator
1262
+ */
1263
+ execute?: boolean;
1264
+
1265
+ /**
1266
+ * Indicates the check box state for 'Public'.
1267
+ */
1268
+ public?: boolean;
1269
+
1270
+ /**
1271
+ * The default variant indicator
1272
+ */
1273
+ def?: boolean;
1274
+
1275
+ /**
1276
+ * Indicates the check box state for 'Create Tile'.
1277
+ * Note:
1278
+ * This event parameter is used only internally.
1279
+ */
1280
+ tile?: boolean;
1281
+ }
1282
+
1283
+ export interface $VariantManagementSelectEventParameters {
1284
+ /**
1285
+ * Variant key
1286
+ */
1287
+ key?: string;
1268
1288
  }
1269
1289
  }
1270
1290
 
@@ -1504,6 +1524,8 @@ declare namespace sap {
1504
1524
 
1505
1525
  "sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
1506
1526
 
1527
+ "sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks": undefined;
1528
+
1507
1529
  "sap/ui/fl/apply/_internal/preprocessors/ControllerExtension": undefined;
1508
1530
 
1509
1531
  "sap/ui/fl/apply/_internal/preprocessors/EventHistory": undefined;
@@ -1532,8 +1554,6 @@ declare namespace sap {
1532
1554
 
1533
1555
  "sap/ui/fl/FlexControllerFactory": undefined;
1534
1556
 
1535
- "sap/ui/fl/initial/_internal/changeHandlers/ChangeRegistryItem": undefined;
1536
-
1537
1557
  "sap/ui/fl/initial/_internal/connectors/BackendConnector": undefined;
1538
1558
 
1539
1559
  "sap/ui/fl/initial/_internal/connectors/KeyUserConnector": undefined;