@openui5/ts-types 1.92.0 → 1.93.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.92.0
1
+ // For Library Version: 1.93.3
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -117,7 +117,7 @@ declare namespace sap {
117
117
  /**
118
118
  * Fired when an item is selected.
119
119
  */
120
- itemSelect?: Function;
120
+ itemSelect?: (oEvent: sap.ui.base.Event) => void;
121
121
  }
122
122
 
123
123
  interface $NavigationListItemSettings extends sap.ui.core.$ItemSettings {
@@ -169,7 +169,7 @@ declare namespace sap {
169
169
  /**
170
170
  * Fired when this item is selected.
171
171
  */
172
- select?: Function;
172
+ select?: (oEvent: sap.ui.base.Event) => void;
173
173
  }
174
174
 
175
175
  interface $SideNavigationSettings extends sap.ui.core.$ControlSettings {
@@ -210,7 +210,7 @@ declare namespace sap {
210
210
  /**
211
211
  * Fired when an item is selected.
212
212
  */
213
- itemSelect?: Function;
213
+ itemSelect?: (oEvent: sap.ui.base.Event) => void;
214
214
  }
215
215
 
216
216
  interface $ToolHeaderSettings extends sap.m.$OverflowToolbarSettings {}
@@ -229,6 +229,13 @@ declare namespace sap {
229
229
  */
230
230
  header?: sap.tnt.IToolHeader;
231
231
 
232
+ /**
233
+ * @SINCE 1.93
234
+ *
235
+ * The control to appear in the subheader area.
236
+ */
237
+ subHeader?: sap.tnt.IToolHeader;
238
+
232
239
  /**
233
240
  * The side menu of the layout.
234
241
  */
@@ -303,18 +310,6 @@ declare namespace sap {
303
310
  mSettings?: sap.tnt.$InfoLabelSettings
304
311
  );
305
312
 
306
- /**
307
- * Binds property {@link #getText text} to model data.
308
- *
309
- * See {@link sap.ui.base.ManagedObject#bindProperty ManagedObject.bindProperty} for a detailed description
310
- * of the possible properties of `oBindingInfo`
311
- */
312
- bindText(
313
- /**
314
- * The binding information
315
- */
316
- oBindingInfo: sap.ui.base.ManagedObject.PropertyBindingInfo
317
- ): this;
318
313
  /**
319
314
  * Creates a new subclass of class sap.tnt.InfoLabel with name `sClassName` and enriches it with the information
320
315
  * contained in `oClassInfo`.
@@ -336,6 +331,22 @@ declare namespace sap {
336
331
  */
337
332
  FNMetaImpl?: Function
338
333
  ): Function;
334
+ /**
335
+ * Returns a metadata object for class sap.tnt.InfoLabel.
336
+ */
337
+ static getMetadata(): sap.ui.core.ElementMetadata;
338
+ /**
339
+ * Binds property {@link #getText text} to model data.
340
+ *
341
+ * See {@link sap.ui.base.ManagedObject#bindProperty ManagedObject.bindProperty} for a detailed description
342
+ * of the possible properties of `oBindingInfo`
343
+ */
344
+ bindText(
345
+ /**
346
+ * The binding information
347
+ */
348
+ oBindingInfo: sap.ui.base.ManagedObject.PropertyBindingInfo
349
+ ): this;
339
350
  /**
340
351
  * Gets current value of property {@link #getColorScheme colorScheme}.
341
352
  *
@@ -367,10 +378,6 @@ declare namespace sap {
367
378
  * Default value is `empty string`.
368
379
  */
369
380
  getIcon(): sap.ui.core.URI;
370
- /**
371
- * Returns a metadata object for class sap.tnt.InfoLabel.
372
- */
373
- static getMetadata(): sap.ui.core.ElementMetadata;
374
381
  /**
375
382
  * Gets current value of property {@link #getRenderMode renderMode}.
376
383
  *
@@ -560,6 +567,31 @@ declare namespace sap {
560
567
  mSettings?: sap.tnt.$NavigationListSettings
561
568
  );
562
569
 
570
+ /**
571
+ * Creates a new subclass of class sap.tnt.NavigationList with name `sClassName` and enriches it with the
572
+ * information contained in `oClassInfo`.
573
+ *
574
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
575
+ */
576
+ static extend<T extends Record<string, unknown>>(
577
+ /**
578
+ * Name of the class being created
579
+ */
580
+ sClassName: string,
581
+ /**
582
+ * Object literal with information about the class
583
+ */
584
+ oClassInfo?: sap.ClassInfo<T, sap.tnt.NavigationList>,
585
+ /**
586
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
587
+ * used by this class
588
+ */
589
+ FNMetaImpl?: Function
590
+ ): Function;
591
+ /**
592
+ * Returns a metadata object for class sap.tnt.NavigationList.
593
+ */
594
+ static getMetadata(): sap.ui.core.ElementMetadata;
563
595
  /**
564
596
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
565
597
  */
@@ -647,27 +679,6 @@ declare namespace sap {
647
679
  */
648
680
  oListener?: object
649
681
  ): this;
650
- /**
651
- * Creates a new subclass of class sap.tnt.NavigationList with name `sClassName` and enriches it with the
652
- * information contained in `oClassInfo`.
653
- *
654
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
655
- */
656
- static extend<T extends Record<string, unknown>>(
657
- /**
658
- * Name of the class being created
659
- */
660
- sClassName: string,
661
- /**
662
- * Object literal with information about the class
663
- */
664
- oClassInfo?: sap.ClassInfo<T, sap.tnt.NavigationList>,
665
- /**
666
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
667
- * used by this class
668
- */
669
- FNMetaImpl?: Function
670
- ): Function;
671
682
  /**
672
683
  * Fires event {@link #event:itemSelect itemSelect} to attached listeners.
673
684
  */
@@ -706,10 +717,6 @@ declare namespace sap {
706
717
  * The items displayed in the list.
707
718
  */
708
719
  getItems(): sap.tnt.NavigationListItem[];
709
- /**
710
- * Returns a metadata object for class sap.tnt.NavigationList.
711
- */
712
- static getMetadata(): sap.ui.core.ElementMetadata;
713
720
  /**
714
721
  * Gets the currently selected `NavigationListItem`.
715
722
  */
@@ -879,6 +886,31 @@ declare namespace sap {
879
886
  mSettings?: sap.tnt.$NavigationListItemSettings
880
887
  );
881
888
 
889
+ /**
890
+ * Creates a new subclass of class sap.tnt.NavigationListItem with name `sClassName` and enriches it with
891
+ * the information contained in `oClassInfo`.
892
+ *
893
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
894
+ */
895
+ static extend<T extends Record<string, unknown>>(
896
+ /**
897
+ * Name of the class being created
898
+ */
899
+ sClassName: string,
900
+ /**
901
+ * Object literal with information about the class
902
+ */
903
+ oClassInfo?: sap.ClassInfo<T, sap.tnt.NavigationListItem>,
904
+ /**
905
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
906
+ * used by this class
907
+ */
908
+ FNMetaImpl?: Function
909
+ ): Function;
910
+ /**
911
+ * Returns a metadata object for class sap.tnt.NavigationListItem.
912
+ */
913
+ static getMetadata(): sap.ui.core.ElementMetadata;
882
914
  /**
883
915
  * Adds some item to the aggregation {@link #getItems items}.
884
916
  */
@@ -948,27 +980,6 @@ declare namespace sap {
948
980
  */
949
981
  oListener?: object
950
982
  ): this;
951
- /**
952
- * Creates a new subclass of class sap.tnt.NavigationListItem with name `sClassName` and enriches it with
953
- * the information contained in `oClassInfo`.
954
- *
955
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
956
- */
957
- static extend<T extends Record<string, unknown>>(
958
- /**
959
- * Name of the class being created
960
- */
961
- sClassName: string,
962
- /**
963
- * Object literal with information about the class
964
- */
965
- oClassInfo?: sap.ClassInfo<T, sap.tnt.NavigationListItem>,
966
- /**
967
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
968
- * used by this class
969
- */
970
- FNMetaImpl?: Function
971
- ): Function;
972
983
  /**
973
984
  * Fires event {@link #event:select select} to attached listeners.
974
985
  */
@@ -1020,10 +1031,6 @@ declare namespace sap {
1020
1031
  * The sub items.
1021
1032
  */
1022
1033
  getItems(): sap.tnt.NavigationListItem[];
1023
- /**
1024
- * Returns a metadata object for class sap.tnt.NavigationListItem.
1025
- */
1026
- static getMetadata(): sap.ui.core.ElementMetadata;
1027
1034
  /**
1028
1035
  * Gets current value of property {@link #getTarget target}.
1029
1036
  *
@@ -1223,6 +1230,31 @@ declare namespace sap {
1223
1230
  mSettings?: sap.tnt.$SideNavigationSettings
1224
1231
  );
1225
1232
 
1233
+ /**
1234
+ * Creates a new subclass of class sap.tnt.SideNavigation with name `sClassName` and enriches it with the
1235
+ * information contained in `oClassInfo`.
1236
+ *
1237
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1238
+ */
1239
+ static extend<T extends Record<string, unknown>>(
1240
+ /**
1241
+ * Name of the class being created
1242
+ */
1243
+ sClassName: string,
1244
+ /**
1245
+ * Object literal with information about the class
1246
+ */
1247
+ oClassInfo?: sap.ClassInfo<T, sap.tnt.SideNavigation>,
1248
+ /**
1249
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1250
+ * used by this class
1251
+ */
1252
+ FNMetaImpl?: Function
1253
+ ): Function;
1254
+ /**
1255
+ * Returns a metadata object for class sap.tnt.SideNavigation.
1256
+ */
1257
+ static getMetadata(): sap.ui.core.ElementMetadata;
1226
1258
  /**
1227
1259
  * Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
1228
1260
  *
@@ -1303,27 +1335,6 @@ declare namespace sap {
1303
1335
  */
1304
1336
  oListener?: object
1305
1337
  ): this;
1306
- /**
1307
- * Creates a new subclass of class sap.tnt.SideNavigation with name `sClassName` and enriches it with the
1308
- * information contained in `oClassInfo`.
1309
- *
1310
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1311
- */
1312
- static extend<T extends Record<string, unknown>>(
1313
- /**
1314
- * Name of the class being created
1315
- */
1316
- sClassName: string,
1317
- /**
1318
- * Object literal with information about the class
1319
- */
1320
- oClassInfo?: sap.ClassInfo<T, sap.tnt.SideNavigation>,
1321
- /**
1322
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1323
- * used by this class
1324
- */
1325
- FNMetaImpl?: Function
1326
- ): Function;
1327
1338
  /**
1328
1339
  * Fires event {@link #event:itemSelect itemSelect} to attached listeners.
1329
1340
  */
@@ -1364,10 +1375,6 @@ declare namespace sap {
1364
1375
  * Defines the content inside the flexible part.
1365
1376
  */
1366
1377
  getItem(): sap.tnt.NavigationList;
1367
- /**
1368
- * Returns a metadata object for class sap.tnt.SideNavigation.
1369
- */
1370
- static getMetadata(): sap.ui.core.ElementMetadata;
1371
1378
  /**
1372
1379
  * @SINCE 1.52.0
1373
1380
  *
@@ -1660,6 +1667,31 @@ declare namespace sap {
1660
1667
  mSettings?: sap.tnt.$ToolPageSettings
1661
1668
  );
1662
1669
 
1670
+ /**
1671
+ * Creates a new subclass of class sap.tnt.ToolPage with name `sClassName` and enriches it with the information
1672
+ * contained in `oClassInfo`.
1673
+ *
1674
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1675
+ */
1676
+ static extend<T extends Record<string, unknown>>(
1677
+ /**
1678
+ * Name of the class being created
1679
+ */
1680
+ sClassName: string,
1681
+ /**
1682
+ * Object literal with information about the class
1683
+ */
1684
+ oClassInfo?: sap.ClassInfo<T, sap.tnt.ToolPage>,
1685
+ /**
1686
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1687
+ * used by this class
1688
+ */
1689
+ FNMetaImpl?: Function
1690
+ ): Function;
1691
+ /**
1692
+ * Returns a metadata object for class sap.tnt.ToolPage.
1693
+ */
1694
+ static getMetadata(): sap.ui.core.ElementMetadata;
1663
1695
  /**
1664
1696
  * Adds some mainContent to the aggregation {@link #getMainContents mainContents}.
1665
1697
  */
@@ -1682,26 +1714,11 @@ declare namespace sap {
1682
1714
  */
1683
1715
  destroySideContent(): this;
1684
1716
  /**
1685
- * Creates a new subclass of class sap.tnt.ToolPage with name `sClassName` and enriches it with the information
1686
- * contained in `oClassInfo`.
1717
+ * @SINCE 1.93
1687
1718
  *
1688
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1719
+ * Destroys the subHeader in the aggregation {@link #getSubHeader subHeader}.
1689
1720
  */
1690
- static extend<T extends Record<string, unknown>>(
1691
- /**
1692
- * Name of the class being created
1693
- */
1694
- sClassName: string,
1695
- /**
1696
- * Object literal with information about the class
1697
- */
1698
- oClassInfo?: sap.ClassInfo<T, sap.tnt.ToolPage>,
1699
- /**
1700
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1701
- * used by this class
1702
- */
1703
- FNMetaImpl?: Function
1704
- ): Function;
1721
+ destroySubHeader(): this;
1705
1722
  /**
1706
1723
  * Gets content of aggregation {@link #getHeader header}.
1707
1724
  *
@@ -1714,10 +1731,6 @@ declare namespace sap {
1714
1731
  * The content section.
1715
1732
  */
1716
1733
  getMainContents(): sap.ui.core.Control[];
1717
- /**
1718
- * Returns a metadata object for class sap.tnt.ToolPage.
1719
- */
1720
- static getMetadata(): sap.ui.core.ElementMetadata;
1721
1734
  /**
1722
1735
  * Gets content of aggregation {@link #getSideContent sideContent}.
1723
1736
  *
@@ -1732,6 +1745,14 @@ declare namespace sap {
1732
1745
  * Default value is `true`.
1733
1746
  */
1734
1747
  getSideExpanded(): boolean;
1748
+ /**
1749
+ * @SINCE 1.93
1750
+ *
1751
+ * Gets content of aggregation {@link #getSubHeader subHeader}.
1752
+ *
1753
+ * The control to appear in the subheader area.
1754
+ */
1755
+ getSubHeader(): sap.tnt.IToolHeader;
1735
1756
  /**
1736
1757
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getMainContents mainContents}.
1737
1758
  * and returns its index if found or -1 otherwise.
@@ -1799,6 +1820,17 @@ declare namespace sap {
1799
1820
  */
1800
1821
  bSideExpanded: boolean
1801
1822
  ): this;
1823
+ /**
1824
+ * @SINCE 1.93
1825
+ *
1826
+ * Sets the aggregated {@link #getSubHeader subHeader}.
1827
+ */
1828
+ setSubHeader(
1829
+ /**
1830
+ * The subHeader to set
1831
+ */
1832
+ oSubHeader: sap.tnt.IToolHeader
1833
+ ): this;
1802
1834
  /**
1803
1835
  * Toggles the expand/collapse state of the SideContent.
1804
1836
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.92.0
1
+ // For Library Version: 1.93.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -91,12 +91,12 @@ declare namespace sap {
91
91
  /**
92
92
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
93
93
  */
94
- liveChange?: Function;
94
+ liveChange?: (oEvent: sap.ui.base.Event) => void;
95
95
 
96
96
  /**
97
97
  * Fired when the value has changed and the focus leaves the code editor.
98
98
  */
99
- change?: Function;
99
+ change?: (oEvent: sap.ui.base.Event) => void;
100
100
  }
101
101
 
102
102
  /**
@@ -140,6 +140,31 @@ declare namespace sap {
140
140
  mSettings?: sap.ui.codeeditor.$CodeEditorSettings
141
141
  );
142
142
 
143
+ /**
144
+ * Creates a new subclass of class sap.ui.codeeditor.CodeEditor with name `sClassName` and enriches it with
145
+ * the information contained in `oClassInfo`.
146
+ *
147
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
148
+ */
149
+ static extend<T extends Record<string, unknown>>(
150
+ /**
151
+ * Name of the class being created
152
+ */
153
+ sClassName: string,
154
+ /**
155
+ * Object literal with information about the class
156
+ */
157
+ oClassInfo?: sap.ClassInfo<T, sap.ui.codeeditor.CodeEditor>,
158
+ /**
159
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
160
+ * used by this class
161
+ */
162
+ FNMetaImpl?: Function
163
+ ): Function;
164
+ /**
165
+ * Returns a metadata object for class sap.ui.codeeditor.CodeEditor.
166
+ */
167
+ static getMetadata(): sap.ui.core.ElementMetadata;
143
168
  /**
144
169
  * @SINCE 1.52
145
170
  *
@@ -265,27 +290,6 @@ declare namespace sap {
265
290
  */
266
291
  oListener?: object
267
292
  ): this;
268
- /**
269
- * Creates a new subclass of class sap.ui.codeeditor.CodeEditor with name `sClassName` and enriches it with
270
- * the information contained in `oClassInfo`.
271
- *
272
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
273
- */
274
- static extend<T extends Record<string, unknown>>(
275
- /**
276
- * Name of the class being created
277
- */
278
- sClassName: string,
279
- /**
280
- * Object literal with information about the class
281
- */
282
- oClassInfo?: sap.ClassInfo<T, sap.ui.codeeditor.CodeEditor>,
283
- /**
284
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
285
- * used by this class
286
- */
287
- FNMetaImpl?: Function
288
- ): Function;
289
293
  /**
290
294
  * Fires event {@link #event:change change} to attached listeners.
291
295
  */
@@ -381,10 +385,6 @@ declare namespace sap {
381
385
  * Default value is `0`.
382
386
  */
383
387
  getMaxLines(): int;
384
- /**
385
- * Returns a metadata object for class sap.ui.codeeditor.CodeEditor.
386
- */
387
- static getMetadata(): sap.ui.core.ElementMetadata;
388
388
  /**
389
389
  * Gets current value of property {@link #getSyntaxHints syntaxHints}.
390
390
  *