@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,5 +1,3 @@
1
- // For Library Version: 1.92.0
1
+ // For Library Version: 1.93.3
2
2
 
3
- declare namespace sap {
4
- interface IUI5DefineDependencyNames {}
5
- }
3
+ declare namespace sap {}
@@ -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
  interface IUI5DefineDependencyNames {
@@ -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 {
@@ -407,6 +407,12 @@ declare namespace sap {
407
407
  */
408
408
  iIndex: int
409
409
  ): this;
410
+ /**
411
+ * @EXPERIMENTAL (since 1.65)
412
+ *
413
+ * Refreshes the card by re-applying the manifest settings and triggering all data requests.
414
+ */
415
+ refresh(): void;
410
416
  /**
411
417
  * @SINCE 1.85
412
418
  * @EXPERIMENTAL (since 1.85)
@@ -613,14 +619,14 @@ declare namespace sap {
613
619
  *
614
620
  * Fired when an action is triggered on the card.
615
621
  */
616
- action?: Function;
622
+ action?: (oEvent: sap.ui.base.Event) => void;
617
623
 
618
624
  /**
619
625
  * @EXPERIMENTAL (since 1.72)
620
626
  *
621
627
  * Fired when the manifest is loaded.
622
628
  */
623
- manifestReady?: Function;
629
+ manifestReady?: (oEvent: sap.ui.base.Event) => void;
624
630
 
625
631
  /**
626
632
  * Fired when card utilities (like `DataProviderFactory`) and the card elements (like header) are created
@@ -628,7 +634,7 @@ declare namespace sap {
628
634
  *
629
635
  * Note: The card's content may not be available yet because it may depend on other resources to load.
630
636
  */
631
- manifestApplied?: Function;
637
+ manifestApplied?: (oEvent: sap.ui.base.Event) => void;
632
638
  }
633
639
 
634
640
  /**
@@ -709,6 +715,31 @@ declare namespace sap {
709
715
  mSettings?: sap.ui.integration.widgets.$CardSettings
710
716
  );
711
717
 
718
+ /**
719
+ * Creates a new subclass of class sap.ui.integration.widgets.Card with name `sClassName` and enriches it
720
+ * with the information contained in `oClassInfo`.
721
+ *
722
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.f.CardBase.extend}.
723
+ */
724
+ static extend<T extends Record<string, unknown>>(
725
+ /**
726
+ * Name of the class being created
727
+ */
728
+ sClassName: string,
729
+ /**
730
+ * Object literal with information about the class
731
+ */
732
+ oClassInfo?: sap.ClassInfo<T, sap.ui.integration.widgets.Card>,
733
+ /**
734
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
735
+ * used by this class
736
+ */
737
+ FNMetaImpl?: Function
738
+ ): Function;
739
+ /**
740
+ * Returns a metadata object for class sap.ui.integration.widgets.Card.
741
+ */
742
+ static getMetadata(): sap.ui.core.ElementMetadata;
712
743
  /**
713
744
  * @SINCE 1.85
714
745
  * @EXPERIMENTAL (since 1.85)
@@ -918,27 +949,6 @@ declare namespace sap {
918
949
  */
919
950
  oListener?: object
920
951
  ): this;
921
- /**
922
- * Creates a new subclass of class sap.ui.integration.widgets.Card with name `sClassName` and enriches it
923
- * with the information contained in `oClassInfo`.
924
- *
925
- * `oClassInfo` might contain the same kind of information as described in {@link sap.f.CardBase.extend}.
926
- */
927
- static extend<T extends Record<string, unknown>>(
928
- /**
929
- * Name of the class being created
930
- */
931
- sClassName: string,
932
- /**
933
- * Object literal with information about the class
934
- */
935
- oClassInfo?: sap.ClassInfo<T, sap.ui.integration.widgets.Card>,
936
- /**
937
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
938
- * used by this class
939
- */
940
- FNMetaImpl?: Function
941
- ): Function;
942
952
  /**
943
953
  * @EXPERIMENTAL (since 1.64)
944
954
  *
@@ -1099,10 +1109,6 @@ declare namespace sap {
1099
1109
  */
1100
1110
  sPath: string
1101
1111
  ): Object;
1102
- /**
1103
- * Returns a metadata object for class sap.ui.integration.widgets.Card.
1104
- */
1105
- static getMetadata(): sap.ui.core.ElementMetadata;
1106
1112
  /**
1107
1113
  * @EXPERIMENTAL (since 1.83)
1108
1114
  *
@@ -1454,7 +1460,7 @@ declare namespace sap {
1454
1460
  /**
1455
1461
  * Fired when the action button is pressed.
1456
1462
  */
1457
- press?: Function;
1463
+ press?: (oEvent: sap.ui.base.Event) => void;
1458
1464
  }
1459
1465
 
1460
1466
  interface $DesigntimeSettings
@@ -1483,7 +1489,7 @@ declare namespace sap {
1483
1489
  *
1484
1490
  * Fired when an action is triggered in the card.
1485
1491
  */
1486
- action?: Function;
1492
+ action?: (oEvent: sap.ui.base.Event) => void;
1487
1493
  }
1488
1494
 
1489
1495
  interface $HostSettings extends sap.ui.core.$ElementSettings {
@@ -1516,14 +1522,14 @@ declare namespace sap {
1516
1522
  *
1517
1523
  * Fired when an action is triggered.
1518
1524
  */
1519
- action?: Function;
1525
+ action?: (oEvent: sap.ui.base.Event) => void;
1520
1526
 
1521
1527
  /**
1522
1528
  * @EXPERIMENTAL (since 1.91)
1523
1529
  *
1524
1530
  * Fired when a message from channels like navigator.serviceWorker is received.
1525
1531
  */
1526
- message?: Function;
1532
+ message?: (oEvent: sap.ui.base.Event) => void;
1527
1533
  }
1528
1534
 
1529
1535
  /**
@@ -1565,6 +1571,31 @@ declare namespace sap {
1565
1571
  mSettings?: sap.ui.integration.$ActionDefinitionSettings
1566
1572
  );
1567
1573
 
1574
+ /**
1575
+ * Creates a new subclass of class sap.ui.integration.ActionDefinition with name `sClassName` and enriches
1576
+ * it with the information contained in `oClassInfo`.
1577
+ *
1578
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
1579
+ */
1580
+ static extend<T extends Record<string, unknown>>(
1581
+ /**
1582
+ * Name of the class being created
1583
+ */
1584
+ sClassName: string,
1585
+ /**
1586
+ * Object literal with information about the class
1587
+ */
1588
+ oClassInfo?: sap.ClassInfo<T, sap.ui.integration.ActionDefinition>,
1589
+ /**
1590
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1591
+ * used by this class
1592
+ */
1593
+ FNMetaImpl?: Function
1594
+ ): Function;
1595
+ /**
1596
+ * Returns a metadata object for class sap.ui.integration.ActionDefinition.
1597
+ */
1598
+ static getMetadata(): sap.ui.core.ElementMetadata;
1568
1599
  /**
1569
1600
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.ui.integration.ActionDefinition`.
1570
1601
  *
@@ -1623,27 +1654,6 @@ declare namespace sap {
1623
1654
  */
1624
1655
  oListener?: object
1625
1656
  ): this;
1626
- /**
1627
- * Creates a new subclass of class sap.ui.integration.ActionDefinition with name `sClassName` and enriches
1628
- * it with the information contained in `oClassInfo`.
1629
- *
1630
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
1631
- */
1632
- static extend<T extends Record<string, unknown>>(
1633
- /**
1634
- * Name of the class being created
1635
- */
1636
- sClassName: string,
1637
- /**
1638
- * Object literal with information about the class
1639
- */
1640
- oClassInfo?: sap.ClassInfo<T, sap.ui.integration.ActionDefinition>,
1641
- /**
1642
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1643
- * used by this class
1644
- */
1645
- FNMetaImpl?: Function
1646
- ): Function;
1647
1657
  /**
1648
1658
  * Fires event {@link #event:press press} to attached listeners.
1649
1659
  */
@@ -1676,10 +1686,6 @@ declare namespace sap {
1676
1686
  * The icon of the action button.
1677
1687
  */
1678
1688
  getIcon(): sap.ui.core.URI;
1679
- /**
1680
- * Returns a metadata object for class sap.ui.integration.ActionDefinition.
1681
- */
1682
- static getMetadata(): sap.ui.core.ElementMetadata;
1683
1689
  /**
1684
1690
  * Gets current value of property {@link #getParameters parameters}.
1685
1691
  *
@@ -1875,14 +1881,14 @@ declare namespace sap {
1875
1881
  */
1876
1882
  FNMetaImpl?: Function
1877
1883
  ): Function;
1878
- /**
1879
- * Returns an interface to the card, which uses this extension.
1880
- */
1881
- getCard(): sap.ui.integration.widgets.CardFacade;
1882
1884
  /**
1883
1885
  * Returns a metadata object for class sap.ui.integration.Designtime.
1884
1886
  */
1885
1887
  static getMetadata(): sap.ui.base.ManagedObjectMetadata;
1888
+ /**
1889
+ * Returns an interface to the card, which uses this extension.
1890
+ */
1891
+ getCard(): sap.ui.integration.widgets.CardFacade;
1886
1892
  }
1887
1893
  /**
1888
1894
  * @SINCE 1.75
@@ -1922,6 +1928,31 @@ declare namespace sap {
1922
1928
  mSettings?: sap.ui.integration.$ExtensionSettings
1923
1929
  );
1924
1930
 
1931
+ /**
1932
+ * Creates a new subclass of class sap.ui.integration.Extension with name `sClassName` and enriches it with
1933
+ * the information contained in `oClassInfo`.
1934
+ *
1935
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
1936
+ */
1937
+ static extend<T extends Record<string, unknown>>(
1938
+ /**
1939
+ * Name of the class being created
1940
+ */
1941
+ sClassName: string,
1942
+ /**
1943
+ * Object literal with information about the class
1944
+ */
1945
+ oClassInfo?: sap.ClassInfo<T, sap.ui.integration.Extension>,
1946
+ /**
1947
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
1948
+ * used by this class
1949
+ */
1950
+ FNMetaImpl?: Function
1951
+ ): Function;
1952
+ /**
1953
+ * Returns a metadata object for class sap.ui.integration.Extension.
1954
+ */
1955
+ static getMetadata(): sap.ui.base.ManagedObjectMetadata;
1925
1956
  /**
1926
1957
  * @EXPERIMENTAL (since 1.75)
1927
1958
  *
@@ -1984,27 +2015,6 @@ declare namespace sap {
1984
2015
  */
1985
2016
  oListener?: object
1986
2017
  ): this;
1987
- /**
1988
- * Creates a new subclass of class sap.ui.integration.Extension with name `sClassName` and enriches it with
1989
- * the information contained in `oClassInfo`.
1990
- *
1991
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
1992
- */
1993
- static extend<T extends Record<string, unknown>>(
1994
- /**
1995
- * Name of the class being created
1996
- */
1997
- sClassName: string,
1998
- /**
1999
- * Object literal with information about the class
2000
- */
2001
- oClassInfo?: sap.ClassInfo<T, sap.ui.integration.Extension>,
2002
- /**
2003
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2004
- * used by this class
2005
- */
2006
- FNMetaImpl?: Function
2007
- ): Function;
2008
2018
  /**
2009
2019
  * @EXPERIMENTAL (since 1.75)
2010
2020
  *
@@ -2061,10 +2071,6 @@ declare namespace sap {
2061
2071
  * The formatters, which can be used in the manifest.
2062
2072
  */
2063
2073
  getFormatters(): object;
2064
- /**
2065
- * Returns a metadata object for class sap.ui.integration.Extension.
2066
- */
2067
- static getMetadata(): sap.ui.base.ManagedObjectMetadata;
2068
2074
  /**
2069
2075
  * Called when the card is ready.
2070
2076
  */
@@ -2110,6 +2116,31 @@ declare namespace sap {
2110
2116
  mSettings?: sap.ui.integration.$HostSettings
2111
2117
  );
2112
2118
 
2119
+ /**
2120
+ * Creates a new subclass of class sap.ui.integration.Host with name `sClassName` and enriches it with the
2121
+ * information contained in `oClassInfo`.
2122
+ *
2123
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
2124
+ */
2125
+ static extend<T extends Record<string, unknown>>(
2126
+ /**
2127
+ * Name of the class being created
2128
+ */
2129
+ sClassName: string,
2130
+ /**
2131
+ * Object literal with information about the class
2132
+ */
2133
+ oClassInfo?: sap.ClassInfo<T, sap.ui.integration.Host>,
2134
+ /**
2135
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2136
+ * used by this class
2137
+ */
2138
+ FNMetaImpl?: Function
2139
+ ): Function;
2140
+ /**
2141
+ * Returns a metadata object for class sap.ui.integration.Host.
2142
+ */
2143
+ static getMetadata(): sap.ui.core.ElementMetadata;
2113
2144
  /**
2114
2145
  * @EXPERIMENTAL (since 1.75)
2115
2146
  *
@@ -2234,27 +2265,6 @@ declare namespace sap {
2234
2265
  */
2235
2266
  oListener?: object
2236
2267
  ): this;
2237
- /**
2238
- * Creates a new subclass of class sap.ui.integration.Host with name `sClassName` and enriches it with the
2239
- * information contained in `oClassInfo`.
2240
- *
2241
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
2242
- */
2243
- static extend<T extends Record<string, unknown>>(
2244
- /**
2245
- * Name of the class being created
2246
- */
2247
- sClassName: string,
2248
- /**
2249
- * Object literal with information about the class
2250
- */
2251
- oClassInfo?: sap.ClassInfo<T, sap.ui.integration.Host>,
2252
- /**
2253
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2254
- * used by this class
2255
- */
2256
- FNMetaImpl?: Function
2257
- ): Function;
2258
2268
  /**
2259
2269
  * @EXPERIMENTAL (since 1.75)
2260
2270
  *
@@ -2361,10 +2371,6 @@ declare namespace sap {
2361
2371
  * that contain at least the name. { "name": "DestinationName" }
2362
2372
  */
2363
2373
  getDestinations(): Promise<any>;
2364
- /**
2365
- * Returns a metadata object for class sap.ui.integration.Host.
2366
- */
2367
- static getMetadata(): sap.ui.core.ElementMetadata;
2368
2374
  /**
2369
2375
  * Gets current value of property {@link #getResolveDestination resolveDestination}.
2370
2376
  *