@sapui5/ts-types 1.145.1 → 1.147.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 (70) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +3 -6
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +4 -7
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +59 -67
  8. package/types/sap.f.d.ts +214 -528
  9. package/types/sap.fe.ariba.d.ts +1 -1
  10. package/types/sap.fe.base.d.ts +1 -1
  11. package/types/sap.fe.controls.d.ts +1 -1
  12. package/types/sap.fe.core.d.ts +1 -1
  13. package/types/sap.fe.ina.d.ts +1 -1
  14. package/types/sap.fe.macros.d.ts +1725 -1041
  15. package/types/sap.fe.navigation.d.ts +1 -1
  16. package/types/sap.fe.placeholder.d.ts +1 -1
  17. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  18. package/types/sap.fe.templates.d.ts +1 -1
  19. package/types/sap.fe.test.d.ts +49 -1
  20. package/types/sap.fe.tools.d.ts +1 -1
  21. package/types/sap.feedback.ui.d.ts +1 -1
  22. package/types/sap.gantt.d.ts +229 -1
  23. package/types/sap.insights.d.ts +14 -1
  24. package/types/{mobile-1.145.0-d.ts → sap.m.d.ts} +607 -48
  25. package/types/sap.makit.d.ts +1 -1
  26. package/types/sap.me.d.ts +1 -1
  27. package/types/sap.ndc.d.ts +1 -1
  28. package/types/sap.ovp.d.ts +1 -1
  29. package/types/sap.rules.ui.d.ts +1 -1
  30. package/types/sap.sac.df.d.ts +1 -1
  31. package/types/sap.suite.ui.commons.d.ts +294 -10
  32. package/types/sap.suite.ui.generic.template.d.ts +79 -1
  33. package/types/sap.suite.ui.microchart.d.ts +1 -1
  34. package/types/sap.tnt.d.ts +9 -19
  35. package/types/sap.ui.codeeditor.d.ts +82 -46
  36. package/types/sap.ui.commons.d.ts +1 -1
  37. package/types/sap.ui.comp.d.ts +5 -15
  38. package/types/{core-1.145.0-d.ts → sap.ui.core.d.ts} +1209 -376
  39. package/types/sap.ui.dt.d.ts +1 -1
  40. package/types/sap.ui.export.d.ts +1 -1
  41. package/types/sap.ui.fl.d.ts +9 -1
  42. package/types/sap.ui.generic.app.d.ts +5 -5
  43. package/types/sap.ui.generic.template.d.ts +1 -1
  44. package/types/sap.ui.geomap.d.ts +1 -1
  45. package/types/sap.ui.integration.d.ts +87 -289
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/{mdc-1.145.0-d.ts → sap.ui.mdc.d.ts} +108 -21
  48. package/types/sap.ui.richtexteditor.d.ts +6 -6
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +2 -2
  52. package/types/sap.ui.table.d.ts +1 -1
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +41 -11
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +8 -24
  57. package/types/sap.ui.vk.d.ts +216 -2
  58. package/types/sap.ui.vtm.d.ts +2 -2
  59. package/types/sap.uiext.inbox.d.ts +1 -1
  60. package/types/sap.ushell.d.ts +590 -196
  61. package/types/sap.ushell_abap.d.ts +1 -1
  62. package/types/sap.uxap.d.ts +146 -1
  63. package/types/sap.viz.d.ts +4 -5
  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
  68. package/types/sap.ui.webc.common.d.ts +0 -173
  69. package/types/sap.ui.webc.fiori.d.ts +0 -16012
  70. package/types/sap.ui.webc.main.d.ts +0 -51158
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -647,6 +647,18 @@ declare namespace sap {
647
647
  * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
648
648
  */
649
649
  iExecuteSearch(): object;
650
+ /**
651
+ * Hides a field in the filter bar using the filter adaptation dialog.
652
+ *
653
+ *
654
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
655
+ */
656
+ iHideAdaptationFilterField(
657
+ /**
658
+ * The identifier of the field
659
+ */
660
+ vFieldIdentifier: string | sap.fe.test.api.FilterFieldIdentifier
661
+ ): object;
650
662
  /**
651
663
  * Opens the value help of the given field.
652
664
  *
@@ -722,6 +734,18 @@ declare namespace sap {
722
734
  */
723
735
  sVariantName: string
724
736
  ): object;
737
+ /**
738
+ * Shows a field in the filter bar using the filter adaptation dialog.
739
+ *
740
+ *
741
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
742
+ */
743
+ iShowAdaptationFilterField(
744
+ /**
745
+ * The identifier of the field
746
+ */
747
+ vFieldIdentifier: string | sap.fe.test.api.FilterFieldIdentifier
748
+ ): object;
725
749
  }
726
750
 
727
751
  class FilterBarAPI {
@@ -768,6 +792,30 @@ declare namespace sap {
768
792
  */
769
793
  mState?: object
770
794
  ): object;
795
+ /**
796
+ * Checks a field in the filter adaptation dialog to be hidden.
797
+ *
798
+ *
799
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
800
+ */
801
+ iCheckAdaptationFilterFieldIsHidden(
802
+ /**
803
+ * The identifier of the filter field, or its label
804
+ */
805
+ vFieldIdentifier: string | sap.fe.test.api.FilterFieldIdentifier
806
+ ): object;
807
+ /**
808
+ * Checks a field in the filter adaptation dialog to be visible.
809
+ *
810
+ *
811
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
812
+ */
813
+ iCheckAdaptationFilterFieldIsVisible(
814
+ /**
815
+ * The identifier of the filter field, or its label
816
+ */
817
+ vFieldIdentifier: string | sap.fe.test.api.FilterFieldIdentifier
818
+ ): object;
771
819
  /**
772
820
  * Check the filter field for the editing status.
773
821
  *
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.145.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -27144,6 +27144,29 @@ declare namespace sap {
27144
27144
  | sap.ui.base.ManagedObject.PropertyBindingInfo
27145
27145
  | `{${string}}`;
27146
27146
 
27147
+ /**
27148
+ * Flag to use the shape fill for the ghost shape when dragging. When the flag is enabled, the ghost shape
27149
+ * has the same fill color as the original shape. The property takes effect only when `shapeStyles` does
27150
+ * not have a fill explicitly set.
27151
+ *
27152
+ * @since 1.146
27153
+ */
27154
+ useShapeFillForGhost?:
27155
+ | boolean
27156
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
27157
+ | `{${string}}`;
27158
+
27159
+ /**
27160
+ * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop
27161
+ * event is not triggered when a shape is dropped from another chart.
27162
+ *
27163
+ * @since 1.147
27164
+ */
27165
+ enableShapeDropFromOtherCharts?:
27166
+ | boolean
27167
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
27168
+ | `{${string}}`;
27169
+
27147
27170
  /**
27148
27171
  * Table of the Gantt Chart
27149
27172
  *
@@ -27337,6 +27360,15 @@ declare namespace sap {
27337
27360
  */
27338
27361
  shapeConnect?: (oEvent: GanttChartWithTable$ShapeConnectEvent) => void;
27339
27362
 
27363
+ /**
27364
+ * This event is triggered when a relationship is dropped onto an empty area.
27365
+ *
27366
+ * @since 1.147.0
27367
+ */
27368
+ futureShapeConnect?: (
27369
+ oEvent: GanttChartWithTable$FutureShapeConnectEvent
27370
+ ) => void;
27371
+
27340
27372
  /**
27341
27373
  * This event is fired when the visible horizon is changed.
27342
27374
  *
@@ -28636,6 +28668,22 @@ declare namespace sap {
28636
28668
  cursorDateTime?: object;
28637
28669
  }
28638
28670
 
28671
+ /**
28672
+ * Parameters of the GanttChartWithTable#futureShapeConnect event.
28673
+ */
28674
+ interface GanttChartWithTable$FutureShapeConnectEventParameters {
28675
+ /**
28676
+ * The source shape's shapeUid
28677
+ */
28678
+ fromShapeUid?: string;
28679
+
28680
+ /**
28681
+ * The value comes from `sap.gantt.simple.RelationshipPredecessorType `, which represents relationship type
28682
+ * of source shape
28683
+ */
28684
+ fromShapeType?: sap.gantt.simple.RelationshipPredecessorType;
28685
+ }
28686
+
28639
28687
  /**
28640
28688
  * Parameters of the GanttChartWithTable#renderingComplete event.
28641
28689
  */
@@ -38865,6 +38913,59 @@ declare namespace sap {
38865
38913
  */
38866
38914
  oListener?: object
38867
38915
  ): this;
38916
+ /**
38917
+ * Attaches event handler `fnFunction` to the {@link #event:futureShapeConnect futureShapeConnect} event
38918
+ * of this `sap.gantt.simple.GanttChartWithTable`.
38919
+ *
38920
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
38921
+ * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself.
38922
+ *
38923
+ * This event is triggered when a relationship is dropped onto an empty area.
38924
+ *
38925
+ * @since 1.147.0
38926
+ *
38927
+ * @returns Reference to `this` in order to allow method chaining
38928
+ */
38929
+ attachFutureShapeConnect(
38930
+ /**
38931
+ * An application-specific payload object that will be passed to the event handler along with the event
38932
+ * object when firing the event
38933
+ */
38934
+ oData: object,
38935
+ /**
38936
+ * The function to be called when the event occurs
38937
+ */
38938
+ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void,
38939
+ /**
38940
+ * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable`
38941
+ * itself
38942
+ */
38943
+ oListener?: object
38944
+ ): this;
38945
+ /**
38946
+ * Attaches event handler `fnFunction` to the {@link #event:futureShapeConnect futureShapeConnect} event
38947
+ * of this `sap.gantt.simple.GanttChartWithTable`.
38948
+ *
38949
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
38950
+ * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself.
38951
+ *
38952
+ * This event is triggered when a relationship is dropped onto an empty area.
38953
+ *
38954
+ * @since 1.147.0
38955
+ *
38956
+ * @returns Reference to `this` in order to allow method chaining
38957
+ */
38958
+ attachFutureShapeConnect(
38959
+ /**
38960
+ * The function to be called when the event occurs
38961
+ */
38962
+ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void,
38963
+ /**
38964
+ * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable`
38965
+ * itself
38966
+ */
38967
+ oListener?: object
38968
+ ): this;
38868
38969
  /**
38869
38970
  * Attaches event handler `fnFunction` to the {@link #event:renderingComplete renderingComplete} event of
38870
38971
  * this `sap.gantt.simple.GanttChartWithTable`.
@@ -39753,6 +39854,26 @@ declare namespace sap {
39753
39854
  */
39754
39855
  oListener?: object
39755
39856
  ): this;
39857
+ /**
39858
+ * Detaches event handler `fnFunction` from the {@link #event:futureShapeConnect futureShapeConnect} event
39859
+ * of this `sap.gantt.simple.GanttChartWithTable`.
39860
+ *
39861
+ * The passed function and listener object must match the ones used for event registration.
39862
+ *
39863
+ * @since 1.147.0
39864
+ *
39865
+ * @returns Reference to `this` in order to allow method chaining
39866
+ */
39867
+ detachFutureShapeConnect(
39868
+ /**
39869
+ * The function to be called, when the event occurs
39870
+ */
39871
+ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void,
39872
+ /**
39873
+ * Context object on which the given function had to be called
39874
+ */
39875
+ oListener?: object
39876
+ ): this;
39756
39877
  /**
39757
39878
  * Detaches event handler `fnFunction` from the {@link #event:renderingComplete renderingComplete} event
39758
39879
  * of this `sap.gantt.simple.GanttChartWithTable`.
@@ -40105,6 +40226,20 @@ declare namespace sap {
40105
40226
  */
40106
40227
  mParameters?: sap.gantt.simple.GanttChartWithTable$DragStartEventParameters
40107
40228
  ): this;
40229
+ /**
40230
+ * Fires event {@link #event:futureShapeConnect futureShapeConnect} to attached listeners.
40231
+ *
40232
+ * @since 1.147.0
40233
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
40234
+ *
40235
+ * @returns Reference to `this` in order to allow method chaining
40236
+ */
40237
+ fireFutureShapeConnect(
40238
+ /**
40239
+ * Parameters to pass along with the event
40240
+ */
40241
+ mParameters?: sap.gantt.simple.GanttChartWithTable$FutureShapeConnectEventParameters
40242
+ ): this;
40108
40243
  /**
40109
40244
  * Fires event {@link #event:renderingComplete renderingComplete} to attached listeners.
40110
40245
  *
@@ -40610,6 +40745,19 @@ declare namespace sap {
40610
40745
  * @returns Value of property `enableSelectAndDrag`
40611
40746
  */
40612
40747
  getEnableSelectAndDrag(): boolean;
40748
+ /**
40749
+ * Gets current value of property {@link #getEnableShapeDropFromOtherCharts enableShapeDropFromOtherCharts}.
40750
+ *
40751
+ * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop
40752
+ * event is not triggered when a shape is dropped from another chart.
40753
+ *
40754
+ * Default value is `true`.
40755
+ *
40756
+ * @since 1.147
40757
+ *
40758
+ * @returns Value of property `enableShapeDropFromOtherCharts`
40759
+ */
40760
+ getEnableShapeDropFromOtherCharts(): boolean;
40613
40761
  /**
40614
40762
  * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}.
40615
40763
  *
@@ -41185,6 +41333,20 @@ declare namespace sap {
41185
41333
  * @returns Value of property `useParentShapeOnExpand`
41186
41334
  */
41187
41335
  getUseParentShapeOnExpand(): boolean;
41336
+ /**
41337
+ * Gets current value of property {@link #getUseShapeFillForGhost useShapeFillForGhost}.
41338
+ *
41339
+ * Flag to use the shape fill for the ghost shape when dragging. When the flag is enabled, the ghost shape
41340
+ * has the same fill color as the original shape. The property takes effect only when `shapeStyles` does
41341
+ * not have a fill explicitly set.
41342
+ *
41343
+ * Default value is `false`.
41344
+ *
41345
+ * @since 1.146
41346
+ *
41347
+ * @returns Value of property `useShapeFillForGhost`
41348
+ */
41349
+ getUseShapeFillForGhost(): boolean;
41188
41350
  /**
41189
41351
  * Gets current value of property {@link #getWidth width}.
41190
41352
  *
@@ -42102,6 +42264,26 @@ declare namespace sap {
42102
42264
  */
42103
42265
  bEnableSelectAndDrag?: boolean
42104
42266
  ): this;
42267
+ /**
42268
+ * Sets a new value for property {@link #getEnableShapeDropFromOtherCharts enableShapeDropFromOtherCharts}.
42269
+ *
42270
+ * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop
42271
+ * event is not triggered when a shape is dropped from another chart.
42272
+ *
42273
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
42274
+ *
42275
+ * Default value is `true`.
42276
+ *
42277
+ * @since 1.147
42278
+ *
42279
+ * @returns Reference to `this` in order to allow method chaining
42280
+ */
42281
+ setEnableShapeDropFromOtherCharts(
42282
+ /**
42283
+ * New value for property `enableShapeDropFromOtherCharts`
42284
+ */
42285
+ bEnableShapeDropFromOtherCharts?: boolean
42286
+ ): this;
42105
42287
  /**
42106
42288
  * Enable or disable table's variable row height feature
42107
42289
  *
@@ -42809,6 +42991,27 @@ declare namespace sap {
42809
42991
  */
42810
42992
  bUseParentShapeOnExpand?: boolean
42811
42993
  ): this;
42994
+ /**
42995
+ * Sets a new value for property {@link #getUseShapeFillForGhost useShapeFillForGhost}.
42996
+ *
42997
+ * Flag to use the shape fill for the ghost shape when dragging. When the flag is enabled, the ghost shape
42998
+ * has the same fill color as the original shape. The property takes effect only when `shapeStyles` does
42999
+ * not have a fill explicitly set.
43000
+ *
43001
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
43002
+ *
43003
+ * Default value is `false`.
43004
+ *
43005
+ * @since 1.146
43006
+ *
43007
+ * @returns Reference to `this` in order to allow method chaining
43008
+ */
43009
+ setUseShapeFillForGhost(
43010
+ /**
43011
+ * New value for property `useShapeFillForGhost`
43012
+ */
43013
+ bUseShapeFillForGhost?: boolean
43014
+ ): this;
42812
43015
  /**
42813
43016
  * Sets a new value for property {@link #getWidth width}.
42814
43017
  *
@@ -49375,6 +49578,23 @@ declare namespace sap {
49375
49578
  */
49376
49579
  None = "None",
49377
49580
  }
49581
+ /**
49582
+ * Relationship type of predecessor.
49583
+ *
49584
+ * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.RelationshipPredecessorType'.
49585
+ *
49586
+ * @since 1.147.0
49587
+ */
49588
+ enum RelationshipPredecessorType {
49589
+ /**
49590
+ * Predecessor type is Finish.
49591
+ */
49592
+ Finish = "Finish",
49593
+ /**
49594
+ * Predecessor type is Start.
49595
+ */
49596
+ Start = "Start",
49597
+ }
49378
49598
  /**
49379
49599
  * Size of shapes in the relationship
49380
49600
  *
@@ -49794,6 +50014,14 @@ declare namespace sap {
49794
50014
  GanttChartWithTable
49795
50015
  >;
49796
50016
 
50017
+ /**
50018
+ * Event object of the GanttChartWithTable#futureShapeConnect event.
50019
+ */
50020
+ type GanttChartWithTable$FutureShapeConnectEvent = sap.ui.base.Event<
50021
+ GanttChartWithTable$FutureShapeConnectEventParameters,
50022
+ GanttChartWithTable
50023
+ >;
50024
+
49797
50025
  /**
49798
50026
  * Event object of the GanttChartWithTable#renderingComplete event.
49799
50027
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.145.1
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -460,6 +460,19 @@ declare namespace sap {
460
460
  * @returns .
461
461
  */
462
462
  init(): Promise<void>;
463
+ /**
464
+ * Check if a specific client is connected.
465
+ *
466
+ * @since 1.147
467
+ *
468
+ * @returns true if clientId is connected
469
+ */
470
+ isClientConnected(
471
+ /**
472
+ * The clientId ID to check
473
+ */
474
+ clientId: string
475
+ ): boolean;
463
476
  /**
464
477
  * Checks if the broker is enabled.
465
478
  *