@sapui5/ts-types-esm 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 (69) hide show
  1. package/package.json +1 -1
  2. package/types/{sap.ui.commons.d.ts → commons-1.147.0-esm-d.ts} +1 -1
  3. package/types/{sap.ui.core.d.ts → core-1.147.0-esm-d.ts} +172 -16
  4. package/types/{sap.ui.dt.d.ts → dt-1.147.0-esm-d.ts} +1 -1
  5. package/types/index.d.ts +7 -10
  6. package/types/{sap.ui.mdc.d.ts → mdc-1.147.0-esm-d.ts} +112 -21
  7. package/types/{sap.m.d.ts → mobile-1.147.0-esm-d.ts} +371 -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 +148 -2
  14. package/types/sap.fe.ariba.d.ts +1 -1
  15. package/types/sap.fe.controls.d.ts +1 -1
  16. package/types/sap.fe.core.d.ts +1 -1
  17. package/types/sap.fe.ina.d.ts +1 -1
  18. package/types/sap.fe.macros.d.ts +3892 -3211
  19. package/types/sap.fe.navigation.d.ts +1 -1
  20. package/types/sap.fe.placeholder.d.ts +1 -1
  21. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  22. package/types/sap.fe.templates.d.ts +1 -1
  23. package/types/sap.fe.test.d.ts +49 -1
  24. package/types/sap.fe.tools.d.ts +1 -1
  25. package/types/sap.feedback.ui.d.ts +1 -1
  26. package/types/sap.gantt.d.ts +184 -1
  27. package/types/sap.insights.d.ts +14 -1
  28. package/types/sap.makit.d.ts +1 -1
  29. package/types/sap.me.d.ts +1 -1
  30. package/types/sap.ndc.d.ts +1 -1
  31. package/types/sap.ovp.d.ts +1 -1
  32. package/types/sap.rules.ui.d.ts +1 -1
  33. package/types/sap.sac.df.d.ts +1 -1
  34. package/types/sap.suite.ui.commons.d.ts +122 -1
  35. package/types/sap.suite.ui.generic.template.d.ts +79 -1
  36. package/types/sap.suite.ui.microchart.d.ts +1 -1
  37. package/types/sap.ui.codeeditor.d.ts +82 -46
  38. package/types/sap.ui.comp.d.ts +5 -15
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +5 -1
  41. package/types/sap.ui.generic.app.d.ts +5 -5
  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 +23 -25
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/sap.ui.richtexteditor.d.ts +1 -1
  47. package/types/sap.ui.rta.d.ts +1 -1
  48. package/types/sap.ui.suite.d.ts +1 -1
  49. package/types/sap.ui.support.d.ts +2 -2
  50. package/types/sap.ui.table.d.ts +1 -1
  51. package/types/sap.ui.testrecorder.d.ts +1 -1
  52. package/types/sap.ui.unified.d.ts +6 -9
  53. package/types/sap.ui.vbm.d.ts +8 -24
  54. package/types/sap.ui.vk.d.ts +1 -1
  55. package/types/sap.ui.vtm.d.ts +1 -1
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +416 -67
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +151 -2
  60. package/types/sap.viz.d.ts +4 -5
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +1 -1
  65. package/types/{sap.tnt.d.ts → tnt-1.147.0-esm-d.ts} +1 -4
  66. package/types/{sap.ui.ux3.d.ts → ux3-1.147.0-esm-d.ts} +1 -1
  67. package/types/sap.ui.webc.common.d.ts +0 -164
  68. package/types/sap.ui.webc.fiori.d.ts +0 -16235
  69. package/types/sap.ui.webc.main.d.ts +0 -51365
@@ -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/fe/navigation/library" {
4
4
  /**
@@ -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 module "sap/fe/plugins/managecache/library" {}
4
4
 
@@ -48,7 +48,7 @@ declare module "sap/fe/templates/ListReport/ListReportControllerOverrides" {
48
48
  }
49
49
  }
50
50
 
51
- // For Library Version: 1.146.0
51
+ // For Library Version: 1.147.0
52
52
 
53
53
  declare module "sap/fe/templates/library" {}
54
54
 
@@ -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/fe/test/library" {}
4
4
 
@@ -938,6 +938,18 @@ declare module "sap/fe/test/api/FilterBarActions" {
938
938
  * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
939
939
  */
940
940
  iExecuteSearch(): object;
941
+ /**
942
+ * Hides a field in the filter bar using the filter adaptation dialog.
943
+ *
944
+ *
945
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
946
+ */
947
+ iHideAdaptationFilterField(
948
+ /**
949
+ * The identifier of the field
950
+ */
951
+ vFieldIdentifier: string | FilterFieldIdentifier
952
+ ): object;
941
953
  /**
942
954
  * Opens the value help of the given field.
943
955
  *
@@ -1013,6 +1025,18 @@ declare module "sap/fe/test/api/FilterBarActions" {
1013
1025
  */
1014
1026
  sVariantName: string
1015
1027
  ): object;
1028
+ /**
1029
+ * Shows a field in the filter bar using the filter adaptation dialog.
1030
+ *
1031
+ *
1032
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
1033
+ */
1034
+ iShowAdaptationFilterField(
1035
+ /**
1036
+ * The identifier of the field
1037
+ */
1038
+ vFieldIdentifier: string | FilterFieldIdentifier
1039
+ ): object;
1016
1040
  }
1017
1041
  }
1018
1042
 
@@ -1079,6 +1103,30 @@ declare module "sap/fe/test/api/FilterBarAssertions" {
1079
1103
  */
1080
1104
  mState?: object
1081
1105
  ): object;
1106
+ /**
1107
+ * Checks a field in the filter adaptation dialog to be hidden.
1108
+ *
1109
+ *
1110
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
1111
+ */
1112
+ iCheckAdaptationFilterFieldIsHidden(
1113
+ /**
1114
+ * The identifier of the filter field, or its label
1115
+ */
1116
+ vFieldIdentifier: string | FilterFieldIdentifier
1117
+ ): object;
1118
+ /**
1119
+ * Checks a field in the filter adaptation dialog to be visible.
1120
+ *
1121
+ *
1122
+ * @returns The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
1123
+ */
1124
+ iCheckAdaptationFilterFieldIsVisible(
1125
+ /**
1126
+ * The identifier of the filter field, or its label
1127
+ */
1128
+ vFieldIdentifier: string | FilterFieldIdentifier
1129
+ ): object;
1082
1130
  /**
1083
1131
  * Check the filter field for the editing status.
1084
1132
  *
@@ -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 module "sap/gantt/library" {
4
4
  import ChartScheme from "sap/gantt/config/ChartScheme";
@@ -1151,6 +1151,23 @@ declare module "sap/gantt/library" {
1151
1151
  */
1152
1152
  Start = "Start",
1153
1153
  }
1154
+ /**
1155
+ * Relationship type of predecessor.
1156
+ *
1157
+ * This enum is part of the 'sap/gantt/library' module export and must be accessed by the property 'simple.RelationshipPredecessorType'.
1158
+ *
1159
+ * @since 1.147.0
1160
+ */
1161
+ enum RelationshipPredecessorType {
1162
+ /**
1163
+ * Predecessor type is Finish.
1164
+ */
1165
+ Finish = "Finish",
1166
+ /**
1167
+ * Predecessor type is Start.
1168
+ */
1169
+ Start = "Start",
1170
+ }
1154
1171
  /**
1155
1172
  * Size of shapes in the relationship
1156
1173
  *
@@ -43497,6 +43514,59 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
43497
43514
  */
43498
43515
  oListener?: object
43499
43516
  ): this;
43517
+ /**
43518
+ * Attaches event handler `fnFunction` to the {@link #event:futureShapeConnect futureShapeConnect} event
43519
+ * of this `sap.gantt.simple.GanttChartWithTable`.
43520
+ *
43521
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
43522
+ * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself.
43523
+ *
43524
+ * This event is triggered when a relationship is dropped onto an empty area.
43525
+ *
43526
+ * @since 1.147.0
43527
+ *
43528
+ * @returns Reference to `this` in order to allow method chaining
43529
+ */
43530
+ attachFutureShapeConnect(
43531
+ /**
43532
+ * An application-specific payload object that will be passed to the event handler along with the event
43533
+ * object when firing the event
43534
+ */
43535
+ oData: object,
43536
+ /**
43537
+ * The function to be called when the event occurs
43538
+ */
43539
+ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void,
43540
+ /**
43541
+ * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable`
43542
+ * itself
43543
+ */
43544
+ oListener?: object
43545
+ ): this;
43546
+ /**
43547
+ * Attaches event handler `fnFunction` to the {@link #event:futureShapeConnect futureShapeConnect} event
43548
+ * of this `sap.gantt.simple.GanttChartWithTable`.
43549
+ *
43550
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
43551
+ * otherwise it will be bound to this `sap.gantt.simple.GanttChartWithTable` itself.
43552
+ *
43553
+ * This event is triggered when a relationship is dropped onto an empty area.
43554
+ *
43555
+ * @since 1.147.0
43556
+ *
43557
+ * @returns Reference to `this` in order to allow method chaining
43558
+ */
43559
+ attachFutureShapeConnect(
43560
+ /**
43561
+ * The function to be called when the event occurs
43562
+ */
43563
+ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void,
43564
+ /**
43565
+ * Context object to call the event handler with. Defaults to this `sap.gantt.simple.GanttChartWithTable`
43566
+ * itself
43567
+ */
43568
+ oListener?: object
43569
+ ): this;
43500
43570
  /**
43501
43571
  * Attaches event handler `fnFunction` to the {@link #event:renderingComplete renderingComplete} event of
43502
43572
  * this `sap.gantt.simple.GanttChartWithTable`.
@@ -44373,6 +44443,26 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
44373
44443
  */
44374
44444
  oListener?: object
44375
44445
  ): this;
44446
+ /**
44447
+ * Detaches event handler `fnFunction` from the {@link #event:futureShapeConnect futureShapeConnect} event
44448
+ * of this `sap.gantt.simple.GanttChartWithTable`.
44449
+ *
44450
+ * The passed function and listener object must match the ones used for event registration.
44451
+ *
44452
+ * @since 1.147.0
44453
+ *
44454
+ * @returns Reference to `this` in order to allow method chaining
44455
+ */
44456
+ detachFutureShapeConnect(
44457
+ /**
44458
+ * The function to be called, when the event occurs
44459
+ */
44460
+ fnFunction: (p1: GanttChartWithTable$FutureShapeConnectEvent) => void,
44461
+ /**
44462
+ * Context object on which the given function had to be called
44463
+ */
44464
+ oListener?: object
44465
+ ): this;
44376
44466
  /**
44377
44467
  * Detaches event handler `fnFunction` from the {@link #event:renderingComplete renderingComplete} event
44378
44468
  * of this `sap.gantt.simple.GanttChartWithTable`.
@@ -44719,6 +44809,20 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
44719
44809
  */
44720
44810
  mParameters?: GanttChartWithTable$DragStartEventParameters
44721
44811
  ): this;
44812
+ /**
44813
+ * Fires event {@link #event:futureShapeConnect futureShapeConnect} to attached listeners.
44814
+ *
44815
+ * @since 1.147.0
44816
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
44817
+ *
44818
+ * @returns Reference to `this` in order to allow method chaining
44819
+ */
44820
+ fireFutureShapeConnect(
44821
+ /**
44822
+ * Parameters to pass along with the event
44823
+ */
44824
+ mParameters?: GanttChartWithTable$FutureShapeConnectEventParameters
44825
+ ): this;
44722
44826
  /**
44723
44827
  * Fires event {@link #event:renderingComplete renderingComplete} to attached listeners.
44724
44828
  *
@@ -45224,6 +45328,19 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
45224
45328
  * @returns Value of property `enableSelectAndDrag`
45225
45329
  */
45226
45330
  getEnableSelectAndDrag(): boolean;
45331
+ /**
45332
+ * Gets current value of property {@link #getEnableShapeDropFromOtherCharts enableShapeDropFromOtherCharts}.
45333
+ *
45334
+ * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop
45335
+ * event is not triggered when a shape is dropped from another chart.
45336
+ *
45337
+ * Default value is `true`.
45338
+ *
45339
+ * @since 1.147
45340
+ *
45341
+ * @returns Value of property `enableShapeDropFromOtherCharts`
45342
+ */
45343
+ getEnableShapeDropFromOtherCharts(): boolean;
45227
45344
  /**
45228
45345
  * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}.
45229
45346
  *
@@ -46729,6 +46846,26 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
46729
46846
  */
46730
46847
  bEnableSelectAndDrag?: boolean
46731
46848
  ): this;
46849
+ /**
46850
+ * Sets a new value for property {@link #getEnableShapeDropFromOtherCharts enableShapeDropFromOtherCharts}.
46851
+ *
46852
+ * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop
46853
+ * event is not triggered when a shape is dropped from another chart.
46854
+ *
46855
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
46856
+ *
46857
+ * Default value is `true`.
46858
+ *
46859
+ * @since 1.147
46860
+ *
46861
+ * @returns Reference to `this` in order to allow method chaining
46862
+ */
46863
+ setEnableShapeDropFromOtherCharts(
46864
+ /**
46865
+ * New value for property `enableShapeDropFromOtherCharts`
46866
+ */
46867
+ bEnableShapeDropFromOtherCharts?: boolean
46868
+ ): this;
46732
46869
  /**
46733
46870
  * Enable or disable table's variable row height feature
46734
46871
  *
@@ -48091,6 +48228,17 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
48091
48228
  */
48092
48229
  useShapeFillForGhost?: boolean | PropertyBindingInfo | `{${string}}`;
48093
48230
 
48231
+ /**
48232
+ * Flag to enable dropping of shapes from other gantt charts onto this chart. When disabled, the shapeDrop
48233
+ * event is not triggered when a shape is dropped from another chart.
48234
+ *
48235
+ * @since 1.147
48236
+ */
48237
+ enableShapeDropFromOtherCharts?:
48238
+ | boolean
48239
+ | PropertyBindingInfo
48240
+ | `{${string}}`;
48241
+
48094
48242
  /**
48095
48243
  * Table of the Gantt Chart
48096
48244
  *
@@ -48284,6 +48432,15 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
48284
48432
  */
48285
48433
  shapeConnect?: (oEvent: GanttChartWithTable$ShapeConnectEvent) => void;
48286
48434
 
48435
+ /**
48436
+ * This event is triggered when a relationship is dropped onto an empty area.
48437
+ *
48438
+ * @since 1.147.0
48439
+ */
48440
+ futureShapeConnect?: (
48441
+ oEvent: GanttChartWithTable$FutureShapeConnectEvent
48442
+ ) => void;
48443
+
48287
48444
  /**
48288
48445
  * This event is fired when the visible horizon is changed.
48289
48446
  *
@@ -48359,6 +48516,32 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
48359
48516
  GanttChartWithTable
48360
48517
  >;
48361
48518
 
48519
+ /**
48520
+ * Parameters of the GanttChartWithTable#futureShapeConnect event.
48521
+ */
48522
+ export interface GanttChartWithTable$FutureShapeConnectEventParameters {
48523
+ /**
48524
+ * The source shape's shapeUid
48525
+ */
48526
+ fromShapeUid?: string;
48527
+
48528
+ /**
48529
+ * The value comes from `sap.gantt.simple.RelationshipPredecessorType `, which represents relationship type
48530
+ * of source shape
48531
+ */
48532
+ fromShapeType?:
48533
+ | simple.RelationshipPredecessorType
48534
+ | keyof typeof simple.RelationshipPredecessorType;
48535
+ }
48536
+
48537
+ /**
48538
+ * Event object of the GanttChartWithTable#futureShapeConnect event.
48539
+ */
48540
+ export type GanttChartWithTable$FutureShapeConnectEvent = Event<
48541
+ GanttChartWithTable$FutureShapeConnectEventParameters,
48542
+ GanttChartWithTable
48543
+ >;
48544
+
48362
48545
  /**
48363
48546
  * Parameters of the GanttChartWithTable#renderingComplete event.
48364
48547
  */
@@ -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/insights/library" {}
4
4
 
@@ -246,6 +246,19 @@ declare module "sap/insights/CardsChannel" {
246
246
  * @returns .
247
247
  */
248
248
  init(): Promise<void>;
249
+ /**
250
+ * Check if a specific client is connected.
251
+ *
252
+ * @since 1.147
253
+ *
254
+ * @returns true if clientId is connected
255
+ */
256
+ isClientConnected(
257
+ /**
258
+ * The clientId ID to check
259
+ */
260
+ clientId: string
261
+ ): boolean;
249
262
  /**
250
263
  * Checks if the broker is enabled.
251
264
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.146.0
1
+ // For Library Version: 1.147.1
2
2
 
3
3
  declare module "sap/makit/library" {
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 module "sap/me/library" {
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 module "sap/ndc/library" {}
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 module "sap/ovp/library" {}
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 module "sap/rules/ui/library" {
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
  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
  import BaseObject from "sap/ui/base/Object";
@@ -21132,6 +21132,59 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21132
21132
  */
21133
21133
  oListener?: object
21134
21134
  ): this;
21135
+ /**
21136
+ * Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21137
+ *
21138
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
21139
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
21140
+ *
21141
+ * Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
21142
+ * used and enableDragAndDrop is `true`.
21143
+ *
21144
+ * @since 1.148
21145
+ *
21146
+ * @returns Reference to `this` in order to allow method chaining
21147
+ */
21148
+ attachNodeAdded(
21149
+ /**
21150
+ * An application-specific payload object that will be passed to the event handler along with the event
21151
+ * object when firing the event
21152
+ */
21153
+ oData: object,
21154
+ /**
21155
+ * The function to be called when the event occurs
21156
+ */
21157
+ fnFunction: (p1: Event) => void,
21158
+ /**
21159
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
21160
+ * itself
21161
+ */
21162
+ oListener?: object
21163
+ ): this;
21164
+ /**
21165
+ * Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21166
+ *
21167
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
21168
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
21169
+ *
21170
+ * Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
21171
+ * used and enableDragAndDrop is `true`.
21172
+ *
21173
+ * @since 1.148
21174
+ *
21175
+ * @returns Reference to `this` in order to allow method chaining
21176
+ */
21177
+ attachNodeAdded(
21178
+ /**
21179
+ * The function to be called when the event occurs
21180
+ */
21181
+ fnFunction: (p1: Event) => void,
21182
+ /**
21183
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
21184
+ * itself
21185
+ */
21186
+ oListener?: object
21187
+ ): this;
21135
21188
  /**
21136
21189
  * Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21137
21190
  *
@@ -21563,6 +21616,25 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21563
21616
  */
21564
21617
  oListener?: object
21565
21618
  ): this;
21619
+ /**
21620
+ * Detaches event handler `fnFunction` from the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21621
+ *
21622
+ * The passed function and listener object must match the ones used for event registration.
21623
+ *
21624
+ * @since 1.148
21625
+ *
21626
+ * @returns Reference to `this` in order to allow method chaining
21627
+ */
21628
+ detachNodeAdded(
21629
+ /**
21630
+ * The function to be called, when the event occurs
21631
+ */
21632
+ fnFunction: (p1: Event) => void,
21633
+ /**
21634
+ * Context object on which the given function had to be called
21635
+ */
21636
+ oListener?: object
21637
+ ): this;
21566
21638
  /**
21567
21639
  * Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21568
21640
  *
@@ -21736,6 +21808,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21736
21808
  */
21737
21809
  mParameters?: Graph$ItemDeletedEventParameters
21738
21810
  ): this;
21811
+ /**
21812
+ * Fires event {@link #event:nodeAdded nodeAdded} to attached listeners.
21813
+ *
21814
+ * @since 1.148
21815
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
21816
+ *
21817
+ * @returns Reference to `this` in order to allow method chaining
21818
+ */
21819
+ fireNodeAdded(
21820
+ /**
21821
+ * Parameters to pass along with the event
21822
+ */
21823
+ mParameters?: object
21824
+ ): this;
21739
21825
  /**
21740
21826
  * Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
21741
21827
  *
@@ -23043,6 +23129,14 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
23043
23129
  * @since 1.145
23044
23130
  */
23045
23131
  itemDeleted?: (oEvent: Graph$ItemDeletedEvent) => void;
23132
+
23133
+ /**
23134
+ * Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
23135
+ * used and enableDragAndDrop is `true`.
23136
+ *
23137
+ * @since 1.148
23138
+ */
23139
+ nodeAdded?: (oEvent: Event) => void;
23046
23140
  }
23047
23141
 
23048
23142
  /**
@@ -23160,6 +23254,19 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
23160
23254
  Graph
23161
23255
  >;
23162
23256
 
23257
+ /**
23258
+ * Parameters of the Graph#nodeAdded event.
23259
+ */
23260
+ export interface Graph$NodeAddedEventParameters {}
23261
+
23262
+ /**
23263
+ * Event object of the Graph#nodeAdded event.
23264
+ */
23265
+ export type Graph$NodeAddedEvent = Event<
23266
+ Graph$NodeAddedEventParameters,
23267
+ Graph
23268
+ >;
23269
+
23163
23270
  /**
23164
23271
  * Parameters of the Graph#nodeDropped event.
23165
23272
  */
@@ -29186,6 +29293,20 @@ declare module "sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper" {
29186
29293
  * nodes based on their dependency relationships using topological sorting, cycle detection, and layer-based
29187
29294
  * positioning.
29188
29295
  *
29296
+ * Why a node may be positioned incorrectly after recalculation: After each run, node positions are cached
29297
+ * with a flag indicating whether the user moved them (`bIsUserPositioned`). On the next call, nodes flagged
29298
+ * as user-positioned are preserved as-is, and the algorithm-placed nodes are recalculated. A node appears
29299
+ * in the wrong place if it is unexpectedly treated as user-positioned, most commonly because `clearCache:
29300
+ * true` was passed. It wipes the cache, but leaves the coordinates intact. So every node with non-zero
29301
+ * coordinates is immediately re-classified as user-positioned and freezes, rather than being recalculated.
29302
+ *
29303
+ * Drag and drop recalculation - correct pattern: Call `resetNode(oNode)` for each dragged node, then call
29304
+ * `calculatePositions` without `clearCache` (default `false`). `resetNode` evicts the node from the cache
29305
+ * and zeros its coordinates, so only that node is repositioned; all the other nodes remain stable.
29306
+ *
29307
+ * Sentinel value: Coordinates `(0, 0)` mean "unpositioned". To place a node at the canvas origin, use `(0.1,
29308
+ * 0.1)` or `(1, 1)` instead.
29309
+ *
29189
29310
  * @since 1.144
29190
29311
  */
29191
29312
  interface DependencyLayoutHelper {}