@sapui5/ts-types 1.97.2 → 1.99.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 (64) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +0 -4
  3. package/types/sap.apf.d.ts +2 -2
  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.esh.search.ui.d.ts +2 -240
  8. package/types/sap.f.d.ts +263 -636
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +170 -25
  11. package/types/sap.fe.macros.d.ts +13 -1
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.templates.d.ts +5 -1
  14. package/types/sap.fe.test.d.ts +19 -14
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +119 -1
  17. package/types/sap.landvisz.d.ts +49 -1
  18. package/types/sap.m.d.ts +3688 -350
  19. package/types/sap.makit.d.ts +1 -1
  20. package/types/sap.me.d.ts +1 -1
  21. package/types/sap.ndc.d.ts +38 -3
  22. package/types/sap.ovp.d.ts +1 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.grid.d.ts +3 -1
  25. package/types/sap.suite.ui.commons.d.ts +1 -1
  26. package/types/sap.suite.ui.generic.template.d.ts +29 -7
  27. package/types/sap.suite.ui.microchart.d.ts +1 -1
  28. package/types/sap.tnt.d.ts +31 -1
  29. package/types/sap.ui.codeeditor.d.ts +1 -1
  30. package/types/sap.ui.commons.d.ts +1 -1
  31. package/types/sap.ui.comp.d.ts +267 -14
  32. package/types/sap.ui.core.d.ts +1377 -383
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +3 -3
  35. package/types/sap.ui.fl.d.ts +13 -5
  36. package/types/sap.ui.generic.app.d.ts +1 -1
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +29 -11
  39. package/types/sap.ui.layout.d.ts +7 -4
  40. package/types/sap.ui.mdc.d.ts +16 -6
  41. package/types/sap.ui.richtexteditor.d.ts +7 -1
  42. package/types/sap.ui.rta.d.ts +1 -1
  43. package/types/sap.ui.suite.d.ts +1 -1
  44. package/types/sap.ui.support.d.ts +6 -6
  45. package/types/sap.ui.table.d.ts +30 -1
  46. package/types/sap.ui.testrecorder.d.ts +1 -1
  47. package/types/sap.ui.unified.d.ts +1 -1
  48. package/types/sap.ui.ux3.d.ts +1 -1
  49. package/types/sap.ui.vbm.d.ts +1 -3
  50. package/types/sap.ui.vk.d.ts +64 -31
  51. package/types/sap.ui.vtm.d.ts +4 -4
  52. package/types/sap.uiext.inbox.d.ts +1 -1
  53. package/types/sap.ushell.d.ts +510 -139
  54. package/types/sap.ushell_abap.d.ts +1 -495
  55. package/types/sap.uxap.d.ts +1 -1
  56. package/types/sap.viz.d.ts +1 -1
  57. package/types/sap.webanalytics.core.d.ts +1 -1
  58. package/types/sap.zen.commons.d.ts +1 -1
  59. package/types/sap.zen.crosstab.d.ts +1 -1
  60. package/types/sap.zen.dsh.d.ts +1 -5
  61. package/types/sap.fe.placeholder.d.ts +0 -3
  62. package/types/sap.fe.plugins.d.ts +0 -3
  63. package/types/sap.fe.semantics.d.ts +0 -3
  64. package/types/sap.fe.tools.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -5561,7 +5561,7 @@ declare namespace sap {
5561
5561
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
5562
5562
  }
5563
5563
 
5564
- interface $DuplicateSvgHotspotToolSettings
5564
+ interface $DuplicateSvgElementToolSettings
5565
5565
  extends sap.ui.vk.tools.$ToolSettings {
5566
5566
  /**
5567
5567
  * Parent node for new elements.
@@ -7907,11 +7907,11 @@ declare namespace sap {
7907
7907
  ): this;
7908
7908
  }
7909
7909
  /**
7910
- * The DuplicateSvgHotspotTool allows applications to duplicate svg hotspots.
7910
+ * The DuplicateSvgElementTool allows applications to duplicate svg elements.
7911
7911
  */
7912
- class DuplicateSvgHotspotTool extends sap.ui.vk.tools.Tool {
7912
+ class DuplicateSvgElementTool extends sap.ui.vk.tools.Tool {
7913
7913
  /**
7914
- * Constructor for a new DuplicateSvgHotspotTool.
7914
+ * Constructor for a new DuplicateSvgElementTool.
7915
7915
  *
7916
7916
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
7917
7917
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -7921,10 +7921,10 @@ declare namespace sap {
7921
7921
  /**
7922
7922
  * An optional map/JSON object with initial property values, aggregated objects etc. for the new tool instance.
7923
7923
  */
7924
- mSettings?: sap.ui.vk.tools.$DuplicateSvgHotspotToolSettings
7924
+ mSettings?: sap.ui.vk.tools.$DuplicateSvgElementToolSettings
7925
7925
  );
7926
7926
  /**
7927
- * Constructor for a new DuplicateSvgHotspotTool.
7927
+ * Constructor for a new DuplicateSvgElementTool.
7928
7928
  *
7929
7929
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
7930
7930
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -7939,11 +7939,11 @@ declare namespace sap {
7939
7939
  /**
7940
7940
  * An optional map/JSON object with initial property values, aggregated objects etc. for the new tool instance.
7941
7941
  */
7942
- mSettings?: sap.ui.vk.tools.$DuplicateSvgHotspotToolSettings
7942
+ mSettings?: sap.ui.vk.tools.$DuplicateSvgElementToolSettings
7943
7943
  );
7944
7944
 
7945
7945
  /**
7946
- * Creates a new subclass of class sap.ui.vk.tools.DuplicateSvgHotspotTool with name `sClassName` and enriches
7946
+ * Creates a new subclass of class sap.ui.vk.tools.DuplicateSvgElementTool with name `sClassName` and enriches
7947
7947
  * it with the information contained in `oClassInfo`.
7948
7948
  *
7949
7949
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.vk.tools.Tool.extend}.
@@ -7958,7 +7958,7 @@ declare namespace sap {
7958
7958
  */
7959
7959
  oClassInfo?: sap.ClassInfo<
7960
7960
  T,
7961
- sap.ui.vk.tools.DuplicateSvgHotspotTool
7961
+ sap.ui.vk.tools.DuplicateSvgElementTool
7962
7962
  >,
7963
7963
  /**
7964
7964
  * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
@@ -7967,14 +7967,14 @@ declare namespace sap {
7967
7967
  FNMetaImpl?: Function
7968
7968
  ): Function;
7969
7969
  /**
7970
- * Returns a metadata object for class sap.ui.vk.tools.DuplicateSvgHotspotTool.
7970
+ * Returns a metadata object for class sap.ui.vk.tools.DuplicateSvgElementTool.
7971
7971
  */
7972
7972
  static getMetadata(): sap.ui.core.ElementMetadata;
7973
7973
  /**
7974
- * Attaches event handler `fnFunction` to the {@link #event:nodesCreated nodesCreated} event of this `sap.ui.vk.tools.DuplicateSvgHotspotTool`.
7974
+ * Attaches event handler `fnFunction` to the {@link #event:nodesCreated nodesCreated} event of this `sap.ui.vk.tools.DuplicateSvgElementTool`.
7975
7975
  *
7976
7976
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
7977
- * otherwise it will be bound to this `sap.ui.vk.tools.DuplicateSvgHotspotTool` itself.
7977
+ * otherwise it will be bound to this `sap.ui.vk.tools.DuplicateSvgElementTool` itself.
7978
7978
  *
7979
7979
  * Fired when the duplicated nodes are created.
7980
7980
  */
@@ -7989,16 +7989,16 @@ declare namespace sap {
7989
7989
  */
7990
7990
  fnFunction: (p1: sap.ui.base.Event) => void,
7991
7991
  /**
7992
- * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.DuplicateSvgHotspotTool`
7992
+ * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.DuplicateSvgElementTool`
7993
7993
  * itself
7994
7994
  */
7995
7995
  oListener?: object
7996
7996
  ): this;
7997
7997
  /**
7998
- * Attaches event handler `fnFunction` to the {@link #event:nodesCreated nodesCreated} event of this `sap.ui.vk.tools.DuplicateSvgHotspotTool`.
7998
+ * Attaches event handler `fnFunction` to the {@link #event:nodesCreated nodesCreated} event of this `sap.ui.vk.tools.DuplicateSvgElementTool`.
7999
7999
  *
8000
8000
  * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
8001
- * otherwise it will be bound to this `sap.ui.vk.tools.DuplicateSvgHotspotTool` itself.
8001
+ * otherwise it will be bound to this `sap.ui.vk.tools.DuplicateSvgElementTool` itself.
8002
8002
  *
8003
8003
  * Fired when the duplicated nodes are created.
8004
8004
  */
@@ -8008,13 +8008,13 @@ declare namespace sap {
8008
8008
  */
8009
8009
  fnFunction: (p1: sap.ui.base.Event) => void,
8010
8010
  /**
8011
- * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.DuplicateSvgHotspotTool`
8011
+ * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.DuplicateSvgElementTool`
8012
8012
  * itself
8013
8013
  */
8014
8014
  oListener?: object
8015
8015
  ): this;
8016
8016
  /**
8017
- * Detaches event handler `fnFunction` from the {@link #event:nodesCreated nodesCreated} event of this `sap.ui.vk.tools.DuplicateSvgHotspotTool`.
8017
+ * Detaches event handler `fnFunction` from the {@link #event:nodesCreated nodesCreated} event of this `sap.ui.vk.tools.DuplicateSvgElementTool`.
8018
8018
  *
8019
8019
  * The passed function and listener object must match the ones used for event registration.
8020
8020
  */
@@ -8077,7 +8077,7 @@ declare namespace sap {
8077
8077
  * The command to be executed.
8078
8078
  */
8079
8079
  command: Function
8080
- ): sap.ui.vk.tools.DuplicateSvgHotspotTool;
8080
+ ): sap.ui.vk.tools.DuplicateSvgElementTool;
8081
8081
  /**
8082
8082
  * Sets a new value for property {@link #getNodeList nodeList}.
8083
8083
  *
@@ -13555,8 +13555,8 @@ declare namespace sap {
13555
13555
  * View state managers.
13556
13556
  */
13557
13557
  viewStateManagers?:
13558
- | sap.ui.vk.ViewStateManager[]
13559
- | sap.ui.vk.ViewStateManager
13558
+ | sap.ui.vk.ViewStateManagerBase[]
13559
+ | sap.ui.vk.ViewStateManagerBase
13560
13560
  | sap.ui.base.ManagedObject.AggregationBindingInfo;
13561
13561
 
13562
13562
  /**
@@ -15254,6 +15254,8 @@ declare namespace sap {
15254
15254
  | boolean
15255
15255
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
15256
15256
 
15257
+ features?: string[] | sap.ui.base.ManagedObject.PropertyBindingInfo;
15258
+
15257
15259
  contentConnector?: sap.ui.vk.ContentConnector | string;
15258
15260
 
15259
15261
  viewManager?: /* was: sap.ui.vk.ViewManager */ any | string;
@@ -17277,7 +17279,7 @@ declare namespace sap {
17277
17279
  /**
17278
17280
  * The viewStateManager to add; if empty, nothing is inserted
17279
17281
  */
17280
- oViewStateManager: sap.ui.vk.ViewStateManager
17282
+ oViewStateManager: sap.ui.vk.ViewStateManagerBase
17281
17283
  ): this;
17282
17284
  /**
17283
17285
  * Attaches event handler `fnFunction` to the {@link #event:contentChangesFinished contentChangesFinished}
@@ -17788,12 +17790,20 @@ declare namespace sap {
17788
17790
  * Content resources to load and display.
17789
17791
  */
17790
17792
  getContentResources(): sap.ui.vk.ContentResource[];
17793
+ /**
17794
+ * @SINCE 1.99.0
17795
+ *
17796
+ * Gets the default view state manager.
17797
+ *
17798
+ * The type of the default view state manager depends on the type of the currently loaded content.
17799
+ */
17800
+ getDefaultViewStateManager(): sap.ui.vk.ViewStateManagerBase | null;
17791
17801
  /**
17792
17802
  * Gets content of aggregation {@link #getViewStateManagers viewStateManagers}.
17793
17803
  *
17794
17804
  * View state managers.
17795
17805
  */
17796
- getViewStateManagers(): sap.ui.vk.ViewStateManager[];
17806
+ getViewStateManagers(): sap.ui.vk.ViewStateManagerBase[];
17797
17807
  /**
17798
17808
  * Checks for the provided `sap.ui.vk.ContentResource` in the aggregation {@link #getContentResources contentResources}.
17799
17809
  * and returns its index if found or -1 otherwise.
@@ -17805,14 +17815,14 @@ declare namespace sap {
17805
17815
  oContentResource: sap.ui.vk.ContentResource
17806
17816
  ): int;
17807
17817
  /**
17808
- * Checks for the provided `sap.ui.vk.ViewStateManager` in the aggregation {@link #getViewStateManagers
17818
+ * Checks for the provided `sap.ui.vk.ViewStateManagerBase` in the aggregation {@link #getViewStateManagers
17809
17819
  * viewStateManagers}. and returns its index if found or -1 otherwise.
17810
17820
  */
17811
17821
  indexOfViewStateManager(
17812
17822
  /**
17813
17823
  * The viewStateManager whose index is looked for
17814
17824
  */
17815
- oViewStateManager: sap.ui.vk.ViewStateManager
17825
+ oViewStateManager: sap.ui.vk.ViewStateManagerBase
17816
17826
  ): int;
17817
17827
  /**
17818
17828
  * Inserts a contentResource into the aggregation {@link #getContentResources contentResources}.
@@ -17836,7 +17846,7 @@ declare namespace sap {
17836
17846
  /**
17837
17847
  * The viewStateManager to insert; if empty, nothing is inserted
17838
17848
  */
17839
- oViewStateManager: sap.ui.vk.ViewStateManager,
17849
+ oViewStateManager: sap.ui.vk.ViewStateManagerBase,
17840
17850
  /**
17841
17851
  * The `0`-based index the viewStateManager should be inserted at; for a negative value of `iIndex`, the
17842
17852
  * viewStateManager is inserted at position 0; for a value greater than the current size of the aggregation,
@@ -17855,7 +17865,7 @@ declare namespace sap {
17855
17865
  *
17856
17866
  * Additionally, it unregisters them from the hosting UIArea.
17857
17867
  */
17858
- removeAllViewStateManagers(): sap.ui.vk.ViewStateManager[];
17868
+ removeAllViewStateManagers(): sap.ui.vk.ViewStateManagerBase[];
17859
17869
  /**
17860
17870
  * Removes a contentResource from the aggregation {@link #getContentResources contentResources}.
17861
17871
  */
@@ -17872,8 +17882,8 @@ declare namespace sap {
17872
17882
  /**
17873
17883
  * The viewStateManager to remove or its index or id
17874
17884
  */
17875
- vViewStateManager: int | string | sap.ui.vk.ViewStateManager
17876
- ): sap.ui.vk.ViewStateManager;
17885
+ vViewStateManager: int | string | sap.ui.vk.ViewStateManagerBase
17886
+ ): sap.ui.vk.ViewStateManagerBase;
17877
17887
  /**
17878
17888
  * @SINCE 1.60.0
17879
17889
  *
@@ -21611,6 +21621,10 @@ declare namespace sap {
21611
21621
  */
21612
21622
  z: float
21613
21623
  ): sap.ui.vk.NativeViewport;
21624
+ /**
21625
+ * Zooms the viewport to fit to the content bounds
21626
+ */
21627
+ zoomTo(): sap.ui.vk.NativeViewport;
21614
21628
  }
21615
21629
  /**
21616
21630
  * Provides the ability to explore a Scene object's node structure.
@@ -33591,7 +33605,7 @@ declare namespace sap {
33591
33605
  */
33592
33606
  visible?: any[];
33593
33607
  /**
33594
- * IDs of newly hidden nodes.
33608
+ * References of newly hidden nodes.
33595
33609
  */
33596
33610
  hidden?: any[];
33597
33611
  }
@@ -33601,6 +33615,12 @@ declare namespace sap {
33601
33615
  * or `null`.
33602
33616
  */
33603
33617
  getContentConnector(): sap.ui.core.ID;
33618
+ /**
33619
+ * Gets current value of property {@link #getFeatures features}.
33620
+ *
33621
+ * Default value is `[]`.
33622
+ */
33623
+ getFeatures(): string[];
33604
33624
  /**
33605
33625
  * Gets the NodeHierarchy object associated with this ViewStateManagerBase object.
33606
33626
  */
@@ -33774,6 +33794,19 @@ declare namespace sap {
33774
33794
  */
33775
33795
  oContentConnector: sap.ui.core.ID | sap.ui.vk.ContentConnector
33776
33796
  ): this;
33797
+ /**
33798
+ * Sets a new value for property {@link #getFeatures features}.
33799
+ *
33800
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
33801
+ *
33802
+ * Default value is `[]`.
33803
+ */
33804
+ setFeatures(
33805
+ /**
33806
+ * New value for property `features`
33807
+ */
33808
+ sFeatures?: string[]
33809
+ ): this;
33777
33810
  /**
33778
33811
  * Set highlight display state.
33779
33812
  */
@@ -34421,7 +34454,7 @@ declare namespace sap {
34421
34454
 
34422
34455
  "sap/ui/vk/tools/CrossSectionTool": undefined;
34423
34456
 
34424
- "sap/ui/vk/tools/DuplicateSvgHotspotTool": undefined;
34457
+ "sap/ui/vk/tools/DuplicateSvgElementTool": undefined;
34425
34458
 
34426
34459
  "sap/ui/vk/tools/ExplodeAxis": undefined;
34427
34460
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -2980,12 +2980,12 @@ declare namespace sap {
2980
2980
  *
2981
2981
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2982
2982
  */
2983
- // @ts-ignore - unlike the overridden method in the base class, Column.setTooltip() only accepts strings because sap.ui.vtm.Column re-defines the 'tooltip' aggregation as a property
2984
2983
  setTooltip(
2985
2984
  /**
2986
- * New value for property `tooltip`
2985
+ * New value for property `tooltip`. NOTE: in sap.ui.vtm.Column you can ONLY use a string, not a TooltipBase,
2986
+ * even though the API formally allows it for TypeScript compatibility reasons.
2987
2987
  */
2988
- sTooltip?: string
2988
+ sTooltip: string | sap.ui.core.TooltipBase
2989
2989
  ): this;
2990
2990
  /**
2991
2991
  * Sets a new value for property {@link #getTooltipFormatter tooltipFormatter}.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.1
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {