@sapui5/types 1.144.1 → 1.146.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.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +167 -102
- package/types/sap.f.d.ts +73 -526
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +342 -21
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +188 -4
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1022 -207
- 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 +12 -1
- package/types/sap.fe.test.d.ts +150 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +172 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +350 -29
- 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.ovp.d.ts +31 -2
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +404 -21
- package/types/sap.suite.ui.generic.template.d.ts +46 -1
- package/types/sap.suite.ui.microchart.d.ts +2 -1
- package/types/sap.tnt.d.ts +27 -26
- 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 +73 -2
- package/types/sap.ui.core.d.ts +1181 -478
- 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 +9 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +65 -266
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +379 -51
- package/types/sap.ui.richtexteditor.d.ts +33 -11
- 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 +7 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +74 -3
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +376 -2
- package/types/sap.ui.vtm.d.ts +2 -2
- 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 +198 -136
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +18 -8
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ovp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.146.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ovp/library" {}
|
|
4
4
|
|
|
@@ -10,6 +10,8 @@ declare module "sap/ovp/app/Component" {
|
|
|
10
10
|
|
|
11
11
|
import ComponentMetadata from "sap/ui/core/ComponentMetadata";
|
|
12
12
|
|
|
13
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
14
|
+
|
|
13
15
|
/**
|
|
14
16
|
* Overview Page Application Component
|
|
15
17
|
*/
|
|
@@ -62,11 +64,38 @@ declare module "sap/ovp/app/Component" {
|
|
|
62
64
|
* @returns Metadata object describing this class
|
|
63
65
|
*/
|
|
64
66
|
static getMetadata(): ComponentMetadata;
|
|
67
|
+
/**
|
|
68
|
+
* Gets current value of property {@link #getRenderLeanView renderLeanView}.
|
|
69
|
+
*
|
|
70
|
+
* Default value is `true`.
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @returns Value of property `renderLeanView`
|
|
74
|
+
*/
|
|
75
|
+
getRenderLeanView(): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Sets a new value for property {@link #getRenderLeanView renderLeanView}.
|
|
78
|
+
*
|
|
79
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
80
|
+
*
|
|
81
|
+
* Default value is `true`.
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
85
|
+
*/
|
|
86
|
+
setRenderLeanView(
|
|
87
|
+
/**
|
|
88
|
+
* New value for property `renderLeanView`
|
|
89
|
+
*/
|
|
90
|
+
bRenderLeanView?: boolean
|
|
91
|
+
): this;
|
|
65
92
|
}
|
|
66
93
|
/**
|
|
67
94
|
* Describes the settings that can be provided to the Component constructor.
|
|
68
95
|
*/
|
|
69
|
-
export interface $ComponentSettings extends $AppComponentSettings {
|
|
96
|
+
export interface $ComponentSettings extends $AppComponentSettings {
|
|
97
|
+
renderLeanView?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
98
|
+
}
|
|
70
99
|
}
|
|
71
100
|
|
|
72
101
|
declare module "sap/ovp/app/TemplateBaseExtension" {
|
package/types/sap.rules.ui.d.ts
CHANGED
package/types/sap.sac.df.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.146.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
4
4
|
import BaseObject from "sap/ui/base/Object";
|
|
@@ -157,8 +157,6 @@ declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
|
157
157
|
declare module "sap/suite/ui/commons/collaboration/CollaborationHelper" {
|
|
158
158
|
/**
|
|
159
159
|
* CollaborationHelper for collaboration-related functionalities
|
|
160
|
-
*
|
|
161
|
-
* @since 1.108
|
|
162
160
|
*/
|
|
163
161
|
interface CollaborationHelper {
|
|
164
162
|
/**
|
|
@@ -1408,6 +1406,24 @@ declare module "sap/suite/ui/commons/library" {
|
|
|
1408
1406
|
*/
|
|
1409
1407
|
White = "White",
|
|
1410
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.145
|
|
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
|
+
}
|
|
1411
1427
|
/**
|
|
1412
1428
|
* Semantic type of the node status.
|
|
1413
1429
|
*
|
|
@@ -2824,6 +2840,57 @@ declare module "sap/suite/ui/commons/CalculationBuilder" {
|
|
|
2824
2840
|
*/
|
|
2825
2841
|
oListener?: object
|
|
2826
2842
|
): this;
|
|
2843
|
+
/**
|
|
2844
|
+
* Attaches event handler `fnFunction` to the {@link #event:focusChange focusChange} event of this `sap.suite.ui.commons.CalculationBuilder`.
|
|
2845
|
+
*
|
|
2846
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2847
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.CalculationBuilder` itself.
|
|
2848
|
+
*
|
|
2849
|
+
* This event is triggered when the focus leaves the input field.
|
|
2850
|
+
*
|
|
2851
|
+
* @since 1.146
|
|
2852
|
+
*
|
|
2853
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2854
|
+
*/
|
|
2855
|
+
attachFocusChange(
|
|
2856
|
+
/**
|
|
2857
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2858
|
+
* object when firing the event
|
|
2859
|
+
*/
|
|
2860
|
+
oData: object,
|
|
2861
|
+
/**
|
|
2862
|
+
* The function to be called when the event occurs
|
|
2863
|
+
*/
|
|
2864
|
+
fnFunction: (p1: CalculationBuilder$FocusChangeEvent) => void,
|
|
2865
|
+
/**
|
|
2866
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.CalculationBuilder`
|
|
2867
|
+
* itself
|
|
2868
|
+
*/
|
|
2869
|
+
oListener?: object
|
|
2870
|
+
): this;
|
|
2871
|
+
/**
|
|
2872
|
+
* Attaches event handler `fnFunction` to the {@link #event:focusChange focusChange} event of this `sap.suite.ui.commons.CalculationBuilder`.
|
|
2873
|
+
*
|
|
2874
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2875
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.CalculationBuilder` itself.
|
|
2876
|
+
*
|
|
2877
|
+
* This event is triggered when the focus leaves the input field.
|
|
2878
|
+
*
|
|
2879
|
+
* @since 1.146
|
|
2880
|
+
*
|
|
2881
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2882
|
+
*/
|
|
2883
|
+
attachFocusChange(
|
|
2884
|
+
/**
|
|
2885
|
+
* The function to be called when the event occurs
|
|
2886
|
+
*/
|
|
2887
|
+
fnFunction: (p1: CalculationBuilder$FocusChangeEvent) => void,
|
|
2888
|
+
/**
|
|
2889
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.CalculationBuilder`
|
|
2890
|
+
* itself
|
|
2891
|
+
*/
|
|
2892
|
+
oListener?: object
|
|
2893
|
+
): this;
|
|
2827
2894
|
/**
|
|
2828
2895
|
* Attaches event handler `fnFunction` to the {@link #event:validateFunction validateFunction} event of
|
|
2829
2896
|
* this `sap.suite.ui.commons.CalculationBuilder`.
|
|
@@ -2966,6 +3033,25 @@ declare module "sap/suite/ui/commons/CalculationBuilder" {
|
|
|
2966
3033
|
*/
|
|
2967
3034
|
oListener?: object
|
|
2968
3035
|
): this;
|
|
3036
|
+
/**
|
|
3037
|
+
* Detaches event handler `fnFunction` from the {@link #event:focusChange focusChange} event of this `sap.suite.ui.commons.CalculationBuilder`.
|
|
3038
|
+
*
|
|
3039
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
3040
|
+
*
|
|
3041
|
+
* @since 1.146
|
|
3042
|
+
*
|
|
3043
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3044
|
+
*/
|
|
3045
|
+
detachFocusChange(
|
|
3046
|
+
/**
|
|
3047
|
+
* The function to be called, when the event occurs
|
|
3048
|
+
*/
|
|
3049
|
+
fnFunction: (p1: CalculationBuilder$FocusChangeEvent) => void,
|
|
3050
|
+
/**
|
|
3051
|
+
* Context object on which the given function had to be called
|
|
3052
|
+
*/
|
|
3053
|
+
oListener?: object
|
|
3054
|
+
): this;
|
|
2969
3055
|
/**
|
|
2970
3056
|
* Detaches event handler `fnFunction` from the {@link #event:validateFunction validateFunction} event of
|
|
2971
3057
|
* this `sap.suite.ui.commons.CalculationBuilder`.
|
|
@@ -3011,6 +3097,20 @@ declare module "sap/suite/ui/commons/CalculationBuilder" {
|
|
|
3011
3097
|
*/
|
|
3012
3098
|
mParameters?: object
|
|
3013
3099
|
): this;
|
|
3100
|
+
/**
|
|
3101
|
+
* Fires event {@link #event:focusChange focusChange} to attached listeners.
|
|
3102
|
+
*
|
|
3103
|
+
* @since 1.146
|
|
3104
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3105
|
+
*
|
|
3106
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3107
|
+
*/
|
|
3108
|
+
fireFocusChange(
|
|
3109
|
+
/**
|
|
3110
|
+
* Parameters to pass along with the event
|
|
3111
|
+
*/
|
|
3112
|
+
mParameters?: CalculationBuilder$FocusChangeEventParameters
|
|
3113
|
+
): this;
|
|
3014
3114
|
/**
|
|
3015
3115
|
* Fires event {@link #event:validateFunction validateFunction} to attached listeners.
|
|
3016
3116
|
*
|
|
@@ -3941,6 +4041,13 @@ declare module "sap/suite/ui/commons/CalculationBuilder" {
|
|
|
3941
4041
|
* This event is fired after the expression is validated.
|
|
3942
4042
|
*/
|
|
3943
4043
|
afterValidation?: (oEvent: Event) => void;
|
|
4044
|
+
|
|
4045
|
+
/**
|
|
4046
|
+
* This event is triggered when the focus leaves the input field.
|
|
4047
|
+
*
|
|
4048
|
+
* @since 1.146
|
|
4049
|
+
*/
|
|
4050
|
+
focusChange?: (oEvent: CalculationBuilder$FocusChangeEvent) => void;
|
|
3944
4051
|
}
|
|
3945
4052
|
|
|
3946
4053
|
/**
|
|
@@ -3969,6 +4076,23 @@ declare module "sap/suite/ui/commons/CalculationBuilder" {
|
|
|
3969
4076
|
CalculationBuilder
|
|
3970
4077
|
>;
|
|
3971
4078
|
|
|
4079
|
+
/**
|
|
4080
|
+
* Parameters of the CalculationBuilder#focusChange event.
|
|
4081
|
+
*/
|
|
4082
|
+
export interface CalculationBuilder$FocusChangeEventParameters {
|
|
4083
|
+
value?: String;
|
|
4084
|
+
|
|
4085
|
+
position?: int;
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
/**
|
|
4089
|
+
* Event object of the CalculationBuilder#focusChange event.
|
|
4090
|
+
*/
|
|
4091
|
+
export type CalculationBuilder$FocusChangeEvent = Event<
|
|
4092
|
+
CalculationBuilder$FocusChangeEventParameters,
|
|
4093
|
+
CalculationBuilder
|
|
4094
|
+
>;
|
|
4095
|
+
|
|
3972
4096
|
/**
|
|
3973
4097
|
* Parameters of the CalculationBuilder#validateFunction event.
|
|
3974
4098
|
*/
|
|
@@ -6887,10 +7011,6 @@ declare module "sap/suite/ui/commons/CloudFilePicker" {
|
|
|
6887
7011
|
|
|
6888
7012
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
6889
7013
|
|
|
6890
|
-
/**
|
|
6891
|
-
* @since 1.101
|
|
6892
|
-
* @experimental
|
|
6893
|
-
*/
|
|
6894
7014
|
export default class CloudFilePicker extends Dialog {
|
|
6895
7015
|
/**
|
|
6896
7016
|
* Constructor of the CloudFilePicker
|
|
@@ -7427,8 +7547,6 @@ declare module "sap/suite/ui/commons/CloudFilePicker" {
|
|
|
7427
7547
|
}
|
|
7428
7548
|
/**
|
|
7429
7549
|
* Describes the settings that can be provided to the CloudFilePicker constructor.
|
|
7430
|
-
*
|
|
7431
|
-
* @experimental
|
|
7432
7550
|
*/
|
|
7433
7551
|
export interface $CloudFilePickerSettings extends $DialogSettings {
|
|
7434
7552
|
/**
|
|
@@ -20959,14 +21077,73 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
20959
21077
|
*/
|
|
20960
21078
|
oListener?: object
|
|
20961
21079
|
): this;
|
|
21080
|
+
/**
|
|
21081
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21082
|
+
*
|
|
21083
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21084
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
21085
|
+
*
|
|
21086
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
21087
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
21088
|
+
* `true`.
|
|
21089
|
+
*
|
|
21090
|
+
* @since 1.145
|
|
21091
|
+
*
|
|
21092
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21093
|
+
*/
|
|
21094
|
+
attachItemDeleted(
|
|
21095
|
+
/**
|
|
21096
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
21097
|
+
* object when firing the event
|
|
21098
|
+
*/
|
|
21099
|
+
oData: object,
|
|
21100
|
+
/**
|
|
21101
|
+
* The function to be called when the event occurs
|
|
21102
|
+
*/
|
|
21103
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
21104
|
+
/**
|
|
21105
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
21106
|
+
* itself
|
|
21107
|
+
*/
|
|
21108
|
+
oListener?: object
|
|
21109
|
+
): this;
|
|
21110
|
+
/**
|
|
21111
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21112
|
+
*
|
|
21113
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
21114
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
21115
|
+
*
|
|
21116
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
21117
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
21118
|
+
* `true`.
|
|
21119
|
+
*
|
|
21120
|
+
* @since 1.145
|
|
21121
|
+
*
|
|
21122
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21123
|
+
*/
|
|
21124
|
+
attachItemDeleted(
|
|
21125
|
+
/**
|
|
21126
|
+
* The function to be called when the event occurs
|
|
21127
|
+
*/
|
|
21128
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
21129
|
+
/**
|
|
21130
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
21131
|
+
* itself
|
|
21132
|
+
*/
|
|
21133
|
+
oListener?: object
|
|
21134
|
+
): this;
|
|
20962
21135
|
/**
|
|
20963
21136
|
* Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
20964
21137
|
*
|
|
20965
21138
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20966
21139
|
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20967
21140
|
*
|
|
20968
|
-
* This event is fired when a user drops a node in the graph. This event is available only
|
|
20969
|
-
*
|
|
21141
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
21142
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`. Note: When a
|
|
21143
|
+
* node is dropped near the TOP or LEFT boundary of the graph canvas, its position is automatically adjusted
|
|
21144
|
+
* (clamped) to ensure the node and its elements remain fully visible. This provides better visualization
|
|
21145
|
+
* by preventing nodes from being positioned at coordinates that would make them invisible or partially
|
|
21146
|
+
* hidden.
|
|
20970
21147
|
*
|
|
20971
21148
|
* @since 1.144
|
|
20972
21149
|
*
|
|
@@ -20994,8 +21171,12 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
20994
21171
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20995
21172
|
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
20996
21173
|
*
|
|
20997
|
-
* This event is fired when a user drops a node in the graph. This event is available only
|
|
20998
|
-
*
|
|
21174
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
21175
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`. Note: When a
|
|
21176
|
+
* node is dropped near the TOP or LEFT boundary of the graph canvas, its position is automatically adjusted
|
|
21177
|
+
* (clamped) to ensure the node and its elements remain fully visible. This provides better visualization
|
|
21178
|
+
* by preventing nodes from being positioned at coordinates that would make them invisible or partially
|
|
21179
|
+
* hidden.
|
|
20999
21180
|
*
|
|
21000
21181
|
* @since 1.144
|
|
21001
21182
|
*
|
|
@@ -21363,6 +21544,25 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21363
21544
|
*/
|
|
21364
21545
|
oListener?: object
|
|
21365
21546
|
): this;
|
|
21547
|
+
/**
|
|
21548
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemDeleted itemDeleted} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21549
|
+
*
|
|
21550
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
21551
|
+
*
|
|
21552
|
+
* @since 1.145
|
|
21553
|
+
*
|
|
21554
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21555
|
+
*/
|
|
21556
|
+
detachItemDeleted(
|
|
21557
|
+
/**
|
|
21558
|
+
* The function to be called, when the event occurs
|
|
21559
|
+
*/
|
|
21560
|
+
fnFunction: (p1: Graph$ItemDeletedEvent) => void,
|
|
21561
|
+
/**
|
|
21562
|
+
* Context object on which the given function had to be called
|
|
21563
|
+
*/
|
|
21564
|
+
oListener?: object
|
|
21565
|
+
): this;
|
|
21366
21566
|
/**
|
|
21367
21567
|
* Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
21368
21568
|
*
|
|
@@ -21522,6 +21722,20 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21522
21722
|
*/
|
|
21523
21723
|
mParameters?: object
|
|
21524
21724
|
): this;
|
|
21725
|
+
/**
|
|
21726
|
+
* Fires event {@link #event:itemDeleted itemDeleted} to attached listeners.
|
|
21727
|
+
*
|
|
21728
|
+
* @since 1.145
|
|
21729
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21730
|
+
*
|
|
21731
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
21732
|
+
*/
|
|
21733
|
+
fireItemDeleted(
|
|
21734
|
+
/**
|
|
21735
|
+
* Parameters to pass along with the event
|
|
21736
|
+
*/
|
|
21737
|
+
mParameters?: Graph$ItemDeletedEventParameters
|
|
21738
|
+
): this;
|
|
21525
21739
|
/**
|
|
21526
21740
|
* Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
|
|
21527
21741
|
*
|
|
@@ -22671,7 +22885,9 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22671
22885
|
|
|
22672
22886
|
/**
|
|
22673
22887
|
* 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.
|
|
22888
|
+
* If set to `true`, nodes can be dragged and dropped within the graph. Note: Drag and drop functionality
|
|
22889
|
+
* is only available for nodes. Groups cannot be dragged and dropped, even when NoopLayout is used and enableDragAndDrop
|
|
22890
|
+
* is set to true.
|
|
22675
22891
|
*
|
|
22676
22892
|
* @since 1.144
|
|
22677
22893
|
*/
|
|
@@ -22801,8 +23017,12 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22801
23017
|
search?: (oEvent: Graph$SearchEvent) => void;
|
|
22802
23018
|
|
|
22803
23019
|
/**
|
|
22804
|
-
* This event is fired when a user drops a node in the graph. This event is available only
|
|
22805
|
-
*
|
|
23020
|
+
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
23021
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`. Note: When a
|
|
23022
|
+
* node is dropped near the TOP or LEFT boundary of the graph canvas, its position is automatically adjusted
|
|
23023
|
+
* (clamped) to ensure the node and its elements remain fully visible. This provides better visualization
|
|
23024
|
+
* by preventing nodes from being positioned at coordinates that would make them invisible or partially
|
|
23025
|
+
* hidden.
|
|
22806
23026
|
*
|
|
22807
23027
|
* @since 1.144
|
|
22808
23028
|
*/
|
|
@@ -22814,6 +23034,15 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22814
23034
|
* @since 1.144
|
|
22815
23035
|
*/
|
|
22816
23036
|
connectionCreated?: (oEvent: Graph$ConnectionCreatedEvent) => void;
|
|
23037
|
+
|
|
23038
|
+
/**
|
|
23039
|
+
* This event is fired when a user presses the delete key on a focused node or line. This event is available
|
|
23040
|
+
* only when the layout algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to
|
|
23041
|
+
* `true`.
|
|
23042
|
+
*
|
|
23043
|
+
* @since 1.145
|
|
23044
|
+
*/
|
|
23045
|
+
itemDeleted?: (oEvent: Graph$ItemDeletedEvent) => void;
|
|
22817
23046
|
}
|
|
22818
23047
|
|
|
22819
23048
|
/**
|
|
@@ -22913,6 +23142,24 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
22913
23142
|
Graph
|
|
22914
23143
|
>;
|
|
22915
23144
|
|
|
23145
|
+
/**
|
|
23146
|
+
* Parameters of the Graph#itemDeleted event.
|
|
23147
|
+
*/
|
|
23148
|
+
export interface Graph$ItemDeletedEventParameters {
|
|
23149
|
+
/**
|
|
23150
|
+
* The item (node or line) that is to be deleted.
|
|
23151
|
+
*/
|
|
23152
|
+
item?: ElementBase;
|
|
23153
|
+
}
|
|
23154
|
+
|
|
23155
|
+
/**
|
|
23156
|
+
* Event object of the Graph#itemDeleted event.
|
|
23157
|
+
*/
|
|
23158
|
+
export type Graph$ItemDeletedEvent = Event<
|
|
23159
|
+
Graph$ItemDeletedEventParameters,
|
|
23160
|
+
Graph
|
|
23161
|
+
>;
|
|
23162
|
+
|
|
22916
23163
|
/**
|
|
22917
23164
|
* Parameters of the Graph#nodeDropped event.
|
|
22918
23165
|
*/
|
|
@@ -24953,6 +25200,19 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24953
25200
|
* @returns Metadata object describing this class
|
|
24954
25201
|
*/
|
|
24955
25202
|
static getMetadata(): ElementMetadata;
|
|
25203
|
+
/**
|
|
25204
|
+
* Gets current value of property {@link #getComponentArrangement componentArrangement}.
|
|
25205
|
+
*
|
|
25206
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
25207
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
25208
|
+
*
|
|
25209
|
+
* Default value is `Horizontal`.
|
|
25210
|
+
*
|
|
25211
|
+
* @since 1.146
|
|
25212
|
+
*
|
|
25213
|
+
* @returns Value of property `componentArrangement`
|
|
25214
|
+
*/
|
|
25215
|
+
getComponentArrangement(): networkgraph.ComponentArrangement;
|
|
24956
25216
|
/**
|
|
24957
25217
|
* Gets current value of property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
24958
25218
|
*
|
|
@@ -24961,7 +25221,6 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24961
25221
|
*
|
|
24962
25222
|
* Default value is `false`.
|
|
24963
25223
|
*
|
|
24964
|
-
* @since 1.144
|
|
24965
25224
|
*
|
|
24966
25225
|
* @returns Value of property `enableOptimizedLineAlgorithm`
|
|
24967
25226
|
*/
|
|
@@ -24974,12 +25233,35 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24974
25233
|
*/
|
|
24975
25234
|
getLayoutRenderType(): networkgraph.LayoutRenderType;
|
|
24976
25235
|
/**
|
|
24977
|
-
* Executes the layout algorithm.
|
|
25236
|
+
* Executes the layout algorithm. Automatically calculates initial positions for unpositioned nodes using
|
|
25237
|
+
* DependencyLayoutHelper, then normalizes line coordinates.
|
|
24978
25238
|
*
|
|
24979
25239
|
*
|
|
24980
25240
|
* @returns Task to get the layout calculated.
|
|
24981
25241
|
*/
|
|
24982
25242
|
layout(): LayoutTask;
|
|
25243
|
+
/**
|
|
25244
|
+
* Sets a new value for property {@link #getComponentArrangement componentArrangement}.
|
|
25245
|
+
*
|
|
25246
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
25247
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
25248
|
+
*
|
|
25249
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
25250
|
+
*
|
|
25251
|
+
* Default value is `Horizontal`.
|
|
25252
|
+
*
|
|
25253
|
+
* @since 1.146
|
|
25254
|
+
*
|
|
25255
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
25256
|
+
*/
|
|
25257
|
+
setComponentArrangement(
|
|
25258
|
+
/**
|
|
25259
|
+
* New value for property `componentArrangement`
|
|
25260
|
+
*/
|
|
25261
|
+
sComponentArrangement?:
|
|
25262
|
+
| networkgraph.ComponentArrangement
|
|
25263
|
+
| keyof typeof networkgraph.ComponentArrangement
|
|
25264
|
+
): this;
|
|
24983
25265
|
/**
|
|
24984
25266
|
* Sets a new value for property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
24985
25267
|
*
|
|
@@ -24990,7 +25272,6 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
24990
25272
|
*
|
|
24991
25273
|
* Default value is `false`.
|
|
24992
25274
|
*
|
|
24993
|
-
* @since 1.144
|
|
24994
25275
|
*
|
|
24995
25276
|
* @returns Reference to `this` in order to allow method chaining
|
|
24996
25277
|
*/
|
|
@@ -25008,13 +25289,25 @@ declare module "sap/suite/ui/commons/networkgraph/layout/NoopLayout" {
|
|
|
25008
25289
|
/**
|
|
25009
25290
|
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
25010
25291
|
* line creation.
|
|
25011
|
-
*
|
|
25012
|
-
* @since 1.144
|
|
25013
25292
|
*/
|
|
25014
25293
|
enableOptimizedLineAlgorithm?:
|
|
25015
25294
|
| boolean
|
|
25016
25295
|
| PropertyBindingInfo
|
|
25017
25296
|
| `{${string}}`;
|
|
25297
|
+
|
|
25298
|
+
/**
|
|
25299
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
25300
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
25301
|
+
*
|
|
25302
|
+
* @since 1.146
|
|
25303
|
+
*/
|
|
25304
|
+
componentArrangement?:
|
|
25305
|
+
| (
|
|
25306
|
+
| networkgraph.ComponentArrangement
|
|
25307
|
+
| keyof typeof networkgraph.ComponentArrangement
|
|
25308
|
+
)
|
|
25309
|
+
| PropertyBindingInfo
|
|
25310
|
+
| `{${string}}`;
|
|
25018
25311
|
}
|
|
25019
25312
|
}
|
|
25020
25313
|
|
|
@@ -26784,6 +27077,18 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26784
27077
|
* @returns Value of property `maxWidth`
|
|
26785
27078
|
*/
|
|
26786
27079
|
getMaxWidth(): int;
|
|
27080
|
+
/**
|
|
27081
|
+
* Gets current value of property {@link #getNodePorts nodePorts}.
|
|
27082
|
+
*
|
|
27083
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
27084
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
27085
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
27086
|
+
*
|
|
27087
|
+
* @since 1.145
|
|
27088
|
+
*
|
|
27089
|
+
* @returns Value of property `nodePorts`
|
|
27090
|
+
*/
|
|
27091
|
+
getNodePorts(): /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any;
|
|
26787
27092
|
/**
|
|
26788
27093
|
* Gets current value of property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
26789
27094
|
*
|
|
@@ -26844,6 +27149,21 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26844
27149
|
* @returns Value of property `showActionLinksButton`
|
|
26845
27150
|
*/
|
|
26846
27151
|
getShowActionLinksButton(): boolean;
|
|
27152
|
+
/**
|
|
27153
|
+
* Gets current value of property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
27154
|
+
*
|
|
27155
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
27156
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
27157
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
27158
|
+
* ports.
|
|
27159
|
+
*
|
|
27160
|
+
* Default value is `true`.
|
|
27161
|
+
*
|
|
27162
|
+
* @since 1.145
|
|
27163
|
+
*
|
|
27164
|
+
* @returns Value of property `showCreateConnectionButton`
|
|
27165
|
+
*/
|
|
27166
|
+
getShowCreateConnectionButton(): boolean;
|
|
26847
27167
|
/**
|
|
26848
27168
|
* Gets current value of property {@link #getShowDetailButton showDetailButton}.
|
|
26849
27169
|
*
|
|
@@ -27461,6 +27781,25 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
27461
27781
|
*/
|
|
27462
27782
|
iMaxWidth?: int
|
|
27463
27783
|
): this;
|
|
27784
|
+
/**
|
|
27785
|
+
* Sets a new value for property {@link #getNodePorts nodePorts}.
|
|
27786
|
+
*
|
|
27787
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
27788
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
27789
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
27790
|
+
*
|
|
27791
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
27792
|
+
*
|
|
27793
|
+
* @since 1.145
|
|
27794
|
+
*
|
|
27795
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
27796
|
+
*/
|
|
27797
|
+
setNodePorts(
|
|
27798
|
+
/**
|
|
27799
|
+
* New value for property `nodePorts`
|
|
27800
|
+
*/
|
|
27801
|
+
sNodePorts: /* was: sap.suite.ui.commons.networkgraph.NodePorts */ any
|
|
27802
|
+
): this;
|
|
27464
27803
|
/**
|
|
27465
27804
|
* Sets a new value for property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
27466
27805
|
*
|
|
@@ -27535,6 +27874,28 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
27535
27874
|
*/
|
|
27536
27875
|
bShowActionLinksButton?: boolean
|
|
27537
27876
|
): this;
|
|
27877
|
+
/**
|
|
27878
|
+
* Sets a new value for property {@link #getShowCreateConnectionButton showCreateConnectionButton}.
|
|
27879
|
+
*
|
|
27880
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
27881
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
27882
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
27883
|
+
* ports.
|
|
27884
|
+
*
|
|
27885
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
27886
|
+
*
|
|
27887
|
+
* Default value is `true`.
|
|
27888
|
+
*
|
|
27889
|
+
* @since 1.145
|
|
27890
|
+
*
|
|
27891
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
27892
|
+
*/
|
|
27893
|
+
setShowCreateConnectionButton(
|
|
27894
|
+
/**
|
|
27895
|
+
* New value for property `showCreateConnectionButton`
|
|
27896
|
+
*/
|
|
27897
|
+
bShowCreateConnectionButton?: boolean
|
|
27898
|
+
): this;
|
|
27538
27899
|
/**
|
|
27539
27900
|
* Sets a new value for property {@link #getShowDetailButton showDetailButton}.
|
|
27540
27901
|
*
|
|
@@ -27864,6 +28225,28 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
27864
28225
|
*/
|
|
27865
28226
|
nodeTitleBackground?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
27866
28227
|
|
|
28228
|
+
/**
|
|
28229
|
+
* Determines the port configuration for this node. When set, it overrides the graph-level nodePorts setting.
|
|
28230
|
+
* If not set (defaults to None), the graph-level setting is used. Ports are available only when the layout
|
|
28231
|
+
* algorithm is set to "NoopLayout", and when the drag and drop is enabled.
|
|
28232
|
+
*
|
|
28233
|
+
* @since 1.145
|
|
28234
|
+
*/
|
|
28235
|
+
nodePorts?: /* was: sap.suite.ui.commons.networkgraph.NodePorts */
|
|
28236
|
+
| any
|
|
28237
|
+
| PropertyBindingInfo
|
|
28238
|
+
| `{${string}}`;
|
|
28239
|
+
|
|
28240
|
+
/**
|
|
28241
|
+
* Determines whether the 'Create Connection' action button is displayed on this node. When set, it overrides
|
|
28242
|
+
* the graph-level showCreateConnectionButton setting. If set to default (true), the graph-level setting
|
|
28243
|
+
* is used. The button is used to create connections between nodes as an accessible alternative to node
|
|
28244
|
+
* ports.
|
|
28245
|
+
*
|
|
28246
|
+
* @since 1.145
|
|
28247
|
+
*/
|
|
28248
|
+
showCreateConnectionButton?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
28249
|
+
|
|
27867
28250
|
/**
|
|
27868
28251
|
* 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
|
|
27869
28252
|
* to set up all necessary callback functions.
|