@sapui5/ts-types 1.149.0 → 1.150.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.esh.search.ui.d.ts +165 -223
- package/types/sap.f.d.ts +57 -5
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +35 -15
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +93 -43
- package/types/sap.fe.navigation.d.ts +1 -1
- 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 +140 -30
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +141 -137
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +251 -27
- 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 +1 -1
- package/types/sap.suite.ui.commons.d.ts +132 -59
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +4 -3
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +4 -3
- package/types/sap.ui.comp.d.ts +37 -25
- package/types/sap.ui.core.d.ts +753 -466
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +16 -11
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +111 -209
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +7 -5
- package/types/sap.ui.mdc.d.ts +78 -9
- package/types/sap.ui.richtexteditor.d.ts +1 -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 +3 -1
- package/types/sap.ui.table.d.ts +10 -7
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +72 -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 +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -3
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +58 -39
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +39 -25
- package/types/sap.zen.crosstab.d.ts +15 -8
- package/types/sap.zen.dsh.d.ts +17 -9
package/package.json
CHANGED
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.150.1
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace esh {
|
|
@@ -184,7 +184,11 @@ declare namespace sap {
|
|
|
184
184
|
*
|
|
185
185
|
* @since 1.93.0
|
|
186
186
|
*/
|
|
187
|
-
class SearchLink
|
|
187
|
+
class SearchLink
|
|
188
|
+
extends sap.m.Link
|
|
189
|
+
implements sap.m.IOverflowToolbarContent
|
|
190
|
+
{
|
|
191
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
188
192
|
/**
|
|
189
193
|
* Constructs a new `SearchText` to display an attribute (with navigation) on custom grid control tiles.
|
|
190
194
|
* See:
|
|
@@ -2223,13 +2227,11 @@ declare namespace sap {
|
|
|
2223
2227
|
*/
|
|
2224
2228
|
getConfig(): object;
|
|
2225
2229
|
/**
|
|
2226
|
-
* Gets
|
|
2230
|
+
* Gets the additional CSS class which was applied to this control
|
|
2227
2231
|
*
|
|
2228
|
-
*
|
|
2229
|
-
*
|
|
2230
|
-
* @since 1.93.0
|
|
2232
|
+
* @since 1.98.0
|
|
2231
2233
|
*
|
|
2232
|
-
* @returns
|
|
2234
|
+
* @returns The additional CSS class which was applied to this control
|
|
2233
2235
|
*/
|
|
2234
2236
|
getCssClass(): string;
|
|
2235
2237
|
/**
|
|
@@ -2257,13 +2259,11 @@ declare namespace sap {
|
|
|
2257
2259
|
*/
|
|
2258
2260
|
getCustomGridView(): Function;
|
|
2259
2261
|
/**
|
|
2260
|
-
* Gets
|
|
2261
|
-
*
|
|
2262
|
-
* The id of the data source in which it will search right after initialization.
|
|
2262
|
+
* Gets the id of the active data source which is selected in the data source drop down list.
|
|
2263
2263
|
*
|
|
2264
2264
|
* @since 1.98.0
|
|
2265
2265
|
*
|
|
2266
|
-
* @returns
|
|
2266
|
+
* @returns The id of currently selected data source.
|
|
2267
2267
|
*/
|
|
2268
2268
|
getDataSource(): string;
|
|
2269
2269
|
/**
|
|
@@ -2438,17 +2438,11 @@ declare namespace sap {
|
|
|
2438
2438
|
*/
|
|
2439
2439
|
getFilterDataSources(): Function;
|
|
2440
2440
|
/**
|
|
2441
|
-
* Gets
|
|
2442
|
-
*
|
|
2443
|
-
* Defines the filter root condition of a filter tree which shall be applied to the search request. This
|
|
2444
|
-
* control only allows filter trees which have a the following structure: complex condition (root level)
|
|
2445
|
-
* \ complex condition (attribute level) \ simple condition (attribute value level) Filter root conditions
|
|
2446
|
-
* which do not follow this structure won't be accepted and an error will be thrown. Please see the below
|
|
2447
|
-
* for a more in-depth example.
|
|
2441
|
+
* Gets the filter root condition which contains all attribute filters currently set.
|
|
2448
2442
|
*
|
|
2449
2443
|
* @since 1.98.0
|
|
2450
2444
|
*
|
|
2451
|
-
* @returns
|
|
2445
|
+
* @returns The filter root condition
|
|
2452
2446
|
*/
|
|
2453
2447
|
getFilterRootCondition(): object;
|
|
2454
2448
|
/**
|
|
@@ -2627,6 +2621,16 @@ declare namespace sap {
|
|
|
2627
2621
|
* @returns Value of property `parseSearchUrlParameters`
|
|
2628
2622
|
*/
|
|
2629
2623
|
getParseSearchUrlParameters(): Function;
|
|
2624
|
+
/**
|
|
2625
|
+
* Get the public part of the search model (JSON) In general the model is read-only but a few properties
|
|
2626
|
+
* can be modified. Modifiable properties (i.e. consumtion via two-way binding): - 'results[i].data.selected'
|
|
2627
|
+
* For binding use model 'publicSearchModel' (i.e. "publicSearchModel>results/...")
|
|
2628
|
+
*
|
|
2629
|
+
* @since 1.122.0
|
|
2630
|
+
*
|
|
2631
|
+
* @returns A JSON model containing public artefacts of internal search model
|
|
2632
|
+
*/
|
|
2633
|
+
getPublicSearchModel(): object;
|
|
2630
2634
|
/**
|
|
2631
2635
|
* Gets current value of property {@link #getQuickSelectDataSources quickSelectDataSources}.
|
|
2632
2636
|
*
|
|
@@ -2649,92 +2653,49 @@ declare namespace sap {
|
|
|
2649
2653
|
*/
|
|
2650
2654
|
getRenderSearchUrl(): Function;
|
|
2651
2655
|
/**
|
|
2652
|
-
*
|
|
2653
|
-
*
|
|
2654
|
-
* The result views are displayed in a master-detail mode. The event showResultDetail is fired whenever
|
|
2655
|
-
* the detail button/indicator is clicked.
|
|
2656
|
-
*
|
|
2657
|
-
* Default value is `false`.
|
|
2656
|
+
* Get activation status of master detail mode
|
|
2658
2657
|
*
|
|
2659
|
-
* @since 1.
|
|
2658
|
+
* @since 1.141.0
|
|
2660
2659
|
*
|
|
2661
|
-
* @returns
|
|
2660
|
+
* @returns The activation status of master detail mode
|
|
2662
2661
|
*/
|
|
2663
2662
|
getResultviewMasterDetailMode(): boolean;
|
|
2664
2663
|
/**
|
|
2665
|
-
*
|
|
2666
|
-
*
|
|
2667
|
-
* To select result view items, enable multi-selection or single-selection mode. Shows checkboxes ('MultipleItems')
|
|
2668
|
-
* or enables item press ('OneItem'). Values of configuration parameter `resultviewSelectionMode` are 'None',
|
|
2669
|
-
* 'OneItem' and 'MultipleItems'. To show a button for switching selection mode on/off, see 'showSelectionToggleButton'.
|
|
2670
|
-
* A checkbox is provided for each result item if the value is true. The setting is related to `resultviewMasterDetailMode`
|
|
2671
|
-
* (master-detail mode). The event `showResultDetail` is fired whenever the detail button is clicked.
|
|
2672
|
-
*
|
|
2673
|
-
* Default value is `"None"`.
|
|
2664
|
+
* Get result view selection mode ('None', 'OneItem', 'MultipleItems')
|
|
2674
2665
|
*
|
|
2675
2666
|
* @since 1.141.0
|
|
2676
2667
|
*
|
|
2677
|
-
* @returns
|
|
2668
|
+
* @returns The result view selection mode
|
|
2678
2669
|
*/
|
|
2679
2670
|
getResultviewSelectionMode(): string;
|
|
2680
2671
|
/**
|
|
2681
|
-
* Gets
|
|
2682
|
-
*
|
|
2683
|
-
* Defines a pair of search result view settings. The value is an object of properties `resultViewTypes`
|
|
2684
|
-
* and `resultViewType`. An example: `{resultViewTypes: ["searchResultList", "searchResultTable"], resultViewType:
|
|
2685
|
-
* "searchResultList"}` Find more detail in the definition of each child property. The value can be set/get
|
|
2686
|
-
* in attached event "searchFinished". Function `setResultViewSettings` prevents incompatibility of sequential
|
|
2687
|
-
* execution of functions `setResultViewTypes` and `setResultViewType`. Note: The value of `resultViewTypes`
|
|
2688
|
-
* and `resultViewType` must be compatible to each other.
|
|
2689
|
-
*
|
|
2690
|
-
* After the result view type has been changed, the event 'resultViewTypeChanged' is fired.
|
|
2691
|
-
*
|
|
2692
|
-
* Default value is `...see text or source`.
|
|
2672
|
+
* Gets search result view type settings
|
|
2693
2673
|
*
|
|
2694
2674
|
* @since 1.100.0
|
|
2695
2675
|
*
|
|
2696
|
-
* @returns
|
|
2676
|
+
* @returns The object of resultViewTypes and resultViewType.
|
|
2697
2677
|
*/
|
|
2698
|
-
getResultViewSettings():
|
|
2678
|
+
getResultViewSettings(): object;
|
|
2699
2679
|
/**
|
|
2700
|
-
* Gets
|
|
2701
|
-
*
|
|
2702
|
-
* Defines active search result view type. The value can be set/get in attach event "searchFinished", and
|
|
2703
|
-
* it must be contained in resultViewTypes. Case 1, Search in Apps: result is displayed in a mandatory view
|
|
2704
|
-
* type `"appSearchResult"`. Case 2.1, Search in All or other Category (configuration.isUshell !== true):
|
|
2705
|
-
* result is switchable between different view types. Possible value is `"searchResultList"`, or `"searchResultGrid"`.
|
|
2706
|
-
* Case 2.2, Search in All or other Category (configuration.isUshell === true): result is displayed in a
|
|
2707
|
-
* mandatory view type `"searchResultList"`. Case 3, Search in Business Object: result is switchable between
|
|
2708
|
-
* different view types. Possible value is `"searchResultList"`, `"searchResultTable"` or `"searchResultGrid"`.
|
|
2709
|
-
* Note: The value of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
2710
|
-
*
|
|
2711
|
-
* After the result view type has been changed, the event 'resultViewTypeChanged' is fired.
|
|
2712
|
-
*
|
|
2713
|
-
* Default value is `"searchResultList"`.
|
|
2680
|
+
* Gets search result view type
|
|
2714
2681
|
*
|
|
2715
2682
|
* @since 1.98.0
|
|
2716
2683
|
*
|
|
2717
|
-
* @returns
|
|
2684
|
+
* @returns The active search result view type.
|
|
2718
2685
|
*/
|
|
2719
|
-
getResultViewType():
|
|
2686
|
+
getResultViewType():
|
|
2687
|
+
| "appSearchResult"
|
|
2688
|
+
| "searchResultList"
|
|
2689
|
+
| "searchResultTable"
|
|
2690
|
+
| "searchResultGrid"
|
|
2691
|
+
| ""
|
|
2692
|
+
| string;
|
|
2720
2693
|
/**
|
|
2721
|
-
* Gets
|
|
2722
|
-
*
|
|
2723
|
-
* Defines selectable search result view types. The value can be set/get in attach event "searchFinished".
|
|
2724
|
-
* Case 1: Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
|
|
2725
|
-
* not switchable. Case 2: Search in All or other Category: result is switchable between different view
|
|
2726
|
-
* types. Possible values for the array items are `"searchResultList"` and `"searchResultGrid"`. Case 3,
|
|
2727
|
-
* Search in Business Object: result is switchable between different view types. Possible values for the
|
|
2728
|
-
* array items are `"searchResultList"`, `"searchResultTable"` and `"searchResultGrid"`. Note: The value
|
|
2729
|
-
* of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
2730
|
-
*
|
|
2731
|
-
* After the result view type has been changed, the event 'resultViewTypeChanged' is fired.
|
|
2732
|
-
*
|
|
2733
|
-
* Default value is `["searchResultList", "searchResultTable"]`.
|
|
2694
|
+
* Gets search result view types
|
|
2734
2695
|
*
|
|
2735
2696
|
* @since 1.98.0
|
|
2736
2697
|
*
|
|
2737
|
-
* @returns
|
|
2698
|
+
* @returns The array of active search result view types.
|
|
2738
2699
|
*/
|
|
2739
2700
|
getResultViewTypes(): string[];
|
|
2740
2701
|
/**
|
|
@@ -2782,6 +2743,14 @@ declare namespace sap {
|
|
|
2782
2743
|
* @returns Value of property `searchOnStart`
|
|
2783
2744
|
*/
|
|
2784
2745
|
getSearchOnStart(): boolean;
|
|
2746
|
+
/**
|
|
2747
|
+
* Gets the set of result items
|
|
2748
|
+
*
|
|
2749
|
+
* @since 1.114.0
|
|
2750
|
+
*
|
|
2751
|
+
* @returns The result set containg 'items'.
|
|
2752
|
+
*/
|
|
2753
|
+
getSearchResultSet(): object;
|
|
2785
2754
|
/**
|
|
2786
2755
|
* Gets current value of property {@link #getSearchResultTableMaxNumberOfInitiallyVisibleColumns searchResultTableMaxNumberOfInitiallyVisibleColumns}.
|
|
2787
2756
|
*
|
|
@@ -2796,15 +2765,11 @@ declare namespace sap {
|
|
|
2796
2765
|
*/
|
|
2797
2766
|
getSearchResultTableMaxNumberOfInitiallyVisibleColumns(): float;
|
|
2798
2767
|
/**
|
|
2799
|
-
* Gets
|
|
2800
|
-
*
|
|
2801
|
-
* Defines the initial search term for the search input.
|
|
2802
|
-
*
|
|
2803
|
-
* Default value is `empty string`.
|
|
2768
|
+
* Gets the search term which is displayed in the search box.
|
|
2804
2769
|
*
|
|
2805
|
-
* @since 1.
|
|
2770
|
+
* @since 1.98.0
|
|
2806
2771
|
*
|
|
2807
|
-
* @returns
|
|
2772
|
+
* @returns The search term
|
|
2808
2773
|
*/
|
|
2809
2774
|
getSearchTerm(): string;
|
|
2810
2775
|
/**
|
|
@@ -2893,6 +2858,48 @@ declare namespace sap {
|
|
|
2893
2858
|
* @since 1.124.0
|
|
2894
2859
|
*/
|
|
2895
2860
|
invalidateSearchResultCache(): Promise<void>;
|
|
2861
|
+
/**
|
|
2862
|
+
* Parse the browser URL, update properties and trigger search call (if needed)
|
|
2863
|
+
*
|
|
2864
|
+
* @since 1.122.0
|
|
2865
|
+
*
|
|
2866
|
+
* @returns this
|
|
2867
|
+
*/
|
|
2868
|
+
parseURL(): undefined;
|
|
2869
|
+
/**
|
|
2870
|
+
* Recalculate the placeholder text of search input field. If implemented, this will also call function
|
|
2871
|
+
* 'getSearchInputPlaceholderLabel' to get the label for the placeholder text.
|
|
2872
|
+
*
|
|
2873
|
+
* @since 1.136.0
|
|
2874
|
+
*
|
|
2875
|
+
* @returns void
|
|
2876
|
+
*/
|
|
2877
|
+
recalculateSearchInputPlaceholder(): undefined;
|
|
2878
|
+
/**
|
|
2879
|
+
* Assembles a search URL.
|
|
2880
|
+
*
|
|
2881
|
+
* Use this method for the creation of links to the search UI.
|
|
2882
|
+
*
|
|
2883
|
+
* @since 1.103.0
|
|
2884
|
+
* @deprecated As of version 1.120.0. use {@link sap.esh.search.ui.SearchCompositeControl#createSearchNavigationTarget createSearchNavigationTarget }
|
|
2885
|
+
* instead.
|
|
2886
|
+
*
|
|
2887
|
+
* @returns search URL.
|
|
2888
|
+
*/
|
|
2889
|
+
renderSearchUrlFromParameters(
|
|
2890
|
+
/**
|
|
2891
|
+
* Number of search results to be displayed.
|
|
2892
|
+
*/
|
|
2893
|
+
top: number,
|
|
2894
|
+
/**
|
|
2895
|
+
* A sina filter object storing the searchterm, datasource and the filter conditions.
|
|
2896
|
+
*/
|
|
2897
|
+
filter: object,
|
|
2898
|
+
/**
|
|
2899
|
+
* A boolean whether to encode the URL parameters or not.
|
|
2900
|
+
*/
|
|
2901
|
+
encodeFilter: boolean
|
|
2902
|
+
): string;
|
|
2896
2903
|
/**
|
|
2897
2904
|
* Resets the active data source which is selected in the data source drop down list to its default (see
|
|
2898
2905
|
* 'defaultDataSource'/'exclusiveDataSource').
|
|
@@ -3300,22 +3307,18 @@ declare namespace sap {
|
|
|
3300
3307
|
bBoSuggestions?: boolean
|
|
3301
3308
|
): this;
|
|
3302
3309
|
/**
|
|
3303
|
-
*
|
|
3310
|
+
* Adds an additional CSS class to this control
|
|
3304
3311
|
*
|
|
3305
|
-
*
|
|
3306
|
-
*
|
|
3307
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3308
|
-
*
|
|
3309
|
-
* @since 1.93.0
|
|
3312
|
+
* @since 1.98.0
|
|
3310
3313
|
*
|
|
3311
|
-
* @returns
|
|
3314
|
+
* @returns this
|
|
3312
3315
|
*/
|
|
3313
3316
|
setCssClass(
|
|
3314
3317
|
/**
|
|
3315
|
-
*
|
|
3318
|
+
* The new CSS class
|
|
3316
3319
|
*/
|
|
3317
|
-
|
|
3318
|
-
):
|
|
3320
|
+
cssClass: string
|
|
3321
|
+
): undefined;
|
|
3319
3322
|
/**
|
|
3320
3323
|
* Sets a new value for property {@link #getCustomBasket customBasket}.
|
|
3321
3324
|
*
|
|
@@ -3355,22 +3358,24 @@ declare namespace sap {
|
|
|
3355
3358
|
fnCustomGridView: Function
|
|
3356
3359
|
): this;
|
|
3357
3360
|
/**
|
|
3358
|
-
* Sets
|
|
3359
|
-
*
|
|
3360
|
-
* The id of the data source in which it will search right after initialization.
|
|
3361
|
-
*
|
|
3362
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3361
|
+
* Sets the id of the active data source which is selected in the data source drop down list.
|
|
3363
3362
|
*
|
|
3364
3363
|
* @since 1.98.0
|
|
3365
|
-
*
|
|
3366
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
3367
3364
|
*/
|
|
3368
3365
|
setDataSource(
|
|
3369
3366
|
/**
|
|
3370
|
-
*
|
|
3367
|
+
* The id of the new to be selected data source
|
|
3371
3368
|
*/
|
|
3372
|
-
|
|
3373
|
-
|
|
3369
|
+
dataSource: string,
|
|
3370
|
+
/**
|
|
3371
|
+
* If true, fires a search query right away. Set to false for batch updates.
|
|
3372
|
+
*/
|
|
3373
|
+
fireQuery?: boolean,
|
|
3374
|
+
/**
|
|
3375
|
+
* If true, top will be reset to the default number of visible results.
|
|
3376
|
+
*/
|
|
3377
|
+
resetTop?: boolean
|
|
3378
|
+
): void;
|
|
3374
3379
|
/**
|
|
3375
3380
|
* Sets a new value for property {@link #getDefaultDataSource defaultDataSource}.
|
|
3376
3381
|
*
|
|
@@ -3622,26 +3627,28 @@ declare namespace sap {
|
|
|
3622
3627
|
fnFilterDataSources: Function
|
|
3623
3628
|
): this;
|
|
3624
3629
|
/**
|
|
3625
|
-
* Sets
|
|
3630
|
+
* Sets the filter root condition for the search query.
|
|
3626
3631
|
*
|
|
3627
|
-
*
|
|
3628
|
-
*
|
|
3629
|
-
*
|
|
3630
|
-
* which do not follow this structure won't be accepted and an error will be thrown. Please see the below
|
|
3631
|
-
* for a more in-depth example.
|
|
3632
|
-
*
|
|
3633
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3632
|
+
* The filter root condition can contain multiple attribute filter which are then combined using AND or
|
|
3633
|
+
* OR operators. For a more comprehensive explanation and examples, see the description of the filterRootCondition
|
|
3634
|
+
* property of this control.
|
|
3634
3635
|
*
|
|
3635
3636
|
* @since 1.98.0
|
|
3636
3637
|
*
|
|
3637
|
-
* @returns
|
|
3638
|
+
* @returns this
|
|
3638
3639
|
*/
|
|
3639
3640
|
setFilterRootCondition(
|
|
3640
3641
|
/**
|
|
3641
|
-
*
|
|
3642
|
+
* Sets the new filter root condition.
|
|
3642
3643
|
*/
|
|
3643
|
-
|
|
3644
|
-
|
|
3644
|
+
filterRootCondition: object,
|
|
3645
|
+
/**
|
|
3646
|
+
* Indicates wether the search query should be sent to the search service or not. Not sending it could be
|
|
3647
|
+
* useful for batch updates, for example if the data source shall also be changed. This way, the search
|
|
3648
|
+
* service will not have to deal with outdated queries which will improve overall performance.
|
|
3649
|
+
*/
|
|
3650
|
+
fireQuery?: boolean
|
|
3651
|
+
): undefined;
|
|
3645
3652
|
/**
|
|
3646
3653
|
* Sets a new value for property {@link #getFolderMode folderMode}.
|
|
3647
3654
|
*
|
|
@@ -3942,129 +3949,64 @@ declare namespace sap {
|
|
|
3942
3949
|
fnRenderSearchUrl: Function
|
|
3943
3950
|
): this;
|
|
3944
3951
|
/**
|
|
3945
|
-
*
|
|
3946
|
-
*
|
|
3947
|
-
* The result views are displayed in a master-detail mode. The event showResultDetail is fired whenever
|
|
3948
|
-
* the detail button/indicator is clicked.
|
|
3952
|
+
* Set activation status of master detail mode
|
|
3949
3953
|
*
|
|
3950
|
-
*
|
|
3951
|
-
*
|
|
3952
|
-
* Default value is `false`.
|
|
3953
|
-
*
|
|
3954
|
-
* @since 1.140.0
|
|
3954
|
+
* @since 1.141.0
|
|
3955
3955
|
*
|
|
3956
|
-
* @returns
|
|
3956
|
+
* @returns this
|
|
3957
3957
|
*/
|
|
3958
|
-
setResultviewMasterDetailMode(
|
|
3959
|
-
/**
|
|
3960
|
-
* New value for property `resultviewMasterDetailMode`
|
|
3961
|
-
*/
|
|
3962
|
-
bResultviewMasterDetailMode?: boolean
|
|
3963
|
-
): this;
|
|
3958
|
+
setResultviewMasterDetailMode(): undefined;
|
|
3964
3959
|
/**
|
|
3965
|
-
*
|
|
3966
|
-
*
|
|
3967
|
-
* To select result view items, enable multi-selection or single-selection mode. Shows checkboxes ('MultipleItems')
|
|
3968
|
-
* or enables item press ('OneItem'). Values of configuration parameter `resultviewSelectionMode` are 'None',
|
|
3969
|
-
* 'OneItem' and 'MultipleItems'. To show a button for switching selection mode on/off, see 'showSelectionToggleButton'.
|
|
3970
|
-
* A checkbox is provided for each result item if the value is true. The setting is related to `resultviewMasterDetailMode`
|
|
3971
|
-
* (master-detail mode). The event `showResultDetail` is fired whenever the detail button is clicked.
|
|
3972
|
-
*
|
|
3973
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3974
|
-
*
|
|
3975
|
-
* Default value is `"None"`.
|
|
3960
|
+
* Set result view selection mode ('None', 'OneItem', 'MultipleItems')
|
|
3976
3961
|
*
|
|
3977
3962
|
* @since 1.141.0
|
|
3978
3963
|
*
|
|
3979
|
-
* @returns
|
|
3964
|
+
* @returns this
|
|
3980
3965
|
*/
|
|
3981
|
-
setResultviewSelectionMode(
|
|
3982
|
-
/**
|
|
3983
|
-
* New value for property `resultviewSelectionMode`
|
|
3984
|
-
*/
|
|
3985
|
-
sResultviewSelectionMode?: string
|
|
3986
|
-
): this;
|
|
3966
|
+
setResultviewSelectionMode(): undefined;
|
|
3987
3967
|
/**
|
|
3988
|
-
* Sets
|
|
3989
|
-
*
|
|
3990
|
-
* Defines a pair of search result view settings. The value is an object of properties `resultViewTypes`
|
|
3991
|
-
* and `resultViewType`. An example: `{resultViewTypes: ["searchResultList", "searchResultTable"], resultViewType:
|
|
3992
|
-
* "searchResultList"}` Find more detail in the definition of each child property. The value can be set/get
|
|
3993
|
-
* in attached event "searchFinished". Function `setResultViewSettings` prevents incompatibility of sequential
|
|
3994
|
-
* execution of functions `setResultViewTypes` and `setResultViewType`. Note: The value of `resultViewTypes`
|
|
3995
|
-
* and `resultViewType` must be compatible to each other.
|
|
3996
|
-
*
|
|
3997
|
-
* After the result view type has been changed, the event 'resultViewTypeChanged' is fired.
|
|
3998
|
-
*
|
|
3999
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4000
|
-
*
|
|
4001
|
-
* Default value is `...see text or source`.
|
|
3968
|
+
* Sets search result view type settings
|
|
4002
3969
|
*
|
|
4003
3970
|
* @since 1.100.0
|
|
4004
3971
|
*
|
|
4005
|
-
* @returns
|
|
3972
|
+
* @returns this
|
|
4006
3973
|
*/
|
|
4007
3974
|
setResultViewSettings(
|
|
4008
3975
|
/**
|
|
4009
|
-
*
|
|
3976
|
+
* The object of resultViewTypes and resultViewType.
|
|
4010
3977
|
*/
|
|
4011
|
-
|
|
4012
|
-
):
|
|
3978
|
+
settings: object
|
|
3979
|
+
): undefined;
|
|
4013
3980
|
/**
|
|
4014
|
-
* Sets
|
|
4015
|
-
*
|
|
4016
|
-
* Defines active search result view type. The value can be set/get in attach event "searchFinished", and
|
|
4017
|
-
* it must be contained in resultViewTypes. Case 1, Search in Apps: result is displayed in a mandatory view
|
|
4018
|
-
* type `"appSearchResult"`. Case 2.1, Search in All or other Category (configuration.isUshell !== true):
|
|
4019
|
-
* result is switchable between different view types. Possible value is `"searchResultList"`, or `"searchResultGrid"`.
|
|
4020
|
-
* Case 2.2, Search in All or other Category (configuration.isUshell === true): result is displayed in a
|
|
4021
|
-
* mandatory view type `"searchResultList"`. Case 3, Search in Business Object: result is switchable between
|
|
4022
|
-
* different view types. Possible value is `"searchResultList"`, `"searchResultTable"` or `"searchResultGrid"`.
|
|
4023
|
-
* Note: The value of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
4024
|
-
*
|
|
4025
|
-
* After the result view type has been changed, the event 'resultViewTypeChanged' is fired.
|
|
4026
|
-
*
|
|
4027
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4028
|
-
*
|
|
4029
|
-
* Default value is `"searchResultList"`.
|
|
3981
|
+
* Sets search result view type
|
|
4030
3982
|
*
|
|
4031
3983
|
* @since 1.98.0
|
|
4032
3984
|
*
|
|
4033
|
-
* @returns
|
|
3985
|
+
* @returns this
|
|
4034
3986
|
*/
|
|
4035
3987
|
setResultViewType(
|
|
4036
3988
|
/**
|
|
4037
|
-
*
|
|
3989
|
+
* The active search result view type.
|
|
4038
3990
|
*/
|
|
4039
|
-
|
|
4040
|
-
|
|
3991
|
+
resultViewType:
|
|
3992
|
+
| "appSearchResult"
|
|
3993
|
+
| "searchResultList"
|
|
3994
|
+
| "searchResultTable"
|
|
3995
|
+
| "searchResultGrid"
|
|
3996
|
+
): undefined;
|
|
4041
3997
|
/**
|
|
4042
|
-
* Sets
|
|
4043
|
-
*
|
|
4044
|
-
* Defines selectable search result view types. The value can be set/get in attach event "searchFinished".
|
|
4045
|
-
* Case 1: Search in Apps: result is displayed in a mandatory view type `["appSearchResult"]`, and it is
|
|
4046
|
-
* not switchable. Case 2: Search in All or other Category: result is switchable between different view
|
|
4047
|
-
* types. Possible values for the array items are `"searchResultList"` and `"searchResultGrid"`. Case 3,
|
|
4048
|
-
* Search in Business Object: result is switchable between different view types. Possible values for the
|
|
4049
|
-
* array items are `"searchResultList"`, `"searchResultTable"` and `"searchResultGrid"`. Note: The value
|
|
4050
|
-
* of `resultViewTypes` and `resultViewType` must be compatible to each other.
|
|
4051
|
-
*
|
|
4052
|
-
* After the result view type has been changed, the event 'resultViewTypeChanged' is fired.
|
|
4053
|
-
*
|
|
4054
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4055
|
-
*
|
|
4056
|
-
* Default value is `["searchResultList", "searchResultTable"]`.
|
|
3998
|
+
* Sets search result view types
|
|
4057
3999
|
*
|
|
4058
4000
|
* @since 1.98.0
|
|
4059
4001
|
*
|
|
4060
|
-
* @returns
|
|
4002
|
+
* @returns this
|
|
4061
4003
|
*/
|
|
4062
4004
|
setResultViewTypes(
|
|
4063
4005
|
/**
|
|
4064
|
-
*
|
|
4006
|
+
* The array of active search result view types.
|
|
4065
4007
|
*/
|
|
4066
|
-
|
|
4067
|
-
):
|
|
4008
|
+
resultViewTypes: string[]
|
|
4009
|
+
): undefined;
|
|
4068
4010
|
/**
|
|
4069
4011
|
* Sets a new value for property {@link #getSearchBarTitle searchBarTitle}.
|
|
4070
4012
|
*
|
|
@@ -4143,24 +4085,24 @@ declare namespace sap {
|
|
|
4143
4085
|
fSearchResultTableMaxNumberOfInitiallyVisibleColumns?: float
|
|
4144
4086
|
): this;
|
|
4145
4087
|
/**
|
|
4146
|
-
* Sets
|
|
4147
|
-
*
|
|
4148
|
-
* Defines the initial search term for the search input.
|
|
4088
|
+
* Sets the search term which is displayed in the search box.
|
|
4149
4089
|
*
|
|
4150
|
-
*
|
|
4151
|
-
*
|
|
4152
|
-
* Default value is `empty string`.
|
|
4153
|
-
*
|
|
4154
|
-
* @since 1.93.0
|
|
4090
|
+
* @since 1.98.0
|
|
4155
4091
|
*
|
|
4156
|
-
* @returns
|
|
4092
|
+
* @returns this
|
|
4157
4093
|
*/
|
|
4158
4094
|
setSearchTerm(
|
|
4159
4095
|
/**
|
|
4160
|
-
*
|
|
4096
|
+
* Sets the new search term
|
|
4161
4097
|
*/
|
|
4162
|
-
|
|
4163
|
-
|
|
4098
|
+
searchTerm: string,
|
|
4099
|
+
/**
|
|
4100
|
+
* Indicates wether the search query should be sent to the search service or not. Not sending it could be
|
|
4101
|
+
* useful for batch updates, for example if the data source shall also be changed. This way, the search
|
|
4102
|
+
* service will not have to deal with outdated queries which will improve overall performance.
|
|
4103
|
+
*/
|
|
4104
|
+
fireQuery?: boolean
|
|
4105
|
+
): undefined;
|
|
4164
4106
|
/**
|
|
4165
4107
|
* Sets a new value for property {@link #getSearchTermLengthLimit searchTermLengthLimit}.
|
|
4166
4108
|
*
|