@openui5/ts-types-esm 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 module "sap/tnt/library" {
4
4
  /**
@@ -99,18 +99,6 @@ declare module "sap/tnt/InfoLabel" {
99
99
  mSettings?: $InfoLabelSettings
100
100
  );
101
101
 
102
- /**
103
- * Binds property {@link #getText text} to model data.
104
- *
105
- * See {@link sap.ui.base.ManagedObject#bindProperty ManagedObject.bindProperty} for a detailed description
106
- * of the possible properties of `oBindingInfo`
107
- */
108
- bindText(
109
- /**
110
- * The binding information
111
- */
112
- oBindingInfo: PropertyBindingInfo
113
- ): this;
114
102
  /**
115
103
  * Creates a new subclass of class sap.tnt.InfoLabel with name `sClassName` and enriches it with the information
116
104
  * contained in `oClassInfo`.
@@ -132,6 +120,22 @@ declare module "sap/tnt/InfoLabel" {
132
120
  */
133
121
  FNMetaImpl?: Function
134
122
  ): Function;
123
+ /**
124
+ * Returns a metadata object for class sap.tnt.InfoLabel.
125
+ */
126
+ static getMetadata(): ElementMetadata;
127
+ /**
128
+ * Binds property {@link #getText text} to model data.
129
+ *
130
+ * See {@link sap.ui.base.ManagedObject#bindProperty ManagedObject.bindProperty} for a detailed description
131
+ * of the possible properties of `oBindingInfo`
132
+ */
133
+ bindText(
134
+ /**
135
+ * The binding information
136
+ */
137
+ oBindingInfo: PropertyBindingInfo
138
+ ): this;
135
139
  /**
136
140
  * Gets current value of property {@link #getColorScheme colorScheme}.
137
141
  *
@@ -163,10 +167,6 @@ declare module "sap/tnt/InfoLabel" {
163
167
  * Default value is `empty string`.
164
168
  */
165
169
  getIcon(): URI;
166
- /**
167
- * Returns a metadata object for class sap.tnt.InfoLabel.
168
- */
169
- static getMetadata(): ElementMetadata;
170
170
  /**
171
171
  * Gets current value of property {@link #getRenderMode renderMode}.
172
172
  *
@@ -425,6 +425,31 @@ declare module "sap/tnt/NavigationList" {
425
425
  mSettings?: $NavigationListSettings
426
426
  );
427
427
 
428
+ /**
429
+ * Creates a new subclass of class sap.tnt.NavigationList with name `sClassName` and enriches it with the
430
+ * information contained in `oClassInfo`.
431
+ *
432
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
433
+ */
434
+ static extend<T extends Record<string, unknown>>(
435
+ /**
436
+ * Name of the class being created
437
+ */
438
+ sClassName: string,
439
+ /**
440
+ * Object literal with information about the class
441
+ */
442
+ oClassInfo?: sap.ClassInfo<T, NavigationList>,
443
+ /**
444
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
445
+ * used by this class
446
+ */
447
+ FNMetaImpl?: Function
448
+ ): Function;
449
+ /**
450
+ * Returns a metadata object for class sap.tnt.NavigationList.
451
+ */
452
+ static getMetadata(): ElementMetadata;
428
453
  /**
429
454
  * Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
430
455
  */
@@ -512,27 +537,6 @@ declare module "sap/tnt/NavigationList" {
512
537
  */
513
538
  oListener?: object
514
539
  ): this;
515
- /**
516
- * Creates a new subclass of class sap.tnt.NavigationList with name `sClassName` and enriches it with the
517
- * information contained in `oClassInfo`.
518
- *
519
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
520
- */
521
- static extend<T extends Record<string, unknown>>(
522
- /**
523
- * Name of the class being created
524
- */
525
- sClassName: string,
526
- /**
527
- * Object literal with information about the class
528
- */
529
- oClassInfo?: sap.ClassInfo<T, NavigationList>,
530
- /**
531
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
532
- * used by this class
533
- */
534
- FNMetaImpl?: Function
535
- ): Function;
536
540
  /**
537
541
  * Fires event {@link #event:itemSelect itemSelect} to attached listeners.
538
542
  */
@@ -571,10 +575,6 @@ declare module "sap/tnt/NavigationList" {
571
575
  * The items displayed in the list.
572
576
  */
573
577
  getItems(): NavigationListItem[];
574
- /**
575
- * Returns a metadata object for class sap.tnt.NavigationList.
576
- */
577
- static getMetadata(): ElementMetadata;
578
578
  /**
579
579
  * Gets the currently selected `NavigationListItem`.
580
580
  */
@@ -750,7 +750,7 @@ declare module "sap/tnt/NavigationList" {
750
750
  /**
751
751
  * Fired when an item is selected.
752
752
  */
753
- itemSelect?: Function;
753
+ itemSelect?: (oEvent: Event) => void;
754
754
  }
755
755
  }
756
756
 
@@ -806,6 +806,31 @@ declare module "sap/tnt/NavigationListItem" {
806
806
  mSettings?: $NavigationListItemSettings
807
807
  );
808
808
 
809
+ /**
810
+ * Creates a new subclass of class sap.tnt.NavigationListItem with name `sClassName` and enriches it with
811
+ * the information contained in `oClassInfo`.
812
+ *
813
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
814
+ */
815
+ static extend<T extends Record<string, unknown>>(
816
+ /**
817
+ * Name of the class being created
818
+ */
819
+ sClassName: string,
820
+ /**
821
+ * Object literal with information about the class
822
+ */
823
+ oClassInfo?: sap.ClassInfo<T, NavigationListItem>,
824
+ /**
825
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
826
+ * used by this class
827
+ */
828
+ FNMetaImpl?: Function
829
+ ): Function;
830
+ /**
831
+ * Returns a metadata object for class sap.tnt.NavigationListItem.
832
+ */
833
+ static getMetadata(): ElementMetadata;
809
834
  /**
810
835
  * Adds some item to the aggregation {@link #getItems items}.
811
836
  */
@@ -875,27 +900,6 @@ declare module "sap/tnt/NavigationListItem" {
875
900
  */
876
901
  oListener?: object
877
902
  ): this;
878
- /**
879
- * Creates a new subclass of class sap.tnt.NavigationListItem with name `sClassName` and enriches it with
880
- * the information contained in `oClassInfo`.
881
- *
882
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Item.extend}.
883
- */
884
- static extend<T extends Record<string, unknown>>(
885
- /**
886
- * Name of the class being created
887
- */
888
- sClassName: string,
889
- /**
890
- * Object literal with information about the class
891
- */
892
- oClassInfo?: sap.ClassInfo<T, NavigationListItem>,
893
- /**
894
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
895
- * used by this class
896
- */
897
- FNMetaImpl?: Function
898
- ): Function;
899
903
  /**
900
904
  * Fires event {@link #event:select select} to attached listeners.
901
905
  */
@@ -947,10 +951,6 @@ declare module "sap/tnt/NavigationListItem" {
947
951
  * The sub items.
948
952
  */
949
953
  getItems(): NavigationListItem[];
950
- /**
951
- * Returns a metadata object for class sap.tnt.NavigationListItem.
952
- */
953
- static getMetadata(): ElementMetadata;
954
954
  /**
955
955
  * Gets current value of property {@link #getTarget target}.
956
956
  *
@@ -1152,7 +1152,7 @@ declare module "sap/tnt/NavigationListItem" {
1152
1152
  /**
1153
1153
  * Fired when this item is selected.
1154
1154
  */
1155
- select?: Function;
1155
+ select?: (oEvent: Event) => void;
1156
1156
  }
1157
1157
  }
1158
1158
 
@@ -1221,6 +1221,31 @@ declare module "sap/tnt/SideNavigation" {
1221
1221
  mSettings?: $SideNavigationSettings
1222
1222
  );
1223
1223
 
1224
+ /**
1225
+ * Creates a new subclass of class sap.tnt.SideNavigation with name `sClassName` and enriches it with the
1226
+ * information contained in `oClassInfo`.
1227
+ *
1228
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1229
+ */
1230
+ static extend<T extends Record<string, unknown>>(
1231
+ /**
1232
+ * Name of the class being created
1233
+ */
1234
+ sClassName: string,
1235
+ /**
1236
+ * Object literal with information about the class
1237
+ */
1238
+ oClassInfo?: sap.ClassInfo<T, SideNavigation>,
1239
+ /**
1240
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1241
+ * used by this class
1242
+ */
1243
+ FNMetaImpl?: Function
1244
+ ): Function;
1245
+ /**
1246
+ * Returns a metadata object for class sap.tnt.SideNavigation.
1247
+ */
1248
+ static getMetadata(): ElementMetadata;
1224
1249
  /**
1225
1250
  * Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
1226
1251
  *
@@ -1301,27 +1326,6 @@ declare module "sap/tnt/SideNavigation" {
1301
1326
  */
1302
1327
  oListener?: object
1303
1328
  ): this;
1304
- /**
1305
- * Creates a new subclass of class sap.tnt.SideNavigation with name `sClassName` and enriches it with the
1306
- * information contained in `oClassInfo`.
1307
- *
1308
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1309
- */
1310
- static extend<T extends Record<string, unknown>>(
1311
- /**
1312
- * Name of the class being created
1313
- */
1314
- sClassName: string,
1315
- /**
1316
- * Object literal with information about the class
1317
- */
1318
- oClassInfo?: sap.ClassInfo<T, SideNavigation>,
1319
- /**
1320
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1321
- * used by this class
1322
- */
1323
- FNMetaImpl?: Function
1324
- ): Function;
1325
1329
  /**
1326
1330
  * Fires event {@link #event:itemSelect itemSelect} to attached listeners.
1327
1331
  */
@@ -1362,10 +1366,6 @@ declare module "sap/tnt/SideNavigation" {
1362
1366
  * Defines the content inside the flexible part.
1363
1367
  */
1364
1368
  getItem(): NavigationList;
1365
- /**
1366
- * Returns a metadata object for class sap.tnt.SideNavigation.
1367
- */
1368
- static getMetadata(): ElementMetadata;
1369
1369
  /**
1370
1370
  * @SINCE 1.52.0
1371
1371
  *
@@ -1479,7 +1479,7 @@ declare module "sap/tnt/SideNavigation" {
1479
1479
  /**
1480
1480
  * Fired when an item is selected.
1481
1481
  */
1482
- itemSelect?: Function;
1482
+ itemSelect?: (oEvent: Event) => void;
1483
1483
  }
1484
1484
  }
1485
1485
 
@@ -1739,6 +1739,31 @@ declare module "sap/tnt/ToolPage" {
1739
1739
  mSettings?: $ToolPageSettings
1740
1740
  );
1741
1741
 
1742
+ /**
1743
+ * Creates a new subclass of class sap.tnt.ToolPage with name `sClassName` and enriches it with the information
1744
+ * contained in `oClassInfo`.
1745
+ *
1746
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1747
+ */
1748
+ static extend<T extends Record<string, unknown>>(
1749
+ /**
1750
+ * Name of the class being created
1751
+ */
1752
+ sClassName: string,
1753
+ /**
1754
+ * Object literal with information about the class
1755
+ */
1756
+ oClassInfo?: sap.ClassInfo<T, ToolPage>,
1757
+ /**
1758
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1759
+ * used by this class
1760
+ */
1761
+ FNMetaImpl?: Function
1762
+ ): Function;
1763
+ /**
1764
+ * Returns a metadata object for class sap.tnt.ToolPage.
1765
+ */
1766
+ static getMetadata(): ElementMetadata;
1742
1767
  /**
1743
1768
  * Adds some mainContent to the aggregation {@link #getMainContents mainContents}.
1744
1769
  */
@@ -1761,26 +1786,11 @@ declare module "sap/tnt/ToolPage" {
1761
1786
  */
1762
1787
  destroySideContent(): this;
1763
1788
  /**
1764
- * Creates a new subclass of class sap.tnt.ToolPage with name `sClassName` and enriches it with the information
1765
- * contained in `oClassInfo`.
1789
+ * @SINCE 1.93
1766
1790
  *
1767
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1791
+ * Destroys the subHeader in the aggregation {@link #getSubHeader subHeader}.
1768
1792
  */
1769
- static extend<T extends Record<string, unknown>>(
1770
- /**
1771
- * Name of the class being created
1772
- */
1773
- sClassName: string,
1774
- /**
1775
- * Object literal with information about the class
1776
- */
1777
- oClassInfo?: sap.ClassInfo<T, ToolPage>,
1778
- /**
1779
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1780
- * used by this class
1781
- */
1782
- FNMetaImpl?: Function
1783
- ): Function;
1793
+ destroySubHeader(): this;
1784
1794
  /**
1785
1795
  * Gets content of aggregation {@link #getHeader header}.
1786
1796
  *
@@ -1793,10 +1803,6 @@ declare module "sap/tnt/ToolPage" {
1793
1803
  * The content section.
1794
1804
  */
1795
1805
  getMainContents(): Control[];
1796
- /**
1797
- * Returns a metadata object for class sap.tnt.ToolPage.
1798
- */
1799
- static getMetadata(): ElementMetadata;
1800
1806
  /**
1801
1807
  * Gets content of aggregation {@link #getSideContent sideContent}.
1802
1808
  *
@@ -1811,6 +1817,14 @@ declare module "sap/tnt/ToolPage" {
1811
1817
  * Default value is `true`.
1812
1818
  */
1813
1819
  getSideExpanded(): boolean;
1820
+ /**
1821
+ * @SINCE 1.93
1822
+ *
1823
+ * Gets content of aggregation {@link #getSubHeader subHeader}.
1824
+ *
1825
+ * The control to appear in the subheader area.
1826
+ */
1827
+ getSubHeader(): IToolHeader;
1814
1828
  /**
1815
1829
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getMainContents mainContents}.
1816
1830
  * and returns its index if found or -1 otherwise.
@@ -1878,6 +1892,17 @@ declare module "sap/tnt/ToolPage" {
1878
1892
  */
1879
1893
  bSideExpanded: boolean
1880
1894
  ): this;
1895
+ /**
1896
+ * @SINCE 1.93
1897
+ *
1898
+ * Sets the aggregated {@link #getSubHeader subHeader}.
1899
+ */
1900
+ setSubHeader(
1901
+ /**
1902
+ * The subHeader to set
1903
+ */
1904
+ oSubHeader: IToolHeader
1905
+ ): this;
1881
1906
  /**
1882
1907
  * Toggles the expand/collapse state of the SideContent.
1883
1908
  */
@@ -1895,6 +1920,13 @@ declare module "sap/tnt/ToolPage" {
1895
1920
  */
1896
1921
  header?: IToolHeader;
1897
1922
 
1923
+ /**
1924
+ * @SINCE 1.93
1925
+ *
1926
+ * The control to appear in the subheader area.
1927
+ */
1928
+ subHeader?: IToolHeader;
1929
+
1898
1930
  /**
1899
1931
  * The side menu of the layout.
1900
1932
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.92.0
1
+ // For Library Version: 1.93.3
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -54,6 +54,31 @@ declare module "sap/ui/codeeditor/CodeEditor" {
54
54
  mSettings?: $CodeEditorSettings
55
55
  );
56
56
 
57
+ /**
58
+ * Creates a new subclass of class sap.ui.codeeditor.CodeEditor with name `sClassName` and enriches it with
59
+ * the information contained in `oClassInfo`.
60
+ *
61
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
62
+ */
63
+ static extend<T extends Record<string, unknown>>(
64
+ /**
65
+ * Name of the class being created
66
+ */
67
+ sClassName: string,
68
+ /**
69
+ * Object literal with information about the class
70
+ */
71
+ oClassInfo?: sap.ClassInfo<T, CodeEditor>,
72
+ /**
73
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
74
+ * used by this class
75
+ */
76
+ FNMetaImpl?: Function
77
+ ): Function;
78
+ /**
79
+ * Returns a metadata object for class sap.ui.codeeditor.CodeEditor.
80
+ */
81
+ static getMetadata(): ElementMetadata;
57
82
  /**
58
83
  * @SINCE 1.52
59
84
  *
@@ -179,27 +204,6 @@ declare module "sap/ui/codeeditor/CodeEditor" {
179
204
  */
180
205
  oListener?: object
181
206
  ): this;
182
- /**
183
- * Creates a new subclass of class sap.ui.codeeditor.CodeEditor with name `sClassName` and enriches it with
184
- * the information contained in `oClassInfo`.
185
- *
186
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
187
- */
188
- static extend<T extends Record<string, unknown>>(
189
- /**
190
- * Name of the class being created
191
- */
192
- sClassName: string,
193
- /**
194
- * Object literal with information about the class
195
- */
196
- oClassInfo?: sap.ClassInfo<T, CodeEditor>,
197
- /**
198
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
199
- * used by this class
200
- */
201
- FNMetaImpl?: Function
202
- ): Function;
203
207
  /**
204
208
  * Fires event {@link #event:change change} to attached listeners.
205
209
  */
@@ -295,10 +299,6 @@ declare module "sap/ui/codeeditor/CodeEditor" {
295
299
  * Default value is `0`.
296
300
  */
297
301
  getMaxLines(): int;
298
- /**
299
- * Returns a metadata object for class sap.ui.codeeditor.CodeEditor.
300
- */
301
- static getMetadata(): ElementMetadata;
302
302
  /**
303
303
  * Gets current value of property {@link #getSyntaxHints syntaxHints}.
304
304
  *
@@ -599,12 +599,12 @@ declare module "sap/ui/codeeditor/CodeEditor" {
599
599
  /**
600
600
  * Fired when the value is changed by user interaction - each keystroke, delete, paste, etc.
601
601
  */
602
- liveChange?: Function;
602
+ liveChange?: (oEvent: Event) => void;
603
603
 
604
604
  /**
605
605
  * Fired when the value has changed and the focus leaves the code editor.
606
606
  */
607
- change?: Function;
607
+ change?: (oEvent: Event) => void;
608
608
  }
609
609
  }
610
610