@sapui5/ts-types 1.136.3 → 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 +197 -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 +1206 -541
  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 +69 -70
  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 -43
  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.4
1
+ // For Library Version: 1.138.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace esh {
@@ -391,6 +391,7 @@ declare namespace sap {
391
391
  * A callback which is called whenever the selection of result view items changes.
392
392
  *
393
393
  * @since 1.113.0
394
+ * @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChange'.
394
395
  */
395
396
  selectionChange?:
396
397
  | Function
@@ -1224,6 +1225,16 @@ declare namespace sap {
1224
1225
  * @returns Value of property `initAsync`
1225
1226
  */
1226
1227
  getInitAsync(): Function;
1228
+ /**
1229
+ * Get the status of initialization. In unsuccessful case, the corresponding error instance is returned
1230
+ * either.
1231
+ *
1232
+ * @since 1.132.0
1233
+ *
1234
+ * @returns Promise<{success: boolean;error?: Error;}> If success is true, the initialization was successful.
1235
+ * If success is false, the error property contains the error instance for further handling.
1236
+ */
1237
+ getInitializationStatus(): object;
1227
1238
  /**
1228
1239
  * Gets current value of property {@link #getIsFilterBarVisible isFilterBarVisible}.
1229
1240
  *
@@ -1426,6 +1437,7 @@ declare namespace sap {
1426
1437
  * A callback which is called whenever the selection of result view items changes.
1427
1438
  *
1428
1439
  * @since 1.113.0
1440
+ * @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChange'.
1429
1441
  *
1430
1442
  * @returns Value of property `selectionChange`
1431
1443
  */
@@ -1464,6 +1476,56 @@ declare namespace sap {
1464
1476
  * @returns Value of property `updateUrl`
1465
1477
  */
1466
1478
  getUpdateUrl(): boolean;
1479
+ /**
1480
+ * Invalidate the search cache. To trigger a search in addition, use function 'retriggerSearch' instead.
1481
+ *
1482
+ * @since 1.124.0
1483
+ */
1484
+ invalidateSearchResultCache(): Promise<void>;
1485
+ /**
1486
+ * Resets the active data source which is selected in the data source drop down list to its default (see
1487
+ * 'defaultDataSource'/'exclusiveDataSource').
1488
+ *
1489
+ * @since 1.124.0
1490
+ */
1491
+ resetDataSource(
1492
+ /**
1493
+ * If true, fires a search query right away. Set to 'false' for batch updates.
1494
+ */
1495
+ fireQuery?: boolean
1496
+ ): this;
1497
+ /**
1498
+ * Resets the UI / search results (reset search query and fire a new search).
1499
+ *
1500
+ * @since 1.125.0
1501
+ */
1502
+ resetSearch(): Promise<void>;
1503
+ /**
1504
+ * Fire a new search (includes invalidation of search cache). To invalidate the search cache w/o triggering
1505
+ * a new search, use function 'invalidateSearchResultCache' instead.
1506
+ *
1507
+ * @since 1.124.0
1508
+ */
1509
+ retriggerSearch(): Promise<void>;
1510
+ /**
1511
+ * Invalidate the search cache and optionally fire a new search. Also see functions 'retriggerSearch' and
1512
+ * 'invalidateSearchResultCache'.
1513
+ *
1514
+ * @since 1.124.0
1515
+ *
1516
+ * @returns Returns 'true' if the search query was fired, otherwise 'void'.
1517
+ */
1518
+ search(
1519
+ /**
1520
+ * Indicates wether the search query should be resetted. Set to 'true' to reset the query.
1521
+ */
1522
+ invalidateQuery?: boolean,
1523
+ /**
1524
+ * Indicates wether the search query should be sent to the search service or not. Set to 'false', to prevent
1525
+ * auto-update of search results.
1526
+ */
1527
+ fireQuery?: boolean
1528
+ ): Promise<true | void>;
1467
1529
  /**
1468
1530
  * Sets a new value for property {@link #getApplicationComponent applicationComponent}.
1469
1531
  *
@@ -2214,6 +2276,7 @@ declare namespace sap {
2214
2276
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2215
2277
  *
2216
2278
  * @since 1.113.0
2279
+ * @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChange'.
2217
2280
  *
2218
2281
  * @returns Reference to `this` in order to allow method chaining
2219
2282
  */
@@ -2278,6 +2341,13 @@ declare namespace sap {
2278
2341
  */
2279
2342
  bUpdateUrl?: boolean
2280
2343
  ): this;
2344
+ /**
2345
+ * Update hierarchy facet Updates the one and only (static) hierarchy facet (tree control on facet panel).
2346
+ * If no hierarchy facet exists, nothing will happen.
2347
+ *
2348
+ * @since 1.126.0
2349
+ */
2350
+ updateStaticHierarchyFacet(): Promise<void>;
2281
2351
  }
2282
2352
 
2283
2353
  /**
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.2
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -0,0 +1,3 @@
1
+ // For Library Version: 1.138.0
2
+
3
+ declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.2
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.136.2
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.2
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -301,7 +301,8 @@ declare namespace sap {
301
301
  *
302
302
  * @since 1.116.0
303
303
  *
304
- * @returns A promise to be returned by the overridden method.
304
+ * @returns A promise to be returned by the overridden method. If rejected, any further processing by the
305
+ * framework is stopped.
305
306
  */
306
307
  onAfterCreate(
307
308
  /**
@@ -323,7 +324,8 @@ declare namespace sap {
323
324
  *
324
325
  * @since 1.116.0
325
326
  *
326
- * @returns A promise to be returned by the overridden method.
327
+ * @returns A promise to be returned by the overridden method. If rejected, any further processing by the
328
+ * framework is stopped.
327
329
  */
328
330
  onAfterDelete(
329
331
  /**
@@ -345,7 +347,8 @@ declare namespace sap {
345
347
  *
346
348
  * @since 1.116.0
347
349
  *
348
- * @returns A promise to be returned by the overridden method.
350
+ * @returns A promise to be returned by the overridden method. If rejected, any further processing by the
351
+ * framework is stopped.
349
352
  */
350
353
  onAfterDiscard(
351
354
  /**
@@ -367,7 +370,8 @@ declare namespace sap {
367
370
  *
368
371
  * @since 1.116.0
369
372
  *
370
- * @returns A promise to be returned by the overridden method.
373
+ * @returns A promise to be returned by the overridden method. If rejected, any further processing by the
374
+ * framework is stopped.
371
375
  */
372
376
  onAfterEdit(
373
377
  /**
@@ -389,7 +393,8 @@ declare namespace sap {
389
393
  *
390
394
  * @since 1.116.0
391
395
  *
392
- * @returns A promise to be returned by the overridden method.
396
+ * @returns A promise to be returned by the overridden method. If rejected, any further processing by the
397
+ * framework is stopped.
393
398
  */
394
399
  onAfterSave(
395
400
  /**
@@ -705,6 +710,22 @@ declare namespace sap {
705
710
  * @since 1.94.0
706
711
  */
707
712
  class Paginator extends sap.ui.core.mvc.ControllerExtension {
713
+ /**
714
+ * This function is used to determine the type of navigation.
715
+ * If the context is not navigable, it must return 'ContextNavigationType.None'.
716
+ * If the context is navigable within the same application to a sub object page, it must return 'ContextNavigationType.Internal'.
717
+ * If the context is navigable to an external application, it must return 'ContextNavigationType.External'.
718
+ *
719
+ * @since 1.138.0
720
+ *
721
+ * @returns A Promise which should resolve to ContextNavigationType enum.
722
+ */
723
+ determineContextNavigationType(
724
+ /**
725
+ * Object containing the context to be navigated.
726
+ */
727
+ context: sap.ui.model.odata.v4.Context
728
+ ): Promise<sap.fe.core.ContextNavigationType>;
708
729
  /**
709
730
  * Initiates the paginator control.
710
731
  *
@@ -1525,6 +1546,25 @@ declare namespace sap {
1525
1546
  */
1526
1547
  getExtensionAPI(): sap.fe.core.ExtensionAPI;
1527
1548
  }
1549
+ /**
1550
+ * Possible navigation modes for a pagination.
1551
+ *
1552
+ * @since 1.138.0
1553
+ */
1554
+ enum ContextNavigationType {
1555
+ /**
1556
+ * Indicates that the navigation is to an external application.
1557
+ */
1558
+ External = "undefined",
1559
+ /**
1560
+ * Indicates that the navigation is to a subobject page within the same application.
1561
+ */
1562
+ Internal = "undefined",
1563
+ /**
1564
+ * Indicates that there is no navigation.
1565
+ */
1566
+ None = "undefined",
1567
+ }
1528
1568
  /**
1529
1569
  * Possible initial load (first app startup) modes for a ListReport.
1530
1570
  *
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.136.2
1
+ // For Library Version: 1.138.0
2
2
 
3
3
  declare namespace sap {}