@sapui5/types 1.113.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/LICENSE.txt +35 -0
- package/README.md +35 -0
- package/package.json +23 -0
- package/types/index.d.ts +67 -0
- package/types/sap.apf.d.ts +1026 -0
- package/types/sap.ca.ui.d.ts +14005 -0
- package/types/sap.chart.d.ts +4815 -0
- package/types/sap.collaboration.d.ts +2704 -0
- package/types/sap.esh.search.ui.d.ts +1595 -0
- package/types/sap.f.d.ts +20085 -0
- package/types/sap.fe.core.d.ts +1508 -0
- package/types/sap.fe.macros.d.ts +975 -0
- package/types/sap.fe.navigation.d.ts +917 -0
- package/types/sap.fe.templates.d.ts +522 -0
- package/types/sap.fe.test.d.ts +3533 -0
- package/types/sap.feedback.ui.d.ts +3 -0
- package/types/sap.gantt.d.ts +51684 -0
- package/types/sap.insights.d.ts +23 -0
- package/types/sap.landvisz.d.ts +7952 -0
- package/types/sap.m.d.ts +147796 -0
- package/types/sap.makit.d.ts +4533 -0
- package/types/sap.me.d.ts +3665 -0
- package/types/sap.ndc.d.ts +774 -0
- package/types/sap.ovp.d.ts +176 -0
- package/types/sap.rules.ui.d.ts +1471 -0
- package/types/sap.sac.df.d.ts +2292 -0
- package/types/sap.sac.grid.d.ts +774 -0
- package/types/sap.suite.ui.commons.d.ts +46971 -0
- package/types/sap.suite.ui.generic.template.d.ts +3431 -0
- package/types/sap.suite.ui.microchart.d.ts +12652 -0
- package/types/sap.tnt.d.ts +2227 -0
- package/types/sap.ui.codeeditor.d.ts +693 -0
- package/types/sap.ui.commons.d.ts +30235 -0
- package/types/sap.ui.comp.d.ts +37411 -0
- package/types/sap.ui.core.d.ts +78872 -0
- package/types/sap.ui.dt.d.ts +3 -0
- package/types/sap.ui.export.d.ts +843 -0
- package/types/sap.ui.fl.d.ts +1663 -0
- package/types/sap.ui.generic.app.d.ts +2683 -0
- package/types/sap.ui.generic.template.d.ts +3 -0
- package/types/sap.ui.integration.d.ts +4032 -0
- package/types/sap.ui.layout.d.ts +14472 -0
- package/types/sap.ui.mdc.d.ts +476 -0
- package/types/sap.ui.richtexteditor.d.ts +1666 -0
- package/types/sap.ui.rta.d.ts +124 -0
- package/types/sap.ui.suite.d.ts +685 -0
- package/types/sap.ui.support.d.ts +453 -0
- package/types/sap.ui.table.d.ts +9325 -0
- package/types/sap.ui.testrecorder.d.ts +9 -0
- package/types/sap.ui.unified.d.ts +20640 -0
- package/types/sap.ui.ux3.d.ts +18288 -0
- package/types/sap.ui.vbm.d.ts +17251 -0
- package/types/sap.ui.vk.d.ts +42381 -0
- package/types/sap.ui.vtm.d.ts +10547 -0
- package/types/sap.ui.webc.common.d.ts +113 -0
- package/types/sap.ui.webc.fiori.d.ts +13850 -0
- package/types/sap.ui.webc.main.d.ts +40833 -0
- package/types/sap.uiext.inbox.d.ts +4079 -0
- package/types/sap.ushell.d.ts +10255 -0
- package/types/sap.ushell_abap.d.ts +9 -0
- package/types/sap.uxap.d.ts +7636 -0
- package/types/sap.viz.d.ts +51209 -0
- package/types/sap.webanalytics.core.d.ts +3 -0
- package/types/sap.zen.commons.d.ts +1542 -0
- package/types/sap.zen.crosstab.d.ts +1159 -0
- package/types/sap.zen.dsh.d.ts +2132 -0
|
@@ -0,0 +1,1026 @@
|
|
|
1
|
+
// For Library Version: 1.113.0
|
|
2
|
+
|
|
3
|
+
declare module "sap/apf/library" {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated (since 1.23.1) - Use sap.apf.core.constants instead.
|
|
6
|
+
*
|
|
7
|
+
* Constants to be used by APF consumers.
|
|
8
|
+
*/
|
|
9
|
+
export const constants: Object;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module "sap/apf/api" {
|
|
13
|
+
import MessageObject from "sap/apf/core/messageObject";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Official API for Analysis Path Framework (APF)
|
|
17
|
+
* The APF API provides a consuming application access to the functionality of the APF. It is assumed
|
|
18
|
+
* that the consuming application extends type {@link sap.apf.base.Component}. The API reference is returned
|
|
19
|
+
* by method {@link sap.apf.base.Component#getApi}.
|
|
20
|
+
* Objects and types returned by methods of APF API or passed in parameters of APF API method also belong
|
|
21
|
+
* to the API. These objects and types are documented in their respective sections of this documentation.
|
|
22
|
+
* All methods, objects or types that are not explicitly documented as public are strictly internal and
|
|
23
|
+
* may be changed without prior notice. This also includes all methods, objects or types being classified
|
|
24
|
+
* as experimental.
|
|
25
|
+
* Furthermore there is no need to instantiate required entities directly by applying the JavaScript 'new'-operator
|
|
26
|
+
* on their respective constructors. Instead they should be created by consumers using a create method available
|
|
27
|
+
* on API-level, such as e.g. {@link sap.apf.Api#createMessageObject} for {@link sap.apf.core.MessageObject}
|
|
28
|
+
* or {@link sap.apf.Api#createFilter} for {@link sap.apf.utils.Filter}.
|
|
29
|
+
*/
|
|
30
|
+
export default class Api {
|
|
31
|
+
constructor(
|
|
32
|
+
/**
|
|
33
|
+
* A reference to the calling Component.js. The reference provides access to parameters and context.
|
|
34
|
+
*/
|
|
35
|
+
oComponent: /* was: sap.apf.Component */
|
|
36
|
+
| any
|
|
37
|
+
| /* was: sap.apf.base.Component */ any,
|
|
38
|
+
/**
|
|
39
|
+
* injected constructors and functions for testing only.
|
|
40
|
+
*/
|
|
41
|
+
inject?: Object,
|
|
42
|
+
/**
|
|
43
|
+
* manifests of the component and the base component itself
|
|
44
|
+
*/
|
|
45
|
+
manifests?: Object
|
|
46
|
+
);
|
|
47
|
+
/**
|
|
48
|
+
* Contains 'api'
|
|
49
|
+
*/
|
|
50
|
+
type: undefined;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @EXPERIMENTAL - NOT FOR PRODUCTION USE
|
|
54
|
+
*
|
|
55
|
+
* The handling of the window.onerror by the message handler is either switched on or off. Per default the
|
|
56
|
+
* handling is deactivated.
|
|
57
|
+
*
|
|
58
|
+
* @returns undefined
|
|
59
|
+
*/
|
|
60
|
+
activateOnErrorHandling(
|
|
61
|
+
/**
|
|
62
|
+
* Boolean true switches the winow.onerror handling on
|
|
63
|
+
*/
|
|
64
|
+
bHandling: boolean
|
|
65
|
+
): undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated (since 1.23.1) - Remains in api in order to maintain downward compatibility to 3 Wave 5 apps.
|
|
68
|
+
* @EXPERIMENTAL - NOT FOR PRODUCTION USE
|
|
69
|
+
*
|
|
70
|
+
* Adds an element to the footer area.
|
|
71
|
+
*/
|
|
72
|
+
addMasterFooterContent(
|
|
73
|
+
/**
|
|
74
|
+
* any valid UI5 control.
|
|
75
|
+
*/
|
|
76
|
+
oControl: object
|
|
77
|
+
): void;
|
|
78
|
+
/**
|
|
79
|
+
* Adds a filter to the path. Subsequent changes need to be done by the update method providing the identifier.
|
|
80
|
+
* Restriction: Only a single filter term or a disjunction/conjunction of single terms over a single property
|
|
81
|
+
* is supported. Restriction: Only the operators EQ, LE (less equal than) and GE (greater equal than) are
|
|
82
|
+
* supported.
|
|
83
|
+
*
|
|
84
|
+
* @returns ID to be provided for later updates of the same filter via method updatePathFilter.
|
|
85
|
+
*/
|
|
86
|
+
addPathFilter(filter: sap.apf.utils.Filter): number;
|
|
87
|
+
/**
|
|
88
|
+
* Creates an empty filter object. Its methods can be used to create a logical filter expression.
|
|
89
|
+
*/
|
|
90
|
+
createFilter(): sap.apf.utils.Filter;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a message object, which is the mandatory parameter for API method putMessage. So first create
|
|
93
|
+
* the message object and afterwards call putMessage with the message object as argument.
|
|
94
|
+
*/
|
|
95
|
+
createMessageObject(
|
|
96
|
+
/**
|
|
97
|
+
* Configuration object for the message object.
|
|
98
|
+
*/
|
|
99
|
+
oConfig: {
|
|
100
|
+
/**
|
|
101
|
+
* The message is classified by its code. The code identifies an entry in the message configuration.
|
|
102
|
+
*/
|
|
103
|
+
code: string;
|
|
104
|
+
/**
|
|
105
|
+
* Additional parameters for the message. The parameters are filled into the message text, when the message
|
|
106
|
+
* will be processed by the text resource handler.
|
|
107
|
+
*/
|
|
108
|
+
aParameters?: any[];
|
|
109
|
+
/**
|
|
110
|
+
* Reference of the calling object. This can be used later to visualize on the user interface, where the
|
|
111
|
+
* message occurred.
|
|
112
|
+
*/
|
|
113
|
+
oCallingObject?: object;
|
|
114
|
+
/**
|
|
115
|
+
* Raw text for non translated messages.
|
|
116
|
+
*/
|
|
117
|
+
rawText?: string;
|
|
118
|
+
}
|
|
119
|
+
): MessageObject;
|
|
120
|
+
/**
|
|
121
|
+
* Creates an object for performing an Odata Request get operation.
|
|
122
|
+
* See:
|
|
123
|
+
* sap.apf#createReadRequest
|
|
124
|
+
*/
|
|
125
|
+
createReadRequest(
|
|
126
|
+
/**
|
|
127
|
+
* identifies a request configuration, which is contained in the analytical configuration. or the request
|
|
128
|
+
* configuration is directly passed as an object oRequestConfiguration.
|
|
129
|
+
*/
|
|
130
|
+
requestConfiguration: string | object
|
|
131
|
+
): sap.apf.core.ReadRequest;
|
|
132
|
+
/**
|
|
133
|
+
* helps to call customer defined custom formatter function(fnCallback).
|
|
134
|
+
*/
|
|
135
|
+
customFormat(
|
|
136
|
+
/**
|
|
137
|
+
* custom format function need to be called.
|
|
138
|
+
*/
|
|
139
|
+
fnCallback: Function
|
|
140
|
+
): void;
|
|
141
|
+
/**
|
|
142
|
+
* Gets a path filter fragment for the given identifier by fully replacing the existing one.
|
|
143
|
+
*
|
|
144
|
+
* @returns filter for id
|
|
145
|
+
*/
|
|
146
|
+
getPathFilter(
|
|
147
|
+
/**
|
|
148
|
+
* Identifier of the path filter fragment as it was returned by addPathFilter method.
|
|
149
|
+
*/
|
|
150
|
+
id: number | string
|
|
151
|
+
): sap.apf.utils.Filter;
|
|
152
|
+
/**
|
|
153
|
+
* Retrieves a text and applies HTML encoding
|
|
154
|
+
*/
|
|
155
|
+
getTextHtmlEncoded(
|
|
156
|
+
/**
|
|
157
|
+
* || {string} Label object or text key
|
|
158
|
+
*/
|
|
159
|
+
oLabel: object,
|
|
160
|
+
/**
|
|
161
|
+
* Array with parameters to replace place holders in text.
|
|
162
|
+
*/
|
|
163
|
+
aParameters: string[]
|
|
164
|
+
): string;
|
|
165
|
+
/**
|
|
166
|
+
* Retrieves a text without application of HTML encoding
|
|
167
|
+
*/
|
|
168
|
+
getTextNotHtmlEncoded(
|
|
169
|
+
/**
|
|
170
|
+
* || {string} Label object or text key
|
|
171
|
+
*/
|
|
172
|
+
oLabel: object,
|
|
173
|
+
/**
|
|
174
|
+
* Array with parameters to replace place holders in text.
|
|
175
|
+
*/
|
|
176
|
+
aParameters: string[]
|
|
177
|
+
): string;
|
|
178
|
+
/**
|
|
179
|
+
* @deprecated (since 1.23.1)
|
|
180
|
+
* @EXPERIMENTAL - NOT FOR PRODUCTION USE
|
|
181
|
+
*
|
|
182
|
+
* Loads a new application configuration in JSON format. When called many times, the file is loaded only
|
|
183
|
+
* the first time.
|
|
184
|
+
*/
|
|
185
|
+
loadApplicationConfig(
|
|
186
|
+
/**
|
|
187
|
+
* The absolute path of an application configuration file. Host and port will be added in front of this
|
|
188
|
+
* path.
|
|
189
|
+
*/
|
|
190
|
+
sFilePath: string
|
|
191
|
+
): void;
|
|
192
|
+
/**
|
|
193
|
+
* A message is passed to the APF message handler for further processing. All message specific settings
|
|
194
|
+
* (e.g. message code or severity) need to be passed within an APF message object instance.
|
|
195
|
+
*
|
|
196
|
+
* @returns undefined
|
|
197
|
+
*/
|
|
198
|
+
putMessage(
|
|
199
|
+
/**
|
|
200
|
+
* The message object shall be created by method {@link sap.apf.Api#createMessageObject}.
|
|
201
|
+
*/
|
|
202
|
+
oMessage: MessageObject
|
|
203
|
+
): undefined;
|
|
204
|
+
/**
|
|
205
|
+
* @EXPERIMENTAL - NOT FOR PRODUCTION USE
|
|
206
|
+
*
|
|
207
|
+
* Calls the sap.apf.core.instance#updatePath (also see {@link sap.apf.core.Path#update}) with proper callback
|
|
208
|
+
* for UI. It also refreshes the steps either from the active step or all the steps depending on the boolean
|
|
209
|
+
* value passed.
|
|
210
|
+
*/
|
|
211
|
+
selectionChanged(bRefreshAllSteps: boolean): void;
|
|
212
|
+
/**
|
|
213
|
+
* Register the function callback to be executed after APF start-up and content has been created. Callback
|
|
214
|
+
* is called with APF API instance as parameter and 'this' set to the Component instance.
|
|
215
|
+
*/
|
|
216
|
+
setCallbackAfterApfStartup(
|
|
217
|
+
/**
|
|
218
|
+
* that will be executed after APF start-up and content has been created.
|
|
219
|
+
*/
|
|
220
|
+
fnCallback: Function
|
|
221
|
+
): void;
|
|
222
|
+
/**
|
|
223
|
+
* Register the function callback to be executed before APF start-up. Callback is called with APF API instance
|
|
224
|
+
* as parameter and 'this' set to the Component instance.
|
|
225
|
+
*/
|
|
226
|
+
setCallbackBeforeApfStartup(
|
|
227
|
+
/**
|
|
228
|
+
* that will be executed before APF start-up.
|
|
229
|
+
*/
|
|
230
|
+
fnCallback: Function
|
|
231
|
+
): void;
|
|
232
|
+
/**
|
|
233
|
+
* @EXPERIMENTAL - NOT FOR PRODUCTION USE
|
|
234
|
+
*
|
|
235
|
+
* Register the function callback to be executed on the given event type. fnCallback will be executed under
|
|
236
|
+
* a context and will be passed with arguments depending on the event type.
|
|
237
|
+
*
|
|
238
|
+
* @returns true or false based on success or failure of registering the listener.
|
|
239
|
+
*/
|
|
240
|
+
setEventCallback(
|
|
241
|
+
/**
|
|
242
|
+
* is the type of event for registering the fnCallback for that particular event type printTriggered - Registers
|
|
243
|
+
* a callback for initial page print, this callback returns 2d array contextChanged : Registers a callback
|
|
244
|
+
* for context change, which will set the context of the application
|
|
245
|
+
*/
|
|
246
|
+
sEventType: /* was: sap.apf.core.constants.eventTypes */ any,
|
|
247
|
+
/**
|
|
248
|
+
* that will be executed depending on the event type.
|
|
249
|
+
*/
|
|
250
|
+
fnCallback: Function
|
|
251
|
+
): boolean;
|
|
252
|
+
/**
|
|
253
|
+
* true, when no fatal error occurred during startup phase. Startup phase includes the initialization +
|
|
254
|
+
* startupApf
|
|
255
|
+
*
|
|
256
|
+
* @returns success of startup
|
|
257
|
+
*/
|
|
258
|
+
startupSucceeded(): boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Updates a filter of the path. Restriction: Only a single filter term or a disjunction/conjunction of
|
|
261
|
+
* single terms over a single property is supported. Restriction: Only the operators EQ, LE (less equal
|
|
262
|
+
* than) and GE (greater equal than) are supported.
|
|
263
|
+
*/
|
|
264
|
+
updatePathFilter(
|
|
265
|
+
/**
|
|
266
|
+
* Identifier of the path filter as it was returned by addPathFilter method. When using an ID of type string
|
|
267
|
+
* the caller must ensure that it is unique.
|
|
268
|
+
*/
|
|
269
|
+
id: number | string,
|
|
270
|
+
|
|
271
|
+
filter: sap.apf.utils.Filter
|
|
272
|
+
): void;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
declare module "sap/apf/core/messageObject" {
|
|
277
|
+
/**
|
|
278
|
+
* The message object represents the APF specific message object for detailed evaluation. The message object
|
|
279
|
+
* shall be created by method {@link sap.apf.Api#createMessageObject}.
|
|
280
|
+
*/
|
|
281
|
+
export default class MessageObject {
|
|
282
|
+
constructor(oConfig: object);
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Returns the calling object
|
|
286
|
+
*/
|
|
287
|
+
getCallingObject(): object;
|
|
288
|
+
/**
|
|
289
|
+
* Returns the message code.
|
|
290
|
+
*/
|
|
291
|
+
getCode(): string;
|
|
292
|
+
/**
|
|
293
|
+
* Returns the version of jQuery
|
|
294
|
+
*/
|
|
295
|
+
getJQueryVersion(): string;
|
|
296
|
+
/**
|
|
297
|
+
* Returns the message text.
|
|
298
|
+
*/
|
|
299
|
+
getMessage(): string;
|
|
300
|
+
/**
|
|
301
|
+
* Returns the parameter which were passed over
|
|
302
|
+
*/
|
|
303
|
+
getParameters(): any[];
|
|
304
|
+
/**
|
|
305
|
+
* Gets the previous message object.
|
|
306
|
+
*
|
|
307
|
+
* @returns || undefined
|
|
308
|
+
*/
|
|
309
|
+
getPrevious(): MessageObject;
|
|
310
|
+
/**
|
|
311
|
+
* Returns raw text.
|
|
312
|
+
*/
|
|
313
|
+
getRawText(): string;
|
|
314
|
+
/**
|
|
315
|
+
* Returns the version of SAP UI5
|
|
316
|
+
*/
|
|
317
|
+
getSapUi5Version(): string;
|
|
318
|
+
/**
|
|
319
|
+
* Returns the severity.
|
|
320
|
+
*/
|
|
321
|
+
getSeverity(): string;
|
|
322
|
+
/**
|
|
323
|
+
* Returns the stack of the error object to get the line number and source file
|
|
324
|
+
*/
|
|
325
|
+
getStack(): string;
|
|
326
|
+
/**
|
|
327
|
+
* Returns the time stamp of the message object in seconds after 1970
|
|
328
|
+
*/
|
|
329
|
+
getTimestamp(): number;
|
|
330
|
+
/**
|
|
331
|
+
* Returns the time stamp of the message object as a date
|
|
332
|
+
*/
|
|
333
|
+
getTimestampAsdateObject(): Date;
|
|
334
|
+
/**
|
|
335
|
+
* Returns true, if a raw text is set.
|
|
336
|
+
*/
|
|
337
|
+
hasRawText(): boolean;
|
|
338
|
+
/**
|
|
339
|
+
* Sets the code, that classifies the message.
|
|
340
|
+
*
|
|
341
|
+
* @returns undefined
|
|
342
|
+
*/
|
|
343
|
+
setCode(code: string): undefined;
|
|
344
|
+
/**
|
|
345
|
+
* Sets the message text.
|
|
346
|
+
*
|
|
347
|
+
* @returns undefined
|
|
348
|
+
*/
|
|
349
|
+
setMessage(sTextMessage: string): undefined;
|
|
350
|
+
/**
|
|
351
|
+
* Sets the previous message object. One can add a message object to this message object, that describes
|
|
352
|
+
* a previous message. The message in the previous message object will also be displayed in the log (as
|
|
353
|
+
* previous entry).
|
|
354
|
+
*
|
|
355
|
+
* @returns undefined
|
|
356
|
+
*/
|
|
357
|
+
setPrevious(oPreviousMessageObject: MessageObject): undefined;
|
|
358
|
+
/**
|
|
359
|
+
* Sets the severity , which classifies the message.
|
|
360
|
+
*
|
|
361
|
+
* @returns undefined
|
|
362
|
+
*/
|
|
363
|
+
setSeverity(
|
|
364
|
+
/**
|
|
365
|
+
* Only for to build in error messages. Allowed values are defined in {@link sap.apf.constants.severity}.
|
|
366
|
+
*/
|
|
367
|
+
severity: string
|
|
368
|
+
): undefined;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
declare module "sap/apf/ui/representations/representationInterface" {
|
|
373
|
+
import RepresentationInterfaceProxy from "sap/apf/ui/representations/RepresentationInterfaceProxy";
|
|
374
|
+
|
|
375
|
+
import ODataModel from "sap/ui/model/odata/v2/ODataModel";
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @EXPERIMENTAL - The complete interface is subject to ongoing work and not yet stable (as of Version 1.24.0).
|
|
379
|
+
*
|
|
380
|
+
* This is not a runtime class, but it describes the interface that a representation (chart) has to implement
|
|
381
|
+
* for to interact with the APF.
|
|
382
|
+
*/
|
|
383
|
+
export default class representationInterface {
|
|
384
|
+
constructor(
|
|
385
|
+
/**
|
|
386
|
+
* specific interface proxy for communication between the representation and APF.
|
|
387
|
+
*/
|
|
388
|
+
dependencies: RepresentationInterfaceProxy,
|
|
389
|
+
/**
|
|
390
|
+
* Configuration object that allows to define representation specific configuration values.
|
|
391
|
+
* Fixed interface property names:
|
|
392
|
+
* **alternateRepresentationTypeId**: A reference to a representation type in analytical configuration
|
|
393
|
+
* **alternateRepresentationType**: A property dynamically added to the parameter object by APF core
|
|
394
|
+
* based on reference in alternateRepresentationTypeId and containing configuration values of the representation
|
|
395
|
+
* type ID referenced by alternateRepresentationTypeId.
|
|
396
|
+
*/
|
|
397
|
+
configuration: object
|
|
398
|
+
);
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Called on representation by binding when a representation type is set. Intention is to trigger transfer
|
|
402
|
+
* of selections that might exist on a representation (source) that is replaced by the "new" representation
|
|
403
|
+
* (target) to be set. Therefore the target representation receives a reference pointing to the source representation.
|
|
404
|
+
* In order to check whether selection transfer is possible the target representation initiates a negotiation
|
|
405
|
+
* process with the source representations (3-way-handshake). If a common method can be determined between
|
|
406
|
+
* target and source representation the selection will be exchanged.
|
|
407
|
+
*/
|
|
408
|
+
adoptSelection(
|
|
409
|
+
/**
|
|
410
|
+
* Source representation implementing the representationInterface.
|
|
411
|
+
*/
|
|
412
|
+
oSourceRepresentation: object
|
|
413
|
+
): void;
|
|
414
|
+
/**
|
|
415
|
+
* This method uses the serialization information from serialized data and sets the selection to representation
|
|
416
|
+
* based on mode and selection string returned.
|
|
417
|
+
*/
|
|
418
|
+
deserialize(oSerializationInformation: object): void;
|
|
419
|
+
/**
|
|
420
|
+
* Returns the alternate representation of current step (i.e. list representation for the charts)
|
|
421
|
+
*
|
|
422
|
+
* @returns oAlternateRepresentation
|
|
423
|
+
*/
|
|
424
|
+
getAlternateRepresentation(): object;
|
|
425
|
+
/**
|
|
426
|
+
* Returns data for representation type
|
|
427
|
+
*
|
|
428
|
+
* @returns aDataResponse
|
|
429
|
+
*/
|
|
430
|
+
getData(): any[];
|
|
431
|
+
/**
|
|
432
|
+
* This method has to be implemented so that binding can determine which method has to be used for the filter
|
|
433
|
+
* retrieval from a representations.
|
|
434
|
+
*
|
|
435
|
+
* @returns The filter method type the representation supports
|
|
436
|
+
*/
|
|
437
|
+
getFilterMethodType(): /* was: sap.apf.constants.filterMethodTypes */ any;
|
|
438
|
+
/**
|
|
439
|
+
* This method holds the logic to draw the content to be shown on main representation area.
|
|
440
|
+
*
|
|
441
|
+
* @returns oUiObject The UI object that has to be shown in main representation area. Example: Line chart
|
|
442
|
+
* instance for a line chart representation.
|
|
443
|
+
*/
|
|
444
|
+
getMainContent(): object;
|
|
445
|
+
/**
|
|
446
|
+
* Returns meta data for representation type
|
|
447
|
+
*
|
|
448
|
+
* @returns metadata
|
|
449
|
+
*/
|
|
450
|
+
getMetaData(): /* was: sap.apf.core.EntityTypeMetadata */ any;
|
|
451
|
+
/**
|
|
452
|
+
* The method returns the constructor arguments which will be used to create toggle representation.
|
|
453
|
+
*
|
|
454
|
+
* @returns oParameters
|
|
455
|
+
*/
|
|
456
|
+
getParameter(): object;
|
|
457
|
+
/**
|
|
458
|
+
* This method holds the logic to draw the content to be printed.
|
|
459
|
+
*
|
|
460
|
+
* @returns oUiObject The UI object that has to be printed. Example: Line chart instance for a line chart
|
|
461
|
+
* representation.
|
|
462
|
+
*/
|
|
463
|
+
getPrintContent(): object;
|
|
464
|
+
/**
|
|
465
|
+
* Additionally to parameters being set in the request configuration and filter values that are derived
|
|
466
|
+
* from the path logic, a request can be enriched with additional options such as **$top**, **$skip** and
|
|
467
|
+
* **$orderby**. Dependent on the actual options a representation may require for a request, an object
|
|
468
|
+
* containing the correspondent properties may be returned by this method.
|
|
469
|
+
* In case no additional options are required an empty object should be returned.
|
|
470
|
+
*
|
|
471
|
+
* The supported optional properties of the return object are:
|
|
472
|
+
* **paging**: An object containing optional properties
|
|
473
|
+
* **top** for OData system query option $top
|
|
474
|
+
* A numeric value is expected**skip** for query string option $skip
|
|
475
|
+
* A numeric value is expected **inlineCount** for OData system query option $inlineCount
|
|
476
|
+
* A boolean value 'true' is expected if inline count is requested **orderby** for OData system
|
|
477
|
+
* query option $orderby: Values could be of type
|
|
478
|
+
* **string** that holds a property name (in this case the default sort order 'ascending' is applied) **object**
|
|
479
|
+
* with properties:
|
|
480
|
+
* 'property' A string containing the property name is expected. 'ascending' A boolean value 'true'
|
|
481
|
+
* is expected, if ascending sort order is required for the property. If omitted default sort order 'descending'
|
|
482
|
+
* is applied. **array** holding objects with properties 'property' and 'ascending' as described
|
|
483
|
+
* above.
|
|
484
|
+
*
|
|
485
|
+
* @returns Example:
|
|
486
|
+
* { paging : {
|
|
487
|
+
* top : 10,
|
|
488
|
+
* skip : 30,
|
|
489
|
+
* inlineCount : true
|
|
490
|
+
* },
|
|
491
|
+
* orderby : [
|
|
492
|
+
* { property : "nameProperty1",
|
|
493
|
+
* }, {
|
|
494
|
+
* property : "nameProperty2",
|
|
495
|
+
* ascending : true
|
|
496
|
+
* }
|
|
497
|
+
* ]
|
|
498
|
+
* }
|
|
499
|
+
* See also http://www.odata.org/documentation/odata-version-2-0/uri-conventions/
|
|
500
|
+
*/
|
|
501
|
+
getRequestOptions(): object;
|
|
502
|
+
/**
|
|
503
|
+
* This is the basic method with which the step can detect data selected in the chart.
|
|
504
|
+
*
|
|
505
|
+
* @returns An array with indices is returned.
|
|
506
|
+
* E.g. if the first and the third line of the array aDataResponse have been selected, then aIndices = [0,
|
|
507
|
+
* 2]. Counting of indices start from 0. If all data has been selected, and aDataResponse.length == 4, then
|
|
508
|
+
* the array [0,1,2,3] is returned. In general [ 0 .. aDataResponse.length - 1] If no data has been selected
|
|
509
|
+
* at all, then [] is returned. In case of an empty selection, the value undefined has to be returned. An
|
|
510
|
+
* empty selection may occur, when selections in the previous step has been changed, so that the visual
|
|
511
|
+
* selection on the chart is now empty (empty rectangle).
|
|
512
|
+
*/
|
|
513
|
+
getSelectionAsArray(): number[];
|
|
514
|
+
/**
|
|
515
|
+
* This method holds the logic to draw the content to be shown on thumbnail area.
|
|
516
|
+
*
|
|
517
|
+
* @returns oUiObject The UI object that has to be shown in thumbnail area. Example: Line chart instance
|
|
518
|
+
* for a line chart representation.
|
|
519
|
+
*/
|
|
520
|
+
getThumbnailContent(): object;
|
|
521
|
+
/**
|
|
522
|
+
* This method holds the logic to draw the content to be shown as tooltip for a thumbnail. It will be shown
|
|
523
|
+
* inside a tooltip Popup when the thumbnail content overflows the thumbnail container area with a gradient
|
|
524
|
+
* effect to indicate that it is overflowing.
|
|
525
|
+
*
|
|
526
|
+
* @returns oUiObject The UI object that has to be shown as tooltip for a thumbnail. Example: Detailed content
|
|
527
|
+
* of a form representation.
|
|
528
|
+
*/
|
|
529
|
+
getTooltipContent(): object;
|
|
530
|
+
/**
|
|
531
|
+
* This method holds the logic to remove all selection from the chart. It also updates the step.
|
|
532
|
+
*/
|
|
533
|
+
removeAllSelection(): void;
|
|
534
|
+
/**
|
|
535
|
+
* This method returns the selection for serialization. This is required for the Persisting selection of
|
|
536
|
+
* current representation. It includes selection mode and selections.
|
|
537
|
+
*
|
|
538
|
+
* @returns oSerializationInformation
|
|
539
|
+
*/
|
|
540
|
+
serialize(): object;
|
|
541
|
+
/**
|
|
542
|
+
* The binding sets the data (received from the request) that has to be visualized. The array aDataResponse
|
|
543
|
+
* is shared between all representations of a step and the binding. When lines are moved, deleted or changed,
|
|
544
|
+
* you modify the visualization of the original data! When displaying the data, one can determine which
|
|
545
|
+
* record is selected by aSelectedIndices.
|
|
546
|
+
*/
|
|
547
|
+
setData(
|
|
548
|
+
/**
|
|
549
|
+
* oMetadata holds meta information about the received data.
|
|
550
|
+
*/
|
|
551
|
+
oMetadata: /* was: sap.apf.core.Metadata */ any,
|
|
552
|
+
/**
|
|
553
|
+
* Data response from the request.
|
|
554
|
+
*/
|
|
555
|
+
aDataResponse: any[]
|
|
556
|
+
): void;
|
|
557
|
+
/**
|
|
558
|
+
* Called during path update for treetable representation. As treetable has its own data model, the request
|
|
559
|
+
* handling is done on representation side.
|
|
560
|
+
*/
|
|
561
|
+
updateTreetable(
|
|
562
|
+
/**
|
|
563
|
+
* Contains filters and parameters for treetable request handling
|
|
564
|
+
*/
|
|
565
|
+
controlObject: object,
|
|
566
|
+
/**
|
|
567
|
+
* OData model for the service of treetable
|
|
568
|
+
*/
|
|
569
|
+
oModel: ODataModel,
|
|
570
|
+
/**
|
|
571
|
+
* Function to be called after request processing
|
|
572
|
+
*/
|
|
573
|
+
callbackAfterRequest: Function,
|
|
574
|
+
/**
|
|
575
|
+
* Convenience functions for metadata handling
|
|
576
|
+
*/
|
|
577
|
+
entityTypeMetadata: /* was: sap.apf.core.EntityTypeMetadata */ any
|
|
578
|
+
): void;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
declare module "sap/apf/ui/representations/RepresentationInterfaceProxy" {
|
|
583
|
+
/**
|
|
584
|
+
* @EXPERIMENTAL - The complete interface is subject to ongoing work and not yet stable (as of Version 1.24.0).
|
|
585
|
+
*
|
|
586
|
+
* The interface proxy passed to a representation which provides access to required APF methods. This constructor
|
|
587
|
+
* is used by apf.api. It can be also used to build unit tests that need an interface proxy between APF
|
|
588
|
+
* and representations.
|
|
589
|
+
*/
|
|
590
|
+
export default class RepresentationInterfaceProxy {
|
|
591
|
+
constructor(
|
|
592
|
+
oCoreApi: /* was: sap.apf.core.Instance */ any,
|
|
593
|
+
|
|
594
|
+
oUiApi: /* was: sap.apf.ui.Instance */ any
|
|
595
|
+
);
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* see {@link sap.apf.Api#createFilter}
|
|
599
|
+
*/
|
|
600
|
+
createFilter(): void;
|
|
601
|
+
/**
|
|
602
|
+
* see {@link sap.apf.Api#createMessageObject}
|
|
603
|
+
*/
|
|
604
|
+
createMessageObject(): void;
|
|
605
|
+
/**
|
|
606
|
+
* get exits registered on oInject
|
|
607
|
+
*/
|
|
608
|
+
getExits(): void;
|
|
609
|
+
/**
|
|
610
|
+
* see {@link sap.apf.Api#getTextNotHtmlEncoded}
|
|
611
|
+
*/
|
|
612
|
+
getTextNotHtmlEncoded(): void;
|
|
613
|
+
/**
|
|
614
|
+
* returns the oUiAPi
|
|
615
|
+
*/
|
|
616
|
+
getUiApi(): void;
|
|
617
|
+
/**
|
|
618
|
+
* see {@link sap.apf.Api#putMessage}
|
|
619
|
+
*/
|
|
620
|
+
putMessage(): void;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
declare namespace sap {
|
|
625
|
+
/**
|
|
626
|
+
* Analysis Path Framework
|
|
627
|
+
*/
|
|
628
|
+
namespace apf {
|
|
629
|
+
namespace core {
|
|
630
|
+
/**
|
|
631
|
+
* Facade for sap.apf.core.Request for getting data via the OData protocol. This corresponds to a normal
|
|
632
|
+
* HTTP GET method. Creation is done via APF API.
|
|
633
|
+
*/
|
|
634
|
+
class ReadRequest {
|
|
635
|
+
constructor(
|
|
636
|
+
/**
|
|
637
|
+
* Injection object.
|
|
638
|
+
*/
|
|
639
|
+
oInject: object,
|
|
640
|
+
/**
|
|
641
|
+
* The object represents an OData GET request.
|
|
642
|
+
*/
|
|
643
|
+
oRequest: object,
|
|
644
|
+
/**
|
|
645
|
+
* Service defined by the analytical content configuration.
|
|
646
|
+
*/
|
|
647
|
+
sService: string,
|
|
648
|
+
/**
|
|
649
|
+
* Entity type defined by the analytical content configuration.
|
|
650
|
+
*/
|
|
651
|
+
sEntityType: string
|
|
652
|
+
);
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Returns {sap.apf.core.MetadataFacade} which provides convenience methods for accessing metadata (only
|
|
656
|
+
* for the service document, which is assigned to this read request instance).
|
|
657
|
+
*/
|
|
658
|
+
getMetadataFacade(
|
|
659
|
+
/**
|
|
660
|
+
* Service defined by the request configuration.
|
|
661
|
+
*/
|
|
662
|
+
sService: string
|
|
663
|
+
): /* was: sap.apf.core.MetadataFacade */ any;
|
|
664
|
+
/**
|
|
665
|
+
* Executes an OData request.
|
|
666
|
+
*
|
|
667
|
+
* @returns undefined
|
|
668
|
+
*/
|
|
669
|
+
send(
|
|
670
|
+
oFilter: utils.Filter | null | undefined,
|
|
671
|
+
/**
|
|
672
|
+
* The first argument of the callback function is the received data (as Array). The second argument is {sap.apf.core.EntityTypeMetadata}.
|
|
673
|
+
* The third argument is {sap.apf.core.MessageObject}.
|
|
674
|
+
*/
|
|
675
|
+
fnCallback: Function,
|
|
676
|
+
/**
|
|
677
|
+
* An optional object containing additional query string options Format: { orderby : [{ property : ,
|
|
678
|
+
* order : }], top : , skip : }
|
|
679
|
+
*/
|
|
680
|
+
oRequestOptions: Object
|
|
681
|
+
): undefined;
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Facade for sap.apf.core.Request for getting data via the OData protocol. This corresponds to a normal
|
|
685
|
+
* HTTP GET method. Creation is done via APF API. In addition to the handed over filter argument in method
|
|
686
|
+
* send(), the required filters and parameter entity set key properties of the configured entity type are
|
|
687
|
+
* applied, which are determined from path filter.
|
|
688
|
+
*/
|
|
689
|
+
class ReadRequestByRequiredFilter {
|
|
690
|
+
constructor(
|
|
691
|
+
/**
|
|
692
|
+
* Injection object.
|
|
693
|
+
*/
|
|
694
|
+
oInject: object,
|
|
695
|
+
/**
|
|
696
|
+
* The object represents an OData GET request.
|
|
697
|
+
*/
|
|
698
|
+
oRequest: object,
|
|
699
|
+
/**
|
|
700
|
+
* Service defined by the analytical content configuration.
|
|
701
|
+
*/
|
|
702
|
+
sService: string,
|
|
703
|
+
/**
|
|
704
|
+
* Entity type defined by the analytical content configuration.
|
|
705
|
+
*/
|
|
706
|
+
sEntityType: string
|
|
707
|
+
);
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Returns {sap.apf.core.MetadataFacade} which provides convenience methods for accessing metadata (only
|
|
711
|
+
* for the service document, which is assigned to this read request instance).
|
|
712
|
+
*/
|
|
713
|
+
getMetadataFacade(
|
|
714
|
+
/**
|
|
715
|
+
* Service defined by the request configuration.
|
|
716
|
+
*/
|
|
717
|
+
sService: string
|
|
718
|
+
): /* was: sap.apf.core.MetadataFacade */ any;
|
|
719
|
+
/**
|
|
720
|
+
* Executes an OData request.
|
|
721
|
+
*
|
|
722
|
+
* @returns undefined
|
|
723
|
+
*/
|
|
724
|
+
send(
|
|
725
|
+
oFilter: utils.Filter | null | undefined,
|
|
726
|
+
/**
|
|
727
|
+
* The first argument of the callback function is the received data (as Array). The second argument is {sap.apf.core.EntityTypeMetadata}.
|
|
728
|
+
* The third argument is {sap.apf.core.MessageObject}.
|
|
729
|
+
*/
|
|
730
|
+
fnCallback: Function,
|
|
731
|
+
/**
|
|
732
|
+
* An optional object containing additional query string options Format: { orderby : [{ property : ,
|
|
733
|
+
* order : }], top : , skip : }
|
|
734
|
+
*/
|
|
735
|
+
oRequestOptions: Object
|
|
736
|
+
): undefined;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
namespace utils {
|
|
741
|
+
/**
|
|
742
|
+
* Filter object
|
|
743
|
+
*/
|
|
744
|
+
class Filter {
|
|
745
|
+
/**
|
|
746
|
+
* It is designed to be used for supplying context information for the application. In addition, it can
|
|
747
|
+
* be used for exchanging filter values between the path and the facet filters. This function object supports
|
|
748
|
+
* the top down construction of filter expressions.
|
|
749
|
+
*/
|
|
750
|
+
constructor(
|
|
751
|
+
oMessageHandler: /* was: sap.apf.core.MessageHandler */ any
|
|
752
|
+
);
|
|
753
|
+
/**
|
|
754
|
+
* Contains 'filter'
|
|
755
|
+
*/
|
|
756
|
+
type: undefined;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Creates a filter from json format, that comes from selection variant. Apf creates this filter format
|
|
760
|
+
* with method Filter#mapToSapUI5FilterExpression. See there for description of the format.
|
|
761
|
+
*/
|
|
762
|
+
createFilterFromSapUi5FilterJSON(): Filter;
|
|
763
|
+
/**
|
|
764
|
+
* Returns filter object or expression for a given ID, if exists.
|
|
765
|
+
*/
|
|
766
|
+
getById(
|
|
767
|
+
/**
|
|
768
|
+
* ID of the object to be returned.
|
|
769
|
+
*/
|
|
770
|
+
sId: string
|
|
771
|
+
): FilterAnd | FilterOr | FilterExpression | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* Returns the logical operations and the boolean expressions of a Filter object as nested arrays for the
|
|
774
|
+
* logical operations and single level objects for the boolean expressions. Depending on the nesting level
|
|
775
|
+
* of the arrays the logical operators for the terms in the arrays alternates between AND and OR. The array
|
|
776
|
+
* on the highest level has the logical operator AND. It corresponds to the TopAnd filter term. Terms in
|
|
777
|
+
* general can be composed of the logical operation AND (see the FilterAnd object) or OR (see the FilterOr
|
|
778
|
+
* object) or be a boolean expression (see the FilterExpression object). AND and OR terms are returned as
|
|
779
|
+
* arrays; boolean expressions are returned as objects.
|
|
780
|
+
*
|
|
781
|
+
* @returns Array of AND terms, OR terms and expressions.
|
|
782
|
+
*/
|
|
783
|
+
getExpressions(): object[];
|
|
784
|
+
/**
|
|
785
|
+
* Convenience function to get the OData operators which are defined in {constants.FilterOperators}.
|
|
786
|
+
*/
|
|
787
|
+
getOperators(): /* was: sap.apf.constants.FilterOperators */ any;
|
|
788
|
+
/**
|
|
789
|
+
* Returns the top 'AND' object of the filter.
|
|
790
|
+
*/
|
|
791
|
+
getTopAnd(): FilterAnd;
|
|
792
|
+
/**
|
|
793
|
+
* Build the intersection of the this filter object with the supplied filter(s). The method does not change
|
|
794
|
+
* the "this"-instance.
|
|
795
|
+
*
|
|
796
|
+
* @returns new CoreFilter object {@link sap.apf.utils.Filter} for the intersected filters
|
|
797
|
+
*/
|
|
798
|
+
intersectWith(
|
|
799
|
+
/**
|
|
800
|
+
* Single filter object {@link sap.apf.utils.Filter}, a comma separated parameter list of filter objects,
|
|
801
|
+
* or an array of filter objects
|
|
802
|
+
*/
|
|
803
|
+
args: Filter | Filter[]
|
|
804
|
+
): Filter;
|
|
805
|
+
/**
|
|
806
|
+
* Updates an expression.
|
|
807
|
+
*
|
|
808
|
+
* @returns undefined
|
|
809
|
+
*/
|
|
810
|
+
updateExpression(
|
|
811
|
+
/**
|
|
812
|
+
* ID of expression to be updated
|
|
813
|
+
*/
|
|
814
|
+
sId: string,
|
|
815
|
+
/**
|
|
816
|
+
* Expression object containing the updated properties
|
|
817
|
+
*/
|
|
818
|
+
oExpression: {
|
|
819
|
+
/**
|
|
820
|
+
* Updated expression ID
|
|
821
|
+
*/
|
|
822
|
+
id: string;
|
|
823
|
+
/**
|
|
824
|
+
* Updated expression name
|
|
825
|
+
*/
|
|
826
|
+
name: string;
|
|
827
|
+
/**
|
|
828
|
+
* Updated expression operator of type {sap.apf.core.constants.FilterOperators}
|
|
829
|
+
*/
|
|
830
|
+
operator: string;
|
|
831
|
+
/**
|
|
832
|
+
* Updated expression low value
|
|
833
|
+
*/
|
|
834
|
+
value: string | number;
|
|
835
|
+
/**
|
|
836
|
+
* Updated expression high value
|
|
837
|
+
*/
|
|
838
|
+
high: string | number;
|
|
839
|
+
}
|
|
840
|
+
): undefined;
|
|
841
|
+
/**
|
|
842
|
+
* Updates a value of an expression object.
|
|
843
|
+
*
|
|
844
|
+
* @returns undefined
|
|
845
|
+
*/
|
|
846
|
+
updateValue(
|
|
847
|
+
/**
|
|
848
|
+
* ID of the expression object to be updated
|
|
849
|
+
*/
|
|
850
|
+
sId: string,
|
|
851
|
+
/**
|
|
852
|
+
* The new low value for the expression (optional)
|
|
853
|
+
*/
|
|
854
|
+
value: string,
|
|
855
|
+
/**
|
|
856
|
+
* The new high value for the expression (optional)
|
|
857
|
+
*/
|
|
858
|
+
high: string
|
|
859
|
+
): undefined;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
class FilterAnd {
|
|
863
|
+
constructor(
|
|
864
|
+
oMessageHandler: /* was: sap.apf.core.MessageHandler */ any,
|
|
865
|
+
/**
|
|
866
|
+
* Identifier for the object
|
|
867
|
+
*/
|
|
868
|
+
sId: string
|
|
869
|
+
);
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Adds an expression object to this filter.
|
|
873
|
+
*
|
|
874
|
+
* @returns this to allow method chaining
|
|
875
|
+
*/
|
|
876
|
+
addExpression(
|
|
877
|
+
/**
|
|
878
|
+
* Expression object
|
|
879
|
+
*/
|
|
880
|
+
oExpression: {
|
|
881
|
+
/**
|
|
882
|
+
* Expression ID
|
|
883
|
+
*/
|
|
884
|
+
id: undefined;
|
|
885
|
+
/**
|
|
886
|
+
* Expression name
|
|
887
|
+
*/
|
|
888
|
+
name: undefined;
|
|
889
|
+
/**
|
|
890
|
+
* Expression operator of type
|
|
891
|
+
*/
|
|
892
|
+
operator: /* was: sap.apf.core.constants.FilterOperators */ any;
|
|
893
|
+
/**
|
|
894
|
+
* Expression value
|
|
895
|
+
*/
|
|
896
|
+
value: undefined;
|
|
897
|
+
}
|
|
898
|
+
): FilterAnd;
|
|
899
|
+
/**
|
|
900
|
+
* Adds an object of type {sap.apf.utils.FilterOr}.
|
|
901
|
+
*/
|
|
902
|
+
addOr(
|
|
903
|
+
/**
|
|
904
|
+
* Identifier for the object to be added.
|
|
905
|
+
*/
|
|
906
|
+
sId: string
|
|
907
|
+
): FilterOr;
|
|
908
|
+
/**
|
|
909
|
+
* Returns ID of this filter object.
|
|
910
|
+
*/
|
|
911
|
+
getId(): string;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Filter expression
|
|
915
|
+
*/
|
|
916
|
+
class FilterExpression {
|
|
917
|
+
constructor(
|
|
918
|
+
oMessageHandler: /* was: sap.apf.core.MessageHandler */ any,
|
|
919
|
+
/**
|
|
920
|
+
* Expression object
|
|
921
|
+
*/
|
|
922
|
+
oExpression: {
|
|
923
|
+
/**
|
|
924
|
+
* Expression ID
|
|
925
|
+
*/
|
|
926
|
+
id: undefined;
|
|
927
|
+
/**
|
|
928
|
+
* Expression name
|
|
929
|
+
*/
|
|
930
|
+
name: undefined;
|
|
931
|
+
/**
|
|
932
|
+
* Expression operator of type
|
|
933
|
+
*/
|
|
934
|
+
operator: /* was: sap.apf.core.constants.FilterOperators */ any;
|
|
935
|
+
/**
|
|
936
|
+
* Expression value
|
|
937
|
+
*/
|
|
938
|
+
value: undefined;
|
|
939
|
+
/**
|
|
940
|
+
* Expression high value
|
|
941
|
+
*/
|
|
942
|
+
high: undefined;
|
|
943
|
+
}
|
|
944
|
+
);
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
class FilterOr {
|
|
948
|
+
constructor(
|
|
949
|
+
oMessageHandler: /* was: sap.apf.core.MessageHandler */ any,
|
|
950
|
+
/**
|
|
951
|
+
* Identifier for the object
|
|
952
|
+
*/
|
|
953
|
+
sId: string,
|
|
954
|
+
/**
|
|
955
|
+
* Parent object
|
|
956
|
+
*/
|
|
957
|
+
oAnd: FilterAnd
|
|
958
|
+
);
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Adds an object of type {@link sap.apf.utils.FilterAnd}.
|
|
962
|
+
*/
|
|
963
|
+
addAnd(
|
|
964
|
+
/**
|
|
965
|
+
* Identifier for the object to be added.
|
|
966
|
+
*/
|
|
967
|
+
sId: string
|
|
968
|
+
): FilterAnd;
|
|
969
|
+
/**
|
|
970
|
+
* Adds an expression object to this filter.
|
|
971
|
+
*
|
|
972
|
+
* @returns this to allow method chaining
|
|
973
|
+
*/
|
|
974
|
+
addExpression(
|
|
975
|
+
/**
|
|
976
|
+
* Expression object
|
|
977
|
+
*/
|
|
978
|
+
oExpression: {
|
|
979
|
+
/**
|
|
980
|
+
* Expression ID
|
|
981
|
+
*/
|
|
982
|
+
id: undefined;
|
|
983
|
+
/**
|
|
984
|
+
* Expression name
|
|
985
|
+
*/
|
|
986
|
+
name: undefined;
|
|
987
|
+
/**
|
|
988
|
+
* Expression operator of type
|
|
989
|
+
*/
|
|
990
|
+
operator: /* was: sap.apf.core.constants.FilterOperators */ any;
|
|
991
|
+
/**
|
|
992
|
+
* Expression value
|
|
993
|
+
*/
|
|
994
|
+
value: undefined;
|
|
995
|
+
}
|
|
996
|
+
): FilterOr;
|
|
997
|
+
/**
|
|
998
|
+
* Retrieves an ID of the term.
|
|
999
|
+
*
|
|
1000
|
+
* @returns ID of the term.
|
|
1001
|
+
*/
|
|
1002
|
+
getId(): string;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
interface IUI5DefineDependencyNames {
|
|
1008
|
+
"sap/apf/abap/LrepConnector": undefined;
|
|
1009
|
+
|
|
1010
|
+
"sap/apf/api": undefined;
|
|
1011
|
+
|
|
1012
|
+
"sap/apf/core/messageObject": undefined;
|
|
1013
|
+
|
|
1014
|
+
"sap/apf/core/readRequest": undefined;
|
|
1015
|
+
|
|
1016
|
+
"sap/apf/core/readRequestByRequiredFilter": undefined;
|
|
1017
|
+
|
|
1018
|
+
"sap/apf/library": undefined;
|
|
1019
|
+
|
|
1020
|
+
"sap/apf/ui/representations/representationInterface": undefined;
|
|
1021
|
+
|
|
1022
|
+
"sap/apf/ui/representations/RepresentationInterfaceProxy": undefined;
|
|
1023
|
+
|
|
1024
|
+
"sap/apf/utils/filter": undefined;
|
|
1025
|
+
}
|
|
1026
|
+
}
|