@sapui5/ts-types 1.128.1 → 1.129.1
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 +37 -0
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +10 -10
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +116 -30
- package/types/sap.fe.navigation.d.ts +9 -2
- 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 +17 -4
- package/types/sap.insights.d.ts +7 -1
- package/types/sap.m.d.ts +195 -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 +355 -20
- package/types/sap.suite.ui.commons.d.ts +118 -2
- package/types/sap.suite.ui.generic.template.d.ts +27 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -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 +427 -982
- package/types/sap.ui.core.d.ts +59 -65
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +7 -1
- package/types/sap.ui.fl.d.ts +13 -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 +37 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +531 -27
- 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 +1 -1
- package/types/sap.ui.table.d.ts +71 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +103 -1
- 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.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 +43 -25
- 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 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.129.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -758,6 +758,8 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
758
758
|
): undefined | object;
|
|
759
759
|
/**
|
|
760
760
|
* Provides the possibility to customize / replace the internal content of a field
|
|
761
|
+
* By default, this method returns suitable controls for the given {@link sap.ui.mdc.enums.BaseType BaseType},
|
|
762
|
+
* {@link sap.ui.mdc.field.FieldBase#setMaxConditions maxConditions} and {@link sap.ui.mdc.enums.ContentMode ContentMode}.
|
|
761
763
|
*
|
|
762
764
|
* @since 1.124.0
|
|
763
765
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -792,7 +794,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
792
794
|
*
|
|
793
795
|
* The returned text will be shown as selected after the user input ends.
|
|
794
796
|
*
|
|
795
|
-
* By
|
|
797
|
+
* By default this method uses the {@link sap.ui.mdc.field.FieldBase#getDisplay display} property of the
|
|
796
798
|
* {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField}, or {@link sap.ui.mdc.MultiValueField MultiValueField }
|
|
797
799
|
* control to determine what text (key or description) is used as autocomplete-text. A text is only used
|
|
798
800
|
* if it matches the user input. If set to `Value`, the key is used. If set to `Description`, the description
|
|
@@ -3854,7 +3856,7 @@ declare namespace sap {
|
|
|
3854
3856
|
/**
|
|
3855
3857
|
* The aggregation method used if the property is aggregatable
|
|
3856
3858
|
*/
|
|
3857
|
-
aggregationMethod
|
|
3859
|
+
aggregationMethod?: string;
|
|
3858
3860
|
/**
|
|
3859
3861
|
* Defines the role that the property visualizes inside the chart
|
|
3860
3862
|
*/
|
|
@@ -7305,14 +7307,6 @@ declare namespace sap {
|
|
|
7305
7307
|
* @since 1.61.0
|
|
7306
7308
|
*/
|
|
7307
7309
|
getContentEdit(): sap.ui.core.Control;
|
|
7308
|
-
/**
|
|
7309
|
-
* Returns the `ContentFactory` used to manage the internal content control.
|
|
7310
|
-
*
|
|
7311
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
7312
|
-
*
|
|
7313
|
-
* @returns oContentFactory the ContentFactory of the Field
|
|
7314
|
-
*/
|
|
7315
|
-
getContentFactory(): /* was: sap.ui.mdc.field.content.ContentFactory */ any;
|
|
7316
7310
|
/**
|
|
7317
7311
|
* Gets the currently used content controls.
|
|
7318
7312
|
*
|
|
@@ -9772,6 +9766,287 @@ declare namespace sap {
|
|
|
9772
9766
|
* @since 1.95.0
|
|
9773
9767
|
*/
|
|
9774
9768
|
namespace base {
|
|
9769
|
+
/**
|
|
9770
|
+
* Interface for valuehelp containers shown on a dialog
|
|
9771
|
+
*
|
|
9772
|
+
* @since 1.95
|
|
9773
|
+
*/
|
|
9774
|
+
interface IDialogContainer {
|
|
9775
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContainer: boolean;
|
|
9776
|
+
|
|
9777
|
+
/**
|
|
9778
|
+
* Closes the container
|
|
9779
|
+
*/
|
|
9780
|
+
close(): void;
|
|
9781
|
+
/**
|
|
9782
|
+
* Opens the container
|
|
9783
|
+
*
|
|
9784
|
+
*
|
|
9785
|
+
* @returns This promise resolves after the container completely opened.
|
|
9786
|
+
*/
|
|
9787
|
+
open(
|
|
9788
|
+
/**
|
|
9789
|
+
* Promise for content request
|
|
9790
|
+
*/
|
|
9791
|
+
oValueHelpContentPromise: Promise<any>,
|
|
9792
|
+
/**
|
|
9793
|
+
* Flag indicating whether the container is opened as type-ahead or dialog-like help
|
|
9794
|
+
*/
|
|
9795
|
+
bTypeahead: boolean
|
|
9796
|
+
): Promise<any>;
|
|
9797
|
+
}
|
|
9798
|
+
|
|
9799
|
+
/**
|
|
9800
|
+
* Interface for valuehelp containers / contents supporting dialog functionality
|
|
9801
|
+
*
|
|
9802
|
+
* @since 1.95
|
|
9803
|
+
*/
|
|
9804
|
+
interface IDialogContent {
|
|
9805
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
|
|
9806
|
+
|
|
9807
|
+
/**
|
|
9808
|
+
* Returns number of relevant conditions for this content
|
|
9809
|
+
*
|
|
9810
|
+
*
|
|
9811
|
+
* @returns Number of relevant conditions
|
|
9812
|
+
*/
|
|
9813
|
+
getCount(
|
|
9814
|
+
/**
|
|
9815
|
+
* Array of conditions
|
|
9816
|
+
*/
|
|
9817
|
+
aConditions: sap.ui.mdc.condition.ConditionObject[]
|
|
9818
|
+
): number;
|
|
9819
|
+
/**
|
|
9820
|
+
* Loads additional dependencies, creates and returns displayed content.
|
|
9821
|
+
*
|
|
9822
|
+
*
|
|
9823
|
+
* @returns Promise resolving in displayed content
|
|
9824
|
+
*/
|
|
9825
|
+
getContent(): Promise<sap.ui.core.Control>;
|
|
9826
|
+
/**
|
|
9827
|
+
* Returns a title for the given Content
|
|
9828
|
+
*
|
|
9829
|
+
*
|
|
9830
|
+
* @returns Content title as string
|
|
9831
|
+
*/
|
|
9832
|
+
getTitle(): string;
|
|
9833
|
+
/**
|
|
9834
|
+
* Returns info if the given content is in multi select mode
|
|
9835
|
+
*
|
|
9836
|
+
*
|
|
9837
|
+
* @returns `true` if multi-selection is active.
|
|
9838
|
+
*/
|
|
9839
|
+
isMultiSelect(): boolean;
|
|
9840
|
+
}
|
|
9841
|
+
|
|
9842
|
+
/**
|
|
9843
|
+
* Interface for valuehelp {@link sap.ui.mdc.valuehelp.base.Container Containers} supporting typeahead functionality
|
|
9844
|
+
*
|
|
9845
|
+
* @since 1.95
|
|
9846
|
+
*/
|
|
9847
|
+
interface ITypeaheadContainer {
|
|
9848
|
+
__implements__sap_ui_mdc_valuehelp_base_ITypeaheadContainer: boolean;
|
|
9849
|
+
|
|
9850
|
+
/**
|
|
9851
|
+
* Closes the container
|
|
9852
|
+
*/
|
|
9853
|
+
close(): void;
|
|
9854
|
+
/**
|
|
9855
|
+
* Determines the item (key and description) for a given value.
|
|
9856
|
+
*
|
|
9857
|
+
* The value help checks if there is an item with a key or description that fits this value.
|
|
9858
|
+
*
|
|
9859
|
+
* **Note:** This function must only be called by the control the `ValuedHelp` element belongs to, not by
|
|
9860
|
+
* the application.
|
|
9861
|
+
*
|
|
9862
|
+
*
|
|
9863
|
+
* @returns Promise returning object containing description, key and payload.
|
|
9864
|
+
*/
|
|
9865
|
+
getItemForValue(
|
|
9866
|
+
/**
|
|
9867
|
+
* Configuration
|
|
9868
|
+
*/
|
|
9869
|
+
oConfig: sap.ui.mdc.valuehelp.base.ItemForValueConfiguration
|
|
9870
|
+
): Promise<sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
9871
|
+
/**
|
|
9872
|
+
* If the container is used for type-ahead it might be wanted that the same content should also be shown
|
|
9873
|
+
* as valuehelp. If not, the field should not show a valuehelp icon.
|
|
9874
|
+
*
|
|
9875
|
+
*
|
|
9876
|
+
* @returns `true` if the typeahead content can be used as value help
|
|
9877
|
+
*/
|
|
9878
|
+
getUseAsValueHelp(): boolean;
|
|
9879
|
+
/**
|
|
9880
|
+
* Defines if the typeahead can be used for input validation.
|
|
9881
|
+
*
|
|
9882
|
+
*
|
|
9883
|
+
* @returns True if the typeahead container can be used for input validation
|
|
9884
|
+
*/
|
|
9885
|
+
isValidationSupported(): boolean;
|
|
9886
|
+
/**
|
|
9887
|
+
* Navigates the typeaheads values (optional)
|
|
9888
|
+
*
|
|
9889
|
+
* As this could be asyncronous as data might be loaded a promise is returned.
|
|
9890
|
+
*
|
|
9891
|
+
*
|
|
9892
|
+
* @returns Promise fulfilled after navigation is evecuted
|
|
9893
|
+
*/
|
|
9894
|
+
navigate(
|
|
9895
|
+
/**
|
|
9896
|
+
* Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
9897
|
+
*/
|
|
9898
|
+
iStep: int
|
|
9899
|
+
): Promise<object>;
|
|
9900
|
+
/**
|
|
9901
|
+
* Opens the container
|
|
9902
|
+
*
|
|
9903
|
+
*
|
|
9904
|
+
* @returns This promise resolves after the container completely opened.
|
|
9905
|
+
*/
|
|
9906
|
+
open(
|
|
9907
|
+
/**
|
|
9908
|
+
* Promise for content request
|
|
9909
|
+
*/
|
|
9910
|
+
oValueHelpContentPromise: Promise<any>,
|
|
9911
|
+
/**
|
|
9912
|
+
* Flag indicating whether the container is opened as type-ahead or dialog-like help
|
|
9913
|
+
*/
|
|
9914
|
+
bTypeahead: boolean
|
|
9915
|
+
): Promise<any>;
|
|
9916
|
+
/**
|
|
9917
|
+
* The focus visualization of the field help needs to be removed as the user starts typing into the source
|
|
9918
|
+
* control.
|
|
9919
|
+
*/
|
|
9920
|
+
removeVisualFocus(): void;
|
|
9921
|
+
/**
|
|
9922
|
+
* The focus visualization of the field help needs to be set as the user starts naigation into the value
|
|
9923
|
+
* help items.
|
|
9924
|
+
*
|
|
9925
|
+
* @since 1.127.0
|
|
9926
|
+
*/
|
|
9927
|
+
setVisualFocus(): void;
|
|
9928
|
+
/**
|
|
9929
|
+
* Defines if the typeahead container desires to be opened whenever a user clicks on a connected control
|
|
9930
|
+
*
|
|
9931
|
+
*
|
|
9932
|
+
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
9933
|
+
*/
|
|
9934
|
+
shouldOpenOnClick(): Promise<boolean>;
|
|
9935
|
+
/**
|
|
9936
|
+
* Defines if the typeahead container desires to be opened whenever a user focuses a connected control
|
|
9937
|
+
*
|
|
9938
|
+
*
|
|
9939
|
+
* @returns If `true`, the value help should open when user focuses the connected field control
|
|
9940
|
+
*/
|
|
9941
|
+
shouldOpenOnFocus(): Promise<boolean>;
|
|
9942
|
+
/**
|
|
9943
|
+
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
9944
|
+
*
|
|
9945
|
+
*
|
|
9946
|
+
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
9947
|
+
*/
|
|
9948
|
+
shouldOpenOnNavigate(): boolean;
|
|
9949
|
+
}
|
|
9950
|
+
|
|
9951
|
+
/**
|
|
9952
|
+
* Interface for valuehelp {@link sap.ui.mdc.valuehelp.base.Container Containers} / {@link sap.ui.mdc.valuehelp.base.Content Contents }
|
|
9953
|
+
* supporting typeahead functionality
|
|
9954
|
+
*
|
|
9955
|
+
* @since 1.95
|
|
9956
|
+
*/
|
|
9957
|
+
interface ITypeaheadContent {
|
|
9958
|
+
__implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
|
|
9959
|
+
|
|
9960
|
+
/**
|
|
9961
|
+
* Loads additional dependencies, creates and returns displayed content.
|
|
9962
|
+
*
|
|
9963
|
+
*
|
|
9964
|
+
* @returns Promise resolving in displayed content
|
|
9965
|
+
*/
|
|
9966
|
+
getContent(): Promise<sap.ui.core.Control>;
|
|
9967
|
+
/**
|
|
9968
|
+
* Determines the item (key and description) for a given value.
|
|
9969
|
+
*
|
|
9970
|
+
* The content checks if there is an item with a key or description that fits this value.
|
|
9971
|
+
*
|
|
9972
|
+
* **Note:** This function must only be called by the `Container` element.
|
|
9973
|
+
*
|
|
9974
|
+
*
|
|
9975
|
+
* @returns Promise returning object containing description, key and payload.
|
|
9976
|
+
*/
|
|
9977
|
+
getItemForValue(
|
|
9978
|
+
/**
|
|
9979
|
+
* Configuration
|
|
9980
|
+
*/
|
|
9981
|
+
oConfig: sap.ui.mdc.valuehelp.base.ItemForValueConfiguration
|
|
9982
|
+
): Promise<sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
9983
|
+
/**
|
|
9984
|
+
* Returns a title for the given Content
|
|
9985
|
+
*
|
|
9986
|
+
*
|
|
9987
|
+
* @returns Content title as string
|
|
9988
|
+
*/
|
|
9989
|
+
getTitle(): string;
|
|
9990
|
+
/**
|
|
9991
|
+
* If the container is used for typeahead it might be wanted that the same content should also be shown
|
|
9992
|
+
* as valuehelp. If not, the field should not show a valuehelp icon.
|
|
9993
|
+
*
|
|
9994
|
+
*
|
|
9995
|
+
* @returns `true` if the typeahead content can be used as value help
|
|
9996
|
+
*/
|
|
9997
|
+
getUseAsValueHelp(): boolean;
|
|
9998
|
+
/**
|
|
9999
|
+
* Returns info if the given content is in multi select mode
|
|
10000
|
+
*
|
|
10001
|
+
*
|
|
10002
|
+
* @returns `true` if multi-selection is active.
|
|
10003
|
+
*/
|
|
10004
|
+
isMultiSelect(): boolean;
|
|
10005
|
+
/**
|
|
10006
|
+
* Defines if the typeahead can be used for input validation.
|
|
10007
|
+
*
|
|
10008
|
+
*
|
|
10009
|
+
* @returns True if the typeahead container can be used for input validation
|
|
10010
|
+
*/
|
|
10011
|
+
isValidationSupported(): boolean;
|
|
10012
|
+
/**
|
|
10013
|
+
* Navigates the typeaheads values (optional)
|
|
10014
|
+
*/
|
|
10015
|
+
navigate(
|
|
10016
|
+
/**
|
|
10017
|
+
* Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
10018
|
+
*/
|
|
10019
|
+
iStep: int
|
|
10020
|
+
): void;
|
|
10021
|
+
/**
|
|
10022
|
+
* The focus visualization of the field help needs to be removed as the user starts typing into the source
|
|
10023
|
+
* control.
|
|
10024
|
+
*/
|
|
10025
|
+
removeVisualFocus(): void;
|
|
10026
|
+
/**
|
|
10027
|
+
* The focus visualization of the field help needs to be set as the user starts naigation into the value
|
|
10028
|
+
* help items.
|
|
10029
|
+
*
|
|
10030
|
+
* @since 1.127.0
|
|
10031
|
+
*/
|
|
10032
|
+
setVisualFocus(): void;
|
|
10033
|
+
/**
|
|
10034
|
+
* Defines if the typeahead content desires opening the typeahead whenever a user clicks on a connected
|
|
10035
|
+
* control
|
|
10036
|
+
*
|
|
10037
|
+
*
|
|
10038
|
+
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
10039
|
+
*/
|
|
10040
|
+
shouldOpenOnClick(): boolean;
|
|
10041
|
+
/**
|
|
10042
|
+
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
10043
|
+
*
|
|
10044
|
+
*
|
|
10045
|
+
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
10046
|
+
*/
|
|
10047
|
+
shouldOpenOnNavigate(): boolean;
|
|
10048
|
+
}
|
|
10049
|
+
|
|
9775
10050
|
/**
|
|
9776
10051
|
* Describes the settings that can be provided to the Container constructor.
|
|
9777
10052
|
*/
|
|
@@ -10238,6 +10513,10 @@ declare namespace sap {
|
|
|
10238
10513
|
*/
|
|
10239
10514
|
oContent: sap.ui.mdc.valuehelp.base.Content
|
|
10240
10515
|
): void;
|
|
10516
|
+
/**
|
|
10517
|
+
* Closes the container
|
|
10518
|
+
*/
|
|
10519
|
+
close(): void;
|
|
10241
10520
|
/**
|
|
10242
10521
|
* Closes the container control or element.
|
|
10243
10522
|
*
|
|
@@ -10285,6 +10564,23 @@ declare namespace sap {
|
|
|
10285
10564
|
* @returns connected control
|
|
10286
10565
|
*/
|
|
10287
10566
|
getControl(): sap.ui.core.Control;
|
|
10567
|
+
/**
|
|
10568
|
+
* Determines the item (key and description) for a given value.
|
|
10569
|
+
*
|
|
10570
|
+
* The value help checks if there is an item with a key or description that fits this value.
|
|
10571
|
+
*
|
|
10572
|
+
* **Note:** This function must only be called by the control the `ValuedHelp` element belongs to, not by
|
|
10573
|
+
* the application.
|
|
10574
|
+
*
|
|
10575
|
+
*
|
|
10576
|
+
* @returns Promise returning object containing description, key and payload.
|
|
10577
|
+
*/
|
|
10578
|
+
getItemForValue(
|
|
10579
|
+
/**
|
|
10580
|
+
* Configuration
|
|
10581
|
+
*/
|
|
10582
|
+
oConfig: sap.ui.mdc.valuehelp.base.ItemForValueConfiguration
|
|
10583
|
+
): Promise<sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
10288
10584
|
/**
|
|
10289
10585
|
* Returns the maximum allowed number of conditions, -1 if no limit is set.
|
|
10290
10586
|
*
|
|
@@ -10328,6 +10624,14 @@ declare namespace sap {
|
|
|
10328
10624
|
* @returns The UI area of the content or `null`
|
|
10329
10625
|
*/
|
|
10330
10626
|
getUIAreaForContent(): sap.ui.core.UIArea | null;
|
|
10627
|
+
/**
|
|
10628
|
+
* If the container is used for type-ahead it might be wanted that the same content should also be shown
|
|
10629
|
+
* as valuehelp. If not, the field should not show a valuehelp icon.
|
|
10630
|
+
*
|
|
10631
|
+
*
|
|
10632
|
+
* @returns `true` if the typeahead content can be used as value help
|
|
10633
|
+
*/
|
|
10634
|
+
getUseAsValueHelp(): boolean;
|
|
10331
10635
|
/**
|
|
10332
10636
|
* Handles the `cancelled` event of the content.
|
|
10333
10637
|
*
|
|
@@ -10472,6 +10776,27 @@ declare namespace sap {
|
|
|
10472
10776
|
* @returns `true` id single selection
|
|
10473
10777
|
*/
|
|
10474
10778
|
isSingleSelect(): boolean;
|
|
10779
|
+
/**
|
|
10780
|
+
* Defines if the typeahead can be used for input validation.
|
|
10781
|
+
*
|
|
10782
|
+
*
|
|
10783
|
+
* @returns True if the typeahead container can be used for input validation
|
|
10784
|
+
*/
|
|
10785
|
+
isValidationSupported(): boolean;
|
|
10786
|
+
/**
|
|
10787
|
+
* Navigates the typeaheads values (optional)
|
|
10788
|
+
*
|
|
10789
|
+
* As this could be asyncronous as data might be loaded a promise is returned.
|
|
10790
|
+
*
|
|
10791
|
+
*
|
|
10792
|
+
* @returns Promise fulfilled after navigation is evecuted
|
|
10793
|
+
*/
|
|
10794
|
+
navigate(
|
|
10795
|
+
/**
|
|
10796
|
+
* Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
10797
|
+
*/
|
|
10798
|
+
iStep: int
|
|
10799
|
+
): Promise<object>;
|
|
10475
10800
|
/**
|
|
10476
10801
|
* Triggers navigation in the content of the container.
|
|
10477
10802
|
*
|
|
@@ -10494,6 +10819,22 @@ declare namespace sap {
|
|
|
10494
10819
|
*/
|
|
10495
10820
|
oChanges: object
|
|
10496
10821
|
): void;
|
|
10822
|
+
/**
|
|
10823
|
+
* Opens the container
|
|
10824
|
+
*
|
|
10825
|
+
*
|
|
10826
|
+
* @returns This promise resolves after the container completely opened.
|
|
10827
|
+
*/
|
|
10828
|
+
open(
|
|
10829
|
+
/**
|
|
10830
|
+
* Promise for content request
|
|
10831
|
+
*/
|
|
10832
|
+
oValueHelpContentPromise: Promise<any>,
|
|
10833
|
+
/**
|
|
10834
|
+
* Flag indicating whether the container is opened as type-ahead or dialog-like help
|
|
10835
|
+
*/
|
|
10836
|
+
bTypeahead: boolean
|
|
10837
|
+
): Promise<any>;
|
|
10497
10838
|
/**
|
|
10498
10839
|
* Opens the container control or element.
|
|
10499
10840
|
*
|
|
@@ -10543,6 +10884,11 @@ declare namespace sap {
|
|
|
10543
10884
|
*/
|
|
10544
10885
|
vContent: int | string | sap.ui.mdc.valuehelp.base.Content
|
|
10545
10886
|
): sap.ui.mdc.valuehelp.base.Content | null;
|
|
10887
|
+
/**
|
|
10888
|
+
* The focus visualization of the field help needs to be removed as the user starts typing into the source
|
|
10889
|
+
* control.
|
|
10890
|
+
*/
|
|
10891
|
+
removeVisualFocus(): void;
|
|
10546
10892
|
/**
|
|
10547
10893
|
* Sets a new value for property {@link #getTitle title}.
|
|
10548
10894
|
*
|
|
@@ -10561,6 +10907,34 @@ declare namespace sap {
|
|
|
10561
10907
|
*/
|
|
10562
10908
|
sTitle?: string
|
|
10563
10909
|
): this;
|
|
10910
|
+
/**
|
|
10911
|
+
* The focus visualization of the field help needs to be set as the user starts naigation into the value
|
|
10912
|
+
* help items.
|
|
10913
|
+
*
|
|
10914
|
+
* @since 1.127.0
|
|
10915
|
+
*/
|
|
10916
|
+
setVisualFocus(): void;
|
|
10917
|
+
/**
|
|
10918
|
+
* Defines if the typeahead container desires to be opened whenever a user clicks on a connected control
|
|
10919
|
+
*
|
|
10920
|
+
*
|
|
10921
|
+
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
10922
|
+
*/
|
|
10923
|
+
shouldOpenOnClick(): Promise<boolean>;
|
|
10924
|
+
/**
|
|
10925
|
+
* Defines if the typeahead container desires to be opened whenever a user focuses a connected control
|
|
10926
|
+
*
|
|
10927
|
+
*
|
|
10928
|
+
* @returns If `true`, the value help should open when user focuses the connected field control
|
|
10929
|
+
*/
|
|
10930
|
+
shouldOpenOnFocus(): Promise<boolean>;
|
|
10931
|
+
/**
|
|
10932
|
+
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
10933
|
+
*
|
|
10934
|
+
*
|
|
10935
|
+
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
10936
|
+
*/
|
|
10937
|
+
shouldOpenOnNavigate(): boolean;
|
|
10564
10938
|
/**
|
|
10565
10939
|
* Unbinds the content from the container.
|
|
10566
10940
|
*
|
|
@@ -10675,6 +11049,13 @@ declare namespace sap {
|
|
|
10675
11049
|
*/
|
|
10676
11050
|
oPayload?: object
|
|
10677
11051
|
): sap.ui.mdc.condition.ConditionObject;
|
|
11052
|
+
/**
|
|
11053
|
+
* Loads additional dependencies, creates and returns displayed content.
|
|
11054
|
+
*
|
|
11055
|
+
*
|
|
11056
|
+
* @returns Promise resolving in displayed content
|
|
11057
|
+
*/
|
|
11058
|
+
getContent(): Promise<sap.ui.core.Control>;
|
|
10678
11059
|
/**
|
|
10679
11060
|
* Returns control connected to value help.
|
|
10680
11061
|
*
|
|
@@ -10683,6 +11064,34 @@ declare namespace sap {
|
|
|
10683
11064
|
* @returns Connected control
|
|
10684
11065
|
*/
|
|
10685
11066
|
getControl(): sap.ui.core.Control;
|
|
11067
|
+
/**
|
|
11068
|
+
* Returns number of relevant conditions for this content
|
|
11069
|
+
*
|
|
11070
|
+
*
|
|
11071
|
+
* @returns Number of relevant conditions
|
|
11072
|
+
*/
|
|
11073
|
+
getCount(
|
|
11074
|
+
/**
|
|
11075
|
+
* Array of conditions
|
|
11076
|
+
*/
|
|
11077
|
+
aConditions: sap.ui.mdc.condition.ConditionObject[]
|
|
11078
|
+
): number;
|
|
11079
|
+
/**
|
|
11080
|
+
* Determines the item (key and description) for a given value.
|
|
11081
|
+
*
|
|
11082
|
+
* The content checks if there is an item with a key or description that fits this value.
|
|
11083
|
+
*
|
|
11084
|
+
* **Note:** This function must only be called by the `Container` element.
|
|
11085
|
+
*
|
|
11086
|
+
*
|
|
11087
|
+
* @returns Promise returning object containing description, key and payload.
|
|
11088
|
+
*/
|
|
11089
|
+
getItemForValue(
|
|
11090
|
+
/**
|
|
11091
|
+
* Configuration
|
|
11092
|
+
*/
|
|
11093
|
+
oConfig: sap.ui.mdc.valuehelp.base.ItemForValueConfiguration
|
|
11094
|
+
): Promise<sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
10686
11095
|
/**
|
|
10687
11096
|
* Returns the maximum allowed number of conditions, -1 if no limit is set.
|
|
10688
11097
|
*
|
|
@@ -10724,6 +11133,14 @@ declare namespace sap {
|
|
|
10724
11133
|
* @returns Value of property `tokenizerTitle`
|
|
10725
11134
|
*/
|
|
10726
11135
|
getTokenizerTitle(): string;
|
|
11136
|
+
/**
|
|
11137
|
+
* If the container is used for typeahead it might be wanted that the same content should also be shown
|
|
11138
|
+
* as valuehelp. If not, the field should not show a valuehelp icon.
|
|
11139
|
+
*
|
|
11140
|
+
*
|
|
11141
|
+
* @returns `true` if the typeahead content can be used as value help
|
|
11142
|
+
*/
|
|
11143
|
+
getUseAsValueHelp(): boolean;
|
|
10727
11144
|
/**
|
|
10728
11145
|
* Returns the used `ValueHelpDelegate`.
|
|
10729
11146
|
*
|
|
@@ -10789,6 +11206,13 @@ declare namespace sap {
|
|
|
10789
11206
|
* @returns `true` if opening
|
|
10790
11207
|
*/
|
|
10791
11208
|
isContainerOpening(): boolean;
|
|
11209
|
+
/**
|
|
11210
|
+
* Returns info if the given content is in multi select mode
|
|
11211
|
+
*
|
|
11212
|
+
*
|
|
11213
|
+
* @returns `true` if multi-selection is active.
|
|
11214
|
+
*/
|
|
11215
|
+
isMultiSelect(): boolean;
|
|
10792
11216
|
/**
|
|
10793
11217
|
* Returns if the value help is used for single selection.
|
|
10794
11218
|
*
|
|
@@ -10807,6 +11231,13 @@ declare namespace sap {
|
|
|
10807
11231
|
* @returns `true` if used as `typeahead`
|
|
10808
11232
|
*/
|
|
10809
11233
|
isTypeahead(): boolean;
|
|
11234
|
+
/**
|
|
11235
|
+
* Defines if the typeahead can be used for input validation.
|
|
11236
|
+
*
|
|
11237
|
+
*
|
|
11238
|
+
* @returns True if the typeahead container can be used for input validation
|
|
11239
|
+
*/
|
|
11240
|
+
isValidationSupported(): boolean;
|
|
10810
11241
|
/**
|
|
10811
11242
|
* Determines if delegate of the value help has been initialized.
|
|
10812
11243
|
*
|
|
@@ -10815,6 +11246,15 @@ declare namespace sap {
|
|
|
10815
11246
|
* @returns `true` if delegate has been initialized
|
|
10816
11247
|
*/
|
|
10817
11248
|
isValueHelpDelegateInitialized(): boolean;
|
|
11249
|
+
/**
|
|
11250
|
+
* Navigates the typeaheads values (optional)
|
|
11251
|
+
*/
|
|
11252
|
+
navigate(
|
|
11253
|
+
/**
|
|
11254
|
+
* Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
11255
|
+
*/
|
|
11256
|
+
iStep: int
|
|
11257
|
+
): void;
|
|
10818
11258
|
/**
|
|
10819
11259
|
* Observes property and aggregation changes.
|
|
10820
11260
|
*
|
|
@@ -10854,6 +11294,11 @@ declare namespace sap {
|
|
|
10854
11294
|
* @returns `true` if a scrolling mechanism is needed
|
|
10855
11295
|
*/
|
|
10856
11296
|
provideScrolling(): boolean;
|
|
11297
|
+
/**
|
|
11298
|
+
* The focus visualization of the field help needs to be removed as the user starts typing into the source
|
|
11299
|
+
* control.
|
|
11300
|
+
*/
|
|
11301
|
+
removeVisualFocus(): void;
|
|
10857
11302
|
/**
|
|
10858
11303
|
* Sets a new value for property {@link #getShortTitle shortTitle}.
|
|
10859
11304
|
*
|
|
@@ -10926,6 +11371,28 @@ declare namespace sap {
|
|
|
10926
11371
|
*/
|
|
10927
11372
|
bVisible?: boolean
|
|
10928
11373
|
): this;
|
|
11374
|
+
/**
|
|
11375
|
+
* The focus visualization of the field help needs to be set as the user starts naigation into the value
|
|
11376
|
+
* help items.
|
|
11377
|
+
*
|
|
11378
|
+
* @since 1.127.0
|
|
11379
|
+
*/
|
|
11380
|
+
setVisualFocus(): void;
|
|
11381
|
+
/**
|
|
11382
|
+
* Defines if the typeahead content desires opening the typeahead whenever a user clicks on a connected
|
|
11383
|
+
* control
|
|
11384
|
+
*
|
|
11385
|
+
*
|
|
11386
|
+
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
11387
|
+
*/
|
|
11388
|
+
shouldOpenOnClick(): boolean;
|
|
11389
|
+
/**
|
|
11390
|
+
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
11391
|
+
*
|
|
11392
|
+
*
|
|
11393
|
+
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
11394
|
+
*/
|
|
11395
|
+
shouldOpenOnNavigate(): boolean;
|
|
10929
11396
|
}
|
|
10930
11397
|
/**
|
|
10931
11398
|
* Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
@@ -11325,7 +11792,8 @@ declare namespace sap {
|
|
|
11325
11792
|
*/
|
|
11326
11793
|
getCaseSensitive(): boolean;
|
|
11327
11794
|
/**
|
|
11328
|
-
* Gets current descriptionPath of the content.
|
|
11795
|
+
* Gets current descriptionPath of the content.
|
|
11796
|
+
* **Note:** Every listcontent must implement this method.
|
|
11329
11797
|
*
|
|
11330
11798
|
*
|
|
11331
11799
|
* @returns Content description path
|
|
@@ -11349,14 +11817,16 @@ declare namespace sap {
|
|
|
11349
11817
|
oOptions?: object
|
|
11350
11818
|
): object;
|
|
11351
11819
|
/**
|
|
11352
|
-
* Gets current keyPath of the content.
|
|
11820
|
+
* Gets current keyPath of the content.
|
|
11821
|
+
* **Note:** Every listcontent must implement this method.
|
|
11353
11822
|
*
|
|
11354
11823
|
*
|
|
11355
11824
|
* @returns Content key path
|
|
11356
11825
|
*/
|
|
11357
11826
|
getKeyPath(): string;
|
|
11358
11827
|
/**
|
|
11359
|
-
* Gets the `ListBinding` of the content.
|
|
11828
|
+
* Gets the `ListBinding` of the content.
|
|
11829
|
+
* **Note:** Every listcontent must implement this method.
|
|
11360
11830
|
*
|
|
11361
11831
|
*
|
|
11362
11832
|
* @returns `ListBinding`
|
|
@@ -11853,7 +12323,14 @@ declare namespace sap {
|
|
|
11853
12323
|
*
|
|
11854
12324
|
* @since 1.95.0
|
|
11855
12325
|
*/
|
|
11856
|
-
class Conditions
|
|
12326
|
+
class Conditions
|
|
12327
|
+
extends sap.ui.mdc.valuehelp.base.Content
|
|
12328
|
+
implements
|
|
12329
|
+
sap.ui.mdc.valuehelp.base.ITypeaheadContent,
|
|
12330
|
+
sap.ui.mdc.valuehelp.base.IDialogContent
|
|
12331
|
+
{
|
|
12332
|
+
__implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
|
|
12333
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
|
|
11857
12334
|
/**
|
|
11858
12335
|
* Constructor for a new `Conditions` content.
|
|
11859
12336
|
*
|
|
@@ -11990,7 +12467,14 @@ declare namespace sap {
|
|
|
11990
12467
|
*
|
|
11991
12468
|
* @since 1.95.0
|
|
11992
12469
|
*/
|
|
11993
|
-
class FixedList
|
|
12470
|
+
class FixedList
|
|
12471
|
+
extends sap.ui.mdc.valuehelp.base.ListContent
|
|
12472
|
+
implements
|
|
12473
|
+
sap.ui.mdc.valuehelp.base.ITypeaheadContent,
|
|
12474
|
+
sap.ui.mdc.valuehelp.base.IDialogContent
|
|
12475
|
+
{
|
|
12476
|
+
__implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
|
|
12477
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
|
|
11994
12478
|
/**
|
|
11995
12479
|
* Constructor for a new `FixedList` content.
|
|
11996
12480
|
*
|
|
@@ -12337,8 +12821,11 @@ declare namespace sap {
|
|
|
12337
12821
|
*
|
|
12338
12822
|
* @since 1.95.0
|
|
12339
12823
|
*/
|
|
12340
|
-
class MDCTable
|
|
12341
|
-
.FilterableListContent
|
|
12824
|
+
class MDCTable
|
|
12825
|
+
extends sap.ui.mdc.valuehelp.base.FilterableListContent
|
|
12826
|
+
implements /* was: sap.ui.mdc.valuehelp.IDialogContent */ Object
|
|
12827
|
+
{
|
|
12828
|
+
__implements__sap_ui_mdc_valuehelp_IDialogContent: boolean;
|
|
12342
12829
|
/**
|
|
12343
12830
|
* Constructor for a new `MDCTable` content.
|
|
12344
12831
|
*
|
|
@@ -12474,7 +12961,14 @@ declare namespace sap {
|
|
|
12474
12961
|
*
|
|
12475
12962
|
* @since 1.95.0
|
|
12476
12963
|
*/
|
|
12477
|
-
class MTable
|
|
12964
|
+
class MTable
|
|
12965
|
+
extends sap.ui.mdc.valuehelp.base.FilterableListContent
|
|
12966
|
+
implements
|
|
12967
|
+
sap.ui.mdc.valuehelp.base.ITypeaheadContent,
|
|
12968
|
+
sap.ui.mdc.valuehelp.base.IDialogContent
|
|
12969
|
+
{
|
|
12970
|
+
__implements__sap_ui_mdc_valuehelp_base_ITypeaheadContent: boolean;
|
|
12971
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContent: boolean;
|
|
12478
12972
|
/**
|
|
12479
12973
|
* Constructor for a new `MTable` content.
|
|
12480
12974
|
*
|
|
@@ -12799,8 +13293,11 @@ declare namespace sap {
|
|
|
12799
13293
|
*/
|
|
12800
13294
|
class Dialog
|
|
12801
13295
|
extends sap.ui.mdc.valuehelp.base.Container
|
|
12802
|
-
implements
|
|
13296
|
+
implements
|
|
13297
|
+
sap.ui.mdc.valuehelp.base.IDialogContainer,
|
|
13298
|
+
sap.ui.core.PopupInterface
|
|
12803
13299
|
{
|
|
13300
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContainer: boolean;
|
|
12804
13301
|
__implements__sap_ui_core_PopupInterface: boolean;
|
|
12805
13302
|
/**
|
|
12806
13303
|
* Constructor for a new `Dialog` container.
|
|
@@ -13121,8 +13618,13 @@ declare namespace sap {
|
|
|
13121
13618
|
*/
|
|
13122
13619
|
class Popover
|
|
13123
13620
|
extends sap.ui.mdc.valuehelp.base.Container
|
|
13124
|
-
implements
|
|
13621
|
+
implements
|
|
13622
|
+
sap.ui.mdc.valuehelp.base.ITypeaheadContainer,
|
|
13623
|
+
sap.ui.mdc.valuehelp.base.IDialogContainer,
|
|
13624
|
+
sap.ui.core.PopupInterface
|
|
13125
13625
|
{
|
|
13626
|
+
__implements__sap_ui_mdc_valuehelp_base_ITypeaheadContainer: boolean;
|
|
13627
|
+
__implements__sap_ui_mdc_valuehelp_base_IDialogContainer: boolean;
|
|
13126
13628
|
__implements__sap_ui_core_PopupInterface: boolean;
|
|
13127
13629
|
/**
|
|
13128
13630
|
* Constructor for a new `Popover` container.
|
|
@@ -18340,12 +18842,12 @@ declare namespace sap {
|
|
|
18340
18842
|
/**
|
|
18341
18843
|
* Container that is used and opened if the value help icon of the input field is pressed.
|
|
18342
18844
|
*/
|
|
18343
|
-
dialog?:
|
|
18845
|
+
dialog?: sap.ui.mdc.valuehelp.base.IDialogContainer;
|
|
18344
18846
|
|
|
18345
18847
|
/**
|
|
18346
18848
|
* Container that is used and opened in typeahead
|
|
18347
18849
|
*/
|
|
18348
|
-
typeahead?:
|
|
18850
|
+
typeahead?: sap.ui.mdc.valuehelp.base.ITypeaheadContainer;
|
|
18349
18851
|
|
|
18350
18852
|
/**
|
|
18351
18853
|
* This event is fired after the value help has been closed.
|
|
@@ -23580,13 +24082,13 @@ declare namespace sap {
|
|
|
23580
24082
|
*
|
|
23581
24083
|
* Container that is used and opened if the value help icon of the input field is pressed.
|
|
23582
24084
|
*/
|
|
23583
|
-
getDialog():
|
|
24085
|
+
getDialog(): sap.ui.mdc.valuehelp.base.IDialogContainer;
|
|
23584
24086
|
/**
|
|
23585
24087
|
* Gets content of aggregation {@link #getTypeahead typeahead}.
|
|
23586
24088
|
*
|
|
23587
24089
|
* Container that is used and opened in typeahead
|
|
23588
24090
|
*/
|
|
23589
|
-
getTypeahead():
|
|
24091
|
+
getTypeahead(): sap.ui.mdc.valuehelp.base.ITypeaheadContainer;
|
|
23590
24092
|
/**
|
|
23591
24093
|
* Gets current value of property {@link #getValidateInput validateInput}.
|
|
23592
24094
|
*
|
|
@@ -23647,7 +24149,7 @@ declare namespace sap {
|
|
|
23647
24149
|
/**
|
|
23648
24150
|
* The dialog to set
|
|
23649
24151
|
*/
|
|
23650
|
-
oDialog:
|
|
24152
|
+
oDialog: sap.ui.mdc.valuehelp.base.IDialogContainer
|
|
23651
24153
|
): this;
|
|
23652
24154
|
/**
|
|
23653
24155
|
* Sets the aggregated {@link #getTypeahead typeahead}.
|
|
@@ -23659,7 +24161,7 @@ declare namespace sap {
|
|
|
23659
24161
|
/**
|
|
23660
24162
|
* The typeahead to set
|
|
23661
24163
|
*/
|
|
23662
|
-
oTypeahead:
|
|
24164
|
+
oTypeahead: sap.ui.mdc.valuehelp.base.ITypeaheadContainer
|
|
23663
24165
|
): this;
|
|
23664
24166
|
/**
|
|
23665
24167
|
* Sets a new value for property {@link #getValidateInput validateInput}.
|
|
@@ -24116,6 +24618,8 @@ declare namespace sap {
|
|
|
24116
24618
|
|
|
24117
24619
|
"sap/ui/mdc/util/DateUtil": undefined;
|
|
24118
24620
|
|
|
24621
|
+
"sap/ui/mdc/util/DensityHelper": undefined;
|
|
24622
|
+
|
|
24119
24623
|
"sap/ui/mdc/util/FilterUtil": undefined;
|
|
24120
24624
|
|
|
24121
24625
|
"sap/ui/mdc/util/InfoBar": undefined;
|