@sapui5/ts-types 1.113.0 → 1.114.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 (62) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +0 -1
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +45 -1
  8. package/types/sap.f.d.ts +51 -1
  9. package/types/sap.fe.core.d.ts +7 -3
  10. package/types/sap.fe.macros.d.ts +28 -3
  11. package/types/sap.fe.test.d.ts +1 -1
  12. package/types/sap.feedback.ui.d.ts +1 -1
  13. package/types/sap.gantt.d.ts +1 -1
  14. package/types/sap.insights.d.ts +1 -1
  15. package/types/sap.landvisz.d.ts +1 -1
  16. package/types/sap.m.d.ts +505 -996
  17. package/types/sap.makit.d.ts +1 -1
  18. package/types/sap.me.d.ts +1 -1
  19. package/types/sap.ndc.d.ts +1 -1
  20. package/types/sap.ovp.d.ts +1 -1
  21. package/types/sap.rules.ui.d.ts +1 -1
  22. package/types/sap.sac.df.d.ts +29 -577
  23. package/types/sap.suite.ui.commons.d.ts +5 -1
  24. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  25. package/types/sap.suite.ui.microchart.d.ts +1 -1
  26. package/types/sap.tnt.d.ts +1 -1
  27. package/types/sap.ui.codeeditor.d.ts +1 -1
  28. package/types/sap.ui.commons.d.ts +1 -1
  29. package/types/sap.ui.comp.d.ts +393 -257
  30. package/types/sap.ui.core.d.ts +1342 -856
  31. package/types/sap.ui.dt.d.ts +1 -1
  32. package/types/sap.ui.export.d.ts +1 -1
  33. package/types/sap.ui.fl.d.ts +1 -3
  34. package/types/sap.ui.generic.app.d.ts +2 -2
  35. package/types/sap.ui.generic.template.d.ts +1 -1
  36. package/types/sap.ui.integration.d.ts +107 -4
  37. package/types/sap.ui.layout.d.ts +1 -1
  38. package/types/sap.ui.mdc.d.ts +17 -7
  39. package/types/sap.ui.richtexteditor.d.ts +1 -1
  40. package/types/sap.ui.rta.d.ts +1 -1
  41. package/types/sap.ui.suite.d.ts +1 -1
  42. package/types/sap.ui.support.d.ts +1 -1
  43. package/types/sap.ui.table.d.ts +36 -1
  44. package/types/sap.ui.testrecorder.d.ts +1 -1
  45. package/types/sap.ui.unified.d.ts +159 -141
  46. package/types/sap.ui.ux3.d.ts +1 -1
  47. package/types/sap.ui.vbm.d.ts +1 -1
  48. package/types/sap.ui.vk.d.ts +40 -1
  49. package/types/sap.ui.vtm.d.ts +1 -1
  50. package/types/sap.ui.webc.common.d.ts +1 -1
  51. package/types/sap.ui.webc.fiori.d.ts +1 -1
  52. package/types/sap.ui.webc.main.d.ts +1 -1
  53. package/types/sap.uiext.inbox.d.ts +1 -1
  54. package/types/sap.ushell.d.ts +6 -6
  55. package/types/sap.ushell_abap.d.ts +1 -1
  56. package/types/sap.uxap.d.ts +1 -1
  57. package/types/sap.viz.d.ts +1 -1
  58. package/types/sap.webanalytics.core.d.ts +1 -1
  59. package/types/sap.zen.commons.d.ts +1 -1
  60. package/types/sap.zen.crosstab.d.ts +1 -1
  61. package/types/sap.zen.dsh.d.ts +1 -1
  62. package/types/sap.sac.grid.d.ts +0 -760
@@ -280,7 +280,7 @@ declare namespace sap {
280
280
  }
281
281
  }
282
282
 
283
- // For Library Version: 1.113.0
283
+ // For Library Version: 1.114.0
284
284
 
285
285
  declare module "sap/base/assert" {
286
286
  /**
@@ -300,7 +300,7 @@ declare module "sap/base/assert" {
300
300
  * Message that will be logged when the result is `false`. In case this is a function, the return value
301
301
  * of the function will be displayed. This can be used to execute complex code only if the assertion fails.
302
302
  */
303
- vMessage: string | Function
303
+ vMessage: string | (() => any)
304
304
  ): void;
305
305
  }
306
306
 
@@ -609,7 +609,7 @@ declare module "sap/base/Log" {
609
609
  */
610
610
  interface Log {
611
611
  /**
612
- * Allows to add a new LogListener that will be notified for new log entries.
612
+ * Allows to add a new listener that will be notified for new log entries.
613
613
  *
614
614
  * The given object must provide method `onLogEntry` and can also be informed about `onDetachFromLog`, `onAttachToLog`
615
615
  * and `onDiscardLogEntries`.
@@ -618,7 +618,7 @@ declare module "sap/base/Log" {
618
618
  /**
619
619
  * The new listener object that should be informed
620
620
  */
621
- oListener: object
621
+ oListener: Listener
622
622
  ): void;
623
623
  /**
624
624
  * Creates a new debug-level entry in the log with the given message, details and calling component.
@@ -718,9 +718,9 @@ declare module "sap/base/Log" {
718
718
  *
719
719
  * @returns an array containing the recorded log entries
720
720
  */
721
- getLogEntries(): object[];
721
+ getLogEntries(): Entry[];
722
722
  /**
723
- * Returns a dedicated logger for a component
723
+ * Returns a dedicated logger for a component.
724
724
  *
725
725
  * The logger comes with the same API as the `sap/base/Log` module:
726
726
  * `#fatal` - see: {@link module:sap/base/Log.fatal} `#error` - see: {@link module:sap/base/Log.error}
@@ -740,7 +740,7 @@ declare module "sap/base/Log" {
740
740
  * The default log level
741
741
  */
742
742
  iDefaultLogLevel?: Level
743
- ): object;
743
+ ): Logger;
744
744
  /**
745
745
  * Creates a new info-level entry in the log with the given message, details and calling component.
746
746
  */
@@ -789,9 +789,9 @@ declare module "sap/base/Log" {
789
789
  */
790
790
  removeLogListener(
791
791
  /**
792
- * The new listener object that should be removed
792
+ * The listener object that should be removed
793
793
  */
794
- oListener: object
794
+ oListener: Listener
795
795
  ): void;
796
796
  /**
797
797
  * Defines the maximum `sap/base/Log.Level` of log entries that will be recorded. Log entries with a higher
@@ -866,6 +866,41 @@ declare module "sap/base/Log" {
866
866
  const Log: Log;
867
867
  export default Log;
868
868
 
869
+ export type Entry = {
870
+ /**
871
+ * The number of milliseconds since the epoch
872
+ */
873
+ timestamp: float;
874
+ /**
875
+ * Time string in format HH:mm:ss:mmmnnn
876
+ */
877
+ time: string;
878
+ /**
879
+ * Date string in format yyyy-MM-dd
880
+ */
881
+ date: string;
882
+ /**
883
+ * The level of the log entry, see {@link module:sap/base/Log.Level}
884
+ */
885
+ level: Level;
886
+ /**
887
+ * The message of the log entry
888
+ */
889
+ message: string;
890
+ /**
891
+ * The detailed information of the log entry
892
+ */
893
+ details: string;
894
+ /**
895
+ * The component that creates the log entry
896
+ */
897
+ component: string;
898
+ /**
899
+ * Callback that returns an additional support object to be logged in support mode.
900
+ */
901
+ supportInfo?: () => any;
902
+ };
903
+
869
904
  /**
870
905
  * Enumeration of the configurable log levels that a Logger should persist to the log.
871
906
  *
@@ -906,6 +941,265 @@ declare module "sap/base/Log" {
906
941
  */
907
942
  WARNING = "undefined",
908
943
  }
944
+ /**
945
+ * Interface to be implemented by a log listener.
946
+ *
947
+ * Typically, a listener will at least implement the {@link #.onLogEntry} method, but in general, all methods
948
+ * are optional.
949
+ */
950
+ export interface Listener {
951
+ __implements__sap_base_Log_Listener: boolean;
952
+
953
+ /**
954
+ * The function that is called once the Listener is attached
955
+ */
956
+ onAttachToLog?(
957
+ /**
958
+ * The Log instance where the listener is attached
959
+ */
960
+ oLog: Log
961
+ ): void;
962
+ /**
963
+ * The function that is called once the Listener is detached
964
+ */
965
+ onDetachFromLog?(
966
+ /**
967
+ * The Log instance where the listener is detached
968
+ */
969
+ oLog: Log
970
+ ): void;
971
+ /**
972
+ * The function that is called once log entries are discarded due to the exceed of total log entry amount
973
+ */
974
+ onDiscardLogEntries?(
975
+ /**
976
+ * The discarded log entries
977
+ */
978
+ aDiscardedEntries: Entry[]
979
+ ): void;
980
+ /**
981
+ * The function that is called when a new log entry is created
982
+ */
983
+ onLogEntry?(
984
+ /**
985
+ * The newly created log entry
986
+ */
987
+ oLogEntry: Entry
988
+ ): void;
989
+ }
990
+
991
+ /**
992
+ * The logger comes with a subset of the API of the `sap/base/Log` module:
993
+ * `#fatal` - see: {@link module:sap/base/Log.fatal} `#error` - see: {@link module:sap/base/Log.error}
994
+ * `#warning` - see: {@link module:sap/base/Log.warning} `#info` - see: {@link module:sap/base/Log.info}
995
+ * `#debug` - see: {@link module:sap/base/Log.debug} `#trace` - see: {@link module:sap/base/Log.trace}
996
+ * `#setLevel` - see: {@link module:sap/base/Log.setLevel} `#getLevel` - see: {@link module:sap/base/Log.getLevel}
997
+ * `#isLoggable` - see: {@link module:sap/base/Log.isLoggable}
998
+ */
999
+ export interface Logger {
1000
+ __implements__sap_base_Log_Logger: boolean;
1001
+
1002
+ /**
1003
+ * Creates a new debug-level entry in the log with the given message, details and calling component.
1004
+ */
1005
+ debug(
1006
+ /**
1007
+ * Message text to display
1008
+ */
1009
+ sMessage: string,
1010
+ /**
1011
+ * Optional details about the message, might be omitted. Can be an Error object which will be logged with
1012
+ * the stack.
1013
+ */
1014
+ vDetails?: string | Error,
1015
+ /**
1016
+ * Name of the component that produced the log entry
1017
+ */
1018
+ sComponent?: string,
1019
+ /**
1020
+ * Callback that returns an additional support object to be logged in support mode. This function is only
1021
+ * called if support info mode is turned on with `logSupportInfo(true)`. To avoid negative effects regarding
1022
+ * execution times and memory consumption, the returned object should be a simple immutable JSON object
1023
+ * with mostly static and stable content.
1024
+ */
1025
+ fnSupportInfo?: Function
1026
+ ): void;
1027
+ /**
1028
+ * Creates a new error-level entry in the log with the given message, details and calling component.
1029
+ */
1030
+ error(
1031
+ /**
1032
+ * Message text to display
1033
+ */
1034
+ sMessage: string,
1035
+ /**
1036
+ * Optional details about the message, might be omitted. Can be an Error object which will be logged together
1037
+ * with its stacktrace.
1038
+ */
1039
+ vDetails?: string | Error,
1040
+ /**
1041
+ * Name of the component that produced the log entry
1042
+ */
1043
+ sComponent?: string,
1044
+ /**
1045
+ * Callback that returns an additional support object to be logged in support mode. This function is only
1046
+ * called if support info mode is turned on with `logSupportInfo(true)`. To avoid negative effects regarding
1047
+ * execution times and memory consumption, the returned object should be a simple immutable JSON object
1048
+ * with mostly static and stable content.
1049
+ */
1050
+ fnSupportInfo?: Function
1051
+ ): void;
1052
+ /**
1053
+ * Creates a new fatal-level entry in the log with the given message, details and calling component.
1054
+ */
1055
+ fatal(
1056
+ /**
1057
+ * Message text to display
1058
+ */
1059
+ sMessage: string,
1060
+ /**
1061
+ * Optional details about the message, might be omitted. Can be an Error object which will be logged together
1062
+ * with its stacktrace.
1063
+ */
1064
+ vDetails?: string | Error,
1065
+ /**
1066
+ * Name of the component that produced the log entry
1067
+ */
1068
+ sComponent?: string,
1069
+ /**
1070
+ * Callback that returns an additional support object to be logged in support mode. This function is only
1071
+ * called if support info mode is turned on with `logSupportInfo(true)`. To avoid negative effects regarding
1072
+ * execution times and memory consumption, the returned object should be a simple immutable JSON object
1073
+ * with mostly static and stable content.
1074
+ */
1075
+ fnSupportInfo?: Function
1076
+ ): void;
1077
+ /**
1078
+ * Returns the log level currently effective for the given component. If no component is given or when no
1079
+ * level has been configured for a given component, the log level for the default component of this logger
1080
+ * is returned.
1081
+ *
1082
+ * @returns The log level for the given component or the default log level
1083
+ */
1084
+ getLevel(
1085
+ /**
1086
+ * Name of the component to retrieve the log level for
1087
+ */
1088
+ sComponent?: string
1089
+ ): Level;
1090
+ /**
1091
+ * Creates a new info-level entry in the log with the given message, details and calling component.
1092
+ */
1093
+ info(
1094
+ /**
1095
+ * Message text to display
1096
+ */
1097
+ sMessage: string,
1098
+ /**
1099
+ * Optional details about the message, might be omitted. Can be an Error object which will be logged with
1100
+ * the stack.
1101
+ */
1102
+ vDetails?: string | Error,
1103
+ /**
1104
+ * Name of the component that produced the log entry
1105
+ */
1106
+ sComponent?: string,
1107
+ /**
1108
+ * Callback that returns an additional support object to be logged in support mode. This function is only
1109
+ * called if support info mode is turned on with `logSupportInfo(true)`. To avoid negative effects regarding
1110
+ * execution times and memory consumption, the returned object should be a simple immutable JSON object
1111
+ * with mostly static and stable content.
1112
+ */
1113
+ fnSupportInfo?: Function
1114
+ ): void;
1115
+ /**
1116
+ * Checks whether logging is enabled for the given log level, depending on the currently effective log level
1117
+ * for the given component.
1118
+ *
1119
+ * If no component is given, the default component of this logger will be taken into account.
1120
+ *
1121
+ * @returns Whether logging is enabled or not
1122
+ */
1123
+ isLoggable(
1124
+ /**
1125
+ * The log level in question
1126
+ */
1127
+ iLevel?: Level,
1128
+ /**
1129
+ * Name of the component to check the log level for
1130
+ */
1131
+ sComponent?: string
1132
+ ): boolean;
1133
+ /**
1134
+ * Defines the maximum `sap/base/Log.Level` of log entries that will be recorded. Log entries with a higher
1135
+ * (less important) log level will be omitted from the log. When a component name is given, the log level
1136
+ * will be configured for that component only, otherwise the log level for the default component of this
1137
+ * logger is set. For the global logger, the global default level is set.
1138
+ *
1139
+ * **Note**: Setting a global default log level has no impact on already defined component log levels. They
1140
+ * always override the global default log level.
1141
+ */
1142
+ setLevel(
1143
+ /**
1144
+ * The new log level
1145
+ */
1146
+ iLogLevel: Level,
1147
+ /**
1148
+ * The log component to set the log level for
1149
+ */
1150
+ sComponent?: string
1151
+ ): void;
1152
+ /**
1153
+ * Creates a new trace-level entry in the log with the given message, details and calling component.
1154
+ */
1155
+ trace(
1156
+ /**
1157
+ * Message text to display
1158
+ */
1159
+ sMessage: string,
1160
+ /**
1161
+ * Optional details about the message, might be omitted. Can be an Error object which will be logged with
1162
+ * the stack.
1163
+ */
1164
+ vDetails?: string | Error,
1165
+ /**
1166
+ * Name of the component that produced the log entry
1167
+ */
1168
+ sComponent?: string,
1169
+ /**
1170
+ * Callback that returns an additional support object to be logged in support mode. This function is only
1171
+ * called if support info mode is turned on with `logSupportInfo(true)`. To avoid negative effects regarding
1172
+ * execution times and memory consumption, the returned object should be a simple immutable JSON object
1173
+ * with mostly static and stable content.
1174
+ */
1175
+ fnSupportInfo?: Function
1176
+ ): void;
1177
+ /**
1178
+ * Creates a new warning-level entry in the log with the given message, details and calling component.
1179
+ */
1180
+ warning(
1181
+ /**
1182
+ * Message text to display
1183
+ */
1184
+ sMessage: string,
1185
+ /**
1186
+ * Optional details about the message, might be omitted. Can be an Error object which will be logged together
1187
+ * with its stacktrace.
1188
+ */
1189
+ vDetails?: string | Error,
1190
+ /**
1191
+ * Name of the component that produced the log entry
1192
+ */
1193
+ sComponent?: string,
1194
+ /**
1195
+ * Callback that returns an additional support object to be logged in support mode. This function is only
1196
+ * called if support info mode is turned on with `logSupportInfo(true)`. To avoid negative effects regarding
1197
+ * execution times and memory consumption, the returned object should be a simple immutable JSON object
1198
+ * with mostly static and stable content.
1199
+ */
1200
+ fnSupportInfo?: Function
1201
+ ): void;
1202
+ }
909
1203
  }
910
1204
 
911
1205
  declare module "sap/base/security/encodeCSS" {
@@ -1528,12 +1822,12 @@ declare module "sap/base/util/Deferred" {
1528
1822
  * object creates a `Promise` instance which functions as a proxy for the future result. This `Promise`
1529
1823
  * object can be accessed via the `promise` property of the `Deferred` object.
1530
1824
  */
1531
- export default class Deferred {
1825
+ export default class Deferred<T extends any = any> {
1532
1826
  constructor();
1533
1827
  /**
1534
1828
  * Promise instance of the Deferred
1535
1829
  */
1536
- promise: Promise<any>;
1830
+ promise: Promise<T>;
1537
1831
 
1538
1832
  /**
1539
1833
  * Proxy call to the `reject` method of the wrapped Promise
@@ -1551,7 +1845,7 @@ declare module "sap/base/util/Deferred" {
1551
1845
  /**
1552
1846
  * Fulfillment value
1553
1847
  */
1554
- value?: any
1848
+ value?: T
1555
1849
  ): void;
1556
1850
  }
1557
1851
  }
@@ -2373,11 +2667,14 @@ declare module "sap/ui/core/date/UI5Date" {
2373
2667
  *
2374
2668
  * A date implementation considering the configured time zone
2375
2669
  *
2376
- * A subclass of JavaScript `Date` that considers the configured time zone, see {@link sap.ui.core.Configuration.getTimezone}.
2670
+ * A subclass of JavaScript `Date` that considers the configured time zone, see {@link sap.ui.core.Configuration#getTimezone}.
2377
2671
  * All JavaScript `Date` functions that use the local browser time zone, like `getDate`, `setDate`, and
2378
2672
  * `toString`, are overwritten and use the configured time zone to compute the values.
2379
2673
  *
2380
2674
  * Use {@link module:sap/ui/core/date/UI5Date.getInstance} to create new date instances.
2675
+ *
2676
+ * **Note:** Adjusting the time zone in a running application can lead to unexpected data inconsistencies.
2677
+ * For more information, see {@link sap.ui.core.Configuration#setTimezone}.
2381
2678
  */
2382
2679
  export default class UI5Date extends Date {
2383
2680
  constructor();
@@ -2386,8 +2683,11 @@ declare module "sap/ui/core/date/UI5Date" {
2386
2683
  * Creates a date instance (either JavaScript Date or `UI5Date`) which considers the configured time zone
2387
2684
  * wherever JavaScript Date uses the local browser time zone, for example in `getDate`, `toString`, or `setHours`.
2388
2685
  * The supported parameters are the same as the ones supported by the JavaScript Date constructor.
2686
+ *
2687
+ * **Note:** Adjusting the time zone in a running application can lead to unexpected data inconsistencies.
2688
+ * For more information, see {@link sap.ui.core.Configuration#setTimezone}.
2389
2689
  * See:
2390
- * sap.ui.core.Configuration.getTimezone
2690
+ * sap.ui.core.Configuration#getTimezone
2391
2691
  *
2392
2692
  * @returns The date instance that considers the configured time zone in all local getters and setters.
2393
2693
  */
@@ -2401,23 +2701,23 @@ declare module "sap/ui/core/date/UI5Date" {
2401
2701
  */
2402
2702
  vMonthIndex?: int | string,
2403
2703
  /**
2404
- * Same meaning as in the Date constructor
2704
+ * Same meaning as in the JavaScript Date constructor
2405
2705
  */
2406
2706
  vDay?: int | string,
2407
2707
  /**
2408
- * Same meaning as in the Date constructor
2708
+ * Same meaning as in the JavaScript Date constructor
2409
2709
  */
2410
2710
  vHours?: int | string,
2411
2711
  /**
2412
- * Same meaning as in the Date constructor
2712
+ * Same meaning as in the JavaScript Date constructor
2413
2713
  */
2414
2714
  vMinutes?: int | string,
2415
2715
  /**
2416
- * Same meaning as in the Date constructor
2716
+ * Same meaning as in the JavaScript Date constructor
2417
2717
  */
2418
2718
  vSeconds?: int | string,
2419
2719
  /**
2420
- * Same meaning as in the Date constructor
2720
+ * Same meaning as in the JavaScript Date constructor
2421
2721
  */
2422
2722
  vMilliseconds?: int | string
2423
2723
  ): Date | UI5Date;
@@ -3202,12 +3502,12 @@ declare module "sap/ui/dom/includeScript" {
3202
3502
  /**
3203
3503
  * callback function to get notified once the script has been loaded
3204
3504
  */
3205
- fnLoadCallback?: Function,
3505
+ fnLoadCallback?: (p1: Event) => void,
3206
3506
  /**
3207
3507
  * callback function to get notified once the script loading failed
3208
3508
  */
3209
- fnErrorCallback?: Function
3210
- ): void | Promise<any>;
3509
+ fnErrorCallback?: (p1: Event) => void
3510
+ ): void | Promise<Event>;
3211
3511
  }
3212
3512
 
3213
3513
  declare module "sap/ui/dom/includeStylesheet" {
@@ -3254,12 +3554,12 @@ declare module "sap/ui/dom/includeStylesheet" {
3254
3554
  /**
3255
3555
  * callback function to get notified once the stylesheet has been loaded
3256
3556
  */
3257
- fnLoadCallback?: Function,
3557
+ fnLoadCallback?: (p1: Event) => void,
3258
3558
  /**
3259
3559
  * callback function to get notified once the stylesheet loading failed.
3260
3560
  */
3261
- fnErrorCallback?: Function
3262
- ): void | Promise<any>;
3561
+ fnErrorCallback?: (p1: Event) => void
3562
+ ): void | Promise<Event>;
3263
3563
  }
3264
3564
 
3265
3565
  declare module "sap/ui/events/checkMouseEnterOrLeave" {
@@ -3310,7 +3610,7 @@ declare module "sap/ui/events/ControlEvents" {
3310
3610
  /**
3311
3611
  * Callback function
3312
3612
  */
3313
- fnCallback: Function
3613
+ fnCallback: (p1: Event) => void
3314
3614
  ): void;
3315
3615
  /**
3316
3616
  * Unbinds all events for listening with the given callback function.
@@ -3319,7 +3619,7 @@ declare module "sap/ui/events/ControlEvents" {
3319
3619
  /**
3320
3620
  * Callback function
3321
3621
  */
3322
- fnCallback: Function
3622
+ fnCallback: (p1: Event) => void
3323
3623
  ): void;
3324
3624
  }
3325
3625
  const ControlEvents: ControlEvents;
@@ -3543,6 +3843,34 @@ declare module "sap/ui/events/PseudoEvents" {
3543
3843
  * @SINCE 1.58
3544
3844
  */
3545
3845
  interface PseudoEvents {
3846
+ /**
3847
+ * Map of all so called "pseudo events", a useful classification of standard browser events as implied by
3848
+ * SAP product standards.
3849
+ *
3850
+ * This map is intended to be used internally in UI5 framework and UI5 Controls.
3851
+ *
3852
+ * Whenever a browser event is recognized as one or more pseudo events, then this classification is attached
3853
+ * to the original {@link jQuery.Event} object and thereby delivered to any jQuery-style listeners registered
3854
+ * for that browser event.
3855
+ *
3856
+ * Pure JavaScript listeners can evaluate the classification information using the {@link jQuery.Event.prototype.isPseudoType}
3857
+ * method.
3858
+ *
3859
+ * Instead of using the procedure as described above, the SAPUI5 controls and elements should simply implement
3860
+ * an `onpseudo-event(oEvent)` method. It will be invoked only when that specific pseudo event has
3861
+ * been recognized. This simplifies event dispatching even further.
3862
+ */
3863
+ events: Record<
3864
+ string,
3865
+ {
3866
+ sName: string;
3867
+
3868
+ aTypes: string[];
3869
+
3870
+ fnCheck: (p1: Event) => boolean;
3871
+ }
3872
+ >;
3873
+
3546
3874
  /**
3547
3875
  * Ordered array of the {@link module:sap/ui/events/PseudoEvents.events}.
3548
3876
  *
@@ -3553,228 +3881,6 @@ declare module "sap/ui/events/PseudoEvents" {
3553
3881
  }
3554
3882
  const PseudoEvents: PseudoEvents;
3555
3883
  export default PseudoEvents;
3556
-
3557
- /**
3558
- * Enumeration of all so called "pseudo events", a useful classification of standard browser events as implied
3559
- * by SAP product standards.
3560
- *
3561
- * Whenever a browser event is recognized as one or more pseudo events, then this classification is attached
3562
- * to the original {@link jQuery.Event} object and thereby delivered to any jQuery-style listeners registered
3563
- * for that browser event.
3564
- *
3565
- * Pure JavaScript listeners can evaluate the classification information using the {@link jQuery.Event.prototype.isPseudoType}
3566
- * method.
3567
- *
3568
- * Instead of using the procedure as described above, the SAPUI5 controls and elements should simply implement
3569
- * an `onpseudo-event(oEvent)` method. It will be invoked only when that specific pseudo event has
3570
- * been recognized. This simplifies event dispatching even further.
3571
- */
3572
- export enum events {
3573
- /**
3574
- * Pseudo event for keyboard backspace without modifiers (Ctrl, Alt or Shift)
3575
- */
3576
- sapbackspace = "undefined",
3577
- /**
3578
- * Pseudo event for keyboard backspace with modifiers (Ctrl, Alt or Shift)
3579
- */
3580
- sapbackspacemodifiers = "undefined",
3581
- /**
3582
- * Pseudo event for pseudo bottom event
3583
- */
3584
- sapbottom = "undefined",
3585
- /**
3586
- * Pseudo event for pseudo collapse event (keyboard numpad -) without modifiers (Ctrl, Alt or Shift)
3587
- */
3588
- sapcollapse = "undefined",
3589
- /**
3590
- * Pseudo event for pseudo collapse event (keyboard numpad *)
3591
- */
3592
- sapcollapseall = "undefined",
3593
- /**
3594
- * Pseudo event for pseudo collapse event (keyboard numpad -) with modifiers (Ctrl, Alt or Shift)
3595
- */
3596
- sapcollapsemodifiers = "undefined",
3597
- /**
3598
- * Pseudo event for pseudo 'decrease' event without modifiers (Ctrl, Alt or Shift)
3599
- */
3600
- sapdecrease = "undefined",
3601
- /**
3602
- * Pseudo event for pseudo 'decrease' event with modifiers (Ctrl, Alt or Shift)
3603
- */
3604
- sapdecreasemodifiers = "undefined",
3605
- /**
3606
- * Pseudo event indicating delayed double click (e.g. for inline edit)
3607
- */
3608
- sapdelayeddoubleclick = "undefined",
3609
- /**
3610
- * Pseudo event for keyboard delete without modifiers (Ctrl, Alt or Shift)
3611
- */
3612
- sapdelete = "undefined",
3613
- /**
3614
- * Pseudo event for keyboard delete with modifiers (Ctrl, Alt or Shift)
3615
- */
3616
- sapdeletemodifiers = "undefined",
3617
- /**
3618
- * Pseudo event for keyboard arrow down without modifiers (Ctrl, Alt or Shift)
3619
- */
3620
- sapdown = "undefined",
3621
- /**
3622
- * Pseudo event for keyboard arrow down with modifiers (Ctrl, Alt or Shift)
3623
- */
3624
- sapdownmodifiers = "undefined",
3625
- /**
3626
- * Pseudo event for keyboard End without modifiers (Ctrl, Alt or Shift)
3627
- */
3628
- sapend = "undefined",
3629
- /**
3630
- * Pseudo event for keyboard End with modifiers (Ctrl, Alt or Shift)
3631
- */
3632
- sapendmodifiers = "undefined",
3633
- /**
3634
- * Pseudo event for keyboard enter without modifiers (Ctrl, Alt or Shift)
3635
- */
3636
- sapenter = "undefined",
3637
- /**
3638
- * Pseudo event for keyboard enter with modifiers (Ctrl, Alt or Shift)
3639
- */
3640
- sapentermodifiers = "undefined",
3641
- /**
3642
- * Pseudo event for keyboard escape
3643
- */
3644
- sapescape = "undefined",
3645
- /**
3646
- * Pseudo event for pseudo expand event (keyboard numpad +) without modifiers (Ctrl, Alt or Shift)
3647
- */
3648
- sapexpand = "undefined",
3649
- /**
3650
- * Pseudo event for pseudo expand event (keyboard numpad +) with modifiers (Ctrl, Alt or Shift)
3651
- */
3652
- sapexpandmodifiers = "undefined",
3653
- /**
3654
- * Pseudo event for pseudo 'hide' event (Alt + up-Arrow)
3655
- */
3656
- saphide = "undefined",
3657
- /**
3658
- * Pseudo event for keyboard Home/Pos1 with modifiers (Ctrl, Alt or Shift)
3659
- */
3660
- saphome = "undefined",
3661
- /**
3662
- * Pseudo event for keyboard Home/Pos1 without modifiers (Ctrl, Alt or Shift)
3663
- */
3664
- saphomemodifiers = "undefined",
3665
- /**
3666
- * Pseudo event for pseudo 'increase' event without modifiers (Ctrl, Alt or Shift)
3667
- */
3668
- sapincrease = "undefined",
3669
- /**
3670
- * Pseudo event for pseudo 'increase' event with modifiers (Ctrl, Alt or Shift)
3671
- */
3672
- sapincreasemodifiers = "undefined",
3673
- /**
3674
- * Pseudo event for keyboard arrow left without modifiers (Ctrl, Alt or Shift)
3675
- */
3676
- sapleft = "undefined",
3677
- /**
3678
- * Pseudo event for keyboard arrow left with modifiers (Ctrl, Alt or Shift)
3679
- */
3680
- sapleftmodifiers = "undefined",
3681
- /**
3682
- * Pseudo event for pressing the '-' (minus) sign.
3683
- */
3684
- sapminus = "undefined",
3685
- /**
3686
- * Pseudo event for pseudo 'next' event without modifiers (Ctrl, Alt or Shift)
3687
- */
3688
- sapnext = "undefined",
3689
- /**
3690
- * Pseudo event for pseudo 'next' event with modifiers (Ctrl, Alt or Shift)
3691
- */
3692
- sapnextmodifiers = "undefined",
3693
- /**
3694
- * Pseudo event for keyboard page down without modifiers (Ctrl, Alt or Shift)
3695
- */
3696
- sappagedown = "undefined",
3697
- /**
3698
- * Pseudo event for keyboard page down with modifiers (Ctrl, Alt or Shift)
3699
- */
3700
- sappagedownmodifiers = "undefined",
3701
- /**
3702
- * Pseudo event for keyboard page up without modifiers (Ctrl, Alt or Shift)
3703
- */
3704
- sappageup = "undefined",
3705
- /**
3706
- * Pseudo event for keyboard page up with modifiers (Ctrl, Alt or Shift)
3707
- */
3708
- sappageupmodifiers = "undefined",
3709
- /**
3710
- * Pseudo event for pressing the '+' (plus) sign.
3711
- */
3712
- sapplus = "undefined",
3713
- /**
3714
- * Pseudo event for pseudo 'previous' event without modifiers (Ctrl, Alt or Shift)
3715
- */
3716
- sapprevious = "undefined",
3717
- /**
3718
- * Pseudo event for pseudo 'previous' event with modifiers (Ctrl, Alt or Shift)
3719
- */
3720
- sappreviousmodifiers = "undefined",
3721
- /**
3722
- * Pseudo event for keyboard arrow right without modifiers (Ctrl, Alt or Shift)
3723
- */
3724
- sapright = "undefined",
3725
- /**
3726
- * Pseudo event for keyboard arrow right with modifiers (Ctrl, Alt or Shift)
3727
- */
3728
- saprightmodifiers = "undefined",
3729
- /**
3730
- * Pseudo event for pseudo 'select' event... space, enter, ... without modifiers (Ctrl, Alt or Shift)
3731
- */
3732
- sapselect = "undefined",
3733
- /**
3734
- * Pseudo event for pseudo 'select' event... space, enter, ... with modifiers (Ctrl, Alt or Shift)
3735
- */
3736
- sapselectmodifiers = "undefined",
3737
- /**
3738
- * Pseudo event for pseudo 'show' event (F4, Alt + down-Arrow)
3739
- */
3740
- sapshow = "undefined",
3741
- /**
3742
- * Pseudo event for pseudo skip back (F6 + shift modifier or ctrl + alt + ArrowUp)
3743
- */
3744
- sapskipback = "undefined",
3745
- /**
3746
- * Pseudo event for pseudo skip forward (F6 + no modifier or ctrl + alt + ArrowDown)
3747
- */
3748
- sapskipforward = "undefined",
3749
- /**
3750
- * Pseudo event for keyboard space without modifiers (Ctrl, Alt or Shift)
3751
- */
3752
- sapspace = "undefined",
3753
- /**
3754
- * Pseudo event for keyboard space with modifiers (Ctrl, Alt or Shift)
3755
- */
3756
- sapspacemodifiers = "undefined",
3757
- /**
3758
- * Pseudo event for keyboard tab (TAB + no modifier)
3759
- */
3760
- saptabnext = "undefined",
3761
- /**
3762
- * Pseudo event for keyboard tab (TAB + shift modifier)
3763
- */
3764
- saptabprevious = "undefined",
3765
- /**
3766
- * Pseudo event for pseudo top event
3767
- */
3768
- saptop = "undefined",
3769
- /**
3770
- * Pseudo event for keyboard arrow up without modifiers (Ctrl, Alt or Shift)
3771
- */
3772
- sapup = "undefined",
3773
- /**
3774
- * Pseudo event for keyboard arrow up with modifiers (Ctrl, Alt or Shift)
3775
- */
3776
- sapupmodifiers = "undefined",
3777
- }
3778
3884
  }
3779
3885
 
3780
3886
  declare module "sap/ui/model/FilterProcessor" {
@@ -3815,7 +3921,7 @@ declare module "sap/ui/performance/Measurement" {
3815
3921
  *
3816
3922
  * This is useful to add external measurements (e.g. from a backend) to the common measurement UI
3817
3923
  *
3818
- * @returns [] current measurement containing id, info and start-timestamp, end-timestamp, time, duration,
3924
+ * @returns current measurement containing id, info and start-timestamp, end-timestamp, time, duration,
3819
3925
  * categories (false if error)
3820
3926
  */
3821
3927
  add(
@@ -3847,7 +3953,7 @@ declare module "sap/ui/performance/Measurement" {
3847
3953
  * An optional list of categories for the measure
3848
3954
  */
3849
3955
  aCategories?: string | string[]
3850
- ): object;
3956
+ ): Entry | boolean | undefined;
3851
3957
  /**
3852
3958
  * Starts an average performance measure.
3853
3959
  *
@@ -3869,7 +3975,7 @@ declare module "sap/ui/performance/Measurement" {
3869
3975
  * An optional list of categories for the measure
3870
3976
  */
3871
3977
  aCategories?: string | string[]
3872
- ): object;
3978
+ ): Entry | boolean | undefined;
3873
3979
  /**
3874
3980
  * Clears all performance measurements.
3875
3981
  */
@@ -3885,7 +3991,7 @@ declare module "sap/ui/performance/Measurement" {
3885
3991
  * ID of the measurement
3886
3992
  */
3887
3993
  sId: string
3888
- ): object;
3994
+ ): Entry | boolean | undefined;
3889
3995
  /**
3890
3996
  * Gets all performance measurements where a provided filter function returns a truthy value.
3891
3997
  *
@@ -3900,7 +4006,7 @@ declare module "sap/ui/performance/Measurement" {
3900
4006
  /**
3901
4007
  * a filter function that returns true if the passed measurement should be added to the result
3902
4008
  */
3903
- fnFilter?: Function,
4009
+ fnFilter?: (p1: Entry) => void,
3904
4010
  /**
3905
4011
  * Optional parameter to determine if either completed or incomplete measurements should be returned (both
3906
4012
  * if not set or undefined)
@@ -3929,7 +4035,7 @@ declare module "sap/ui/performance/Measurement" {
3929
4035
  * are returned
3930
4036
  */
3931
4037
  bCompleted?: boolean
3932
- ): Entry;
4038
+ ): Entry[];
3933
4039
  /**
3934
4040
  * Gets a performance measure.
3935
4041
  *
@@ -3941,7 +4047,7 @@ declare module "sap/ui/performance/Measurement" {
3941
4047
  * ID of the measurement
3942
4048
  */
3943
4049
  sId: string
3944
- ): Entry;
4050
+ ): Entry | boolean;
3945
4051
  /**
3946
4052
  * Pauses a performance measure.
3947
4053
  *
@@ -3952,7 +4058,7 @@ declare module "sap/ui/performance/Measurement" {
3952
4058
  * ID of the measurement
3953
4059
  */
3954
4060
  sId: string
3955
- ): object;
4061
+ ): Entry | boolean | undefined;
3956
4062
  /**
3957
4063
  * Registers an average measurement for a given objects method.
3958
4064
  *
@@ -3995,7 +4101,7 @@ declare module "sap/ui/performance/Measurement" {
3995
4101
  * ID of the measurement
3996
4102
  */
3997
4103
  sId: string
3998
- ): object;
4104
+ ): Entry | boolean | undefined;
3999
4105
  /**
4000
4106
  * Activates or deactivates the performance measure functionality.
4001
4107
  *
@@ -4034,7 +4140,7 @@ declare module "sap/ui/performance/Measurement" {
4034
4140
  * An optional list of categories for the measure
4035
4141
  */
4036
4142
  aCategories?: string | string[]
4037
- ): object;
4143
+ ): Entry | boolean | undefined;
4038
4144
  /**
4039
4145
  * Unregisters all average measurements.
4040
4146
  */
@@ -4138,6 +4244,8 @@ declare module "sap/ui/performance/trace/FESRHelper" {
4138
4244
  }
4139
4245
 
4140
4246
  declare module "sap/ui/performance/trace/Interaction" {
4247
+ import { Entry as Entry1 } from "sap/ui/performance/Measurement";
4248
+
4141
4249
  /**
4142
4250
  * @SINCE 1.76
4143
4251
  *
@@ -4168,7 +4276,7 @@ declare module "sap/ui/performance/trace/Interaction" {
4168
4276
  * a filter function that returns true if the passed measurement should be added to the result
4169
4277
  */
4170
4278
  fnFilter: Function
4171
- ): object[];
4279
+ ): Entry[];
4172
4280
  /**
4173
4281
  * @SINCE 1.76
4174
4282
  *
@@ -4189,7 +4297,7 @@ declare module "sap/ui/performance/trace/Interaction" {
4189
4297
  * finalize the current pending interaction so that it is contained in the returned array
4190
4298
  */
4191
4299
  bFinalize: boolean
4192
- ): object[];
4300
+ ): Entry[];
4193
4301
  /**
4194
4302
  * @SINCE 1.76
4195
4303
  *
@@ -4204,6 +4312,114 @@ declare module "sap/ui/performance/trace/Interaction" {
4204
4312
  }
4205
4313
  const Interaction: Interaction;
4206
4314
  export default Interaction;
4315
+
4316
+ /**
4317
+ * Interaction Entry
4318
+ */
4319
+ export type Entry = {
4320
+ /**
4321
+ * The event which triggered the interaction. The default value is "startup".
4322
+ */
4323
+ event: string;
4324
+ /**
4325
+ * The control which triggered the interaction.
4326
+ */
4327
+ trigger: string;
4328
+ /**
4329
+ * The identifier of the component or app that is associated with the interaction.
4330
+ */
4331
+ component: string;
4332
+ /**
4333
+ * The application version as from app descriptor
4334
+ */
4335
+ appVersion: string;
4336
+ /**
4337
+ * The start timestamp of the interaction which is initially set to the `fetchStart`
4338
+ */
4339
+ start: float;
4340
+ /**
4341
+ * The end timestamp of the interaction
4342
+ */
4343
+ end: float;
4344
+ /**
4345
+ * The sum over all navigation times
4346
+ */
4347
+ navigation: float;
4348
+ /**
4349
+ * The time from first request sent to last received response end - without gaps and ignored overlap
4350
+ */
4351
+ roundtrip: float;
4352
+ /**
4353
+ * The client processing time
4354
+ */
4355
+ processing: float;
4356
+ /**
4357
+ * The interaction duration
4358
+ */
4359
+ duration: float;
4360
+ /**
4361
+ * The Performance API requests during interaction
4362
+ */
4363
+ requests: PerformanceResourceTiming[];
4364
+ /**
4365
+ * The Performance measurements
4366
+ */
4367
+ measurements: Entry1[];
4368
+ /**
4369
+ * The SAP Statistics for OData
4370
+ */
4371
+ sapStatistics: SAPStatistics[];
4372
+ /**
4373
+ * The sum over all requests in the interaction
4374
+ */
4375
+ requestTime: float;
4376
+ /**
4377
+ * The request time minus server time from the header
4378
+ */
4379
+ networkTime: float;
4380
+ /**
4381
+ * The sum over all requests bytes
4382
+ */
4383
+ bytesSent: int;
4384
+ /**
4385
+ * The sum over all responses bytes
4386
+ */
4387
+ bytesReceived: int;
4388
+ /**
4389
+ * It's set with value "X" by default When compression does not match SAP rules, we report an empty string.
4390
+ */
4391
+ requestCompression: "X" | "";
4392
+ /**
4393
+ * The sum of the global busy indicator duration during the interaction
4394
+ */
4395
+ busyDuration: float;
4396
+ /**
4397
+ * The ID of the interaction
4398
+ */
4399
+ id: string;
4400
+ /**
4401
+ * The default PassportAction for startup
4402
+ */
4403
+ passportAction: string;
4404
+ };
4405
+
4406
+ /**
4407
+ * The SAP Statistics for OData
4408
+ */
4409
+ export type SAPStatistics = {
4410
+ /**
4411
+ * The url of the response
4412
+ */
4413
+ url: string;
4414
+ /**
4415
+ * The response header under the key "sap-statistics"
4416
+ */
4417
+ statistics: string;
4418
+ /**
4419
+ * The last performance resource timing
4420
+ */
4421
+ timing: PerformanceResourceTiming;
4422
+ };
4207
4423
  }
4208
4424
 
4209
4425
  declare module "sap/ui/test/opaQunit" {
@@ -4424,7 +4640,37 @@ declare module "sap/ui/util/Mobile" {
4424
4640
  * by using icons with glare effect, so the "precomposed" property can be set to "true". Some Android devices
4425
4641
  * may also use the favicon for bookmarks instead of the home icons.
4426
4642
  */
4427
- setIcons(oIcons: object): void;
4643
+ setIcons(
4644
+ /**
4645
+ * Icon settings
4646
+ */
4647
+ oIcons: {
4648
+ /**
4649
+ * a 120x120 pixel version for iPhones with low pixel density
4650
+ */
4651
+ phone?: string;
4652
+ /**
4653
+ * a 152x152 pixel version for iPads with low pixel density
4654
+ */
4655
+ tablet?: string;
4656
+ /**
4657
+ * a 180x180 pixel version for iPhones with high pixel density
4658
+ */
4659
+ "phone@2"?: string;
4660
+ /**
4661
+ * a 167x167 pixel version for iPads with high pixel density
4662
+ */
4663
+ "tablet@2"?: string;
4664
+ /**
4665
+ * whether the home icons already have some glare effect (otherwise iOS will add it)
4666
+ */
4667
+ precomposed?: boolean;
4668
+ /**
4669
+ * the ICO file to be used inside the browser and for desktop shortcuts
4670
+ */
4671
+ favicon?: string;
4672
+ }
4673
+ ): void;
4428
4674
  /**
4429
4675
  * Sets the "apple-mobile-web-app-capable" and "mobile-web-app-capable" meta information which defines whether
4430
4676
  * the application is loaded in full screen mode (browser address bar and toolbar are hidden) after the
@@ -7739,7 +7985,10 @@ declare namespace sap {
7739
7985
  * used for the created object and the binding context for which the object has to be created; the function
7740
7986
  * must return an object appropriate for the bound aggregation
7741
7987
  */
7742
- factory?: Function;
7988
+ factory?: (
7989
+ p1: string,
7990
+ p2: sap.ui.model.Context
7991
+ ) => sap.ui.base.ManagedObject;
7743
7992
  /**
7744
7993
  * Whether the binding should be suspended initially
7745
7994
  */
@@ -7764,7 +8013,7 @@ declare namespace sap {
7764
8013
  * Name of the key property or a function getting the context as only parameter to calculate a key for entries.
7765
8014
  * This can be used to improve update behaviour in models, where a key is not already available.
7766
8015
  */
7767
- key?: string | Function;
8016
+ key?: string | ((p1: sap.ui.model.Context) => string);
7768
8017
  /**
7769
8018
  * Map of additional parameters for this binding; the names and value ranges of the supported parameters
7770
8019
  * depend on the model implementation, they should be documented with the `bindList` method of the corresponding
@@ -7775,7 +8024,9 @@ declare namespace sap {
7775
8024
  * A factory function to generate custom group visualization (optional). It should return a control suitable
7776
8025
  * to visualize a group header (e.g. a `sap.m.GroupHeaderListItem` for a `sap.m.List`).
7777
8026
  */
7778
- groupHeaderFactory?: Function;
8027
+ groupHeaderFactory?: (p1: {
8028
+ key: string;
8029
+ }) => sap.ui.base.ManagedObject;
7779
8030
  /**
7780
8031
  * Map of event handler functions keyed by the name of the binding events that they should be attached to
7781
8032
  */
@@ -8058,7 +8309,7 @@ declare namespace sap {
8058
8309
  /**
8059
8310
  * Map of event handler functions keyed by the name of the binding events that they should be attached to
8060
8311
  */
8061
- events?: object;
8312
+ events?: Record<string, Function>;
8062
8313
  /**
8063
8314
  * Array of binding info objects for the parts of a composite binding; the structure of each binding info
8064
8315
  * is the same as described for the `oBindingInfo` as a whole.
@@ -9316,7 +9567,7 @@ declare namespace sap {
9316
9567
  /**
9317
9568
  * the settings to apply to this managed object
9318
9569
  */
9319
- mSettings: object,
9570
+ mSettings: sap.ui.base.$ManagedObjectSettings,
9320
9571
  /**
9321
9572
  * Scope object to resolve types and formatters
9322
9573
  */
@@ -10157,9 +10408,9 @@ declare namespace sap {
10157
10408
  */
10158
10409
  sAssociationName: string,
10159
10410
  /**
10160
- * the object that is used in case the current aggregation is empty (only null or empty array allowed)
10411
+ * the value that is used in case the current aggregation is empty (only null or empty array is allowed)
10161
10412
  */
10162
- oDefaultForCreation: object
10413
+ oDefaultForCreation: null | any[]
10163
10414
  ): string | string[] | null;
10164
10415
  /**
10165
10416
  * Get the binding object for a specific aggregation/property.
@@ -10212,7 +10463,9 @@ declare namespace sap {
10212
10463
  * Name of the property or aggregation
10213
10464
  */
10214
10465
  sName: string
10215
- ): object;
10466
+ ):
10467
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
10468
+ | sap.ui.base.ManagedObject.AggregationBindingInfo;
10216
10469
  /**
10217
10470
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
10218
10471
  *
@@ -10305,14 +10558,18 @@ declare namespace sap {
10305
10558
  *
10306
10559
  * If no origin info is available, `null` will be returned.
10307
10560
  *
10308
- * @returns An object describing the origin of this property's value or `null`
10561
+ * @returns |null} An object describing the origin of this property's value or `null`
10309
10562
  */
10310
10563
  getOriginInfo(
10311
10564
  /**
10312
10565
  * Name of the property
10313
10566
  */
10314
10567
  sPropertyName: string
10315
- ): object | null;
10568
+ ): {
10569
+ source: string;
10570
+
10571
+ locale: string;
10572
+ };
10316
10573
  /**
10317
10574
  * @SINCE 1.88.0
10318
10575
  *
@@ -10763,7 +11020,7 @@ declare namespace sap {
10763
11020
  /**
10764
11021
  * the managed object that is set as aggregated object
10765
11022
  */
10766
- oObject: object,
11023
+ oObject: sap.ui.base.ManagedObject,
10767
11024
  /**
10768
11025
  * if true, this ManagedObject is not marked as changed
10769
11026
  */
@@ -11105,7 +11362,12 @@ declare namespace sap {
11105
11362
  /**
11106
11363
  * static info to construct the metadata from
11107
11364
  */
11108
- oClassInfo: object
11365
+ oClassInfo: {
11366
+ /**
11367
+ * The metadata object describing the class
11368
+ */
11369
+ metadata?: sap.ui.base.ManagedObject.MetadataOptions;
11370
+ }
11109
11371
  );
11110
11372
 
11111
11373
  /**
@@ -11211,7 +11473,7 @@ declare namespace sap {
11211
11473
  * name of the aggregation or empty
11212
11474
  */
11213
11475
  sName?: string
11214
- ): Object | undefined;
11476
+ ): sap.ui.base.ManagedObject.MetadataOptions.Aggregation | undefined;
11215
11477
  /**
11216
11478
  * Returns a map of info objects for the public aggregations of the described class. Aggregations declared
11217
11479
  * by ancestor classes are not included.
@@ -11225,7 +11487,10 @@ declare namespace sap {
11225
11487
  *
11226
11488
  * @returns Map of aggregation info objects keyed by aggregation names
11227
11489
  */
11228
- getAggregations(): Record<string, Object>;
11490
+ getAggregations(): Record<
11491
+ string,
11492
+ sap.ui.base.ManagedObject.MetadataOptions.Aggregation
11493
+ >;
11229
11494
  /**
11230
11495
  * Returns a map of info objects for all public aggregations of the described class, including public aggregations
11231
11496
  * form the ancestor classes.
@@ -11239,7 +11504,10 @@ declare namespace sap {
11239
11504
  *
11240
11505
  * @returns Map of aggregation info objects keyed by aggregation names
11241
11506
  */
11242
- getAllAggregations(): Record<string, Object>;
11507
+ getAllAggregations(): Record<
11508
+ string,
11509
+ sap.ui.base.ManagedObject.MetadataOptions.Aggregation
11510
+ >;
11243
11511
  /**
11244
11512
  * Returns a map of info objects for all public associations of the described class, including public associations
11245
11513
  * form the ancestor classes.
@@ -11253,7 +11521,10 @@ declare namespace sap {
11253
11521
  *
11254
11522
  * @returns Map of association info objects keyed by association names
11255
11523
  */
11256
- getAllAssociations(): Record<string, Object>;
11524
+ getAllAssociations(): Record<
11525
+ string,
11526
+ sap.ui.base.ManagedObject.MetadataOptions.Association
11527
+ >;
11257
11528
  /**
11258
11529
  * Returns a map of info objects for all public events of the described class, including public events form
11259
11530
  * the ancestor classes.
@@ -11266,7 +11537,10 @@ declare namespace sap {
11266
11537
  *
11267
11538
  * @returns Map of event info objects keyed by event names
11268
11539
  */
11269
- getAllEvents(): Record<string, Object>;
11540
+ getAllEvents(): Record<
11541
+ string,
11542
+ sap.ui.base.ManagedObject.MetadataOptions.Event
11543
+ >;
11270
11544
  /**
11271
11545
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11272
11546
  *
@@ -11282,7 +11556,10 @@ declare namespace sap {
11282
11556
  *
11283
11557
  * @returns Map of aggregation info objects keyed by aggregation names
11284
11558
  */
11285
- getAllPrivateAggregations(): Record<string, Object>;
11559
+ getAllPrivateAggregations(): Record<
11560
+ string,
11561
+ sap.ui.base.ManagedObject.MetadataOptions.Aggregation
11562
+ >;
11286
11563
  /**
11287
11564
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11288
11565
  *
@@ -11298,7 +11575,10 @@ declare namespace sap {
11298
11575
  *
11299
11576
  * @returns Map of association info objects keyed by association names
11300
11577
  */
11301
- getAllPrivateAssociations(): Record<string, Object>;
11578
+ getAllPrivateAssociations(): Record<
11579
+ string,
11580
+ sap.ui.base.ManagedObject.MetadataOptions.Association
11581
+ >;
11302
11582
  /**
11303
11583
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11304
11584
  *
@@ -11313,7 +11593,10 @@ declare namespace sap {
11313
11593
  *
11314
11594
  * @returns Map of property info objects keyed by property names
11315
11595
  */
11316
- getAllPrivateProperties(): Record<string, Object>;
11596
+ getAllPrivateProperties(): Record<
11597
+ string,
11598
+ sap.ui.base.ManagedObject.MetadataOptions.Property
11599
+ >;
11317
11600
  /**
11318
11601
  * Returns a map of info objects for all public properties of the described class, including public properties
11319
11602
  * from the ancestor classes.
@@ -11326,7 +11609,10 @@ declare namespace sap {
11326
11609
  *
11327
11610
  * @returns Map of property info objects keyed by the property names
11328
11611
  */
11329
- getAllProperties(): Record<string, Object>;
11612
+ getAllProperties(): Record<
11613
+ string,
11614
+ sap.ui.base.ManagedObject.MetadataOptions.Property
11615
+ >;
11330
11616
  /**
11331
11617
  * @SINCE 1.27.0
11332
11618
  *
@@ -11347,7 +11633,7 @@ declare namespace sap {
11347
11633
  * name of the association
11348
11634
  */
11349
11635
  sName: string
11350
- ): Object | undefined;
11636
+ ): sap.ui.base.ManagedObject.MetadataOptions.Association | undefined;
11351
11637
  /**
11352
11638
  * Returns a map of info objects for all public associations of the described class. Associations declared
11353
11639
  * by ancestor classes are not included.
@@ -11361,7 +11647,10 @@ declare namespace sap {
11361
11647
  *
11362
11648
  * @returns Map of association info objects keyed by association names
11363
11649
  */
11364
- getAssociations(): Record<string, Object>;
11650
+ getAssociations(): Record<
11651
+ string,
11652
+ sap.ui.base.ManagedObject.MetadataOptions.Association
11653
+ >;
11365
11654
  /**
11366
11655
  * @SINCE 1.73
11367
11656
  *
@@ -11372,7 +11661,7 @@ declare namespace sap {
11372
11661
  *
11373
11662
  * @returns An info object for the default aggregation
11374
11663
  */
11375
- getDefaultAggregation(): Object;
11664
+ getDefaultAggregation(): sap.ui.base.ManagedObject.MetadataOptions.Aggregation;
11376
11665
  /**
11377
11666
  * @SINCE 1.73
11378
11667
  *
@@ -11404,7 +11693,7 @@ declare namespace sap {
11404
11693
  * name of the event
11405
11694
  */
11406
11695
  sName: string
11407
- ): Object | undefined;
11696
+ ): sap.ui.base.ManagedObject.MetadataOptions.Event | undefined;
11408
11697
  /**
11409
11698
  * Returns a map of info objects for the public events of the described class. Events declared by ancestor
11410
11699
  * classes are not included.
@@ -11417,7 +11706,10 @@ declare namespace sap {
11417
11706
  *
11418
11707
  * @returns Map of event info objects keyed by event names
11419
11708
  */
11420
- getEvents(): Record<string, Object>;
11709
+ getEvents(): Record<
11710
+ string,
11711
+ sap.ui.base.ManagedObject.MetadataOptions.Event
11712
+ >;
11421
11713
  /**
11422
11714
  * Returns the name of the library that contains the described UIElement.
11423
11715
  *
@@ -11444,7 +11736,7 @@ declare namespace sap {
11444
11736
  * name of the aggregation to be retrieved or empty
11445
11737
  */
11446
11738
  sAggregationName: string
11447
- ): object | undefined;
11739
+ ): sap.ui.base.ManagedObject.MetadataOptions.Aggregation | undefined;
11448
11740
  /**
11449
11741
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11450
11742
  *
@@ -11462,7 +11754,7 @@ declare namespace sap {
11462
11754
  * name of the association to be retrieved
11463
11755
  */
11464
11756
  sName: string
11465
- ): object | undefined;
11757
+ ): sap.ui.base.ManagedObject.MetadataOptions.Association | undefined;
11466
11758
  /**
11467
11759
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
11468
11760
  *
@@ -11483,7 +11775,7 @@ declare namespace sap {
11483
11775
  * name of the property to be retrieved or empty
11484
11776
  */
11485
11777
  sName: string
11486
- ): object | undefined;
11778
+ ): sap.ui.base.ManagedObject.MetadataOptions.Property | undefined;
11487
11779
  /**
11488
11780
  * Returns a map of info objects for the public properties of the described class. Properties declared by
11489
11781
  * ancestor classes are not included.
@@ -11496,7 +11788,10 @@ declare namespace sap {
11496
11788
  *
11497
11789
  * @returns Map of property info objects keyed by the property names
11498
11790
  */
11499
- getProperties(): Record<string, Object>;
11791
+ getProperties(): Record<
11792
+ string,
11793
+ sap.ui.base.ManagedObject.MetadataOptions.Property
11794
+ >;
11500
11795
  /**
11501
11796
  * @SINCE 1.27.0
11502
11797
  *
@@ -11517,7 +11812,7 @@ declare namespace sap {
11517
11812
  * name of the property
11518
11813
  */
11519
11814
  sName: string
11520
- ): Object | undefined;
11815
+ ): sap.ui.base.ManagedObject.MetadataOptions.Property | undefined;
11521
11816
  /**
11522
11817
  * Returns a map of default values for all properties declared by the described class and its ancestors,
11523
11818
  * keyed by the property name.
@@ -11546,7 +11841,10 @@ declare namespace sap {
11546
11841
  * name of the property like setting
11547
11842
  */
11548
11843
  sName: string
11549
- ): Object | undefined;
11844
+ ):
11845
+ | sap.ui.base.ManagedObject.MetadataOptions.Property
11846
+ | sap.ui.base.ManagedObject.MetadataOptions.Aggregation
11847
+ | undefined;
11550
11848
  /**
11551
11849
  * Checks the existence of the given public aggregation by its name.
11552
11850
  *
@@ -14676,7 +14974,7 @@ declare namespace sap {
14676
14974
  * local timezone to convert the given date.
14677
14975
  *
14678
14976
  * When using instances from getDateTimeWithTimezoneInstance, please see the corresponding documentation:
14679
- * {@link sap.ui.core.format.DateFormat.getDateTimeWithTimezoneInstance#format}.
14977
+ * {@link sap.ui.core.format.DateFormat.DateTimeWithTimezone#format}.
14680
14978
  *
14681
14979
  * @returns the formatted output value. If an invalid date is given, an empty string is returned.
14682
14980
  */
@@ -14697,7 +14995,7 @@ declare namespace sap {
14697
14995
  * local timezone to convert the given date.
14698
14996
  *
14699
14997
  * When using instances from getDateTimeWithTimezoneInstance, please see the corresponding documentation:
14700
- * {@link sap.ui.core.format.DateFormat.getDateTimeWithTimezoneInstance#parse}.
14998
+ * {@link sap.ui.core.format.DateFormat.DateTimeWithTimezone#parse}.
14701
14999
  *
14702
15000
  * @returns the parsed value(s)
14703
15001
  */
@@ -16574,6 +16872,29 @@ declare namespace sap {
16574
16872
 
16575
16873
  namespace mvc {
16576
16874
  namespace View {
16875
+ namespace Preprocessor {
16876
+ /**
16877
+ * Information about the view that is processed by the preprocessor
16878
+ */
16879
+ type ViewInfo = {
16880
+ /**
16881
+ * the ID of the view
16882
+ */
16883
+ id: string;
16884
+ /**
16885
+ * the name of the view
16886
+ */
16887
+ name: string;
16888
+ /**
16889
+ * the ID of the owning Component of the view
16890
+ */
16891
+ componentId: string;
16892
+ /**
16893
+ * identifies the caller of this preprocessor; basis for log or exception messages
16894
+ */
16895
+ caller: string;
16896
+ };
16897
+ }
16577
16898
  /**
16578
16899
  * @SINCE 1.30
16579
16900
  *
@@ -16622,44 +16943,26 @@ declare namespace sap {
16622
16943
  */
16623
16944
  componentId: string;
16624
16945
  }
16625
- ): string | Promise<any>;
16946
+ ): string | Promise<string>;
16626
16947
  /**
16627
16948
  * Processing method that must be implemented by a Preprocessor.
16628
16949
  *
16629
- * @returns the processed resource or a promise which resolves with the processed resource or an error according
16630
- * to the declared preprocessor sync capability
16950
+ * @returns the processed resource or a promise which resolves with the processed resource
16631
16951
  */
16632
16952
  process(
16633
16953
  /**
16634
16954
  * the source to be processed
16635
16955
  */
16636
- vSource: object,
16956
+ vSource: Object,
16637
16957
  /**
16638
16958
  * identification information about the calling instance
16639
16959
  */
16640
- oViewInfo: {
16641
- /**
16642
- * the id
16643
- */
16644
- id: string;
16645
- /**
16646
- * the name
16647
- */
16648
- name: string;
16649
- /**
16650
- * the id of the owning Component
16651
- */
16652
- componentId: string;
16653
- /**
16654
- * identifies the caller of this preprocessor; basis for log or exception messages
16655
- */
16656
- caller: string;
16657
- },
16960
+ oViewInfo: sap.ui.core.mvc.View.Preprocessor.ViewInfo,
16658
16961
  /**
16659
16962
  * settings object containing the settings provided with the preprocessor
16660
16963
  */
16661
16964
  mSettings?: object
16662
- ): object | Promise<any>;
16965
+ ): Object | Promise<Object>;
16663
16966
  }
16664
16967
  }
16665
16968
 
@@ -16786,10 +17089,9 @@ declare namespace sap {
16786
17089
  */
16787
17090
  constructor(
16788
17091
  /**
16789
- * The name of the controller to instantiate. If a controller is defined as real sub-class, the "arguments"
16790
- * of the sub-class constructor should be given instead.
17092
+ * The name of the controller to instantiate.
16791
17093
  */
16792
- sName: string | object[]
17094
+ sName: string
16793
17095
  );
16794
17096
 
16795
17097
  /**
@@ -16810,7 +17112,7 @@ declare namespace sap {
16810
17112
  */
16811
17113
  name: string;
16812
17114
  }
16813
- ): Promise<any>;
17115
+ ): Promise<sap.ui.core.mvc.Controller>;
16814
17116
  /**
16815
17117
  * Creates a new subclass of class sap.ui.core.mvc.Controller with name `sClassName` and enriches it with
16816
17118
  * the information contained in `oClassInfo`.
@@ -17142,7 +17444,7 @@ declare namespace sap {
17142
17444
  /**
17143
17445
  * The custom extension definition
17144
17446
  */
17145
- oExtension: object
17447
+ oExtension: Record<string, Function>
17146
17448
  ): Function;
17147
17449
  /**
17148
17450
  * Returns an Element of the connected view with the given local ID.
@@ -17870,7 +18172,13 @@ declare namespace sap {
17870
18172
  /**
17871
18173
  * module path of the preprocessor implementation or a preprocessor function
17872
18174
  */
17873
- vPreprocessor: string | Function,
18175
+ vPreprocessor:
18176
+ | string
18177
+ | ((
18178
+ p1: Object,
18179
+ p2: sap.ui.core.mvc.View.Preprocessor.ViewInfo,
18180
+ p3: object
18181
+ ) => void),
17874
18182
  /**
17875
18183
  * type of the calling view, e.g. `XML`
17876
18184
  */
@@ -18361,7 +18669,17 @@ declare namespace sap {
18361
18669
  * Describes the view execution, true if sync
18362
18670
  */
18363
18671
  bSync: boolean
18364
- ): object;
18672
+ ): {
18673
+ name: string;
18674
+
18675
+ componentId: string;
18676
+
18677
+ id: string;
18678
+
18679
+ caller: string;
18680
+
18681
+ sync: boolean;
18682
+ };
18365
18683
  /**
18366
18684
  * Returns user specific data object.
18367
18685
  *
@@ -18439,7 +18757,7 @@ declare namespace sap {
18439
18757
  *
18440
18758
  * @returns resolves with the complete view instance, rejects with any thrown error
18441
18759
  */
18442
- loaded(): Promise<any>;
18760
+ loaded(): Promise<sap.ui.core.mvc.View>;
18443
18761
  /**
18444
18762
  * Removes all the controls from the aggregation {@link #getContent content}.
18445
18763
  *
@@ -18744,7 +19062,13 @@ declare namespace sap {
18744
19062
  /**
18745
19063
  * module path of the preprocessor implementation or a preprocessor function
18746
19064
  */
18747
- vPreprocessor: string | Function,
19065
+ vPreprocessor:
19066
+ | string
19067
+ | ((
19068
+ p1: Object,
19069
+ p2: sap.ui.core.mvc.View.Preprocessor.ViewInfo,
19070
+ p3: object
19071
+ ) => void),
18748
19072
  /**
18749
19073
  * Since 1.89, added for signature compatibility with {@link sap.ui.core.mvc.View#registerPreprocessor View#registerPreprocessor}.
18750
19074
  * Only supported value is "XML".
@@ -18792,7 +19116,13 @@ declare namespace sap {
18792
19116
  /**
18793
19117
  * module path of the preprocessor implementation or a preprocessor function
18794
19118
  */
18795
- vPreprocessor: string | Function,
19119
+ vPreprocessor:
19120
+ | string
19121
+ | ((
19122
+ p1: Object,
19123
+ p2: sap.ui.core.mvc.View.Preprocessor.ViewInfo,
19124
+ p3: object
19125
+ ) => void),
18796
19126
  /**
18797
19127
  * declares if the vPreprocessor ensures safe sync processing. This means the preprocessor will be executed
18798
19128
  * also for sync views. Please be aware that any kind of async processing (like Promises, XHR, etc) may
@@ -18871,6 +19201,12 @@ declare namespace sap {
18871
19201
  }
18872
19202
 
18873
19203
  namespace theming {
19204
+ namespace Parameters {
19205
+ /**
19206
+ * Theming Parameter Value
19207
+ */
19208
+ type Value = string | Record<string, string> | undefined;
19209
+ }
18874
19210
  /**
18875
19211
  * A helper used for (read-only) access to CSS parameters at runtime.
18876
19212
  */
@@ -18925,14 +19261,14 @@ declare namespace sap {
18925
19261
  * If given, the callback is only executed in case there are still parameters pending and one or more of
18926
19262
  * the requested parameters is missing.
18927
19263
  */
18928
- callback?: Function;
19264
+ callback?: (p1: sap.ui.core.theming.Parameters.Value) => void;
18929
19265
  },
18930
19266
  /**
18931
19267
  * Element / control instance to take into account when looking for a parameter value. This can make a difference
18932
19268
  * when a parameter value is overridden in a theme scope set via a CSS class.
18933
19269
  */
18934
19270
  oElement?: sap.ui.core.Element
18935
- ): string | object | undefined;
19271
+ ): sap.ui.core.theming.Parameters.Value;
18936
19272
  /**
18937
19273
  * @deprecated (since 1.92)
18938
19274
  *
@@ -19160,14 +19496,14 @@ declare namespace sap {
19160
19496
  /**
19161
19497
  * adds to the currency map
19162
19498
  */
19163
- mCurrencies: object
19499
+ mCurrencies: Record<string, object>
19164
19500
  ): this;
19165
19501
  /**
19166
19502
  * Retrieves the custom currencies. E.g. ` { "KWD": {"digits": 3}, "TND" : {"digits": 3} } `
19167
19503
  *
19168
19504
  * @returns the mapping between custom currencies and its digits
19169
19505
  */
19170
- getCustomCurrencies(): object;
19506
+ getCustomCurrencies(): Record<string, object>;
19171
19507
  /**
19172
19508
  * Returns the currently set date pattern or undefined if no pattern has been defined.
19173
19509
  */
@@ -19188,10 +19524,9 @@ declare namespace sap {
19188
19524
  /**
19189
19525
  * Returns the currently set customizing data for Islamic calendar support
19190
19526
  *
19191
- * @returns Returns an array contains the customizing data. Each element in the array has properties: dateFormat,
19192
- * islamicMonthStart, gregDate. For details, please see {@link #setLegacyDateCalendarCustomizing}
19527
+ * @returns Returns an array contains the customizing data. For details, please see {@link #setLegacyDateCalendarCustomizing}
19193
19528
  */
19194
- getLegacyDateCalendarCustomizing(): object[];
19529
+ getLegacyDateCalendarCustomizing(): sap.ui.core.Configuration.LegacyDateCalendarCustomizing[];
19195
19530
  /**
19196
19531
  * Returns the currently set legacy ABAP date format (its id) or undefined if none has been set.
19197
19532
  *
@@ -19274,7 +19609,7 @@ declare namespace sap {
19274
19609
  /**
19275
19610
  * currency map which is set
19276
19611
  */
19277
- mCurrencies: object
19612
+ mCurrencies: Record<string, object>
19278
19613
  ): this;
19279
19614
  /**
19280
19615
  * Defines the preferred format pattern for the given date format style.
@@ -19333,20 +19668,7 @@ declare namespace sap {
19333
19668
  /**
19334
19669
  * contains the customizing data for the support of Islamic calendar.
19335
19670
  */
19336
- aMappings: Array<{
19337
- /**
19338
- * The date format
19339
- */
19340
- dateFormat: string;
19341
- /**
19342
- * The Islamic date
19343
- */
19344
- islamicMonthStart: string;
19345
- /**
19346
- * The corresponding Gregorian date
19347
- */
19348
- gregDate: string;
19349
- }>
19671
+ aMappings: sap.ui.core.Configuration.LegacyDateCalendarCustomizing[]
19350
19672
  ): this;
19351
19673
  /**
19352
19674
  * Allows to specify one of the legacy ABAP date formats.
@@ -19496,7 +19818,41 @@ declare namespace sap {
19496
19818
  * scenarios or levels. The implementation of the Control (JavaScript or CSS) has to be done differently
19497
19819
  * for each animation mode.
19498
19820
  */
19499
- enum AnimationMode {}
19821
+ enum AnimationMode {
19822
+ /**
19823
+ * `basic` can be used for a reduced, more light-weight set of animations.
19824
+ */
19825
+ basic = "undefined",
19826
+ /**
19827
+ * `full` represents a mode with unrestricted animation capabilities.
19828
+ */
19829
+ full = "undefined",
19830
+ /**
19831
+ * `minimal` includes animations of fundamental functionality.
19832
+ */
19833
+ minimal = "undefined",
19834
+ /**
19835
+ * `none` deactivates the animation completely.
19836
+ */
19837
+ none = "undefined",
19838
+ }
19839
+ /**
19840
+ * The object that contains the information for date calendar customizing
19841
+ */
19842
+ type LegacyDateCalendarCustomizing = {
19843
+ /**
19844
+ * The IO of the date format. It has value "A" or "B".
19845
+ */
19846
+ dateFormat: "A" | "B";
19847
+ /**
19848
+ * The Islamic date in format "yyyyMMdd".
19849
+ */
19850
+ islamicMonthStart: string;
19851
+ /**
19852
+ * The corresponding Gregorian date in format "yyyyMMdd".
19853
+ */
19854
+ gregDate: string;
19855
+ };
19500
19856
  }
19501
19857
 
19502
19858
  namespace date {
@@ -19941,6 +20297,40 @@ declare namespace sap {
19941
20297
  }
19942
20298
  }
19943
20299
 
20300
+ namespace IconPool {
20301
+ type IconInfo = {
20302
+ /**
20303
+ * the name of the icon
20304
+ */
20305
+ name: string;
20306
+ /**
20307
+ * the collection name of the icon. For the default icon font with name 'SAP-icons', this property is set
20308
+ * with `undefined`
20309
+ */
20310
+ collection: string;
20311
+ /**
20312
+ * The URI representing the icon following pattern `sap-icon://collection-name/icon-name`
20313
+ */
20314
+ uri: sap.ui.core.URI;
20315
+ /**
20316
+ * the name of the font when importing the font using @font-face in CSS
20317
+ */
20318
+ fontFamily: string;
20319
+ /**
20320
+ * the hexadecimal code in string format without the prefix, for example "e000"
20321
+ */
20322
+ content: string;
20323
+ /**
20324
+ * the translated text for the icon under the current used locale
20325
+ */
20326
+ text: string;
20327
+ /**
20328
+ * indicates whether this icon should NOT be mirrored in RTL (right to left) mode
20329
+ */
20330
+ suppressMirroring: boolean;
20331
+ };
20332
+ }
20333
+
19944
20334
  namespace Popup {
19945
20335
  /**
19946
20336
  * Enumeration providing options for docking of some element to another.
@@ -19979,6 +20369,21 @@ declare namespace sap {
19979
20369
 
19980
20370
  RightTop = "right top",
19981
20371
  }
20372
+
20373
+ type PositionInfo = {
20374
+ /**
20375
+ * The last position value
20376
+ */
20377
+ lastPosition: object;
20378
+ /**
20379
+ * The DOMRect of the previous "of" element
20380
+ */
20381
+ lastOfRect: DOMRect;
20382
+ /**
20383
+ * The DOMRect of the current "of" element
20384
+ */
20385
+ currentOfRect: DOMRect;
20386
+ };
19982
20387
  }
19983
20388
 
19984
20389
  namespace routing {
@@ -20260,101 +20665,7 @@ declare namespace sap {
20260
20665
  /**
20261
20666
  * Configuration object for the route
20262
20667
  */
20263
- oConfig: {
20264
- /**
20265
- * Name of the route, it will be used to retrieve the route from the router, it needs to be unique per router
20266
- * instance
20267
- */
20268
- name: string;
20269
- /**
20270
- * URL pattern where it needs to match again. A pattern may consist of the following:
20271
- * - hardcoded parts: "pattern" : "product/settings" - this pattern will only match if the hash of the
20272
- * browser is product/settings and no arguments will be passed to the events of the route.
20273
- *
20274
- * - mandatory parameters: "pattern" : "product/{id}" - {id} is a mandatory parameter, e. g. the following
20275
- * hashes would match: product/5, product/3. The pattenMatched event will get 5 or 3 passed as id in its
20276
- * arguments.The hash product/ will not match.
20277
- *
20278
- * - optional parameters: "pattern" : "product/{id}/detail/:detailId:" - :detailId: is an optional parameter,
20279
- * e. g. the following hashes would match: product/5/detail, product/3/detail/2
20280
- *
20281
- * - query parameters: "pattern" : "product{?query}" // {?query} allows you to pass queries with any
20282
- * parameters, e. g. the following hashes would match: product?first=firstValue, product?first=firstValue&second=secondValue
20283
- * rest as string parameters: "pattern" : ":all*:" - this pattern will define an optional variable
20284
- * that will pass the whole hash as string to the routing events. It may be used to define a catchall route,
20285
- * e. g. the following hashes would match: foo, product/5/3, product/5/detail/3/foo. You can also combine
20286
- * it with the other variables but make sure a variable with a * is the last one.
20287
- */
20288
- pattern?: string;
20289
- /**
20290
- * Since 1.27. By default only the first route matching the hash, will fire events. If greedy is turned
20291
- * on for a route, its events will be fired even if another route has already matched.
20292
- */
20293
- greedy?: boolean;
20294
- /**
20295
- * Since 1.32. This property contains the information about the route which nests this route in the form:
20296
- * "[componentName:]routeName". The nesting routes pattern will be prefixed to this routes pattern and hence
20297
- * the nesting route also matches if this one matches.
20298
- */
20299
- parent?: string;
20300
- /**
20301
- * One or multiple name of targets {@link sap.ui.core.routing.Targets}. As soon as the route matches, the
20302
- * target(s) will be displayed. All the deprecated parameters are ignored, if a target is used.
20303
- */
20304
- target?: string | string[];
20305
- /**
20306
- * **Deprecated since 1.28, use `target.viewName` instead.**
20307
- * The name of a view that will be created, the first time this route will be matched. To place the view
20308
- * into a Control use the targetAggregation and targetControl. Views will only be created once per Router
20309
- */
20310
- view?: string;
20311
- /**
20312
- * **Deprecated since 1.28, use `target.viewType` instead.**
20313
- * The type of the view that is going to be created. eg: "XML", "JS"
20314
- */
20315
- viewType?: string;
20316
- /**
20317
- * **Deprecated since 1.28, use `target.viewPath` instead.**
20318
- * A prefix that will be prepended in front of the view eg: view is set to "myView" and viewPath is set
20319
- * to "myApp" - the created view will be "myApp.myView"
20320
- */
20321
- viewPath?: string;
20322
- /**
20323
- * **Deprecated since 1.28, use `config.rootView` (only available in the router config) instead.**
20324
- * The id of the parent of the targetControl - This should be the id view your targetControl is located
20325
- * in. By default, this will be the view created by a component, or if the Route is a subroute the view
20326
- * of the parent route is taken. You only need to specify this, if you are not using a router created by
20327
- * a component on your top level routes
20328
- */
20329
- targetParent?: string;
20330
- /**
20331
- * **Deprecated since 1.28, use `target.controlId` instead.**
20332
- * Views will be put into a container Control, this might be an {@link sap.ui.ux3.Shell} control or an
20333
- * {@link sap.m.NavContainer} if working with mobile, or any other container. The id of this control has
20334
- * to be put in here
20335
- */
20336
- targetControl?: string;
20337
- /**
20338
- * **Deprecated since 1.28, use `target.controlAggregation` instead.**
20339
- * The name of an aggregation of the targetControl, that contains views. Eg: an {@link sap.m.NavContainer}
20340
- * has an aggregation "pages", another Example is the {@link sap.ui.ux3.Shell} it has "content".
20341
- */
20342
- targetAggregation?: string;
20343
- /**
20344
- * **Deprecated since 1.28, use `target.clearControlAggregation` instead.**
20345
- * Defines a boolean that can be passed to specify if the aggregation should be cleared before adding the
20346
- * View to it. When using an {@link sap.ui.ux3.Shell} this should be true. For an {@link sap.m.NavContainer}
20347
- * it should be false
20348
- */
20349
- clearTarget?: boolean;
20350
- /**
20351
- * **Deprecated since 1.28, use `targets.parent` instead.** one or multiple route configs taking all of
20352
- * these parameters again. If a subroute is hit, it will fire the routeMatched event for all its parents.
20353
- * The routePatternMatched event will only be fired for the subroute not the parents. The routing will also
20354
- * display all the targets of the subroutes and its parents.
20355
- */
20356
- subroutes?: object;
20357
- },
20668
+ oConfig: sap.ui.core.routing.$RouteSettings,
20358
20669
  /**
20359
20670
  * The parent route - if a parent route is given, the routeMatched event of this route will also trigger
20360
20671
  * the route matched of the parent and it will also create the view of the parent(if provided).
@@ -20646,7 +20957,9 @@ declare namespace sap {
20646
20957
  constructor(
20647
20958
  /**
20648
20959
  * may contain many Route configurations as {@link sap.ui.core.routing.Route#constructor}.
20649
- * Each of the routes contained in the array/object will be added to the router.
20960
+ *
20961
+ *
20962
+ * Each of the routes contained in the array/object will be added to the router.
20650
20963
  *
20651
20964
  *
20652
20965
  * One way of defining routes is an array:
@@ -20707,7 +21020,9 @@ declare namespace sap {
20707
21020
  * ```
20708
21021
  * The values that may be provided are the same as in {@link sap.ui.core.routing.Route#constructor}
20709
21022
  */
20710
- oRoutes?: object | object[],
21023
+ oRoutes?:
21024
+ | Record<string, sap.ui.core.routing.$RouteSettings>
21025
+ | sap.ui.core.routing.$RouteSettings[],
20711
21026
  /**
20712
21027
  * Default values for route configuration - also takes the same parameters as {@link sap.ui.core.routing.Target#constructor}.
20713
21028
  * This config will be used for routes and for targets, used in the router
@@ -20843,7 +21158,7 @@ declare namespace sap {
20843
21158
  * })
20844
21159
  * ```
20845
21160
  */
20846
- oTargetsConfig?: object
21161
+ oTargetsConfig?: Record<string, sap.ui.core.routing.$TargetSettings>
20847
21162
  );
20848
21163
 
20849
21164
  /**
@@ -20893,7 +21208,7 @@ declare namespace sap {
20893
21208
  /**
20894
21209
  * Configuration object for the route @see sap.ui.core.routing.Route#constructor
20895
21210
  */
20896
- oConfig: object,
21211
+ oConfig: sap.ui.core.routing.$RouteSettings,
20897
21212
  /**
20898
21213
  * The parent route - if a parent route is given, the `routeMatched` event of this route will also trigger
20899
21214
  * the `routeMatched` of the parent and it will also create the view of the parent (if provided).
@@ -22022,8 +22337,14 @@ declare namespace sap {
22022
22337
  * an object that will be passed to the display event in the data property. If the target has parents, the
22023
22338
  * data will also be passed to them.
22024
22339
  */
22025
- vData?: any
22026
- ): Promise<any>;
22340
+ vData?: object
22341
+ ): Promise<{
22342
+ name: string;
22343
+
22344
+ view: sap.ui.core.mvc.View;
22345
+
22346
+ control: sap.ui.core.Control;
22347
+ }>;
22027
22348
  /**
22028
22349
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
22029
22350
  *
@@ -22123,281 +22444,16 @@ declare namespace sap {
22123
22444
  */
22124
22445
  rootView?: string;
22125
22446
  /**
22126
- * @since 1.34 Whether the views which are created through this Targets are loaded asyncly. This option
22127
- * can be set only when the Targets is used standalone without the involvement of a Router. Otherwise the
22128
- * async option is inherited from the Router.
22447
+ * @since 1.34 Whether the views which are created through this Targets are loaded asynchronously. This
22448
+ * option can be set only when the Targets is used standalone without the involvement of a Router. Otherwise
22449
+ * the async option is inherited from the Router.
22129
22450
  */
22130
22451
  async?: boolean;
22131
22452
  };
22132
22453
  /**
22133
22454
  * One or multiple targets in a map.
22134
22455
  */
22135
- targets: {
22136
- /**
22137
- * a new target, the key severs as a name. An example:
22138
- * ```javascript
22139
- *
22140
- *
22141
- * {
22142
- * targets: {
22143
- * welcome: {
22144
- * type: "View",
22145
- * name: "Welcome",
22146
- * viewType: "XML",
22147
- * ....
22148
- * // Other target parameters
22149
- * },
22150
- * goodbye: {
22151
- * type: "Component",
22152
- * usage: "myreuse",
22153
- * containerSettings: {
22154
- * // settings for the component container
22155
- * }
22156
- * ....
22157
- * // Other target parameters
22158
- * }
22159
- * }
22160
- * }
22161
- *
22162
- * ```
22163
- *
22164
- *
22165
- * This will create two targets named 'welcome' and 'goodbye' you can display both of them or one of them
22166
- * using the {@link #display} function.
22167
- *
22168
- * The 'welcome' target creates a View instance when it's displayed. The 'goodbye' target creates a Component
22169
- * instance.
22170
- *
22171
- *
22172
- * The settings for the Component are defined in the manifest of the owner component of the router under
22173
- * path '/sap.ui5/componentUsages' and it can be used in the target by setting the 'usage' option with the
22174
- * name in the 'componentUsages'.
22175
- * See the following manifest.json example of the owner component. There's a component settings object
22176
- * defined with name "myreuse" which can be used to set the "usage" option in a target's configuration.
22177
- *
22178
- * ```javascript
22179
- *
22180
- *
22181
- * {
22182
- * "sap.ui5": {
22183
- * "componentUsages": {
22184
- * "myreuse": {
22185
- * "name": "reuse.component",
22186
- * "settings": {},
22187
- * "componentData": {},
22188
- * "lazy": false,
22189
- * }
22190
- * }
22191
- * }
22192
- * }
22193
- *
22194
- * ```
22195
- */
22196
- anyName: {
22197
- /**
22198
- * Defines whether the target creates an instance of 'View' or 'Component'.
22199
- */
22200
- type: string;
22201
- /**
22202
- * Defines the name of the View or Component that will be created. For type 'Component', use option 'usage'
22203
- * instead if an owner component exists. To place the view or component into a Control, use the options
22204
- * `controlAggregation` and `controlId`. Instance of View or Component will only be created once per `name`
22205
- * or `usage` combined with `id`.
22206
- * ```javascript
22207
- *
22208
- *
22209
- * {
22210
- * targets: {
22211
- * // If display("masterWelcome") is called, the master view will be placed in the 'MasterPages' of a control with the id splitContainter
22212
- * masterWelcome: {
22213
- * type: "View",
22214
- * name: "Welcome",
22215
- * controlId: "splitContainer",
22216
- * controlAggregation: "masterPages"
22217
- * },
22218
- * // If display("detailWelcome") is called after the masterWelcome, the view will be removed from the master pages and added to the detail pages, since the same instance is used. Also the controls inside of the view will have the same state.
22219
- * detailWelcome: {
22220
- * // same view here, that's why the same instance is used
22221
- * type: "View",
22222
- * name: "Welcome",
22223
- * controlId: "splitContainer",
22224
- * controlAggregation: "detailPages"
22225
- * }
22226
- * }
22227
- * }
22228
- *
22229
- * ```
22230
- *
22231
- *
22232
- * If you want to have a second instance of the 'welcome' view you can set different 'id' to the targets:
22233
- *
22234
- *
22235
- * ```javascript
22236
- *
22237
- *
22238
- * {
22239
- * targets: {
22240
- * // If display("masterWelcome") is called, the view with name "Welcome" will be placed in the 'MasterPages' of a control with the id splitContainter
22241
- * masterWelcome: {
22242
- * type: "View",
22243
- * name: "Welcome",
22244
- * id: "masterWelcome",
22245
- * controlId: "splitContainer",
22246
- * controlAggregation: "masterPages"
22247
- * },
22248
- * // If display("detailWelcome") is called after the "masterWelcome" target, a second instance of the same view with its own controller instance will be added in the detail pages.
22249
- * detailWelcome: {
22250
- * type: "View",
22251
- * name: "Welcome",
22252
- * // another instance will be created because a different id is used
22253
- * id: "detailWelcome",
22254
- * controlId: "splitContainer",
22255
- * controlAggregation: "detailPages"
22256
- * }
22257
- * }
22258
- * }
22259
- *
22260
- * ```
22261
- */
22262
- name?: string;
22263
- /**
22264
- * Defines the 'usage' name for 'Component' target which refers to the '/sap.ui5/componentUsages' entry
22265
- * in the owner component's manifest.
22266
- */
22267
- usage?: string;
22268
- /**
22269
- * The type of the view that is going to be created. These are the supported types: {@link sap.ui.core.mvc.ViewType}.
22270
- * You always have to provide a viewType except if `oOptions.config.viewType` is set or when using {@link
22271
- * sap.ui.core.routing.Views#setView}.
22272
- */
22273
- viewType?: string;
22274
- /**
22275
- * A prefix that will be prepended in front of the `name`.
22276
- * **Example:** `name` is set to "myView" and `path` is set to "myApp" - the created view's name will be
22277
- * "myApp.myView".
22278
- */
22279
- path?: string;
22280
- /**
22281
- * The ID of the created instance. This is will be prefixed with the id of the component set to the views
22282
- * instance provided in oOptions.views. For details see {@link sap.ui.core.routing.Views#getView}.
22283
- */
22284
- id?: string;
22285
- /**
22286
- * The id of the parent of the controlId - This should be the id of the view that contains your controlId,
22287
- * since the target control will be retrieved by calling the {@link sap.ui.core.mvc.View#byId} function
22288
- * of the targetParent. By default, this will be the view created by a component, so you do not have to
22289
- * provide this parameter. If you are using children, the view created by the parent of the child is taken.
22290
- * You only need to specify this, if you are not using a Targets instance created by a component and you
22291
- * should give the id of root view of your application to this property.
22292
- */
22293
- targetParent?: string;
22294
- /**
22295
- * The ID of the control where you want to place the instance created by this target. You also need to set
22296
- * "controlAggregation" property to specify to which aggregation of the control should the created instance
22297
- * be added. An example for containers are {@link sap.ui.ux3.Shell} with the aggregation 'content' or a
22298
- * {@link sap.m.NavContainer} with the aggregation 'pages'.
22299
- */
22300
- controlId?: string;
22301
- /**
22302
- * The name of an aggregation of the controlId, where the created instance from the target will be added.
22303
- * Eg: a {@link sap.m.NavContainer} has an aggregation 'pages', another Example is the {@link sap.ui.ux3.Shell}
22304
- * it has 'content'.
22305
- */
22306
- controlAggregation?: string;
22307
- /**
22308
- * Defines a boolean that can be passed to specify if the aggregation should be cleared - all items will
22309
- * be removed - before adding the View to it. When using a {@link sap.ui.ux3.Shell} this should be true.
22310
- * For a {@link sap.m.NavContainer} it should be false. When you use the {@link sap.m.routing.Router} the
22311
- * default will be false.
22312
- */
22313
- clearControlAggregation?: boolean;
22314
- /**
22315
- * A reference to another target, using the name of the target. If you display a target that has a parent,
22316
- * the parent will also be displayed. Also the control you specify with the controlId parameter, will be
22317
- * searched inside of the created instance of the parent not in the rootView, provided in the config. The
22318
- * control will be searched using the byId function of a view. When it is not found, the global id is checked.
22319
- *
22320
- * The main usecase for the parent property is placing a view or component inside a smaller container of
22321
- * an instance, which is also created by targets. This is useful for lazy loading views or components, only
22322
- * if the user really navigates to this part of your application.
22323
- * **Example:** Our aim is to lazy load a tab of an IconTabBar (a control that displays a view initially
22324
- * and when a user clicks on it the view changes). It's a perfect candidate to lazy load something inside
22325
- * of it.
22326
- * **Example app structure:**
22327
- * We have a rootView that is returned by the createContent function of our UIComponent. This view contains
22328
- * an sap.m.App control with the id 'myApp'
22329
- * ```javascript
22330
- *
22331
- *
22332
- * <View xmlns="sap.m">
22333
- * <App id="myApp"/>
22334
- * </View>
22335
- *
22336
- * ```
22337
- * an xml view called 'Detail'
22338
- * ```javascript
22339
- *
22340
- *
22341
- * <View xmlns="sap.m">
22342
- * <IconTabBar>
22343
- * <items>
22344
- * <IconTabFilter>
22345
- * <!-- content of our first tab -->
22346
- * <IconTabFilter>
22347
- * <IconTabFilter id="mySecondTab">
22348
- * <!-- nothing here, since we will lazy load this one with a target -->
22349
- * <IconTabFilter>
22350
- * </items>
22351
- * </IconTabBar>
22352
- * </View>
22353
- *
22354
- * ```
22355
- * and a view called 'SecondTabContent', this one contains our content we want to have lazy loaded. Now
22356
- * we need to create our Targets instance with a config matching our app:
22357
- * ```javascript
22358
- *
22359
- *
22360
- * new Targets({
22361
- * //Creates our views except for root, we created this one before - when using a component you
22362
- * views: new Views(),
22363
- * config: {
22364
- * // all of our views have that type
22365
- * viewType: 'XML',
22366
- * // a reference to the app control in the rootView created by our UIComponent
22367
- * controlId: 'myApp',
22368
- * // An app has a pages aggregation where the views need to be put into
22369
- * controlAggregation: 'pages'
22370
- * },
22371
- * targets: {
22372
- * detail: {
22373
- * type: "View",
22374
- * name: 'Detail'
22375
- * },
22376
- * secondTabContent: {
22377
- * // A reference to the detail target defined above
22378
- * parent: 'detail',
22379
- * // A reference to the second Tab container in the Detail view. Here the target does not look in the rootView, it looks in the Parent view (Detail).
22380
- * controlId: 'mySecondTab',
22381
- * // An IconTabFilter has an aggregation called content so we need to overwrite the pages set in the config as default.
22382
- * controlAggregation: 'content',
22383
- * // A view containing the content
22384
- * type: "View",
22385
- * name: 'SecondTabContent'
22386
- * }
22387
- * }
22388
- * });
22389
- *
22390
- * ```
22391
- *
22392
- *
22393
- * Now if we call ` oTargets.display("secondTabContent") `, 2 views will be created: Detail and SecondTabContent.
22394
- * The 'Detail' view will be put into the pages aggregation of the App. And afterwards the 'SecondTabContent'
22395
- * view will be put into the content Aggregation of the second IconTabFilter. So a parent will always be
22396
- * created before the target referencing it.
22397
- */
22398
- parent?: string;
22399
- };
22400
- };
22456
+ targets: Record<string, sap.ui.core.routing.$TargetSettings>;
22401
22457
  });
22402
22458
 
22403
22459
  /**
@@ -22446,7 +22502,7 @@ declare namespace sap {
22446
22502
  * Options of a target. The option names are the same as the ones in "oOptions.targets.anyName" of {@link
22447
22503
  * #constructor}.
22448
22504
  */
22449
- oTargetOptions: object
22505
+ oTargetOptions: sap.ui.core.routing.$TargetSettings
22450
22506
  ): this;
22451
22507
  /**
22452
22508
  * Attaches event handler `fnFunction` to the {@link #event:display display} event of this `sap.ui.core.routing.Targets`.
@@ -22596,7 +22652,19 @@ declare namespace sap {
22596
22652
  * titleChanged} event
22597
22653
  */
22598
22654
  sTitleTarget?: string
22599
- ): sap.ui.core.routing.Targets | Promise<any>;
22655
+ ):
22656
+ | this
22657
+ | Promise<
22658
+ Array<{
22659
+ name: string;
22660
+
22661
+ view: sap.ui.core.mvc.View;
22662
+
22663
+ control: sap.ui.core.Control;
22664
+
22665
+ targetInfo: sap.ui.core.routing.TargetInfo;
22666
+ }>
22667
+ >;
22600
22668
  /**
22601
22669
  * Fires event {@link #event:created created} to attached listeners.
22602
22670
  *
@@ -22724,7 +22792,7 @@ declare namespace sap {
22724
22792
  */
22725
22793
  viewName: string;
22726
22794
  }
22727
- ): Promise<any>;
22795
+ ): Promise<sap.ui.core.mvc.View>;
22728
22796
  /**
22729
22797
  * Adds or overwrites a view in the cache of the Views instance. The viewName serves as a key for caching.
22730
22798
  *
@@ -22767,6 +22835,312 @@ declare namespace sap {
22767
22835
  */
22768
22836
  Unknown = "Unknown",
22769
22837
  }
22838
+ /**
22839
+ * Configuration object for a route
22840
+ */
22841
+ type $RouteSettings = {
22842
+ /**
22843
+ * Name of the route, it will be used to retrieve the route from the router, it needs to be unique per router
22844
+ * instance
22845
+ */
22846
+ name: string;
22847
+ /**
22848
+ * URL pattern where it needs to match again. A pattern may consist of the following:
22849
+ * - hardcoded parts: "pattern" : "product/settings" - this pattern will only match if the hash of the
22850
+ * browser is product/settings and no arguments will be passed to the events of the route.
22851
+ *
22852
+ * - mandatory parameters: "pattern" : "product/{id}" - {id} is a mandatory parameter, e. g. the following
22853
+ * hashes would match: product/5, product/3. The pattenMatched event will get 5 or 3 passed as id in its
22854
+ * arguments.The hash product/ will not match.
22855
+ *
22856
+ * - optional parameters: "pattern" : "product/{id}/detail/:detailId:" - :detailId: is an optional parameter,
22857
+ * e. g. the following hashes would match: product/5/detail, product/3/detail/2
22858
+ *
22859
+ * - query parameters: "pattern" : "product{?query}" // {?query} allows you to pass queries with any
22860
+ * parameters, e. g. the following hashes would match: product?first=firstValue, product?first=firstValue&second=secondValue
22861
+ * rest as string parameters: "pattern" : ":all*:" - this pattern will define an optional variable
22862
+ * that will pass the whole hash as string to the routing events. It may be used to define a catchall route,
22863
+ * e. g. the following hashes would match: foo, product/5/3, product/5/detail/3/foo. You can also combine
22864
+ * it with the other variables but make sure a variable with a * is the last one.
22865
+ */
22866
+ pattern?: string;
22867
+ /**
22868
+ * Since 1.27. By default only the first route matching the hash, will fire events. If greedy is turned
22869
+ * on for a route, its events will be fired even if another route has already matched.
22870
+ */
22871
+ greedy?: boolean;
22872
+ /**
22873
+ * Since 1.32. This property contains the information about the route which nests this route in the form:
22874
+ * "[componentName:]routeName". The nesting routes pattern will be prefixed to this routes pattern and hence
22875
+ * the nesting route also matches if this one matches.
22876
+ */
22877
+ parent?: string;
22878
+ /**
22879
+ * One or multiple name of targets {@link sap.ui.core.routing.Targets}. As soon as the route matches, the
22880
+ * target(s) will be displayed. All the deprecated parameters are ignored, if a target is used.
22881
+ */
22882
+ target?: string | string[];
22883
+ /**
22884
+ * **Deprecated since 1.28, use `target.viewName` instead.**
22885
+ * The name of a view that will be created, the first time this route will be matched. To place the view
22886
+ * into a Control use the targetAggregation and targetControl. Views will only be created once per Router
22887
+ */
22888
+ view?: string;
22889
+ /**
22890
+ * **Deprecated since 1.28, use `target.viewType` instead.**
22891
+ * The type of the view that is going to be created. eg: "XML", "JS"
22892
+ */
22893
+ viewType?: string;
22894
+ /**
22895
+ * **Deprecated since 1.28, use `target.viewPath` instead.**
22896
+ * A prefix that will be prepended in front of the view eg: view is set to "myView" and viewPath is set
22897
+ * to "myApp" - the created view will be "myApp.myView"
22898
+ */
22899
+ viewPath?: string;
22900
+ /**
22901
+ * **Deprecated since 1.28, use `config.rootView` (only available in the router config) instead.**
22902
+ * The ID of the parent of the targetControl - This should be the ID of the view where your targetControl
22903
+ * is located in. By default, this will be the view created by a component, or if the Route is a subroute
22904
+ * the view of the parent route is taken. You only need to specify this, if you are not using a router created
22905
+ * by a component on your top level routes
22906
+ */
22907
+ targetParent?: string;
22908
+ /**
22909
+ * **Deprecated since 1.28, use `target.controlId` instead.**
22910
+ * Views will be put into a container Control, this might be an {@link sap.ui.ux3.Shell} control or an
22911
+ * {@link sap.m.NavContainer} if working with mobile, or any other container. The ID of this control has
22912
+ * to be put in here
22913
+ */
22914
+ targetControl?: string;
22915
+ /**
22916
+ * **Deprecated since 1.28, use `target.controlAggregation` instead.**
22917
+ * The name of an aggregation of the targetControl, that contains views. Eg: an {@link sap.m.NavContainer}
22918
+ * has an aggregation "pages", another Example is the {@link sap.ui.ux3.Shell} it has "content".
22919
+ */
22920
+ targetAggregation?: string;
22921
+ /**
22922
+ * **Deprecated since 1.28, use `target.clearControlAggregation` instead.**
22923
+ * Defines a boolean that can be passed to specify if the aggregation should be cleared before adding the
22924
+ * View to it. When using an {@link sap.ui.ux3.Shell} this should be true. For an {@link sap.m.NavContainer}
22925
+ * it should be false
22926
+ */
22927
+ clearTarget?: boolean;
22928
+ /**
22929
+ * **Deprecated since 1.28, use `targets.parent` instead.** one or multiple route configs taking all of
22930
+ * these parameters again. If a subroute is hit, it will fire the routeMatched event for all its parents.
22931
+ * The routePatternMatched event will only be fired for the subroute not the parents. The routing will also
22932
+ * display all the targets of the subroutes and its parents.
22933
+ */
22934
+ subroutes?: object;
22935
+ };
22936
+
22937
+ /**
22938
+ * Configuration object for a routing Target
22939
+ */
22940
+ type $TargetSettings = {
22941
+ /**
22942
+ * Defines whether the target creates an instance of 'View' or 'Component'.
22943
+ */
22944
+ type: string;
22945
+ /**
22946
+ * Defines the name of the View or Component that will be created. For type 'Component', use option 'usage'
22947
+ * instead if an owner component exists. To place the view or component into a Control, use the options
22948
+ * `controlAggregation` and `controlId`. Instance of View or Component will only be created once per `name`
22949
+ * or `usage` combined with `id`.
22950
+ * ```javascript
22951
+ *
22952
+ *
22953
+ * {
22954
+ * targets: {
22955
+ * // If display("masterWelcome") is called, the master view will be placed in the 'MasterPages' of a control with the id splitContainter
22956
+ * masterWelcome: {
22957
+ * type: "View",
22958
+ * name: "Welcome",
22959
+ * controlId: "splitContainer",
22960
+ * controlAggregation: "masterPages"
22961
+ * },
22962
+ * // If display("detailWelcome") is called after the masterWelcome, the view will be removed from the master pages and added to the detail pages, since the same instance is used. Also the controls inside of the view will have the same state.
22963
+ * detailWelcome: {
22964
+ * // same view here, that's why the same instance is used
22965
+ * type: "View",
22966
+ * name: "Welcome",
22967
+ * controlId: "splitContainer",
22968
+ * controlAggregation: "detailPages"
22969
+ * }
22970
+ * }
22971
+ * }
22972
+ *
22973
+ * ```
22974
+ *
22975
+ *
22976
+ * If you want to have a second instance of the 'welcome' view you can set different 'id' to the targets:
22977
+ *
22978
+ *
22979
+ * ```javascript
22980
+ *
22981
+ *
22982
+ * {
22983
+ * targets: {
22984
+ * // If display("masterWelcome") is called, the view with name "Welcome" will be placed in the 'MasterPages' of a control with the ID splitContainter
22985
+ * masterWelcome: {
22986
+ * type: "View",
22987
+ * name: "Welcome",
22988
+ * id: "masterWelcome",
22989
+ * controlId: "splitContainer",
22990
+ * controlAggregation: "masterPages"
22991
+ * },
22992
+ * // If display("detailWelcome") is called after the "masterWelcome" target, a second instance of the same view with its own controller instance will be added in the detail pages.
22993
+ * detailWelcome: {
22994
+ * type: "View",
22995
+ * name: "Welcome",
22996
+ * // another instance will be created because a different ID is used
22997
+ * id: "detailWelcome",
22998
+ * controlId: "splitContainer",
22999
+ * controlAggregation: "detailPages"
23000
+ * }
23001
+ * }
23002
+ * }
23003
+ *
23004
+ * ```
23005
+ */
23006
+ name?: string;
23007
+ /**
23008
+ * Defines the 'usage' name for 'Component' target which refers to the '/sap.ui5/componentUsages' entry
23009
+ * in the owner component's manifest.
23010
+ */
23011
+ usage?: string;
23012
+ /**
23013
+ * The type of the view that is going to be created. These are the supported types: {@link sap.ui.core.mvc.ViewType}.
23014
+ * You always have to provide a viewType except it's defined in the shared `config` or when using {@link
23015
+ * sap.ui.core.routing.Views#setView}.
23016
+ */
23017
+ viewType?: string;
23018
+ /**
23019
+ * A prefix that will be prepended in front of the `name`.
23020
+ * **Example:** `name` is set to "myView" and `path` is set to "myApp" - the created view's name will be
23021
+ * "myApp.myView".
23022
+ */
23023
+ path?: string;
23024
+ /**
23025
+ * The ID of the created instance. This is will be prefixed with the ID of the component set to the views
23026
+ * instance provided in oOptions.views. For details see {@link sap.ui.core.routing.Views#getView}.
23027
+ */
23028
+ id?: string;
23029
+ /**
23030
+ * The ID of the parent of the controlId - This should be the ID of the view that contains your controlId,
23031
+ * since the target control will be retrieved by calling the {@link sap.ui.core.mvc.View#byId} function
23032
+ * of the targetParent. By default, this will be the view created by a component, so you do not have to
23033
+ * provide this parameter. If you are using children, the view created by the parent of the child is taken.
23034
+ * You only need to specify this, if you are not using a Targets instance created by a component and you
23035
+ * should give the ID of root view of your application to this property.
23036
+ */
23037
+ targetParent?: string;
23038
+ /**
23039
+ * The ID of the control where you want to place the instance created by this target. You also need to set
23040
+ * "controlAggregation" property to specify to which aggregation of the control should the created instance
23041
+ * be added. An example for containers are {@link sap.ui.ux3.Shell} with the aggregation 'content' or a
23042
+ * {@link sap.m.NavContainer} with the aggregation 'pages'.
23043
+ */
23044
+ controlId?: string;
23045
+ /**
23046
+ * The name of an aggregation of the controlId, where the created instance from the target will be added.
23047
+ * Eg: a {@link sap.m.NavContainer} has an aggregation 'pages', another Example is the {@link sap.ui.ux3.Shell}
23048
+ * it has 'content'.
23049
+ */
23050
+ controlAggregation?: string;
23051
+ /**
23052
+ * Defines a boolean that can be passed to specify if the aggregation should be cleared - all items will
23053
+ * be removed - before adding the View to it. When using a {@link sap.ui.ux3.Shell} this should be true.
23054
+ * For a {@link sap.m.NavContainer} it should be false. When you use the {@link sap.m.routing.Router} the
23055
+ * default will be false.
23056
+ */
23057
+ clearControlAggregation?: boolean;
23058
+ /**
23059
+ * A reference to another target, using the name of the target. If you display a target that has a parent,
23060
+ * the parent will also be displayed. Also the control you specify with the controlId parameter, will be
23061
+ * searched inside of the created instance of the parent not in the rootView, provided in the config. The
23062
+ * control will be searched using the byId function of a view. When it is not found, the global ID is checked.
23063
+ *
23064
+ * The main use case for the parent property is placing a view or component inside a smaller container
23065
+ * of an instance, which is also created by targets. This is useful for lazy loading views or components,
23066
+ * only if the user really navigates to this part of your application.
23067
+ * **Example:** Our aim is to lazy load a tab of an IconTabBar (a control that displays a view initially
23068
+ * and when a user clicks on it the view changes). It's a perfect candidate to lazy load something inside
23069
+ * of it.
23070
+ * **Example app structure:**
23071
+ * We have a rootView that is returned by the createContent function of our UIComponent. This view contains
23072
+ * an sap.m.App control with the ID 'myApp'
23073
+ * ```javascript
23074
+ *
23075
+ *
23076
+ * <View xmlns="sap.m">
23077
+ * <App id="myApp"/>
23078
+ * </View>
23079
+ *
23080
+ * ```
23081
+ * an xml view called 'Detail'
23082
+ * ```javascript
23083
+ *
23084
+ *
23085
+ * <View xmlns="sap.m">
23086
+ * <IconTabBar>
23087
+ * <items>
23088
+ * <IconTabFilter>
23089
+ * <!-- content of our first tab -->
23090
+ * <IconTabFilter>
23091
+ * <IconTabFilter id="mySecondTab">
23092
+ * <!-- nothing here, since we will lazy load this one with a target -->
23093
+ * <IconTabFilter>
23094
+ * </items>
23095
+ * </IconTabBar>
23096
+ * </View>
23097
+ *
23098
+ * ```
23099
+ * and a view called 'SecondTabContent', this one contains our content we want to have lazy loaded. Now
23100
+ * we need to define the routing config within "sap.ui5/routing" section in manifest.json of a Component:
23101
+ *
23102
+ * ```javascript
23103
+ *
23104
+ *
23105
+ * {
23106
+ * "config": {
23107
+ * // all of our views have that type
23108
+ * "viewType": "XML",
23109
+ * // a reference to the app control in the rootView created by our UIComponent
23110
+ * "controlId": "myApp",
23111
+ * // An app has a pages aggregation where the views need to be put into
23112
+ * "controlAggregation": "pages"
23113
+ * },
23114
+ * "targets": {
23115
+ * "detail": {
23116
+ * "type": "View",
23117
+ * "name": "Detail"
23118
+ * },
23119
+ * "secondTabContent": {
23120
+ * // A reference to the detail target defined above
23121
+ * "parent": "detail",
23122
+ * // A reference to the second Tab container in the Detail view. Here the target does not look in the rootView, it looks in the Parent view (Detail).
23123
+ * "controlId": "mySecondTab",
23124
+ * // An IconTabFilter has an aggregation called content so we need to overwrite the pages set in the config as default.
23125
+ * "controlAggregation": "content",
23126
+ * // A view containing the content
23127
+ * "type": "View",
23128
+ * "name": "SecondTabContent"
23129
+ * }
23130
+ * }
23131
+ * }
23132
+ *
23133
+ * ```
23134
+ *
23135
+ *
23136
+ * Now if the target with name "secondTabContent" is displayed, 2 views will be created: Detail and SecondTabContent.
23137
+ * The 'Detail' view will be put into the pages aggregation of the App. And afterwards the 'SecondTabContent'
23138
+ * view will be put into the content Aggregation of the second IconTabFilter. So a parent will always be
23139
+ * created before the target referencing it.
23140
+ */
23141
+ parent?: string;
23142
+ };
23143
+
22770
23144
  /**
22771
23145
  * @SINCE 1.82.0
22772
23146
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -24678,18 +25052,20 @@ declare namespace sap {
24678
25052
  * ```javascript
24679
25053
  *
24680
25054
  * routing: {
24681
- * "routes": {
24682
- * "welcome": {
25055
+ * "routes": [
25056
+ * {
25057
+ * "name": "welcome",
24683
25058
  * // If the URL has no hash e.g.: index.html or index.html# , this route will be matched.
24684
25059
  * "pattern": "",
24685
25060
  * // Displays the target called "welcome" specified in metadata.routing.targets.welcome.
24686
25061
  * "target": "welcome"
24687
- * }
24688
- * "product": {
25062
+ * },
25063
+ * {
25064
+ * "name": "product",
24689
25065
  * "pattern": "Product/{id}",
24690
25066
  * "target": "product"
24691
25067
  * }
24692
- * }
25068
+ * ],
24693
25069
  * // Default values for targets
24694
25070
  * "config": {
24695
25071
  * // For a detailed documentation of these parameters have a look at the sap.ui.core.routing.Targets documentation
@@ -24699,13 +25075,13 @@ declare namespace sap {
24699
25075
  * "viewNamespace": "myApplication.namespace",
24700
25076
  * // If you are using the mobile library, you have to use an sap.m.Router, to get support for
24701
25077
  * // the controls sap.m.App, sap.m.SplitApp, sap.m.NavContainer and sap.m.SplitContainer.
24702
- * "routerClass": "sap.m.routing.Router"
25078
+ * "routerClass": "sap.m.routing.Router",
24703
25079
  * // What happens if no route matches the hash?
24704
25080
  * "bypassed": {
24705
25081
  * // the not found target gets displayed
24706
25082
  * "target": "notFound"
24707
25083
  * }
24708
- * }
25084
+ * },
24709
25085
  * "targets": {
24710
25086
  * "welcome": {
24711
25087
  * // Referenced by the route "welcome"
@@ -24716,7 +25092,7 @@ declare namespace sap {
24716
25092
  * // Referenced by the route "Product"
24717
25093
  * "viewName": "Product",
24718
25094
  * "viewLevel": 1
24719
- * }
25095
+ * },
24720
25096
  * "notFound": {
24721
25097
  * // Referenced by the bypassed section of the config
24722
25098
  * "viewName": "NotFound"
@@ -24728,15 +25104,12 @@ declare namespace sap {
24728
25104
  */
24729
25105
  type RoutingMetadata = {
24730
25106
  /**
24731
- * An object containing the routes that should be added to the router. See {@link sap.ui.core.routing.Route}
25107
+ * An array containing the routes that should be added to the router. See {@link sap.ui.core.routing.Route}
24732
25108
  * for the allowed properties.
24733
25109
  */
24734
- routes?: object;
24735
- /**
24736
- * Since 1.28.1. An object containing the targets that will be available for the router and the `Targets`
24737
- * instance. See {@link sap.ui.core.routing.Targets} for the allowed values.
24738
- */
24739
- targets?: object;
25110
+ routes?:
25111
+ | sap.ui.core.routing.$RouteSettings[]
25112
+ | Record<string, sap.ui.core.routing.$RouteSettings>;
24740
25113
  /**
24741
25114
  * Since 1.16. An object containing default values used for routes and targets. See {@link sap.ui.core.routing.Router#constructor}
24742
25115
  * and {@link sap.ui.core.routing.Targets} for more documentation.
@@ -27505,7 +27878,7 @@ declare namespace sap {
27505
27878
  * The settings object passed to the component when created. This property can only be applied initially.
27506
27879
  */
27507
27880
  settings?:
27508
- | object
27881
+ | sap.ui.core.$ComponentSettings
27509
27882
  | sap.ui.base.ManagedObject.PropertyBindingInfo
27510
27883
  | `{${string}}`;
27511
27884
 
@@ -28845,7 +29218,9 @@ declare namespace sap {
28845
29218
  *
28846
29219
  * @returns the security token handlers (an empty array if there are none)
28847
29220
  */
28848
- getSecurityTokenHandlers(): Function[];
29221
+ getSecurityTokenHandlers(): Array<
29222
+ (p1: sap.ui.core.URI) => Promise<any>
29223
+ >;
28849
29224
  /**
28850
29225
  * @SINCE 1.106.0
28851
29226
  *
@@ -28866,10 +29241,6 @@ declare namespace sap {
28866
29241
  /**
28867
29242
  * @SINCE 1.99.0
28868
29243
  *
28869
- * **Note: Due to compatibility considerations, the time zone can only be changed for test purposes via
28870
- * the `sap-timezone` URL parameter. If this parameter is not set, the time zone of the browser/host system
28871
- * is returned.**
28872
- *
28873
29244
  * Retrieves the configured IANA timezone ID.
28874
29245
  *
28875
29246
  * @returns The configured IANA timezone ID, e.g. "America/New_York"
@@ -29061,16 +29432,19 @@ declare namespace sap {
29061
29432
  /**
29062
29433
  * The security token handlers
29063
29434
  */
29064
- aSecurityTokenHandlers: Function[]
29435
+ aSecurityTokenHandlers: Array<(p1: sap.ui.core.URI) => Promise<any>>
29065
29436
  ): void;
29066
29437
  /**
29067
29438
  * @SINCE 1.99.0
29068
29439
  *
29069
- * **Note: Due to compatibility considerations, this function has no effect in this release. The timezone
29070
- * configuration will always reflect the timezone of the browser/host system.**
29071
- *
29072
29440
  * Sets the timezone such that all date and time based calculations use this timezone.
29073
29441
  *
29442
+ * **Important:** It is strongly recommended to only use this API at the earliest point of time while initializing
29443
+ * a UI5 app. A later adjustment of the time zone should be avoided. It can lead to unexpected data inconsistencies
29444
+ * in a running application, because date objects could still be related to a previously configured time
29445
+ * zone. Instead, the app should be completely restarted with the new time zone. For more information, see
29446
+ * {@link topic:6c9e61dc157a40c19460660ece8368bc Dates, Times, Timestamps, and Time Zones}.
29447
+ *
29074
29448
  * When the timezone has changed, the Core will fire its {@link sap.ui.core.Core#event:localizationChanged
29075
29449
  * localizationChanged} event.
29076
29450
  *
@@ -30189,46 +30563,7 @@ declare namespace sap {
30189
30563
  /**
30190
30564
  * Info object for the library
30191
30565
  */
30192
- oLibInfo: {
30193
- /**
30194
- * Name of the library; when given it must match the name by which the library has been loaded
30195
- */
30196
- name?: string;
30197
- /**
30198
- * Version of the library
30199
- */
30200
- version: string;
30201
- /**
30202
- * List of libraries that this library depends on; names are in dot notation (e.g. "sap.ui.core")
30203
- */
30204
- dependencies?: string[];
30205
- /**
30206
- * List of names of types that this library provides; names are in dot notation (e.g. "sap.ui.core.CSSSize")
30207
- */
30208
- types?: string[];
30209
- /**
30210
- * List of names of interface types that this library provides; names are in dot notation (e.g. "sap.ui.core.PopupInterface")
30211
- */
30212
- interfaces?: string[];
30213
- /**
30214
- * Names of control types that this library provides; names are in dot notation (e.g. "sap.ui.core.ComponentContainer")
30215
- */
30216
- controls?: string[];
30217
- /**
30218
- * Names of element types that this library provides (excluding controls); names are in dot notation (e.g.
30219
- * "sap.ui.core.Item")
30220
- */
30221
- elements?: string[];
30222
- /**
30223
- * Indicates whether the library doesn't provide / use theming. When set to true, no library.css will be
30224
- * loaded for this library
30225
- */
30226
- noLibraryCSS?: boolean;
30227
- /**
30228
- * Potential extensions of the library metadata; structure not defined by the UI5 core framework.
30229
- */
30230
- extensions?: object;
30231
- }
30566
+ oLibInfo: sap.ui.core.LibraryInfo
30232
30567
  ): object | undefined;
30233
30568
  /**
30234
30569
  * Returns true if the Core has already been initialized. This means that instances of RenderManager etc.
@@ -30361,7 +30696,7 @@ declare namespace sap {
30361
30696
  */
30362
30697
  url?: string;
30363
30698
  }
30364
- ): object | Promise<object>;
30699
+ ): sap.ui.core.LibraryInfo | Promise<sap.ui.core.LibraryInfo>;
30365
30700
  /**
30366
30701
  * Locks the Core. No browser events are dispatched to the controls.
30367
30702
  *
@@ -30696,19 +31031,7 @@ declare namespace sap {
30696
31031
  */
30697
31032
  resourceBundle?: import("sap/base/i18n/ResourceBundle").default;
30698
31033
  }
30699
- ): {
30700
- name: string;
30701
-
30702
- collection: string;
30703
-
30704
- uri: string;
30705
-
30706
- fontFamily: string;
30707
-
30708
- content: string | string[];
30709
-
30710
- suppressMirroring: boolean;
30711
- };
31034
+ ): sap.ui.core.IconPool.IconInfo;
30712
31035
  /**
30713
31036
  * Creates an instance of {@link sap.ui.core.Icon} if the given URI is an icon URI, otherwise the given
30714
31037
  * constructor is called. The given URI is set to the src property of the control.
@@ -30721,7 +31044,14 @@ declare namespace sap {
30721
31044
  * associated constructor can be used. Unknown properties are ignored. It should contain at least a property
30722
31045
  * named src. If it's given with a string type, it will be taken as the value of src property.
30723
31046
  */
30724
- setting: string | object,
31047
+ setting:
31048
+ | string
31049
+ | {
31050
+ /**
31051
+ * either an icon URI or the URL that points to the image file
31052
+ */
31053
+ src: sap.ui.core.URI;
31054
+ },
30725
31055
  /**
30726
31056
  * The constructor function which is called when the given URI isn't an icon URI
30727
31057
  */
@@ -30795,7 +31125,10 @@ declare namespace sap {
30795
31125
  * afterwards the icon info
30796
31126
  */
30797
31127
  loadingMode?: string
30798
- ): object | Promise<any> | undefined;
31128
+ ):
31129
+ | sap.ui.core.IconPool.IconInfo
31130
+ | undefined
31131
+ | Promise<sap.ui.core.IconPool.IconInfo | undefined>;
30799
31132
  /**
30800
31133
  * Returns all name of icons that are registered under the given collection.
30801
31134
  *
@@ -31555,7 +31888,7 @@ declare namespace sap {
31555
31888
  /**
31556
31889
  * Settings of the new Component
31557
31890
  */
31558
- settings?: object;
31891
+ settings?: sap.ui.core.$ComponentSettings;
31559
31892
  /**
31560
31893
  * Whether and from where to load the manifest.json for the Component. When set to any truthy value, the
31561
31894
  * manifest will be loaded and evaluated before the Component controller. If it is set to a falsy value,
@@ -31878,13 +32211,13 @@ declare namespace sap {
31878
32211
  /**
31879
32212
  * Settings for the nested component like for {#link sap.ui.component} or the component constructor
31880
32213
  */
31881
- settings?: object;
32214
+ settings?: sap.ui.core.$ComponentSettings;
31882
32215
  /**
31883
32216
  * Initial data of the component (@see sap.ui.core.Component#getComponentData)
31884
32217
  */
31885
32218
  componentData?: object;
31886
32219
  }
31887
- ): sap.ui.core.Component | Promise<any>;
32220
+ ): sap.ui.core.Component | Promise<sap.ui.core.Component>;
31888
32221
  /**
31889
32222
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
31890
32223
  *
@@ -32042,7 +32375,7 @@ declare namespace sap {
32042
32375
  * Local service alias as defined in the manifest.json
32043
32376
  */
32044
32377
  sLocalServiceAlias: string
32045
- ): Promise<any>;
32378
+ ): Promise</* was: sap.ui.core.service.Service */ any>;
32046
32379
  /**
32047
32380
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
32048
32381
  *
@@ -32517,7 +32850,7 @@ declare namespace sap {
32517
32850
  *
32518
32851
  * @returns Value of property `settings`
32519
32852
  */
32520
- getSettings(): object;
32853
+ getSettings(): sap.ui.core.$ComponentSettings;
32521
32854
  /**
32522
32855
  * Gets current value of property {@link #getUrl url}.
32523
32856
  *
@@ -32725,7 +33058,7 @@ declare namespace sap {
32725
33058
  /**
32726
33059
  * New value for property `settings`
32727
33060
  */
32728
- oSettings?: object
33061
+ oSettings?: sap.ui.core.$ComponentSettings
32729
33062
  ): this;
32730
33063
  /**
32731
33064
  * Sets a new value for property {@link #getUrl url}.
@@ -32797,7 +33130,12 @@ declare namespace sap {
32797
33130
  /**
32798
33131
  * Static info to construct the metadata from
32799
33132
  */
32800
- oClassInfo: object
33133
+ oClassInfo: {
33134
+ /**
33135
+ * The metadata object describing the class
33136
+ */
33137
+ metadata?: sap.ui.core.Component.MetadataOptions;
33138
+ }
32801
33139
  );
32802
33140
 
32803
33141
  /**
@@ -33496,7 +33834,7 @@ declare namespace sap {
33496
33834
  *
33497
33835
  * @returns a Renderer suitable for this Control instance.
33498
33836
  */
33499
- getRenderer(): object;
33837
+ getRenderer(): sap.ui.core.ControlRenderer;
33500
33838
  /**
33501
33839
  * Gets current value of property {@link #getVisible visible}.
33502
33840
  *
@@ -35034,7 +35372,12 @@ declare namespace sap {
35034
35372
  /**
35035
35373
  * static info to construct the metadata from
35036
35374
  */
35037
- oClassInfo: object
35375
+ oClassInfo: {
35376
+ /**
35377
+ * The metadata object describing the class
35378
+ */
35379
+ metadata?: sap.ui.core.Element.MetadataOptions;
35380
+ }
35038
35381
  );
35039
35382
 
35040
35383
  /**
@@ -35055,7 +35398,7 @@ declare namespace sap {
35055
35398
  * name of the aggregation or empty.
35056
35399
  */
35057
35400
  sAggregationName?: string
35058
- ): Object;
35401
+ ): sap.ui.core.Element.MetadataOptions.DnD;
35059
35402
  /**
35060
35403
  * By default, the element name is equal to the class name
35061
35404
  *
@@ -35202,7 +35545,7 @@ declare namespace sap {
35202
35545
  * by the event is provided as the third argument (if present). Handlers must not change the content of
35203
35546
  * this map.
35204
35547
  */
35205
- fnFunction: Function,
35548
+ fnFunction: (p1: string, p2: string, p3: Object) => void,
35206
35549
  /**
35207
35550
  * The object that wants to be notified when the event occurs (`this` context within the handler function).
35208
35551
  * If it is not specified, the handler function is called in the context of the event bus.
@@ -35226,7 +35569,7 @@ declare namespace sap {
35226
35569
  * by the event is provided as the third argument (if present). Handlers must not change the content of
35227
35570
  * this map.
35228
35571
  */
35229
- fnFunction: Function,
35572
+ fnFunction: (p1: string, p2: string, p3: Object) => void,
35230
35573
  /**
35231
35574
  * The object that wants to be notified when the event occurs (`this` context within the handler function).
35232
35575
  * If it is not specified, the handler function is called in the context of the event bus.
@@ -35262,7 +35605,7 @@ declare namespace sap {
35262
35605
  * by the event is provided as the third argument (if present). Handlers must not change the content of
35263
35606
  * this map.
35264
35607
  */
35265
- fnFunction: Function,
35608
+ fnFunction: (p1: string, p2: string, p3: Object) => void,
35266
35609
  /**
35267
35610
  * The object that wants to be notified when the event occurs (`this` context within the handler function).
35268
35611
  * If it is not specified, the handler function is called in the context of the event bus.
@@ -35292,7 +35635,7 @@ declare namespace sap {
35292
35635
  * by the event is provided as the third argument (if present). Handlers must not change the content of
35293
35636
  * this map.
35294
35637
  */
35295
- fnFunction: Function,
35638
+ fnFunction: (p1: string, p2: string, p3: Object) => void,
35296
35639
  /**
35297
35640
  * The object that wants to be notified when the event occurs (`this` context within the handler function).
35298
35641
  * If it is not specified, the handler function is called in the context of the event bus.
@@ -35319,7 +35662,7 @@ declare namespace sap {
35319
35662
  /**
35320
35663
  * The handler function to unsubscribe from the event
35321
35664
  */
35322
- fnFunction: Function,
35665
+ fnFunction: (p1: string, p2: string, p3: Object) => void,
35323
35666
  /**
35324
35667
  * The object that wanted to be notified when the event occurred
35325
35668
  */
@@ -35341,7 +35684,7 @@ declare namespace sap {
35341
35684
  /**
35342
35685
  * The handler function to unsubscribe from the event
35343
35686
  */
35344
- fnFunction: Function,
35687
+ fnFunction: (p1: string, p2: string, p3: Object) => void,
35345
35688
  /**
35346
35689
  * The object that wanted to be notified when the event occurred
35347
35690
  */
@@ -38612,7 +38955,7 @@ declare namespace sap {
38612
38955
  */
38613
38956
  activeTerminologies?: string[];
38614
38957
  }
38615
- ): sap.ui.core.Manifest | Promise<any>;
38958
+ ): sap.ui.core.Manifest | Promise<sap.ui.core.Manifest>;
38616
38959
  /**
38617
38960
  * Returns the Component name which is defined in the manifest as `sap.ui5/componentName` or `sap.app/id`
38618
38961
  *
@@ -39400,7 +39743,7 @@ declare namespace sap {
39400
39743
  *
39401
39744
  * @returns if a function was set it is returned otherwise a boolean value whether the follow of is activated
39402
39745
  */
39403
- getFollowOf(): boolean | Function;
39746
+ getFollowOf(): boolean | ((p1: sap.ui.core.Popup.PositionInfo) => void);
39404
39747
  /**
39405
39748
  * Returns the last z-index that has been handed out. does not increase the internal z-index counter.
39406
39749
  *
@@ -39485,7 +39828,10 @@ declare namespace sap {
39485
39828
  /**
39486
39829
  * defines whether the popup should follow the dock reference when the reference changes its position.
39487
39830
  */
39488
- followOf?: boolean | Function | null
39831
+ followOf?:
39832
+ | boolean
39833
+ | ((p1: sap.ui.core.Popup.PositionInfo) => void)
39834
+ | null
39489
39835
  ): void;
39490
39836
  /**
39491
39837
  * Opens the popup's content at the position either specified here or beforehand via {@link #setPosition}.
@@ -39536,7 +39882,10 @@ declare namespace sap {
39536
39882
  /**
39537
39883
  * defines whether the popup should follow the dock reference when the reference changes its position.
39538
39884
  */
39539
- followOf?: boolean | Function | null
39885
+ followOf?:
39886
+ | boolean
39887
+ | ((p1: sap.ui.core.Popup.PositionInfo) => void)
39888
+ | null
39540
39889
  ): void;
39541
39890
  /**
39542
39891
  * Sets the animation functions to use for opening and closing the Popup. Any null value will be ignored
@@ -39550,11 +39899,11 @@ declare namespace sap {
39550
39899
  /**
39551
39900
  * The function which executes the custom opening animation
39552
39901
  */
39553
- fnOpen: Function,
39902
+ fnOpen: (p1: jQuery, p2: int, p3: Function) => void,
39554
39903
  /**
39555
39904
  * The function which executes the custom closing animation
39556
39905
  */
39557
- fnClose: Function
39906
+ fnClose: (p1: jQuery, p2: int, p3: Function) => void
39558
39907
  ): this;
39559
39908
  /**
39560
39909
  * Used to specify whether the Popup should close as soon as - for non-touch environment: the focus leaves
@@ -39633,7 +39982,10 @@ declare namespace sap {
39633
39982
  * a boolean value enabled/disables the default followOf-Handler. Or an individual handler can be given.
39634
39983
  * null deletes all followOf settings.
39635
39984
  */
39636
- followOf: boolean | Function | null
39985
+ followOf:
39986
+ | boolean
39987
+ | ((p1: sap.ui.core.Popup.PositionInfo) => void)
39988
+ | null
39637
39989
  ): void;
39638
39990
  /**
39639
39991
  * Sets the ID of the element that should be focused once the popup opens. If the given ID is the ID of
@@ -40334,7 +40686,7 @@ declare namespace sap {
40334
40686
  * the control that should be rendered
40335
40687
  */
40336
40688
  oControl: sap.ui.core.Control
40337
- ): object;
40689
+ ): sap.ui.core.ControlRenderer;
40338
40690
  /**
40339
40691
  * Writes either an <img> tag for normal URI or a <span> tag with needed properties for an icon
40340
40692
  * URI.
@@ -40872,7 +41224,23 @@ declare namespace sap {
40872
41224
  * object is passed as first argument to the event handler. See the description of this function for more
40873
41225
  * details about the available parameters of this event.
40874
41226
  */
40875
- fnHandler: Function
41227
+ fnHandler: (p1: {
41228
+ target: /* was Element */ global_Element;
41229
+
41230
+ size: {
41231
+ width: float;
41232
+
41233
+ height: float;
41234
+ };
41235
+
41236
+ oldSize: {
41237
+ width: float;
41238
+
41239
+ height: float;
41240
+ };
41241
+
41242
+ control?: sap.ui.core.Control;
41243
+ }) => void
40876
41244
  ): string | null;
40877
41245
  }
40878
41246
  /**
@@ -43907,6 +44275,24 @@ declare namespace sap {
43907
44275
  */
43908
44276
  type Collision = string;
43909
44277
 
44278
+ /**
44279
+ * Control Renderer
44280
+ */
44281
+ type ControlRenderer = {
44282
+ /**
44283
+ * The function that renders the control
44284
+ */
44285
+ render: (
44286
+ p1: sap.ui.core.RenderManager,
44287
+ p2: sap.ui.core.Element
44288
+ ) => void;
44289
+ /**
44290
+ * The API version of the RenderManager that are used in this renderer. See {@link sap.ui.core.RenderManager
44291
+ * RenderManager} API documentation for detailed information
44292
+ */
44293
+ apiVersion?: 1 | 2 | 4;
44294
+ };
44295
+
43910
44296
  /**
43911
44297
  * A string type that represents CSS color values (CSS Color Level 3).
43912
44298
  *
@@ -44025,6 +44411,50 @@ declare namespace sap {
44025
44411
  */
44026
44412
  type ID = string;
44027
44413
 
44414
+ /**
44415
+ * Info object for the library
44416
+ */
44417
+ type LibraryInfo = {
44418
+ /**
44419
+ * Version of the library
44420
+ */
44421
+ version: string;
44422
+ /**
44423
+ * Name of the library; when given it must match the name by which the library has been loaded
44424
+ */
44425
+ name?: string;
44426
+ /**
44427
+ * List of libraries that this library depends on; names are in dot notation (e.g. "sap.ui.core")
44428
+ */
44429
+ dependencies?: string[];
44430
+ /**
44431
+ * List of names of types that this library provides; names are in dot notation (e.g. "sap.ui.core.CSSSize")
44432
+ */
44433
+ types?: string[];
44434
+ /**
44435
+ * List of names of interface types that this library provides; names are in dot notation (e.g. "sap.ui.core.PopupInterface")
44436
+ */
44437
+ interfaces?: string[];
44438
+ /**
44439
+ * Names of control types that this library provides; names are in dot notation (e.g. "sap.ui.core.ComponentContainer")
44440
+ */
44441
+ controls?: string[];
44442
+ /**
44443
+ * Names of element types that this library provides (excluding controls); names are in dot notation (e.g.
44444
+ * "sap.ui.core.Item")
44445
+ */
44446
+ elements?: string[];
44447
+ /**
44448
+ * Indicates whether the library doesn't provide/use theming. When set to true, no library.css will be loaded
44449
+ * for this library
44450
+ */
44451
+ noLibraryCSS?: boolean;
44452
+ /**
44453
+ * Potential extensions of the library metadata; structure not defined by the UI5 core framework.
44454
+ */
44455
+ extensions?: Record<string, any>;
44456
+ };
44457
+
44028
44458
  /**
44029
44459
  * A string type that represents a percentage value.
44030
44460
  */
@@ -47231,7 +47661,7 @@ declare namespace sap {
47231
47661
  *
47232
47662
  *
47233
47663
  * All types support formatting from the representation used in ODataModel ("model format") to various representations
47234
- * used by UI elements ("target type") and vice versa. Additionally they support validating a given value
47664
+ * used by UI elements ("target type") and vice versa. Additionally, they support validating a given value
47235
47665
  * against the type's constraints.
47236
47666
  *
47237
47667
  * The following target types may be supported: TypeDescription `string`The
@@ -47259,13 +47689,13 @@ declare namespace sap {
47259
47689
  * `null` is not accepted and leads to a (locale-dependent) `ParseException`.
47260
47690
  *
47261
47691
  * This ensures that the user cannot clear an input field bound to an attribute with non-nullable type.
47262
- * However it does not ensure that the user really entered something if the field was empty before.
47692
+ * However, it does not ensure that the user really entered something if the field was empty before.
47263
47693
  *
47264
47694
  * **`Date` vs. `DateTime`**:
47265
47695
  *
47266
- * The type {@link sap.ui.model.odata.type.Date} is only valid for an OData V4 service. If you use the type
47267
- * for an OData V2 service, displaying is possible but you get an error message from server if you try to
47268
- * save changes.
47696
+ * The type {@link sap.ui.model.odata.type.Date} is only valid for an OData V4 service. Displaying data
47697
+ * is possible if you use the type for an OData V2 service, but you will receive an error message from the
47698
+ * server once you try to save any changes.
47269
47699
  *
47270
47700
  * For an OData V2 service use {@link sap.ui.model.odata.type.DateTime} with the constraint `displayFormat:
47271
47701
  * "Date"` to display only a date.
@@ -47824,7 +48254,7 @@ declare namespace sap {
47824
48254
  * which represents a timestamp in the configured time zone. Validates the resulting value against the constraints
47825
48255
  * of this type instance.
47826
48256
  * See:
47827
- * {@link sap.ui.core.Configuration.getTimezone}
48257
+ * {@link sap.ui.core.Configuration#getTimezone}
47828
48258
  *
47829
48259
  * @returns The model representation for the given Date
47830
48260
  */
@@ -48231,6 +48661,15 @@ declare namespace sap {
48231
48661
  * messages to the attached control
48232
48662
  */
48233
48663
  getPartsIgnoringMessages(): number[];
48664
+ /**
48665
+ * @EXPERIMENTAL (since 1.114.0)
48666
+ *
48667
+ * Returns a language-dependent placeholder text such as "e.g. " where is formatted
48668
+ * using this type.
48669
+ *
48670
+ * @returns The language-dependent placeholder text or `undefined` if the type does not offer a placeholder
48671
+ */
48672
+ getPlaceholderText(): string | undefined;
48234
48673
  /**
48235
48674
  * Parses the given value.
48236
48675
  *
@@ -49079,6 +49518,15 @@ declare namespace sap {
49079
49518
  * @returns Metadata object describing this class
49080
49519
  */
49081
49520
  static getMetadata(): sap.ui.base.Metadata;
49521
+ /**
49522
+ * @EXPERIMENTAL (since 1.114.0)
49523
+ *
49524
+ * Returns a language-dependent placeholder text such as "e.g. " where is formatted
49525
+ * using this type.
49526
+ *
49527
+ * @returns The language-dependent placeholder text or `undefined` if the type does not offer a placeholder
49528
+ */
49529
+ getPlaceholderText(): string | undefined;
49082
49530
  }
49083
49531
  /**
49084
49532
  * @SINCE 1.37.0
@@ -52251,6 +52699,16 @@ declare namespace sap {
52251
52699
  * then this OData model's cache is updated with the values of the returned entities. Otherwise they are
52252
52700
  * ignored, and the `response` can be processed in the `success` callback.
52253
52701
  *
52702
+ * The `contextCreated` property of the returned object is a function that returns a Promise which resolves
52703
+ * with an `sap.ui.model.odata.v2.Context`. This context can be used to modify the function import parameter
52704
+ * values and to bind the function call's result. Changes of a parameter value via that context after the
52705
+ * function import has been processed lead to another function call with the modified parameters. Changed
52706
+ * function import parameters are considered as pending changes, see {@link #hasPendingChanges} or {@link
52707
+ * #getPendingChanges}, and can be reset via {@link #resetChanges}. If the function import returns an entity
52708
+ * or a collection of entities, the `$result` property relative to that context can be used to bind the
52709
+ * result to a control, see {@link topic:6c47b2b39db9404582994070ec3d57a2#loio6cb8d585ed594ee4b447b5b560f292a4
52710
+ * Binding of Function Import Parameters}.
52711
+ *
52254
52712
  * @returns An object which has a `contextCreated` function that returns a `Promise`. This resolves with
52255
52713
  * the created {@link sap.ui.model.Context}. In addition it has an `abort` function to abort the current
52256
52714
  * request. The Promise returned by `contextCreated` is rejected if the function name cannot be found in
@@ -53259,14 +53717,17 @@ declare namespace sap {
53259
53717
  oContext?: object
53260
53718
  ): any;
53261
53719
  /**
53262
- * Returns the changed properties of all changed entities in a map which are still pending. The key is the
53263
- * string name of the entity, and the value is an object which contains the changed properties. The tree
53264
- * hierarchy changes for removed nodes are represented via an empty object.
53720
+ * Returns the pending changes in this model.
53265
53721
  *
53266
- * In contrast to the two related functions {@link #hasPendingChanges} and {@link #resetChanges}, only client
53267
- * data changes are supported.
53722
+ * Only changes triggered through {@link #createEntry} or {@link #setProperty}, and tree hierarchy changes
53723
+ * are taken into account. Changes are returned as a map from the changed entity's key to an object containing
53724
+ * the changed properties. A node removed from a tree hierarchy has the empty object as value in this map;
53725
+ * all other pending entity deletions are not contained in the map.
53726
+ * See:
53727
+ * #hasPendingChanges
53728
+ * #resetChanges
53268
53729
  *
53269
- * @returns the pending changes in a map
53730
+ * @returns The map of pending changes
53270
53731
  */
53271
53732
  getPendingChanges(): Record<string, object>;
53272
53733
  /**
@@ -53342,6 +53803,9 @@ declare namespace sap {
53342
53803
  *
53343
53804
  * If `bAll` is set to `true`, also deferred requests triggered through {@link #create}, {@link #update},
53344
53805
  * and {@link #remove} are taken into account.
53806
+ * See:
53807
+ * #getPendingChanges
53808
+ * #resetChanges
53345
53809
  *
53346
53810
  * @returns `true` if there are pending changes, `false` otherwise.
53347
53811
  */
@@ -53646,9 +54110,9 @@ declare namespace sap {
53646
54110
  /**
53647
54111
  * Resets pending changes and aborts corresponding requests.
53648
54112
  *
53649
- * By default, only changes triggered through {@link #createEntry} or {@link #setProperty} are taken into
53650
- * account. If `bAll` is set, also deferred requests triggered through {@link #create}, {@link #update}
53651
- * or {@link #remove} are taken into account.
54113
+ * By default, only changes triggered through {@link #createEntry} or {@link #setProperty}, and tree hierarchy
54114
+ * changes are taken into account. If `bAll` is set, also deferred requests triggered through {@link #create},
54115
+ * {@link #update} or {@link #remove} are taken into account.
53652
54116
  *
53653
54117
  * With a given `aPath` only specified entities are reset. Note that tree hierarchy changes are only affected
53654
54118
  * if a given path is equal to the tree binding's resolved binding path.
@@ -53658,6 +54122,9 @@ declare namespace sap {
53658
54122
  * - {@link #createEntry}, provided it is not yet persisted in the back end and is active (see {@link
53659
54123
  * sap.ui.model.odata.v2.Context#isInactive}),
53660
54124
  * - {@link #callFunction}.
54125
+ * See:
54126
+ * #getPendingChanges
54127
+ * #hasPendingChanges
53661
54128
  *
53662
54129
  * @returns Resolves when all regarded changes have been reset.
53663
54130
  */
@@ -56310,9 +56777,10 @@ declare namespace sap {
56310
56777
  * bind the list relative to a transient context. Calling this method then adds a transient entity to the
56311
56778
  * parent's navigation property, which is sent with the payload of the parent entity. Such a nested context
56312
56779
  * also has a {@link sap.ui.model.odata.v4.Context#created created} promise, which resolves when the deep
56313
- * create resolves. **Beware:** After a succesful creation of the main entity the context returned for a
56314
- * nested entity is no longer valid. New contexts are created for the nested collection because it is not
56315
- * possible to reliably assign the response entities to those of the request, especially if the count differs.
56780
+ * create resolves; it cannot be inactive. **Beware:** After a succesful creation of the main entity the
56781
+ * context returned for a nested entity is no longer valid. New contexts are created for the nested collection
56782
+ * because it is not possible to reliably assign the response entities to those of the request, especially
56783
+ * if the count differs.
56316
56784
  *
56317
56785
  * Deep create requires the autoExpandSelect parameter at the {@link sap.ui.model.odata.v4.ODataModel#constructor
56318
56786
  * model}. The refresh after a deep create is optimized. Only the (navigation) properties missing from the
@@ -63518,6 +63986,15 @@ declare namespace sap {
63518
63986
  * @returns The output pattern
63519
63987
  */
63520
63988
  getOutputPattern(): string;
63989
+ /**
63990
+ * @EXPERIMENTAL (since 1.114.0)
63991
+ *
63992
+ * Returns a language-dependent placeholder text such as "e.g. " where is formatted
63993
+ * using this type.
63994
+ *
63995
+ * @returns The language-dependent placeholder text or `undefined` if the type does not offer a placeholder
63996
+ */
63997
+ getPlaceholderText(): string | undefined;
63521
63998
  }
63522
63999
  /**
63523
64000
  * This class represents the date interval composite type.
@@ -63643,6 +64120,15 @@ declare namespace sap {
63643
64120
  */
63644
64121
  sTargetType: string
63645
64122
  ): string;
64123
+ /**
64124
+ * @EXPERIMENTAL (since 1.114.0)
64125
+ *
64126
+ * Returns a language-dependent placeholder text such as "e.g. " where is formatted
64127
+ * using this type.
64128
+ *
64129
+ * @returns The language-dependent placeholder text or `undefined` if the type does not offer a placeholder
64130
+ */
64131
+ getPlaceholderText(): string | undefined;
63646
64132
  /**
63647
64133
  * Parses the given value to an array of two values representing the start date and the end date of the
63648
64134
  * interval, where the time part of the start date is 0 and the time part of end date is the end of day
@@ -69851,7 +70337,7 @@ declare namespace sap {
69851
70337
  * If this range set is initialized, a CSS class is added to the page root (`html` tag) which indicates
69852
70338
  * the current screen width range: `sapUiMedia-3Step-NAME_OF_THE_INTERVAL`.
69853
70339
  */
69854
- export const SAP_3STEPS: undefined;
70340
+ export const SAP_3STEPS: string;
69855
70341
 
69856
70342
  /**
69857
70343
  * A 4-step range set (S-XL).
@@ -69867,7 +70353,7 @@ declare namespace sap {
69867
70353
  * If this range set is initialized, a CSS class is added to the page root (`html` tag) which indicates
69868
70354
  * the current screen width range: `sapUiMedia-4Step-NAME_OF_THE_INTERVAL`.
69869
70355
  */
69870
- export const SAP_4STEPS: undefined;
70356
+ export const SAP_4STEPS: string;
69871
70357
 
69872
70358
  /**
69873
70359
  * A 6-step range set (XS-XXL).
@@ -69885,7 +70371,7 @@ declare namespace sap {
69885
70371
  * If this range set is initialized, a CSS class is added to the page root (`html` tag) which indicates
69886
70372
  * the current screen width range: `sapUiMedia-6Step-NAME_OF_THE_INTERVAL`.
69887
70373
  */
69888
- export const SAP_6STEPS: undefined;
70374
+ export const SAP_6STEPS: string;
69889
70375
 
69890
70376
  /**
69891
70377
  * A 3-step range set (Phone, Tablet, Desktop).
@@ -69909,7 +70395,7 @@ declare namespace sap {
69909
70395
  *
69910
70396
  * - `sapUiVisibleOnlyOnDesktop`: Will be visible only if the screen has 1024px or more
69911
70397
  */
69912
- export const SAP_STANDARD: undefined;
70398
+ export const SAP_STANDARD: string;
69913
70399
 
69914
70400
  /**
69915
70401
  * A 4-step range set (Phone, Tablet, Desktop, LargeDesktop).
@@ -69925,7 +70411,7 @@ declare namespace sap {
69925
70411
  *
69926
70412
  * A CSS class is added to the page root (`html` tag) which indicates the current screen width range: `sapUiMedia-StdExt-NAME_OF_THE_INTERVAL`.
69927
70413
  */
69928
- export const SAP_STANDARD_EXTENDED: undefined;
70414
+ export const SAP_STANDARD_EXTENDED: string;
69929
70415
  }
69930
70416
  }
69931
70417
  /**
@@ -71582,7 +72068,7 @@ declare namespace sap {
71582
72068
  */
71583
72069
  register(
71584
72070
  /**
71585
- * the regular expression that matches the feature file step (with leading "Given", "When", "Then", "But"
72071
+ * The regular expression that matches the feature file step (with leading "Given", "When", "Then", "But"
71586
72072
  * or "*" removed). E.g. if the feature file has the step "Then I should be served a coffee" it will be
71587
72073
  * truncated to "I should be served a coffee" and tested against "rRegex" to check for a match. The simple
71588
72074
  * regular expression /^I should be served a coffee$/i would match this text. The regular expression can
@@ -75685,7 +76171,7 @@ declare namespace sap {
75685
76171
  /**
75686
76172
  * Gets the constructor function of a certain controlType
75687
76173
  *
75688
- * @returns When the type is loaded, the contstructor is returned, if it is a lazy stub or not yet loaded,
76174
+ * @returns When the type is loaded, the constructor is returned, if it is a lazy stub or not yet loaded,
75689
76175
  * null will be returned and there will be a log entry.
75690
76176
  */
75691
76177
  getControlConstructor(