@sapui5/ts-types-esm 1.98.0 → 1.99.2

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