@openui5/ts-types-esm 1.92.0 → 1.95.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.92.0
1
+ // For Library Version: 1.95.0
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
 
@@ -1509,17 +1509,16 @@ declare module "sap/tnt/ToolHeader" {
1509
1509
  * The ToolHeader stylizes the contained controls with the Shell color parameters, to match the dark design
1510
1510
  * requirement. However, that's not a dark theme.
1511
1511
  *
1512
- * Only the following controls are supported:
1513
- *
1514
- * Control name Supported Not supported sap.m.Text Single line text, text
1515
- * truncation Wrapping sap.m.Title Single line text, text truncation.
1516
- * Consider using title headings of H4, H5, H6. Wrapping sap.m.Label Single
1517
- * line text, text truncation Wrapping sap.m.ObjectStatus Labels,
1518
- * semantic colors Indication colors sap.ui.core.Icon sap.ui.core.IconColor
1519
- * enumeration for both icons and backgrounds. Interaction state colors sap.m.Button
1520
- * Buttons in their Back, Default, Transparent and Up types. All four types are over-styled to look
1521
- * as transparent buttons. - sap.m.MenuButton Emphasized button type.
1522
- * Should be used for triggering Mega menu. If there is no Mega menu, use Title (H6) instead.
1512
+ * Only the following controls are supported: Control name Supported
1513
+ * Not supported sap.m.Text Single line text, text truncation Wrapping
1514
+ * sap.m.Title Single line text, text truncation. Consider using title headings
1515
+ * of H4, H5, H6. Wrapping sap.m.Label Single line text, text truncation
1516
+ * Wrapping sap.m.ObjectStatus Labels, semantic colors Indication
1517
+ * colors sap.ui.core.Icon sap.ui.core.IconColor enumeration for both icons
1518
+ * and backgrounds. Interaction state colors sap.m.Button Buttons
1519
+ * in their Back, Default, Transparent and Up types. All four types are over-styled to look as transparent
1520
+ * buttons. - sap.m.MenuButton Emphasized button type. Should be used
1521
+ * for triggering Mega menu. If there is no Mega menu, use Title (H6) instead.
1523
1522
  * Default (over-styled as Transparent) and Transparent types are used for standard menu representation.
1524
1523
  * - sap.m.Select Default and IconOnly types. IconOnly looks like a button
1525
1524
  * while Default looks is like an input. Semantic states sap.m.SearchField
@@ -1739,6 +1738,31 @@ declare module "sap/tnt/ToolPage" {
1739
1738
  mSettings?: $ToolPageSettings
1740
1739
  );
1741
1740
 
1741
+ /**
1742
+ * Creates a new subclass of class sap.tnt.ToolPage with name `sClassName` and enriches it with the information
1743
+ * contained in `oClassInfo`.
1744
+ *
1745
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1746
+ */
1747
+ static extend<T extends Record<string, unknown>>(
1748
+ /**
1749
+ * Name of the class being created
1750
+ */
1751
+ sClassName: string,
1752
+ /**
1753
+ * Object literal with information about the class
1754
+ */
1755
+ oClassInfo?: sap.ClassInfo<T, ToolPage>,
1756
+ /**
1757
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1758
+ * used by this class
1759
+ */
1760
+ FNMetaImpl?: Function
1761
+ ): Function;
1762
+ /**
1763
+ * Returns a metadata object for class sap.tnt.ToolPage.
1764
+ */
1765
+ static getMetadata(): ElementMetadata;
1742
1766
  /**
1743
1767
  * Adds some mainContent to the aggregation {@link #getMainContents mainContents}.
1744
1768
  */
@@ -1761,26 +1785,11 @@ declare module "sap/tnt/ToolPage" {
1761
1785
  */
1762
1786
  destroySideContent(): this;
1763
1787
  /**
1764
- * Creates a new subclass of class sap.tnt.ToolPage with name `sClassName` and enriches it with the information
1765
- * contained in `oClassInfo`.
1788
+ * @SINCE 1.93
1766
1789
  *
1767
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
1790
+ * Destroys the subHeader in the aggregation {@link #getSubHeader subHeader}.
1768
1791
  */
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;
1792
+ destroySubHeader(): this;
1784
1793
  /**
1785
1794
  * Gets content of aggregation {@link #getHeader header}.
1786
1795
  *
@@ -1793,10 +1802,6 @@ declare module "sap/tnt/ToolPage" {
1793
1802
  * The content section.
1794
1803
  */
1795
1804
  getMainContents(): Control[];
1796
- /**
1797
- * Returns a metadata object for class sap.tnt.ToolPage.
1798
- */
1799
- static getMetadata(): ElementMetadata;
1800
1805
  /**
1801
1806
  * Gets content of aggregation {@link #getSideContent sideContent}.
1802
1807
  *
@@ -1811,6 +1816,14 @@ declare module "sap/tnt/ToolPage" {
1811
1816
  * Default value is `true`.
1812
1817
  */
1813
1818
  getSideExpanded(): boolean;
1819
+ /**
1820
+ * @SINCE 1.93
1821
+ *
1822
+ * Gets content of aggregation {@link #getSubHeader subHeader}.
1823
+ *
1824
+ * The control to appear in the subheader area.
1825
+ */
1826
+ getSubHeader(): IToolHeader;
1814
1827
  /**
1815
1828
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getMainContents mainContents}.
1816
1829
  * and returns its index if found or -1 otherwise.
@@ -1878,6 +1891,17 @@ declare module "sap/tnt/ToolPage" {
1878
1891
  */
1879
1892
  bSideExpanded: boolean
1880
1893
  ): this;
1894
+ /**
1895
+ * @SINCE 1.93
1896
+ *
1897
+ * Sets the aggregated {@link #getSubHeader subHeader}.
1898
+ */
1899
+ setSubHeader(
1900
+ /**
1901
+ * The subHeader to set
1902
+ */
1903
+ oSubHeader: IToolHeader
1904
+ ): this;
1881
1905
  /**
1882
1906
  * Toggles the expand/collapse state of the SideContent.
1883
1907
  */
@@ -1895,6 +1919,13 @@ declare module "sap/tnt/ToolPage" {
1895
1919
  */
1896
1920
  header?: IToolHeader;
1897
1921
 
1922
+ /**
1923
+ * @SINCE 1.93
1924
+ *
1925
+ * The control to appear in the subheader area.
1926
+ */
1927
+ subHeader?: IToolHeader;
1928
+
1898
1929
  /**
1899
1930
  * The side menu of the layout.
1900
1931
  */