@sapui5/ts-types-esm 1.136.18 → 1.136.19
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.
- package/package.json +1 -1
- package/types/index.d.ts +3 -3
- package/types/{mdc-1.136.9-esm-d.ts → mdc-1.136.16-esm-d.ts} +15 -7
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +2 -2
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +1171 -7
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +1 -1
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +29 -15
- package/types/sap.zen.crosstab.d.ts +13 -7
- package/types/sap.zen.dsh.d.ts +17 -9
- /package/types/{sap.ui.core.d.ts → core-1.136.16-esm-d.ts} +0 -0
- /package/types/{sap.m.d.ts → mobile-1.136.16-esm-d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.136.
|
|
1
|
+
// For Library Version: 1.136.13
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
4
4
|
/**
|
|
@@ -1406,6 +1406,24 @@ declare module "sap/suite/ui/commons/library" {
|
|
|
1406
1406
|
*/
|
|
1407
1407
|
White = "White",
|
|
1408
1408
|
}
|
|
1409
|
+
/**
|
|
1410
|
+
* Defines the arrangement of components in the dependency layout.
|
|
1411
|
+
*
|
|
1412
|
+
* This enum is part of the 'sap/suite/ui/commons/library' module export and must be accessed by the property
|
|
1413
|
+
* 'networkgraph.ComponentArrangement'.
|
|
1414
|
+
*
|
|
1415
|
+
* @since 1.136.19
|
|
1416
|
+
*/
|
|
1417
|
+
enum ComponentArrangement {
|
|
1418
|
+
/**
|
|
1419
|
+
* Components are arranged horizontally.
|
|
1420
|
+
*/
|
|
1421
|
+
Horizontal = "Horizontal",
|
|
1422
|
+
/**
|
|
1423
|
+
* Components are arranged vertically.
|
|
1424
|
+
*/
|
|
1425
|
+
Vertical = "Vertical",
|
|
1426
|
+
}
|
|
1409
1427
|
/**
|
|
1410
1428
|
* Semantic type of the node status.
|
|
1411
1429
|
*
|
|
@@ -20716,6 +20734,59 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
20716
20734
|
*/
|
|
20717
20735
|
oListener?: object
|
|
20718
20736
|
): this;
|
|
20737
|
+
/**
|
|
20738
|
+
* Attaches event handler `fnFunction` to the {@link #event:connectionCreated connectionCreated} event of
|
|
20739
|
+
* this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20740
|
+
*
|
|
20741
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20742
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20743
|
+
*
|
|
20744
|
+
* This event is fired when a new connection is created between two nodes by using node ports.
|
|
20745
|
+
*
|
|
20746
|
+
* @since 1.136.19
|
|
20747
|
+
*
|
|
20748
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20749
|
+
*/
|
|
20750
|
+
attachConnectionCreated(
|
|
20751
|
+
/**
|
|
20752
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20753
|
+
* object when firing the event
|
|
20754
|
+
*/
|
|
20755
|
+
oData: object,
|
|
20756
|
+
/**
|
|
20757
|
+
* The function to be called when the event occurs
|
|
20758
|
+
*/
|
|
20759
|
+
fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
|
|
20760
|
+
/**
|
|
20761
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
20762
|
+
* itself
|
|
20763
|
+
*/
|
|
20764
|
+
oListener?: object
|
|
20765
|
+
): this;
|
|
20766
|
+
/**
|
|
20767
|
+
* Attaches event handler `fnFunction` to the {@link #event:connectionCreated connectionCreated} event of
|
|
20768
|
+
* this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20769
|
+
*
|
|
20770
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20771
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20772
|
+
*
|
|
20773
|
+
* This event is fired when a new connection is created between two nodes by using node ports.
|
|
20774
|
+
*
|
|
20775
|
+
* @since 1.136.19
|
|
20776
|
+
*
|
|
20777
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20778
|
+
*/
|
|
20779
|
+
attachConnectionCreated(
|
|
20780
|
+
/**
|
|
20781
|
+
* The function to be called when the event occurs
|
|
20782
|
+
*/
|
|
20783
|
+
fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
|
|
20784
|
+
/**
|
|
20785
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
20786
|
+
* itself
|
|
20787
|
+
*/
|
|
20788
|
+
oListener?: object
|
|
20789
|
+
): this;
|
|
20719
20790
|
/**
|
|
20720
20791
|
* Attaches event handler `fnFunction` to the {@link #event:failure failure} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20721
20792
|
*
|
|
@@ -20814,6 +20885,167 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
20814
20885
|
*/
|
|
20815
20886
|
oListener?: object
|
|
20816
20887
|
): this;
|
|
20888
|
+
/**
|
|
20889
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20890
|
+
*
|
|
20891
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20892
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20893
|
+
*
|
|
20894
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
20895
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
20896
|
+
* `true`.
|
|
20897
|
+
*
|
|
20898
|
+
* @since 1.136.19
|
|
20899
|
+
*
|
|
20900
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20901
|
+
*/
|
|
20902
|
+
attachItemDeleted(
|
|
20903
|
+
/**
|
|
20904
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20905
|
+
* object when firing the event
|
|
20906
|
+
*/
|
|
20907
|
+
oData: object,
|
|
20908
|
+
/**
|
|
20909
|
+
* The function to be called when the event occurs
|
|
20910
|
+
*/
|
|
20911
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
20912
|
+
/**
|
|
20913
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
20914
|
+
* itself
|
|
20915
|
+
*/
|
|
20916
|
+
oListener?: object
|
|
20917
|
+
): this;
|
|
20918
|
+
/**
|
|
20919
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20920
|
+
*
|
|
20921
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20922
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20923
|
+
*
|
|
20924
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
20925
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
20926
|
+
* `true`.
|
|
20927
|
+
*
|
|
20928
|
+
* @since 1.136.19
|
|
20929
|
+
*
|
|
20930
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20931
|
+
*/
|
|
20932
|
+
attachItemDeleted(
|
|
20933
|
+
/**
|
|
20934
|
+
* The function to be called when the event occurs
|
|
20935
|
+
*/
|
|
20936
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
20937
|
+
/**
|
|
20938
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
20939
|
+
* itself
|
|
20940
|
+
*/
|
|
20941
|
+
oListener?: object
|
|
20942
|
+
): this;
|
|
20943
|
+
/**
|
|
20944
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20945
|
+
*
|
|
20946
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20947
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20948
|
+
*
|
|
20949
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
20950
|
+
* used and enableDragAndDrop is `true`.
|
|
20951
|
+
*
|
|
20952
|
+
* @since 1.136.19
|
|
20953
|
+
*
|
|
20954
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20955
|
+
*/
|
|
20956
|
+
attachNodeAdded(
|
|
20957
|
+
/**
|
|
20958
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
20959
|
+
* object when firing the event
|
|
20960
|
+
*/
|
|
20961
|
+
oData: object,
|
|
20962
|
+
/**
|
|
20963
|
+
* The function to be called when the event occurs
|
|
20964
|
+
*/
|
|
20965
|
+
fnFunction: (p1: Event) => void,
|
|
20966
|
+
/**
|
|
20967
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
20968
|
+
* itself
|
|
20969
|
+
*/
|
|
20970
|
+
oListener?: object
|
|
20971
|
+
): this;
|
|
20972
|
+
/**
|
|
20973
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20974
|
+
*
|
|
20975
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20976
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20977
|
+
*
|
|
20978
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
20979
|
+
* used and enableDragAndDrop is `true`.
|
|
20980
|
+
*
|
|
20981
|
+
* @since 1.136.19
|
|
20982
|
+
*
|
|
20983
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
20984
|
+
*/
|
|
20985
|
+
attachNodeAdded(
|
|
20986
|
+
/**
|
|
20987
|
+
* The function to be called when the event occurs
|
|
20988
|
+
*/
|
|
20989
|
+
fnFunction: (p1: Event) => void,
|
|
20990
|
+
/**
|
|
20991
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
20992
|
+
* itself
|
|
20993
|
+
*/
|
|
20994
|
+
oListener?: object
|
|
20995
|
+
): this;
|
|
20996
|
+
/**
|
|
20997
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20998
|
+
*
|
|
20999
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21000
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
21001
|
+
*
|
|
21002
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
21003
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
21004
|
+
*
|
|
21005
|
+
* @since 1.136.19
|
|
21006
|
+
*
|
|
21007
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21008
|
+
*/
|
|
21009
|
+
attachNodeDropped(
|
|
21010
|
+
/**
|
|
21011
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21012
|
+
* object when firing the event
|
|
21013
|
+
*/
|
|
21014
|
+
oData: object,
|
|
21015
|
+
/**
|
|
21016
|
+
* The function to be called when the event occurs
|
|
21017
|
+
*/
|
|
21018
|
+
fnFunction: (p1: Graph$NodeDroppedEvent) => void,
|
|
21019
|
+
/**
|
|
21020
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
21021
|
+
* itself
|
|
21022
|
+
*/
|
|
21023
|
+
oListener?: object
|
|
21024
|
+
): this;
|
|
21025
|
+
/**
|
|
21026
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21027
|
+
*
|
|
21028
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21029
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
21030
|
+
*
|
|
21031
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
21032
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
21033
|
+
*
|
|
21034
|
+
* @since 1.136.19
|
|
21035
|
+
*
|
|
21036
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21037
|
+
*/
|
|
21038
|
+
attachNodeDropped(
|
|
21039
|
+
/**
|
|
21040
|
+
* The function to be called when the event occurs
|
|
21041
|
+
*/
|
|
21042
|
+
fnFunction: (p1: Graph$NodeDroppedEvent) => void,
|
|
21043
|
+
/**
|
|
21044
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
21045
|
+
* itself
|
|
21046
|
+
*/
|
|
21047
|
+
oListener?: object
|
|
21048
|
+
): this;
|
|
20817
21049
|
/**
|
|
20818
21050
|
* Attaches event handler `fnFunction` to the {@link #event:search search} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20819
21051
|
*
|
|
@@ -21109,6 +21341,26 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21109
21341
|
*/
|
|
21110
21342
|
oListener?: object
|
|
21111
21343
|
): this;
|
|
21344
|
+
/**
|
|
21345
|
+
* Detaches event handler `fnFunction` from the {@link #event:connectionCreated connectionCreated} event
|
|
21346
|
+
* of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21347
|
+
*
|
|
21348
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
21349
|
+
*
|
|
21350
|
+
* @since 1.136.19
|
|
21351
|
+
*
|
|
21352
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21353
|
+
*/
|
|
21354
|
+
detachConnectionCreated(
|
|
21355
|
+
/**
|
|
21356
|
+
* The function to be called, when the event occurs
|
|
21357
|
+
*/
|
|
21358
|
+
fnFunction: (p1: Graph$ConnectionCreatedEvent) => void,
|
|
21359
|
+
/**
|
|
21360
|
+
* Context object on which the given function had to be called
|
|
21361
|
+
*/
|
|
21362
|
+
oListener?: object
|
|
21363
|
+
): this;
|
|
21112
21364
|
/**
|
|
21113
21365
|
* Detaches event handler `fnFunction` from the {@link #event:failure failure} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21114
21366
|
*
|
|
@@ -21145,6 +21397,63 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21145
21397
|
*/
|
|
21146
21398
|
oListener?: object
|
|
21147
21399
|
): this;
|
|
21400
|
+
/**
|
|
21401
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21402
|
+
*
|
|
21403
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
21404
|
+
*
|
|
21405
|
+
* @since 1.136.19
|
|
21406
|
+
*
|
|
21407
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21408
|
+
*/
|
|
21409
|
+
detachItemDeleted(
|
|
21410
|
+
/**
|
|
21411
|
+
* The function to be called, when the event occurs
|
|
21412
|
+
*/
|
|
21413
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
21414
|
+
/**
|
|
21415
|
+
* Context object on which the given function had to be called
|
|
21416
|
+
*/
|
|
21417
|
+
oListener?: object
|
|
21418
|
+
): this;
|
|
21419
|
+
/**
|
|
21420
|
+
* Detaches event handler `fnFunction` from the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21421
|
+
*
|
|
21422
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
21423
|
+
*
|
|
21424
|
+
* @since 1.136.19
|
|
21425
|
+
*
|
|
21426
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21427
|
+
*/
|
|
21428
|
+
detachNodeAdded(
|
|
21429
|
+
/**
|
|
21430
|
+
* The function to be called, when the event occurs
|
|
21431
|
+
*/
|
|
21432
|
+
fnFunction: (p1: Event) => void,
|
|
21433
|
+
/**
|
|
21434
|
+
* Context object on which the given function had to be called
|
|
21435
|
+
*/
|
|
21436
|
+
oListener?: object
|
|
21437
|
+
): this;
|
|
21438
|
+
/**
|
|
21439
|
+
* Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21440
|
+
*
|
|
21441
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
21442
|
+
*
|
|
21443
|
+
* @since 1.136.19
|
|
21444
|
+
*
|
|
21445
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21446
|
+
*/
|
|
21447
|
+
detachNodeDropped(
|
|
21448
|
+
/**
|
|
21449
|
+
* The function to be called, when the event occurs
|
|
21450
|
+
*/
|
|
21451
|
+
fnFunction: (p1: Graph$NodeDroppedEvent) => void,
|
|
21452
|
+
/**
|
|
21453
|
+
* Context object on which the given function had to be called
|
|
21454
|
+
*/
|
|
21455
|
+
oListener?: object
|
|
21456
|
+
): this;
|
|
21148
21457
|
/**
|
|
21149
21458
|
* Detaches event handler `fnFunction` from the {@link #event:search search} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21150
21459
|
*
|
|
@@ -21245,6 +21554,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21245
21554
|
*/
|
|
21246
21555
|
mParameters?: object
|
|
21247
21556
|
): this;
|
|
21557
|
+
/**
|
|
21558
|
+
* Fires event {@link #event:connectionCreated connectionCreated} to attached listeners.
|
|
21559
|
+
*
|
|
21560
|
+
* @since 1.136.19
|
|
21561
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21562
|
+
*
|
|
21563
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21564
|
+
*/
|
|
21565
|
+
fireConnectionCreated(
|
|
21566
|
+
/**
|
|
21567
|
+
* Parameters to pass along with the event
|
|
21568
|
+
*/
|
|
21569
|
+
mParameters?: Graph$ConnectionCreatedEventParameters
|
|
21570
|
+
): this;
|
|
21248
21571
|
/**
|
|
21249
21572
|
* Fires event {@link #event:failure failure} to attached listeners.
|
|
21250
21573
|
*
|
|
@@ -21271,6 +21594,48 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21271
21594
|
*/
|
|
21272
21595
|
mParameters?: object
|
|
21273
21596
|
): this;
|
|
21597
|
+
/**
|
|
21598
|
+
* Fires event {@link #event:itemDeleted itemDeleted} to attached listeners.
|
|
21599
|
+
*
|
|
21600
|
+
* @since 1.136.19
|
|
21601
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21602
|
+
*
|
|
21603
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21604
|
+
*/
|
|
21605
|
+
fireItemDeleted(
|
|
21606
|
+
/**
|
|
21607
|
+
* Parameters to pass along with the event
|
|
21608
|
+
*/
|
|
21609
|
+
mParameters?: Graph$ItemDeletedEventParameters
|
|
21610
|
+
): this;
|
|
21611
|
+
/**
|
|
21612
|
+
* Fires event {@link #event:nodeAdded nodeAdded} to attached listeners.
|
|
21613
|
+
*
|
|
21614
|
+
* @since 1.136.19
|
|
21615
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21616
|
+
*
|
|
21617
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21618
|
+
*/
|
|
21619
|
+
fireNodeAdded(
|
|
21620
|
+
/**
|
|
21621
|
+
* Parameters to pass along with the event
|
|
21622
|
+
*/
|
|
21623
|
+
mParameters?: object
|
|
21624
|
+
): this;
|
|
21625
|
+
/**
|
|
21626
|
+
* Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
|
|
21627
|
+
*
|
|
21628
|
+
* @since 1.136.19
|
|
21629
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21630
|
+
*
|
|
21631
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21632
|
+
*/
|
|
21633
|
+
fireNodeDropped(
|
|
21634
|
+
/**
|
|
21635
|
+
* Parameters to pass along with the event
|
|
21636
|
+
*/
|
|
21637
|
+
mParameters?: Graph$NodeDroppedEventParameters
|
|
21638
|
+
): this;
|
|
21274
21639
|
/**
|
|
21275
21640
|
* Fires event {@link #event:search search} to attached listeners.
|
|
21276
21641
|
*
|
|
@@ -21331,6 +21696,14 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21331
21696
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
21332
21697
|
*/
|
|
21333
21698
|
getAriaLabelledBy(): ID[];
|
|
21699
|
+
/**
|
|
21700
|
+
* Gets the associated control linked to this graph instance using the 'associatedControl' association.
|
|
21701
|
+
* This can be any UI5 control that is related to the graph.
|
|
21702
|
+
*
|
|
21703
|
+
*
|
|
21704
|
+
* @returns The associated control instance or null if not set.
|
|
21705
|
+
*/
|
|
21706
|
+
getAssociatedControl(): Control | null;
|
|
21334
21707
|
/**
|
|
21335
21708
|
* Gets current value of property {@link #getBackgroundColor backgroundColor}.
|
|
21336
21709
|
*
|
|
@@ -21351,8 +21724,27 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21351
21724
|
* @returns Value of property `backgroundImage`
|
|
21352
21725
|
*/
|
|
21353
21726
|
getBackgroundImage(): URI;
|
|
21727
|
+
/**
|
|
21728
|
+
* Gets current value of property {@link #getConnectionTypeMapping connectionTypeMapping}.
|
|
21729
|
+
*
|
|
21730
|
+
* Mapping of connection types to their display text keys or custom text values. This allows customization
|
|
21731
|
+
* of how connection types are displayed in the connection creation popover. The mapping should be an object
|
|
21732
|
+
* where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
|
|
21733
|
+
* are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
|
|
21734
|
+
* is invalid or not provided, default values are used
|
|
21735
|
+
*
|
|
21736
|
+
* Default value is `...see text or source`.
|
|
21737
|
+
*
|
|
21738
|
+
* @since 1.136.19
|
|
21739
|
+
*
|
|
21740
|
+
* @returns Value of property `connectionTypeMapping`
|
|
21741
|
+
*/
|
|
21742
|
+
getConnectionTypeMapping(): object;
|
|
21354
21743
|
/**
|
|
21355
21744
|
* Returns current zoom level.
|
|
21745
|
+
*
|
|
21746
|
+
*
|
|
21747
|
+
* @returns Current zoom level
|
|
21356
21748
|
*/
|
|
21357
21749
|
getCurrentZoomLevel(): number;
|
|
21358
21750
|
/**
|
|
@@ -21397,6 +21789,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21397
21789
|
* @returns Value of property `height`
|
|
21398
21790
|
*/
|
|
21399
21791
|
getHeight(): CSSSize;
|
|
21792
|
+
/**
|
|
21793
|
+
* Gets current value of property {@link #getLabels labels}.
|
|
21794
|
+
*
|
|
21795
|
+
* Custom labels for element types displayed in the SearchField suggestions and Legend section headers.
|
|
21796
|
+
* Supported keys: nodeLabel, nodeLabelPlural, lineLabel, lineLabelPlural, groupLabel, groupLabelPlural.
|
|
21797
|
+
* Reverts to the default values for keys that are not set.
|
|
21798
|
+
*
|
|
21799
|
+
* Default value is `{}`.
|
|
21800
|
+
*
|
|
21801
|
+
* @since 1.149
|
|
21802
|
+
*
|
|
21803
|
+
* @returns Value of property `labels`
|
|
21804
|
+
*/
|
|
21805
|
+
getLabels(): object;
|
|
21400
21806
|
/**
|
|
21401
21807
|
* Gets content of aggregation {@link #getLayoutAlgorithm layoutAlgorithm}.
|
|
21402
21808
|
*
|
|
@@ -21416,6 +21822,31 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21416
21822
|
* Holds the lines to be displayed in the graph.
|
|
21417
21823
|
*/
|
|
21418
21824
|
getLines(): Line[];
|
|
21825
|
+
/**
|
|
21826
|
+
* Gets current value of property {@link #getLoading loading}.
|
|
21827
|
+
*
|
|
21828
|
+
* Set this property to `true` to display a loading indicator while the data loads.
|
|
21829
|
+
*
|
|
21830
|
+
* Default value is `false`.
|
|
21831
|
+
*
|
|
21832
|
+
* @since 1.136.19
|
|
21833
|
+
*
|
|
21834
|
+
* @returns Value of property `loading`
|
|
21835
|
+
*/
|
|
21836
|
+
getLoading(): boolean;
|
|
21837
|
+
/**
|
|
21838
|
+
* Gets current value of property {@link #getLoadingText loadingText}.
|
|
21839
|
+
*
|
|
21840
|
+
* Text that is displayed when the loading is set.
|
|
21841
|
+
* This property takes effect only when the `loading` property is set to `true`.
|
|
21842
|
+
*
|
|
21843
|
+
* Default value is `empty string`.
|
|
21844
|
+
*
|
|
21845
|
+
* @since 1.136.19
|
|
21846
|
+
*
|
|
21847
|
+
* @returns Value of property `loadingText`
|
|
21848
|
+
*/
|
|
21849
|
+
getLoadingText(): string;
|
|
21419
21850
|
/**
|
|
21420
21851
|
* Gets current value of property {@link #getNoData noData}.
|
|
21421
21852
|
*
|
|
@@ -21453,6 +21884,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21453
21884
|
*/
|
|
21454
21885
|
sKey: string
|
|
21455
21886
|
): Node;
|
|
21887
|
+
/**
|
|
21888
|
+
* Gets current value of property {@link #getNodePorts nodePorts}.
|
|
21889
|
+
*
|
|
21890
|
+
* Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
|
|
21891
|
+
* nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
|
|
21892
|
+
* drop is enabled. Otherwise, this property is ignored.
|
|
21893
|
+
*
|
|
21894
|
+
* Default value is `None`.
|
|
21895
|
+
*
|
|
21896
|
+
* @since 1.136.19
|
|
21897
|
+
*
|
|
21898
|
+
* @returns Value of property `nodePorts`
|
|
21899
|
+
*/
|
|
21900
|
+
getNodePorts(): /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any;
|
|
21456
21901
|
/**
|
|
21457
21902
|
* Gets content of aggregation {@link #getNodes nodes}.
|
|
21458
21903
|
*
|
|
@@ -21482,6 +21927,22 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21482
21927
|
* @returns Value of property `renderType`
|
|
21483
21928
|
*/
|
|
21484
21929
|
getRenderType(): networkgraph.RenderType;
|
|
21930
|
+
/**
|
|
21931
|
+
* Gets current value of property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
21932
|
+
*
|
|
21933
|
+
* This action button is used to create connections between nodes as an accessible alternative to node ports.
|
|
21934
|
+
* The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
|
|
21935
|
+
* is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
|
|
21936
|
+
* hidden. Hide this button when you want to implement your own way of creating connections between nodes
|
|
21937
|
+
* as an accessible alternative to node ports.
|
|
21938
|
+
*
|
|
21939
|
+
* Default value is `true`.
|
|
21940
|
+
*
|
|
21941
|
+
* @since 1.136.19
|
|
21942
|
+
*
|
|
21943
|
+
* @returns Value of property `showCreateConnectionButton`
|
|
21944
|
+
*/
|
|
21945
|
+
getShowCreateConnectionButton(): boolean;
|
|
21485
21946
|
/**
|
|
21486
21947
|
* Gets content of aggregation {@link #getStatuses statuses}.
|
|
21487
21948
|
*
|
|
@@ -21641,8 +22102,11 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21641
22102
|
): this;
|
|
21642
22103
|
/**
|
|
21643
22104
|
* Returns `true` if the graph is in full screen mode.
|
|
22105
|
+
*
|
|
22106
|
+
*
|
|
22107
|
+
* @returns Returns whether the graph is in full screen mode.
|
|
21644
22108
|
*/
|
|
21645
|
-
isFullScreen():
|
|
22109
|
+
isFullScreen(): boolean;
|
|
21646
22110
|
/**
|
|
21647
22111
|
* If you call this method with `true` parameter, no invalidation will be triggered until you call it with
|
|
21648
22112
|
* `false`. This can be useful when changing properties before rendering that can trigger unwanted invalidation
|
|
@@ -21785,6 +22249,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21785
22249
|
*/
|
|
21786
22250
|
oElement: Object
|
|
21787
22251
|
): void;
|
|
22252
|
+
/**
|
|
22253
|
+
* Sets the associated {@link #getAssociatedControl associatedControl}.
|
|
22254
|
+
*
|
|
22255
|
+
* @since 1.136.19
|
|
22256
|
+
*
|
|
22257
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22258
|
+
*/
|
|
22259
|
+
setAssociatedControl(
|
|
22260
|
+
/**
|
|
22261
|
+
* ID of an element which becomes the new target of this associatedControl association; alternatively, an
|
|
22262
|
+
* element instance may be given
|
|
22263
|
+
*/
|
|
22264
|
+
oAssociatedControl: ID | Control
|
|
22265
|
+
): this;
|
|
21788
22266
|
/**
|
|
21789
22267
|
* Sets a new value for property {@link #getBackgroundColor backgroundColor}.
|
|
21790
22268
|
*
|
|
@@ -21821,6 +22299,29 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21821
22299
|
*/
|
|
21822
22300
|
sBackgroundImage?: URI
|
|
21823
22301
|
): this;
|
|
22302
|
+
/**
|
|
22303
|
+
* Sets a new value for property {@link #getConnectionTypeMapping connectionTypeMapping}.
|
|
22304
|
+
*
|
|
22305
|
+
* Mapping of connection types to their display text keys or custom text values. This allows customization
|
|
22306
|
+
* of how connection types are displayed in the connection creation popover. The mapping should be an object
|
|
22307
|
+
* where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
|
|
22308
|
+
* are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
|
|
22309
|
+
* is invalid or not provided, default values are used
|
|
22310
|
+
*
|
|
22311
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22312
|
+
*
|
|
22313
|
+
* Default value is `...see text or source`.
|
|
22314
|
+
*
|
|
22315
|
+
* @since 1.136.19
|
|
22316
|
+
*
|
|
22317
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22318
|
+
*/
|
|
22319
|
+
setConnectionTypeMapping(
|
|
22320
|
+
/**
|
|
22321
|
+
* New value for property `connectionTypeMapping`
|
|
22322
|
+
*/
|
|
22323
|
+
oConnectionTypeMapping?: object
|
|
22324
|
+
): this;
|
|
21824
22325
|
/**
|
|
21825
22326
|
* Sets current zoom level.
|
|
21826
22327
|
*/
|
|
@@ -21920,6 +22421,27 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21920
22421
|
*/
|
|
21921
22422
|
sHeight?: CSSSize
|
|
21922
22423
|
): this;
|
|
22424
|
+
/**
|
|
22425
|
+
* Sets a new value for property {@link #getLabels labels}.
|
|
22426
|
+
*
|
|
22427
|
+
* Custom labels for element types displayed in the SearchField suggestions and Legend section headers.
|
|
22428
|
+
* Supported keys: nodeLabel, nodeLabelPlural, lineLabel, lineLabelPlural, groupLabel, groupLabelPlural.
|
|
22429
|
+
* Reverts to the default values for keys that are not set.
|
|
22430
|
+
*
|
|
22431
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22432
|
+
*
|
|
22433
|
+
* Default value is `{}`.
|
|
22434
|
+
*
|
|
22435
|
+
* @since 1.149
|
|
22436
|
+
*
|
|
22437
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22438
|
+
*/
|
|
22439
|
+
setLabels(
|
|
22440
|
+
/**
|
|
22441
|
+
* New value for property `labels`
|
|
22442
|
+
*/
|
|
22443
|
+
oLabels?: object
|
|
22444
|
+
): this;
|
|
21923
22445
|
/**
|
|
21924
22446
|
* Sets the aggregated {@link #getLayoutAlgorithm layoutAlgorithm}.
|
|
21925
22447
|
*
|
|
@@ -21944,6 +22466,45 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21944
22466
|
*/
|
|
21945
22467
|
oLegend: Control
|
|
21946
22468
|
): this;
|
|
22469
|
+
/**
|
|
22470
|
+
* Sets a new value for property {@link #getLoading loading}.
|
|
22471
|
+
*
|
|
22472
|
+
* Set this property to `true` to display a loading indicator while the data loads.
|
|
22473
|
+
*
|
|
22474
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22475
|
+
*
|
|
22476
|
+
* Default value is `false`.
|
|
22477
|
+
*
|
|
22478
|
+
* @since 1.136.19
|
|
22479
|
+
*
|
|
22480
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22481
|
+
*/
|
|
22482
|
+
setLoading(
|
|
22483
|
+
/**
|
|
22484
|
+
* New value for property `loading`
|
|
22485
|
+
*/
|
|
22486
|
+
bLoading?: boolean
|
|
22487
|
+
): this;
|
|
22488
|
+
/**
|
|
22489
|
+
* Sets a new value for property {@link #getLoadingText loadingText}.
|
|
22490
|
+
*
|
|
22491
|
+
* Text that is displayed when the loading is set.
|
|
22492
|
+
* This property takes effect only when the `loading` property is set to `true`.
|
|
22493
|
+
*
|
|
22494
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22495
|
+
*
|
|
22496
|
+
* Default value is `empty string`.
|
|
22497
|
+
*
|
|
22498
|
+
* @since 1.136.19
|
|
22499
|
+
*
|
|
22500
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22501
|
+
*/
|
|
22502
|
+
setLoadingText(
|
|
22503
|
+
/**
|
|
22504
|
+
* New value for property `loadingText`
|
|
22505
|
+
*/
|
|
22506
|
+
sLoadingText?: string
|
|
22507
|
+
): this;
|
|
21947
22508
|
/**
|
|
21948
22509
|
* Sets a new value for property {@link #getNoData noData}.
|
|
21949
22510
|
*
|
|
@@ -21983,6 +22544,27 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21983
22544
|
*/
|
|
21984
22545
|
sNoDataText?: string
|
|
21985
22546
|
): this;
|
|
22547
|
+
/**
|
|
22548
|
+
* Sets a new value for property {@link #getNodePorts nodePorts}.
|
|
22549
|
+
*
|
|
22550
|
+
* Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
|
|
22551
|
+
* nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
|
|
22552
|
+
* drop is enabled. Otherwise, this property is ignored.
|
|
22553
|
+
*
|
|
22554
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22555
|
+
*
|
|
22556
|
+
* Default value is `None`.
|
|
22557
|
+
*
|
|
22558
|
+
* @since 1.136.19
|
|
22559
|
+
*
|
|
22560
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22561
|
+
*/
|
|
22562
|
+
setNodePorts(
|
|
22563
|
+
/**
|
|
22564
|
+
* New value for property `nodePorts`
|
|
22565
|
+
*/
|
|
22566
|
+
sNodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any
|
|
22567
|
+
): this;
|
|
21986
22568
|
/**
|
|
21987
22569
|
* Sets a new value for property {@link #getOrientation orientation}.
|
|
21988
22570
|
*
|
|
@@ -22033,6 +22615,29 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22033
22615
|
*/
|
|
22034
22616
|
aItems: any[]
|
|
22035
22617
|
): void;
|
|
22618
|
+
/**
|
|
22619
|
+
* Sets a new value for property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
22620
|
+
*
|
|
22621
|
+
* This action button is used to create connections between nodes as an accessible alternative to node ports.
|
|
22622
|
+
* The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
|
|
22623
|
+
* is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
|
|
22624
|
+
* hidden. Hide this button when you want to implement your own way of creating connections between nodes
|
|
22625
|
+
* as an accessible alternative to node ports.
|
|
22626
|
+
*
|
|
22627
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
22628
|
+
*
|
|
22629
|
+
* Default value is `true`.
|
|
22630
|
+
*
|
|
22631
|
+
* @since 1.136.19
|
|
22632
|
+
*
|
|
22633
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
22634
|
+
*/
|
|
22635
|
+
setShowCreateConnectionButton(
|
|
22636
|
+
/**
|
|
22637
|
+
* New value for property `showCreateConnectionButton`
|
|
22638
|
+
*/
|
|
22639
|
+
bShowCreateConnectionButton?: boolean
|
|
22640
|
+
): this;
|
|
22036
22641
|
/**
|
|
22037
22642
|
* Sets a new value for property {@link #getWidth width}.
|
|
22038
22643
|
*
|
|
@@ -22060,6 +22665,29 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22060
22665
|
* Updates the legend.
|
|
22061
22666
|
*/
|
|
22062
22667
|
updateLegend(): void;
|
|
22668
|
+
/**
|
|
22669
|
+
* Re-rendering a node and all connected lines to update the positions of both the node and the lines. Note:
|
|
22670
|
+
* This method should be used only when the layout algorithm is set to NoopLayout and enableDragAndDrop
|
|
22671
|
+
* is set to true.
|
|
22672
|
+
*
|
|
22673
|
+
* @since 1.136.19
|
|
22674
|
+
*
|
|
22675
|
+
* @returns Reference to this for method chaining
|
|
22676
|
+
*/
|
|
22677
|
+
updateNodePosition(
|
|
22678
|
+
/**
|
|
22679
|
+
* Node instance or node key
|
|
22680
|
+
*/
|
|
22681
|
+
vNode: Node | string,
|
|
22682
|
+
/**
|
|
22683
|
+
* New X coordinate
|
|
22684
|
+
*/
|
|
22685
|
+
iX: number,
|
|
22686
|
+
/**
|
|
22687
|
+
* New Y coordinate
|
|
22688
|
+
*/
|
|
22689
|
+
iY: number
|
|
22690
|
+
): Graph;
|
|
22063
22691
|
/**
|
|
22064
22692
|
* Zooms in or out of the graph.
|
|
22065
22693
|
*/
|
|
@@ -22161,6 +22789,72 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22161
22789
|
*/
|
|
22162
22790
|
noDataText?: string | PropertyBindingInfo;
|
|
22163
22791
|
|
|
22792
|
+
/**
|
|
22793
|
+
* Set this property to `true` to display a loading indicator while the data loads.
|
|
22794
|
+
*
|
|
22795
|
+
* @since 1.136.19
|
|
22796
|
+
*/
|
|
22797
|
+
loading?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
22798
|
+
|
|
22799
|
+
/**
|
|
22800
|
+
* Text that is displayed when the loading is set.
|
|
22801
|
+
* This property takes effect only when the `loading` property is set to `true`.
|
|
22802
|
+
*
|
|
22803
|
+
* @since 1.136.19
|
|
22804
|
+
*/
|
|
22805
|
+
loadingText?: string | PropertyBindingInfo;
|
|
22806
|
+
|
|
22807
|
+
/**
|
|
22808
|
+
* Enables the drag and drop of nodes. This property is ignored if the layout property is not set to noop.
|
|
22809
|
+
* If set to `true`, nodes can be dragged and dropped within the graph.
|
|
22810
|
+
*
|
|
22811
|
+
* @since 1.136.19
|
|
22812
|
+
*/
|
|
22813
|
+
enableDragAndDrop?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
22814
|
+
|
|
22815
|
+
/**
|
|
22816
|
+
* Specifies the ports that are to be displayed on nodes. Ports are used for creating connections between
|
|
22817
|
+
* nodes. Ports are available only when the layout algorithm is set to "NoopLayout", and when the drag and
|
|
22818
|
+
* drop is enabled. Otherwise, this property is ignored.
|
|
22819
|
+
*
|
|
22820
|
+
* @since 1.136.19
|
|
22821
|
+
*/
|
|
22822
|
+
nodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */
|
|
22823
|
+
| any
|
|
22824
|
+
| PropertyBindingInfo
|
|
22825
|
+
| `{${string}}`;
|
|
22826
|
+
|
|
22827
|
+
/**
|
|
22828
|
+
* This action button is used to create connections between nodes as an accessible alternative to node ports.
|
|
22829
|
+
* The button is displayed on each node when the layout algorithm is set to "NoopLayout" and drag and drop
|
|
22830
|
+
* is enabled. shows the 'Create Connection' action button on node. If set to `false`, the button remains
|
|
22831
|
+
* hidden. Hide this button when you want to implement your own way of creating connections between nodes
|
|
22832
|
+
* as an accessible alternative to node ports.
|
|
22833
|
+
*
|
|
22834
|
+
* @since 1.136.19
|
|
22835
|
+
*/
|
|
22836
|
+
showCreateConnectionButton?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
22837
|
+
|
|
22838
|
+
/**
|
|
22839
|
+
* Mapping of connection types to their display text keys or custom text values. This allows customization
|
|
22840
|
+
* of how connection types are displayed in the connection creation popover. The mapping should be an object
|
|
22841
|
+
* where keys are connection type values (LeftToLeft, LeftToRight, RightToLeft, RightToRight) and values
|
|
22842
|
+
* are custom text that follows the correct format (e.g., "Start to End", "Source to Target"). If the format
|
|
22843
|
+
* is invalid or not provided, default values are used
|
|
22844
|
+
*
|
|
22845
|
+
* @since 1.136.19
|
|
22846
|
+
*/
|
|
22847
|
+
connectionTypeMapping?: object | PropertyBindingInfo | `{${string}}`;
|
|
22848
|
+
|
|
22849
|
+
/**
|
|
22850
|
+
* Custom labels for element types displayed in the SearchField suggestions and Legend section headers.
|
|
22851
|
+
* Supported keys: nodeLabel, nodeLabelPlural, lineLabel, lineLabelPlural, groupLabel, groupLabelPlural.
|
|
22852
|
+
* Reverts to the default values for keys that are not set.
|
|
22853
|
+
*
|
|
22854
|
+
* @since 1.149
|
|
22855
|
+
*/
|
|
22856
|
+
labels?: object | PropertyBindingInfo | `{${string}}`;
|
|
22857
|
+
|
|
22164
22858
|
/**
|
|
22165
22859
|
* Holds the lines to be displayed in the graph.
|
|
22166
22860
|
*/
|
|
@@ -22203,6 +22897,13 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22203
22897
|
*/
|
|
22204
22898
|
ariaLabelledBy?: Array<Control | string>;
|
|
22205
22899
|
|
|
22900
|
+
/**
|
|
22901
|
+
* Control or ID of an auxiliary control associated with this graph.
|
|
22902
|
+
*
|
|
22903
|
+
* @since 1.136.19
|
|
22904
|
+
*/
|
|
22905
|
+
associatedControl?: Control | string;
|
|
22906
|
+
|
|
22206
22907
|
/**
|
|
22207
22908
|
* This event is fired when the graph is fully rendered.
|
|
22208
22909
|
*/
|
|
@@ -22242,6 +22943,38 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22242
22943
|
* This event is fired when the user enters a keyword into the search field.
|
|
22243
22944
|
*/
|
|
22244
22945
|
search?: (oEvent: Graph$SearchEvent) => void;
|
|
22946
|
+
|
|
22947
|
+
/**
|
|
22948
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
22949
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
22950
|
+
*
|
|
22951
|
+
* @since 1.136.19
|
|
22952
|
+
*/
|
|
22953
|
+
nodeDropped?: (oEvent: Graph$NodeDroppedEvent) => void;
|
|
22954
|
+
|
|
22955
|
+
/**
|
|
22956
|
+
* This event is fired when a new connection is created between two nodes by using node ports.
|
|
22957
|
+
*
|
|
22958
|
+
* @since 1.136.19
|
|
22959
|
+
*/
|
|
22960
|
+
connectionCreated?: (oEvent: Graph$ConnectionCreatedEvent) => void;
|
|
22961
|
+
|
|
22962
|
+
/**
|
|
22963
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
22964
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
22965
|
+
* `true`.
|
|
22966
|
+
*
|
|
22967
|
+
* @since 1.136.19
|
|
22968
|
+
*/
|
|
22969
|
+
itemDeleted?: (oEvent: Graph$ItemDeletedEvent) => void;
|
|
22970
|
+
|
|
22971
|
+
/**
|
|
22972
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
22973
|
+
* used and enableDragAndDrop is `true`.
|
|
22974
|
+
*
|
|
22975
|
+
* @since 1.136.19
|
|
22976
|
+
*/
|
|
22977
|
+
nodeAdded?: (oEvent: Event) => void;
|
|
22245
22978
|
}
|
|
22246
22979
|
|
|
22247
22980
|
/**
|
|
@@ -22270,6 +23003,44 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22270
23003
|
Graph
|
|
22271
23004
|
>;
|
|
22272
23005
|
|
|
23006
|
+
/**
|
|
23007
|
+
* Parameters of the Graph#connectionCreated event.
|
|
23008
|
+
*/
|
|
23009
|
+
export interface Graph$ConnectionCreatedEventParameters {
|
|
23010
|
+
/**
|
|
23011
|
+
* The key of the source node.
|
|
23012
|
+
*/
|
|
23013
|
+
from?: string;
|
|
23014
|
+
|
|
23015
|
+
/**
|
|
23016
|
+
* The key of the target node.
|
|
23017
|
+
*/
|
|
23018
|
+
to?: string;
|
|
23019
|
+
|
|
23020
|
+
/**
|
|
23021
|
+
* The connection type defining how the line connects the source and target nodes.
|
|
23022
|
+
*/
|
|
23023
|
+
connectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any;
|
|
23024
|
+
|
|
23025
|
+
/**
|
|
23026
|
+
* The source node control instance.
|
|
23027
|
+
*/
|
|
23028
|
+
fromNode?: Node;
|
|
23029
|
+
|
|
23030
|
+
/**
|
|
23031
|
+
* The target node control instance.
|
|
23032
|
+
*/
|
|
23033
|
+
toNode?: Node;
|
|
23034
|
+
}
|
|
23035
|
+
|
|
23036
|
+
/**
|
|
23037
|
+
* Event object of the Graph#connectionCreated event.
|
|
23038
|
+
*/
|
|
23039
|
+
export type Graph$ConnectionCreatedEvent = Event<
|
|
23040
|
+
Graph$ConnectionCreatedEventParameters,
|
|
23041
|
+
Graph
|
|
23042
|
+
>;
|
|
23043
|
+
|
|
22273
23044
|
/**
|
|
22274
23045
|
* Parameters of the Graph#failure event.
|
|
22275
23046
|
*/
|
|
@@ -22303,6 +23074,65 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22303
23074
|
Graph
|
|
22304
23075
|
>;
|
|
22305
23076
|
|
|
23077
|
+
/**
|
|
23078
|
+
* Parameters of the Graph#itemDeleted event.
|
|
23079
|
+
*/
|
|
23080
|
+
export interface Graph$ItemDeletedEventParameters {
|
|
23081
|
+
/**
|
|
23082
|
+
* The item (node or line) that is to be deleted.
|
|
23083
|
+
*/
|
|
23084
|
+
item?: ElementBase;
|
|
23085
|
+
}
|
|
23086
|
+
|
|
23087
|
+
/**
|
|
23088
|
+
* Event object of the Graph#itemDeleted event.
|
|
23089
|
+
*/
|
|
23090
|
+
export type Graph$ItemDeletedEvent = Event<
|
|
23091
|
+
Graph$ItemDeletedEventParameters,
|
|
23092
|
+
Graph
|
|
23093
|
+
>;
|
|
23094
|
+
|
|
23095
|
+
/**
|
|
23096
|
+
* Parameters of the Graph#nodeAdded event.
|
|
23097
|
+
*/
|
|
23098
|
+
export interface Graph$NodeAddedEventParameters {}
|
|
23099
|
+
|
|
23100
|
+
/**
|
|
23101
|
+
* Event object of the Graph#nodeAdded event.
|
|
23102
|
+
*/
|
|
23103
|
+
export type Graph$NodeAddedEvent = Event<
|
|
23104
|
+
Graph$NodeAddedEventParameters,
|
|
23105
|
+
Graph
|
|
23106
|
+
>;
|
|
23107
|
+
|
|
23108
|
+
/**
|
|
23109
|
+
* Parameters of the Graph#nodeDropped event.
|
|
23110
|
+
*/
|
|
23111
|
+
export interface Graph$NodeDroppedEventParameters {
|
|
23112
|
+
/**
|
|
23113
|
+
* The node that was moved.
|
|
23114
|
+
*/
|
|
23115
|
+
node?: Node;
|
|
23116
|
+
|
|
23117
|
+
/**
|
|
23118
|
+
* The new x coordinate of the node.
|
|
23119
|
+
*/
|
|
23120
|
+
newX?: float;
|
|
23121
|
+
|
|
23122
|
+
/**
|
|
23123
|
+
* The new y coordinate of the node.
|
|
23124
|
+
*/
|
|
23125
|
+
newY?: float;
|
|
23126
|
+
}
|
|
23127
|
+
|
|
23128
|
+
/**
|
|
23129
|
+
* Event object of the Graph#nodeDropped event.
|
|
23130
|
+
*/
|
|
23131
|
+
export type Graph$NodeDroppedEvent = Event<
|
|
23132
|
+
Graph$NodeDroppedEventParameters,
|
|
23133
|
+
Graph
|
|
23134
|
+
>;
|
|
23135
|
+
|
|
22306
23136
|
/**
|
|
22307
23137
|
* Parameters of the Graph#search event.
|
|
22308
23138
|
*/
|
|
@@ -24222,6 +25052,8 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24222
25052
|
|
|
24223
25053
|
import LayoutTask from "sap/suite/ui/commons/networkgraph/layout/LayoutTask";
|
|
24224
25054
|
|
|
25055
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
25056
|
+
|
|
24225
25057
|
/**
|
|
24226
25058
|
* This is a simple layout algorithm that expects the positions of nodes to be already present. It only
|
|
24227
25059
|
* creates line coordinates (see {@link sap.suite.ui.commons.networkgraph.Line#setCoordinates}).
|
|
@@ -24235,9 +25067,6 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24235
25067
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
24236
25068
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
24237
25069
|
* of the syntax of the settings object.
|
|
24238
|
-
*
|
|
24239
|
-
* 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 }
|
|
24240
|
-
* can be used.
|
|
24241
25070
|
*/
|
|
24242
25071
|
constructor();
|
|
24243
25072
|
|
|
@@ -24272,22 +25101,115 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24272
25101
|
* @returns Metadata object describing this class
|
|
24273
25102
|
*/
|
|
24274
25103
|
static getMetadata(): ElementMetadata;
|
|
25104
|
+
/**
|
|
25105
|
+
* Gets current value of property {@link #getComponentArrangement componentArrangement}.
|
|
25106
|
+
*
|
|
25107
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
25108
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
25109
|
+
*
|
|
25110
|
+
* Default value is `Horizontal`.
|
|
25111
|
+
*
|
|
25112
|
+
* @since 1.136.19
|
|
25113
|
+
*
|
|
25114
|
+
* @returns Value of property `componentArrangement`
|
|
25115
|
+
*/
|
|
25116
|
+
getComponentArrangement(): networkgraph.ComponentArrangement;
|
|
25117
|
+
/**
|
|
25118
|
+
* Gets current value of property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
25119
|
+
*
|
|
25120
|
+
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
25121
|
+
* line creation.
|
|
25122
|
+
*
|
|
25123
|
+
* Default value is `false`.
|
|
25124
|
+
*
|
|
25125
|
+
*
|
|
25126
|
+
* @returns Value of property `enableOptimizedLineAlgorithm`
|
|
25127
|
+
*/
|
|
25128
|
+
getEnableOptimizedLineAlgorithm(): boolean;
|
|
24275
25129
|
/**
|
|
24276
25130
|
* Specifies the type of layout algorithm that defines the visual features and layout of the network graph.
|
|
25131
|
+
*
|
|
25132
|
+
*
|
|
25133
|
+
* @returns The layout render type.
|
|
24277
25134
|
*/
|
|
24278
25135
|
getLayoutRenderType(): networkgraph.LayoutRenderType;
|
|
24279
25136
|
/**
|
|
24280
|
-
* Executes the layout algorithm.
|
|
25137
|
+
* Executes the layout algorithm. Automatically calculates initial positions for unpositioned nodes using
|
|
25138
|
+
* DependencyLayoutHelper, then normalizes line coordinates.
|
|
24281
25139
|
*
|
|
24282
25140
|
*
|
|
24283
25141
|
* @returns Task to get the layout calculated.
|
|
24284
25142
|
*/
|
|
24285
25143
|
layout(): LayoutTask;
|
|
25144
|
+
/**
|
|
25145
|
+
* Sets a new value for property {@link #getComponentArrangement componentArrangement}.
|
|
25146
|
+
*
|
|
25147
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
25148
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
25149
|
+
*
|
|
25150
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25151
|
+
*
|
|
25152
|
+
* Default value is `Horizontal`.
|
|
25153
|
+
*
|
|
25154
|
+
* @since 1.136.19
|
|
25155
|
+
*
|
|
25156
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25157
|
+
*/
|
|
25158
|
+
setComponentArrangement(
|
|
25159
|
+
/**
|
|
25160
|
+
* New value for property `componentArrangement`
|
|
25161
|
+
*/
|
|
25162
|
+
sComponentArrangement?:
|
|
25163
|
+
| networkgraph.ComponentArrangement
|
|
25164
|
+
| keyof typeof networkgraph.ComponentArrangement
|
|
25165
|
+
): this;
|
|
25166
|
+
/**
|
|
25167
|
+
* Sets a new value for property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
25168
|
+
*
|
|
25169
|
+
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
25170
|
+
* line creation.
|
|
25171
|
+
*
|
|
25172
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25173
|
+
*
|
|
25174
|
+
* Default value is `false`.
|
|
25175
|
+
*
|
|
25176
|
+
*
|
|
25177
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25178
|
+
*/
|
|
25179
|
+
setEnableOptimizedLineAlgorithm(
|
|
25180
|
+
/**
|
|
25181
|
+
* New value for property `enableOptimizedLineAlgorithm`
|
|
25182
|
+
*/
|
|
25183
|
+
bEnableOptimizedLineAlgorithm?: boolean
|
|
25184
|
+
): this;
|
|
24286
25185
|
}
|
|
24287
25186
|
/**
|
|
24288
25187
|
* Describes the settings that can be provided to the NoopLayout constructor.
|
|
24289
25188
|
*/
|
|
24290
|
-
export interface $NoopLayoutSettings extends $LayoutAlgorithmSettings {
|
|
25189
|
+
export interface $NoopLayoutSettings extends $LayoutAlgorithmSettings {
|
|
25190
|
+
/**
|
|
25191
|
+
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
25192
|
+
* line creation.
|
|
25193
|
+
*/
|
|
25194
|
+
enableOptimizedLineAlgorithm?:
|
|
25195
|
+
| boolean
|
|
25196
|
+
| PropertyBindingInfo
|
|
25197
|
+
| `{${string}}`;
|
|
25198
|
+
|
|
25199
|
+
/**
|
|
25200
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
25201
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
25202
|
+
*
|
|
25203
|
+
* @since 1.136.19
|
|
25204
|
+
*/
|
|
25205
|
+
componentArrangement?:
|
|
25206
|
+
| (
|
|
25207
|
+
| networkgraph.ComponentArrangement
|
|
25208
|
+
| keyof typeof networkgraph.ComponentArrangement
|
|
25209
|
+
)
|
|
25210
|
+
| PropertyBindingInfo
|
|
25211
|
+
| `{${string}}`;
|
|
25212
|
+
}
|
|
24291
25213
|
}
|
|
24292
25214
|
|
|
24293
25215
|
declare module "sap/suite/ui/commons/networkgraph/layout/SwimLaneChainLayout" {
|
|
@@ -24779,6 +25701,23 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
|
|
|
24779
25701
|
* @returns Coordinates of the points shaping the line
|
|
24780
25702
|
*/
|
|
24781
25703
|
getBends(): Coordinate[];
|
|
25704
|
+
/**
|
|
25705
|
+
* Gets current value of property {@link #getConnectionType connectionType}.
|
|
25706
|
+
*
|
|
25707
|
+
* Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
|
|
25708
|
+
* TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
|
|
25709
|
+
* enumeration. This property is used to determine how the line connects the source and target nodes. For
|
|
25710
|
+
* example, if set to RightToLeft, the line starts from the right side of the source node and end at the
|
|
25711
|
+
* left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
|
|
25712
|
+
* network graph.
|
|
25713
|
+
*
|
|
25714
|
+
* Default value is `RightToLeft`.
|
|
25715
|
+
*
|
|
25716
|
+
* @since 1.136.19
|
|
25717
|
+
*
|
|
25718
|
+
* @returns Value of property `connectionType`
|
|
25719
|
+
*/
|
|
25720
|
+
getConnectionType(): /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any;
|
|
24782
25721
|
/**
|
|
24783
25722
|
* Gets content of aggregation {@link #getCoordinates coordinates}.
|
|
24784
25723
|
*
|
|
@@ -24803,6 +25742,23 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
|
|
|
24803
25742
|
* @returns Node instance where the line starts
|
|
24804
25743
|
*/
|
|
24805
25744
|
getFromNode(): object;
|
|
25745
|
+
/**
|
|
25746
|
+
* Gets current value of property {@link #getLabelName labelName}.
|
|
25747
|
+
*
|
|
25748
|
+
* Defines the text label to be displayed on the line.
|
|
25749
|
+
*
|
|
25750
|
+
* When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
|
|
25751
|
+
* is rendered only when all of the following conditions are met: - This property has a non-empty value
|
|
25752
|
+
* - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
|
|
25753
|
+
* to accommodate the label If this property is empty or not set, no label is displayed on the line
|
|
25754
|
+
*
|
|
25755
|
+
* Default value is `empty string`.
|
|
25756
|
+
*
|
|
25757
|
+
* @since 1.136.19
|
|
25758
|
+
*
|
|
25759
|
+
* @returns Value of property `labelName`
|
|
25760
|
+
*/
|
|
25761
|
+
getLabelName(): string;
|
|
24806
25762
|
/**
|
|
24807
25763
|
* Gets current value of property {@link #getLineType lineType}.
|
|
24808
25764
|
*
|
|
@@ -25013,6 +25969,30 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
|
|
|
25013
25969
|
| networkgraph.LineArrowPosition
|
|
25014
25970
|
| keyof typeof networkgraph.LineArrowPosition
|
|
25015
25971
|
): this;
|
|
25972
|
+
/**
|
|
25973
|
+
* Sets a new value for property {@link #getConnectionType connectionType}.
|
|
25974
|
+
*
|
|
25975
|
+
* Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
|
|
25976
|
+
* TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
|
|
25977
|
+
* enumeration. This property is used to determine how the line connects the source and target nodes. For
|
|
25978
|
+
* example, if set to RightToLeft, the line starts from the right side of the source node and end at the
|
|
25979
|
+
* left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
|
|
25980
|
+
* network graph.
|
|
25981
|
+
*
|
|
25982
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25983
|
+
*
|
|
25984
|
+
* Default value is `RightToLeft`.
|
|
25985
|
+
*
|
|
25986
|
+
* @since 1.136.19
|
|
25987
|
+
*
|
|
25988
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25989
|
+
*/
|
|
25990
|
+
setConnectionType(
|
|
25991
|
+
/**
|
|
25992
|
+
* New value for property `connectionType`
|
|
25993
|
+
*/
|
|
25994
|
+
sConnectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */ any
|
|
25995
|
+
): this;
|
|
25016
25996
|
/**
|
|
25017
25997
|
* Sets a new value for property {@link #getFrom from}.
|
|
25018
25998
|
*
|
|
@@ -25033,6 +26013,30 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
|
|
|
25033
26013
|
* Hides the line.
|
|
25034
26014
|
*/
|
|
25035
26015
|
setHidden(): void;
|
|
26016
|
+
/**
|
|
26017
|
+
* Sets a new value for property {@link #getLabelName labelName}.
|
|
26018
|
+
*
|
|
26019
|
+
* Defines the text label to be displayed on the line.
|
|
26020
|
+
*
|
|
26021
|
+
* When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
|
|
26022
|
+
* is rendered only when all of the following conditions are met: - This property has a non-empty value
|
|
26023
|
+
* - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
|
|
26024
|
+
* to accommodate the label If this property is empty or not set, no label is displayed on the line
|
|
26025
|
+
*
|
|
26026
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
26027
|
+
*
|
|
26028
|
+
* Default value is `empty string`.
|
|
26029
|
+
*
|
|
26030
|
+
* @since 1.136.19
|
|
26031
|
+
*
|
|
26032
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
26033
|
+
*/
|
|
26034
|
+
setLabelName(
|
|
26035
|
+
/**
|
|
26036
|
+
* New value for property `labelName`
|
|
26037
|
+
*/
|
|
26038
|
+
sLabelName?: string
|
|
26039
|
+
): this;
|
|
25036
26040
|
/**
|
|
25037
26041
|
* Sets a new value for property {@link #getLineType lineType}.
|
|
25038
26042
|
*
|
|
@@ -25182,6 +26186,33 @@ declare module "sap/suite/ui/commons/networkgraph/Line" {
|
|
|
25182
26186
|
*/
|
|
25183
26187
|
stretchToCenter?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
25184
26188
|
|
|
26189
|
+
/**
|
|
26190
|
+
* Defines the connection type between the source and target nodes. Can be set to RightToLeft, LeftToRight,
|
|
26191
|
+
* TopToBottom, or BottomToTop using {@link sap.suite.ui.commons.networkgraph.ConnectionType ConnectionType }
|
|
26192
|
+
* enumeration. This property is used to determine how the line connects the source and target nodes. For
|
|
26193
|
+
* example, if set to RightToLeft, the line starts from the right side of the source node and end at the
|
|
26194
|
+
* left side of the target node. This property is valid only with the NoopLayout and drag and drop enabled
|
|
26195
|
+
* network graph.
|
|
26196
|
+
*
|
|
26197
|
+
* @since 1.136.19
|
|
26198
|
+
*/
|
|
26199
|
+
connectionType?: /* was: sap.suite.ui.commons.networkgraph.ConnectionType */
|
|
26200
|
+
| any
|
|
26201
|
+
| PropertyBindingInfo
|
|
26202
|
+
| `{${string}}`;
|
|
26203
|
+
|
|
26204
|
+
/**
|
|
26205
|
+
* Defines the text label to be displayed on the line.
|
|
26206
|
+
*
|
|
26207
|
+
* When set, displays the label text in a rounded rectangle box positioned near the target arrow. The label
|
|
26208
|
+
* is rendered only when all of the following conditions are met: - This property has a non-empty value
|
|
26209
|
+
* - The graph is using NoopLayout - The line's arrowPosition is set to "Both" - The line is long enough
|
|
26210
|
+
* to accommodate the label If this property is empty or not set, no label is displayed on the line
|
|
26211
|
+
*
|
|
26212
|
+
* @since 1.136.19
|
|
26213
|
+
*/
|
|
26214
|
+
labelName?: string | PropertyBindingInfo;
|
|
26215
|
+
|
|
25185
26216
|
/**
|
|
25186
26217
|
* A list of points the line goes through. After the layouting algorithm has finished arranging the graph,
|
|
25187
26218
|
* this aggregation contains the coordinates of at least two points: the starting point and the end point
|
|
@@ -25907,6 +26938,18 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
25907
26938
|
* @returns Value of property `maxWidth`
|
|
25908
26939
|
*/
|
|
25909
26940
|
getMaxWidth(): int;
|
|
26941
|
+
/**
|
|
26942
|
+
* Gets current value of property {@link #getNodePorts nodePorts}.
|
|
26943
|
+
*
|
|
26944
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
26945
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
26946
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
26947
|
+
*
|
|
26948
|
+
* @since 1.136.19
|
|
26949
|
+
*
|
|
26950
|
+
* @returns Value of property `nodePorts`
|
|
26951
|
+
*/
|
|
26952
|
+
getNodePorts(): /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any;
|
|
25910
26953
|
/**
|
|
25911
26954
|
* Gets current value of property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
25912
26955
|
*
|
|
@@ -25967,6 +27010,21 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
25967
27010
|
* @returns Value of property `showActionLinksButton`
|
|
25968
27011
|
*/
|
|
25969
27012
|
getShowActionLinksButton(): boolean;
|
|
27013
|
+
/**
|
|
27014
|
+
* Gets current value of property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
27015
|
+
*
|
|
27016
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
27017
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
27018
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
27019
|
+
* ports.
|
|
27020
|
+
*
|
|
27021
|
+
* Default value is `true`.
|
|
27022
|
+
*
|
|
27023
|
+
* @since 1.136.19
|
|
27024
|
+
*
|
|
27025
|
+
* @returns Value of property `showCreateConnectionButton`
|
|
27026
|
+
*/
|
|
27027
|
+
getShowCreateConnectionButton(): boolean;
|
|
25970
27028
|
/**
|
|
25971
27029
|
* Gets current value of property {@link #getShowDetailButton showDetailButton}.
|
|
25972
27030
|
*
|
|
@@ -26584,6 +27642,25 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26584
27642
|
*/
|
|
26585
27643
|
iMaxWidth?: int
|
|
26586
27644
|
): this;
|
|
27645
|
+
/**
|
|
27646
|
+
* Sets a new value for property {@link #getNodePorts nodePorts}.
|
|
27647
|
+
*
|
|
27648
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
27649
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
27650
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
27651
|
+
*
|
|
27652
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
27653
|
+
*
|
|
27654
|
+
* @since 1.136.19
|
|
27655
|
+
*
|
|
27656
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
27657
|
+
*/
|
|
27658
|
+
setNodePorts(
|
|
27659
|
+
/**
|
|
27660
|
+
* New value for property `nodePorts`
|
|
27661
|
+
*/
|
|
27662
|
+
sNodePorts: /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any
|
|
27663
|
+
): this;
|
|
26587
27664
|
/**
|
|
26588
27665
|
* Sets a new value for property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
26589
27666
|
*
|
|
@@ -26658,6 +27735,28 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26658
27735
|
*/
|
|
26659
27736
|
bShowActionLinksButton?: boolean
|
|
26660
27737
|
): this;
|
|
27738
|
+
/**
|
|
27739
|
+
* Sets a new value for property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
27740
|
+
*
|
|
27741
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
27742
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
27743
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
27744
|
+
* ports.
|
|
27745
|
+
*
|
|
27746
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
27747
|
+
*
|
|
27748
|
+
* Default value is `true`.
|
|
27749
|
+
*
|
|
27750
|
+
* @since 1.136.19
|
|
27751
|
+
*
|
|
27752
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
27753
|
+
*/
|
|
27754
|
+
setShowCreateConnectionButton(
|
|
27755
|
+
/**
|
|
27756
|
+
* New value for property `showCreateConnectionButton`
|
|
27757
|
+
*/
|
|
27758
|
+
bShowCreateConnectionButton?: boolean
|
|
27759
|
+
): this;
|
|
26661
27760
|
/**
|
|
26662
27761
|
* Sets a new value for property {@link #getShowDetailButton showDetailButton}.
|
|
26663
27762
|
*
|
|
@@ -26987,6 +28086,28 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26987
28086
|
*/
|
|
26988
28087
|
nodeTitleBackground?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
26989
28088
|
|
|
28089
|
+
/**
|
|
28090
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
28091
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
28092
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
28093
|
+
*
|
|
28094
|
+
* @since 1.136.19
|
|
28095
|
+
*/
|
|
28096
|
+
nodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */
|
|
28097
|
+
| any
|
|
28098
|
+
| PropertyBindingInfo
|
|
28099
|
+
| `{${string}}`;
|
|
28100
|
+
|
|
28101
|
+
/**
|
|
28102
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
28103
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
28104
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
28105
|
+
* ports.
|
|
28106
|
+
*
|
|
28107
|
+
* @since 1.136.19
|
|
28108
|
+
*/
|
|
28109
|
+
showCreateConnectionButton?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
28110
|
+
|
|
26990
28111
|
/**
|
|
26991
28112
|
* A list of links to be shown in the links area. A link may point to any UI5 control. It's up to the caller
|
|
26992
28113
|
* to set up all necessary callback functions.
|
|
@@ -27883,6 +29004,45 @@ declare module "sap/suite/ui/commons/networkgraph/SvgBase" {
|
|
|
27883
29004
|
export interface $SvgBaseSettings extends $ControlSettings {}
|
|
27884
29005
|
}
|
|
27885
29006
|
|
|
29007
|
+
declare module "sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils" {
|
|
29008
|
+
/**
|
|
29009
|
+
* Utility class for calculating connection paths between nodes in network graphs. This utility provides
|
|
29010
|
+
* a method to normalize lines and calculate path coordinates based on different connection types.
|
|
29011
|
+
*
|
|
29012
|
+
* @since 1.136.19
|
|
29013
|
+
*/
|
|
29014
|
+
interface ConnectionPathUtils {}
|
|
29015
|
+
const ConnectionPathUtils: ConnectionPathUtils;
|
|
29016
|
+
export default ConnectionPathUtils;
|
|
29017
|
+
}
|
|
29018
|
+
|
|
29019
|
+
declare module "sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper" {
|
|
29020
|
+
/**
|
|
29021
|
+
* Utility class for calculating node positions based on dependency relationships. This utility arranges
|
|
29022
|
+
* nodes based on their dependency relationships using topological sorting, cycle detection, and layer-based
|
|
29023
|
+
* positioning.
|
|
29024
|
+
*
|
|
29025
|
+
* Why a node may be positioned incorrectly after recalculation: After each run, node positions are cached
|
|
29026
|
+
* with a flag indicating whether the user moved them (`bIsUserPositioned`). On the next call, nodes flagged
|
|
29027
|
+
* as user-positioned are preserved as-is, and the algorithm-placed nodes are recalculated. A node appears
|
|
29028
|
+
* in the wrong place if it is unexpectedly treated as user-positioned, most commonly because `clearCache:
|
|
29029
|
+
* true` was passed. It wipes the cache, but leaves the coordinates intact. So every node with non-zero
|
|
29030
|
+
* coordinates is immediately re-classified as user-positioned and freezes, rather than being recalculated.
|
|
29031
|
+
*
|
|
29032
|
+
* Drag and drop recalculation - correct pattern: Call `resetNode(oNode)` for each dragged node, then call
|
|
29033
|
+
* `calculatePositions` without `clearCache` (default `false`). `resetNode` evicts the node from the cache
|
|
29034
|
+
* and zeros its coordinates, so only that node is repositioned; all the other nodes remain stable.
|
|
29035
|
+
*
|
|
29036
|
+
* Sentinel value: Coordinates `(0, 0)` mean "unpositioned". To place a node at the canvas origin, use `(0.1,
|
|
29037
|
+
* 0.1)` or `(1, 1)` instead.
|
|
29038
|
+
*
|
|
29039
|
+
* @since 1.136.19
|
|
29040
|
+
*/
|
|
29041
|
+
interface DependencyLayoutHelper {}
|
|
29042
|
+
const DependencyLayoutHelper: DependencyLayoutHelper;
|
|
29043
|
+
export default DependencyLayoutHelper;
|
|
29044
|
+
}
|
|
29045
|
+
|
|
27886
29046
|
declare module "sap/suite/ui/commons/networkgraph/util/Dijkstra" {
|
|
27887
29047
|
import Graph from "sap/suite/ui/commons/networkgraph/Graph";
|
|
27888
29048
|
|
|
@@ -51594,6 +52754,10 @@ declare namespace sap {
|
|
|
51594
52754
|
|
|
51595
52755
|
"sap/suite/ui/commons/networkgraph/SvgBase": undefined;
|
|
51596
52756
|
|
|
52757
|
+
"sap/suite/ui/commons/networkgraph/util/ConnectionPathUtils": undefined;
|
|
52758
|
+
|
|
52759
|
+
"sap/suite/ui/commons/networkgraph/util/DependencyLayoutHelper": undefined;
|
|
52760
|
+
|
|
51597
52761
|
"sap/suite/ui/commons/networkgraph/util/Dijkstra": undefined;
|
|
51598
52762
|
|
|
51599
52763
|
"sap/suite/ui/commons/NewsContent": undefined;
|