@sapui5/ts-types 1.150.1 → 1.152.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/index.d.ts +1 -0
- 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 +427 -157
- package/types/sap.f.d.ts +1189 -292
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +2 -222
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +61 -9
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +220 -85
- package/types/sap.fe.navigation.d.ts +3 -2
- 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 -2
- package/types/sap.fe.test.d.ts +3 -3
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +138 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +246 -3
- 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 +1 -1
- 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 +957 -1
- 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 +178 -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 +4 -2
- package/types/sap.ui.core.d.ts +561 -245
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +7 -1
- package/types/sap.ui.fl.d.ts +1 -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 +10393 -8758
- package/types/sap.ui.integration.d.ts +130 -326
- package/types/sap.ui.joule.frontend.d.ts +710 -0
- package/types/sap.ui.layout.d.ts +33 -7
- package/types/sap.ui.mdc.d.ts +36 -8
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +4 -4
- 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 +2 -2
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +160 -1
- 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 +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +84 -47
- 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.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.fe.ariba.d.ts
CHANGED
package/types/sap.fe.base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.152.0
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
declare namespace sap {
|
|
@@ -15,87 +15,6 @@ namespace base {
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
namespace BindingToolkit {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* A binding expression that evaluates to type T.
|
|
27
|
-
*
|
|
28
|
-
* @experimental As of version 1.145.0.
|
|
29
|
-
*/
|
|
30
|
-
type BindingToolkitExpression = {
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
namespace ClassSupport {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Represents the state object of a building block.
|
|
44
|
-
*
|
|
45
|
-
* @experimental As of version 1.145.0.
|
|
46
|
-
*/
|
|
47
|
-
type BindingInfoHolder = {
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Represents the state object of a building block.
|
|
52
|
-
*
|
|
53
|
-
* @experimental As of version 1.145.0.
|
|
54
|
-
*/
|
|
55
|
-
type ExtendWithObject = {
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Returns the properties of a control.
|
|
60
|
-
*
|
|
61
|
-
* @experimental As of version 1.145.0.
|
|
62
|
-
*/
|
|
63
|
-
type PropertiesOf = {
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Represents the state object of a building block.
|
|
68
|
-
*
|
|
69
|
-
* @experimental As of version 1.145.0.
|
|
70
|
-
*/
|
|
71
|
-
type StateOf = {
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Definition of a UI5 aggregation metadata.
|
|
76
|
-
*
|
|
77
|
-
* @experimental As of version 1.145.0.
|
|
78
|
-
*/
|
|
79
|
-
type UI5AggregationMetadata = {
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Definition of a UI5 association metadata.
|
|
84
|
-
*
|
|
85
|
-
* @experimental As of version 1.145.0.
|
|
86
|
-
*/
|
|
87
|
-
type UI5AssociationMetadata = {
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Definition of a UI5 property metadata.
|
|
92
|
-
*
|
|
93
|
-
* @experimental As of version 1.145.0.
|
|
94
|
-
*/
|
|
95
|
-
type UI5PropertyMetadata = {
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
}
|
|
99
18
|
/**
|
|
100
19
|
* Describes the settings that can be provided to the BuildingBlockBase constructor.
|
|
101
20
|
*/
|
|
@@ -123,115 +42,6 @@ ariaLabelledBy? : sap.ui.core.Control | string
|
|
|
123
42
|
|
|
124
43
|
}
|
|
125
44
|
|
|
126
|
-
/**
|
|
127
|
-
* Collection of functions to support the manipulation of UI5 bindings
|
|
128
|
-
*
|
|
129
|
-
* @experimental As of version 1.145.0.
|
|
130
|
-
*/
|
|
131
|
-
interface BindingToolkit {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Collection of decorators to support the creation of UI5 classes.
|
|
138
|
-
*/
|
|
139
|
-
interface ClassSupport {
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Defines and configures the following aggregation in the control metadata.
|
|
143
|
-
*
|
|
144
|
-
* @experimental As of version 1.145.0.
|
|
145
|
-
*
|
|
146
|
-
* @returns The decorated property.
|
|
147
|
-
*/
|
|
148
|
-
aggregation(
|
|
149
|
-
/**
|
|
150
|
-
* The aggregation definition
|
|
151
|
-
*/
|
|
152
|
-
aggregationDefinition: sap.fe.base.ClassSupport.UI5AggregationMetadata
|
|
153
|
-
): PropertyDecorator
|
|
154
|
-
/**
|
|
155
|
-
* Defines and configures the following association in the control metadata.
|
|
156
|
-
*
|
|
157
|
-
* @experimental As of version 1.145.0.
|
|
158
|
-
*
|
|
159
|
-
* @returns The decorated property
|
|
160
|
-
*/
|
|
161
|
-
association(
|
|
162
|
-
/**
|
|
163
|
-
* The definition of the association.
|
|
164
|
-
*/
|
|
165
|
-
ui5AssociationMetadata: sap.fe.base.ClassSupport.UI5AssociationMetadata
|
|
166
|
-
): PropertyDecorator
|
|
167
|
-
/**
|
|
168
|
-
* Allows to define a property that holds the control state.
|
|
169
|
-
* Properties defined with this decorator are automatically bound to the control state when used in JSX.
|
|
170
|
-
* Arrays need to be bound using the `bindState` function.
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* @experimental As of version 1.145.0.
|
|
174
|
-
*
|
|
175
|
-
* @returns A property decorator
|
|
176
|
-
*/
|
|
177
|
-
defineState(
|
|
178
|
-
|
|
179
|
-
): PropertyDecorator
|
|
180
|
-
/**
|
|
181
|
-
* Indicates that the following class should define a UI5 control of the specified name.
|
|
182
|
-
*
|
|
183
|
-
* @experimental As of version 1.145.0.
|
|
184
|
-
*
|
|
185
|
-
* @returns A class decorator that creates a UI5 class out of the TS class
|
|
186
|
-
*/
|
|
187
|
-
defineUI5Class(
|
|
188
|
-
/**
|
|
189
|
-
* The fully qualified name of the UI5 class
|
|
190
|
-
*/
|
|
191
|
-
target: string,
|
|
192
|
-
/**
|
|
193
|
-
* Additional inline metadata definition
|
|
194
|
-
*/
|
|
195
|
-
metadataDefinition?: Partial</* was: sap.fe.base.ClassSupport.UI5ControlMetadataDefinition */ any>
|
|
196
|
-
): ClassDecorator
|
|
197
|
-
/**
|
|
198
|
-
* Indicates that the property is declared as an event on the control metadata.
|
|
199
|
-
*
|
|
200
|
-
* @experimental As of version 1.145.0.
|
|
201
|
-
*
|
|
202
|
-
* @returns The decorated property
|
|
203
|
-
*/
|
|
204
|
-
event(
|
|
205
|
-
|
|
206
|
-
): PropertyDecorator
|
|
207
|
-
/**
|
|
208
|
-
* Defines in the metadata that this control implements a specific interface.
|
|
209
|
-
*
|
|
210
|
-
* @experimental As of version 1.144.0.
|
|
211
|
-
*
|
|
212
|
-
* @returns The decorated method
|
|
213
|
-
*/
|
|
214
|
-
implementInterface(
|
|
215
|
-
/**
|
|
216
|
-
* The name of the implemented interface
|
|
217
|
-
*/
|
|
218
|
-
interfaceName: string
|
|
219
|
-
): PropertyDecorator
|
|
220
|
-
/**
|
|
221
|
-
* Defines the following property as a managed object in the control metadata.
|
|
222
|
-
*
|
|
223
|
-
* @experimental As of version 1.145.0.
|
|
224
|
-
*
|
|
225
|
-
* @returns The decorated property.
|
|
226
|
-
*/
|
|
227
|
-
property(
|
|
228
|
-
/**
|
|
229
|
-
* The property definition
|
|
230
|
-
*/
|
|
231
|
-
attributeDefinition: sap.fe.base.ClassSupport.UI5PropertyMetadata
|
|
232
|
-
): PropertyDecorator
|
|
233
|
-
}
|
|
234
|
-
|
|
235
45
|
/**
|
|
236
46
|
* Base class for building blocks.
|
|
237
47
|
* This contains the low-level functionality of having a content aggregation and handling the rendering
|
|
@@ -246,31 +56,7 @@ attributeDefinition: sap.fe.base.ClassSupport.UI5PropertyMetadata
|
|
|
246
56
|
class BuildingBlockBase extends sap.ui.core.Control {
|
|
247
57
|
|
|
248
58
|
|
|
249
|
-
|
|
250
|
-
* Shorthand for the BindingToolkit.bindState function with the current state object.
|
|
251
|
-
*
|
|
252
|
-
* @experimental As of version 1.145.0.
|
|
253
|
-
*
|
|
254
|
-
* @returns The binding toolkit expression for the state
|
|
255
|
-
*/
|
|
256
|
-
bindState(
|
|
257
|
-
/**
|
|
258
|
-
* A property in the state object
|
|
259
|
-
*/
|
|
260
|
-
path:
|
|
261
|
-
): /* was: sap.fe.base.BindingToolkit.BindingToolkitExpression */ any
|
|
262
|
-
/**
|
|
263
|
-
* Framework hook for state change handling.
|
|
264
|
-
* Subclasses can override this method to react to state changes.
|
|
265
|
-
*
|
|
266
|
-
* @experimental As of version 1.145.0.
|
|
267
|
-
*/
|
|
268
|
-
onStateChange(
|
|
269
|
-
/**
|
|
270
|
-
* List of changed property names
|
|
271
|
-
*/
|
|
272
|
-
_changedProps: string[]
|
|
273
|
-
): void
|
|
59
|
+
|
|
274
60
|
}
|
|
275
61
|
|
|
276
62
|
|
|
@@ -283,15 +69,9 @@ _changedProps: string[]
|
|
|
283
69
|
|
|
284
70
|
interface IUI5DefineDependencyNames {
|
|
285
71
|
|
|
286
|
-
"sap/fe/base/BindingToolkit" : undefined
|
|
287
|
-
|
|
288
|
-
|
|
289
72
|
"sap/fe/base/BuildingBlockBase" : undefined
|
|
290
73
|
|
|
291
74
|
|
|
292
|
-
"sap/fe/base/ClassSupport" : undefined
|
|
293
|
-
|
|
294
|
-
|
|
295
75
|
"sap/fe/base/library" : undefined
|
|
296
76
|
|
|
297
77
|
|
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.152.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -14,6 +14,20 @@ declare namespace sap {
|
|
|
14
14
|
* can override to allow more flexibility.
|
|
15
15
|
*/
|
|
16
16
|
namespace controllerextensions {
|
|
17
|
+
namespace IntentBasedNavigation {
|
|
18
|
+
/**
|
|
19
|
+
* A navigation target that appears in a popover for semantic object links.
|
|
20
|
+
* Use this type to add or remove entries in {@link sap.fe.core.controllerextensions.IntentBasedNavigation#adaptNavigationTargets }.
|
|
21
|
+
* To remove an existing target, find it by `semanticObject` and `action` and remove it from the array.
|
|
22
|
+
* To add a new target, push a new object with the desired `semanticObject` and `action`.
|
|
23
|
+
* SAP Fiori elements resolves the navigation URL and applies the current row parameters automatically.
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* @since 1.152.0
|
|
27
|
+
*/
|
|
28
|
+
type NavigationTarget = {};
|
|
29
|
+
}
|
|
30
|
+
|
|
17
31
|
namespace MessageHandler {
|
|
18
32
|
/**
|
|
19
33
|
* Defines the message details relevant for the MessageButton building block to display a popover.
|
|
@@ -759,6 +773,43 @@ declare namespace sap {
|
|
|
759
773
|
sourceControl: /* was: sap.fe.macros.Field */ any | undefined;
|
|
760
774
|
}
|
|
761
775
|
): void;
|
|
776
|
+
/**
|
|
777
|
+
* Use this method to modify the navigation targets that appear in the popover for semantic object links.
|
|
778
|
+
* The array is provided before the popover opens and can be modified in place to add, remove, or reorder
|
|
779
|
+
* targets.
|
|
780
|
+
* The system resolves URL parameters for newly added targets in the same way as for native targets. When
|
|
781
|
+
* you navigate, the system calls
|
|
782
|
+
* {@link sap.fe.core.controllerextensions.IntentBasedNavigation#adaptNavigationContext } for these targets.
|
|
783
|
+
* Each entry is a {@link sap.fe.core.controllerextensions.IntentBasedNavigation.NavigationTarget } identified
|
|
784
|
+
* by its `semanticObject` and `action`.
|
|
785
|
+
*
|
|
786
|
+
*
|
|
787
|
+
* @since 1.152.0
|
|
788
|
+
*/
|
|
789
|
+
adaptNavigationTargets(
|
|
790
|
+
/**
|
|
791
|
+
* Array of navigation targets to be shown in the popover. Modify in place to add, remove, or reorder entries.
|
|
792
|
+
*/
|
|
793
|
+
_navigationTargets: sap.fe.core.controllerextensions.IntentBasedNavigation.NavigationTarget[],
|
|
794
|
+
/**
|
|
795
|
+
* Object containing navigation-related context
|
|
796
|
+
*/
|
|
797
|
+
_oNavigationInfo: {
|
|
798
|
+
/**
|
|
799
|
+
* The binding context of the source row or field, providing access to the current record's data
|
|
800
|
+
*/
|
|
801
|
+
bindingContext: sap.ui.model.Context;
|
|
802
|
+
/**
|
|
803
|
+
* All semantic objects registered for the link field
|
|
804
|
+
*/
|
|
805
|
+
semanticObjects: string[];
|
|
806
|
+
/**
|
|
807
|
+
* The {@link sap.fe.macros.Field} building block instance that triggered the navigation, or undefined if
|
|
808
|
+
* not triggered from a field.
|
|
809
|
+
*/
|
|
810
|
+
sourceControl: /* was: sap.fe.macros.Field */ any | undefined;
|
|
811
|
+
}
|
|
812
|
+
): void;
|
|
762
813
|
/**
|
|
763
814
|
* Navigates to an intent defined by an outbound definition in the manifest.
|
|
764
815
|
*
|
|
@@ -997,8 +1048,8 @@ declare namespace sap {
|
|
|
997
1048
|
extends sap.fe.core.controllerextensions.BaseControllerExtension
|
|
998
1049
|
{
|
|
999
1050
|
/**
|
|
1000
|
-
* Adapts the metadata used while sharing the page URL using 'Send Email', 'Share
|
|
1001
|
-
* as Tile'.
|
|
1051
|
+
* Adapts the metadata used while sharing the page URL using 'Send Email', 'Share on SAP Build Work Zone',
|
|
1052
|
+
* and 'Save as Tile'.
|
|
1002
1053
|
*
|
|
1003
1054
|
* @since 1.93.0
|
|
1004
1055
|
*
|
|
@@ -1023,15 +1074,16 @@ declare namespace sap {
|
|
|
1023
1074
|
url: string;
|
|
1024
1075
|
};
|
|
1025
1076
|
/**
|
|
1026
|
-
* SAP
|
|
1077
|
+
* SAP Build Work Zone-specific metadata.
|
|
1027
1078
|
*/
|
|
1028
1079
|
jam: {
|
|
1029
1080
|
/**
|
|
1030
|
-
* Title that will be used as 'share text' in 'Share
|
|
1081
|
+
* Title that will be used as 'share text' in 'Share on SAP Build Work Zone'. This takes precedence over
|
|
1082
|
+
* oShareMetadata.title.
|
|
1031
1083
|
*/
|
|
1032
1084
|
title: string;
|
|
1033
1085
|
/**
|
|
1034
|
-
* URL that will be used specifically for 'Share
|
|
1086
|
+
* URL that will be used specifically for 'Share on SAP Build Work Zone'. This takes precedence over oShareMetadata.url.
|
|
1035
1087
|
*/
|
|
1036
1088
|
url?: string;
|
|
1037
1089
|
};
|
|
@@ -1061,12 +1113,12 @@ declare namespace sap {
|
|
|
1061
1113
|
url?: string;
|
|
1062
1114
|
};
|
|
1063
1115
|
/**
|
|
1064
|
-
* Default title that will be used as the 'email subject' in 'Send Email', 'share text' in 'Share
|
|
1065
|
-
*
|
|
1116
|
+
* Default title that will be used as the 'email subject' in 'Send Email', 'share text' in 'Share on SAP
|
|
1117
|
+
* Build Work Zone' and 'title' in 'Save as Tile'
|
|
1066
1118
|
*/
|
|
1067
1119
|
title: string;
|
|
1068
1120
|
/**
|
|
1069
|
-
* Default URL that will be used with 'Send Email', 'Share
|
|
1121
|
+
* Default URL that will be used with 'Send Email', 'Share on SAP Build Work Zone', and 'Save as Tile'
|
|
1070
1122
|
*/
|
|
1071
1123
|
url: string;
|
|
1072
1124
|
}
|
package/types/sap.fe.ina.d.ts
CHANGED