@sapui5/ts-types 1.97.2 → 1.98.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 +0 -4
- 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 +425 -13
- package/types/sap.f.d.ts +108 -573
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +153 -25
- package/types/sap.fe.macros.d.ts +1 -1
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +5 -1
- package/types/sap.fe.test.d.ts +9 -3
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +49 -1
- package/types/sap.landvisz.d.ts +49 -1
- package/types/sap.m.d.ts +2648 -268
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +38 -3
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.grid.d.ts +3 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +29 -7
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +31 -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 +67 -9
- package/types/sap.ui.core.d.ts +819 -199
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +3 -3
- package/types/sap.ui.fl.d.ts +7 -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.integration.d.ts +21 -3
- package/types/sap.ui.layout.d.ts +4 -4
- package/types/sap.ui.mdc.d.ts +12 -6
- package/types/sap.ui.richtexteditor.d.ts +7 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -6
- package/types/sap.ui.table.d.ts +30 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -3
- package/types/sap.ui.vk.d.ts +24 -20
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +54 -75
- 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 -5
- package/types/sap.fe.placeholder.d.ts +0 -3
- package/types/sap.fe.plugins.d.ts +0 -3
- package/types/sap.fe.semantics.d.ts +0 -3
- package/types/sap.fe.tools.d.ts +0 -3
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -37,12 +37,8 @@
|
|
|
37
37
|
/// <reference path="./sap.fe.core.d.ts"/>
|
|
38
38
|
/// <reference path="./sap.fe.macros.d.ts"/>
|
|
39
39
|
/// <reference path="./sap.fe.navigation.d.ts"/>
|
|
40
|
-
/// <reference path="./sap.fe.placeholder.d.ts"/>
|
|
41
|
-
/// <reference path="./sap.fe.plugins.d.ts"/>
|
|
42
|
-
/// <reference path="./sap.fe.semantics.d.ts"/>
|
|
43
40
|
/// <reference path="./sap.fe.templates.d.ts"/>
|
|
44
41
|
/// <reference path="./sap.fe.test.d.ts"/>
|
|
45
|
-
/// <reference path="./sap.fe.tools.d.ts"/>
|
|
46
42
|
/// <reference path="./sap.feedback.ui.d.ts"/>
|
|
47
43
|
/// <reference path="./sap.landvisz.d.ts"/>
|
|
48
44
|
/// <reference path="./sap.rules.ui.d.ts"/>
|
package/types/sap.apf.d.ts
CHANGED
package/types/sap.ca.ui.d.ts
CHANGED
package/types/sap.chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.98.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace esh {
|
|
@@ -10,22 +10,94 @@ declare namespace sap {
|
|
|
10
10
|
interface $SearchCompositeControlSettings
|
|
11
11
|
extends sap.ui.core.$ControlSettings {
|
|
12
12
|
/**
|
|
13
|
+
* @SINCE 1.93.0
|
|
14
|
+
*
|
|
13
15
|
* An additional CSS class to add to this control
|
|
14
16
|
*/
|
|
15
17
|
cssClass?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
|
-
*
|
|
20
|
+
* @SINCE 1.93.0
|
|
21
|
+
*
|
|
22
|
+
* Defines the initial search term for the search input.
|
|
19
23
|
*/
|
|
20
24
|
searchTerm?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
21
25
|
|
|
22
26
|
/**
|
|
27
|
+
* @SINCE 1.93.0
|
|
28
|
+
*
|
|
23
29
|
* Defines if the search control will search for the given term right on control instantiation.
|
|
24
30
|
*/
|
|
25
31
|
searchOnStart?:
|
|
26
32
|
| boolean
|
|
27
33
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
28
34
|
|
|
35
|
+
/**
|
|
36
|
+
* @SINCE 1.98.0
|
|
37
|
+
*
|
|
38
|
+
* Defines the filter root condition of a filter tree which shall be applied to the search request. This
|
|
39
|
+
* control only allows filter trees which have a the following structure: complex condition (root level)
|
|
40
|
+
* \ complex condition (attribute level) \ simple condition (attribute value level) Filter root conditions
|
|
41
|
+
* which do not follow this structure won't be accepted and an error will be thrown. Please see the below
|
|
42
|
+
* for a more in-depth example.
|
|
43
|
+
*/
|
|
44
|
+
filterRootCondition?:
|
|
45
|
+
| object
|
|
46
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @SINCE 1.93.0
|
|
50
|
+
*
|
|
51
|
+
* Configuration for the Enterprise Search Client API.
|
|
52
|
+
*/
|
|
53
|
+
sinaConfiguration?:
|
|
54
|
+
| object
|
|
55
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @SINCE 1.98.0
|
|
59
|
+
*
|
|
60
|
+
* The id of the data source in which it will search right after initialization.
|
|
61
|
+
*/
|
|
62
|
+
dataSource?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @SINCE 1.98.0
|
|
66
|
+
*
|
|
67
|
+
* Defines search result view types. Search result of single Business Object is switchable between different
|
|
68
|
+
* view types. Search result of All, Category (multiple Business Objects), or Apps is displayed in mandatory
|
|
69
|
+
* view type. It is not switchable. Possible values for the array items are "searchResultList", "searchResultTable"
|
|
70
|
+
* and "searchResultGrid". Note: The array is not allowed to have duplicates, and must contain the value
|
|
71
|
+
* of `fallbackResultViewType`.
|
|
72
|
+
*/
|
|
73
|
+
resultViewTypes?:
|
|
74
|
+
| string[]
|
|
75
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @SINCE 1.98.0
|
|
79
|
+
*
|
|
80
|
+
* Defines fallback search result view type. The compatible search result (search in Business Object) is
|
|
81
|
+
* displayed in fall back view type when there is no explicitly configured view type `resultViewType` nor
|
|
82
|
+
* historical stored view type. Possible value is "searchResultList", "searchResultTable" and "searchResultGrid".
|
|
83
|
+
* Note: The value must be contained by `resultViewTypes`.
|
|
84
|
+
*/
|
|
85
|
+
fallbackResultViewType?:
|
|
86
|
+
| string
|
|
87
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @SINCE 1.98.0
|
|
91
|
+
*
|
|
92
|
+
* select search result view type. Possible set-value is "searchResultList", "searchResultTable", and "searchResultGrid".
|
|
93
|
+
* Possible get-value is "searchResultList", "searchResultTable", "searchResultGrid" and "appSearchResult".
|
|
94
|
+
* "appSearchResult" is the view type mandatory for app search. It is not allowed to be set by user. setResultViewType()
|
|
95
|
+
* is working in attached event "searchFinished". Note: The value must be contained by `resultViewTypes`.
|
|
96
|
+
*/
|
|
97
|
+
resultViewType?:
|
|
98
|
+
| string
|
|
99
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
100
|
+
|
|
29
101
|
/**
|
|
30
102
|
* Control instances which are part of this composite control.
|
|
31
103
|
*/
|
|
@@ -33,24 +105,37 @@ declare namespace sap {
|
|
|
33
105
|
| sap.ui.core.Control[]
|
|
34
106
|
| sap.ui.core.Control
|
|
35
107
|
| sap.ui.base.ManagedObject.AggregationBindingInfo;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Event is fired when search is finished.
|
|
111
|
+
*/
|
|
112
|
+
searchStarted?: (oEvent: sap.ui.base.Event) => void;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Event is fired when search is finished.
|
|
116
|
+
*/
|
|
117
|
+
searchFinished?: (oEvent: sap.ui.base.Event) => void;
|
|
36
118
|
}
|
|
37
119
|
|
|
38
120
|
/**
|
|
39
121
|
* @SINCE 1.93.0
|
|
40
122
|
*
|
|
41
|
-
* This is the
|
|
42
|
-
*
|
|
43
|
-
* dropdown, a result list which can have different styles including tiles and table, result
|
|
44
|
-
* more. This control is ready to use with an enterprise search backend service but also allows
|
|
45
|
-
* to match requirements of adopting applications.
|
|
123
|
+
* This is the SAPUI5 composite control by the Enterprise Search Team which helps to make full use of the
|
|
124
|
+
* Enterprise Search Engine features built into ABAP and HANA. It includes a search input box including
|
|
125
|
+
* a suggestion dropdown, a result list which can have different styles including tiles and table, result
|
|
126
|
+
* facets and more. This control is ready to use with an enterprise search backend service but also allows
|
|
127
|
+
* deep modifications to match requirements of adopting applications.
|
|
46
128
|
*/
|
|
47
129
|
class SearchCompositeControl extends sap.ui.core.Control {
|
|
48
130
|
/**
|
|
49
|
-
* Constructs a new `SearchCompositeControl` to interact with
|
|
131
|
+
* Constructs a new `SearchCompositeControl` to interact with SAP Enterprise Search Services.
|
|
50
132
|
*
|
|
51
133
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
52
134
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
53
135
|
* of the syntax of the settings object.
|
|
136
|
+
* See:
|
|
137
|
+
* https://help.sap.com/viewer/691cb949c1034198800afde3e5be6570/2.0.05/en-US/ce86ef2fd97610149eaaaa0244ca4d36.html
|
|
138
|
+
* https://help.sap.com/viewer/6522d0462aeb4909a79c3462b090ec51/1709%20002/en-US
|
|
54
139
|
*/
|
|
55
140
|
constructor(
|
|
56
141
|
/**
|
|
@@ -59,11 +144,14 @@ declare namespace sap {
|
|
|
59
144
|
mSettings?: sap.esh.search.ui.$SearchCompositeControlSettings
|
|
60
145
|
);
|
|
61
146
|
/**
|
|
62
|
-
* Constructs a new `SearchCompositeControl` to interact with
|
|
147
|
+
* Constructs a new `SearchCompositeControl` to interact with SAP Enterprise Search Services.
|
|
63
148
|
*
|
|
64
149
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
65
150
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
66
151
|
* of the syntax of the settings object.
|
|
152
|
+
* See:
|
|
153
|
+
* https://help.sap.com/viewer/691cb949c1034198800afde3e5be6570/2.0.05/en-US/ce86ef2fd97610149eaaaa0244ca4d36.html
|
|
154
|
+
* https://help.sap.com/viewer/6522d0462aeb4909a79c3462b090ec51/1709%20002/en-US
|
|
67
155
|
*/
|
|
68
156
|
constructor(
|
|
69
157
|
/**
|
|
@@ -113,10 +201,148 @@ declare namespace sap {
|
|
|
113
201
|
*/
|
|
114
202
|
oContent: sap.ui.core.Control
|
|
115
203
|
): this;
|
|
204
|
+
/**
|
|
205
|
+
* Attaches event handler `fnFunction` to the {@link #event:searchFinished searchFinished} event of this
|
|
206
|
+
* `sap.esh.search.ui.SearchCompositeControl`.
|
|
207
|
+
*
|
|
208
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
209
|
+
* otherwise it will be bound to this `sap.esh.search.ui.SearchCompositeControl` itself.
|
|
210
|
+
*
|
|
211
|
+
* Event is fired when search is finished.
|
|
212
|
+
*/
|
|
213
|
+
attachSearchFinished(
|
|
214
|
+
/**
|
|
215
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
216
|
+
* object when firing the event
|
|
217
|
+
*/
|
|
218
|
+
oData: object,
|
|
219
|
+
/**
|
|
220
|
+
* The function to be called when the event occurs
|
|
221
|
+
*/
|
|
222
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
223
|
+
/**
|
|
224
|
+
* Context object to call the event handler with. Defaults to this `sap.esh.search.ui.SearchCompositeControl`
|
|
225
|
+
* itself
|
|
226
|
+
*/
|
|
227
|
+
oListener?: object
|
|
228
|
+
): this;
|
|
229
|
+
/**
|
|
230
|
+
* Attaches event handler `fnFunction` to the {@link #event:searchFinished searchFinished} event of this
|
|
231
|
+
* `sap.esh.search.ui.SearchCompositeControl`.
|
|
232
|
+
*
|
|
233
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
234
|
+
* otherwise it will be bound to this `sap.esh.search.ui.SearchCompositeControl` itself.
|
|
235
|
+
*
|
|
236
|
+
* Event is fired when search is finished.
|
|
237
|
+
*/
|
|
238
|
+
attachSearchFinished(
|
|
239
|
+
/**
|
|
240
|
+
* The function to be called when the event occurs
|
|
241
|
+
*/
|
|
242
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
243
|
+
/**
|
|
244
|
+
* Context object to call the event handler with. Defaults to this `sap.esh.search.ui.SearchCompositeControl`
|
|
245
|
+
* itself
|
|
246
|
+
*/
|
|
247
|
+
oListener?: object
|
|
248
|
+
): this;
|
|
249
|
+
/**
|
|
250
|
+
* Attaches event handler `fnFunction` to the {@link #event:searchStarted searchStarted} event of this `sap.esh.search.ui.SearchCompositeControl`.
|
|
251
|
+
*
|
|
252
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
253
|
+
* otherwise it will be bound to this `sap.esh.search.ui.SearchCompositeControl` itself.
|
|
254
|
+
*
|
|
255
|
+
* Event is fired when search is finished.
|
|
256
|
+
*/
|
|
257
|
+
attachSearchStarted(
|
|
258
|
+
/**
|
|
259
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
260
|
+
* object when firing the event
|
|
261
|
+
*/
|
|
262
|
+
oData: object,
|
|
263
|
+
/**
|
|
264
|
+
* The function to be called when the event occurs
|
|
265
|
+
*/
|
|
266
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
267
|
+
/**
|
|
268
|
+
* Context object to call the event handler with. Defaults to this `sap.esh.search.ui.SearchCompositeControl`
|
|
269
|
+
* itself
|
|
270
|
+
*/
|
|
271
|
+
oListener?: object
|
|
272
|
+
): this;
|
|
273
|
+
/**
|
|
274
|
+
* Attaches event handler `fnFunction` to the {@link #event:searchStarted searchStarted} event of this `sap.esh.search.ui.SearchCompositeControl`.
|
|
275
|
+
*
|
|
276
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
277
|
+
* otherwise it will be bound to this `sap.esh.search.ui.SearchCompositeControl` itself.
|
|
278
|
+
*
|
|
279
|
+
* Event is fired when search is finished.
|
|
280
|
+
*/
|
|
281
|
+
attachSearchStarted(
|
|
282
|
+
/**
|
|
283
|
+
* The function to be called when the event occurs
|
|
284
|
+
*/
|
|
285
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
286
|
+
/**
|
|
287
|
+
* Context object to call the event handler with. Defaults to this `sap.esh.search.ui.SearchCompositeControl`
|
|
288
|
+
* itself
|
|
289
|
+
*/
|
|
290
|
+
oListener?: object
|
|
291
|
+
): this;
|
|
116
292
|
/**
|
|
117
293
|
* Destroys all the content in the aggregation {@link #getContent content}.
|
|
118
294
|
*/
|
|
119
295
|
destroyContent(): this;
|
|
296
|
+
/**
|
|
297
|
+
* Detaches event handler `fnFunction` from the {@link #event:searchFinished searchFinished} event of this
|
|
298
|
+
* `sap.esh.search.ui.SearchCompositeControl`.
|
|
299
|
+
*
|
|
300
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
301
|
+
*/
|
|
302
|
+
detachSearchFinished(
|
|
303
|
+
/**
|
|
304
|
+
* The function to be called, when the event occurs
|
|
305
|
+
*/
|
|
306
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
307
|
+
/**
|
|
308
|
+
* Context object on which the given function had to be called
|
|
309
|
+
*/
|
|
310
|
+
oListener?: object
|
|
311
|
+
): this;
|
|
312
|
+
/**
|
|
313
|
+
* Detaches event handler `fnFunction` from the {@link #event:searchStarted searchStarted} event of this
|
|
314
|
+
* `sap.esh.search.ui.SearchCompositeControl`.
|
|
315
|
+
*
|
|
316
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
317
|
+
*/
|
|
318
|
+
detachSearchStarted(
|
|
319
|
+
/**
|
|
320
|
+
* The function to be called, when the event occurs
|
|
321
|
+
*/
|
|
322
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
323
|
+
/**
|
|
324
|
+
* Context object on which the given function had to be called
|
|
325
|
+
*/
|
|
326
|
+
oListener?: object
|
|
327
|
+
): this;
|
|
328
|
+
/**
|
|
329
|
+
* Fires event {@link #event:searchFinished searchFinished} to attached listeners.
|
|
330
|
+
*/
|
|
331
|
+
fireSearchFinished(
|
|
332
|
+
/**
|
|
333
|
+
* Parameters to pass along with the event
|
|
334
|
+
*/
|
|
335
|
+
mParameters?: object
|
|
336
|
+
): this;
|
|
337
|
+
/**
|
|
338
|
+
* Fires event {@link #event:searchStarted searchStarted} to attached listeners.
|
|
339
|
+
*/
|
|
340
|
+
fireSearchStarted(
|
|
341
|
+
/**
|
|
342
|
+
* Parameters to pass along with the event
|
|
343
|
+
*/
|
|
344
|
+
mParameters?: object
|
|
345
|
+
): this;
|
|
120
346
|
/**
|
|
121
347
|
* Gets content of aggregation {@link #getContent content}.
|
|
122
348
|
*
|
|
@@ -124,12 +350,74 @@ declare namespace sap {
|
|
|
124
350
|
*/
|
|
125
351
|
getContent(): sap.ui.core.Control[];
|
|
126
352
|
/**
|
|
353
|
+
* @SINCE 1.93.0
|
|
354
|
+
*
|
|
127
355
|
* Gets current value of property {@link #getCssClass cssClass}.
|
|
128
356
|
*
|
|
129
357
|
* An additional CSS class to add to this control
|
|
130
358
|
*/
|
|
131
359
|
getCssClass(): string;
|
|
132
360
|
/**
|
|
361
|
+
* @SINCE 1.98.0
|
|
362
|
+
*
|
|
363
|
+
* Gets current value of property {@link #getDataSource dataSource}.
|
|
364
|
+
*
|
|
365
|
+
* The id of the data source in which it will search right after initialization.
|
|
366
|
+
*/
|
|
367
|
+
getDataSource(): string;
|
|
368
|
+
/**
|
|
369
|
+
* @SINCE 1.98.0
|
|
370
|
+
*
|
|
371
|
+
* Gets current value of property {@link #getFallbackResultViewType fallbackResultViewType}.
|
|
372
|
+
*
|
|
373
|
+
* Defines fallback search result view type. The compatible search result (search in Business Object) is
|
|
374
|
+
* displayed in fall back view type when there is no explicitly configured view type `resultViewType` nor
|
|
375
|
+
* historical stored view type. Possible value is "searchResultList", "searchResultTable" and "searchResultGrid".
|
|
376
|
+
* Note: The value must be contained by `resultViewTypes`.
|
|
377
|
+
*
|
|
378
|
+
* Default value is `"searchResultList"`.
|
|
379
|
+
*/
|
|
380
|
+
getFallbackResultViewType(): string;
|
|
381
|
+
/**
|
|
382
|
+
* @SINCE 1.98.0
|
|
383
|
+
*
|
|
384
|
+
* Gets current value of property {@link #getFilterRootCondition filterRootCondition}.
|
|
385
|
+
*
|
|
386
|
+
* Defines the filter root condition of a filter tree which shall be applied to the search request. This
|
|
387
|
+
* control only allows filter trees which have a the following structure: complex condition (root level)
|
|
388
|
+
* \ complex condition (attribute level) \ simple condition (attribute value level) Filter root conditions
|
|
389
|
+
* which do not follow this structure won't be accepted and an error will be thrown. Please see the below
|
|
390
|
+
* for a more in-depth example.
|
|
391
|
+
*/
|
|
392
|
+
getFilterRootCondition(): object;
|
|
393
|
+
/**
|
|
394
|
+
* @SINCE 1.98.0
|
|
395
|
+
*
|
|
396
|
+
* Gets current value of property {@link #getResultViewType resultViewType}.
|
|
397
|
+
*
|
|
398
|
+
* select search result view type. Possible set-value is "searchResultList", "searchResultTable", and "searchResultGrid".
|
|
399
|
+
* Possible get-value is "searchResultList", "searchResultTable", "searchResultGrid" and "appSearchResult".
|
|
400
|
+
* "appSearchResult" is the view type mandatory for app search. It is not allowed to be set by user. setResultViewType()
|
|
401
|
+
* is working in attached event "searchFinished". Note: The value must be contained by `resultViewTypes`.
|
|
402
|
+
*/
|
|
403
|
+
getResultViewType(): string;
|
|
404
|
+
/**
|
|
405
|
+
* @SINCE 1.98.0
|
|
406
|
+
*
|
|
407
|
+
* Gets current value of property {@link #getResultViewTypes resultViewTypes}.
|
|
408
|
+
*
|
|
409
|
+
* Defines search result view types. Search result of single Business Object is switchable between different
|
|
410
|
+
* view types. Search result of All, Category (multiple Business Objects), or Apps is displayed in mandatory
|
|
411
|
+
* view type. It is not switchable. Possible values for the array items are "searchResultList", "searchResultTable"
|
|
412
|
+
* and "searchResultGrid". Note: The array is not allowed to have duplicates, and must contain the value
|
|
413
|
+
* of `fallbackResultViewType`.
|
|
414
|
+
*
|
|
415
|
+
* Default value is `["searchResultList", "searchResultTable"]`.
|
|
416
|
+
*/
|
|
417
|
+
getResultViewTypes(): string[];
|
|
418
|
+
/**
|
|
419
|
+
* @SINCE 1.93.0
|
|
420
|
+
*
|
|
133
421
|
* Gets current value of property {@link #getSearchOnStart searchOnStart}.
|
|
134
422
|
*
|
|
135
423
|
* Defines if the search control will search for the given term right on control instantiation.
|
|
@@ -138,13 +426,23 @@ declare namespace sap {
|
|
|
138
426
|
*/
|
|
139
427
|
getSearchOnStart(): boolean;
|
|
140
428
|
/**
|
|
429
|
+
* @SINCE 1.93.0
|
|
430
|
+
*
|
|
141
431
|
* Gets current value of property {@link #getSearchTerm searchTerm}.
|
|
142
432
|
*
|
|
143
|
-
* Defines the initial search term for the search input
|
|
433
|
+
* Defines the initial search term for the search input.
|
|
144
434
|
*
|
|
145
|
-
* Default value is `
|
|
435
|
+
* Default value is `empty string`.
|
|
146
436
|
*/
|
|
147
437
|
getSearchTerm(): string;
|
|
438
|
+
/**
|
|
439
|
+
* @SINCE 1.93.0
|
|
440
|
+
*
|
|
441
|
+
* Gets current value of property {@link #getSinaConfiguration sinaConfiguration}.
|
|
442
|
+
*
|
|
443
|
+
* Configuration for the Enterprise Search Client API.
|
|
444
|
+
*/
|
|
445
|
+
getSinaConfiguration(): object;
|
|
148
446
|
/**
|
|
149
447
|
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getContent content}. and returns
|
|
150
448
|
* its index if found or -1 otherwise.
|
|
@@ -186,6 +484,8 @@ declare namespace sap {
|
|
|
186
484
|
vContent: int | string | sap.ui.core.Control
|
|
187
485
|
): sap.ui.core.Control;
|
|
188
486
|
/**
|
|
487
|
+
* @SINCE 1.93.0
|
|
488
|
+
*
|
|
189
489
|
* Sets a new value for property {@link #getCssClass cssClass}.
|
|
190
490
|
*
|
|
191
491
|
* An additional CSS class to add to this control
|
|
@@ -199,6 +499,101 @@ declare namespace sap {
|
|
|
199
499
|
sCssClass: string
|
|
200
500
|
): this;
|
|
201
501
|
/**
|
|
502
|
+
* @SINCE 1.98.0
|
|
503
|
+
*
|
|
504
|
+
* Sets a new value for property {@link #getDataSource dataSource}.
|
|
505
|
+
*
|
|
506
|
+
* The id of the data source in which it will search right after initialization.
|
|
507
|
+
*
|
|
508
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
509
|
+
*/
|
|
510
|
+
setDataSource(
|
|
511
|
+
/**
|
|
512
|
+
* New value for property `dataSource`
|
|
513
|
+
*/
|
|
514
|
+
sDataSource: string
|
|
515
|
+
): this;
|
|
516
|
+
/**
|
|
517
|
+
* @SINCE 1.98.0
|
|
518
|
+
*
|
|
519
|
+
* Sets a new value for property {@link #getFallbackResultViewType fallbackResultViewType}.
|
|
520
|
+
*
|
|
521
|
+
* Defines fallback search result view type. The compatible search result (search in Business Object) is
|
|
522
|
+
* displayed in fall back view type when there is no explicitly configured view type `resultViewType` nor
|
|
523
|
+
* historical stored view type. Possible value is "searchResultList", "searchResultTable" and "searchResultGrid".
|
|
524
|
+
* Note: The value must be contained by `resultViewTypes`.
|
|
525
|
+
*
|
|
526
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
527
|
+
*
|
|
528
|
+
* Default value is `"searchResultList"`.
|
|
529
|
+
*/
|
|
530
|
+
setFallbackResultViewType(
|
|
531
|
+
/**
|
|
532
|
+
* New value for property `fallbackResultViewType`
|
|
533
|
+
*/
|
|
534
|
+
sFallbackResultViewType?: string
|
|
535
|
+
): this;
|
|
536
|
+
/**
|
|
537
|
+
* @SINCE 1.98.0
|
|
538
|
+
*
|
|
539
|
+
* Sets a new value for property {@link #getFilterRootCondition filterRootCondition}.
|
|
540
|
+
*
|
|
541
|
+
* Defines the filter root condition of a filter tree which shall be applied to the search request. This
|
|
542
|
+
* control only allows filter trees which have a the following structure: complex condition (root level)
|
|
543
|
+
* \ complex condition (attribute level) \ simple condition (attribute value level) Filter root conditions
|
|
544
|
+
* which do not follow this structure won't be accepted and an error will be thrown. Please see the below
|
|
545
|
+
* for a more in-depth example.
|
|
546
|
+
*
|
|
547
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
548
|
+
*/
|
|
549
|
+
setFilterRootCondition(
|
|
550
|
+
/**
|
|
551
|
+
* New value for property `filterRootCondition`
|
|
552
|
+
*/
|
|
553
|
+
oFilterRootCondition: object
|
|
554
|
+
): this;
|
|
555
|
+
/**
|
|
556
|
+
* @SINCE 1.98.0
|
|
557
|
+
*
|
|
558
|
+
* Sets a new value for property {@link #getResultViewType resultViewType}.
|
|
559
|
+
*
|
|
560
|
+
* select search result view type. Possible set-value is "searchResultList", "searchResultTable", and "searchResultGrid".
|
|
561
|
+
* Possible get-value is "searchResultList", "searchResultTable", "searchResultGrid" and "appSearchResult".
|
|
562
|
+
* "appSearchResult" is the view type mandatory for app search. It is not allowed to be set by user. setResultViewType()
|
|
563
|
+
* is working in attached event "searchFinished". Note: The value must be contained by `resultViewTypes`.
|
|
564
|
+
*
|
|
565
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
566
|
+
*/
|
|
567
|
+
setResultViewType(
|
|
568
|
+
/**
|
|
569
|
+
* New value for property `resultViewType`
|
|
570
|
+
*/
|
|
571
|
+
sResultViewType: string
|
|
572
|
+
): this;
|
|
573
|
+
/**
|
|
574
|
+
* @SINCE 1.98.0
|
|
575
|
+
*
|
|
576
|
+
* Sets a new value for property {@link #getResultViewTypes resultViewTypes}.
|
|
577
|
+
*
|
|
578
|
+
* Defines search result view types. Search result of single Business Object is switchable between different
|
|
579
|
+
* view types. Search result of All, Category (multiple Business Objects), or Apps is displayed in mandatory
|
|
580
|
+
* view type. It is not switchable. Possible values for the array items are "searchResultList", "searchResultTable"
|
|
581
|
+
* and "searchResultGrid". Note: The array is not allowed to have duplicates, and must contain the value
|
|
582
|
+
* of `fallbackResultViewType`.
|
|
583
|
+
*
|
|
584
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
585
|
+
*
|
|
586
|
+
* Default value is `["searchResultList", "searchResultTable"]`.
|
|
587
|
+
*/
|
|
588
|
+
setResultViewTypes(
|
|
589
|
+
/**
|
|
590
|
+
* New value for property `resultViewTypes`
|
|
591
|
+
*/
|
|
592
|
+
sResultViewTypes?: string[]
|
|
593
|
+
): this;
|
|
594
|
+
/**
|
|
595
|
+
* @SINCE 1.93.0
|
|
596
|
+
*
|
|
202
597
|
* Sets a new value for property {@link #getSearchOnStart searchOnStart}.
|
|
203
598
|
*
|
|
204
599
|
* Defines if the search control will search for the given term right on control instantiation.
|
|
@@ -214,13 +609,15 @@ declare namespace sap {
|
|
|
214
609
|
bSearchOnStart?: boolean
|
|
215
610
|
): this;
|
|
216
611
|
/**
|
|
612
|
+
* @SINCE 1.93.0
|
|
613
|
+
*
|
|
217
614
|
* Sets a new value for property {@link #getSearchTerm searchTerm}.
|
|
218
615
|
*
|
|
219
|
-
* Defines the initial search term for the search input
|
|
616
|
+
* Defines the initial search term for the search input.
|
|
220
617
|
*
|
|
221
618
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
222
619
|
*
|
|
223
|
-
* Default value is `
|
|
620
|
+
* Default value is `empty string`.
|
|
224
621
|
*/
|
|
225
622
|
setSearchTerm(
|
|
226
623
|
/**
|
|
@@ -228,6 +625,21 @@ declare namespace sap {
|
|
|
228
625
|
*/
|
|
229
626
|
sSearchTerm?: string
|
|
230
627
|
): this;
|
|
628
|
+
/**
|
|
629
|
+
* @SINCE 1.93.0
|
|
630
|
+
*
|
|
631
|
+
* Sets a new value for property {@link #getSinaConfiguration sinaConfiguration}.
|
|
632
|
+
*
|
|
633
|
+
* Configuration for the Enterprise Search Client API.
|
|
634
|
+
*
|
|
635
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
636
|
+
*/
|
|
637
|
+
setSinaConfiguration(
|
|
638
|
+
/**
|
|
639
|
+
* New value for property `sinaConfiguration`
|
|
640
|
+
*/
|
|
641
|
+
oSinaConfiguration: object
|
|
642
|
+
): this;
|
|
231
643
|
}
|
|
232
644
|
}
|
|
233
645
|
}
|