@sapui5/ts-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.
Files changed (64) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +0 -1
  3. package/types/sap.apf.d.ts +2 -2
  4. package/types/sap.ca.ui.d.ts +135 -67
  5. package/types/sap.chart.d.ts +154 -125
  6. package/types/sap.collaboration.d.ts +80 -78
  7. package/types/sap.esh.search.ui.d.ts +137 -1
  8. package/types/sap.f.d.ts +1357 -926
  9. package/types/sap.fe.core.d.ts +45 -155
  10. package/types/sap.fe.macros.d.ts +80 -9
  11. package/types/sap.fe.navigation.d.ts +34 -27
  12. package/types/sap.fe.templates.d.ts +8 -275
  13. package/types/sap.fe.test.d.ts +4 -10
  14. package/types/sap.feedback.ui.d.ts +1 -1
  15. package/types/sap.gantt.d.ts +1716 -1087
  16. package/types/sap.insights.d.ts +1 -1
  17. package/types/sap.landvisz.d.ts +35 -9
  18. package/types/sap.m.d.ts +7689 -5451
  19. package/types/sap.makit.d.ts +17 -5
  20. package/types/sap.me.d.ts +122 -63
  21. package/types/sap.ndc.d.ts +99 -39
  22. package/types/sap.ovp.d.ts +1 -2
  23. package/types/sap.rules.ui.d.ts +43 -19
  24. package/types/sap.sac.df.d.ts +31 -579
  25. package/types/sap.suite.ui.commons.d.ts +2060 -1282
  26. package/types/sap.suite.ui.generic.template.d.ts +29 -40
  27. package/types/sap.suite.ui.microchart.d.ts +188 -136
  28. package/types/sap.tnt.d.ts +134 -54
  29. package/types/sap.ui.codeeditor.d.ts +51 -29
  30. package/types/sap.ui.commons.d.ts +1017 -599
  31. package/types/sap.ui.comp.d.ts +2755 -1772
  32. package/types/sap.ui.core.d.ts +5398 -3172
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +32 -29
  35. package/types/sap.ui.fl.d.ts +123 -82
  36. package/types/sap.ui.generic.app.d.ts +41 -40
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +344 -163
  39. package/types/sap.ui.layout.d.ts +312 -355
  40. package/types/sap.ui.mdc.d.ts +21839 -8
  41. package/types/sap.ui.richtexteditor.d.ts +61 -49
  42. package/types/sap.ui.rta.d.ts +1 -2
  43. package/types/sap.ui.suite.d.ts +9 -9
  44. package/types/sap.ui.support.d.ts +5 -7
  45. package/types/sap.ui.table.d.ts +713 -452
  46. package/types/sap.ui.testrecorder.d.ts +1 -1
  47. package/types/sap.ui.unified.d.ts +1077 -727
  48. package/types/sap.ui.ux3.d.ts +1038 -549
  49. package/types/sap.ui.vbm.d.ts +1262 -710
  50. package/types/sap.ui.vk.d.ts +3020 -1751
  51. package/types/sap.ui.vtm.d.ts +704 -457
  52. package/types/sap.ui.webc.common.d.ts +1 -1
  53. package/types/sap.ui.webc.fiori.d.ts +532 -301
  54. package/types/sap.ui.webc.main.d.ts +1222 -720
  55. package/types/sap.uiext.inbox.d.ts +47 -24
  56. package/types/sap.ushell.d.ts +360 -174
  57. package/types/sap.ushell_abap.d.ts +1 -1
  58. package/types/sap.uxap.d.ts +287 -199
  59. package/types/sap.viz.d.ts +678 -391
  60. package/types/sap.webanalytics.core.d.ts +1 -1
  61. package/types/sap.zen.commons.d.ts +5 -5
  62. package/types/sap.zen.crosstab.d.ts +1 -1
  63. package/types/sap.zen.dsh.d.ts +147 -81
  64. package/types/sap.sac.grid.d.ts +0 -760
@@ -14,6 +14,30 @@ declare namespace sap {
14
14
  * can override to allow more flexibility.
15
15
  */
16
16
  namespace controllerextensions {
17
+ namespace ViewState {
18
+ /**
19
+ * Definition of a custom action to be used inside the table toolbar
20
+ */
21
+ type NavigationParameter = {
22
+ /**
23
+ * The actual navigation type.
24
+ */
25
+ navigationType: string;
26
+ /**
27
+ * Defines whether the standard variant must be used in variant management
28
+ */
29
+ requiresStandardVariant: boolean;
30
+ /**
31
+ * The selectionVariant from the navigation.
32
+ */
33
+ selectionVariant: object;
34
+ /**
35
+ * The selectionVariant defaults from the navigation
36
+ */
37
+ selectionVariantDefaults: object;
38
+ };
39
+ }
40
+
17
41
  /**
18
42
  * @SINCE 1.90.0
19
43
  *
@@ -33,7 +57,7 @@ declare namespace sap {
33
57
  /**
34
58
  * Context of the document
35
59
  */
36
- oContext: object
60
+ oContext: sap.ui.model.odata.v4.Context
37
61
  ): Promise<void>;
38
62
  /**
39
63
  * @SINCE 1.90.0
@@ -54,7 +78,7 @@ declare namespace sap {
54
78
  /**
55
79
  * This is the control used to open the discard popover
56
80
  */
57
- control: object;
81
+ control?: object;
58
82
  /**
59
83
  * Optional, supresses the discard popover and allows custom handling
60
84
  */
@@ -443,7 +467,7 @@ declare namespace sap {
443
467
  * Identifier to locate the outbound definition in the manifest.
444
468
  * This provides the semantic object and action for the intent-based navigation.
445
469
  * Additionally, the outbound definition can be used to provide parameters for intent-based navigation.
446
- * See {@link topic:be0cf40f61184b358b5faedaec98b2da Descriptor for Applications, Components, and Libraries}
470
+ * See {@link https://ui5.sap.com/#/topic/be0cf40f61184b358b5faedaec98b2da Descriptor for Applications, Components, and Libraries }
447
471
  * for more information.
448
472
  */
449
473
  sOutbound: string,
@@ -584,7 +608,11 @@ declare namespace sap {
584
608
  * @SINCE 1.86.0
585
609
  *
586
610
  * This function can be used to intercept the routing event happening during the normal process of navigating
587
- * from one page to another.
611
+ * from one page to another (like clicking on the table row to navigate, or when pagination buttons are
612
+ * clicked).
613
+ * The function is NOT called during other means of external outbound navigation (like a navigation configured
614
+ * via a link, or by using navigation buttons).
615
+ *
588
616
  * If declared as an extension, it allows you to intercept and change the normal navigation flow.
589
617
  * If you decide to do your own navigation processing, you can return `true` to prevent the default routing
590
618
  * behavior.
@@ -851,7 +879,7 @@ declare namespace sap {
851
879
  /**
852
880
  * The current navigation parameter
853
881
  */
854
- oNavParameter: /* was: sap.fe.core.NavigationParameter */ any
882
+ oNavParameter: sap.fe.core.controllerextensions.ViewState.NavigationParameter
855
883
  ): Promise<any>;
856
884
  /**
857
885
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -877,7 +905,11 @@ declare namespace sap {
877
905
  /**
878
906
  * Extensible array of promises to be resolved before continuing
879
907
  */
880
- aPromises: Promise<any>
908
+ aPromises: Promise<any>,
909
+ /**
910
+ * Navigation type responsible for the applying the state
911
+ */
912
+ navigationType?: string
881
913
  ): void;
882
914
  /**
883
915
  * Called when the application is restored due to keep-alive mode.
@@ -910,28 +942,6 @@ declare namespace sap {
910
942
  */
911
943
  retrieveViewState(): Promise<any>;
912
944
  }
913
-
914
- /**
915
- * Definition of a custom action to be used inside the table toolbar
916
- */
917
- type NavigationParameter = {
918
- /**
919
- * The actual navigation type.
920
- */
921
- navigationType: string;
922
- /**
923
- * Defines whether the standard variant must be used in variant management
924
- */
925
- requiresStandardVariant: boolean;
926
- /**
927
- * The selectionVariant from the navigation.
928
- */
929
- selectionVariant: object;
930
- /**
931
- * The selectionVariant defaults from the navigation
932
- */
933
- selectionVariantDefaults: object;
934
- };
935
945
  }
936
946
  /**
937
947
  * Collection of classes provided by SAP Fiori elements for the Flexible Programming Model
@@ -979,7 +989,8 @@ declare namespace sap {
979
989
  * and
980
990
  * you can make use of SAP Fiori elements pages and SAP Fiori elements building blocks.
981
991
  */
982
- class Fcl /* was: sap.fe.core.RootViewBaseController */ extends Object {
992
+ class Fcl
993
+ /* was: sap.fe.core.rootView.RootViewBaseController */ extends Object {
983
994
  constructor();
984
995
 
985
996
  /**
@@ -988,49 +999,6 @@ declare namespace sap {
988
999
  * @returns A promise that creates a Page to display the error
989
1000
  */
990
1001
  displayErrorPage(): Promise<boolean>;
991
- /**
992
- * @SINCE 1.91.0
993
- *
994
- * Returns the current app component.
995
- *
996
- * @returns The app component or, if not found, null
997
- */
998
- getAppComponent(): sap.fe.core.AppComponent;
999
- /**
1000
- * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
1001
- * name into each controller.
1002
- *
1003
- * @returns The model instance
1004
- */
1005
- getModel(
1006
- /**
1007
- * The model name
1008
- */
1009
- sName?: string
1010
- ): sap.ui.model.Model;
1011
- /**
1012
- * Convenience method for getting the resource bundle.
1013
- *
1014
- * @returns The resourceModel of the component
1015
- */
1016
- getResourceBundle():
1017
- | Promise</* was: sap.base.i18n.ResourceBundle */ any>
1018
- | /* was: sap.base.i18n.ResourceBundle */ any;
1019
- /**
1020
- * Convenience method for setting the view model in every controller of the application.
1021
- *
1022
- * @returns The view instance
1023
- */
1024
- setModel(
1025
- /**
1026
- * The model instance
1027
- */
1028
- oModel: sap.ui.model.Model,
1029
- /**
1030
- * The model name
1031
- */
1032
- sName: string
1033
- ): sap.ui.core.mvc.View;
1034
1002
  }
1035
1003
  /**
1036
1004
  * @SINCE 1.108.0
@@ -1041,7 +1009,7 @@ declare namespace sap {
1041
1009
  * you can make use of SAP Fiori elements pages and SAP Fiori elements building blocks.
1042
1010
  */
1043
1011
  class NavContainer
1044
- /* was: sap.fe.core.RootViewBaseController */ extends Object {
1012
+ /* was: sap.fe.core.rootView.RootViewBaseController */ extends Object {
1045
1013
  constructor();
1046
1014
 
1047
1015
  /**
@@ -1050,49 +1018,6 @@ declare namespace sap {
1050
1018
  * @returns A promise that creates a Page to display the error
1051
1019
  */
1052
1020
  displayErrorPage(): Promise<boolean>;
1053
- /**
1054
- * @SINCE 1.91.0
1055
- *
1056
- * Returns the current app component.
1057
- *
1058
- * @returns The app component or, if not found, null
1059
- */
1060
- getAppComponent(): sap.fe.core.AppComponent;
1061
- /**
1062
- * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
1063
- * name into each controller.
1064
- *
1065
- * @returns The model instance
1066
- */
1067
- getModel(
1068
- /**
1069
- * The model name
1070
- */
1071
- sName?: string
1072
- ): sap.ui.model.Model;
1073
- /**
1074
- * Convenience method for getting the resource bundle.
1075
- *
1076
- * @returns The resourceModel of the component
1077
- */
1078
- getResourceBundle():
1079
- | Promise</* was: sap.base.i18n.ResourceBundle */ any>
1080
- | /* was: sap.base.i18n.ResourceBundle */ any;
1081
- /**
1082
- * Convenience method for setting the view model in every controller of the application.
1083
- *
1084
- * @returns The view instance
1085
- */
1086
- setModel(
1087
- /**
1088
- * The model instance
1089
- */
1090
- oModel: sap.ui.model.Model,
1091
- /**
1092
- * The model name
1093
- */
1094
- sName: string
1095
- ): sap.ui.core.mvc.View;
1096
1021
  }
1097
1022
  }
1098
1023
 
@@ -1170,7 +1095,7 @@ declare namespace sap {
1170
1095
  * The model name
1171
1096
  */
1172
1097
  sName?: string
1173
- ): sap.ui.model.Model;
1098
+ ): sap.ui.model.Model | undefined;
1174
1099
  /**
1175
1100
  * Convenience method for setting the view model in every controller of the application.
1176
1101
  *
@@ -1212,13 +1137,13 @@ declare namespace sap {
1212
1137
  *
1213
1138
  * @returns The editFlow controller extension
1214
1139
  */
1215
- getEditFlow(): /* was: sap.fe.core.EditFlow */ any;
1140
+ getEditFlow(): sap.fe.core.controllerextensions.EditFlow;
1216
1141
  /**
1217
1142
  * Retrieves the intentBasedNavigation controller extension for this page.
1218
1143
  *
1219
1144
  * @returns The intentBasedNavigation controller extension
1220
1145
  */
1221
- getIntentBasedNavigation(): /* was: sap.fe.core.IntentBasedNavigation */ any;
1146
+ getIntentBasedNavigation(): sap.fe.core.controllerextensions.IntentBasedNavigation;
1222
1147
  /**
1223
1148
  * Get access to models managed by SAP Fiori elements.
1224
1149
  *
@@ -1251,7 +1176,7 @@ declare namespace sap {
1251
1176
  *
1252
1177
  * @returns The routing controller extension
1253
1178
  */
1254
- getRouting(): /* was: sap.fe.core.Routing */ any;
1179
+ getRouting(): sap.fe.core.controllerextensions.Routing;
1255
1180
  /**
1256
1181
  * Load a fragment and go through the template preprocessor with the current page context.
1257
1182
  *
@@ -1324,47 +1249,12 @@ declare namespace sap {
1324
1249
  class PageController extends sap.fe.core.BaseController {
1325
1250
  constructor();
1326
1251
 
1327
- /**
1328
- * @SINCE 1.91.0
1329
- *
1330
- * Returns the current app component.
1331
- *
1332
- * @returns The app component or, if not found, null
1333
- */
1334
- getAppComponent(): sap.fe.core.AppComponent;
1335
1252
  /**
1336
1253
  * Get the extension API for the current page.
1337
1254
  *
1338
1255
  * @returns The extension API.
1339
1256
  */
1340
1257
  getExtensionAPI(): sap.fe.core.ExtensionAPI;
1341
- /**
1342
- * Convenience method provided by SAP Fiori elements to enable applications to include the view model by
1343
- * name into each controller.
1344
- *
1345
- * @returns The model instance
1346
- */
1347
- getModel(
1348
- /**
1349
- * The model name
1350
- */
1351
- sName?: string
1352
- ): sap.ui.model.Model;
1353
- /**
1354
- * Convenience method for setting the view model in every controller of the application.
1355
- *
1356
- * @returns The view instance
1357
- */
1358
- setModel(
1359
- /**
1360
- * The model instance
1361
- */
1362
- oModel: sap.ui.model.Model,
1363
- /**
1364
- * The model name
1365
- */
1366
- sName: string
1367
- ): sap.ui.core.mvc.View;
1368
1258
  }
1369
1259
  /**
1370
1260
  * @SINCE 1.86.0
@@ -162,7 +162,7 @@ declare namespace sap {
162
162
  /**
163
163
  * Aligns the header as well as the content horizontally
164
164
  */
165
- horizontalAlign: /* was: sap.fe.core.HorizontalAlign */ any;
165
+ horizontalAlign: /* was: sap.fe.core.converters.ManifestSettings.HorizontalAlign */ any;
166
166
  /**
167
167
  * Defines the column importance.
168
168
  * You can define which columns should be automatically moved to the pop-in area based on their importance
@@ -233,7 +233,25 @@ declare namespace sap {
233
233
  metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
234
234
 
235
235
  /**
236
- * Parameter which sets the personalization of the MDC_Chart
236
+ * Controls which options should be enabled for the chart personalization dialog.
237
+ * If it is set to `true`, all possible options for this kind of chart are enabled.
238
+ *
239
+ * If it is set to `false`, personalization is disabled.
240
+ *
241
+ *
242
+ *
243
+ * You can also provide a more granular control for the personalization by providing a comma-separated list
244
+ * with the options you want to be available.
245
+ *
246
+ * Available options are:
247
+ *
248
+ * - Sort
249
+ *
250
+ * - Type
251
+ *
252
+ * - Item
253
+ *
254
+ * - Filter
237
255
  */
238
256
  personalization?:
239
257
  | boolean
@@ -242,12 +260,19 @@ declare namespace sap {
242
260
  | `{${string}}`;
243
261
 
244
262
  /**
245
- * Specifies the selection mode
263
+ * Defines the selection mode to be used by the chart.
264
+ * Allowed values are `None`, `Single` or `Multiple`
246
265
  */
247
266
  selectionMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
248
267
 
249
268
  /**
250
- * This is the parameter that specifies variant management for chart
269
+ * Controls the kind of variant management that should be enabled for the chart.
270
+ * Allowed value is `Control`.
271
+ *
272
+ * If set with value `Control`, a variant management control is seen within the chart and the chart is linked
273
+ * to this.
274
+ *
275
+ * If not set with any value, variant management control is not available for this chart.
251
276
  */
252
277
  variantManagement?:
253
278
  | string
@@ -256,7 +281,11 @@ declare namespace sap {
256
281
  /**
257
282
  * Aggregate actions of the chart.
258
283
  */
259
- actions?: sap.fe.macros.chart.Action;
284
+ actions?:
285
+ | sap.fe.macros.chart.Action[]
286
+ | sap.fe.macros.chart.Action
287
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
288
+ | `{${string}}`;
260
289
  }
261
290
 
262
291
  interface $FieldSettings extends sap.fe.macros.$MacroAPISettings {
@@ -494,6 +523,15 @@ declare namespace sap {
494
523
  */
495
524
  filterBar?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
496
525
 
526
+ /**
527
+ * Number of columns that are fixed on the left. Only columns which are not fixed can be scrolled horizontally.
528
+ * This property is not relevant for Responsive tables
529
+ */
530
+ frozenColumnCount?:
531
+ | number
532
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
533
+ | `{${string}}`;
534
+
497
535
  /**
498
536
  * Specifies the header text that is shown in the table.
499
537
  */
@@ -567,7 +605,8 @@ declare namespace sap {
567
605
 
568
606
  /**
569
607
  * Defines the selection mode to be used by the table.
570
- * Allowed values are `None`, `Single`, `Multi` or `Auto`
608
+ * Allowed values are `None`, `Single`, `Multi` or `Auto`. If not set to 'None', SAP Fiori elements hooks
609
+ * into the standard lifecycle to determine the consistent selection mode.
571
610
  */
572
611
  selectionMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
573
612
 
@@ -593,18 +632,44 @@ declare namespace sap {
593
632
  /**
594
633
  * Aggregate actions of the table.
595
634
  */
596
- actions?: sap.fe.macros.table.Action;
635
+ actions?:
636
+ | sap.fe.macros.table.Action[]
637
+ | sap.fe.macros.table.Action
638
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
639
+ | `{${string}}`;
597
640
 
598
641
  /**
599
642
  * Aggregate columns of the table.
600
643
  */
601
- columns?: sap.fe.macros.table.Column;
644
+ columns?:
645
+ | sap.fe.macros.table.Column[]
646
+ | sap.fe.macros.table.Column
647
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
648
+ | `{${string}}`;
602
649
  }
603
650
 
651
+ interface $ChartSelectionChangeEventParameters {}
652
+
653
+ interface $FieldChangeEventParameters {}
654
+
655
+ interface $FilterBarAfterClearEventParameters {}
656
+
657
+ interface $FilterBarFilterChangedEventParameters {}
658
+
659
+ interface $FilterBarSearchEventParameters {}
660
+
661
+ interface $TableRowPressEventParameters {}
662
+
663
+ interface $TableSelectionChangeEventParameters {}
664
+
604
665
  /**
605
666
  * Base API control for building blocks.
606
667
  */
607
- class MacroAPI extends sap.ui.core.Control {
668
+ class MacroAPI
669
+ extends sap.ui.core.Control
670
+ implements sap.ui.core.IFormContent {
671
+ __implements__sap_ui_core_IFormContent: boolean;
672
+
608
673
  constructor();
609
674
  }
610
675
  /**
@@ -738,6 +803,12 @@ declare namespace sap {
738
803
  */
739
804
  vValues?: boolean | boolean[] | number | number[] | string | string[]
740
805
  ): Promise<void>;
806
+ /**
807
+ * Triggers the API search on the filter bar.
808
+ *
809
+ * @returns Returns a promise which resolves if filter go is triggered successfully; otherwise gets rejected.
810
+ */
811
+ triggerSearch(): Promise<any>;
741
812
  }
742
813
  /**
743
814
  * Building block for creating a Form based on the metadata provided by OData V4.