@sapui5/ts-types-esm 1.144.1 → 1.146.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 (69) 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.esh.search.ui.d.ts +167 -102
  7. package/types/sap.f.d.ts +73 -526
  8. package/types/sap.fe.ariba.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +342 -21
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +188 -4
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +1022 -207
  14. package/types/sap.fe.navigation.d.ts +1 -1
  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 +12 -1
  18. package/types/sap.fe.test.d.ts +150 -1
  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 +172 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +350 -29
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +31 -2
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +1 -1
  30. package/types/sap.suite.ui.commons.d.ts +404 -21
  31. package/types/sap.suite.ui.generic.template.d.ts +46 -1
  32. package/types/sap.suite.ui.microchart.d.ts +2 -1
  33. package/types/sap.tnt.d.ts +27 -26
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +73 -2
  37. package/types/sap.ui.core.d.ts +1181 -478
  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 +9 -1
  41. package/types/sap.ui.generic.app.d.ts +1 -1
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.geomap.d.ts +1 -1
  44. package/types/sap.ui.integration.d.ts +65 -266
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/sap.ui.mdc.d.ts +379 -51
  47. package/types/sap.ui.richtexteditor.d.ts +33 -11
  48. package/types/sap.ui.rta.d.ts +1 -1
  49. package/types/sap.ui.suite.d.ts +1 -1
  50. package/types/sap.ui.support.d.ts +1 -1
  51. package/types/sap.ui.table.d.ts +7 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +74 -3
  54. package/types/sap.ui.ux3.d.ts +1 -1
  55. package/types/sap.ui.vbm.d.ts +1 -1
  56. package/types/sap.ui.vk.d.ts +376 -2
  57. package/types/sap.ui.vtm.d.ts +2 -2
  58. package/types/sap.ui.webc.common.d.ts +1 -1
  59. package/types/sap.ui.webc.fiori.d.ts +1 -1
  60. package/types/sap.ui.webc.main.d.ts +1 -1
  61. package/types/sap.uiext.inbox.d.ts +1 -1
  62. package/types/sap.ushell.d.ts +198 -136
  63. package/types/sap.ushell_abap.d.ts +1 -1
  64. package/types/sap.uxap.d.ts +18 -8
  65. package/types/sap.viz.d.ts +1 -1
  66. package/types/sap.webanalytics.core.d.ts +1 -1
  67. package/types/sap.zen.commons.d.ts +1 -1
  68. package/types/sap.zen.crosstab.d.ts +1 -1
  69. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/ui/vk/library" {
4
4
  /**
@@ -5910,6 +5910,8 @@ declare module "sap/ui/vk/DrawerToolbarButton" {
5910
5910
 
5911
5911
  CrossSectionSeparator = "VIT-Cross-Section-Separator",
5912
5912
 
5913
+ CrossSectionSettings = "VIT-Cross-Section-Settings",
5914
+
5913
5915
  EcadSeparator = "VIT-ECAD-Separator",
5914
5916
 
5915
5917
  FitToPage = "VIT-Fit-To-Page",
@@ -23402,7 +23404,7 @@ declare module "sap/ui/vk/svg/Viewport" {
23402
23404
  * Include selected nodes
23403
23405
  */
23404
23406
  includeSelection: boolean
23405
- ): string;
23407
+ ): Promise<string>;
23406
23408
  /**
23407
23409
  * Gets content of aggregation {@link #getMiniMap miniMap}.
23408
23410
  */
@@ -26247,6 +26249,10 @@ declare module "sap/ui/vk/threejs/Viewport" {
26247
26249
  * Indicator to retrieve selection information.
26248
26250
  */
26249
26251
  selection?: boolean | object;
26252
+ /**
26253
+ * Indicator to retrieve cross-section tool information.
26254
+ */
26255
+ crossSection?: boolean | object;
26250
26256
  }
26251
26257
  ): object;
26252
26258
  /**
@@ -26425,6 +26431,27 @@ declare module "sap/ui/vk/threejs/Viewport" {
26425
26431
  */
26426
26432
  outlined: string[];
26427
26433
  };
26434
+ /**
26435
+ * A JSON-like object containing the cross-section tool information.
26436
+ */
26437
+ crossSection?: {
26438
+ /**
26439
+ * Indicator whether the cross-section tool is enabled.
26440
+ */
26441
+ enabled?: boolean;
26442
+ /**
26443
+ * Axis along which the cross-section is performed (0 - X, 1 - Y, 2 - Z).
26444
+ */
26445
+ axis?: int;
26446
+ /**
26447
+ * Indicator whether the cross-section direction is flipped.
26448
+ */
26449
+ flip?: boolean;
26450
+ /**
26451
+ * Position of the cross-section planes defined as [x, y, z].
26452
+ */
26453
+ position?: float[];
26454
+ };
26428
26455
  },
26429
26456
  /**
26430
26457
  * Fly-to animation duration in seconds.
@@ -30562,6 +30589,10 @@ declare module "sap/ui/vk/tools/CreateTextTool" {
30562
30589
  declare module "sap/ui/vk/tools/CrossSectionTool" {
30563
30590
  import { default as Tool, $ToolSettings } from "sap/ui/vk/tools/Tool";
30564
30591
 
30592
+ import Event from "sap/ui/base/Event";
30593
+
30594
+ import { CSSColor } from "sap/ui/core/library";
30595
+
30565
30596
  import ElementMetadata from "sap/ui/core/ElementMetadata";
30566
30597
 
30567
30598
  import Viewport from "sap/ui/vk/Viewport";
@@ -30636,6 +30667,138 @@ declare module "sap/ui/vk/tools/CrossSectionTool" {
30636
30667
  * @returns Metadata object describing this class
30637
30668
  */
30638
30669
  static getMetadata(): ElementMetadata;
30670
+ /**
30671
+ * Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.vk.tools.CrossSectionTool`.
30672
+ *
30673
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
30674
+ * otherwise it will be bound to this `sap.ui.vk.tools.CrossSectionTool` itself.
30675
+ *
30676
+ * This event is fired when the tool's setState method is called and the new state is applied. The event
30677
+ * can be used to update of the UI.
30678
+ *
30679
+ *
30680
+ * @returns Reference to `this` in order to allow method chaining
30681
+ */
30682
+ attachStateChanged(
30683
+ /**
30684
+ * An application-specific payload object that will be passed to the event handler along with the event
30685
+ * object when firing the event
30686
+ */
30687
+ oData: object,
30688
+ /**
30689
+ * The function to be called when the event occurs
30690
+ */
30691
+ fnFunction: (p1: Event) => void,
30692
+ /**
30693
+ * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.CrossSectionTool` itself
30694
+ */
30695
+ oListener?: object
30696
+ ): this;
30697
+ /**
30698
+ * Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.vk.tools.CrossSectionTool`.
30699
+ *
30700
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
30701
+ * otherwise it will be bound to this `sap.ui.vk.tools.CrossSectionTool` itself.
30702
+ *
30703
+ * This event is fired when the tool's setState method is called and the new state is applied. The event
30704
+ * can be used to update of the UI.
30705
+ *
30706
+ *
30707
+ * @returns Reference to `this` in order to allow method chaining
30708
+ */
30709
+ attachStateChanged(
30710
+ /**
30711
+ * The function to be called when the event occurs
30712
+ */
30713
+ fnFunction: (p1: Event) => void,
30714
+ /**
30715
+ * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.CrossSectionTool` itself
30716
+ */
30717
+ oListener?: object
30718
+ ): this;
30719
+ /**
30720
+ * Detaches event handler `fnFunction` from the {@link #event:stateChanged stateChanged} event of this `sap.ui.vk.tools.CrossSectionTool`.
30721
+ *
30722
+ * The passed function and listener object must match the ones used for event registration.
30723
+ *
30724
+ *
30725
+ * @returns Reference to `this` in order to allow method chaining
30726
+ */
30727
+ detachStateChanged(
30728
+ /**
30729
+ * The function to be called, when the event occurs
30730
+ */
30731
+ fnFunction: (p1: Event) => void,
30732
+ /**
30733
+ * Context object on which the given function had to be called
30734
+ */
30735
+ oListener?: object
30736
+ ): this;
30737
+ /**
30738
+ * Fires event {@link #event:stateChanged stateChanged} to attached listeners.
30739
+ *
30740
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
30741
+ *
30742
+ * @returns Reference to `this` in order to allow method chaining
30743
+ */
30744
+ fireStateChanged(
30745
+ /**
30746
+ * Parameters to pass along with the event
30747
+ */
30748
+ mParameters?: object
30749
+ ): this;
30750
+ /**
30751
+ * Gets the clipping plane axis.
30752
+ *
30753
+ *
30754
+ * @returns Axis index from 0 to 2: 0 - X, 1 - Y, 2 - Z.
30755
+ */
30756
+ getAxis(): number;
30757
+ /**
30758
+ * Gets current value of property {@link #getCappingColor cappingColor}.
30759
+ *
30760
+ * Default value is `"#ff0000"`.
30761
+ *
30762
+ *
30763
+ * @returns Value of property `cappingColor`
30764
+ */
30765
+ getCappingColor(): CSSColor;
30766
+ /**
30767
+ * Gets current value of property {@link #getCappingOpacity cappingOpacity}.
30768
+ *
30769
+ * Default value is `0.9`.
30770
+ *
30771
+ *
30772
+ * @returns Value of property `cappingOpacity`
30773
+ */
30774
+ getCappingOpacity(): float;
30775
+ /**
30776
+ * Gets current value of property {@link #getOutlineColor outlineColor}.
30777
+ *
30778
+ * Default value is `"#000000"`.
30779
+ *
30780
+ *
30781
+ * @returns Value of property `outlineColor`
30782
+ */
30783
+ getOutlineColor(): CSSColor;
30784
+ /**
30785
+ * Gets current value of property {@link #getOutlineWidth outlineWidth}.
30786
+ *
30787
+ * Default value is `2`.
30788
+ *
30789
+ *
30790
+ * @returns Value of property `outlineWidth`
30791
+ */
30792
+ getOutlineWidth(): float;
30793
+ /**
30794
+ * Gets current value of property {@link #getShowCapping showCapping}.
30795
+ *
30796
+ * Default value is `true`.
30797
+ *
30798
+ *
30799
+ * @returns Value of property `showCapping`
30800
+ */
30801
+ getShowCapping(): boolean;
30639
30802
  /**
30640
30803
  * Gets current value of property {@link #getShowEditingUI showEditingUI}.
30641
30804
  *
@@ -30647,6 +30810,24 @@ declare module "sap/ui/vk/tools/CrossSectionTool" {
30647
30810
  * @returns Value of property `showEditingUI`
30648
30811
  */
30649
30812
  getShowEditingUI(): boolean;
30813
+ /**
30814
+ * Gets current value of property {@link #getShowOutline showOutline}.
30815
+ *
30816
+ * Default value is `true`.
30817
+ *
30818
+ *
30819
+ * @returns Value of property `showOutline`
30820
+ */
30821
+ getShowOutline(): boolean;
30822
+ /**
30823
+ * Gets information about the current state.
30824
+ *
30825
+ * @since 1.145.0
30826
+ *
30827
+ * @returns JSON-like object which holds the current state information. See {@link sap.ui.vk.tools.CrossSectionTool#setState setState }
30828
+ * for details.
30829
+ */
30830
+ getState(): object | null;
30650
30831
  /**
30651
30832
  * MOVE TO BASE Queues a command for execution during the rendering cycle. All gesture operations should
30652
30833
  * be called using this method.
@@ -30672,6 +30853,38 @@ declare module "sap/ui/vk/tools/CrossSectionTool" {
30672
30853
  */
30673
30854
  index?: number
30674
30855
  ): this;
30856
+ /**
30857
+ * Sets a new value for property {@link #getCappingColor cappingColor}.
30858
+ *
30859
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
30860
+ *
30861
+ * Default value is `"#ff0000"`.
30862
+ *
30863
+ *
30864
+ * @returns Reference to `this` in order to allow method chaining
30865
+ */
30866
+ setCappingColor(
30867
+ /**
30868
+ * New value for property `cappingColor`
30869
+ */
30870
+ sCappingColor?: CSSColor
30871
+ ): this;
30872
+ /**
30873
+ * Sets a new value for property {@link #getCappingOpacity cappingOpacity}.
30874
+ *
30875
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
30876
+ *
30877
+ * Default value is `0.9`.
30878
+ *
30879
+ *
30880
+ * @returns Reference to `this` in order to allow method chaining
30881
+ */
30882
+ setCappingOpacity(
30883
+ /**
30884
+ * New value for property `cappingOpacity`
30885
+ */
30886
+ fCappingOpacity?: float
30887
+ ): this;
30675
30888
  /**
30676
30889
  * Flips the clipping plane.
30677
30890
  *
@@ -30684,6 +30897,54 @@ declare module "sap/ui/vk/tools/CrossSectionTool" {
30684
30897
  */
30685
30898
  flip?: boolean
30686
30899
  ): this;
30900
+ /**
30901
+ * Sets a new value for property {@link #getOutlineColor outlineColor}.
30902
+ *
30903
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
30904
+ *
30905
+ * Default value is `"#000000"`.
30906
+ *
30907
+ *
30908
+ * @returns Reference to `this` in order to allow method chaining
30909
+ */
30910
+ setOutlineColor(
30911
+ /**
30912
+ * New value for property `outlineColor`
30913
+ */
30914
+ sOutlineColor?: CSSColor
30915
+ ): this;
30916
+ /**
30917
+ * Sets a new value for property {@link #getOutlineWidth outlineWidth}.
30918
+ *
30919
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
30920
+ *
30921
+ * Default value is `2`.
30922
+ *
30923
+ *
30924
+ * @returns Reference to `this` in order to allow method chaining
30925
+ */
30926
+ setOutlineWidth(
30927
+ /**
30928
+ * New value for property `outlineWidth`
30929
+ */
30930
+ fOutlineWidth?: float
30931
+ ): this;
30932
+ /**
30933
+ * Sets a new value for property {@link #getShowCapping showCapping}.
30934
+ *
30935
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
30936
+ *
30937
+ * Default value is `true`.
30938
+ *
30939
+ *
30940
+ * @returns Reference to `this` in order to allow method chaining
30941
+ */
30942
+ setShowCapping(
30943
+ /**
30944
+ * New value for property `showCapping`
30945
+ */
30946
+ bShowCapping?: boolean
30947
+ ): this;
30687
30948
  /**
30688
30949
  * Sets a new value for property {@link #getShowEditingUI showEditingUI}.
30689
30950
  *
@@ -30702,6 +30963,84 @@ declare module "sap/ui/vk/tools/CrossSectionTool" {
30702
30963
  */
30703
30964
  bShowEditingUI?: boolean
30704
30965
  ): this;
30966
+ /**
30967
+ * Sets a new value for property {@link #getShowOutline showOutline}.
30968
+ *
30969
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
30970
+ *
30971
+ * Default value is `true`.
30972
+ *
30973
+ *
30974
+ * @returns Reference to `this` in order to allow method chaining
30975
+ */
30976
+ setShowOutline(
30977
+ /**
30978
+ * New value for property `showOutline`
30979
+ */
30980
+ bShowOutline?: boolean
30981
+ ): this;
30982
+ /**
30983
+ * Sets the current state.
30984
+ *
30985
+ * @since 1.145.0
30986
+ *
30987
+ * @returns `this` to allow method chaining.
30988
+ */
30989
+ setState(
30990
+ /**
30991
+ * JSON-like object which holds the state information. See below for details.
30992
+ */
30993
+ state?: {
30994
+ /**
30995
+ * Specifies whether the cross section tool should be activated.
30996
+ */
30997
+ enabled?: boolean;
30998
+ /**
30999
+ * Axis index from 0 to 2: 0 - X, 1 - Y, 2 - Z.
31000
+ */
31001
+ axis?: number;
31002
+ /**
31003
+ * If set to `true`, the clipping plane will be flipped.
31004
+ */
31005
+ flip?: boolean;
31006
+ /**
31007
+ * The position of the clipping planes defined as [x, y, z].
31008
+ */
31009
+ position?: number[];
31010
+ /**
31011
+ * The color of the outline defined as a CSS color string.
31012
+ */
31013
+ outlineColor?: string;
31014
+ /**
31015
+ * The width of the outline defined as a float.
31016
+ */
31017
+ outlineWidth?: number;
31018
+ /**
31019
+ * Specifies whether the outline should be shown.
31020
+ */
31021
+ showOutline?: boolean;
31022
+ /**
31023
+ * The color of the capping defined as a CSS color string.
31024
+ */
31025
+ cappingColor?: string;
31026
+ /**
31027
+ * The opacity of the capping defined as a float between 0 and 1.
31028
+ */
31029
+ cappingOpacity?: number;
31030
+ /**
31031
+ * Specifies whether the capping should be shown.
31032
+ */
31033
+ showCapping?: boolean;
31034
+ /**
31035
+ * Specifies whether the editing UI should be shown.
31036
+ */
31037
+ showEditingUI?: boolean;
31038
+ },
31039
+ /**
31040
+ * The viewport where the tool is used.
31041
+ */
31042
+ viewport?: Viewport
31043
+ ): this;
30705
31044
  }
30706
31045
  /**
30707
31046
  * Describes the settings that can be provided to the CrossSectionTool constructor.
@@ -30711,7 +31050,38 @@ declare module "sap/ui/vk/tools/CrossSectionTool" {
30711
31050
  * Display text box with current value, which can also be used to directly modify the value
30712
31051
  */
30713
31052
  showEditingUI?: boolean | PropertyBindingInfo | `{${string}}`;
31053
+
31054
+ outlineColor?: CSSColor | PropertyBindingInfo | `{${string}}`;
31055
+
31056
+ outlineWidth?: float | PropertyBindingInfo | `{${string}}`;
31057
+
31058
+ showOutline?: boolean | PropertyBindingInfo | `{${string}}`;
31059
+
31060
+ cappingColor?: CSSColor | PropertyBindingInfo | `{${string}}`;
31061
+
31062
+ cappingOpacity?: float | PropertyBindingInfo | `{${string}}`;
31063
+
31064
+ showCapping?: boolean | PropertyBindingInfo | `{${string}}`;
31065
+
31066
+ /**
31067
+ * This event is fired when the tool's setState method is called and the new state is applied. The event
31068
+ * can be used to update of the UI.
31069
+ */
31070
+ stateChanged?: (oEvent: Event) => void;
30714
31071
  }
31072
+
31073
+ /**
31074
+ * Parameters of the CrossSectionTool#stateChanged event.
31075
+ */
31076
+ export interface CrossSectionTool$StateChangedEventParameters {}
31077
+
31078
+ /**
31079
+ * Event object of the CrossSectionTool#stateChanged event.
31080
+ */
31081
+ export type CrossSectionTool$StateChangedEvent = Event<
31082
+ CrossSectionTool$StateChangedEventParameters,
31083
+ CrossSectionTool
31084
+ >;
30715
31085
  }
30716
31086
 
30717
31087
  declare module "sap/ui/vk/tools/DuplicateSvgElementTool" {
@@ -42759,6 +43129,10 @@ declare module "sap/ui/vk/Viewport" {
42759
43129
  * Indicator to retrieve selection information.
42760
43130
  */
42761
43131
  selection?: boolean | object;
43132
+ /**
43133
+ * Indicator to retrieve cross-section information.
43134
+ */
43135
+ crossSection?: boolean | object;
42762
43136
  }
42763
43137
  ): object;
42764
43138
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/ui/vtm/library" {
4
4
  import Vtm from "sap/ui/vtm/Vtm";
@@ -6020,7 +6020,7 @@ declare module "sap/ui/vtm/Tree" {
6020
6020
  * Example:
6021
6021
  * ```javascript
6022
6022
  * {
6023
- * id: jQuery.sap.uid(),
6023
+ * id: sap.base.util.uid(),
6024
6024
  * name: "Tree item name",
6025
6025
  * iconUrl: "sap-icon://tree",
6026
6026
  * iconTooltip: "Group"
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/uiext/inbox/library" {}
4
4