@sapui5/ts-types-esm 1.128.1 → 1.129.1

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 (67) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.cux.home.d.ts +40 -0
  7. package/types/sap.esh.search.ui.d.ts +1 -1
  8. package/types/sap.f.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +10 -10
  11. package/types/sap.fe.ina.d.ts +1 -1
  12. package/types/sap.fe.macros.d.ts +105 -38
  13. package/types/sap.fe.navigation.d.ts +9 -2
  14. package/types/sap.fe.placeholder.d.ts +1 -1
  15. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  16. package/types/sap.fe.templates.d.ts +1 -1
  17. package/types/sap.fe.test.d.ts +1 -1
  18. package/types/sap.fe.tools.d.ts +1 -1
  19. package/types/sap.feedback.ui.d.ts +1 -1
  20. package/types/sap.gantt.d.ts +19 -4
  21. package/types/sap.insights.d.ts +7 -1
  22. package/types/sap.m.d.ts +199 -30
  23. package/types/sap.makit.d.ts +1 -1
  24. package/types/sap.me.d.ts +1 -1
  25. package/types/sap.ndc.d.ts +1 -1
  26. package/types/sap.ovp.d.ts +1 -1
  27. package/types/sap.rules.ui.d.ts +1 -1
  28. package/types/sap.sac.df.d.ts +362 -20
  29. package/types/sap.suite.ui.commons.d.ts +112 -2
  30. package/types/sap.suite.ui.generic.template.d.ts +24 -1
  31. package/types/sap.suite.ui.microchart.d.ts +1 -1
  32. package/types/sap.tnt.d.ts +1 -1
  33. package/types/sap.ui.codeeditor.d.ts +1 -1
  34. package/types/sap.ui.commons.d.ts +1 -1
  35. package/types/sap.ui.comp.d.ts +446 -998
  36. package/types/sap.ui.core.d.ts +59 -65
  37. package/types/sap.ui.dt.d.ts +1 -1
  38. package/types/sap.ui.export.d.ts +7 -1
  39. package/types/sap.ui.fl.d.ts +13 -1
  40. package/types/sap.ui.generic.app.d.ts +1 -1
  41. package/types/sap.ui.generic.template.d.ts +1 -1
  42. package/types/sap.ui.integration.d.ts +37 -1
  43. package/types/sap.ui.layout.d.ts +1 -1
  44. package/types/sap.ui.mdc.d.ts +575 -28
  45. package/types/sap.ui.richtexteditor.d.ts +1 -1
  46. package/types/sap.ui.rta.d.ts +1 -1
  47. package/types/sap.ui.suite.d.ts +1 -1
  48. package/types/sap.ui.support.d.ts +1 -1
  49. package/types/sap.ui.table.d.ts +68 -18
  50. package/types/sap.ui.testrecorder.d.ts +1 -1
  51. package/types/sap.ui.unified.d.ts +102 -3
  52. package/types/sap.ui.ux3.d.ts +1 -1
  53. package/types/sap.ui.vbm.d.ts +1 -1
  54. package/types/sap.ui.vk.d.ts +1 -1
  55. package/types/sap.ui.vtm.d.ts +1 -1
  56. package/types/sap.ui.webc.common.d.ts +1 -1
  57. package/types/sap.ui.webc.fiori.d.ts +1 -1
  58. package/types/sap.ui.webc.main.d.ts +1 -1
  59. package/types/sap.uiext.inbox.d.ts +1 -1
  60. package/types/sap.ushell.d.ts +182 -169
  61. package/types/sap.ushell_abap.d.ts +1 -1
  62. package/types/sap.uxap.d.ts +1 -1
  63. package/types/sap.viz.d.ts +1 -1
  64. package/types/sap.webanalytics.core.d.ts +1 -1
  65. package/types/sap.zen.commons.d.ts +1 -1
  66. package/types/sap.zen.crosstab.d.ts +1 -1
  67. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.1
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/ushell/library" {
4
4
  /**
@@ -13481,7 +13481,178 @@ declare module "sap/ushell/ui/tile/StaticTile" {
13481
13481
  }
13482
13482
  }
13483
13483
 
13484
- declare module "sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory" {
13484
+ declare module "sap/ushell/ui5service/ShellUIService" {
13485
+ import Metadata from "sap/ui/base/Metadata";
13486
+
13487
+ /**
13488
+ * The ShellUIService for the unified shell can be used to modify the app title or the app hierarchy.
13489
+ *
13490
+ * Usage:
13491
+ *
13492
+ * Allows apps to interact with the SAP Fiori launchpad UI. A defined service is injected in the app components
13493
+ * by the FLP before the corresponding apps start. To consume the service, app components should declare
13494
+ * it in their "manifest.json" as follows:
13495
+ *
13496
+ *
13497
+ * ```javascript
13498
+ *
13499
+ * {
13500
+ * ...
13501
+ * "sap.ui5": {
13502
+ * "services" : {
13503
+ * "ShellUIService": {
13504
+ * "factoryName": "sap.ushell.ui5service.ShellUIService"
13505
+ * }
13506
+ * }
13507
+ * }
13508
+ * ...
13509
+ * }
13510
+ * ```
13511
+ *
13512
+ *
13513
+ * The service can then be retrieved and consumed by the app component as in the following example:
13514
+ *
13515
+ *
13516
+ * ```javascript
13517
+ *
13518
+ * // Component.js (the app component)
13519
+ * ...
13520
+ * this.getService("ShellUIService") // promise is returned
13521
+ * .then(function (oService) {
13522
+ * oService.setTitle("Application Title");
13523
+ * })
13524
+ * .catch(function (oError) {
13525
+ * Log.error("Cannot get ShellUIService", oError, "my.app.Component");
13526
+ * });
13527
+ * ...
13528
+ * ```
13529
+ *
13530
+ *
13531
+ * The ShellUIService can also be used within nested components. Every component receives a separate instance
13532
+ * of the service. All service instances are independent and do not share any state. With this they can
13533
+ * also overwrite each other's settings. Nested components have to define the service in their own manifest
13534
+ * as well.
13535
+ *
13536
+ * **Note:** The ShellUIService is intended for use by applications only and should not be used by plugins.
13537
+ *
13538
+ * Auto Title and Hierarchy:
13539
+ *
13540
+ * The ShellUIService can work together with the routing defined in a UI5 app to set title and hierarchy
13541
+ * automatically, as the navigation within the app occurs. This can be achieved by enabling the ShellUIService
13542
+ * to load instantly and configuring one or both `setTitle` and `setHierarchy` options to `auto` in the
13543
+ * app manifest. Using this mechanism disables the API to manually set the title or hierarchy via `setTitle`
13544
+ * and `setHierarchy`.
13545
+ *
13546
+ *
13547
+ * ```javascript
13548
+ *
13549
+ * {
13550
+ * "sap.ui5": {
13551
+ * "services" : {
13552
+ * "ShellUIService": {
13553
+ * "lazy": false,
13554
+ * "factoryName": "sap.ushell.ui5service.ShellUIService",
13555
+ * "settings": {
13556
+ * "setHierarchy": "auto",
13557
+ * "setTitle": "auto"
13558
+ * }
13559
+ * }
13560
+ * }
13561
+ * }
13562
+ * }
13563
+ * ```
13564
+ *
13565
+ *
13566
+ * **Note:** Please be aware that the sapFiori2Adaptation configuration of the application may cause the
13567
+ * ShellUIService service to work incorrectly. We recommend to disable the sapFiori2Adaptation configuration
13568
+ * for the new applications if you use the ShellUIService.
13569
+ *
13570
+ * @since 1.38.0
13571
+ */
13572
+ export default class ShellUIService
13573
+ extends /* was: sap.ui.core.service.Service */ Object
13574
+ {
13575
+ /**
13576
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
13577
+ */
13578
+ protected constructor();
13579
+
13580
+ /**
13581
+ * Creates a new subclass of class sap.ushell.ui5service.ShellUIService with name `sClassName` and enriches
13582
+ * it with the information contained in `oClassInfo`.
13583
+ *
13584
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.service.Service.extend}.
13585
+ *
13586
+ *
13587
+ * @returns Created class / constructor function
13588
+ */
13589
+ static extend<T extends Record<string, unknown>>(
13590
+ /**
13591
+ * Name of the class being created
13592
+ */
13593
+ sClassName: string,
13594
+ /**
13595
+ * Object literal with information about the class
13596
+ */
13597
+ oClassInfo?: sap.ClassInfo<T, ShellUIService>,
13598
+ /**
13599
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13600
+ * used by this class
13601
+ */
13602
+ FNMetaImpl?: Function
13603
+ ): Function;
13604
+ /**
13605
+ * Returns a metadata object for class sap.ushell.ui5service.ShellUIService.
13606
+ *
13607
+ *
13608
+ * @returns Metadata object describing this class
13609
+ */
13610
+ static getMetadata(): Metadata;
13611
+ /**
13612
+ * Returns the current title shown in the header. This might differ from the title set by the via {@link #setTitle}.
13613
+ *
13614
+ * @since 1.38.0
13615
+ *
13616
+ * @returns The current title.
13617
+ */
13618
+ getTitle(): string;
13619
+ /**
13620
+ * Displays the given hierarchy in the shell header. The default app hierarchy is applied if no parameter
13621
+ * is given.
13622
+ *
13623
+ * @since 1.38.0
13624
+ */
13625
+ setHierarchy(
13626
+ /**
13627
+ * An array representing hierarchies of the currently displayed app.
13628
+ */
13629
+ aHierarchyLevels?: AppInfo[]
13630
+ ): void;
13631
+ /**
13632
+ * Used by apps to set related apps. This setting is propagated towards the Shell Header via corresponding
13633
+ * events.
13634
+ *
13635
+ * @since 1.40.0
13636
+ */
13637
+ setRelatedApps(
13638
+ /**
13639
+ * An array of related apps.
13640
+ */
13641
+ aRelatedApps?: AppInfo[]
13642
+ ): void;
13643
+ /**
13644
+ * Displays the given title in the shell header. This method should not be called if the app calling the
13645
+ * method is not currently displayed in the Fiori Launchpad.
13646
+ *
13647
+ * @since 1.38.0
13648
+ */
13649
+ setTitle(
13650
+ /**
13651
+ * The new title. The default title is set if this argument is not given.
13652
+ */
13653
+ sTitle?: string
13654
+ ): void;
13655
+ }
13485
13656
  /**
13486
13657
  * Defines essential information about an app.
13487
13658
  *
@@ -13734,181 +13905,19 @@ declare namespace sap {
13734
13905
  protected constructor();
13735
13906
  }
13736
13907
  }
13737
-
13738
- namespace ui5service {
13739
- /**
13740
- * The Unified Shell's ShellUIService service.
13741
- *
13742
- * Allows apps to interact with the Fiori Launchpad UI. The service is injected in the app components by
13743
- * the FLP renderer before the corresponding apps start. To consume the service, app components should declare
13744
- * it in their "manifest.json" as follows:
13745
- * ```javascript
13746
- *
13747
- * {
13748
- * ...
13749
- * "sap.ui5": {
13750
- * "services" : {
13751
- * "ShellUIService": {
13752
- * "factoryName": "sap.ushell.ui5service.ShellUIService"
13753
- * }
13754
- * }
13755
- * }
13756
- * ...
13757
- * }
13758
- * ```
13759
- *
13760
- *
13761
- * The service can be then retrieved and consumed from the app root component as in the following example:
13762
- *
13763
- * ```javascript
13764
- *
13765
- * // Component.js (the app root component)
13766
- * ...
13767
- * this.getService("ShellUIService").then( // promise is returned
13768
- * function (oService) {
13769
- * oService.setTitle("Application Title");
13770
- * },
13771
- * function (oError) {
13772
- * Log.error("Cannot get ShellUIService", oError, "my.app.Component");
13773
- * }
13774
- * );
13775
- * ...
13776
- * ```
13777
- *
13778
- *
13779
- * The ShellUIService can work together with the routing defined in a UI5 app to set title and hierarchy
13780
- * automatically, as the navigation within the app occurs. This can be achieved by enabling the ShellUIService
13781
- * to load instantly and configuring one or both `setTitle` and `setHierarchy` options to `auto` in the
13782
- * app manifest, as shown in the example below:
13783
- *
13784
- *
13785
- * ```javascript
13786
- *
13787
- * {
13788
- * "sap.ui5": {
13789
- * "services" : {
13790
- * "ShellUIService": {
13791
- * "lazy": false,
13792
- * "factoryName": "sap.ushell.ui5service.ShellUIService",
13793
- * "settings": {
13794
- * "setHierarchy": "auto",
13795
- * "setTitle": "auto"
13796
- * }
13797
- * }
13798
- * }
13799
- * }
13800
- * }
13801
- * ```
13802
- *
13803
- *
13804
- * Note that the `setHierarchy` or `setTitle` methods should not be actively called by the application when
13805
- * title and hierarchy are set automatically.
13806
- *
13807
- * **Note:** Please be aware that the sapFiori2Adaptation configuration of the application may cause the
13808
- * ShellUIService service to work incorrectly. We recommend to disable the sapFiori2Adaptation configuration
13809
- * for the new applications if you use ShellUIService.
13810
- *
13811
- * @since 1.38.0
13812
- */
13813
- class ShellUIService
13814
- extends /* was: sap.ui.core.service.Service */ Object
13815
- {
13816
- /**
13817
- * @ui5-protected Do not call from applications (only from related classes in the framework)
13818
- */
13819
- protected constructor();
13820
-
13821
- /**
13822
- * Creates a new subclass of class sap.ushell.ui5service.ShellUIService with name `sClassName` and enriches
13823
- * it with the information contained in `oClassInfo`.
13824
- *
13825
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.service.Service.extend}.
13826
- *
13827
- *
13828
- * @returns Created class / constructor function
13829
- */
13830
- static extend<T extends Record<string, unknown>>(
13831
- /**
13832
- * Name of the class being created
13833
- */
13834
- sClassName: string,
13835
- /**
13836
- * Object literal with information about the class
13837
- */
13838
- oClassInfo?: ClassInfo<T, ShellUIService>,
13839
- /**
13840
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13841
- * used by this class
13842
- */
13843
- FNMetaImpl?: Function
13844
- ): Function;
13845
- /**
13846
- * Returns a metadata object for class sap.ushell.ui5service.ShellUIService.
13847
- *
13848
- *
13849
- * @returns Metadata object describing this class
13850
- */
13851
- static getMetadata(): import("sap/ui/base/Metadata").default;
13852
- /**
13853
- * Returns the title that was last set via {@link setTitle}.
13854
- *
13855
- * @since 1.38.0
13856
- *
13857
- * @returns The title that was last set via {@link setTitle}.
13858
- */
13859
- getTitle(): string;
13860
- /**
13861
- * Displays the given hierarchy in the shell header.
13862
- *
13863
- * @since 1.38.0
13864
- */
13865
- setHierarchy(
13866
- /**
13867
- * An array representing hierarchies of the currently displayed app.
13868
- *
13869
- * The default app hierarchy is applied if no parameter is given.
13870
- */
13871
- aHierarchyLevels?: Array<
13872
- import("sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory").AppInfo
13873
- >
13874
- ): void;
13875
- /**
13876
- * Used by apps to set related apps. This setting is propagated towards the Shell Header via corresponding
13877
- * events.
13878
- *
13879
- * @since 1.40.0
13880
- */
13881
- setRelatedApps(
13882
- /**
13883
- * An array of related apps.
13884
- */
13885
- aRelatedApps?: Array<
13886
- import("sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory").AppInfo
13887
- >
13888
- ): void;
13889
- /**
13890
- * Displays the given title in the shell header. This method should not be called if the app calling the
13891
- * method is not currently displayed in the Fiori Launchpad.
13892
- *
13893
- * @since 1.38.0
13894
- */
13895
- setTitle(
13896
- /**
13897
- * The new title. The default title is set if this argument is not given.
13898
- */
13899
- sTitle?: string
13900
- ): void;
13901
- }
13902
- }
13903
13908
  }
13904
13909
 
13905
13910
  interface IUI5DefineDependencyNames {
13911
+ "sap/ushell/api/Copilot": undefined;
13912
+
13906
13913
  "sap/ushell/api/Inbox": undefined;
13907
13914
 
13908
13915
  "sap/ushell/api/NewExperience": undefined;
13909
13916
 
13910
13917
  "sap/ushell/api/RTA": undefined;
13911
13918
 
13919
+ "sap/ushell/api/S4MyHome": undefined;
13920
+
13912
13921
  "sap/ushell/api/workpage/Designtime": undefined;
13913
13922
 
13914
13923
  "sap/ushell/api/workpage/Runtime": undefined;
@@ -14025,6 +14034,8 @@ declare namespace sap {
14025
14034
 
14026
14035
  "sap/ushell/services/UsageAnalytics": undefined;
14027
14036
 
14037
+ "sap/ushell/services/UserDefaultParameters": undefined;
14038
+
14028
14039
  "sap/ushell/services/UserInfo": undefined;
14029
14040
 
14030
14041
  "sap/ushell/services/UserRecents": undefined;
@@ -14053,7 +14064,9 @@ declare namespace sap {
14053
14064
 
14054
14065
  "sap/ushell/ui/tile/StaticTile": undefined;
14055
14066
 
14056
- "sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory": undefined;
14067
+ "sap/ushell/ui5service/ShellUIService": undefined;
14068
+
14069
+ "sap/ushell/ui5service/ShellUIServiceFactory": undefined;
14057
14070
 
14058
14071
  "sap/ushell/ui5service/UserStatus": undefined;
14059
14072
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.1
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/viz/library" {
4
4
  export namespace ui5 {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/zen/commons/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/zen/crosstab/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/zen/dsh/library" {}
4
4