@sapui5/ts-types 1.114.0 → 1.115.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +2 -2
  3. package/types/sap.ca.ui.d.ts +135 -67
  4. package/types/sap.chart.d.ts +154 -125
  5. package/types/sap.collaboration.d.ts +80 -78
  6. package/types/sap.esh.search.ui.d.ts +93 -1
  7. package/types/sap.f.d.ts +1331 -950
  8. package/types/sap.fe.core.d.ts +38 -152
  9. package/types/sap.fe.macros.d.ts +53 -7
  10. package/types/sap.fe.navigation.d.ts +34 -27
  11. package/types/sap.fe.templates.d.ts +8 -275
  12. package/types/sap.fe.test.d.ts +4 -10
  13. package/types/sap.feedback.ui.d.ts +1 -1
  14. package/types/sap.gantt.d.ts +1716 -1087
  15. package/types/sap.insights.d.ts +1 -1
  16. package/types/sap.landvisz.d.ts +35 -9
  17. package/types/sap.m.d.ts +7228 -4499
  18. package/types/sap.makit.d.ts +17 -5
  19. package/types/sap.me.d.ts +122 -63
  20. package/types/sap.ndc.d.ts +99 -39
  21. package/types/sap.ovp.d.ts +1 -2
  22. package/types/sap.rules.ui.d.ts +43 -19
  23. package/types/sap.sac.df.d.ts +3 -3
  24. package/types/sap.suite.ui.commons.d.ts +2056 -1282
  25. package/types/sap.suite.ui.generic.template.d.ts +29 -40
  26. package/types/sap.suite.ui.microchart.d.ts +188 -136
  27. package/types/sap.tnt.d.ts +134 -54
  28. package/types/sap.ui.codeeditor.d.ts +51 -29
  29. package/types/sap.ui.commons.d.ts +1017 -599
  30. package/types/sap.ui.comp.d.ts +2370 -1523
  31. package/types/sap.ui.core.d.ts +4086 -2346
  32. package/types/sap.ui.dt.d.ts +1 -1
  33. package/types/sap.ui.export.d.ts +32 -29
  34. package/types/sap.ui.fl.d.ts +123 -80
  35. package/types/sap.ui.generic.app.d.ts +40 -39
  36. package/types/sap.ui.generic.template.d.ts +1 -1
  37. package/types/sap.ui.integration.d.ts +241 -163
  38. package/types/sap.ui.layout.d.ts +312 -355
  39. package/types/sap.ui.mdc.d.ts +21827 -6
  40. package/types/sap.ui.richtexteditor.d.ts +61 -49
  41. package/types/sap.ui.rta.d.ts +1 -2
  42. package/types/sap.ui.suite.d.ts +9 -9
  43. package/types/sap.ui.support.d.ts +5 -7
  44. package/types/sap.ui.table.d.ts +678 -452
  45. package/types/sap.ui.testrecorder.d.ts +1 -1
  46. package/types/sap.ui.unified.d.ts +925 -593
  47. package/types/sap.ui.ux3.d.ts +1038 -549
  48. package/types/sap.ui.vbm.d.ts +1262 -710
  49. package/types/sap.ui.vk.d.ts +2981 -1751
  50. package/types/sap.ui.vtm.d.ts +704 -457
  51. package/types/sap.ui.webc.common.d.ts +1 -1
  52. package/types/sap.ui.webc.fiori.d.ts +532 -301
  53. package/types/sap.ui.webc.main.d.ts +1222 -720
  54. package/types/sap.uiext.inbox.d.ts +47 -24
  55. package/types/sap.ushell.d.ts +359 -173
  56. package/types/sap.ushell_abap.d.ts +1 -1
  57. package/types/sap.uxap.d.ts +287 -199
  58. package/types/sap.viz.d.ts +678 -391
  59. package/types/sap.webanalytics.core.d.ts +1 -1
  60. package/types/sap.zen.commons.d.ts +5 -5
  61. package/types/sap.zen.crosstab.d.ts +1 -1
  62. package/types/sap.zen.dsh.d.ts +147 -81
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.114.0
1
+ // For Library Version: 1.115.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -134,7 +134,9 @@ declare namespace sap {
134
134
  /**
135
135
  * Fired when an item is selected.
136
136
  */
137
- itemSelect?: (oEvent: sap.ui.base.Event) => void;
137
+ itemSelect?: (
138
+ oEvent: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
139
+ ) => void;
138
140
  }
139
141
 
140
142
  interface $NavigationListItemSettings extends sap.ui.core.$ItemSettings {
@@ -202,7 +204,9 @@ declare namespace sap {
202
204
  /**
203
205
  * Fired when this item is selected.
204
206
  */
205
- select?: (oEvent: sap.ui.base.Event) => void;
207
+ select?: (
208
+ oEvent: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
209
+ ) => void;
206
210
  }
207
211
 
208
212
  interface $SideNavigationSettings extends sap.ui.core.$ControlSettings {
@@ -253,7 +257,9 @@ declare namespace sap {
253
257
  /**
254
258
  * Fired when an item is selected.
255
259
  */
256
- itemSelect?: (oEvent: sap.ui.base.Event) => void;
260
+ itemSelect?: (
261
+ oEvent: sap.ui.base.Event<sap.tnt.$SideNavigationItemSelectEventParameters>
262
+ ) => void;
257
263
  }
258
264
 
259
265
  interface $ToolHeaderSettings extends sap.m.$OverflowToolbarSettings {}
@@ -270,6 +276,16 @@ declare namespace sap {
270
276
  | sap.ui.base.ManagedObject.PropertyBindingInfo
271
277
  | `{${string}}`;
272
278
 
279
+ /**
280
+ * @SINCE 1.115
281
+ *
282
+ * Specifies the content background design.
283
+ */
284
+ contentBackgroundDesign?:
285
+ | sap.m.PageBackgroundDesign
286
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
287
+ | `{${string}}`;
288
+
273
289
  /**
274
290
  * The control to appear in the header area.
275
291
  */
@@ -297,6 +313,27 @@ declare namespace sap {
297
313
  | `{${string}}`;
298
314
  }
299
315
 
316
+ interface $NavigationListItemSelectEventParameters {
317
+ /**
318
+ * The selected item.
319
+ */
320
+ item?: sap.ui.core.Item;
321
+ }
322
+
323
+ interface $NavigationListItemSelectEventParameters {
324
+ /**
325
+ * The selected item.
326
+ */
327
+ item?: sap.ui.core.Item;
328
+ }
329
+
330
+ interface $SideNavigationItemSelectEventParameters {
331
+ /**
332
+ * The selected item.
333
+ */
334
+ item?: sap.ui.core.Item;
335
+ }
336
+
300
337
  /**
301
338
  * @SINCE 1.54
302
339
  *
@@ -315,9 +352,9 @@ declare namespace sap {
315
352
  *
316
353
  * Usage Guidelines:
317
354
  * - If the text is longer than the width of the control, it doesn’t wrap. Instead, it’s represented as
318
- * ellipsis.
355
+ * ellipsis.
319
356
  * - When truncated, the full text in the control is not visible. Therefore, it’s recommended to make
320
- * more space for longer items to be fully displayed.
357
+ * more space for longer items to be fully displayed.
321
358
  * - Colors are not semantic and have no visual representation in sap_belize_hcb and sap_belize_hcw themes.
322
359
  *
323
360
  * - The control shows plain text only, formatting is not visualized.
@@ -731,7 +768,9 @@ declare namespace sap {
731
768
  /**
732
769
  * The function to be called when the event occurs
733
770
  */
734
- fnFunction: (p1: sap.ui.base.Event) => void,
771
+ fnFunction: (
772
+ p1: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
773
+ ) => void,
735
774
  /**
736
775
  * Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
737
776
  */
@@ -751,7 +790,9 @@ declare namespace sap {
751
790
  /**
752
791
  * The function to be called when the event occurs
753
792
  */
754
- fnFunction: (p1: sap.ui.base.Event) => void,
793
+ fnFunction: (
794
+ p1: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
795
+ ) => void,
755
796
  /**
756
797
  * Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
757
798
  */
@@ -774,7 +815,9 @@ declare namespace sap {
774
815
  /**
775
816
  * The function to be called, when the event occurs
776
817
  */
777
- fnFunction: (p1: sap.ui.base.Event) => void,
818
+ fnFunction: (
819
+ p1: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
820
+ ) => void,
778
821
  /**
779
822
  * Context object on which the given function had to be called
780
823
  */
@@ -791,21 +834,14 @@ declare namespace sap {
791
834
  /**
792
835
  * Parameters to pass along with the event
793
836
  */
794
- mParameters?: {
795
- /**
796
- * The selected item.
797
- */
798
- item?: sap.ui.core.Item;
799
- }
837
+ mParameters?: sap.tnt.$NavigationListItemSelectEventParameters
800
838
  ): this;
801
839
  /**
802
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
803
- * ariaDescribedBy}.
840
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy ariaDescribedBy}.
804
841
  */
805
842
  getAriaDescribedBy(): sap.ui.core.ID[];
806
843
  /**
807
- * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
808
- * ariaLabelledBy}.
844
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
809
845
  */
810
846
  getAriaLabelledBy(): sap.ui.core.ID[];
811
847
  /**
@@ -1082,7 +1118,9 @@ declare namespace sap {
1082
1118
  /**
1083
1119
  * The function to be called when the event occurs
1084
1120
  */
1085
- fnFunction: (p1: sap.ui.base.Event) => void,
1121
+ fnFunction: (
1122
+ p1: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
1123
+ ) => void,
1086
1124
  /**
1087
1125
  * Context object to call the event handler with. Defaults to this `sap.tnt.NavigationListItem` itself
1088
1126
  */
@@ -1102,7 +1140,9 @@ declare namespace sap {
1102
1140
  /**
1103
1141
  * The function to be called when the event occurs
1104
1142
  */
1105
- fnFunction: (p1: sap.ui.base.Event) => void,
1143
+ fnFunction: (
1144
+ p1: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
1145
+ ) => void,
1106
1146
  /**
1107
1147
  * Context object to call the event handler with. Defaults to this `sap.tnt.NavigationListItem` itself
1108
1148
  */
@@ -1125,7 +1165,9 @@ declare namespace sap {
1125
1165
  /**
1126
1166
  * The function to be called, when the event occurs
1127
1167
  */
1128
- fnFunction: (p1: sap.ui.base.Event) => void,
1168
+ fnFunction: (
1169
+ p1: sap.ui.base.Event<sap.tnt.$NavigationListItemSelectEventParameters>
1170
+ ) => void,
1129
1171
  /**
1130
1172
  * Context object on which the given function had to be called
1131
1173
  */
@@ -1142,12 +1184,7 @@ declare namespace sap {
1142
1184
  /**
1143
1185
  * Parameters to pass along with the event
1144
1186
  */
1145
- mParameters?: {
1146
- /**
1147
- * The selected item.
1148
- */
1149
- item?: sap.ui.core.Item;
1150
- }
1187
+ mParameters?: sap.tnt.$NavigationListItemSelectEventParameters
1151
1188
  ): this;
1152
1189
  /**
1153
1190
  * Gets current value of property {@link #getExpanded expanded}.
@@ -1159,6 +1196,14 @@ declare namespace sap {
1159
1196
  * @returns Value of property `expanded`
1160
1197
  */
1161
1198
  getExpanded(): boolean;
1199
+ /**
1200
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1201
+ *
1202
+ * Returns the DOM Element that should get the focus.
1203
+ *
1204
+ * @returns Returns the DOM Element that should get the focus
1205
+ */
1206
+ getFocusDomRef(): Element;
1162
1207
  /**
1163
1208
  * Gets current value of property {@link #getHasExpander hasExpander}.
1164
1209
  *
@@ -1379,7 +1424,7 @@ declare namespace sap {
1379
1424
  * other. Responsive Behavior:
1380
1425
  * - The flexible part adapts its size to the fixed one.
1381
1426
  * - The flexible part has a scrollbar when the content is larger than the available space. **Note:**
1382
- * In order for the SideNavigation to stretch properly, its parent layout control should only be the sap.tnt.ToolPage.
1427
+ * In order for the SideNavigation to stretch properly, its parent layout control should only be the sap.tnt.ToolPage.
1383
1428
  */
1384
1429
  class SideNavigation extends sap.ui.core.Control {
1385
1430
  /**
@@ -1465,7 +1510,9 @@ declare namespace sap {
1465
1510
  /**
1466
1511
  * The function to be called when the event occurs
1467
1512
  */
1468
- fnFunction: (p1: sap.ui.base.Event) => void,
1513
+ fnFunction: (
1514
+ p1: sap.ui.base.Event<sap.tnt.$SideNavigationItemSelectEventParameters>
1515
+ ) => void,
1469
1516
  /**
1470
1517
  * Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
1471
1518
  */
@@ -1485,7 +1532,9 @@ declare namespace sap {
1485
1532
  /**
1486
1533
  * The function to be called when the event occurs
1487
1534
  */
1488
- fnFunction: (p1: sap.ui.base.Event) => void,
1535
+ fnFunction: (
1536
+ p1: sap.ui.base.Event<sap.tnt.$SideNavigationItemSelectEventParameters>
1537
+ ) => void,
1489
1538
  /**
1490
1539
  * Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
1491
1540
  */
@@ -1534,7 +1583,9 @@ declare namespace sap {
1534
1583
  /**
1535
1584
  * The function to be called, when the event occurs
1536
1585
  */
1537
- fnFunction: (p1: sap.ui.base.Event) => void,
1586
+ fnFunction: (
1587
+ p1: sap.ui.base.Event<sap.tnt.$SideNavigationItemSelectEventParameters>
1588
+ ) => void,
1538
1589
  /**
1539
1590
  * Context object on which the given function had to be called
1540
1591
  */
@@ -1551,12 +1602,7 @@ declare namespace sap {
1551
1602
  /**
1552
1603
  * Parameters to pass along with the event
1553
1604
  */
1554
- mParameters?: {
1555
- /**
1556
- * The selected item.
1557
- */
1558
- item?: sap.ui.core.Item;
1559
- }
1605
+ mParameters?: sap.tnt.$SideNavigationItemSelectEventParameters
1560
1606
  ): this;
1561
1607
  /**
1562
1608
  * @SINCE 1.98
@@ -1706,16 +1752,19 @@ declare namespace sap {
1706
1752
  /**
1707
1753
  * @SINCE 1.34
1708
1754
  *
1709
- * The ToolHeader control is a horizontal container that is most commonly used to display buttons, labels,
1755
+ * The ToolHeader control is a horizontal container that is most commonly used to display buttons, texts,
1710
1756
  * and other various input controls. Overview: The ToolHeader control is based on {@link sap.m.OverflowToolbar}.
1711
1757
  * It contains clearly structured menus of commands that are available across the various apps within the
1712
1758
  * same tool layout. Usage:
1759
+ * - This control is specialized for administrative applications. For other types of applications use:
1760
+ * {@link sap.m.Shell}
1713
1761
  * - If an app implements side navigation in addition to the tool header menu, the menu icon must be the
1714
- * first item on the left-hand side of the tool header.
1762
+ * first item on the left-hand side of the tool header.
1715
1763
  * - The app menu and the side navigation must not have any dependencies and must work independently.
1716
- * Fiori 3 theme specifics: In Fiori 3 Default theme the ToolHeader is with dark design unlike most
1717
- * of the other controls. This defines the usage of limited controls inside it, which will result in good
1718
- * design combination.
1764
+ * Horizon theme specifics: Only the following controls are supported: sap.m.Button, sap.m.Image,
1765
+ * sap.m.Title, sap.m.Text, sap.m.SearchField, sap.m.Avatar. Fiori 3 theme specifics: In Fiori 3 Default
1766
+ * theme the ToolHeader is with dark design unlike most of the other controls. This defines the usage of
1767
+ * limited controls inside it, which will result in good design combination.
1719
1768
  * The ToolHeader stylizes the contained controls with the Shell color parameters, to match the dark design
1720
1769
  * requirement. However, that's not a dark theme.
1721
1770
  *
@@ -1749,8 +1798,8 @@ declare namespace sap {
1749
1798
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1750
1799
  * of the syntax of the settings object.
1751
1800
  *
1752
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor
1753
- * sap.m.OverflowToolbar} can be used.
1801
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
1802
+ * can be used.
1754
1803
  * See:
1755
1804
  * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1756
1805
  */
@@ -1767,8 +1816,8 @@ declare namespace sap {
1767
1816
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1768
1817
  * of the syntax of the settings object.
1769
1818
  *
1770
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor
1771
- * sap.m.OverflowToolbar} can be used.
1819
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
1820
+ * can be used.
1772
1821
  * See:
1773
1822
  * {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
1774
1823
  */
@@ -1827,8 +1876,8 @@ declare namespace sap {
1827
1876
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1828
1877
  * of the syntax of the settings object.
1829
1878
  *
1830
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Control#constructor
1831
- * sap.ui.core.Control} can be used.
1879
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Control#constructor sap.ui.core.Control }
1880
+ * can be used.
1832
1881
  */
1833
1882
  constructor(
1834
1883
  /**
@@ -1843,8 +1892,8 @@ declare namespace sap {
1843
1892
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
1844
1893
  * of the syntax of the settings object.
1845
1894
  *
1846
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Control#constructor
1847
- * sap.ui.core.Control} can be used.
1895
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Control#constructor sap.ui.core.Control }
1896
+ * can be used.
1848
1897
  */
1849
1898
  constructor(
1850
1899
  /**
@@ -1892,9 +1941,9 @@ declare namespace sap {
1892
1941
  *
1893
1942
  * The ToolPage is a layout control, used to create a basic tools app that has a header, side navigation
1894
1943
  * and contents area. Overview: The control has three main areas - a header on top, navigation to the side
1895
- * and a content area that can hold any control. The header and side navigation use custom controls - {@link
1896
- * sap.tnt.ToolHeader} and {@link sap.tnt.SideNavigation}. Usage: The main usage of the sap.tnt controls
1897
- * is for scenarios in the tooling or administration space.
1944
+ * and a content area that can hold any control. The header and side navigation use custom controls - {@link sap.tnt.ToolHeader }
1945
+ * and {@link sap.tnt.SideNavigation}. Usage: The main usage of the sap.tnt controls is for scenarios in
1946
+ * the tooling or administration space.
1898
1947
  */
1899
1948
  class ToolPage extends sap.ui.core.Control {
1900
1949
  /**
@@ -1994,6 +2043,18 @@ declare namespace sap {
1994
2043
  * @returns Reference to `this` in order to allow method chaining
1995
2044
  */
1996
2045
  destroySubHeader(): this;
2046
+ /**
2047
+ * @SINCE 1.115
2048
+ *
2049
+ * Gets current value of property {@link #getContentBackgroundDesign contentBackgroundDesign}.
2050
+ *
2051
+ * Specifies the content background design.
2052
+ *
2053
+ * Default value is `Standard`.
2054
+ *
2055
+ * @returns Value of property `contentBackgroundDesign`
2056
+ */
2057
+ getContentBackgroundDesign(): sap.m.PageBackgroundDesign;
1997
2058
  /**
1998
2059
  * Gets content of aggregation {@link #getHeader header}.
1999
2060
  *
@@ -2078,6 +2139,25 @@ declare namespace sap {
2078
2139
  */
2079
2140
  vMainContent: int | string | sap.ui.core.Control
2080
2141
  ): sap.ui.core.Control | null;
2142
+ /**
2143
+ * @SINCE 1.115
2144
+ *
2145
+ * Sets a new value for property {@link #getContentBackgroundDesign contentBackgroundDesign}.
2146
+ *
2147
+ * Specifies the content background design.
2148
+ *
2149
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2150
+ *
2151
+ * Default value is `Standard`.
2152
+ *
2153
+ * @returns Reference to `this` in order to allow method chaining
2154
+ */
2155
+ setContentBackgroundDesign(
2156
+ /**
2157
+ * New value for property `contentBackgroundDesign`
2158
+ */
2159
+ sContentBackgroundDesign?: sap.m.PageBackgroundDesign
2160
+ ): this;
2081
2161
  /**
2082
2162
  * Sets the aggregated {@link #getHeader header}.
2083
2163
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.114.0
1
+ // For Library Version: 1.115.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -106,12 +106,40 @@ declare namespace sap {
106
106
  /**
107
107
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
108
108
  */
109
- liveChange?: (oEvent: sap.ui.base.Event) => void;
109
+ liveChange?: (
110
+ oEvent: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorLiveChangeEventParameters>
111
+ ) => void;
110
112
 
111
113
  /**
112
114
  * Fired when the value has changed and the focus leaves the code editor.
113
115
  */
114
- change?: (oEvent: sap.ui.base.Event) => void;
116
+ change?: (
117
+ oEvent: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorChangeEventParameters>
118
+ ) => void;
119
+ }
120
+
121
+ interface $CodeEditorChangeEventParameters {
122
+ /**
123
+ * The current value of the code editor.
124
+ */
125
+ value?: string;
126
+
127
+ /**
128
+ * The old value of the code editor.
129
+ */
130
+ oldValue?: string;
131
+ }
132
+
133
+ interface $CodeEditorLiveChangeEventParameters {
134
+ /**
135
+ * The current value of the code editor.
136
+ */
137
+ value?: string;
138
+
139
+ /**
140
+ * The underlying change event of the third-party code editor.
141
+ */
142
+ editorEvent?: object;
115
143
  }
116
144
 
117
145
  /**
@@ -216,7 +244,9 @@ declare namespace sap {
216
244
  /**
217
245
  * The function to be called when the event occurs
218
246
  */
219
- fnFunction: (p1: sap.ui.base.Event) => void,
247
+ fnFunction: (
248
+ p1: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorChangeEventParameters>
249
+ ) => void,
220
250
  /**
221
251
  * Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
222
252
  */
@@ -236,7 +266,9 @@ declare namespace sap {
236
266
  /**
237
267
  * The function to be called when the event occurs
238
268
  */
239
- fnFunction: (p1: sap.ui.base.Event) => void,
269
+ fnFunction: (
270
+ p1: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorChangeEventParameters>
271
+ ) => void,
240
272
  /**
241
273
  * Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
242
274
  */
@@ -261,7 +293,9 @@ declare namespace sap {
261
293
  /**
262
294
  * The function to be called when the event occurs
263
295
  */
264
- fnFunction: (p1: sap.ui.base.Event) => void,
296
+ fnFunction: (
297
+ p1: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorLiveChangeEventParameters>
298
+ ) => void,
265
299
  /**
266
300
  * Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
267
301
  */
@@ -281,7 +315,9 @@ declare namespace sap {
281
315
  /**
282
316
  * The function to be called when the event occurs
283
317
  */
284
- fnFunction: (p1: sap.ui.base.Event) => void,
318
+ fnFunction: (
319
+ p1: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorLiveChangeEventParameters>
320
+ ) => void,
285
321
  /**
286
322
  * Context object to call the event handler with. Defaults to this `sap.ui.codeeditor.CodeEditor` itself
287
323
  */
@@ -298,7 +334,9 @@ declare namespace sap {
298
334
  /**
299
335
  * The function to be called, when the event occurs
300
336
  */
301
- fnFunction: (p1: sap.ui.base.Event) => void,
337
+ fnFunction: (
338
+ p1: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorChangeEventParameters>
339
+ ) => void,
302
340
  /**
303
341
  * Context object on which the given function had to be called
304
342
  */
@@ -315,7 +353,9 @@ declare namespace sap {
315
353
  /**
316
354
  * The function to be called, when the event occurs
317
355
  */
318
- fnFunction: (p1: sap.ui.base.Event) => void,
356
+ fnFunction: (
357
+ p1: sap.ui.base.Event<sap.ui.codeeditor.$CodeEditorLiveChangeEventParameters>
358
+ ) => void,
319
359
  /**
320
360
  * Context object on which the given function had to be called
321
361
  */
@@ -332,16 +372,7 @@ declare namespace sap {
332
372
  /**
333
373
  * Parameters to pass along with the event
334
374
  */
335
- mParameters?: {
336
- /**
337
- * The current value of the code editor.
338
- */
339
- value?: string;
340
- /**
341
- * The old value of the code editor.
342
- */
343
- oldValue?: string;
344
- }
375
+ mParameters?: sap.ui.codeeditor.$CodeEditorChangeEventParameters
345
376
  ): this;
346
377
  /**
347
378
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
@@ -354,16 +385,7 @@ declare namespace sap {
354
385
  /**
355
386
  * Parameters to pass along with the event
356
387
  */
357
- mParameters?: {
358
- /**
359
- * The current value of the code editor.
360
- */
361
- value?: string;
362
- /**
363
- * The underlying change event of the third-party code editor.
364
- */
365
- editorEvent?: object;
366
- }
388
+ mParameters?: sap.ui.codeeditor.$CodeEditorLiveChangeEventParameters
367
389
  ): this;
368
390
  /**
369
391
  * Sets the focus to the code editor