@sapui5/ts-types-esm 1.132.1 → 1.134.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 (68) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +12 -11
  3. package/types/sap.ca.ui.d.ts +413 -415
  4. package/types/sap.chart.d.ts +6 -6
  5. package/types/sap.collaboration.d.ts +31 -31
  6. package/types/sap.cux.home.d.ts +927 -110
  7. package/types/sap.esh.search.ui.d.ts +45 -1
  8. package/types/sap.f.d.ts +211 -183
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +40 -11
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +141 -99
  14. package/types/sap.fe.navigation.d.ts +3 -3
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +1 -1
  18. package/types/sap.fe.test.d.ts +3 -8
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +576 -464
  22. package/types/sap.insights.d.ts +3 -3
  23. package/types/sap.m.d.ts +2574 -1193
  24. package/types/sap.makit.d.ts +182 -182
  25. package/types/sap.me.d.ts +25 -27
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +1 -1
  28. package/types/sap.rules.ui.d.ts +41 -41
  29. package/types/sap.sac.df.d.ts +465 -193
  30. package/types/sap.suite.ui.commons.d.ts +432 -487
  31. package/types/sap.suite.ui.generic.template.d.ts +80 -37
  32. package/types/sap.suite.ui.microchart.d.ts +55 -79
  33. package/types/sap.tnt.d.ts +335 -20
  34. package/types/sap.ui.codeeditor.d.ts +9 -7
  35. package/types/sap.ui.commons.d.ts +326 -335
  36. package/types/sap.ui.comp.d.ts +432 -445
  37. package/types/sap.ui.core.d.ts +46978 -46714
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +5 -5
  41. package/types/sap.ui.generic.app.d.ts +83 -66
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.integration.d.ts +322 -236
  44. package/types/sap.ui.layout.d.ts +90 -104
  45. package/types/sap.ui.mdc.d.ts +393 -153
  46. package/types/sap.ui.richtexteditor.d.ts +48 -8
  47. package/types/sap.ui.rta.d.ts +76 -1
  48. package/types/sap.ui.suite.d.ts +14 -14
  49. package/types/sap.ui.support.d.ts +2 -2
  50. package/types/sap.ui.table.d.ts +219 -197
  51. package/types/sap.ui.testrecorder.d.ts +1 -1
  52. package/types/sap.ui.unified.d.ts +170 -158
  53. package/types/sap.ui.ux3.d.ts +113 -117
  54. package/types/sap.ui.vbm.d.ts +391 -60
  55. package/types/sap.ui.vk.d.ts +138 -135
  56. package/types/sap.ui.vtm.d.ts +112 -103
  57. package/types/sap.ui.webc.common.d.ts +7 -7
  58. package/types/sap.ui.webc.fiori.d.ts +164 -176
  59. package/types/sap.ui.webc.main.d.ts +527 -531
  60. package/types/sap.uiext.inbox.d.ts +43 -43
  61. package/types/sap.ushell.d.ts +246 -126
  62. package/types/sap.ushell_abap.d.ts +1 -1
  63. package/types/sap.uxap.d.ts +39 -51
  64. package/types/sap.viz.d.ts +2782 -2858
  65. package/types/sap.webanalytics.core.d.ts +1 -1
  66. package/types/sap.zen.commons.d.ts +17 -17
  67. package/types/sap.zen.crosstab.d.ts +10 -10
  68. package/types/sap.zen.dsh.d.ts +11 -11
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.132.0
1
+ // For Library Version: 1.134.1
2
2
 
3
3
  declare module "sap/suite/ui/generic/template/library" {
4
4
  /**
@@ -636,8 +636,8 @@ declare module "sap/suite/ui/generic/template/AnalyticalListPage/extensionAPI/Ex
636
636
  */
637
637
  message: string;
638
638
  /**
639
- * indicates type of message (sap.ui.core.message.MessageType) whether it's sap.ui.core.message.MessageType.Success,
640
- * sap.ui.core.message.MessageType.Warning, sap.ui.core.message.MessageType.Error or sap.ui.core.message.MessageType.Information.
639
+ * indicates type of message (sap/ui/core/message/MessageType) whether it's MessageType.Success, MessageType.Warning,
640
+ * MessageType.Error or MessageType.Information.
641
641
  */
642
642
  type: string;
643
643
  },
@@ -761,6 +761,22 @@ declare module "sap/suite/ui/generic/template/Canvas/extensionAPI/ExtensionAPI"
761
761
  */
762
762
  fnFunction: Function
763
763
  ): void;
764
+ /**
765
+ * Returns a communication object for storing and accessing custom state information within the current
766
+ * app.
767
+ *
768
+ * - If `iLevel` is `0`, it returns a global communication object shared across components. - If `iLevel`
769
+ * is `1`, it returns a local communication object specific to the current canvas component.
770
+ *
771
+ *
772
+ * @returns The communication object.
773
+ */
774
+ getCommunicationObject(
775
+ /**
776
+ * The scope level of the communication object (0 for global, 1 for local).
777
+ */
778
+ iLevel: number
779
+ ): object;
764
780
  /**
765
781
  * Get the Flexible Column Layout Action Buttons (Fullscreen, Exit Fullscreen and Close). Note that the
766
782
  * usage of the Flexible Column Layout Action Buttons must have been switched on in the settings of the
@@ -964,7 +980,7 @@ declare module "sap/suite/ui/generic/template/extensionAPI/extensionAPI" {
964
980
  * (e.g. `oController.byId()` or `oController.extensionAPI`.
965
981
  * In the definition of the controller extension specified in the manifest, simply call `registerControllerExtensions`.
966
982
  *
967
- * @deprecated (since 1.120) - please refer the {@link topic:4120052d90374ce8b1cea24a0d8bd317 documentation }
983
+ * @deprecated As of version 1.120. please refer the {@link topic:4120052d90374ce8b1cea24a0d8bd317 documentation }
968
984
  * for the migration steps.
969
985
  */
970
986
  registerControllerExtensions(
@@ -2295,6 +2311,14 @@ declare module "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionA
2295
2311
  */
2296
2312
  oControl: Control
2297
2313
  ): void;
2314
+ /**
2315
+ * Returns the global communication object for storing and accessing custom state information within the
2316
+ * current app. This object can be used across components to share state information.
2317
+ *
2318
+ *
2319
+ * @returns The communication object.
2320
+ */
2321
+ getCommunicationObject(): object;
2298
2322
  /**
2299
2323
  * Get the navigation controller for navigation actions
2300
2324
  *
@@ -2303,11 +2327,10 @@ declare module "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionA
2303
2327
  */
2304
2328
  getNavigationController(): NavigationController;
2305
2329
  /**
2306
- * If switching between different table views is enabled, this function returns the selected key.
2330
+ * If multi view table is enabled, this function returns the selected variant's key.
2307
2331
  *
2308
- * @experimental
2309
2332
  *
2310
- * @returns The key of the variant item that is currently selected.
2333
+ * @returns The currently selected variant key on the table.
2311
2334
  */
2312
2335
  getQuickVariantSelectionKey(): string;
2313
2336
  /**
@@ -2463,8 +2486,8 @@ declare module "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionA
2463
2486
  */
2464
2487
  message: string;
2465
2488
  /**
2466
- * indicates type of message (sap.ui.core.message.MessageType) whether it's sap.ui.core.message.MessageType.Success,
2467
- * sap.ui.core.message.MessageType.Warning, sap.ui.core.message.MessageType.Error or sap.ui.core.message.MessageType.Information.
2489
+ * indicates type of message (sap/ui/core/message/MessageType) whether it's MessageType.Success, MessageType.Warning,
2490
+ * MessageType.Error or MessageType.Information.
2468
2491
  */
2469
2492
  type: string;
2470
2493
  },
@@ -2482,13 +2505,11 @@ declare module "sap/suite/ui/generic/template/ListReport/extensionAPI/ExtensionA
2482
2505
  onClose?: Function
2483
2506
  ): void;
2484
2507
  /**
2485
- * If switching between different table views is enabled, this function sets the selected key.
2486
- *
2487
- * @experimental
2508
+ * If multi view table is enabled, this function switches the table's view to given variant key.
2488
2509
  */
2489
2510
  setQuickVariantSelectionKey(
2490
2511
  /**
2491
- * The key of the variant item that is currently selected.
2512
+ * The table variant key to be selected.
2492
2513
  */
2493
2514
  sKey: string
2494
2515
  ): void;
@@ -2589,6 +2610,8 @@ declare module "sap/suite/ui/generic/template/ListReport/extensionAPI/NonDraftTr
2589
2610
  declare module "sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExtensions" {
2590
2611
  import SelectionVariant from "sap/fe/navigation/SelectionVariant";
2591
2612
 
2613
+ import Control from "sap/ui/core/Control";
2614
+
2592
2615
  import Filter from "sap/ui/export/util/Filter";
2593
2616
 
2594
2617
  import Event from "sap/ui/base/Event";
@@ -2739,6 +2762,24 @@ declare module "sap/suite/ui/generic/template/ObjectPage/controllerFrameworkExte
2739
2762
  getSourceInfo?: Function;
2740
2763
  }
2741
2764
  ): boolean;
2765
+ /**
2766
+ * Extension point for the application to specify the control to focus on in the object page upon edit.
2767
+ *
2768
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
2769
+ *
2770
+ * @returns - The control that needs to be focused.
2771
+ *
2772
+ * The returned control must meet the following criteria: - Be focusable and have a "focus" property. -
2773
+ * Be visible within the viewport.
2774
+ *
2775
+ * If the returned control does not satisfy these conditions, the standard focus handling logic is executed.
2776
+ */
2777
+ focusOnEditExtension(
2778
+ /**
2779
+ * The ID of the selected section.
2780
+ */
2781
+ sSelectedSection: String
2782
+ ): Control;
2742
2783
  /**
2743
2784
  * This method is called by SAP Fiori elements when the table data is getting exported. Application developers
2744
2785
  * can override this method to add/remove the filters in the exported file.
@@ -3024,34 +3065,31 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/DraftTrans
3024
3065
  fnFunction: Function
3025
3066
  ): void;
3026
3067
  /**
3027
- * Cancel the draft. Note that this method only works when you are on the root of a draft. The normal navigation
3068
+ * Cancels the draft. Note that this method only works when you are on the root of a draft. The normal navigation
3028
3069
  * which follows the cancellation of a draft is executed. Moreover, note that executing this method will
3029
3070
  * set the App to be busy. However, it does not ensure, that the method is only called, when the App is
3030
3071
  * currently unbusy. If you want to ensure that, you have to use {@link sap.suite.ui.generic.template.ObjectPage.extensionAPI.ExtensionAPI#securedExecution}.
3031
3072
  *
3032
- * @experimental
3033
3073
  *
3034
- * @returns a promise that is resolved when the draft is cancelled, rejected when this is not possible.
3074
+ * @returns A promise that is resolved when the draft is cancelled, rejected when it is not possible.
3035
3075
  */
3036
- discardDraft(): Function;
3076
+ discardDraft(): Promise<void>;
3037
3077
  /**
3038
- * checks if side effects exist for the given properties or entities and executes them. if there are pending
3039
- * changes in the model those pending changes are sent as a patch request with the side effect batch request.
3040
- * If no source property and no source entity is passed a global side effect is executed
3041
- *
3042
- * @experimental
3078
+ * Checks if side effects exist for the given properties or entities and executes them. If there are pending
3079
+ * changes in the model, those pending changes are sent as a patch request with the side effect batch request.
3080
+ * If no source property and no source entity is passed, a global side effect is executed.
3043
3081
  */
3044
3082
  executeSideEffects(
3045
3083
  /**
3046
- * object containing any of the following properties:
3084
+ * Object containing any of the following properties:
3047
3085
  */
3048
3086
  oSideEffects?: {
3049
3087
  /**
3050
- * array with property paths
3088
+ * Array with property paths
3051
3089
  */
3052
3090
  sourceProperties: any[];
3053
3091
  /**
3054
- * array with navigation property paths
3092
+ * Array with navigation property paths
3055
3093
  */
3056
3094
  sourceEntities: any[];
3057
3095
  }
@@ -3162,6 +3200,14 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionA
3162
3200
  */
3163
3201
  fnFunction: Function
3164
3202
  ): void;
3203
+ /**
3204
+ * Returns the global communication object for storing and accessing custom state information within the
3205
+ * current app. This object can be used across components to share state information.
3206
+ *
3207
+ *
3208
+ * @returns The communication object.
3209
+ */
3210
+ getCommunicationObject(): object;
3165
3211
  /**
3166
3212
  * Get the navigation controller for navigation actions
3167
3213
  *
@@ -3170,15 +3216,14 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionA
3170
3216
  */
3171
3217
  getNavigationController(): NavigationController;
3172
3218
  /**
3173
- * This function returns the selected key of selected table of Object Page.
3219
+ * Returns the currently selected variant key on the table in the given object page section.
3174
3220
  *
3175
- * @experimental
3176
3221
  *
3177
- * @returns The key of variant item that is currently selected section.
3222
+ * @returns The currently selected variant key on the table.
3178
3223
  */
3179
3224
  getQuickVariantSelectionKey(
3180
3225
  /**
3181
- * id of the section in Object Page mentioned in manifest of the application
3226
+ * The object page section id in which the table is present.
3182
3227
  */
3183
3228
  sSectionKey: string
3184
3229
  ): string;
@@ -3395,8 +3440,8 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionA
3395
3440
  */
3396
3441
  message: string;
3397
3442
  /**
3398
- * indicates type of message (sap.ui.core.message.MessageType) whether it's sap.ui.core.message.MessageType.Success,
3399
- * sap.ui.core.message.MessageType.Warning, sap.ui.core.message.MessageType.Error or sap.ui.core.message.MessageType.Information.
3443
+ * indicates type of message (sap/ui/core/message/MessageType) whether it's MessageType.Success, MessageType.Warning,
3444
+ * MessageType.Error or MessageType.Information.
3400
3445
  */
3401
3446
  type: string;
3402
3447
  },
@@ -3418,19 +3463,17 @@ declare module "sap/suite/ui/generic/template/ObjectPage/extensionAPI/ExtensionA
3418
3463
  onClose?: Function
3419
3464
  ): void;
3420
3465
  /**
3421
- * This function sets the key in the selected section of the table of Object Page.
3422
- *
3423
- * @experimental
3466
+ * Switches the table's view to the given variant key.
3424
3467
  */
3425
3468
  setQuickVariantSelectionKey(
3426
3469
  /**
3427
- * id of the section in Object Page mentioned in manifest of the application
3470
+ * The object page section id in which the table is present.
3428
3471
  */
3429
3472
  sSectionKey: string,
3430
3473
  /**
3431
- * The key of variant item that is currently need to be set.
3474
+ * The table variant key to be selected.
3432
3475
  */
3433
- sKey: string
3476
+ sVariantKey: string
3434
3477
  ): void;
3435
3478
  }
3436
3479
  }