@sapui5/ts-types-esm 1.139.0 → 1.141.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/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.cux.home.d.ts +0 -1623
- package/types/sap.esh.search.ui.d.ts +384 -1
- package/types/sap.f.d.ts +102 -13
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -5
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +98 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +369 -51
- package/types/sap.fe.navigation.d.ts +13 -15
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +47 -11
- package/types/sap.insights.d.ts +130 -2
- package/types/sap.m.d.ts +722 -282
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +118 -5
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +41 -5
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +5 -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 +16 -1
- package/types/sap.ui.core.d.ts +531 -163
- package/types/sap.ui.dt.d.ts +202 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +8 -13
- 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 +13 -13
- package/types/sap.ui.layout.d.ts +63 -47
- package/types/sap.ui.mdc.d.ts +77 -25
- package/types/sap.ui.richtexteditor.d.ts +309 -9
- 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 +1 -1
- package/types/sap.ui.table.d.ts +585 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +55 -3
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +438 -6
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +41 -8
- package/types/sap.ushell_abap.d.ts +7 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.141.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
4
4
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
@@ -296,6 +296,61 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
296
296
|
*/
|
|
297
297
|
oListener?: object
|
|
298
298
|
): this;
|
|
299
|
+
/**
|
|
300
|
+
* Attaches event handler `fnFunction` to the {@link #event:showResultDetail showResultDetail} event of
|
|
301
|
+
* this `sap.esh.search.ui.SearchCompositeControl`.
|
|
302
|
+
*
|
|
303
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
304
|
+
* otherwise it will be bound to this `sap.esh.search.ui.SearchCompositeControl` itself.
|
|
305
|
+
*
|
|
306
|
+
* Event is fired after result view detail button is pressed (list, table or grid). To use this event, set
|
|
307
|
+
* the property 'resultviewMasterDetailMode' to 'true'.
|
|
308
|
+
*
|
|
309
|
+
* @since 1.140.0
|
|
310
|
+
*
|
|
311
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
312
|
+
*/
|
|
313
|
+
attachShowResultDetail(
|
|
314
|
+
/**
|
|
315
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
316
|
+
* object when firing the event
|
|
317
|
+
*/
|
|
318
|
+
oData: object,
|
|
319
|
+
/**
|
|
320
|
+
* The function to be called when the event occurs
|
|
321
|
+
*/
|
|
322
|
+
fnFunction: (p1: Event) => void,
|
|
323
|
+
/**
|
|
324
|
+
* Context object to call the event handler with. Defaults to this `sap.esh.search.ui.SearchCompositeControl`
|
|
325
|
+
* itself
|
|
326
|
+
*/
|
|
327
|
+
oListener?: object
|
|
328
|
+
): this;
|
|
329
|
+
/**
|
|
330
|
+
* Attaches event handler `fnFunction` to the {@link #event:showResultDetail showResultDetail} event of
|
|
331
|
+
* this `sap.esh.search.ui.SearchCompositeControl`.
|
|
332
|
+
*
|
|
333
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
334
|
+
* otherwise it will be bound to this `sap.esh.search.ui.SearchCompositeControl` itself.
|
|
335
|
+
*
|
|
336
|
+
* Event is fired after result view detail button is pressed (list, table or grid). To use this event, set
|
|
337
|
+
* the property 'resultviewMasterDetailMode' to 'true'.
|
|
338
|
+
*
|
|
339
|
+
* @since 1.140.0
|
|
340
|
+
*
|
|
341
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
342
|
+
*/
|
|
343
|
+
attachShowResultDetail(
|
|
344
|
+
/**
|
|
345
|
+
* The function to be called when the event occurs
|
|
346
|
+
*/
|
|
347
|
+
fnFunction: (p1: Event) => void,
|
|
348
|
+
/**
|
|
349
|
+
* Context object to call the event handler with. Defaults to this `sap.esh.search.ui.SearchCompositeControl`
|
|
350
|
+
* itself
|
|
351
|
+
*/
|
|
352
|
+
oListener?: object
|
|
353
|
+
): this;
|
|
299
354
|
/**
|
|
300
355
|
* Detaches event handler `fnFunction` from the {@link #event:resultViewTypeChanged resultViewTypeChanged }
|
|
301
356
|
* event of this `sap.esh.search.ui.SearchCompositeControl`.
|
|
@@ -376,6 +431,26 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
376
431
|
*/
|
|
377
432
|
oListener?: object
|
|
378
433
|
): this;
|
|
434
|
+
/**
|
|
435
|
+
* Detaches event handler `fnFunction` from the {@link #event:showResultDetail showResultDetail} event of
|
|
436
|
+
* this `sap.esh.search.ui.SearchCompositeControl`.
|
|
437
|
+
*
|
|
438
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
439
|
+
*
|
|
440
|
+
* @since 1.140.0
|
|
441
|
+
*
|
|
442
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
443
|
+
*/
|
|
444
|
+
detachShowResultDetail(
|
|
445
|
+
/**
|
|
446
|
+
* The function to be called, when the event occurs
|
|
447
|
+
*/
|
|
448
|
+
fnFunction: (p1: Event) => void,
|
|
449
|
+
/**
|
|
450
|
+
* Context object on which the given function had to be called
|
|
451
|
+
*/
|
|
452
|
+
oListener?: object
|
|
453
|
+
): this;
|
|
379
454
|
/**
|
|
380
455
|
* Fires event {@link #event:resultViewTypeChanged resultViewTypeChanged} to attached listeners.
|
|
381
456
|
*
|
|
@@ -432,6 +507,20 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
432
507
|
*/
|
|
433
508
|
mParameters?: object
|
|
434
509
|
): this;
|
|
510
|
+
/**
|
|
511
|
+
* Fires event {@link #event:showResultDetail showResultDetail} to attached listeners.
|
|
512
|
+
*
|
|
513
|
+
* @since 1.140.0
|
|
514
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
515
|
+
*
|
|
516
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
517
|
+
*/
|
|
518
|
+
fireShowResultDetail(
|
|
519
|
+
/**
|
|
520
|
+
* Parameters to pass along with the event
|
|
521
|
+
*/
|
|
522
|
+
mParameters?: object
|
|
523
|
+
): this;
|
|
435
524
|
/**
|
|
436
525
|
* Gets current value of property {@link #getApplicationComponent applicationComponent}.
|
|
437
526
|
*
|
|
@@ -515,6 +604,19 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
515
604
|
* @returns Value of property `displayFacetPanelInCaseOfNoResults`
|
|
516
605
|
*/
|
|
517
606
|
getDisplayFacetPanelInCaseOfNoResults(): boolean;
|
|
607
|
+
/**
|
|
608
|
+
* Gets current value of property {@link #getEnableCharts enableCharts}.
|
|
609
|
+
*
|
|
610
|
+
* A boolean for enabling chart visualizations (pie chart / bar chart facets). If set to true, facets can
|
|
611
|
+
* be viewed as a pie or bar chart (this cannot be deactivated at runtime).
|
|
612
|
+
*
|
|
613
|
+
* Default value is `false`.
|
|
614
|
+
*
|
|
615
|
+
* @since 1.140.0
|
|
616
|
+
*
|
|
617
|
+
* @returns Value of property `enableCharts`
|
|
618
|
+
*/
|
|
619
|
+
getEnableCharts(): boolean;
|
|
518
620
|
/**
|
|
519
621
|
* Gets current value of property {@link #getEnableMultiSelectionResultItems enableMultiSelectionResultItems}.
|
|
520
622
|
*
|
|
@@ -524,6 +626,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
524
626
|
* Default value is `false`.
|
|
525
627
|
*
|
|
526
628
|
* @since 1.96.0
|
|
629
|
+
* @deprecated As of version 1.141.0. use 'resultviewSelectionMode' instead.
|
|
527
630
|
*
|
|
528
631
|
* @returns Value of property `enableMultiSelectionResultItems`
|
|
529
632
|
*/
|
|
@@ -602,6 +705,22 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
602
705
|
* @returns Value of property `facets`
|
|
603
706
|
*/
|
|
604
707
|
getFacets(): boolean;
|
|
708
|
+
/**
|
|
709
|
+
* Gets current value of property {@link #getFacetToggleButtonLocation facetToggleButtonLocation}.
|
|
710
|
+
*
|
|
711
|
+
* Location of the button to show/hide facet panel. The button (filter icon) can be placed on the left (begin)
|
|
712
|
+
* or on the right (end) of the search bar. By default the button's location is at the beginning (left),
|
|
713
|
+
* values are "Begin" and "End". The property is not evaluated if facet panel is disabled, see property
|
|
714
|
+
* 'facets'.
|
|
715
|
+
*
|
|
716
|
+
* Default value is `"Begin"`.
|
|
717
|
+
*
|
|
718
|
+
* @since 1.140.0
|
|
719
|
+
* @experimental As of version 1.140.0. this feature is experimental and the API may change.
|
|
720
|
+
*
|
|
721
|
+
* @returns Value of property `facetToggleButtonLocation`
|
|
722
|
+
*/
|
|
723
|
+
getFacetToggleButtonLocation(): string;
|
|
605
724
|
/**
|
|
606
725
|
* Gets current value of property {@link #getFacetVisibility facetVisibility}.
|
|
607
726
|
*
|
|
@@ -826,6 +945,35 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
826
945
|
* @returns Value of property `renderSearchUrl`
|
|
827
946
|
*/
|
|
828
947
|
getRenderSearchUrl(): Function;
|
|
948
|
+
/**
|
|
949
|
+
* Gets current value of property {@link #getResultviewMasterDetailMode resultviewMasterDetailMode}.
|
|
950
|
+
*
|
|
951
|
+
* The result views are displayed in a master-detail mode. The event showResultDetail is fired whenever
|
|
952
|
+
* the detail button/indicator is clicked.
|
|
953
|
+
*
|
|
954
|
+
* Default value is `false`.
|
|
955
|
+
*
|
|
956
|
+
* @since 1.140.0
|
|
957
|
+
*
|
|
958
|
+
* @returns Value of property `resultviewMasterDetailMode`
|
|
959
|
+
*/
|
|
960
|
+
getResultviewMasterDetailMode(): boolean;
|
|
961
|
+
/**
|
|
962
|
+
* Gets current value of property {@link #getResultviewSelectionMode resultviewSelectionMode}.
|
|
963
|
+
*
|
|
964
|
+
* To select result view items, enable multi-selection or single-selection mode. Shows checkboxes ('MultipleItems')
|
|
965
|
+
* or enables item press ('OneItem'). Values of configuration parameter `resultviewSelectionMode` are 'None',
|
|
966
|
+
* 'OneItem' and 'MultipleItems'. To show a button for switching selection mode on/off, see 'showSelectionToggleButton'.
|
|
967
|
+
* A checkbox is provided for each result item if the value is true. The setting is related to `resultviewMasterDetailMode`
|
|
968
|
+
* (master-detail mode). The event `showResultDetail` is fired whenever the detail button is clicked.
|
|
969
|
+
*
|
|
970
|
+
* Default value is `"None"`.
|
|
971
|
+
*
|
|
972
|
+
* @since 1.141.0
|
|
973
|
+
*
|
|
974
|
+
* @returns Value of property `resultviewSelectionMode`
|
|
975
|
+
*/
|
|
976
|
+
getResultviewSelectionMode(): string;
|
|
829
977
|
/**
|
|
830
978
|
* Gets current value of property {@link #getResultViewSettings resultViewSettings}.
|
|
831
979
|
*
|
|
@@ -886,6 +1034,20 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
886
1034
|
* @returns Value of property `resultViewTypes`
|
|
887
1035
|
*/
|
|
888
1036
|
getResultViewTypes(): string[];
|
|
1037
|
+
/**
|
|
1038
|
+
* Gets current value of property {@link #getSearchInputLocation searchInputLocation}.
|
|
1039
|
+
*
|
|
1040
|
+
* Location of the search input box. The search input can be placed on the top of the control (SearchCompositeControl)
|
|
1041
|
+
* or as part of the search bar By default the location is at the top, values are "Top" and "Searchbar".
|
|
1042
|
+
*
|
|
1043
|
+
* Default value is `"Top"`.
|
|
1044
|
+
*
|
|
1045
|
+
* @since 1.140.0
|
|
1046
|
+
* @experimental As of version 1.140.0. this feature is experimental and the API may change.
|
|
1047
|
+
*
|
|
1048
|
+
* @returns Value of property `searchInputLocation`
|
|
1049
|
+
*/
|
|
1050
|
+
getSearchInputLocation(): string;
|
|
889
1051
|
/**
|
|
890
1052
|
* Gets current value of property {@link #getSearchOnStart searchOnStart}.
|
|
891
1053
|
*
|
|
@@ -933,6 +1095,20 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
933
1095
|
* @returns Value of property `selectionChange`
|
|
934
1096
|
*/
|
|
935
1097
|
getSelectionChange(): Function;
|
|
1098
|
+
/**
|
|
1099
|
+
* Gets current value of property {@link #getShowSelectionToggleButton showSelectionToggleButton}.
|
|
1100
|
+
*
|
|
1101
|
+
* Enables the selection toggle button in the search result list. The button is displayed on the top of
|
|
1102
|
+
* search result view and allows to toggle the selection of all result items. The button is only displayed
|
|
1103
|
+
* if the property 'resultviewSelectionMode' is not set to 'None'.
|
|
1104
|
+
*
|
|
1105
|
+
* Default value is `false`.
|
|
1106
|
+
*
|
|
1107
|
+
* @since 1.140.0
|
|
1108
|
+
*
|
|
1109
|
+
* @returns Value of property `showSelectionToggleButton`
|
|
1110
|
+
*/
|
|
1111
|
+
getShowSelectionToggleButton(): boolean;
|
|
936
1112
|
/**
|
|
937
1113
|
* Gets current value of property {@link #getSinaConfiguration sinaConfiguration}.
|
|
938
1114
|
*
|
|
@@ -1149,6 +1325,26 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1149
1325
|
*/
|
|
1150
1326
|
bDisplayFacetPanelInCaseOfNoResults?: boolean
|
|
1151
1327
|
): this;
|
|
1328
|
+
/**
|
|
1329
|
+
* Sets a new value for property {@link #getEnableCharts enableCharts}.
|
|
1330
|
+
*
|
|
1331
|
+
* A boolean for enabling chart visualizations (pie chart / bar chart facets). If set to true, facets can
|
|
1332
|
+
* be viewed as a pie or bar chart (this cannot be deactivated at runtime).
|
|
1333
|
+
*
|
|
1334
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1335
|
+
*
|
|
1336
|
+
* Default value is `false`.
|
|
1337
|
+
*
|
|
1338
|
+
* @since 1.140.0
|
|
1339
|
+
*
|
|
1340
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1341
|
+
*/
|
|
1342
|
+
setEnableCharts(
|
|
1343
|
+
/**
|
|
1344
|
+
* New value for property `enableCharts`
|
|
1345
|
+
*/
|
|
1346
|
+
bEnableCharts?: boolean
|
|
1347
|
+
): this;
|
|
1152
1348
|
/**
|
|
1153
1349
|
* Sets a new value for property {@link #getEnableMultiSelectionResultItems enableMultiSelectionResultItems}.
|
|
1154
1350
|
*
|
|
@@ -1160,6 +1356,7 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1160
1356
|
* Default value is `false`.
|
|
1161
1357
|
*
|
|
1162
1358
|
* @since 1.96.0
|
|
1359
|
+
* @deprecated As of version 1.141.0. use 'resultviewSelectionMode' instead.
|
|
1163
1360
|
*
|
|
1164
1361
|
* @returns Reference to `this` in order to allow method chaining
|
|
1165
1362
|
*/
|
|
@@ -1285,6 +1482,29 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1285
1482
|
*/
|
|
1286
1483
|
bFacets?: boolean
|
|
1287
1484
|
): this;
|
|
1485
|
+
/**
|
|
1486
|
+
* Sets a new value for property {@link #getFacetToggleButtonLocation facetToggleButtonLocation}.
|
|
1487
|
+
*
|
|
1488
|
+
* Location of the button to show/hide facet panel. The button (filter icon) can be placed on the left (begin)
|
|
1489
|
+
* or on the right (end) of the search bar. By default the button's location is at the beginning (left),
|
|
1490
|
+
* values are "Begin" and "End". The property is not evaluated if facet panel is disabled, see property
|
|
1491
|
+
* 'facets'.
|
|
1492
|
+
*
|
|
1493
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1494
|
+
*
|
|
1495
|
+
* Default value is `"Begin"`.
|
|
1496
|
+
*
|
|
1497
|
+
* @since 1.140.0
|
|
1498
|
+
* @experimental As of version 1.140.0. this feature is experimental and the API may change.
|
|
1499
|
+
*
|
|
1500
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1501
|
+
*/
|
|
1502
|
+
setFacetToggleButtonLocation(
|
|
1503
|
+
/**
|
|
1504
|
+
* New value for property `facetToggleButtonLocation`
|
|
1505
|
+
*/
|
|
1506
|
+
sFacetToggleButtonLocation?: string
|
|
1507
|
+
): this;
|
|
1288
1508
|
/**
|
|
1289
1509
|
* Sets a new value for property {@link #getFacetVisibility facetVisibility}.
|
|
1290
1510
|
*
|
|
@@ -1623,6 +1843,49 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1623
1843
|
*/
|
|
1624
1844
|
fnRenderSearchUrl: Function
|
|
1625
1845
|
): this;
|
|
1846
|
+
/**
|
|
1847
|
+
* Sets a new value for property {@link #getResultviewMasterDetailMode resultviewMasterDetailMode}.
|
|
1848
|
+
*
|
|
1849
|
+
* The result views are displayed in a master-detail mode. The event showResultDetail is fired whenever
|
|
1850
|
+
* the detail button/indicator is clicked.
|
|
1851
|
+
*
|
|
1852
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1853
|
+
*
|
|
1854
|
+
* Default value is `false`.
|
|
1855
|
+
*
|
|
1856
|
+
* @since 1.140.0
|
|
1857
|
+
*
|
|
1858
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1859
|
+
*/
|
|
1860
|
+
setResultviewMasterDetailMode(
|
|
1861
|
+
/**
|
|
1862
|
+
* New value for property `resultviewMasterDetailMode`
|
|
1863
|
+
*/
|
|
1864
|
+
bResultviewMasterDetailMode?: boolean
|
|
1865
|
+
): this;
|
|
1866
|
+
/**
|
|
1867
|
+
* Sets a new value for property {@link #getResultviewSelectionMode resultviewSelectionMode}.
|
|
1868
|
+
*
|
|
1869
|
+
* To select result view items, enable multi-selection or single-selection mode. Shows checkboxes ('MultipleItems')
|
|
1870
|
+
* or enables item press ('OneItem'). Values of configuration parameter `resultviewSelectionMode` are 'None',
|
|
1871
|
+
* 'OneItem' and 'MultipleItems'. To show a button for switching selection mode on/off, see 'showSelectionToggleButton'.
|
|
1872
|
+
* A checkbox is provided for each result item if the value is true. The setting is related to `resultviewMasterDetailMode`
|
|
1873
|
+
* (master-detail mode). The event `showResultDetail` is fired whenever the detail button is clicked.
|
|
1874
|
+
*
|
|
1875
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1876
|
+
*
|
|
1877
|
+
* Default value is `"None"`.
|
|
1878
|
+
*
|
|
1879
|
+
* @since 1.141.0
|
|
1880
|
+
*
|
|
1881
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1882
|
+
*/
|
|
1883
|
+
setResultviewSelectionMode(
|
|
1884
|
+
/**
|
|
1885
|
+
* New value for property `resultviewSelectionMode`
|
|
1886
|
+
*/
|
|
1887
|
+
sResultviewSelectionMode?: string
|
|
1888
|
+
): this;
|
|
1626
1889
|
/**
|
|
1627
1890
|
* Sets a new value for property {@link #getResultViewSettings resultViewSettings}.
|
|
1628
1891
|
*
|
|
@@ -1704,6 +1967,27 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1704
1967
|
*/
|
|
1705
1968
|
sResultViewTypes?: string[]
|
|
1706
1969
|
): this;
|
|
1970
|
+
/**
|
|
1971
|
+
* Sets a new value for property {@link #getSearchInputLocation searchInputLocation}.
|
|
1972
|
+
*
|
|
1973
|
+
* Location of the search input box. The search input can be placed on the top of the control (SearchCompositeControl)
|
|
1974
|
+
* or as part of the search bar By default the location is at the top, values are "Top" and "Searchbar".
|
|
1975
|
+
*
|
|
1976
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1977
|
+
*
|
|
1978
|
+
* Default value is `"Top"`.
|
|
1979
|
+
*
|
|
1980
|
+
* @since 1.140.0
|
|
1981
|
+
* @experimental As of version 1.140.0. this feature is experimental and the API may change.
|
|
1982
|
+
*
|
|
1983
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1984
|
+
*/
|
|
1985
|
+
setSearchInputLocation(
|
|
1986
|
+
/**
|
|
1987
|
+
* New value for property `searchInputLocation`
|
|
1988
|
+
*/
|
|
1989
|
+
sSearchInputLocation?: string
|
|
1990
|
+
): this;
|
|
1707
1991
|
/**
|
|
1708
1992
|
* Sets a new value for property {@link #getSearchOnStart searchOnStart}.
|
|
1709
1993
|
*
|
|
@@ -1779,6 +2063,27 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1779
2063
|
*/
|
|
1780
2064
|
fnSelectionChange: Function
|
|
1781
2065
|
): this;
|
|
2066
|
+
/**
|
|
2067
|
+
* Sets a new value for property {@link #getShowSelectionToggleButton showSelectionToggleButton}.
|
|
2068
|
+
*
|
|
2069
|
+
* Enables the selection toggle button in the search result list. The button is displayed on the top of
|
|
2070
|
+
* search result view and allows to toggle the selection of all result items. The button is only displayed
|
|
2071
|
+
* if the property 'resultviewSelectionMode' is not set to 'None'.
|
|
2072
|
+
*
|
|
2073
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2074
|
+
*
|
|
2075
|
+
* Default value is `false`.
|
|
2076
|
+
*
|
|
2077
|
+
* @since 1.140.0
|
|
2078
|
+
*
|
|
2079
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2080
|
+
*/
|
|
2081
|
+
setShowSelectionToggleButton(
|
|
2082
|
+
/**
|
|
2083
|
+
* New value for property `showSelectionToggleButton`
|
|
2084
|
+
*/
|
|
2085
|
+
bShowSelectionToggleButton?: boolean
|
|
2086
|
+
): this;
|
|
1782
2087
|
/**
|
|
1783
2088
|
* Sets a new value for property {@link #getSinaConfiguration sinaConfiguration}.
|
|
1784
2089
|
*
|
|
@@ -1947,6 +2252,14 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
1947
2252
|
*/
|
|
1948
2253
|
resultViewSettings?: string | PropertyBindingInfo;
|
|
1949
2254
|
|
|
2255
|
+
/**
|
|
2256
|
+
* The result views are displayed in a master-detail mode. The event showResultDetail is fired whenever
|
|
2257
|
+
* the detail button/indicator is clicked.
|
|
2258
|
+
*
|
|
2259
|
+
* @since 1.140.0
|
|
2260
|
+
*/
|
|
2261
|
+
resultviewMasterDetailMode?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2262
|
+
|
|
1950
2263
|
/**
|
|
1951
2264
|
* Function callback for formatting the datasource tabstrips in the top toolbar. To the callback function
|
|
1952
2265
|
* a list of datasources is passed. The callback functions return a modified list of datasources to be displayed
|
|
@@ -2038,6 +2351,15 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
2038
2351
|
| PropertyBindingInfo
|
|
2039
2352
|
| `{${string}}`;
|
|
2040
2353
|
|
|
2354
|
+
/**
|
|
2355
|
+
* Location of the search input box. The search input can be placed on the top of the control (SearchCompositeControl)
|
|
2356
|
+
* or as part of the search bar By default the location is at the top, values are "Top" and "Searchbar".
|
|
2357
|
+
*
|
|
2358
|
+
* @since 1.140.0
|
|
2359
|
+
* @experimental As of version 1.140.0. this feature is experimental and the API may change.
|
|
2360
|
+
*/
|
|
2361
|
+
searchInputLocation?: string | PropertyBindingInfo;
|
|
2362
|
+
|
|
2041
2363
|
/**
|
|
2042
2364
|
* Shall the window title be overwritten by this control? If true, the control will set the current search
|
|
2043
2365
|
* condition as window title. If false, it will not set or update the window title.
|
|
@@ -2086,6 +2408,25 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
2086
2408
|
*/
|
|
2087
2409
|
facetVisibility?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2088
2410
|
|
|
2411
|
+
/**
|
|
2412
|
+
* Location of the button to show/hide facet panel. The button (filter icon) can be placed on the left (begin)
|
|
2413
|
+
* or on the right (end) of the search bar. By default the button's location is at the beginning (left),
|
|
2414
|
+
* values are "Begin" and "End". The property is not evaluated if facet panel is disabled, see property
|
|
2415
|
+
* 'facets'.
|
|
2416
|
+
*
|
|
2417
|
+
* @since 1.140.0
|
|
2418
|
+
* @experimental As of version 1.140.0. this feature is experimental and the API may change.
|
|
2419
|
+
*/
|
|
2420
|
+
facetToggleButtonLocation?: string | PropertyBindingInfo;
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* A boolean for enabling chart visualizations (pie chart / bar chart facets). If set to true, facets can
|
|
2424
|
+
* be viewed as a pie or bar chart (this cannot be deactivated at runtime).
|
|
2425
|
+
*
|
|
2426
|
+
* @since 1.140.0
|
|
2427
|
+
*/
|
|
2428
|
+
enableCharts?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2429
|
+
|
|
2089
2430
|
/**
|
|
2090
2431
|
* A boolean for enabling (business) object suggestions.
|
|
2091
2432
|
*
|
|
@@ -2165,12 +2506,33 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
2165
2506
|
* the value is set to 'true'.
|
|
2166
2507
|
*
|
|
2167
2508
|
* @since 1.96.0
|
|
2509
|
+
* @deprecated As of version 1.141.0. use 'resultviewSelectionMode' instead.
|
|
2168
2510
|
*/
|
|
2169
2511
|
enableMultiSelectionResultItems?:
|
|
2170
2512
|
| boolean
|
|
2171
2513
|
| PropertyBindingInfo
|
|
2172
2514
|
| `{${string}}`;
|
|
2173
2515
|
|
|
2516
|
+
/**
|
|
2517
|
+
* To select result view items, enable multi-selection or single-selection mode. Shows checkboxes ('MultipleItems')
|
|
2518
|
+
* or enables item press ('OneItem'). Values of configuration parameter `resultviewSelectionMode` are 'None',
|
|
2519
|
+
* 'OneItem' and 'MultipleItems'. To show a button for switching selection mode on/off, see 'showSelectionToggleButton'.
|
|
2520
|
+
* A checkbox is provided for each result item if the value is true. The setting is related to `resultviewMasterDetailMode`
|
|
2521
|
+
* (master-detail mode). The event `showResultDetail` is fired whenever the detail button is clicked.
|
|
2522
|
+
*
|
|
2523
|
+
* @since 1.141.0
|
|
2524
|
+
*/
|
|
2525
|
+
resultviewSelectionMode?: string | PropertyBindingInfo;
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* Enables the selection toggle button in the search result list. The button is displayed on the top of
|
|
2529
|
+
* search result view and allows to toggle the selection of all result items. The button is only displayed
|
|
2530
|
+
* if the property 'resultviewSelectionMode' is not set to 'None'.
|
|
2531
|
+
*
|
|
2532
|
+
* @since 1.140.0
|
|
2533
|
+
*/
|
|
2534
|
+
showSelectionToggleButton?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2535
|
+
|
|
2174
2536
|
/**
|
|
2175
2537
|
* The maximum count of search result items displayed on a page after a search. By clicking 'Show More'
|
|
2176
2538
|
* button, another page of result items of the same count (if available) will be displayed.
|
|
@@ -2239,6 +2601,14 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
2239
2601
|
* @since 1.124
|
|
2240
2602
|
*/
|
|
2241
2603
|
resultViewTypeChanged?: (oEvent: Event) => void;
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* Event is fired after result view detail button is pressed (list, table or grid). To use this event, set
|
|
2607
|
+
* the property 'resultviewMasterDetailMode' to 'true'.
|
|
2608
|
+
*
|
|
2609
|
+
* @since 1.140.0
|
|
2610
|
+
*/
|
|
2611
|
+
showResultDetail?: (oEvent: Event) => void;
|
|
2242
2612
|
}
|
|
2243
2613
|
|
|
2244
2614
|
/**
|
|
@@ -2292,6 +2662,19 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
|
|
|
2292
2662
|
SearchCompositeControl$SelectionChangedEventParameters,
|
|
2293
2663
|
SearchCompositeControl
|
|
2294
2664
|
>;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Parameters of the SearchCompositeControl#showResultDetail event.
|
|
2668
|
+
*/
|
|
2669
|
+
export interface SearchCompositeControl$ShowResultDetailEventParameters {}
|
|
2670
|
+
|
|
2671
|
+
/**
|
|
2672
|
+
* Event object of the SearchCompositeControl#showResultDetail event.
|
|
2673
|
+
*/
|
|
2674
|
+
export type SearchCompositeControl$ShowResultDetailEvent = Event<
|
|
2675
|
+
SearchCompositeControl$ShowResultDetailEventParameters,
|
|
2676
|
+
SearchCompositeControl
|
|
2677
|
+
>;
|
|
2295
2678
|
}
|
|
2296
2679
|
|
|
2297
2680
|
declare module "sap/esh/search/ui/library" {}
|