@sapui5/ts-types 1.146.0 → 1.147.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 (70) hide show
  1. package/package.json +1 -1
  2. package/types/{sap.ui.commons.d.ts → commons-1.147.0-d.ts} +1 -1
  3. package/types/{sap.ui.core.d.ts → core-1.147.0-d.ts} +175 -16
  4. package/types/{sap.ui.dt.d.ts → dt-1.147.0-d.ts} +1 -1
  5. package/types/index.d.ts +7 -10
  6. package/types/{sap.ui.mdc.d.ts → mdc-1.147.0-d.ts} +107 -20
  7. package/types/{sap.m.d.ts → mobile-1.147.0-d.ts} +376 -127
  8. package/types/sap.apf.d.ts +1 -1
  9. package/types/sap.ca.ui.d.ts +1 -1
  10. package/types/sap.chart.d.ts +4 -7
  11. package/types/sap.collaboration.d.ts +1 -1
  12. package/types/sap.esh.search.ui.d.ts +1 -52
  13. package/types/sap.f.d.ts +144 -1
  14. package/types/sap.fe.ariba.d.ts +1 -1
  15. package/types/sap.fe.base.d.ts +1 -1
  16. package/types/sap.fe.controls.d.ts +1 -1
  17. package/types/sap.fe.core.d.ts +1 -1
  18. package/types/sap.fe.ina.d.ts +1 -1
  19. package/types/sap.fe.macros.d.ts +1666 -1005
  20. package/types/sap.fe.navigation.d.ts +1 -1
  21. package/types/sap.fe.placeholder.d.ts +1 -1
  22. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  23. package/types/sap.fe.templates.d.ts +1 -1
  24. package/types/sap.fe.test.d.ts +49 -1
  25. package/types/sap.fe.tools.d.ts +1 -1
  26. package/types/sap.feedback.ui.d.ts +1 -1
  27. package/types/sap.gantt.d.ts +182 -1
  28. package/types/sap.insights.d.ts +14 -1
  29. package/types/sap.makit.d.ts +1 -1
  30. package/types/sap.me.d.ts +1 -1
  31. package/types/sap.ndc.d.ts +1 -1
  32. package/types/sap.ovp.d.ts +1 -1
  33. package/types/sap.rules.ui.d.ts +1 -1
  34. package/types/sap.sac.df.d.ts +1 -1
  35. package/types/sap.suite.ui.commons.d.ts +122 -1
  36. package/types/sap.suite.ui.generic.template.d.ts +79 -1
  37. package/types/sap.suite.ui.microchart.d.ts +1 -1
  38. package/types/sap.ui.codeeditor.d.ts +82 -46
  39. package/types/sap.ui.comp.d.ts +5 -15
  40. package/types/sap.ui.export.d.ts +1 -1
  41. package/types/sap.ui.fl.d.ts +5 -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 +23 -25
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/sap.ui.richtexteditor.d.ts +1 -1
  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 +2 -2
  51. package/types/sap.ui.table.d.ts +1 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +6 -9
  54. package/types/sap.ui.vbm.d.ts +8 -24
  55. package/types/sap.ui.vk.d.ts +1 -1
  56. package/types/sap.ui.vtm.d.ts +1 -1
  57. package/types/sap.uiext.inbox.d.ts +1 -1
  58. package/types/sap.ushell.d.ts +407 -66
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +146 -1
  61. package/types/sap.viz.d.ts +4 -5
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +1 -1
  64. package/types/sap.zen.crosstab.d.ts +1 -1
  65. package/types/sap.zen.dsh.d.ts +1 -1
  66. package/types/{sap.tnt.d.ts → tnt-1.147.0-d.ts} +1 -4
  67. package/types/{sap.ui.ux3.d.ts → ux3-1.147.0-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.146.0
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.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
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.146.0
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.146.0
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.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -27156,6 +27156,17 @@ declare namespace sap {
27156
27156
  | sap.ui.base.ManagedObject.PropertyBindingInfo
27157
27157
  | `{${string}}`;
27158
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
+
27159
27170
  /**
27160
27171
  * Table of the Gantt Chart
27161
27172
  *
@@ -27349,6 +27360,15 @@ declare namespace sap {
27349
27360
  */
27350
27361
  shapeConnect?: (oEvent: GanttChartWithTable$ShapeConnectEvent) => void;
27351
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
+
27352
27372
  /**
27353
27373
  * This event is fired when the visible horizon is changed.
27354
27374
  *
@@ -28648,6 +28668,22 @@ declare namespace sap {
28648
28668
  cursorDateTime?: object;
28649
28669
  }
28650
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
+
28651
28687
  /**
28652
28688
  * Parameters of the GanttChartWithTable#renderingComplete event.
28653
28689
  */
@@ -38877,6 +38913,59 @@ declare namespace sap {
38877
38913
  */
38878
38914
  oListener?: object
38879
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;
38880
38969
  /**
38881
38970
  * Attaches event handler `fnFunction` to the {@link #event:renderingComplete renderingComplete} event of
38882
38971
  * this `sap.gantt.simple.GanttChartWithTable`.
@@ -39765,6 +39854,26 @@ declare namespace sap {
39765
39854
  */
39766
39855
  oListener?: object
39767
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;
39768
39877
  /**
39769
39878
  * Detaches event handler `fnFunction` from the {@link #event:renderingComplete renderingComplete} event
39770
39879
  * of this `sap.gantt.simple.GanttChartWithTable`.
@@ -40117,6 +40226,20 @@ declare namespace sap {
40117
40226
  */
40118
40227
  mParameters?: sap.gantt.simple.GanttChartWithTable$DragStartEventParameters
40119
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;
40120
40243
  /**
40121
40244
  * Fires event {@link #event:renderingComplete renderingComplete} to attached listeners.
40122
40245
  *
@@ -40622,6 +40745,19 @@ declare namespace sap {
40622
40745
  * @returns Value of property `enableSelectAndDrag`
40623
40746
  */
40624
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;
40625
40761
  /**
40626
40762
  * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}.
40627
40763
  *
@@ -42128,6 +42264,26 @@ declare namespace sap {
42128
42264
  */
42129
42265
  bEnableSelectAndDrag?: boolean
42130
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;
42131
42287
  /**
42132
42288
  * Enable or disable table's variable row height feature
42133
42289
  *
@@ -49422,6 +49578,23 @@ declare namespace sap {
49422
49578
  */
49423
49579
  None = "None",
49424
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
+ }
49425
49598
  /**
49426
49599
  * Size of shapes in the relationship
49427
49600
  *
@@ -49841,6 +50014,14 @@ declare namespace sap {
49841
50014
  GanttChartWithTable
49842
50015
  >;
49843
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
+
49844
50025
  /**
49845
50026
  * Event object of the GanttChartWithTable#renderingComplete event.
49846
50027
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
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
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace rules {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
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.146.0
1
+ // For Library Version: 1.147.0
2
2
 
3
3
  declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
4
4
  /**
@@ -4939,6 +4939,20 @@ declare namespace sap {
4939
4939
  * nodes based on their dependency relationships using topological sorting, cycle detection, and layer-based
4940
4940
  * positioning.
4941
4941
  *
4942
+ * Why a node may be positioned incorrectly after recalculation: After each run, node positions are cached
4943
+ * with a flag indicating whether the user moved them (`bIsUserPositioned`). On the next call, nodes flagged
4944
+ * as user-positioned are preserved as-is, and the algorithm-placed nodes are recalculated. A node appears
4945
+ * in the wrong place if it is unexpectedly treated as user-positioned, most commonly because `clearCache:
4946
+ * true` was passed. It wipes the cache, but leaves the coordinates intact. So every node with non-zero
4947
+ * coordinates is immediately re-classified as user-positioned and freezes, rather than being recalculated.
4948
+ *
4949
+ * Drag and drop recalculation - correct pattern: Call `resetNode(oNode)` for each dragged node, then call
4950
+ * `calculatePositions` without `clearCache` (default `false`). `resetNode` evicts the node from the cache
4951
+ * and zeros its coordinates, so only that node is repositioned; all the other nodes remain stable.
4952
+ *
4953
+ * Sentinel value: Coordinates `(0, 0)` mean "unpositioned". To place a node at the canvas origin, use `(0.1,
4954
+ * 0.1)` or `(1, 1)` instead.
4955
+ *
4942
4956
  * @since 1.144
4943
4957
  */
4944
4958
  interface DependencyLayoutHelper {}
@@ -5438,6 +5452,14 @@ declare namespace sap {
5438
5452
  * @since 1.145
5439
5453
  */
5440
5454
  itemDeleted?: (oEvent: Graph$ItemDeletedEvent) => void;
5455
+
5456
+ /**
5457
+ * Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
5458
+ * used and enableDragAndDrop is `true`.
5459
+ *
5460
+ * @since 1.148
5461
+ */
5462
+ nodeAdded?: (oEvent: sap.ui.base.Event) => void;
5441
5463
  }
5442
5464
 
5443
5465
  /**
@@ -6184,6 +6206,11 @@ declare namespace sap {
6184
6206
  item?: sap.suite.ui.commons.networkgraph.ElementBase;
6185
6207
  }
6186
6208
 
6209
+ /**
6210
+ * Parameters of the Graph#nodeAdded event.
6211
+ */
6212
+ interface Graph$NodeAddedEventParameters {}
6213
+
6187
6214
  /**
6188
6215
  * Parameters of the Graph#nodeDropped event.
6189
6216
  */
@@ -7582,6 +7609,59 @@ declare namespace sap {
7582
7609
  */
7583
7610
  oListener?: object
7584
7611
  ): this;
7612
+ /**
7613
+ * Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
7614
+ *
7615
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
7616
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
7617
+ *
7618
+ * Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
7619
+ * used and enableDragAndDrop is `true`.
7620
+ *
7621
+ * @since 1.148
7622
+ *
7623
+ * @returns Reference to `this` in order to allow method chaining
7624
+ */
7625
+ attachNodeAdded(
7626
+ /**
7627
+ * An application-specific payload object that will be passed to the event handler along with the event
7628
+ * object when firing the event
7629
+ */
7630
+ oData: object,
7631
+ /**
7632
+ * The function to be called when the event occurs
7633
+ */
7634
+ fnFunction: (p1: sap.ui.base.Event) => void,
7635
+ /**
7636
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
7637
+ * itself
7638
+ */
7639
+ oListener?: object
7640
+ ): this;
7641
+ /**
7642
+ * Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
7643
+ *
7644
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
7645
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
7646
+ *
7647
+ * Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
7648
+ * used and enableDragAndDrop is `true`.
7649
+ *
7650
+ * @since 1.148
7651
+ *
7652
+ * @returns Reference to `this` in order to allow method chaining
7653
+ */
7654
+ attachNodeAdded(
7655
+ /**
7656
+ * The function to be called when the event occurs
7657
+ */
7658
+ fnFunction: (p1: sap.ui.base.Event) => void,
7659
+ /**
7660
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
7661
+ * itself
7662
+ */
7663
+ oListener?: object
7664
+ ): this;
7585
7665
  /**
7586
7666
  * Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
7587
7667
  *
@@ -8013,6 +8093,25 @@ declare namespace sap {
8013
8093
  */
8014
8094
  oListener?: object
8015
8095
  ): this;
8096
+ /**
8097
+ * Detaches event handler `fnFunction` from the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
8098
+ *
8099
+ * The passed function and listener object must match the ones used for event registration.
8100
+ *
8101
+ * @since 1.148
8102
+ *
8103
+ * @returns Reference to `this` in order to allow method chaining
8104
+ */
8105
+ detachNodeAdded(
8106
+ /**
8107
+ * The function to be called, when the event occurs
8108
+ */
8109
+ fnFunction: (p1: sap.ui.base.Event) => void,
8110
+ /**
8111
+ * Context object on which the given function had to be called
8112
+ */
8113
+ oListener?: object
8114
+ ): this;
8016
8115
  /**
8017
8116
  * Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
8018
8117
  *
@@ -8186,6 +8285,20 @@ declare namespace sap {
8186
8285
  */
8187
8286
  mParameters?: sap.suite.ui.commons.networkgraph.Graph$ItemDeletedEventParameters
8188
8287
  ): this;
8288
+ /**
8289
+ * Fires event {@link #event:nodeAdded nodeAdded} to attached listeners.
8290
+ *
8291
+ * @since 1.148
8292
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
8293
+ *
8294
+ * @returns Reference to `this` in order to allow method chaining
8295
+ */
8296
+ fireNodeAdded(
8297
+ /**
8298
+ * Parameters to pass along with the event
8299
+ */
8300
+ mParameters?: object
8301
+ ): this;
8189
8302
  /**
8190
8303
  * Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
8191
8304
  *
@@ -13481,6 +13594,14 @@ declare namespace sap {
13481
13594
  Graph
13482
13595
  >;
13483
13596
 
13597
+ /**
13598
+ * Event object of the Graph#nodeAdded event.
13599
+ */
13600
+ type Graph$NodeAddedEvent = sap.ui.base.Event<
13601
+ Graph$NodeAddedEventParameters,
13602
+ Graph
13603
+ >;
13604
+
13484
13605
  /**
13485
13606
  * Event object of the Graph#nodeDropped event.
13486
13607
  */