@sapui5/ts-types-esm 1.143.1 → 1.144.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 +7 -7
  3. package/types/sap.apf.d.ts +3 -1
  4. package/types/sap.ca.ui.d.ts +8 -1
  5. package/types/sap.chart.d.ts +4 -4
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +846 -285
  8. package/types/sap.f.d.ts +4 -4
  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 +33 -6
  13. package/types/sap.fe.ina.d.ts +1 -1
  14. package/types/sap.fe.macros.d.ts +3591 -3495
  15. package/types/sap.fe.navigation.d.ts +7 -7
  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 +18 -12
  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 +282 -10
  23. package/types/sap.insights.d.ts +1 -47
  24. package/types/{mobile-1.143.0-esm-d.ts → sap.m.d.ts} +298 -68
  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 +49 -21
  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 +732 -6
  32. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  33. package/types/sap.suite.ui.microchart.d.ts +1 -1
  34. package/types/{tnt-1.143.0-esm-d.ts → sap.tnt.d.ts} +5 -1
  35. package/types/sap.ui.codeeditor.d.ts +1 -1
  36. package/types/{commons-1.143.0-esm-d.ts → sap.ui.commons.d.ts} +3469 -306
  37. package/types/sap.ui.comp.d.ts +3 -3
  38. package/types/{core-1.143.0-esm-d.ts → sap.ui.core.d.ts} +621 -166
  39. package/types/{dt-1.143.0-esm-d.ts → sap.ui.dt.d.ts} +1 -1
  40. package/types/sap.ui.export.d.ts +4 -4
  41. package/types/sap.ui.fl.d.ts +5 -5
  42. package/types/sap.ui.generic.app.d.ts +1 -1
  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 +1 -1
  46. package/types/sap.ui.layout.d.ts +18 -18
  47. package/types/{mdc-1.143.0-esm-d.ts → sap.ui.mdc.d.ts} +105 -67
  48. package/types/sap.ui.richtexteditor.d.ts +3 -3
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +3 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  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 +126 -4
  55. package/types/{ux3-1.143.0-esm-d.ts → sap.ui.ux3.d.ts} +1 -1
  56. package/types/sap.ui.vbm.d.ts +1 -1
  57. package/types/sap.ui.vk.d.ts +139 -4
  58. package/types/sap.ui.vtm.d.ts +100 -1
  59. package/types/sap.ui.webc.common.d.ts +3 -1
  60. package/types/sap.ui.webc.fiori.d.ts +31 -1
  61. package/types/sap.ui.webc.main.d.ts +70 -1
  62. package/types/sap.uiext.inbox.d.ts +1 -1
  63. package/types/sap.ushell.d.ts +15 -1
  64. package/types/sap.ushell_abap.d.ts +1 -1
  65. package/types/sap.uxap.d.ts +1 -1
  66. package/types/sap.viz.d.ts +1 -1
  67. package/types/sap.webanalytics.core.d.ts +1 -1
  68. package/types/sap.zen.commons.d.ts +1 -1
  69. package/types/sap.zen.crosstab.d.ts +1 -1
  70. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.143.0
1
+ // For Library Version: 1.144.0
2
2
 
3
3
  declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
4
4
  import BaseObject from "sap/ui/base/Object";
@@ -20808,6 +20808,59 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
20808
20808
  */
20809
20809
  oListener?: object
20810
20810
  ): this;
20811
+ /**
20812
+ * Attaches event handler `fnFunction` to the {@link #event:connectionCreated connectionCreated} event of
20813
+ * this `sap.suite.ui.commons.networkgraph.Graph`.
20814
+ *
20815
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
20816
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
20817
+ *
20818
+ * This event is fired when a new connection is created between two nodes by using node ports.
20819
+ *
20820
+ * @since 1.144
20821
+ *
20822
+ * @returns Reference to `this` in order to allow method chaining
20823
+ */
20824
+ attachConnectionCreated(
20825
+ /**
20826
+ * An application-specific payload object that will be passed to the event handler along with the event
20827
+ * object when firing the event
20828
+ */
20829
+ oData: object,
20830
+ /**
20831
+ * The function to be called when the event occurs
20832
+ */
20833
+ fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
20834
+ /**
20835
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
20836
+ * itself
20837
+ */
20838
+ oListener?: object
20839
+ ): this;
20840
+ /**
20841
+ * Attaches event handler `fnFunction` to the {@link #event:connectionCreated connectionCreated} event of
20842
+ * this `sap.suite.ui.commons.networkgraph.Graph`.
20843
+ *
20844
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
20845
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
20846
+ *
20847
+ * This event is fired when a new connection is created between two nodes by using node ports.
20848
+ *
20849
+ * @since 1.144
20850
+ *
20851
+ * @returns Reference to `this` in order to allow method chaining
20852
+ */
20853
+ attachConnectionCreated(
20854
+ /**
20855
+ * The function to be called when the event occurs
20856
+ */
20857
+ fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
20858
+ /**
20859
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
20860
+ * itself
20861
+ */
20862
+ oListener?: object
20863
+ ): this;
20811
20864
  /**
20812
20865
  * Attaches event handler `fnFunction` to the {@link #event:failure failure} event of this `sap.suite.ui.commons.networkgraph.Graph`.
20813
20866
  *
@@ -20906,6 +20959,59 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
20906
20959
  */
20907
20960
  oListener?: object
20908
20961
  ): this;
20962
+ /**
20963
+ * Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
20964
+ *
20965
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
20966
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
20967
+ *
20968
+ * This event is fired when a user drops a node in the graph. This event is available only for the noop
20969
+ * layout.
20970
+ *
20971
+ * @since 1.144
20972
+ *
20973
+ * @returns Reference to `this` in order to allow method chaining
20974
+ */
20975
+ attachNodeDropped(
20976
+ /**
20977
+ * An application-specific payload object that will be passed to the event handler along with the event
20978
+ * object when firing the event
20979
+ */
20980
+ oData: object,
20981
+ /**
20982
+ * The function to be called when the event occurs
20983
+ */
20984
+ fnFunction: (p1: Graph$NodeDroppedEvent) => void,
20985
+ /**
20986
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
20987
+ * itself
20988
+ */
20989
+ oListener?: object
20990
+ ): this;
20991
+ /**
20992
+ * Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
20993
+ *
20994
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
20995
+ * otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
20996
+ *
20997
+ * This event is fired when a user drops a node in the graph. This event is available only for the noop
20998
+ * layout.
20999
+ *
21000
+ * @since 1.144
21001
+ *
21002
+ * @returns Reference to `this` in order to allow method chaining
21003
+ */
21004
+ attachNodeDropped(
21005
+ /**
21006
+ * The function to be called when the event occurs
21007
+ */
21008
+ fnFunction: (p1: Graph$NodeDroppedEvent) => void,
21009
+ /**
21010
+ * Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
21011
+ * itself
21012
+ */
21013
+ oListener?: object
21014
+ ): this;
20909
21015
  /**
20910
21016
  * Attaches event handler `fnFunction` to the {@link #event:search search} event of this `sap.suite.ui.commons.networkgraph.Graph`.
20911
21017
  *
@@ -21201,6 +21307,26 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21201
21307
  */
21202
21308
  oListener?: object
21203
21309
  ): this;
21310
+ /**
21311
+ * Detaches event handler `fnFunction` from the {@link #event:connectionCreated connectionCreated} event
21312
+ * of this `sap.suite.ui.commons.networkgraph.Graph`.
21313
+ *
21314
+ * The passed function and listener object must match the ones used for event registration.
21315
+ *
21316
+ * @since 1.144
21317
+ *
21318
+ * @returns Reference to `this` in order to allow method chaining
21319
+ */
21320
+ detachConnectionCreated(
21321
+ /**
21322
+ * The function to be called, when the event occurs
21323
+ */
21324
+ fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
21325
+ /**
21326
+ * Context object on which the given function had to be called
21327
+ */
21328
+ oListener?: object
21329
+ ): this;
21204
21330
  /**
21205
21331
  * Detaches event handler `fnFunction` from the {@link #event:failure failure} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21206
21332
  *
@@ -21237,6 +21363,25 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21237
21363
  */
21238
21364
  oListener?: object
21239
21365
  ): this;
21366
+ /**
21367
+ * Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21368
+ *
21369
+ * The passed function and listener object must match the ones used for event registration.
21370
+ *
21371
+ * @since 1.144
21372
+ *
21373
+ * @returns Reference to `this` in order to allow method chaining
21374
+ */
21375
+ detachNodeDropped(
21376
+ /**
21377
+ * The function to be called, when the event occurs
21378
+ */
21379
+ fnFunction: (p1: Graph$NodeDroppedEvent) => void,
21380
+ /**
21381
+ * Context object on which the given function had to be called
21382
+ */
21383
+ oListener?: object
21384
+ ): this;
21240
21385
  /**
21241
21386
  * Detaches event handler `fnFunction` from the {@link #event:search search} event of this `sap.suite.ui.commons.networkgraph.Graph`.
21242
21387
  *
@@ -21337,6 +21482,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21337
21482
  */
21338
21483
  mParameters?: object
21339
21484
  ): this;
21485
+ /**
21486
+ * Fires event {@link #event:connectionCreated connectionCreated} to attached listeners.
21487
+ *
21488
+ * @since 1.144
21489
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
21490
+ *
21491
+ * @returns Reference to `this` in order to allow method chaining
21492
+ */
21493
+ fireConnectionCreated(
21494
+ /**
21495
+ * Parameters to pass along with the event
21496
+ */
21497
+ mParameters?: Graph$ConnectionCreatedEventParameters
21498
+ ): this;
21340
21499
  /**
21341
21500
  * Fires event {@link #event:failure failure} to attached listeners.
21342
21501
  *
@@ -21363,6 +21522,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21363
21522
  */
21364
21523
  mParameters?: object
21365
21524
  ): this;
21525
+ /**
21526
+ * Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
21527
+ *
21528
+ * @since 1.144
21529
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
21530
+ *
21531
+ * @returns Reference to `this` in order to allow method chaining
21532
+ */
21533
+ fireNodeDropped(
21534
+ /**
21535
+ * Parameters to pass along with the event
21536
+ */
21537
+ mParameters?: Graph$NodeDroppedEventParameters
21538
+ ): this;
21366
21539
  /**
21367
21540
  * Fires event {@link #event:search search} to attached listeners.
21368
21541
  *
@@ -21423,6 +21596,14 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21423
21596
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
21424
21597
  */
21425
21598
  getAriaLabelledBy(): ID[];
21599
+ /**
21600
+ * Gets the associated control linked to this graph instance using the 'associatedControl' association.
21601
+ * This can be any UI5 control that is related to the graph.
21602
+ *
21603
+ *
21604
+ * @returns The associated control instance or null if not set.
21605
+ */
21606
+ getAssociatedControl(): Control | null;
21426
21607
  /**
21427
21608
  * Gets current value of property {@link #getBackgroundColor backgroundColor}.
21428
21609
  *
@@ -21443,8 +21624,27 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21443
21624
  * @returns Value of property `backgroundImage`
21444
21625
  */
21445
21626
  getBackgroundImage(): URI;
21627
+ /**
21628
+ * Gets current value of property {@link #getConnectionTypeMapping connectionTypeMapping}.
21629
+ *
21630
+ * Mapping of connection types to their display text keys or custom text values. This allows customization
21631
+ * of how connection types are displayed in the connection creation popover. The mapping should be an object
21632
+ * where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
21633
+ * are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
21634
+ * is invalid or not provided, default values are used
21635
+ *
21636
+ * Default value is `...see text or source`.
21637
+ *
21638
+ * @since 1.144
21639
+ *
21640
+ * @returns Value of property `connectionTypeMapping`
21641
+ */
21642
+ getConnectionTypeMapping(): object;
21446
21643
  /**
21447
21644
  * Returns current zoom level.
21645
+ *
21646
+ *
21647
+ * @returns Current zoom level
21448
21648
  */
21449
21649
  getCurrentZoomLevel(): number;
21450
21650
  /**
@@ -21508,6 +21708,31 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21508
21708
  * Holds the lines to be displayed in the graph.
21509
21709
  */
21510
21710
  getLines(): Line[];
21711
+ /**
21712
+ * Gets current value of property {@link #getLoading loading}.
21713
+ *
21714
+ * Set this property to `true` to display a loading indicator while the data loads.
21715
+ *
21716
+ * Default value is `false`.
21717
+ *
21718
+ * @since 1.144
21719
+ *
21720
+ * @returns Value of property `loading`
21721
+ */
21722
+ getLoading(): boolean;
21723
+ /**
21724
+ * Gets current value of property {@link #getLoadingText loadingText}.
21725
+ *
21726
+ * Text that is displayed when the loading is set.
21727
+ * This property takes effect only when the `loading` property is set to `true`.
21728
+ *
21729
+ * Default value is `empty string`.
21730
+ *
21731
+ * @since 1.144
21732
+ *
21733
+ * @returns Value of property `loadingText`
21734
+ */
21735
+ getLoadingText(): string;
21511
21736
  /**
21512
21737
  * Gets current value of property {@link #getNoData noData}.
21513
21738
  *
@@ -21545,6 +21770,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21545
21770
  */
21546
21771
  sKey: string
21547
21772
  ): Node;
21773
+ /**
21774
+ * Gets current value of property {@link #getNodePorts nodePorts}.
21775
+ *
21776
+ * Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
21777
+ * nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
21778
+ * drop is enabled. Otherwise, this property is ignored.
21779
+ *
21780
+ * Default value is `None`.
21781
+ *
21782
+ * @since 1.144
21783
+ *
21784
+ * @returns Value of property `nodePorts`
21785
+ */
21786
+ getNodePorts(): /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any;
21548
21787
  /**
21549
21788
  * Gets content of aggregation {@link #getNodes nodes}.
21550
21789
  *
@@ -21574,6 +21813,22 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21574
21813
  * @returns Value of property `renderType`
21575
21814
  */
21576
21815
  getRenderType(): networkgraph.RenderType;
21816
+ /**
21817
+ * Gets current value of property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
21818
+ *
21819
+ * This action button is used to create connections between nodes as an accessible alternative to node ports.
21820
+ * The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
21821
+ * is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
21822
+ * hidden. Hide this button when you want to implement your own way of creating connections between nodes
21823
+ * as an accessible alternative to node ports.
21824
+ *
21825
+ * Default value is `true`.
21826
+ *
21827
+ * @since 1.144
21828
+ *
21829
+ * @returns Value of property `showCreateConnectionButton`
21830
+ */
21831
+ getShowCreateConnectionButton(): boolean;
21577
21832
  /**
21578
21833
  * Gets content of aggregation {@link #getStatuses statuses}.
21579
21834
  *
@@ -21733,8 +21988,11 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21733
21988
  ): this;
21734
21989
  /**
21735
21990
  * Returns `true` if the graph is in full screen mode.
21991
+ *
21992
+ *
21993
+ * @returns Returns whether the graph is in full screen mode.
21736
21994
  */
21737
- isFullScreen(): void;
21995
+ isFullScreen(): boolean;
21738
21996
  /**
21739
21997
  * If you call this method with `true` parameter, no invalidation will be triggered until you call it with
21740
21998
  * `false`. This can be useful when changing properties before rendering that can trigger unwanted invalidation
@@ -21877,6 +22135,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21877
22135
  */
21878
22136
  oElement: Object
21879
22137
  ): void;
22138
+ /**
22139
+ * Sets the associated {@link #getAssociatedControl associatedControl}.
22140
+ *
22141
+ * @since 1.144
22142
+ *
22143
+ * @returns Reference to `this` in order to allow method chaining
22144
+ */
22145
+ setAssociatedControl(
22146
+ /**
22147
+ * ID of an element which becomes the new target of this associatedControl association; alternatively, an
22148
+ * element instance may be given
22149
+ */
22150
+ oAssociatedControl: ID | Control
22151
+ ): this;
21880
22152
  /**
21881
22153
  * Sets a new value for property {@link #getBackgroundColor backgroundColor}.
21882
22154
  *
@@ -21913,6 +22185,29 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
21913
22185
  */
21914
22186
  sBackgroundImage?: URI
21915
22187
  ): this;
22188
+ /**
22189
+ * Sets a new value for property {@link #getConnectionTypeMapping connectionTypeMapping}.
22190
+ *
22191
+ * Mapping of connection types to their display text keys or custom text values. This allows customization
22192
+ * of how connection types are displayed in the connection creation popover. The mapping should be an object
22193
+ * where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
22194
+ * are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
22195
+ * is invalid or not provided, default values are used
22196
+ *
22197
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22198
+ *
22199
+ * Default value is `...see text or source`.
22200
+ *
22201
+ * @since 1.144
22202
+ *
22203
+ * @returns Reference to `this` in order to allow method chaining
22204
+ */
22205
+ setConnectionTypeMapping(
22206
+ /**
22207
+ * New value for property `connectionTypeMapping`
22208
+ */
22209
+ oConnectionTypeMapping?: object
22210
+ ): this;
21916
22211
  /**
21917
22212
  * Sets current zoom level.
21918
22213
  */
@@ -22036,6 +22331,45 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22036
22331
  */
22037
22332
  oLegend: Control
22038
22333
  ): this;
22334
+ /**
22335
+ * Sets a new value for property {@link #getLoading loading}.
22336
+ *
22337
+ * Set this property to `true` to display a loading indicator while the data loads.
22338
+ *
22339
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22340
+ *
22341
+ * Default value is `false`.
22342
+ *
22343
+ * @since 1.144
22344
+ *
22345
+ * @returns Reference to `this` in order to allow method chaining
22346
+ */
22347
+ setLoading(
22348
+ /**
22349
+ * New value for property `loading`
22350
+ */
22351
+ bLoading?: boolean
22352
+ ): this;
22353
+ /**
22354
+ * Sets a new value for property {@link #getLoadingText loadingText}.
22355
+ *
22356
+ * Text that is displayed when the loading is set.
22357
+ * This property takes effect only when the `loading` property is set to `true`.
22358
+ *
22359
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22360
+ *
22361
+ * Default value is `empty string`.
22362
+ *
22363
+ * @since 1.144
22364
+ *
22365
+ * @returns Reference to `this` in order to allow method chaining
22366
+ */
22367
+ setLoadingText(
22368
+ /**
22369
+ * New value for property `loadingText`
22370
+ */
22371
+ sLoadingText?: string
22372
+ ): this;
22039
22373
  /**
22040
22374
  * Sets a new value for property {@link #getNoData noData}.
22041
22375
  *
@@ -22075,6 +22409,27 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22075
22409
  */
22076
22410
  sNoDataText?: string
22077
22411
  ): this;
22412
+ /**
22413
+ * Sets a new value for property {@link #getNodePorts nodePorts}.
22414
+ *
22415
+ * Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
22416
+ * nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
22417
+ * drop is enabled. Otherwise, this property is ignored.
22418
+ *
22419
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22420
+ *
22421
+ * Default value is `None`.
22422
+ *
22423
+ * @since 1.144
22424
+ *
22425
+ * @returns Reference to `this` in order to allow method chaining
22426
+ */
22427
+ setNodePorts(
22428
+ /**
22429
+ * New value for property `nodePorts`
22430
+ */
22431
+ sNodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any
22432
+ ): this;
22078
22433
  /**
22079
22434
  * Sets a new value for property {@link #getOrientation orientation}.
22080
22435
  *
@@ -22125,6 +22480,29 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22125
22480
  */
22126
22481
  aItems: any[]
22127
22482
  ): void;
22483
+ /**
22484
+ * Sets a new value for property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
22485
+ *
22486
+ * This action button is used to create connections between nodes as an accessible alternative to node ports.
22487
+ * The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
22488
+ * is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
22489
+ * hidden. Hide this button when you want to implement your own way of creating connections between nodes
22490
+ * as an accessible alternative to node ports.
22491
+ *
22492
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22493
+ *
22494
+ * Default value is `true`.
22495
+ *
22496
+ * @since 1.144
22497
+ *
22498
+ * @returns Reference to `this` in order to allow method chaining
22499
+ */
22500
+ setShowCreateConnectionButton(
22501
+ /**
22502
+ * New value for property `showCreateConnectionButton`
22503
+ */
22504
+ bShowCreateConnectionButton?: boolean
22505
+ ): this;
22128
22506
  /**
22129
22507
  * Sets a new value for property {@link #getWidth width}.
22130
22508
  *
@@ -22152,6 +22530,29 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22152
22530
  * Updates the legend.
22153
22531
  */
22154
22532
  updateLegend(): void;
22533
+ /**
22534
+ * Re-rendering a node and all connected lines to update the positions of both the node and the lines. Note:
22535
+ * This method should be used only when the layout algorithm is set to NoopLayout and enableDragAndDrop
22536
+ * is set to true.
22537
+ *
22538
+ * @since 1.144
22539
+ *
22540
+ * @returns Reference to this for method chaining
22541
+ */
22542
+ updateNodePosition(
22543
+ /**
22544
+ * Node instance or node key
22545
+ */
22546
+ vNode: Node | string,
22547
+ /**
22548
+ * New X coordinate
22549
+ */
22550
+ iX: number,
22551
+ /**
22552
+ * New Y coordinate
22553
+ */
22554
+ iY: number
22555
+ ): Graph;
22155
22556
  /**
22156
22557
  * Zooms in or out of the graph.
22157
22558
  */
@@ -22253,6 +22654,63 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22253
22654
  */
22254
22655
  noDataText?: string | PropertyBindingInfo;
22255
22656
 
22657
+ /**
22658
+ * Set this property to `true` to display a loading indicator while the data loads.
22659
+ *
22660
+ * @since 1.144
22661
+ */
22662
+ loading?: boolean | PropertyBindingInfo | `{${string}}`;
22663
+
22664
+ /**
22665
+ * Text that is displayed when the loading is set.
22666
+ * This property takes effect only when the `loading` property is set to `true`.
22667
+ *
22668
+ * @since 1.144
22669
+ */
22670
+ loadingText?: string | PropertyBindingInfo;
22671
+
22672
+ /**
22673
+ * Enables the drag and drop of nodes. This property is ignored if the layout property is not set to noop.
22674
+ * If set to `true`, nodes can be dragged and dropped within the graph.
22675
+ *
22676
+ * @since 1.144
22677
+ */
22678
+ enableDragAndDrop?: boolean | PropertyBindingInfo | `{${string}}`;
22679
+
22680
+ /**
22681
+ * Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
22682
+ * nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
22683
+ * drop is enabled. Otherwise, this property is ignored.
22684
+ *
22685
+ * @since 1.144
22686
+ */
22687
+ nodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */
22688
+ | any
22689
+ | PropertyBindingInfo
22690
+ | `{${string}}`;
22691
+
22692
+ /**
22693
+ * This action button is used to create connections between nodes as an accessible alternative to node ports.
22694
+ * The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
22695
+ * is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
22696
+ * hidden. Hide this button when you want to implement your own way of creating connections between nodes
22697
+ * as an accessible alternative to node ports.
22698
+ *
22699
+ * @since 1.144
22700
+ */
22701
+ showCreateConnectionButton?: boolean | PropertyBindingInfo | `{${string}}`;
22702
+
22703
+ /**
22704
+ * Mapping of connection types to their display text keys or custom text values. This allows customization
22705
+ * of how connection types are displayed in the connection creation popover. The mapping should be an object
22706
+ * where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
22707
+ * are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
22708
+ * is invalid or not provided, default values are used
22709
+ *
22710
+ * @since 1.144
22711
+ */
22712
+ connectionTypeMapping?: object | PropertyBindingInfo | `{${string}}`;
22713
+
22256
22714
  /**
22257
22715
  * Holds the lines to be displayed in the graph.
22258
22716
  */
@@ -22295,6 +22753,13 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22295
22753
  */
22296
22754
  ariaLabelledBy?: Array<Control | string>;
22297
22755
 
22756
+ /**
22757
+ * Control or ID of an auxiliary control associated with this graph.
22758
+ *
22759
+ * @since 1.144
22760
+ */
22761
+ associatedControl?: Control | string;
22762
+
22298
22763
  /**
22299
22764
  * This event is fired when the graph is fully rendered.
22300
22765
  */
@@ -22334,6 +22799,21 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22334
22799
  * This event is fired when the user enters a keyword into the search field.
22335
22800
  */
22336
22801
  search?: (oEvent: Graph$SearchEvent) => void;
22802
+
22803
+ /**
22804
+ * This event is fired when a user drops a node in the graph. This event is available only for the noop
22805
+ * layout.
22806
+ *
22807
+ * @since 1.144
22808
+ */
22809
+ nodeDropped?: (oEvent: Graph$NodeDroppedEvent) => void;
22810
+
22811
+ /**
22812
+ * This event is fired when a new connection is created between two nodes by using node ports.
22813
+ *
22814
+ * @since 1.144
22815
+ */
22816
+ connectionCreated?: (oEvent: Graph$ConnectionCreatedEvent) => void;
22337
22817
  }
22338
22818
 
22339
22819
  /**
@@ -22362,6 +22842,44 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22362
22842
  Graph
22363
22843
  >;
22364
22844
 
22845
+ /**
22846
+ * Parameters of the Graph#connectionCreated event.
22847
+ */
22848
+ export interface Graph$ConnectionCreatedEventParameters {
22849
+ /**
22850
+ * The key of the source node.
22851
+ */
22852
+ from?: string;
22853
+
22854
+ /**
22855
+ * The key of the target node.
22856
+ */
22857
+ to?: string;
22858
+
22859
+ /**
22860
+ * The connection type defining how the line connects the source and target nodes.
22861
+ */
22862
+ connectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any;
22863
+
22864
+ /**
22865
+ * The source node control instance.
22866
+ */
22867
+ fromNode?: Node;
22868
+
22869
+ /**
22870
+ * The target node control instance.
22871
+ */
22872
+ toNode?: Node;
22873
+ }
22874
+
22875
+ /**
22876
+ * Event object of the Graph#connectionCreated event.
22877
+ */
22878
+ export type Graph$ConnectionCreatedEvent = Event<
22879
+ Graph$ConnectionCreatedEventParameters,
22880
+ Graph
22881
+ >;
22882
+
22365
22883
  /**
22366
22884
  * Parameters of the Graph#failure event.
22367
22885
  */
@@ -22395,6 +22913,34 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
22395
22913
  Graph
22396
22914
  >;
22397
22915
 
22916
+ /**
22917
+ * Parameters of the Graph#nodeDropped event.
22918
+ */
22919
+ export interface Graph$NodeDroppedEventParameters {
22920
+ /**
22921
+ * The node that was moved.
22922
+ */
22923
+ node?: Node;
22924
+
22925
+ /**
22926
+ * The new x coordinate of the node.
22927
+ */
22928
+ newX?: float;
22929
+
22930
+ /**
22931
+ * The new y coordinate of the node.
22932
+ */
22933
+ newY?: float;
22934
+ }
22935
+
22936
+ /**
22937
+ * Event object of the Graph#nodeDropped event.
22938
+ */
22939
+ export type Graph$NodeDroppedEvent = Event<
22940
+ Graph$NodeDroppedEventParameters,
22941
+ Graph
22942
+ >;
22943
+
22398
22944
  /**
22399
22945
  * Parameters of the Graph#search event.
22400
22946
  */
@@ -24358,6 +24904,8 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
24358
24904
 
24359
24905
  import LayoutTask from "sap/suite/ui/commons/networkgraph/layout/LayoutTask";
24360
24906
 
24907
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
24908
+
24361
24909
  /**
24362
24910
  * This is a simple layout algorithm that expects the positions of nodes to be already present. It only
24363
24911
  * creates line coordinates (see {@link sap.suite.ui.commons.networkgraph.Line#setCoordinates}).
@@ -24371,9 +24919,6 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
24371
24919
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
24372
24920
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
24373
24921
  * of the syntax of the settings object.
24374
- *
24375
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.suite.ui.commons.networkgraph.layout.LayoutAlgorithm#constructor sap.suite.ui.commons.networkgraph.layout.LayoutAlgorithm }
24376
- * can be used.
24377
24922
  */
24378
24923
  constructor();
24379
24924
 
@@ -24408,8 +24953,24 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
24408
24953
  * @returns Metadata object describing this class
24409
24954
  */
24410
24955
  static getMetadata(): ElementMetadata;
24956
+ /**
24957
+ * Gets current value of property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
24958
+ *
24959
+ * Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
24960
+ * line creation.
24961
+ *
24962
+ * Default value is `false`.
24963
+ *
24964
+ * @since 1.144
24965
+ *
24966
+ * @returns Value of property `enableOptimizedLineAlgorithm`
24967
+ */
24968
+ getEnableOptimizedLineAlgorithm(): boolean;
24411
24969
  /**
24412
24970
  * Specifies the type of layout algorithm that defines the visual features and layout of the network graph.
24971
+ *
24972
+ *
24973
+ * @returns The layout render type.
24413
24974
  */
24414
24975
  getLayoutRenderType(): networkgraph.LayoutRenderType;
24415
24976
  /**
@@ -24419,11 +24980,42 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
24419
24980
  * @returns Task to get the layout calculated.
24420
24981
  */
24421
24982
  layout(): LayoutTask;
24983
+ /**
24984
+ * Sets a new value for property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
24985
+ *
24986
+ * Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
24987
+ * line creation.
24988
+ *
24989
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
24990
+ *
24991
+ * Default value is `false`.
24992
+ *
24993
+ * @since 1.144
24994
+ *
24995
+ * @returns Reference to `this` in order to allow method chaining
24996
+ */
24997
+ setEnableOptimizedLineAlgorithm(
24998
+ /**
24999
+ * New value for property `enableOptimizedLineAlgorithm`
25000
+ */
25001
+ bEnableOptimizedLineAlgorithm?: boolean
25002
+ ): this;
24422
25003
  }
24423
25004
  /**
24424
25005
  * Describes the settings that can be provided to the NoopLayout constructor.
24425
25006
  */
24426
- export interface $NoopLayoutSettings extends $LayoutAlgorithmSettings {}
25007
+ export interface $NoopLayoutSettings extends $LayoutAlgorithmSettings {
25008
+ /**
25009
+ * Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
25010
+ * line creation.
25011
+ *
25012
+ * @since 1.144
25013
+ */
25014
+ enableOptimizedLineAlgorithm?:
25015
+ | boolean
25016
+ | PropertyBindingInfo
25017
+ | `{${string}}`;
25018
+ }
24427
25019
  }
24428
25020
 
24429
25021
  declare module "sap/suite/ui/commons/networkgraph/layout/SwimLaneChainLayout" {
@@ -24937,6 +25529,23 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
24937
25529
  * @returns Coordinates of the points shaping the line
24938
25530
  */
24939
25531
  getBends(): Coordinate[];
25532
+ /**
25533
+ * Gets current value of property {@link #getConnectionType connectionType}.
25534
+ *
25535
+ * Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
25536
+ * TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
25537
+ * enumeration. This property is used to determine how the line connects the source and target nodes. For
25538
+ * example, if set to RightToLeft, the line starts from the right side of the source node and end at the
25539
+ * left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
25540
+ * network graph.
25541
+ *
25542
+ * Default value is `RightToLeft`.
25543
+ *
25544
+ * @since 1.144
25545
+ *
25546
+ * @returns Value of property `connectionType`
25547
+ */
25548
+ getConnectionType(): /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any;
24940
25549
  /**
24941
25550
  * Gets content of aggregation {@link #getCoordinates coordinates}.
24942
25551
  *
@@ -24961,6 +25570,22 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
24961
25570
  * @returns Node instance where the line starts
24962
25571
  */
24963
25572
  getFromNode(): object;
25573
+ /**
25574
+ * Gets current value of property {@link #getLabelName labelName}.
25575
+ *
25576
+ * Defines the text label to be displayed on the line.
25577
+ *
25578
+ * When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
25579
+ * is rendered only when all of the following conditions are met: - This property has a non-empty value
25580
+ * - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
25581
+ * to accommodate the label If this property is empty or not set, no label is displayed on the line
25582
+ *
25583
+ * Default value is `empty string`.
25584
+ *
25585
+ *
25586
+ * @returns Value of property `labelName`
25587
+ */
25588
+ getLabelName(): string;
24964
25589
  /**
24965
25590
  * Gets current value of property {@link #getLineType lineType}.
24966
25591
  *
@@ -25171,6 +25796,30 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
25171
25796
  | networkgraph.LineArrowPosition
25172
25797
  | keyof typeof networkgraph.LineArrowPosition
25173
25798
  ): this;
25799
+ /**
25800
+ * Sets a new value for property {@link #getConnectionType connectionType}.
25801
+ *
25802
+ * Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
25803
+ * TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
25804
+ * enumeration. This property is used to determine how the line connects the source and target nodes. For
25805
+ * example, if set to RightToLeft, the line starts from the right side of the source node and end at the
25806
+ * left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
25807
+ * network graph.
25808
+ *
25809
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25810
+ *
25811
+ * Default value is `RightToLeft`.
25812
+ *
25813
+ * @since 1.144
25814
+ *
25815
+ * @returns Reference to `this` in order to allow method chaining
25816
+ */
25817
+ setConnectionType(
25818
+ /**
25819
+ * New value for property `connectionType`
25820
+ */
25821
+ sConnectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any
25822
+ ): this;
25174
25823
  /**
25175
25824
  * Sets a new value for property {@link #getFrom from}.
25176
25825
  *
@@ -25191,6 +25840,29 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
25191
25840
  * Hides the line.
25192
25841
  */
25193
25842
  setHidden(): void;
25843
+ /**
25844
+ * Sets a new value for property {@link #getLabelName labelName}.
25845
+ *
25846
+ * Defines the text label to be displayed on the line.
25847
+ *
25848
+ * When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
25849
+ * is rendered only when all of the following conditions are met: - This property has a non-empty value
25850
+ * - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
25851
+ * to accommodate the label If this property is empty or not set, no label is displayed on the line
25852
+ *
25853
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25854
+ *
25855
+ * Default value is `empty string`.
25856
+ *
25857
+ *
25858
+ * @returns Reference to `this` in order to allow method chaining
25859
+ */
25860
+ setLabelName(
25861
+ /**
25862
+ * New value for property `labelName`
25863
+ */
25864
+ sLabelName?: string
25865
+ ): this;
25194
25866
  /**
25195
25867
  * Sets a new value for property {@link #getLineType lineType}.
25196
25868
  *
@@ -25340,6 +26012,31 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
25340
26012
  */
25341
26013
  stretchToCenter?: boolean | PropertyBindingInfo | `{${string}}`;
25342
26014
 
26015
+ /**
26016
+ * Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
26017
+ * TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
26018
+ * enumeration. This property is used to determine how the line connects the source and target nodes. For
26019
+ * example, if set to RightToLeft, the line starts from the right side of the source node and end at the
26020
+ * left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
26021
+ * network graph.
26022
+ *
26023
+ * @since 1.144
26024
+ */
26025
+ connectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */
26026
+ | any
26027
+ | PropertyBindingInfo
26028
+ | `{${string}}`;
26029
+
26030
+ /**
26031
+ * Defines the text label to be displayed on the line.
26032
+ *
26033
+ * When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
26034
+ * is rendered only when all of the following conditions are met: - This property has a non-empty value
26035
+ * - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
26036
+ * to accommodate the label If this property is empty or not set, no label is displayed on the line
26037
+ */
26038
+ labelName?: string | PropertyBindingInfo;
26039
+
25343
26040
  /**
25344
26041
  * A list of points the line goes through. After the layouting algorithm has finished arranging the graph,
25345
26042
  * this aggregation contains the coordinates of at least two points: the starting point and the end point
@@ -28088,6 +28785,31 @@ declare module "sap/suite/ui/commons/networkgraph/SvgBase" {
28088
28785
  export interface $SvgBaseSettings extends $ControlSettings {}
28089
28786
  }
28090
28787
 
28788
+ declare module "sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils" {
28789
+ /**
28790
+ * Utility class for calculating connection paths between nodes in network graphs. This utility provides
28791
+ * a method to normalize lines and calculate path coordinates based on different connection types.
28792
+ *
28793
+ * @since 1.144
28794
+ */
28795
+ interface ConnectionPathUtils {}
28796
+ const ConnectionPathUtils: ConnectionPathUtils;
28797
+ export default ConnectionPathUtils;
28798
+ }
28799
+
28800
+ declare module "sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper" {
28801
+ /**
28802
+ * Utility class for calculating node positions based on dependency relationships. This utility arranges
28803
+ * nodes based on their dependency relationships using topological sorting, cycle detection, and layer-based
28804
+ * positioning.
28805
+ *
28806
+ * @since 1.144
28807
+ */
28808
+ interface DependencyLayoutHelper {}
28809
+ const DependencyLayoutHelper: DependencyLayoutHelper;
28810
+ export default DependencyLayoutHelper;
28811
+ }
28812
+
28091
28813
  declare module "sap/suite/ui/commons/networkgraph/util/Dijkstra" {
28092
28814
  import Graph from "sap/suite/ui/commons/networkgraph/Graph";
28093
28815
 
@@ -51801,6 +52523,10 @@ declare namespace sap {
51801
52523
 
51802
52524
  "sap/suite/ui/commons/networkgraph/SvgBase": undefined;
51803
52525
 
52526
+ "sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils": undefined;
52527
+
52528
+ "sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper": undefined;
52529
+
51804
52530
  "sap/suite/ui/commons/networkgraph/util/Dijkstra": undefined;
51805
52531
 
51806
52532
  "sap/suite/ui/commons/NewsContent": undefined;