@sapui5/ts-types 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 +172 -99
  7. package/types/sap.f.d.ts +71 -528
  8. package/types/sap.fe.ariba.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +300 -28
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +165 -4
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +1137 -290
  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 +181 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +356 -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 +32 -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 +403 -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 +76 -2
  37. package/types/sap.ui.core.d.ts +1173 -456
  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 -265
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/sap.ui.mdc.d.ts +357 -50
  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 +5 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +77 -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 +390 -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 +188 -131
  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 namespace sap {
4
4
  namespace ui {
@@ -4845,7 +4845,7 @@ declare namespace sap {
4845
4845
  * Include selected nodes
4846
4846
  */
4847
4847
  includeSelection: boolean
4848
- ): string;
4848
+ ): Promise<string>;
4849
4849
  /**
4850
4850
  * Gets content of aggregation {@link #getMiniMap miniMap}.
4851
4851
  */
@@ -7194,6 +7194,10 @@ declare namespace sap {
7194
7194
  * Indicator to retrieve selection information.
7195
7195
  */
7196
7196
  selection?: boolean | object;
7197
+ /**
7198
+ * Indicator to retrieve cross-section tool information.
7199
+ */
7200
+ crossSection?: boolean | object;
7197
7201
  }
7198
7202
  ): object;
7199
7203
  /**
@@ -7372,6 +7376,27 @@ declare namespace sap {
7372
7376
  */
7373
7377
  outlined: string[];
7374
7378
  };
7379
+ /**
7380
+ * A JSON-like object containing the cross-section tool information.
7381
+ */
7382
+ crossSection?: {
7383
+ /**
7384
+ * Indicator whether the cross-section tool is enabled.
7385
+ */
7386
+ enabled?: boolean;
7387
+ /**
7388
+ * Axis along which the cross-section is performed (0 - X, 1 - Y, 2 - Z).
7389
+ */
7390
+ axis?: int;
7391
+ /**
7392
+ * Indicator whether the cross-section direction is flipped.
7393
+ */
7394
+ flip?: boolean;
7395
+ /**
7396
+ * Position of the cross-section planes defined as [x, y, z].
7397
+ */
7398
+ position?: float[];
7399
+ };
7375
7400
  },
7376
7401
  /**
7377
7402
  * Fly-to animation duration in seconds.
@@ -8237,6 +8262,42 @@ declare namespace sap {
8237
8262
  | boolean
8238
8263
  | sap.ui.base.ManagedObject.PropertyBindingInfo
8239
8264
  | `{${string}}`;
8265
+
8266
+ outlineColor?:
8267
+ | sap.ui.core.CSSColor
8268
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8269
+ | `{${string}}`;
8270
+
8271
+ outlineWidth?:
8272
+ | float
8273
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8274
+ | `{${string}}`;
8275
+
8276
+ showOutline?:
8277
+ | boolean
8278
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8279
+ | `{${string}}`;
8280
+
8281
+ cappingColor?:
8282
+ | sap.ui.core.CSSColor
8283
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8284
+ | `{${string}}`;
8285
+
8286
+ cappingOpacity?:
8287
+ | float
8288
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8289
+ | `{${string}}`;
8290
+
8291
+ showCapping?:
8292
+ | boolean
8293
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8294
+ | `{${string}}`;
8295
+
8296
+ /**
8297
+ * This event is fired when the tool's setState method is called and the new state is applied. The event
8298
+ * can be used to update of the UI.
8299
+ */
8300
+ stateChanged?: (oEvent: sap.ui.base.Event) => void;
8240
8301
  }
8241
8302
 
8242
8303
  /**
@@ -9064,6 +9125,11 @@ declare namespace sap {
9064
9125
  request?: any;
9065
9126
  }
9066
9127
 
9128
+ /**
9129
+ * Parameters of the CrossSectionTool#stateChanged event.
9130
+ */
9131
+ interface CrossSectionTool$StateChangedEventParameters {}
9132
+
9067
9133
  /**
9068
9134
  * Parameters of the DuplicateSvgElementTool#nodesCreated event.
9069
9135
  */
@@ -11470,6 +11536,138 @@ declare namespace sap {
11470
11536
  * @returns Metadata object describing this class
11471
11537
  */
11472
11538
  static getMetadata(): sap.ui.core.ElementMetadata;
11539
+ /**
11540
+ * Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.vk.tools.CrossSectionTool`.
11541
+ *
11542
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11543
+ * otherwise it will be bound to this `sap.ui.vk.tools.CrossSectionTool` itself.
11544
+ *
11545
+ * This event is fired when the tool's setState method is called and the new state is applied. The event
11546
+ * can be used to update of the UI.
11547
+ *
11548
+ *
11549
+ * @returns Reference to `this` in order to allow method chaining
11550
+ */
11551
+ attachStateChanged(
11552
+ /**
11553
+ * An application-specific payload object that will be passed to the event handler along with the event
11554
+ * object when firing the event
11555
+ */
11556
+ oData: object,
11557
+ /**
11558
+ * The function to be called when the event occurs
11559
+ */
11560
+ fnFunction: (p1: sap.ui.base.Event) => void,
11561
+ /**
11562
+ * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.CrossSectionTool` itself
11563
+ */
11564
+ oListener?: object
11565
+ ): this;
11566
+ /**
11567
+ * Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.vk.tools.CrossSectionTool`.
11568
+ *
11569
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11570
+ * otherwise it will be bound to this `sap.ui.vk.tools.CrossSectionTool` itself.
11571
+ *
11572
+ * This event is fired when the tool's setState method is called and the new state is applied. The event
11573
+ * can be used to update of the UI.
11574
+ *
11575
+ *
11576
+ * @returns Reference to `this` in order to allow method chaining
11577
+ */
11578
+ attachStateChanged(
11579
+ /**
11580
+ * The function to be called when the event occurs
11581
+ */
11582
+ fnFunction: (p1: sap.ui.base.Event) => void,
11583
+ /**
11584
+ * Context object to call the event handler with. Defaults to this `sap.ui.vk.tools.CrossSectionTool` itself
11585
+ */
11586
+ oListener?: object
11587
+ ): this;
11588
+ /**
11589
+ * Detaches event handler `fnFunction` from the {@link #event:stateChanged stateChanged} event of this `sap.ui.vk.tools.CrossSectionTool`.
11590
+ *
11591
+ * The passed function and listener object must match the ones used for event registration.
11592
+ *
11593
+ *
11594
+ * @returns Reference to `this` in order to allow method chaining
11595
+ */
11596
+ detachStateChanged(
11597
+ /**
11598
+ * The function to be called, when the event occurs
11599
+ */
11600
+ fnFunction: (p1: sap.ui.base.Event) => void,
11601
+ /**
11602
+ * Context object on which the given function had to be called
11603
+ */
11604
+ oListener?: object
11605
+ ): this;
11606
+ /**
11607
+ * Fires event {@link #event:stateChanged stateChanged} to attached listeners.
11608
+ *
11609
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
11610
+ *
11611
+ * @returns Reference to `this` in order to allow method chaining
11612
+ */
11613
+ fireStateChanged(
11614
+ /**
11615
+ * Parameters to pass along with the event
11616
+ */
11617
+ mParameters?: object
11618
+ ): this;
11619
+ /**
11620
+ * Gets the clipping plane axis.
11621
+ *
11622
+ *
11623
+ * @returns Axis index from 0 to 2: 0 - X, 1 - Y, 2 - Z.
11624
+ */
11625
+ getAxis(): number;
11626
+ /**
11627
+ * Gets current value of property {@link #getCappingColor cappingColor}.
11628
+ *
11629
+ * Default value is `"#ff0000"`.
11630
+ *
11631
+ *
11632
+ * @returns Value of property `cappingColor`
11633
+ */
11634
+ getCappingColor(): sap.ui.core.CSSColor;
11635
+ /**
11636
+ * Gets current value of property {@link #getCappingOpacity cappingOpacity}.
11637
+ *
11638
+ * Default value is `0.9`.
11639
+ *
11640
+ *
11641
+ * @returns Value of property `cappingOpacity`
11642
+ */
11643
+ getCappingOpacity(): float;
11644
+ /**
11645
+ * Gets current value of property {@link #getOutlineColor outlineColor}.
11646
+ *
11647
+ * Default value is `"#000000"`.
11648
+ *
11649
+ *
11650
+ * @returns Value of property `outlineColor`
11651
+ */
11652
+ getOutlineColor(): sap.ui.core.CSSColor;
11653
+ /**
11654
+ * Gets current value of property {@link #getOutlineWidth outlineWidth}.
11655
+ *
11656
+ * Default value is `2`.
11657
+ *
11658
+ *
11659
+ * @returns Value of property `outlineWidth`
11660
+ */
11661
+ getOutlineWidth(): float;
11662
+ /**
11663
+ * Gets current value of property {@link #getShowCapping showCapping}.
11664
+ *
11665
+ * Default value is `true`.
11666
+ *
11667
+ *
11668
+ * @returns Value of property `showCapping`
11669
+ */
11670
+ getShowCapping(): boolean;
11473
11671
  /**
11474
11672
  * Gets current value of property {@link #getShowEditingUI showEditingUI}.
11475
11673
  *
@@ -11481,6 +11679,24 @@ declare namespace sap {
11481
11679
  * @returns Value of property `showEditingUI`
11482
11680
  */
11483
11681
  getShowEditingUI(): boolean;
11682
+ /**
11683
+ * Gets current value of property {@link #getShowOutline showOutline}.
11684
+ *
11685
+ * Default value is `true`.
11686
+ *
11687
+ *
11688
+ * @returns Value of property `showOutline`
11689
+ */
11690
+ getShowOutline(): boolean;
11691
+ /**
11692
+ * Gets information about the current state.
11693
+ *
11694
+ * @since 1.145.0
11695
+ *
11696
+ * @returns JSON-like object which holds the current state information. See {@link sap.ui.vk.tools.CrossSectionTool#setState setState }
11697
+ * for details.
11698
+ */
11699
+ getState(): object | null;
11484
11700
  /**
11485
11701
  * MOVE TO BASE Queues a command for execution during the rendering cycle. All gesture operations should
11486
11702
  * be called using this method.
@@ -11506,6 +11722,38 @@ declare namespace sap {
11506
11722
  */
11507
11723
  index?: number
11508
11724
  ): this;
11725
+ /**
11726
+ * Sets a new value for property {@link #getCappingColor cappingColor}.
11727
+ *
11728
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11729
+ *
11730
+ * Default value is `"#ff0000"`.
11731
+ *
11732
+ *
11733
+ * @returns Reference to `this` in order to allow method chaining
11734
+ */
11735
+ setCappingColor(
11736
+ /**
11737
+ * New value for property `cappingColor`
11738
+ */
11739
+ sCappingColor?: sap.ui.core.CSSColor
11740
+ ): this;
11741
+ /**
11742
+ * Sets a new value for property {@link #getCappingOpacity cappingOpacity}.
11743
+ *
11744
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11745
+ *
11746
+ * Default value is `0.9`.
11747
+ *
11748
+ *
11749
+ * @returns Reference to `this` in order to allow method chaining
11750
+ */
11751
+ setCappingOpacity(
11752
+ /**
11753
+ * New value for property `cappingOpacity`
11754
+ */
11755
+ fCappingOpacity?: float
11756
+ ): this;
11509
11757
  /**
11510
11758
  * Flips the clipping plane.
11511
11759
  *
@@ -11518,6 +11766,54 @@ declare namespace sap {
11518
11766
  */
11519
11767
  flip?: boolean
11520
11768
  ): this;
11769
+ /**
11770
+ * Sets a new value for property {@link #getOutlineColor outlineColor}.
11771
+ *
11772
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11773
+ *
11774
+ * Default value is `"#000000"`.
11775
+ *
11776
+ *
11777
+ * @returns Reference to `this` in order to allow method chaining
11778
+ */
11779
+ setOutlineColor(
11780
+ /**
11781
+ * New value for property `outlineColor`
11782
+ */
11783
+ sOutlineColor?: sap.ui.core.CSSColor
11784
+ ): this;
11785
+ /**
11786
+ * Sets a new value for property {@link #getOutlineWidth outlineWidth}.
11787
+ *
11788
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11789
+ *
11790
+ * Default value is `2`.
11791
+ *
11792
+ *
11793
+ * @returns Reference to `this` in order to allow method chaining
11794
+ */
11795
+ setOutlineWidth(
11796
+ /**
11797
+ * New value for property `outlineWidth`
11798
+ */
11799
+ fOutlineWidth?: float
11800
+ ): this;
11801
+ /**
11802
+ * Sets a new value for property {@link #getShowCapping showCapping}.
11803
+ *
11804
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11805
+ *
11806
+ * Default value is `true`.
11807
+ *
11808
+ *
11809
+ * @returns Reference to `this` in order to allow method chaining
11810
+ */
11811
+ setShowCapping(
11812
+ /**
11813
+ * New value for property `showCapping`
11814
+ */
11815
+ bShowCapping?: boolean
11816
+ ): this;
11521
11817
  /**
11522
11818
  * Sets a new value for property {@link #getShowEditingUI showEditingUI}.
11523
11819
  *
@@ -11536,6 +11832,84 @@ declare namespace sap {
11536
11832
  */
11537
11833
  bShowEditingUI?: boolean
11538
11834
  ): this;
11835
+ /**
11836
+ * Sets a new value for property {@link #getShowOutline showOutline}.
11837
+ *
11838
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11839
+ *
11840
+ * Default value is `true`.
11841
+ *
11842
+ *
11843
+ * @returns Reference to `this` in order to allow method chaining
11844
+ */
11845
+ setShowOutline(
11846
+ /**
11847
+ * New value for property `showOutline`
11848
+ */
11849
+ bShowOutline?: boolean
11850
+ ): this;
11851
+ /**
11852
+ * Sets the current state.
11853
+ *
11854
+ * @since 1.145.0
11855
+ *
11856
+ * @returns `this` to allow method chaining.
11857
+ */
11858
+ setState(
11859
+ /**
11860
+ * JSON-like object which holds the state information. See below for details.
11861
+ */
11862
+ state?: {
11863
+ /**
11864
+ * Specifies whether the cross section tool should be activated.
11865
+ */
11866
+ enabled?: boolean;
11867
+ /**
11868
+ * Axis index from 0 to 2: 0 - X, 1 - Y, 2 - Z.
11869
+ */
11870
+ axis?: number;
11871
+ /**
11872
+ * If set to `true`, the clipping plane will be flipped.
11873
+ */
11874
+ flip?: boolean;
11875
+ /**
11876
+ * The position of the clipping planes defined as [x, y, z].
11877
+ */
11878
+ position?: number[];
11879
+ /**
11880
+ * The color of the outline defined as a CSS color string.
11881
+ */
11882
+ outlineColor?: string;
11883
+ /**
11884
+ * The width of the outline defined as a float.
11885
+ */
11886
+ outlineWidth?: number;
11887
+ /**
11888
+ * Specifies whether the outline should be shown.
11889
+ */
11890
+ showOutline?: boolean;
11891
+ /**
11892
+ * The color of the capping defined as a CSS color string.
11893
+ */
11894
+ cappingColor?: string;
11895
+ /**
11896
+ * The opacity of the capping defined as a float between 0 and 1.
11897
+ */
11898
+ cappingOpacity?: number;
11899
+ /**
11900
+ * Specifies whether the capping should be shown.
11901
+ */
11902
+ showCapping?: boolean;
11903
+ /**
11904
+ * Specifies whether the editing UI should be shown.
11905
+ */
11906
+ showEditingUI?: boolean;
11907
+ },
11908
+ /**
11909
+ * The viewport where the tool is used.
11910
+ */
11911
+ viewport?: sap.ui.vk.Viewport
11912
+ ): this;
11539
11913
  }
11540
11914
  /**
11541
11915
  * The DuplicateSvgElementTool allows applications to duplicate svg elements.
@@ -18045,6 +18419,14 @@ declare namespace sap {
18045
18419
  CreateTextTool
18046
18420
  >;
18047
18421
 
18422
+ /**
18423
+ * Event object of the CrossSectionTool#stateChanged event.
18424
+ */
18425
+ type CrossSectionTool$StateChangedEvent = sap.ui.base.Event<
18426
+ CrossSectionTool$StateChangedEventParameters,
18427
+ CrossSectionTool
18428
+ >;
18429
+
18048
18430
  /**
18049
18431
  * Event object of the DuplicateSvgElementTool#nodesCreated event.
18050
18432
  */
@@ -41938,6 +42320,10 @@ declare namespace sap {
41938
42320
  * Indicator to retrieve selection information.
41939
42321
  */
41940
42322
  selection?: boolean | object;
42323
+ /**
42324
+ * Indicator to retrieve cross-section information.
42325
+ */
42326
+ crossSection?: boolean | object;
41941
42327
  }
41942
42328
  ): object;
41943
42329
  /**
@@ -46232,6 +46618,8 @@ declare namespace sap {
46232
46618
 
46233
46619
  CrossSectionSeparator = "VIT-Cross-Section-Separator",
46234
46620
 
46621
+ CrossSectionSettings = "VIT-Cross-Section-Settings",
46622
+
46235
46623
  EcadSeparator = "VIT-ECAD-Separator",
46236
46624
 
46237
46625
  FitToPage = "VIT-Fit-To-Page",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -6935,7 +6935,7 @@ declare namespace sap {
6935
6935
  * Example:
6936
6936
  * ```javascript
6937
6937
  * {
6938
- * id: jQuery.sap.uid(),
6938
+ * id: sap.base.util.uid(),
6939
6939
  * name: "Tree item name",
6940
6940
  * iconUrl: "sap-icon://tree",
6941
6941
  * 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 namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {