@sapui5/ts-types 1.136.2 → 1.138.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 (70) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +2 -1
  3. package/types/sap.apf.d.ts +30 -3
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.cux.home.d.ts +263 -63
  8. package/types/sap.esh.search.ui.d.ts +71 -1
  9. package/types/sap.f.d.ts +1 -1
  10. package/types/sap.fe.ariba.d.ts +3 -0
  11. package/types/sap.fe.base.d.ts +1 -1
  12. package/types/sap.fe.controls.d.ts +1 -1
  13. package/types/sap.fe.core.d.ts +46 -6
  14. package/types/sap.fe.ina.d.ts +1 -1
  15. package/types/sap.fe.macros.d.ts +222 -65
  16. package/types/sap.fe.navigation.d.ts +1 -1
  17. package/types/sap.fe.placeholder.d.ts +1 -1
  18. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  19. package/types/sap.fe.templates.d.ts +1 -1
  20. package/types/sap.fe.test.d.ts +4 -3
  21. package/types/sap.fe.tools.d.ts +1 -1
  22. package/types/sap.feedback.ui.d.ts +1 -1
  23. package/types/sap.gantt.d.ts +1 -1
  24. package/types/sap.insights.d.ts +1 -1
  25. package/types/sap.m.d.ts +1216 -543
  26. package/types/sap.makit.d.ts +1 -1
  27. package/types/sap.me.d.ts +1 -1
  28. package/types/sap.ndc.d.ts +1 -1
  29. package/types/sap.ovp.d.ts +1 -1
  30. package/types/sap.rules.ui.d.ts +1 -1
  31. package/types/sap.sac.df.d.ts +34 -1
  32. package/types/sap.suite.ui.commons.d.ts +2 -2
  33. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  34. package/types/sap.suite.ui.microchart.d.ts +1 -1
  35. package/types/sap.tnt.d.ts +103 -16
  36. package/types/sap.ui.codeeditor.d.ts +1 -1
  37. package/types/sap.ui.commons.d.ts +1 -1
  38. package/types/sap.ui.comp.d.ts +70 -9
  39. package/types/sap.ui.core.d.ts +59 -50
  40. package/types/sap.ui.dt.d.ts +1 -1
  41. package/types/sap.ui.export.d.ts +216 -167
  42. package/types/sap.ui.fl.d.ts +3 -7
  43. package/types/sap.ui.generic.app.d.ts +1 -1
  44. package/types/sap.ui.generic.template.d.ts +1 -1
  45. package/types/sap.ui.integration.d.ts +44 -24
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/{mdc-1.136.0-d.ts → sap.ui.mdc.d.ts} +597 -293
  48. package/types/sap.ui.richtexteditor.d.ts +21 -17
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  52. package/types/sap.ui.table.d.ts +1 -1
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +9 -1
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +65 -29
  57. package/types/sap.ui.vk.d.ts +387 -100
  58. package/types/sap.ui.vtm.d.ts +7 -4
  59. package/types/sap.ui.webc.common.d.ts +1 -1
  60. package/types/sap.ui.webc.fiori.d.ts +1 -1
  61. package/types/sap.ui.webc.main.d.ts +1 -1
  62. package/types/sap.uiext.inbox.d.ts +1 -1
  63. package/types/sap.ushell.d.ts +55 -30
  64. package/types/sap.ushell_abap.d.ts +1 -1
  65. package/types/sap.uxap.d.ts +1 -1
  66. package/types/sap.viz.d.ts +1 -1
  67. package/types/sap.webanalytics.core.d.ts +1 -1
  68. package/types/sap.zen.commons.d.ts +1 -1
  69. package/types/sap.zen.crosstab.d.ts +1 -1
  70. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.1
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1456,8 +1456,6 @@ declare namespace sap {
1456
1456
 
1457
1457
  "sap/ui/fl/changeHandler/BaseRename": undefined;
1458
1458
 
1459
- "sap/ui/fl/ChangePersistenceFactory": undefined;
1460
-
1461
1459
  "sap/ui/fl/descriptorRelated/api/DescriptorChange": undefined;
1462
1460
 
1463
1461
  "sap/ui/fl/descriptorRelated/api/DescriptorChangeFactory": undefined;
@@ -1466,8 +1464,6 @@ declare namespace sap {
1466
1464
 
1467
1465
  "sap/ui/fl/descriptorRelated/api/DescriptorVariantFactory": undefined;
1468
1466
 
1469
- "sap/ui/fl/FlexControllerFactory": undefined;
1470
-
1471
1467
  "sap/ui/fl/initial/_internal/connectors/BackendConnector": undefined;
1472
1468
 
1473
1469
  "sap/ui/fl/initial/_internal/connectors/BtpServiceConnector": undefined;
@@ -1484,6 +1480,8 @@ declare namespace sap {
1484
1480
 
1485
1481
  "sap/ui/fl/initial/_internal/connectors/Utils": undefined;
1486
1482
 
1483
+ "sap/ui/fl/initial/_internal/Settings": undefined;
1484
+
1487
1485
  "sap/ui/fl/initial/_internal/Storage": undefined;
1488
1486
 
1489
1487
  "sap/ui/fl/initial/_internal/StorageUtils": undefined;
@@ -1496,8 +1494,6 @@ declare namespace sap {
1496
1494
 
1497
1495
  "sap/ui/fl/library": undefined;
1498
1496
 
1499
- "sap/ui/fl/registry/Settings": undefined;
1500
-
1501
1497
  "sap/ui/fl/support/_internal/getAllUIChanges": undefined;
1502
1498
 
1503
1499
  "sap/ui/fl/support/_internal/getChangeDependencies": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.1
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.136.1
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.1
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -495,12 +495,11 @@ declare namespace sap {
495
495
  /**
496
496
  * Gets translated text from the i18n properties files configured for this card.
497
497
  *
498
- * For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
498
+ * This method uses `ResourceBundle.getText()`. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
499
499
  *
500
- * @experimental As of version 1.83. The API might change.
501
500
  *
502
- * @returns The value belonging to the key, if found; otherwise the key itself or `undefined` depending
503
- * on `bIgnoreKeyFallback`.
501
+ * @returns The value belonging to the key, if found; otherwise, it returns the key itself or `undefined`
502
+ * depending on `bIgnoreKeyFallback`.
504
503
  */
505
504
  getTranslatedText(
506
505
  /**
@@ -519,7 +518,7 @@ declare namespace sap {
519
518
  * fallback bundle.
520
519
  */
521
520
  bIgnoreKeyFallback?: boolean
522
- ): string;
521
+ ): string | undefined;
523
522
  /**
524
523
  * Hide the blocking message that is shown in the card by `showBlockingMessage` call.
525
524
  *
@@ -634,15 +633,26 @@ declare namespace sap {
634
633
  */
635
634
  method?: string;
636
635
  /**
637
- * The request parameters. If the HTTP method is "POST", "PUT", "PATCH", or "DELETE" the parameters will
638
- * be put into the body of the request.
636
+ * The request parameters to be sent to the server. They are sent as follows:
637
+ * - When the HTTP method is "GET" or "HEAD", and parameters are set as:
638
+ * object - Sent as part of the URL, appended as key/value pairs in the query string
639
+ * - FormData - Not sent
640
+ * - string - Not sent
641
+ * - When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the
642
+ * request body, encoded based on the `Content-Type` header and parameters type:
643
+ * object - Supports the following encodings, decided based on the Content-Type header of the request:
639
644
  *
640
- * **Note:** If parameters are of type "FormData", the "FormData" will not be resolved for bindings, destinations
641
- * and others. It will be sent as it is.
645
+ * `application/x-www-form-urlencoded` - Default
646
+ * - `application/json`
647
+ * - FormData - Encoded as `multipart/form-data`. The `Content-Type` header on the request must not be
648
+ * set explicitly. **Note:** FormData will not be resolved for bindings, destinations and others. It will
649
+ * be sent as it is. Added since version 1.130
650
+ * - string - Must be used in combination with `Content-Type: text/plain`. Will be sent as is. Added since
651
+ * version 1.138
642
652
  */
643
- parameters?: object | FormData;
653
+ parameters?: object | FormData | string;
644
654
  /**
645
- * Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
655
+ * Deprecated. Use the correct `Accept` headers and set correct `Content-Type` header in the response.
646
656
  */
647
657
  dataType?: string;
648
658
  /**
@@ -1779,12 +1789,11 @@ declare namespace sap {
1779
1789
  /**
1780
1790
  * Gets translated text from the i18n properties files configured for this card.
1781
1791
  *
1782
- * For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
1792
+ * This method uses `ResourceBundle.getText()`. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
1783
1793
  *
1784
- * @experimental As of version 1.83. The API might change.
1785
1794
  *
1786
- * @returns The value belonging to the key, if found; otherwise the key itself or `undefined` depending
1787
- * on `bIgnoreKeyFallback`.
1795
+ * @returns The value belonging to the key, if found; otherwise, it returns the key itself or `undefined`
1796
+ * depending on `bIgnoreKeyFallback`.
1788
1797
  */
1789
1798
  getTranslatedText(
1790
1799
  /**
@@ -1803,7 +1812,7 @@ declare namespace sap {
1803
1812
  * fallback bundle.
1804
1813
  */
1805
1814
  bIgnoreKeyFallback?: boolean
1806
- ): string;
1815
+ ): string | undefined;
1807
1816
  /**
1808
1817
  * Gets current value of property {@link #getUseProgressiveDisclosure useProgressiveDisclosure}.
1809
1818
  *
@@ -1963,15 +1972,26 @@ declare namespace sap {
1963
1972
  */
1964
1973
  method?: string;
1965
1974
  /**
1966
- * The request parameters. If the HTTP method is "POST", "PUT", "PATCH", or "DELETE" the parameters will
1967
- * be put into the body of the request.
1975
+ * The request parameters to be sent to the server. They are sent as follows:
1976
+ * - When the HTTP method is "GET" or "HEAD", and parameters are set as:
1977
+ * object - Sent as part of the URL, appended as key/value pairs in the query string
1978
+ * - FormData - Not sent
1979
+ * - string - Not sent
1980
+ * - When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the
1981
+ * request body, encoded based on the `Content-Type` header and parameters type:
1982
+ * object - Supports the following encodings, decided based on the Content-Type header of the request:
1968
1983
  *
1969
- * **Note:** If parameters are of type "FormData", the "FormData" will not be resolved for bindings, destinations
1970
- * and others. It will be sent as it is.
1984
+ * `application/x-www-form-urlencoded` - Default
1985
+ * - `application/json`
1986
+ * - FormData - Encoded as `multipart/form-data`. The `Content-Type` header on the request must not be
1987
+ * set explicitly. **Note:** FormData will not be resolved for bindings, destinations and others. It will
1988
+ * be sent as it is. Added since version 1.130
1989
+ * - string - Must be used in combination with `Content-Type: text/plain`. Will be sent as is. Added since
1990
+ * version 1.138
1971
1991
  */
1972
- parameters?: object | FormData;
1992
+ parameters?: object | FormData | string;
1973
1993
  /**
1974
- * Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
1994
+ * Deprecated. Use the correct `Accept` headers and set correct `Content-Type` header in the response.
1975
1995
  */
1976
1996
  dataType?: string;
1977
1997
  /**
@@ -3513,7 +3533,7 @@ declare namespace sap {
3513
3533
  *
3514
3534
  * @returns Value of property `formatters`
3515
3535
  */
3516
- getFormatters(): Record<string, () => void> | undefined;
3536
+ getFormatters(): Record<string, Function> | undefined;
3517
3537
  /**
3518
3538
  * Override this method to lazy load dependencies for the extension.
3519
3539
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.1
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {