@sapui5/ts-types 1.101.1 → 1.103.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 +89 -1
- package/types/sap.ca.ui.d.ts +1757 -134
- package/types/sap.chart.d.ts +376 -30
- package/types/sap.collaboration.d.ts +320 -40
- package/types/sap.esh.search.ui.d.ts +1 -669
- package/types/sap.f.d.ts +1948 -123
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +29 -1091
- package/types/sap.fe.macros.d.ts +58 -589
- package/types/sap.fe.navigation.d.ts +7 -1175
- package/types/sap.fe.templates.d.ts +2 -140
- package/types/sap.fe.test.d.ts +476 -213
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +7540 -559
- package/types/sap.insights.d.ts +21 -0
- package/types/sap.landvisz.d.ts +1029 -80
- package/types/sap.m.d.ts +17162 -1399
- package/types/sap.makit.d.ts +579 -58
- package/types/sap.me.d.ts +579 -52
- package/types/sap.ndc.d.ts +137 -7
- package/types/sap.ovp.d.ts +5 -1
- package/types/sap.rules.ui.d.ts +171 -15
- package/types/sap.sac.df.d.ts +1629 -252
- package/types/sap.sac.grid.d.ts +91 -8
- package/types/sap.suite.ui.commons.d.ts +5573 -454
- package/types/sap.suite.ui.generic.template.d.ts +228 -54
- package/types/sap.suite.ui.microchart.d.ts +1814 -173
- package/types/sap.tnt.d.ts +282 -22
- package/types/sap.ui.codeeditor.d.ts +89 -8
- package/types/sap.ui.commons.d.ts +3818 -347
- package/types/sap.ui.comp.d.ts +3965 -303
- package/types/sap.ui.core.d.ts +6395 -258
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +61 -6
- package/types/sap.ui.fl.d.ts +3 -1
- package/types/sap.ui.generic.app.d.ts +245 -64
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +318 -25
- package/types/sap.ui.layout.d.ts +1883 -239
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +341 -50
- package/types/sap.ui.rta.d.ts +5 -1
- package/types/sap.ui.suite.d.ts +87 -6
- package/types/sap.ui.support.d.ts +30 -1
- package/types/sap.ui.table.d.ts +1057 -87
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +2738 -236
- package/types/sap.ui.ux3.d.ts +2421 -223
- package/types/sap.ui.vbm.d.ts +2006 -126
- package/types/sap.ui.vk.d.ts +5369 -326
- package/types/sap.ui.vtm.d.ts +1144 -52
- package/types/sap.uiext.inbox.d.ts +425 -24
- package/types/sap.ushell.d.ts +1500 -59
- package/types/sap.ushell_abap.d.ts +4 -1
- package/types/sap.uxap.d.ts +914 -99
- package/types/sap.viz.d.ts +5521 -387
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +168 -23
- package/types/sap.zen.crosstab.d.ts +217 -21
- package/types/sap.zen.dsh.d.ts +227 -14
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.103.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace fe {
|
|
@@ -6,318 +6,61 @@ declare namespace sap {
|
|
|
6
6
|
* Library containing the building blocks for SAP Fiori elements.
|
|
7
7
|
*/
|
|
8
8
|
namespace macros {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
21
|
-
key: string;
|
|
22
|
-
/**
|
|
23
|
-
* Defines where this action should be placed relative to the defined anchor
|
|
24
|
-
* Allowed values are `Before` and `After`
|
|
25
|
-
*/
|
|
26
|
-
placement: string;
|
|
27
|
-
/**
|
|
28
|
-
* Event handler to be called when the user chooses the action
|
|
29
|
-
*/
|
|
30
|
-
press: string;
|
|
31
|
-
/**
|
|
32
|
-
* Defines if the action requires a selection.
|
|
33
|
-
*/
|
|
34
|
-
requiresSelection: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The text that will be displayed for this action
|
|
37
|
-
*/
|
|
38
|
-
text: string;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Definition of a custom column to be used inside the table.
|
|
43
|
-
* The template for the column has to be provided as the default aggregation
|
|
44
|
-
*/
|
|
45
|
-
type Column = {
|
|
46
|
-
/**
|
|
47
|
-
* Reference to the key of another column already displayed in the table to properly place this one
|
|
48
|
-
*/
|
|
49
|
-
anchor: string;
|
|
50
|
-
/**
|
|
51
|
-
* The text that will be displayed for this column header
|
|
52
|
-
*/
|
|
53
|
-
header: string;
|
|
54
|
-
/**
|
|
55
|
-
* Defines the column importance
|
|
56
|
-
* You can define which columns should be automatically moved to the pop-in area based on their importance
|
|
57
|
-
*/
|
|
58
|
-
importance: string;
|
|
59
|
-
/**
|
|
60
|
-
* Unique identifier of the column
|
|
61
|
-
*/
|
|
62
|
-
key: string;
|
|
63
|
-
/**
|
|
64
|
-
* Defines where this column should be placed relative to the defined anchor
|
|
65
|
-
* Allowed values are `Before` and `After`
|
|
66
|
-
*/
|
|
67
|
-
placement: string;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
interface $ChartSettings extends sap.fe.macros.$MacroAPISettings {
|
|
72
|
-
/**
|
|
73
|
-
* Metadata path to the entitySet or navigationProperty
|
|
74
|
-
*/
|
|
75
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Id of the FilterBar building block associated with the chart.
|
|
79
|
-
*/
|
|
80
|
-
filterBar?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* ID of the chart
|
|
84
|
-
*/
|
|
85
|
-
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Metadata path to the presentation (UI.Chart w or w/o qualifier)
|
|
89
|
-
*/
|
|
90
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Parameter which sets the personalization of the MDC chart
|
|
94
|
-
*/
|
|
95
|
-
personalization?:
|
|
96
|
-
| boolean
|
|
97
|
-
| string
|
|
98
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Specifies the selection mode
|
|
102
|
-
*/
|
|
103
|
-
selectionMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface $FieldSettings extends sap.fe.macros.$MacroAPISettings {
|
|
107
|
-
/**
|
|
108
|
-
* Defines the path of the context used in the current page or block.
|
|
109
|
-
* This setting is defined by the framework.
|
|
110
|
-
*/
|
|
111
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* A set of options that can be configured.
|
|
115
|
-
*/
|
|
116
|
-
formatOptions?:
|
|
117
|
-
| sap.fe.macros.FieldFormatOptions
|
|
118
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* The identifier of the Field control.
|
|
122
|
-
*/
|
|
123
|
-
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
127
|
-
*/
|
|
128
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* An expression that allows you to control the read-only state of the field.
|
|
132
|
-
* If you do not set any expression, SAP Fiori elements hooks into the standard lifecycle to determine the
|
|
133
|
-
* current state.
|
|
134
|
-
*/
|
|
135
|
-
readOnly?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Option to add semantic objects to a field.
|
|
139
|
-
* Valid options are either a single semantic object, a stringified array of semantic objects
|
|
140
|
-
* or a single binding expression returning either a single semantic object or an array of semantic objects
|
|
141
|
-
*/
|
|
142
|
-
semanticObject?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
interface $FilterBarSettings extends sap.fe.macros.$MacroAPISettings {
|
|
146
|
-
/**
|
|
147
|
-
* Defines the path of the context used in the current page or block.
|
|
148
|
-
* This setting is defined by the framework.
|
|
149
|
-
*/
|
|
150
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* The identifier of the filterbar control.
|
|
154
|
-
*/
|
|
155
|
-
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
159
|
-
*/
|
|
160
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
interface $FormSettings extends sap.fe.macros.$MacroAPISettings {
|
|
164
|
-
/**
|
|
165
|
-
* Defines the path of the context used in the current page or block.
|
|
166
|
-
* This setting is defined by the framework.
|
|
167
|
-
*/
|
|
168
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* The identifier of the form control.
|
|
172
|
-
*/
|
|
173
|
-
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
177
|
-
*/
|
|
178
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
interface $MacroAPISettings extends sap.ui.core.$ControlSettings {
|
|
182
|
-
/**
|
|
183
|
-
* Defines the path of the context used in the current page or block.
|
|
184
|
-
* This setting is defined by the framework.
|
|
185
|
-
*/
|
|
186
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
190
|
-
*/
|
|
191
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
interface $TableSettings extends sap.fe.macros.$MacroAPISettings {
|
|
195
|
-
/**
|
|
196
|
-
* An expression that allows you to control the 'busy' state of the table.
|
|
197
|
-
*/
|
|
198
|
-
busy?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Defines the path of the context used in the current page or block.
|
|
202
|
-
* This setting is defined by the framework.
|
|
203
|
-
*/
|
|
204
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Specifies the header text that is shown in the table.
|
|
208
|
-
*/
|
|
209
|
-
enableAutoColumnWidth?:
|
|
210
|
-
| boolean
|
|
211
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Controls if the export functionality of the table is enabled or not.
|
|
215
|
-
*/
|
|
216
|
-
enableExport?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Controls whether the table can be opened in fullscreen mode or not.
|
|
220
|
-
*/
|
|
221
|
-
enableFullScreen?:
|
|
222
|
-
| boolean
|
|
223
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Controls if the paste functionality of the table is enabled or not.
|
|
227
|
-
*/
|
|
228
|
-
enablePaste?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* ID of the FilterBar building block associated with the table.
|
|
232
|
-
*/
|
|
233
|
-
filterBar?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Specifies the header text that is shown in the table.
|
|
237
|
-
*/
|
|
238
|
-
header?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Controls if the header text should be shown or not.
|
|
242
|
-
*/
|
|
243
|
-
headerVisible?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* The identifier of the table control.
|
|
247
|
-
*/
|
|
248
|
-
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Defines whether to display the search action.
|
|
252
|
-
*/
|
|
253
|
-
isSearchable?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Groups menu actions by key.
|
|
257
|
-
*/
|
|
258
|
-
menu?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
262
|
-
*/
|
|
263
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Controls which options should be enabled for the table personalization dialog.
|
|
267
|
-
* If it is set to `true`, all possible options for this kind of table are enabled.
|
|
268
|
-
*
|
|
269
|
-
* If it is set to `false`, personalization is disabled.
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
* You can also provide a more granular control for the personalization by providing a comma-separated list
|
|
274
|
-
* with the options you want to be available.
|
|
275
|
-
*
|
|
276
|
-
* Available options are:
|
|
277
|
-
*
|
|
278
|
-
* - Sort
|
|
279
|
-
*
|
|
280
|
-
* - Column
|
|
281
|
-
*
|
|
282
|
-
* - Filter
|
|
283
|
-
*/
|
|
284
|
-
personalization?:
|
|
285
|
-
| boolean
|
|
286
|
-
| string
|
|
287
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
9
|
+
/**
|
|
10
|
+
* Building block used to create a chart based on the metadata provided by OData V4.
|
|
11
|
+
* Usually, a contextPath and metaPath is expected.
|
|
12
|
+
*
|
|
13
|
+
* Usage example:
|
|
14
|
+
* ```javascript
|
|
15
|
+
*
|
|
16
|
+
* <macro:Chart id="Mychart" contextPath="/RootEntity" metaPath="@com.sap.vocabularies.UI.v1.Chart" />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export const Chart: undefined;
|
|
288
20
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Building block for creating a field based on the metadata provided by OData V4.
|
|
23
|
+
* Usually, a DataField or DataPoint annotation is expected, but the field can also be used to display
|
|
24
|
+
* a property from the entity type.
|
|
25
|
+
*
|
|
26
|
+
* Usage example:
|
|
27
|
+
* ```javascript
|
|
28
|
+
*
|
|
29
|
+
* <macro:Field id="MyField" metaPath="MyProperty" />
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export const Field: undefined;
|
|
295
33
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Building block for creating a Form based on the metadata provided by OData V4.
|
|
36
|
+
* It is designed to work based on a FieldGroup annotation but can also work if you provide a ReferenceFacet
|
|
37
|
+
* or a CollectionFacet
|
|
38
|
+
*
|
|
39
|
+
* Usage example:
|
|
40
|
+
* ```javascript
|
|
41
|
+
*
|
|
42
|
+
* <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.FieldGroup#GeneralInformation" />
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export const Form: undefined;
|
|
301
46
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
type?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
47
|
+
/**
|
|
48
|
+
* Base API control for macros.
|
|
49
|
+
*/
|
|
50
|
+
export const MacroAPI: undefined;
|
|
307
51
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
52
|
+
/**
|
|
53
|
+
* Building block used to create a table based on the metadata provided by OData V4.
|
|
54
|
+
* Usually, a LineItem or PresentationVariant annotation is expected, but the Table building block can
|
|
55
|
+
* also be used to display an EntitySet.
|
|
56
|
+
*
|
|
57
|
+
* Usage example:
|
|
58
|
+
* ```javascript
|
|
59
|
+
*
|
|
60
|
+
* <macro:Table id="MyTable" metaPath="@com.sap.vocabularies.UI.v1.LineItem" />
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export const Table: undefined;
|
|
321
64
|
|
|
322
65
|
/**
|
|
323
66
|
* @SINCE 1.93.0
|
|
@@ -336,7 +79,8 @@ declare namespace sap {
|
|
|
336
79
|
* <macro:FlexibleColumnLayoutActions />
|
|
337
80
|
* ```
|
|
338
81
|
*/
|
|
339
|
-
class FlexibleColumnLayoutActions
|
|
82
|
+
class FlexibleColumnLayoutActions
|
|
83
|
+
/* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
340
84
|
constructor();
|
|
341
85
|
}
|
|
342
86
|
/**
|
|
@@ -344,16 +88,7 @@ declare namespace sap {
|
|
|
344
88
|
*
|
|
345
89
|
* Building block used to create a form element containing a label and a field.
|
|
346
90
|
*/
|
|
347
|
-
class FormElement
|
|
348
|
-
constructor();
|
|
349
|
-
}
|
|
350
|
-
/**
|
|
351
|
-
* @SINCE 1.90.0
|
|
352
|
-
*
|
|
353
|
-
* Base class for all SAP Fiori elements building blocks. This class is not meant to be used as a stand-alone
|
|
354
|
-
* class.
|
|
355
|
-
*/
|
|
356
|
-
class MacroMetadata {
|
|
91
|
+
class FormElement /* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
357
92
|
constructor();
|
|
358
93
|
}
|
|
359
94
|
/**
|
|
@@ -361,7 +96,7 @@ declare namespace sap {
|
|
|
361
96
|
*
|
|
362
97
|
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
363
98
|
*/
|
|
364
|
-
class MicroChart
|
|
99
|
+
class MicroChart /* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
365
100
|
constructor();
|
|
366
101
|
}
|
|
367
102
|
/**
|
|
@@ -375,7 +110,7 @@ declare namespace sap {
|
|
|
375
110
|
* <macro:Paginator />
|
|
376
111
|
* ```
|
|
377
112
|
*/
|
|
378
|
-
class Paginator
|
|
113
|
+
class Paginator /* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
379
114
|
constructor();
|
|
380
115
|
}
|
|
381
116
|
/**
|
|
@@ -396,289 +131,23 @@ declare namespace sap {
|
|
|
396
131
|
* />
|
|
397
132
|
* ```
|
|
398
133
|
*/
|
|
399
|
-
class Share
|
|
400
|
-
constructor();
|
|
401
|
-
}
|
|
402
|
-
/**
|
|
403
|
-
* Building block used to create a chart based on the metadata provided by OData V4.
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
* Usually, a contextPath and metaPath is expected.
|
|
407
|
-
* Usage example:
|
|
408
|
-
*
|
|
409
|
-
* ```javascript
|
|
410
|
-
*
|
|
411
|
-
* <macro:Chart id="Mychart" contextPath="/RootEntity" metaPath="@com.sap.vocabularies.UI.v1.Chart" />
|
|
412
|
-
* ```
|
|
413
|
-
*/
|
|
414
|
-
class Chart extends sap.fe.macros.MacroAPI {
|
|
415
|
-
constructor();
|
|
416
|
-
}
|
|
417
|
-
/**
|
|
418
|
-
* Building block for creating a field based on the metadata provided by OData V4.
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
* Usually, a DataField or DataPoint annotation is expected, but the field can also be used to display a
|
|
422
|
-
* property from the entity type.
|
|
423
|
-
* Usage example:
|
|
424
|
-
*
|
|
425
|
-
* ```javascript
|
|
426
|
-
*
|
|
427
|
-
* <macro:Field id="MyField" metaPath="MyProperty" />
|
|
428
|
-
* ```
|
|
429
|
-
*/
|
|
430
|
-
class Field extends sap.fe.macros.MacroAPI {
|
|
431
|
-
constructor();
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* Adds a message to the field.
|
|
435
|
-
*/
|
|
436
|
-
addMessage(
|
|
437
|
-
/**
|
|
438
|
-
* The parameters to create message
|
|
439
|
-
*/
|
|
440
|
-
parameters: {
|
|
441
|
-
/**
|
|
442
|
-
* Message description
|
|
443
|
-
*/
|
|
444
|
-
description?: string;
|
|
445
|
-
/**
|
|
446
|
-
* Message text
|
|
447
|
-
*/
|
|
448
|
-
message?: string;
|
|
449
|
-
/**
|
|
450
|
-
* True if the message is persistent
|
|
451
|
-
*/
|
|
452
|
-
persistent?: boolean;
|
|
453
|
-
/**
|
|
454
|
-
* Type of the message
|
|
455
|
-
*/
|
|
456
|
-
type?: sap.ui.core.MessageType;
|
|
457
|
-
}
|
|
458
|
-
): string;
|
|
459
|
-
/**
|
|
460
|
-
* Retrieves the current value of the Field.
|
|
461
|
-
*/
|
|
462
|
-
getValue(): string | boolean;
|
|
463
|
-
/**
|
|
464
|
-
* Removes a message from the field.
|
|
465
|
-
*/
|
|
466
|
-
removeMessage(
|
|
467
|
-
/**
|
|
468
|
-
* The id of the message
|
|
469
|
-
*/
|
|
470
|
-
id: string
|
|
471
|
-
): void;
|
|
472
|
-
}
|
|
473
|
-
/**
|
|
474
|
-
* Building block for creating a FilterBar based on the metadata provided by OData V4.
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
* Usually, a SelectionFields annotation is expected.
|
|
478
|
-
* Usage example:
|
|
479
|
-
*
|
|
480
|
-
* ```javascript
|
|
481
|
-
*
|
|
482
|
-
* <macro:FilterBar id="MyFilterBar" metaPath="@com.sap.vocabularies.UI.v1.SelectionFields" />
|
|
483
|
-
* ```
|
|
484
|
-
*/
|
|
485
|
-
class FilterBar extends sap.fe.macros.MacroAPI {
|
|
486
|
-
constructor();
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* Set the filter values for the given property in the filter bar.
|
|
490
|
-
* The filter values can be either a single value or an array of values.
|
|
491
|
-
* Each filter value must be represented as a string corresponding to the given operator.
|
|
492
|
-
*/
|
|
493
|
-
setFilterValues(
|
|
494
|
-
/**
|
|
495
|
-
* The path to the property as a condition path
|
|
496
|
-
*/
|
|
497
|
-
sConditionPath: string,
|
|
498
|
-
/**
|
|
499
|
-
* The operator to be used (optional) - if not set, the default operator (EQ) will be used
|
|
500
|
-
*/
|
|
501
|
-
sOperator: undefined | string,
|
|
502
|
-
/**
|
|
503
|
-
* The values to be applied
|
|
504
|
-
*/
|
|
505
|
-
vValues: undefined | string | string[]
|
|
506
|
-
): any;
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
* Building block for creating a Form based on the metadata provided by OData V4.
|
|
510
|
-
*
|
|
511
|
-
*
|
|
512
|
-
* Usually, a ReferenceFacet or CollectionFacet is expected
|
|
513
|
-
* Usage example:
|
|
514
|
-
*
|
|
515
|
-
* ```javascript
|
|
516
|
-
*
|
|
517
|
-
* <macro:Form id="MyForm" metaPath="@com.sap.vocabularies.UI.v1.Facets/0" />
|
|
518
|
-
* ```
|
|
519
|
-
*/
|
|
520
|
-
class Form extends sap.fe.macros.MacroAPI {
|
|
521
|
-
constructor();
|
|
522
|
-
}
|
|
523
|
-
/**
|
|
524
|
-
* Base API control for macros.
|
|
525
|
-
*/
|
|
526
|
-
class MacroAPI extends sap.ui.core.Control {
|
|
527
|
-
constructor();
|
|
528
|
-
}
|
|
529
|
-
/**
|
|
530
|
-
* Building block used to create a table based on the metadata provided by OData V4.
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
* Usually, a LineItem or PresentationVariant annotation is expected, but the Table building block can also
|
|
534
|
-
* be used to display an EntitySet.
|
|
535
|
-
* Usage example:
|
|
536
|
-
*
|
|
537
|
-
* ```javascript
|
|
538
|
-
*
|
|
539
|
-
* <macro:Table id="MyTable" metaPath="@com.sap.vocabularies.UI.v1.LineItem" />
|
|
540
|
-
* ```
|
|
541
|
-
*/
|
|
542
|
-
class Table extends sap.fe.macros.MacroAPI {
|
|
134
|
+
class Share /* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
543
135
|
constructor();
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* Adds a message to the table.
|
|
547
|
-
* The message applies to the whole table and not to an individual table row.
|
|
548
|
-
*/
|
|
549
|
-
addMessage(
|
|
550
|
-
/**
|
|
551
|
-
* The parameters to create the message
|
|
552
|
-
*/
|
|
553
|
-
parameters: {
|
|
554
|
-
/**
|
|
555
|
-
* Message description
|
|
556
|
-
*/
|
|
557
|
-
description?: string;
|
|
558
|
-
/**
|
|
559
|
-
* Message text
|
|
560
|
-
*/
|
|
561
|
-
message?: string;
|
|
562
|
-
/**
|
|
563
|
-
* True if the message is persistent
|
|
564
|
-
*/
|
|
565
|
-
persistent?: boolean;
|
|
566
|
-
/**
|
|
567
|
-
* Message type
|
|
568
|
-
*/
|
|
569
|
-
type?: sap.ui.core.MessageType;
|
|
570
|
-
}
|
|
571
|
-
): string;
|
|
572
|
-
/**
|
|
573
|
-
* Gets contexts from the table that have been selected by the user.
|
|
574
|
-
*/
|
|
575
|
-
getSelectedContexts(): sap.ui.model.odata.v4.Context[];
|
|
576
|
-
/**
|
|
577
|
-
* Removes a message from the table.
|
|
578
|
-
*/
|
|
579
|
-
removeMessage(
|
|
580
|
-
/**
|
|
581
|
-
* The id of the message
|
|
582
|
-
*/
|
|
583
|
-
id: string
|
|
584
|
-
): void;
|
|
585
136
|
}
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Additional format options for the field.
|
|
589
|
-
*/
|
|
590
|
-
type FieldFormatOptions = {
|
|
591
|
-
/**
|
|
592
|
-
* Defines how the field value and associated text will be displayed together.
|
|
593
|
-
*
|
|
594
|
-
* Allowed values are "Value", "Description", "ValueDescription" and "DescriptionValue"
|
|
595
|
-
*/
|
|
596
|
-
displayMode: string;
|
|
597
|
-
/**
|
|
598
|
-
* Defines if and how the field measure will be displayed.
|
|
599
|
-
*
|
|
600
|
-
* Allowed values are "Hidden" and "ReadOnly"
|
|
601
|
-
*/
|
|
602
|
-
measureDisplayMode: string;
|
|
603
|
-
/**
|
|
604
|
-
* Defines how the full text will be displayed.
|
|
605
|
-
*
|
|
606
|
-
* Allowed values are "InPlace" and "Popover"
|
|
607
|
-
*/
|
|
608
|
-
textExpandBehaviorDisplay: string;
|
|
609
|
-
/**
|
|
610
|
-
* Maximum number of lines for multiline texts in edit mode.
|
|
611
|
-
*/
|
|
612
|
-
textLinesEdit: number;
|
|
613
|
-
/**
|
|
614
|
-
* Maximum number of characters from the beginning of the text field that are shown initially.
|
|
615
|
-
*/
|
|
616
|
-
textMaxCharactersDisplay: number;
|
|
617
|
-
/**
|
|
618
|
-
* Maximum number of lines that multiline texts in edit mode can grow to.
|
|
619
|
-
*/
|
|
620
|
-
textMaxLines: number;
|
|
621
|
-
};
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* Definition of a custom filter to be used inside the FilterBar.
|
|
625
|
-
* The template for the FilterField has to be provided as the default aggregation
|
|
626
|
-
*/
|
|
627
|
-
type FilterField = {
|
|
628
|
-
/**
|
|
629
|
-
* Reference to the key of another filter already displayed in the table to properly place this one
|
|
630
|
-
*/
|
|
631
|
-
anchor: string;
|
|
632
|
-
/**
|
|
633
|
-
* The property name of the FilterField
|
|
634
|
-
*/
|
|
635
|
-
key: string;
|
|
636
|
-
/**
|
|
637
|
-
* The text that will be displayed for this FilterField
|
|
638
|
-
*/
|
|
639
|
-
label: string;
|
|
640
|
-
/**
|
|
641
|
-
* If set the search will be automatically triggered, when a filter value was changed.
|
|
642
|
-
*/
|
|
643
|
-
liveMode: boolean;
|
|
644
|
-
/**
|
|
645
|
-
* Defines where this filter should be placed relative to the defined anchor
|
|
646
|
-
* Allowed values are `Before` and `After`
|
|
647
|
-
*/
|
|
648
|
-
placement: string;
|
|
649
|
-
/**
|
|
650
|
-
* Parameter which sets the visibility of the FilterBar building block
|
|
651
|
-
*/
|
|
652
|
-
visible: boolean;
|
|
653
|
-
};
|
|
654
137
|
}
|
|
655
138
|
}
|
|
656
139
|
|
|
657
140
|
interface IUI5DefineDependencyNames {
|
|
658
|
-
"sap/fe/macros/ChartAPI": undefined;
|
|
659
|
-
|
|
660
|
-
"sap/fe/macros/FieldAPI": undefined;
|
|
661
|
-
|
|
662
|
-
"sap/fe/macros/FilterBarAPI": undefined;
|
|
663
|
-
|
|
664
141
|
"sap/fe/macros/FlexibleColumnLayoutActions.metadata": undefined;
|
|
665
142
|
|
|
666
|
-
"sap/fe/macros/FormAPI": undefined;
|
|
667
|
-
|
|
668
143
|
"sap/fe/macros/FormElement.metadata": undefined;
|
|
669
144
|
|
|
670
145
|
"sap/fe/macros/library": undefined;
|
|
671
146
|
|
|
672
|
-
"sap/fe/macros/MacroAPI": undefined;
|
|
673
|
-
|
|
674
|
-
"sap/fe/macros/MacroMetadata": undefined;
|
|
675
|
-
|
|
676
147
|
"sap/fe/macros/MicroChart.metadata": undefined;
|
|
677
148
|
|
|
678
149
|
"sap/fe/macros/Paginator.metadata": undefined;
|
|
679
150
|
|
|
680
151
|
"sap/fe/macros/Share.metadata": undefined;
|
|
681
|
-
|
|
682
|
-
"sap/fe/macros/TableAPI": undefined;
|
|
683
152
|
}
|
|
684
153
|
}
|