@sapui5/ts-types 1.115.1 → 1.116.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.
Files changed (64) hide show
  1. package/README.md +4 -14
  2. package/package.json +1 -1
  3. package/types/index.d.ts +9 -3
  4. package/types/sap.apf.d.ts +38 -30
  5. package/types/sap.ca.ui.d.ts +129 -87
  6. package/types/sap.chart.d.ts +3 -48
  7. package/types/sap.collaboration.d.ts +22 -20
  8. package/types/sap.esh.search.ui.d.ts +111 -107
  9. package/types/sap.f.d.ts +70 -248
  10. package/types/sap.fe.core.d.ts +130 -4
  11. package/types/sap.fe.macros.d.ts +21 -47
  12. package/types/sap.fe.placeholder.d.ts +1 -1
  13. package/types/sap.fe.test.d.ts +1 -1
  14. package/types/sap.fe.tools.d.ts +1 -1
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +1074 -1207
  17. package/types/sap.insights.d.ts +3 -3
  18. package/types/sap.landvisz.d.ts +53 -27
  19. package/types/sap.m.d.ts +377 -2599
  20. package/types/sap.makit.d.ts +1 -36
  21. package/types/sap.me.d.ts +6 -63
  22. package/types/sap.ndc.d.ts +22 -25
  23. package/types/sap.ovp.d.ts +19 -6
  24. package/types/sap.rules.ui.d.ts +29 -37
  25. package/types/sap.sac.df.d.ts +7 -5
  26. package/types/sap.suite.ui.commons.d.ts +1012 -1165
  27. package/types/sap.suite.ui.generic.template.d.ts +1 -7
  28. package/types/sap.suite.ui.microchart.d.ts +4 -105
  29. package/types/sap.tnt.d.ts +51 -24
  30. package/types/sap.ui.codeeditor.d.ts +3 -19
  31. package/types/sap.ui.commons.d.ts +39 -415
  32. package/types/sap.ui.comp.d.ts +290 -778
  33. package/types/sap.ui.core.d.ts +253 -845
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +1 -12
  36. package/types/sap.ui.fl.d.ts +4 -78
  37. package/types/sap.ui.generic.app.d.ts +28 -30
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +119 -93
  40. package/types/sap.ui.layout.d.ts +6 -40
  41. package/types/sap.ui.mdc.d.ts +803 -842
  42. package/types/sap.ui.richtexteditor.d.ts +2 -27
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -12
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +21 -187
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +24 -379
  49. package/types/sap.ui.ux3.d.ts +44 -483
  50. package/types/sap.ui.vbm.d.ts +496 -764
  51. package/types/sap.ui.vk.d.ts +1332 -1844
  52. package/types/sap.ui.vtm.d.ts +312 -386
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +731 -308
  55. package/types/sap.ui.webc.main.d.ts +4118 -1173
  56. package/types/sap.uiext.inbox.d.ts +1 -79
  57. package/types/sap.ushell.d.ts +220 -862
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +10 -80
  60. package/types/sap.viz.d.ts +3 -823
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +2 -2
  63. package/types/sap.zen.crosstab.d.ts +2 -2
  64. package/types/sap.zen.dsh.d.ts +127 -157
@@ -30,11 +30,11 @@ declare namespace sap {
30
30
  /**
31
31
  * The selectionVariant from the navigation.
32
32
  */
33
- selectionVariant: object;
33
+ selectionVariant: /* was: sap.fe.navigation.SelectionVariant.SelectionVariant */ any;
34
34
  /**
35
35
  * The selectionVariant defaults from the navigation
36
36
  */
37
- selectionVariantDefaults: object;
37
+ selectionVariantDefaults: /* was: sap.fe.navigation.SelectionVariant.SelectionVariant */ any;
38
38
  };
39
39
  }
40
40
 
@@ -227,6 +227,116 @@ declare namespace sap {
227
227
  skipParameterDialog?: boolean;
228
228
  }
229
229
  ): Promise<void>;
230
+ /**
231
+ * @since 1.116.0
232
+ *
233
+ * This function can be used to execute code after the 'Create' action.
234
+ * You can execute custom coding in this function.
235
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
236
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
237
+ *
238
+ *
239
+ * @returns A promise to be returned by the overridden method.
240
+ */
241
+ onAfterCreate(
242
+ /**
243
+ * Object containing the parameters passed to onBeforeCreate
244
+ */
245
+ _mParameters?: {
246
+ /**
247
+ * The newly created context
248
+ */
249
+ context?: sap.ui.model.odata.v4.Context;
250
+ }
251
+ ): Promise<void>;
252
+ /**
253
+ * @since 1.116.0
254
+ *
255
+ * This function can be used to execute code after the 'Delete' action.
256
+ * You can execute custom coding in this function.
257
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
258
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
259
+ *
260
+ *
261
+ * @returns A promise to be returned by the overridden method.
262
+ */
263
+ onAfterDelete(
264
+ /**
265
+ * Object containing the parameters passed to onBeforeDelete
266
+ */
267
+ _mParameters?: {
268
+ /**
269
+ * An array of contexts that are going to be deleted
270
+ */
271
+ contexts?: sap.ui.model.odata.v4.Context[];
272
+ }
273
+ ): Promise<void>;
274
+ /**
275
+ * @since 1.116.0
276
+ *
277
+ * This function can be used to execute code after the 'Discard' action.
278
+ * You can execute custom coding in this function.
279
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
280
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
281
+ *
282
+ *
283
+ * @returns A promise to be returned by the overridden method.
284
+ */
285
+ onAfterDiscard(
286
+ /**
287
+ * Object containing the parameters passed to onBeforeDiscard
288
+ */
289
+ _mParameters?: {
290
+ /**
291
+ * The context obtained after discarding the object, or undefined if we discarded a new object
292
+ */
293
+ context?: sap.ui.model.odata.v4.Context;
294
+ }
295
+ ): Promise<void>;
296
+ /**
297
+ * @since 1.116.0
298
+ *
299
+ * This function can be used to execute code after the 'Edit' action.
300
+ * You can execute custom coding in this function.
301
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
302
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
303
+ *
304
+ *
305
+ * @returns A promise to be returned by the overridden method.
306
+ */
307
+ onAfterEdit(
308
+ /**
309
+ * Object containing the parameters passed to onBeforeEdit
310
+ */
311
+ _mParameters?: {
312
+ /**
313
+ * Page context that is going to be edited.
314
+ */
315
+ context?: sap.ui.model.odata.v4.Context;
316
+ }
317
+ ): Promise<void>;
318
+ /**
319
+ * @since 1.116.0
320
+ *
321
+ * This function can be used to execute code after the 'Save' action.
322
+ * You can execute custom coding in this function.
323
+ * This function is meant to be individually overridden by consuming controllers, but not to be called directly.
324
+ * The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
325
+ *
326
+ *
327
+ * @returns A promise to be returned by the overridden method.
328
+ */
329
+ onAfterSave(
330
+ /**
331
+ * Object containing the parameters passed to onBeforeSave
332
+ */
333
+ _mParameters?: {
334
+ /**
335
+ * The context we obtained after saving
336
+ */
337
+ context?: sap.ui.model.odata.v4.Context;
338
+ }
339
+ ): Promise<void>;
230
340
  /**
231
341
  * @since 1.98.0
232
342
  *
@@ -437,6 +547,8 @@ declare namespace sap {
437
547
  *
438
548
  * Provides a hook to customize the {@link sap.fe.navigation.SelectionVariant} related to the intent-based
439
549
  * navigation.
550
+ *
551
+ * @returns Promise for async handling
440
552
  */
441
553
  adaptNavigationContext(
442
554
  /**
@@ -456,7 +568,7 @@ declare namespace sap {
456
568
  */
457
569
  semanticObject: string;
458
570
  }
459
- ): void;
571
+ ): Promise<void>;
460
572
  /**
461
573
  * @since 1.86.0
462
574
  *
@@ -717,7 +829,9 @@ declare namespace sap {
717
829
  */
718
830
  url: string;
719
831
  }
720
- ): Promise<object> | object;
832
+ ):
833
+ | Promise</* was: sap.fe.core.controllerextensions.Share.shareMetaData */ any>
834
+ | /* was: sap.fe.core.controllerextensions.Share.shareMetaData */ any;
721
835
  /**
722
836
  * @since 1.93.0
723
837
  *
@@ -1132,6 +1246,18 @@ declare namespace sap {
1132
1246
  */
1133
1247
  oControl: sap.ui.core.Control
1134
1248
  ): void;
1249
+ /**
1250
+ * Access a control by its ID. If you attempt to access an internal control instead of the stable API, the
1251
+ * method will raise an error.
1252
+ *
1253
+ * @returns The requested control, if found in the view / section.
1254
+ */
1255
+ byId(
1256
+ /**
1257
+ * ID of the control without view and section prefix.
1258
+ */
1259
+ id: string
1260
+ ): sap.ui.core.Element | undefined;
1135
1261
  /**
1136
1262
  * Retrieves the editFlow controller extension for this page.
1137
1263
  *
@@ -8,7 +8,7 @@ declare namespace sap {
8
8
  namespace macros {
9
9
  namespace chart {
10
10
  /**
11
- * Definition of a custom action to be used inside the chart toolbar
11
+ * Definition of a custom action to be used in the chart toolbar
12
12
  */
13
13
  type Action = {
14
14
  /**
@@ -558,11 +558,6 @@ declare namespace sap {
558
558
  | sap.ui.base.ManagedObject.PropertyBindingInfo
559
559
  | `{${string}}`;
560
560
 
561
- /**
562
- * Groups menu actions by key.
563
- */
564
- menu?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
565
-
566
561
  /**
567
562
  * Defines the relative path of the property in the metamodel, based on the current contextPath.
568
563
  */
@@ -652,6 +647,8 @@ declare namespace sap {
652
647
 
653
648
  interface Field$ChangeEventParameters {}
654
649
 
650
+ interface Field$LiveChangeEventParameters {}
651
+
655
652
  interface FilterBar$AfterClearEventParameters {}
656
653
 
657
654
  interface FilterBar$FilterChangedEventParameters {}
@@ -782,6 +779,12 @@ declare namespace sap {
782
779
  * @returns An array of active filters and the search expression.
783
780
  */
784
781
  getFilters(): object;
782
+ /**
783
+ * Get the selection variant from the filter bar.
784
+ *
785
+ * @returns A promise which resolves with a {@link sap.fe.navigation.SelectionVariant}
786
+ */
787
+ getSelectionVariant(): Promise<sap.fe.navigation.SelectionVariant>;
785
788
  /**
786
789
  * Set the filter values for the given property in the filter bar.
787
790
  * The filter values can be either a single value or an array of values.
@@ -803,6 +806,17 @@ declare namespace sap {
803
806
  */
804
807
  vValues?: boolean | boolean[] | number | number[] | string | string[]
805
808
  ): Promise<void>;
809
+ /**
810
+ * Sets {@link sap.fe.navigation.SelectionVariant} to the filter bar.
811
+ *
812
+ * @returns A promise for asynchronous handling
813
+ */
814
+ setSelectionVariant(
815
+ /**
816
+ * The {@link sap.fe.navigation.SelectionVariant} to apply to the filter bar
817
+ */
818
+ selectionVariant: sap.fe.navigation.SelectionVariant
819
+ ): Promise<unknown>;
806
820
  /**
807
821
  * Triggers the API search on the filter bar.
808
822
  *
@@ -1014,60 +1028,20 @@ declare namespace sap {
1014
1028
  showMessages: boolean;
1015
1029
  };
1016
1030
 
1017
- /**
1018
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Chart$SelectionChangeEventParameters'
1019
- * in 1.115.1 and any later releases.
1020
- */
1021
- type $ChartSelectionChangeEventParameters = sap.fe.macros.Chart$SelectionChangeEventParameters;
1022
-
1023
1031
  type Chart$SelectionChangeEvent = sap.ui.base.Event<Chart$SelectionChangeEventParameters>;
1024
1032
 
1025
- /**
1026
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Field$ChangeEventParameters'
1027
- * in 1.115.1 and any later releases.
1028
- */
1029
- type $FieldChangeEventParameters = sap.fe.macros.Field$ChangeEventParameters;
1030
-
1031
1033
  type Field$ChangeEvent = sap.ui.base.Event<Field$ChangeEventParameters>;
1032
1034
 
1033
- /**
1034
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'FilterBar$AfterClearEventParameters'
1035
- * in 1.115.1 and any later releases.
1036
- */
1037
- type $FilterBarAfterClearEventParameters = sap.fe.macros.FilterBar$AfterClearEventParameters;
1035
+ type Field$LiveChangeEvent = sap.ui.base.Event<Field$LiveChangeEventParameters>;
1038
1036
 
1039
1037
  type FilterBar$AfterClearEvent = sap.ui.base.Event<FilterBar$AfterClearEventParameters>;
1040
1038
 
1041
- /**
1042
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'FilterBar$FilterChangedEventParameters'
1043
- * in 1.115.1 and any later releases.
1044
- */
1045
- type $FilterBarFilterChangedEventParameters = sap.fe.macros.FilterBar$FilterChangedEventParameters;
1046
-
1047
1039
  type FilterBar$FilterChangedEvent = sap.ui.base.Event<FilterBar$FilterChangedEventParameters>;
1048
1040
 
1049
- /**
1050
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'FilterBar$SearchEventParameters'
1051
- * in 1.115.1 and any later releases.
1052
- */
1053
- type $FilterBarSearchEventParameters = sap.fe.macros.FilterBar$SearchEventParameters;
1054
-
1055
1041
  type FilterBar$SearchEvent = sap.ui.base.Event<FilterBar$SearchEventParameters>;
1056
1042
 
1057
- /**
1058
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Table$RowPressEventParameters'
1059
- * in 1.115.1 and any later releases.
1060
- */
1061
- type $TableRowPressEventParameters = sap.fe.macros.Table$RowPressEventParameters;
1062
-
1063
1043
  type Table$RowPressEvent = sap.ui.base.Event<Table$RowPressEventParameters>;
1064
1044
 
1065
- /**
1066
- * @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Table$SelectionChangeEventParameters'
1067
- * in 1.115.1 and any later releases.
1068
- */
1069
- type $TableSelectionChangeEventParameters = sap.fe.macros.Table$SelectionChangeEventParameters;
1070
-
1071
1045
  type Table$SelectionChangeEvent = sap.ui.base.Event<Table$SelectionChangeEventParameters>;
1072
1046
  }
1073
1047
  }
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.116.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.116.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.115.1
1
+ // For Library Version: 1.116.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.115.0
1
+ // For Library Version: 1.116.0
2
2
 
3
3
  declare namespace sap {}