@openui5/types 1.126.1 → 1.128.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.f.d.ts +1414 -240
- package/types/sap.m.d.ts +638 -63
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +26 -14
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +204 -43
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +12 -4
- package/types/sap.ui.integration.d.ts +99 -5
- package/types/sap.ui.layout.d.ts +40 -11
- package/types/sap.ui.mdc.d.ts +508 -210
- package/types/sap.ui.rta.d.ts +4 -2
- 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 +110 -28
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1050 -142
- package/types/sap.ui.ux3.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.uxap.d.ts +44 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.128.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -235,6 +235,11 @@ declare module "sap/ui/mdc/ChartDelegate" {
|
|
|
235
235
|
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
236
236
|
* Any changes of the returned values might result in undesired effects.
|
|
237
237
|
*
|
|
238
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Chart#setPropertyInfo`) must not be removed and their
|
|
239
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/ChartDelegate.fetchProperties fetchProperties }
|
|
240
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
241
|
+
* as the opening of any personalization dialog) are activated.
|
|
242
|
+
*
|
|
238
243
|
*
|
|
239
244
|
* @returns Array of the property infos that is used within the chart
|
|
240
245
|
*/
|
|
@@ -743,8 +748,11 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
743
748
|
|
|
744
749
|
import ContentMode from "sap/ui/mdc/enums/ContentMode";
|
|
745
750
|
|
|
751
|
+
import UI5Element from "sap/ui/core/Element";
|
|
752
|
+
|
|
746
753
|
import {
|
|
747
754
|
default as ValueHelp,
|
|
755
|
+
ValueHelpItem,
|
|
748
756
|
ItemForValueConfiguration,
|
|
749
757
|
} from "sap/ui/mdc/ValueHelp";
|
|
750
758
|
|
|
@@ -871,7 +879,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
871
879
|
* @since 1.124.0
|
|
872
880
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
873
881
|
*
|
|
874
|
-
* @returns Array containing the created controls
|
|
882
|
+
* @returns Array containing the created controls and the default value help, if needed
|
|
875
883
|
*/
|
|
876
884
|
createContent(
|
|
877
885
|
/**
|
|
@@ -885,8 +893,12 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
885
893
|
/**
|
|
886
894
|
* ID of the internal control to be created.
|
|
887
895
|
*/
|
|
888
|
-
sId: string
|
|
889
|
-
|
|
896
|
+
sId: string,
|
|
897
|
+
/**
|
|
898
|
+
* If set, a default value help should be provided.
|
|
899
|
+
*/
|
|
900
|
+
bProvideDefaultValueHelp: boolean
|
|
901
|
+
): Promise<UI5Element[]>;
|
|
890
902
|
/**
|
|
891
903
|
* Determines the text for the autocomplete functionality.
|
|
892
904
|
*
|
|
@@ -962,7 +974,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
962
974
|
*/
|
|
963
975
|
oField: FieldBase,
|
|
964
976
|
/**
|
|
965
|
-
*
|
|
977
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
966
978
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
967
979
|
*/
|
|
968
980
|
oValueHelp: ValueHelp,
|
|
@@ -984,13 +996,13 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
984
996
|
*/
|
|
985
997
|
oBindingContext: Context,
|
|
986
998
|
/**
|
|
987
|
-
*
|
|
999
|
+
* NO LONGER USED
|
|
988
1000
|
*/
|
|
989
|
-
|
|
1001
|
+
oDoNotUse: undefined,
|
|
990
1002
|
/**
|
|
991
|
-
*
|
|
1003
|
+
* NO LONGER USED
|
|
992
1004
|
*/
|
|
993
|
-
|
|
1005
|
+
sDoNotUse: undefined,
|
|
994
1006
|
/**
|
|
995
1007
|
* Additional context information for this key
|
|
996
1008
|
*/
|
|
@@ -1003,10 +1015,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1003
1015
|
* Type of the value
|
|
1004
1016
|
*/
|
|
1005
1017
|
oType: Type
|
|
1006
|
-
):
|
|
1007
|
-
| string
|
|
1008
|
-
| /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any
|
|
1009
|
-
| Promise<string | /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any>;
|
|
1018
|
+
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1010
1019
|
/**
|
|
1011
1020
|
* Determines the description for a given key.
|
|
1012
1021
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -1033,7 +1042,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1033
1042
|
*/
|
|
1034
1043
|
oField: FieldBase,
|
|
1035
1044
|
/**
|
|
1036
|
-
*
|
|
1045
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
1037
1046
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
1038
1047
|
*/
|
|
1039
1048
|
oValueHelp: ValueHelp,
|
|
@@ -1055,9 +1064,9 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1055
1064
|
*/
|
|
1056
1065
|
oBindingContext: Context,
|
|
1057
1066
|
/**
|
|
1058
|
-
*
|
|
1067
|
+
* NO LONGER USED
|
|
1059
1068
|
*/
|
|
1060
|
-
|
|
1069
|
+
oDoNotUse: undefined,
|
|
1061
1070
|
/**
|
|
1062
1071
|
* Additional context information for this key
|
|
1063
1072
|
*/
|
|
@@ -1070,10 +1079,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1070
1079
|
* Type of the value
|
|
1071
1080
|
*/
|
|
1072
1081
|
oType: Type
|
|
1073
|
-
):
|
|
1074
|
-
| string
|
|
1075
|
-
| /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any
|
|
1076
|
-
| Promise<string | /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any>;
|
|
1082
|
+
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1077
1083
|
/**
|
|
1078
1084
|
* Determines the description for a given key.
|
|
1079
1085
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -1100,7 +1106,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1100
1106
|
*/
|
|
1101
1107
|
oField: FieldBase,
|
|
1102
1108
|
/**
|
|
1103
|
-
*
|
|
1109
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
1104
1110
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
1105
1111
|
*/
|
|
1106
1112
|
oValueHelp: ValueHelp,
|
|
@@ -1122,9 +1128,9 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1122
1128
|
*/
|
|
1123
1129
|
oBindingContext: Context,
|
|
1124
1130
|
/**
|
|
1125
|
-
*
|
|
1131
|
+
* NO LONGER USED
|
|
1126
1132
|
*/
|
|
1127
|
-
|
|
1133
|
+
sDoNotUse: undefined,
|
|
1128
1134
|
/**
|
|
1129
1135
|
* Additional context information for this key
|
|
1130
1136
|
*/
|
|
@@ -1137,10 +1143,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1137
1143
|
* Type of the value
|
|
1138
1144
|
*/
|
|
1139
1145
|
oType: Type
|
|
1140
|
-
):
|
|
1141
|
-
| string
|
|
1142
|
-
| /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any
|
|
1143
|
-
| Promise<string | /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any>;
|
|
1146
|
+
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1144
1147
|
/**
|
|
1145
1148
|
* Determines the description for a given key.
|
|
1146
1149
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -1167,7 +1170,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1167
1170
|
*/
|
|
1168
1171
|
oField: FieldBase,
|
|
1169
1172
|
/**
|
|
1170
|
-
*
|
|
1173
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
1171
1174
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
1172
1175
|
*/
|
|
1173
1176
|
oValueHelp: ValueHelp,
|
|
@@ -1200,10 +1203,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1200
1203
|
* Type of the value
|
|
1201
1204
|
*/
|
|
1202
1205
|
oType: Type
|
|
1203
|
-
):
|
|
1204
|
-
| string
|
|
1205
|
-
| /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any
|
|
1206
|
-
| Promise<string | /* was: sap.ui.mdc.valuehelp.ValueHelpItem */ any>;
|
|
1206
|
+
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Determines the key, description, and payload of a user input.
|
|
1209
1209
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -1224,7 +1224,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1224
1224
|
*/
|
|
1225
1225
|
oField: FieldBase,
|
|
1226
1226
|
/**
|
|
1227
|
-
*
|
|
1227
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
1228
1228
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
1229
1229
|
*/
|
|
1230
1230
|
oValueHelp: ValueHelp,
|
|
@@ -1232,9 +1232,37 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1232
1232
|
* Configuration
|
|
1233
1233
|
*/
|
|
1234
1234
|
oConfig?: ItemForValueConfiguration
|
|
1235
|
-
):
|
|
1236
|
-
|
|
1237
|
-
|
|
1235
|
+
): ValueHelpItem | Promise<ValueHelpItem>;
|
|
1236
|
+
/**
|
|
1237
|
+
* Returns the index of a condition in an array of conditions.
|
|
1238
|
+
*
|
|
1239
|
+
* This function is called when a `Condition` is created by user input or value help selection to determine
|
|
1240
|
+
* if a similar `Condition` already exists. This is done to prevent duplicates.
|
|
1241
|
+
*
|
|
1242
|
+
* By default, if a `ValueHelp` exists, the `ValueHelp` logic is used to compare each condition. (See {@link module:sap/ui/mdc/ValueHelpDelegate.compareConditions ValueHelpDelegate.compareConditions})
|
|
1243
|
+
*
|
|
1244
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1245
|
+
*
|
|
1246
|
+
* @returns Index of the condition, -1 if not found
|
|
1247
|
+
*/
|
|
1248
|
+
indexOfCondition(
|
|
1249
|
+
/**
|
|
1250
|
+
* `Field` control instance
|
|
1251
|
+
*/
|
|
1252
|
+
oField: FieldBase,
|
|
1253
|
+
/**
|
|
1254
|
+
* Value help assigned to the `Field` or `FilterField` control
|
|
1255
|
+
*/
|
|
1256
|
+
oValueHelp: ValueHelp,
|
|
1257
|
+
/**
|
|
1258
|
+
* Condition to check
|
|
1259
|
+
*/
|
|
1260
|
+
oCondition: ConditionObject,
|
|
1261
|
+
/**
|
|
1262
|
+
* Array of conditions
|
|
1263
|
+
*/
|
|
1264
|
+
aConditions: ConditionObject[]
|
|
1265
|
+
): int;
|
|
1238
1266
|
/**
|
|
1239
1267
|
* Checks if entered text matches text found from value help
|
|
1240
1268
|
*
|
|
@@ -1464,6 +1492,11 @@ declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
|
1464
1492
|
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
1465
1493
|
* Any changes of the returned values might result in undesired effects.
|
|
1466
1494
|
*
|
|
1495
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.filterbar.FilterBarBase#setPropertyInfo`) must not
|
|
1496
|
+
* be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/FilterBarDelegate.fetchProperties fetchProperties }
|
|
1497
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
1498
|
+
* as the opening of any personalization dialog) are activated.
|
|
1499
|
+
*
|
|
1467
1500
|
*
|
|
1468
1501
|
* @returns `Promise` that resolves into an array of property info objects
|
|
1469
1502
|
*/
|
|
@@ -1611,11 +1644,7 @@ declare module "sap/ui/mdc/LinkDelegate" {
|
|
|
1611
1644
|
/**
|
|
1612
1645
|
* Binding context of the `Link` control
|
|
1613
1646
|
*/
|
|
1614
|
-
oBindingContext: Context | null | undefined
|
|
1615
|
-
/**
|
|
1616
|
-
* InfoLog of the `Link` control
|
|
1617
|
-
*/
|
|
1618
|
-
oInfoLog: /* was: sap.ui.mdc.link.Log */ any
|
|
1647
|
+
oBindingContext: Context | null | undefined
|
|
1619
1648
|
): Promise<null | LinkItem[]>;
|
|
1620
1649
|
/**
|
|
1621
1650
|
* Calculates and returns the type of link that is displayed.
|
|
@@ -1824,9 +1853,9 @@ declare module "sap/ui/mdc/odata/v4/TableDelegate" {
|
|
|
1824
1853
|
*/
|
|
1825
1854
|
getInResultPropertyKeys(
|
|
1826
1855
|
/**
|
|
1827
|
-
* of the table
|
|
1856
|
+
* Instance of the table
|
|
1828
1857
|
*/
|
|
1829
|
-
|
|
1858
|
+
oTable: Table
|
|
1830
1859
|
): string[];
|
|
1831
1860
|
/**
|
|
1832
1861
|
* Updates the binding of the table with the binding info object returned from {@link module:sap/ui/mdc/TableDelegate.updateBindingInfo updateBindingInfo}.
|
|
@@ -2029,6 +2058,11 @@ declare module "sap/ui/mdc/TableDelegate" {
|
|
|
2029
2058
|
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
2030
2059
|
* Any changes of the returned values might result in undesired effects.
|
|
2031
2060
|
*
|
|
2061
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`) must not be removed and their
|
|
2062
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
2063
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
2064
|
+
* as the opening of any personalization dialog) are activated.
|
|
2065
|
+
*
|
|
2032
2066
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2033
2067
|
*
|
|
2034
2068
|
* @returns A `Promise` that resolves with the property information
|
|
@@ -2456,6 +2490,8 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2456
2490
|
|
|
2457
2491
|
import Content from "sap/ui/mdc/valuehelp/base/Content";
|
|
2458
2492
|
|
|
2493
|
+
import ValueHelpSelectionType from "sap/ui/mdc/enums/ValueHelpSelectionType";
|
|
2494
|
+
|
|
2459
2495
|
import ValueHelpPropagationReason from "sap/ui/mdc/enums/ValueHelpPropagationReason";
|
|
2460
2496
|
|
|
2461
2497
|
import Container from "sap/ui/mdc/valuehelp/base/Container";
|
|
@@ -2620,8 +2656,9 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2620
2656
|
/**
|
|
2621
2657
|
* Returns filters that are used when updating the binding of the `ValueHelp`.
|
|
2622
2658
|
* By default, this method returns a set of {@link sap.ui.model.Filter Filters} originating from an available
|
|
2623
|
-
* {@link sap.ui.mdc.FilterBar FilterBar}, the delegate's own {@link
|
|
2624
|
-
*
|
|
2659
|
+
* {@link sap.ui.mdc.FilterBar FilterBar}, the delegate's own {@link module:sap/ui/mdc/ValueHelpDelegate.getFilterConditions getFilterConditions},
|
|
2660
|
+
* and/or the {@link sap.ui.mdc.valuehelp.base.FilterableListContent#getFilterFields filterFields} configuration
|
|
2661
|
+
* of the given {@link sap.ui.mdc.valuehelp.base.FilterableListContent FilterableListContent}.
|
|
2625
2662
|
*
|
|
2626
2663
|
* @since 1.121
|
|
2627
2664
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -2645,14 +2682,15 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2645
2682
|
* By default, this method searches and returns an entry from a set of relevant contexts of the given {@link sap.ui.mdc.valuehelp.base.ListContent ListContent}.
|
|
2646
2683
|
*
|
|
2647
2684
|
* To determine which columns are relevant for the search, the currently active displayMode {@link sap.ui.mdc.enums.FieldDisplay Display }
|
|
2648
|
-
* of the connected control will be used. While a
|
|
2649
|
-
*
|
|
2685
|
+
* of the connected control will be used. While a `Value` configuration will lead to a 'key'-only search,
|
|
2686
|
+
* `DescriptionValue` leads to searching the description first and the key afterwards. Other modes work
|
|
2687
|
+
* the same way.
|
|
2650
2688
|
*
|
|
2651
2689
|
* For each relevant column all items are searched for an exact match first and again with a startsWith
|
|
2652
2690
|
* filter afterwards, if necessary.
|
|
2653
2691
|
*
|
|
2654
|
-
* If the caseSensitive property is disabled,
|
|
2655
|
-
*
|
|
2692
|
+
* If the `caseSensitive` property is disabled, whichever entry comes first, wins, whether the user's input
|
|
2693
|
+
* is in lowercase or uppercase letters.
|
|
2656
2694
|
*
|
|
2657
2695
|
* {@link sap.ui.mdc.valuehelp.base.ListContent ListContent}
|
|
2658
2696
|
*
|
|
@@ -2732,9 +2770,9 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2732
2770
|
): boolean;
|
|
2733
2771
|
/**
|
|
2734
2772
|
* Determines is the filtering used for type-ahead is case sensitive.
|
|
2735
|
-
* By default the value of the {@link sap.ui.mdc.base.ListContent#getCaseSensitive CaseSensitive}
|
|
2736
|
-
* of the content instance is returned. If `$search` or other methods are used this might depend
|
|
2737
|
-
* backend logic.
|
|
2773
|
+
* By default the value of the {@link sap.ui.mdc.valuehelp.base.ListContent#getCaseSensitive CaseSensitive }
|
|
2774
|
+
* property of the content instance is returned. If `$search` or other methods are used this might depend
|
|
2775
|
+
* on the backend logic.
|
|
2738
2776
|
*
|
|
2739
2777
|
* @since 1.121.0
|
|
2740
2778
|
*
|
|
@@ -2778,7 +2816,7 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2778
2816
|
*
|
|
2779
2817
|
* @since 1.101.0
|
|
2780
2818
|
*
|
|
2781
|
-
* @returns
|
|
2819
|
+
* @returns oResult Selection event configuration object
|
|
2782
2820
|
*/
|
|
2783
2821
|
modifySelectionBehaviour(
|
|
2784
2822
|
/**
|
|
@@ -2796,11 +2834,11 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2796
2834
|
/**
|
|
2797
2835
|
* Type of the selection change (add, remove)
|
|
2798
2836
|
*/
|
|
2799
|
-
type:
|
|
2837
|
+
type: ValueHelpSelectionType | keyof typeof ValueHelpSelectionType;
|
|
2800
2838
|
/**
|
|
2801
|
-
* Array of changed conditions
|
|
2839
|
+
* Array of changed conditions
|
|
2802
2840
|
*/
|
|
2803
|
-
conditions:
|
|
2841
|
+
conditions: ConditionObject[];
|
|
2804
2842
|
}
|
|
2805
2843
|
): object;
|
|
2806
2844
|
/**
|
|
@@ -3404,7 +3442,7 @@ declare module "sap/ui/mdc/Chart" {
|
|
|
3404
3442
|
|
|
3405
3443
|
/**
|
|
3406
3444
|
* The `Chart` control creates a chart based on metadata and the configuration specified.
|
|
3407
|
-
* **Note:** The inner chart needs to be
|
|
3445
|
+
* **Note:** The inner chart needs to be created inside the `ChartDelegate`.
|
|
3408
3446
|
*
|
|
3409
3447
|
* @since 1.88
|
|
3410
3448
|
* @experimental (since 1.88)
|
|
@@ -4278,6 +4316,10 @@ declare module "sap/ui/mdc/Chart" {
|
|
|
4278
4316
|
* on a selectionDetails popover
|
|
4279
4317
|
*/
|
|
4280
4318
|
unitPath?: object;
|
|
4319
|
+
/**
|
|
4320
|
+
* The `timeUnitType` type for a `TimeDimension`. If set, a `TimeDimension` is created instead of a `Dimension`
|
|
4321
|
+
*/
|
|
4322
|
+
timeUnitType?: string;
|
|
4281
4323
|
};
|
|
4282
4324
|
|
|
4283
4325
|
/**
|
|
@@ -4413,7 +4455,10 @@ declare module "sap/ui/mdc/Chart" {
|
|
|
4413
4455
|
* Specifies the chart metadata.
|
|
4414
4456
|
* **Note:** This property must not be bound.
|
|
4415
4457
|
* **Note:** This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
4416
|
-
*
|
|
4458
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Chart#setPropertyInfo`) must not be removed and their
|
|
4459
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/ChartDelegate.fetchProperties fetchProperties }
|
|
4460
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
4461
|
+
* as the opening of any personalization dialog) are activated.
|
|
4417
4462
|
*
|
|
4418
4463
|
* **Note**: For more information about the supported inner elements, see {@link sap.ui.mdc.chart.PropertyInfo PropertyInfo}.
|
|
4419
4464
|
*
|
|
@@ -5492,8 +5537,7 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5492
5537
|
import ConditionValidated from "sap/ui/mdc/enums/ConditionValidated";
|
|
5493
5538
|
|
|
5494
5539
|
/**
|
|
5495
|
-
* Utilities to create conditions to be used in {@link sap.ui.mdc.FilterField FilterField}
|
|
5496
|
-
* or {@link sap.ui.mdc.condition.ConditionModel ConditionModel}.
|
|
5540
|
+
* Utilities to create conditions to be used in {@link sap.ui.mdc.FilterField FilterField} or {@link sap.ui.mdc.FilterBar FilterBar}.
|
|
5497
5541
|
*
|
|
5498
5542
|
* @since 1.61.0
|
|
5499
5543
|
*/
|
|
@@ -5522,7 +5566,7 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5522
5566
|
*/
|
|
5523
5567
|
oOutParameters: object,
|
|
5524
5568
|
/**
|
|
5525
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
5569
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
5526
5570
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
5527
5571
|
*/
|
|
5528
5572
|
sValidated: ConditionValidated | keyof typeof ConditionValidated,
|
|
@@ -5551,7 +5595,7 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5551
5595
|
*/
|
|
5552
5596
|
oInParameters: object,
|
|
5553
5597
|
/**
|
|
5554
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
5598
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
5555
5599
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
5556
5600
|
*/
|
|
5557
5601
|
sValidated: ConditionValidated | keyof typeof ConditionValidated,
|
|
@@ -5580,7 +5624,7 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5580
5624
|
*/
|
|
5581
5625
|
oOutParameters: object,
|
|
5582
5626
|
/**
|
|
5583
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
5627
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
5584
5628
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
5585
5629
|
*/
|
|
5586
5630
|
sValidated: ConditionValidated | keyof typeof ConditionValidated,
|
|
@@ -5605,7 +5649,7 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5605
5649
|
*/
|
|
5606
5650
|
aValues: any[],
|
|
5607
5651
|
/**
|
|
5608
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
5652
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
5609
5653
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
5610
5654
|
*/
|
|
5611
5655
|
sValidated: ConditionValidated | keyof typeof ConditionValidated,
|
|
@@ -5625,9 +5669,9 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5625
5669
|
*/
|
|
5626
5670
|
createItemCondition(
|
|
5627
5671
|
/**
|
|
5628
|
-
*
|
|
5672
|
+
* Key value for the condition
|
|
5629
5673
|
*/
|
|
5630
|
-
|
|
5674
|
+
vKey: any,
|
|
5631
5675
|
/**
|
|
5632
5676
|
* Description of the operator
|
|
5633
5677
|
*/
|
|
@@ -5659,7 +5703,7 @@ declare module "sap/ui/mdc/condition/Condition" {
|
|
|
5659
5703
|
operator: string;
|
|
5660
5704
|
/**
|
|
5661
5705
|
* Array of values of the condition. Depending on the `operator`, this contains one or more entries. The
|
|
5662
|
-
* entries are
|
|
5706
|
+
* entries are stored in an internal format regarding the used data type.
|
|
5663
5707
|
*/
|
|
5664
5708
|
values: any[];
|
|
5665
5709
|
/**
|
|
@@ -5811,15 +5855,15 @@ declare module "sap/ui/mdc/condition/FilterOperatorUtil" {
|
|
|
5811
5855
|
): void;
|
|
5812
5856
|
/**
|
|
5813
5857
|
* Removes all given operators from the list of known operators.
|
|
5858
|
+
*
|
|
5859
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
5860
|
+
* itself, or multiple operators inside an array.
|
|
5814
5861
|
*/
|
|
5815
5862
|
removeOperators(
|
|
5816
5863
|
/**
|
|
5817
5864
|
* Array of operators
|
|
5818
|
-
*
|
|
5819
|
-
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
5820
|
-
* itself, or multiple operators inside an array.
|
|
5821
5865
|
*/
|
|
5822
|
-
aOperators: Operator[]
|
|
5866
|
+
aOperators: Operator[] | Operator | string[]
|
|
5823
5867
|
): void;
|
|
5824
5868
|
/**
|
|
5825
5869
|
* Sets the default operator for the list of operators for a type.
|
|
@@ -5838,6 +5882,11 @@ declare module "sap/ui/mdc/condition/FilterOperatorUtil" {
|
|
|
5838
5882
|
): void;
|
|
5839
5883
|
/**
|
|
5840
5884
|
* Adds operators to the list of valid operators for a type.
|
|
5885
|
+
*
|
|
5886
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
5887
|
+
* itself, or multiple operators inside an array.
|
|
5888
|
+
*
|
|
5889
|
+
* **Note**: `vDefaultOperator` must exist as a valid operator for the type.
|
|
5841
5890
|
*/
|
|
5842
5891
|
setOperatorsForType(
|
|
5843
5892
|
/**
|
|
@@ -5847,13 +5896,9 @@ declare module "sap/ui/mdc/condition/FilterOperatorUtil" {
|
|
|
5847
5896
|
/**
|
|
5848
5897
|
* Operators
|
|
5849
5898
|
*/
|
|
5850
|
-
aOperators: Operator[],
|
|
5899
|
+
aOperators: Operator[] | Operator | string[],
|
|
5851
5900
|
/**
|
|
5852
5901
|
* The default operator instance or default operator name
|
|
5853
|
-
*
|
|
5854
|
-
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
5855
|
-
* itself, or multiple operators inside an array. **Note**: `vDefaultOperator` must exist as a valid operator
|
|
5856
|
-
* for the type.
|
|
5857
5902
|
*/
|
|
5858
5903
|
vDefaultOperator: Operator | string
|
|
5859
5904
|
): void;
|
|
@@ -5888,7 +5933,8 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
5888
5933
|
*/
|
|
5889
5934
|
name: string;
|
|
5890
5935
|
/**
|
|
5891
|
-
* Alias names based on
|
|
5936
|
+
* Alias names based on {@link sap.ui.mdc.enums.BaseType BaseType}, used to map to {@link sap.m.DynamicDateOption DynamicDateOption }
|
|
5937
|
+
* if {@link sap.m.DynamicDateRange DynamicDateRange} is used to visualize the filter
|
|
5892
5938
|
*/
|
|
5893
5939
|
alias?: object;
|
|
5894
5940
|
/**
|
|
@@ -5938,16 +5984,26 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
5938
5984
|
paramTypes?: string[];
|
|
5939
5985
|
/**
|
|
5940
5986
|
* String representation of the operator as a long text.
|
|
5941
|
-
*
|
|
5942
|
-
*
|
|
5987
|
+
* This text is shown in the operator dropdown of the value help.
|
|
5988
|
+
* If `longText` is not given , the `tokenText` is used, replacing the placeholders "{0}" and "{1}" with
|
|
5989
|
+
* "X" and "Y".
|
|
5943
5990
|
*/
|
|
5944
5991
|
longText?: string;
|
|
5945
5992
|
/**
|
|
5946
5993
|
* String representation of the operator as a short text.
|
|
5947
|
-
*
|
|
5948
|
-
*
|
|
5994
|
+
* This text is only needed if there any language dependent text should be shown on the token, like "Next
|
|
5995
|
+
* 5 days". (In this case `#tokenText#` is used in `tokenFormat`, `tokenTest`, or `tokenParse`.) For operators
|
|
5996
|
+
* just showing the value and a operator symbol, no token text is needed.
|
|
5997
|
+
* If the token text is not given, the `longText` is used.
|
|
5949
5998
|
*/
|
|
5950
5999
|
tokenText?: string;
|
|
6000
|
+
/**
|
|
6001
|
+
* Object holding String representation of the operator as a long text for single basic types.
|
|
6002
|
+
* This text is shown in the operator dropdown of the value help.
|
|
6003
|
+
* This is needed if the text depends on the used data type. For example the "less than" operator should
|
|
6004
|
+
* be named "before" if a date or time type is used.
|
|
6005
|
+
*/
|
|
6006
|
+
longTextForTypes?: object;
|
|
5951
6007
|
/**
|
|
5952
6008
|
* Pattern how different {@link sap.ui.mdc.enums.FieldDisplay displayFormats} are rendered
|
|
5953
6009
|
*/
|
|
@@ -5993,7 +6049,7 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
5993
6049
|
*/
|
|
5994
6050
|
exclude?: boolean;
|
|
5995
6051
|
/**
|
|
5996
|
-
* If set, the user input for this operator needs to be validated using a
|
|
6052
|
+
* If set, the user input for this operator needs to be validated using a value help
|
|
5997
6053
|
*/
|
|
5998
6054
|
validateInput?: boolean;
|
|
5999
6055
|
/**
|
|
@@ -6007,7 +6063,24 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
6007
6063
|
*/
|
|
6008
6064
|
group?: {
|
|
6009
6065
|
/**
|
|
6010
|
-
* Group ID for the operator.
|
|
6066
|
+
* Group ID for the operator. The following groups are available for the {@link sap.m.DynamicDateRange DynamicDateRange }
|
|
6067
|
+
* control:
|
|
6068
|
+
*
|
|
6069
|
+
* - 1 - Single Dates
|
|
6070
|
+
* - 2 - Date Ranges
|
|
6071
|
+
* - 3 - Weeks
|
|
6072
|
+
* - 4 - Months
|
|
6073
|
+
* - 5 - Quarters
|
|
6074
|
+
* - 6 - Years See {@link sap.m.DynamicDateRangeGroups DynamicDateRangeGroups}.
|
|
6075
|
+
* This only works for `FilterFields` with custom operators if `maxConditions=1` and no `valueHelp` is
|
|
6076
|
+
* assigned to the `FilterField`. Example:
|
|
6077
|
+
* group: undefined - if group is not specified; default behavior include/exclude group with id 1 and 2
|
|
6078
|
+
* will be created
|
|
6079
|
+
* group: {id : 1} - adds the operator to existing group 1 'Single Dates'
|
|
6080
|
+
* group: {id : 2, text: "new group"} - inserts a new group with id 2. Existing group 2 will be shifted
|
|
6081
|
+
* to 3, 4....
|
|
6082
|
+
* group: {id : 10, text: "new group at the end"} - adds a new group with id 10 and text "new group as
|
|
6083
|
+
* the end" to the end of all groups
|
|
6011
6084
|
*/
|
|
6012
6085
|
id: string;
|
|
6013
6086
|
/**
|
|
@@ -6016,24 +6089,7 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
6016
6089
|
text?: string;
|
|
6017
6090
|
};
|
|
6018
6091
|
/**
|
|
6019
|
-
* Function to determine the text copied into clipboard
|
|
6020
|
-
* control:
|
|
6021
|
-
*
|
|
6022
|
-
* - 1 - Single Dates
|
|
6023
|
-
* - 2 - Date Ranges
|
|
6024
|
-
* - 3 - Weeks
|
|
6025
|
-
* - 4 - Months
|
|
6026
|
-
* - 5 - Quarters
|
|
6027
|
-
* - 6 - Years See {@link sap.m.DynamicDateRangeGroups DynamicDateRangeGroups}.
|
|
6028
|
-
* This only works for `FilterFields` with custom operators if `maxConditions=1` and no `valueHelp` is
|
|
6029
|
-
* assigned to the `FilterField`. Example:
|
|
6030
|
-
* group: undefined - if group is not specified; default behavior include/exclude group with id 1 and 2
|
|
6031
|
-
* will be created
|
|
6032
|
-
* group: {id : 1} - adds the operator to existing group 1 'Single Dates'
|
|
6033
|
-
* group: {id : 2, text: "new group"} - inserts a new group with id 2. Existing group 2 will be shifted
|
|
6034
|
-
* to 3, 4....
|
|
6035
|
-
* group: {id : 10, text: "new group at the end"} - adds a new group with id 10 and text "new group as
|
|
6036
|
-
* the end" to the end of all groups
|
|
6092
|
+
* Function to determine the text copied into clipboard
|
|
6037
6093
|
*/
|
|
6038
6094
|
getTextForCopy?: Function;
|
|
6039
6095
|
}
|
|
@@ -6124,21 +6180,21 @@ declare module "sap/ui/mdc/condition/RangeOperator" {
|
|
|
6124
6180
|
export default class RangeOperator extends Operator {
|
|
6125
6181
|
constructor(
|
|
6126
6182
|
/**
|
|
6127
|
-
*
|
|
6183
|
+
* Includes all parameters of {@link sap.ui.mdc.condition.Operator Operator} and adds some special ones
|
|
6128
6184
|
*/
|
|
6129
6185
|
oConfiguration: {
|
|
6130
6186
|
/**
|
|
6131
|
-
*
|
|
6132
|
-
*
|
|
6187
|
+
* Additional array of labels for the values of the operator. Will be shown as placeholder text or label
|
|
6188
|
+
* of the value fields.
|
|
6133
6189
|
*/
|
|
6134
|
-
label?: string;
|
|
6190
|
+
label?: string[];
|
|
6135
6191
|
/**
|
|
6136
|
-
*
|
|
6192
|
+
* Function to calculate the date range of the operation. The function returns an array of `UniversalDates`.
|
|
6137
6193
|
* In case of a single `filterOperator` the array can return a single value.
|
|
6138
6194
|
*/
|
|
6139
6195
|
calcRange: Function;
|
|
6140
6196
|
/**
|
|
6141
|
-
*
|
|
6197
|
+
* Function to format the date range.
|
|
6142
6198
|
*/
|
|
6143
6199
|
formatRange?: Function;
|
|
6144
6200
|
/**
|
|
@@ -6775,7 +6831,41 @@ declare module "sap/ui/mdc/enums/ContentMode" {
|
|
|
6775
6831
|
*
|
|
6776
6832
|
* @since 1.115
|
|
6777
6833
|
*/
|
|
6778
|
-
enum ContentMode {
|
|
6834
|
+
enum ContentMode {
|
|
6835
|
+
/**
|
|
6836
|
+
* Display mode for single value
|
|
6837
|
+
*/
|
|
6838
|
+
Display = "Display",
|
|
6839
|
+
/**
|
|
6840
|
+
* Display mode for multiline single value
|
|
6841
|
+
*/
|
|
6842
|
+
DisplayMultiLine = "DisplayMultiLine",
|
|
6843
|
+
/**
|
|
6844
|
+
* Display mode for multiple values
|
|
6845
|
+
*/
|
|
6846
|
+
DisplayMultiValue = "DisplayMultiValue",
|
|
6847
|
+
/**
|
|
6848
|
+
* Edit mode for single value
|
|
6849
|
+
*/
|
|
6850
|
+
Edit = "Edit",
|
|
6851
|
+
/**
|
|
6852
|
+
* Edit mode for single value field if a field help is assigned To support field help, in some cases a different
|
|
6853
|
+
* control needs to be rendered.
|
|
6854
|
+
*/
|
|
6855
|
+
EditForHelp = "EditForHelp",
|
|
6856
|
+
/**
|
|
6857
|
+
* Edit mode for multiple lines single value
|
|
6858
|
+
*/
|
|
6859
|
+
EditMultiLine = "EditMultiLine",
|
|
6860
|
+
/**
|
|
6861
|
+
* Edit mode for multiple values
|
|
6862
|
+
*/
|
|
6863
|
+
EditMultiValue = "EditMultiValue",
|
|
6864
|
+
/**
|
|
6865
|
+
* Edit mode for operator dependent controls This is used for single value and only one operator.
|
|
6866
|
+
*/
|
|
6867
|
+
EditOperator = "EditOperator",
|
|
6868
|
+
}
|
|
6779
6869
|
export default ContentMode;
|
|
6780
6870
|
}
|
|
6781
6871
|
|
|
@@ -7493,17 +7583,17 @@ declare module "sap/ui/mdc/enums/OperatorName" {
|
|
|
7493
7583
|
|
|
7494
7584
|
declare module "sap/ui/mdc/enums/OperatorOverwrite" {
|
|
7495
7585
|
/**
|
|
7496
|
-
* Enumeration of the
|
|
7586
|
+
* Enumeration of the {@link sap.ui.mdc.condition.Operator#OperatorOverwrite OperatorOverwrite} in {@link sap.ui.mdc.condition.Operator Operator}.
|
|
7497
7587
|
*
|
|
7498
7588
|
* @since 1.115
|
|
7499
7589
|
*/
|
|
7500
7590
|
enum OperatorOverwrite {
|
|
7501
7591
|
/**
|
|
7502
|
-
*
|
|
7592
|
+
* Overwrites the `getLongText` function of the operator.
|
|
7503
7593
|
*/
|
|
7504
7594
|
getLongText = "getLongText",
|
|
7505
7595
|
/**
|
|
7506
|
-
*
|
|
7596
|
+
* Overwrites the `getModelFilter` function of the operator.
|
|
7507
7597
|
*/
|
|
7508
7598
|
getModelFilter = "getModelFilter",
|
|
7509
7599
|
}
|
|
@@ -7534,6 +7624,33 @@ declare module "sap/ui/mdc/enums/OperatorValueType" {
|
|
|
7534
7624
|
export default OperatorValueType;
|
|
7535
7625
|
}
|
|
7536
7626
|
|
|
7627
|
+
declare module "sap/ui/mdc/enums/ReasonMode" {
|
|
7628
|
+
/**
|
|
7629
|
+
* Enumeration of the possible reasons for the search event.
|
|
7630
|
+
*
|
|
7631
|
+
* @since 1.115
|
|
7632
|
+
*/
|
|
7633
|
+
enum ReasonMode {
|
|
7634
|
+
/**
|
|
7635
|
+
* Enter pressed in filter field.
|
|
7636
|
+
*/
|
|
7637
|
+
Enter = "Enter",
|
|
7638
|
+
/**
|
|
7639
|
+
* Go button pressed.
|
|
7640
|
+
*/
|
|
7641
|
+
Go = "Go",
|
|
7642
|
+
/**
|
|
7643
|
+
* Used if the mentioned reasons are not applicable.
|
|
7644
|
+
*/
|
|
7645
|
+
Unclear = "",
|
|
7646
|
+
/**
|
|
7647
|
+
* The applied variant is marked as Apply Automatically.
|
|
7648
|
+
*/
|
|
7649
|
+
Variant = "Variant",
|
|
7650
|
+
}
|
|
7651
|
+
export default ReasonMode;
|
|
7652
|
+
}
|
|
7653
|
+
|
|
7537
7654
|
declare module "sap/ui/mdc/enums/TableGrowingMode" {
|
|
7538
7655
|
/**
|
|
7539
7656
|
* Growing mode of the table.
|
|
@@ -7674,7 +7791,8 @@ declare module "sap/ui/mdc/enums/TableType" {
|
|
|
7674
7791
|
|
|
7675
7792
|
declare module "sap/ui/mdc/enums/ValueHelpPropagationReason" {
|
|
7676
7793
|
/**
|
|
7677
|
-
* Enumeration of the propagation reason in the
|
|
7794
|
+
* Enumeration of the propagation reason in the {@link sap.ui.mdc.ValueHelpDelegate#onConditionPropagation condition propagation callback }
|
|
7795
|
+
* of the {@link sap.ui.mdc.ValueHelp ValueHelp}
|
|
7678
7796
|
*
|
|
7679
7797
|
* @since 1.115
|
|
7680
7798
|
*/
|
|
@@ -7695,6 +7813,29 @@ declare module "sap/ui/mdc/enums/ValueHelpPropagationReason" {
|
|
|
7695
7813
|
export default ValueHelpPropagationReason;
|
|
7696
7814
|
}
|
|
7697
7815
|
|
|
7816
|
+
declare module "sap/ui/mdc/enums/ValueHelpSelectionType" {
|
|
7817
|
+
/**
|
|
7818
|
+
* Enumeration of the possible selection types in {@link sap.ui.mdc.ValueHelp ValueHelp}
|
|
7819
|
+
*
|
|
7820
|
+
* @since 1.115
|
|
7821
|
+
*/
|
|
7822
|
+
enum ValueHelpSelectionType {
|
|
7823
|
+
/**
|
|
7824
|
+
* The given conditions are just added to the existing ones, if they don't already exist.
|
|
7825
|
+
*/
|
|
7826
|
+
Add = "Add",
|
|
7827
|
+
/**
|
|
7828
|
+
* The given conditions are removed.
|
|
7829
|
+
*/
|
|
7830
|
+
Remove = "Remove",
|
|
7831
|
+
/**
|
|
7832
|
+
* The given conditions are set and replace the existing ones.
|
|
7833
|
+
*/
|
|
7834
|
+
Set = "Set",
|
|
7835
|
+
}
|
|
7836
|
+
export default ValueHelpSelectionType;
|
|
7837
|
+
}
|
|
7838
|
+
|
|
7698
7839
|
declare module "sap/ui/mdc/Field" {
|
|
7699
7840
|
import {
|
|
7700
7841
|
default as FieldBase,
|
|
@@ -9412,11 +9553,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
9412
9553
|
*
|
|
9413
9554
|
* Sets the conditions that represent the values of the field.
|
|
9414
9555
|
*
|
|
9415
|
-
* These should be bound to a {@link sap.ui.mdc.
|
|
9416
|
-
* `fieldPath`.
|
|
9556
|
+
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
9417
9557
|
*
|
|
9418
9558
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property must be
|
|
9419
|
-
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link sap.ui.mdc.
|
|
9559
|
+
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link @link sap.ui.mdc.FilterBar FilterBar}.
|
|
9420
9560
|
* For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
9421
9561
|
* control, the binding looks like this:
|
|
9422
9562
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
@@ -9958,11 +10098,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
9958
10098
|
*
|
|
9959
10099
|
* Sets the conditions that represent the values of the field.
|
|
9960
10100
|
*
|
|
9961
|
-
* These should be bound to a {@link sap.ui.mdc.
|
|
9962
|
-
* `fieldPath`.
|
|
10101
|
+
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
9963
10102
|
*
|
|
9964
10103
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property must be
|
|
9965
|
-
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link sap.ui.mdc.
|
|
10104
|
+
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link @link sap.ui.mdc.FilterBar FilterBar}.
|
|
9966
10105
|
* For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
9967
10106
|
* control, the binding looks like this:
|
|
9968
10107
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
@@ -10551,11 +10690,10 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10551
10690
|
/**
|
|
10552
10691
|
* Sets the conditions that represent the values of the field.
|
|
10553
10692
|
*
|
|
10554
|
-
* These should be bound to a {@link sap.ui.mdc.
|
|
10555
|
-
* `fieldPath`.
|
|
10693
|
+
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
10556
10694
|
*
|
|
10557
10695
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property must be
|
|
10558
|
-
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link sap.ui.mdc.
|
|
10696
|
+
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link @link sap.ui.mdc.FilterBar FilterBar}.
|
|
10559
10697
|
* For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
10560
10698
|
* control, the binding looks like this:
|
|
10561
10699
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
@@ -11314,8 +11452,6 @@ declare module "sap/ui/mdc/FilterBar" {
|
|
|
11314
11452
|
|
|
11315
11453
|
import FilterBarP13nMode from "sap/ui/mdc/enums/FilterBarP13nMode";
|
|
11316
11454
|
|
|
11317
|
-
import FilterField from "sap/ui/mdc/FilterField";
|
|
11318
|
-
|
|
11319
11455
|
import { PropertyInfo as PropertyInfo1 } from "sap/ui/mdc/util/PropertyHelper";
|
|
11320
11456
|
|
|
11321
11457
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -11436,13 +11572,6 @@ declare module "sap/ui/mdc/FilterBar" {
|
|
|
11436
11572
|
* @returns Value of property `showClearButton`
|
|
11437
11573
|
*/
|
|
11438
11574
|
getShowClearButton(): boolean;
|
|
11439
|
-
/**
|
|
11440
|
-
* Sets the focus on the first filter in error state.
|
|
11441
|
-
*
|
|
11442
|
-
*
|
|
11443
|
-
* @returns The first filter field in error state
|
|
11444
|
-
*/
|
|
11445
|
-
setFocusOnFirstErroneousField(): FilterField | null;
|
|
11446
11575
|
/**
|
|
11447
11576
|
* Sets a new value for property {@link #getP13nMode p13nMode}.
|
|
11448
11577
|
*
|
|
@@ -11564,6 +11693,8 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
11564
11693
|
|
|
11565
11694
|
import Event from "sap/ui/base/Event";
|
|
11566
11695
|
|
|
11696
|
+
import ReasonMode from "sap/ui/mdc/enums/ReasonMode";
|
|
11697
|
+
|
|
11567
11698
|
/**
|
|
11568
11699
|
* The `FilterBarBase` control is the base for filter displaying controls in MDC.
|
|
11569
11700
|
*
|
|
@@ -12033,6 +12164,13 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
12033
12164
|
*/
|
|
12034
12165
|
oDelegate?: object
|
|
12035
12166
|
): this;
|
|
12167
|
+
/**
|
|
12168
|
+
* Sets the focus on the first filter in error state.
|
|
12169
|
+
*
|
|
12170
|
+
*
|
|
12171
|
+
* @returns The first filter field in error state
|
|
12172
|
+
*/
|
|
12173
|
+
setFocusOnFirstErroneousField(): FilterField | null;
|
|
12036
12174
|
/**
|
|
12037
12175
|
* Sets a new value for property {@link #getLiveMode liveMode}.
|
|
12038
12176
|
*
|
|
@@ -12207,7 +12345,10 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
12207
12345
|
* **Note**: This property must not be bound.
|
|
12208
12346
|
* **Note**: This property is used exclusively for SAPUI5 flexibility/ Fiori Elements. Do not use it otherwise.
|
|
12209
12347
|
* **Node**: Please check {@link sap.ui.mdc.filterbar.PropertyInfo} for more information about the supported
|
|
12210
|
-
* inner elements.
|
|
12348
|
+
* inner elements. **Note**: Existing properties (set via `sap.ui.mdc.filterbar.FilterBarBase#setPropertyInfo`)
|
|
12349
|
+
* must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/FilterBarDelegate.fetchProperties fetchProperties }
|
|
12350
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
12351
|
+
* as the opening of any personalization dialog) are activated.
|
|
12211
12352
|
*
|
|
12212
12353
|
* @since 1.97
|
|
12213
12354
|
*/
|
|
@@ -12303,7 +12444,7 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
12303
12444
|
* - `{@link sap.ui.mdc.enums.ReasonMode.Go}`: Search is triggered based on pressing the Go button
|
|
12304
12445
|
* - `{@link sap.ui.mdc.enums.ReasonMode.Unclear}`: Any other reasons for the search
|
|
12305
12446
|
*/
|
|
12306
|
-
reason?:
|
|
12447
|
+
reason?: ReasonMode;
|
|
12307
12448
|
}
|
|
12308
12449
|
|
|
12309
12450
|
/**
|
|
@@ -12482,9 +12623,9 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
12482
12623
|
|
|
12483
12624
|
/**
|
|
12484
12625
|
* The `FilterField` control is used to filter data based on the conditions. The conditions are managed
|
|
12485
|
-
* in the corresponding {@link sap.ui.mdc.
|
|
12486
|
-
*
|
|
12487
|
-
*
|
|
12626
|
+
* in the corresponding {@link sap.ui.mdc.FilterBar FilterBar}. That is why the `conditions` property must
|
|
12627
|
+
* be bound to the related conditions in the {@link sap.ui.mdc.FilterBar FilterBar}. The type of this data
|
|
12628
|
+
* must be defined in the `dataType` property.
|
|
12488
12629
|
*
|
|
12489
12630
|
* Based on the data type settings, a default control is rendered by the `FilterField` as follows:
|
|
12490
12631
|
*
|
|
@@ -12614,7 +12755,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
12614
12755
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
12615
12756
|
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
12616
12757
|
*
|
|
12617
|
-
* This event is fired when the `
|
|
12758
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
12618
12759
|
*
|
|
12619
12760
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
12620
12761
|
*
|
|
@@ -12642,7 +12783,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
12642
12783
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
12643
12784
|
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
12644
12785
|
*
|
|
12645
|
-
* This event is fired when the `
|
|
12786
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
12646
12787
|
*
|
|
12647
12788
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
12648
12789
|
*
|
|
@@ -12913,7 +13054,7 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
12913
13054
|
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
12914
13055
|
|
|
12915
13056
|
/**
|
|
12916
|
-
* This event is fired when the `
|
|
13057
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
12917
13058
|
*
|
|
12918
13059
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
12919
13060
|
*/
|
|
@@ -13051,43 +13192,18 @@ declare module "sap/ui/mdc/Link" {
|
|
|
13051
13192
|
* @returns Metadata object describing this class
|
|
13052
13193
|
*/
|
|
13053
13194
|
static getMetadata(): ElementMetadata;
|
|
13054
|
-
/**
|
|
13055
|
-
* Retrieves the relevant metadata for the panel and returns a property info array.
|
|
13056
|
-
*
|
|
13057
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13058
|
-
*
|
|
13059
|
-
* @returns Array of copied property info
|
|
13060
|
-
*/
|
|
13061
|
-
static retrieveAllMetadata(
|
|
13062
|
-
/**
|
|
13063
|
-
* Instance of a `Panel` control
|
|
13064
|
-
*/
|
|
13065
|
-
oPanel: /* was: sap.ui.mdc.link.Panel */ any
|
|
13066
|
-
): object[];
|
|
13067
|
-
/**
|
|
13068
|
-
* Retrieves the items that are initially part of the baseline which is used when a reset is done.
|
|
13069
|
-
*
|
|
13070
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13071
|
-
*
|
|
13072
|
-
* @returns Array containing the `ID` and `visible` property of every {@link sap.ui.mdc.link.LinkItem}
|
|
13073
|
-
*/
|
|
13074
|
-
static retrieveBaseline(
|
|
13075
|
-
/**
|
|
13076
|
-
* Instance of a `Panel` control
|
|
13077
|
-
*/
|
|
13078
|
-
oPanel: /* was: sap.ui.mdc.link.Panel */ any
|
|
13079
|
-
): BaseLineObject[];
|
|
13080
13195
|
/**
|
|
13081
13196
|
* Gets current value of property {@link #getDelegate delegate}.
|
|
13082
13197
|
*
|
|
13083
|
-
* Object related to the `
|
|
13198
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
13199
|
+
* logic.
|
|
13084
13200
|
* The object has the following properties:
|
|
13085
|
-
* - `name` defines the path to the `
|
|
13201
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
13086
13202
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
13087
13203
|
* Sample delegate object:
|
|
13088
13204
|
* ```javascript
|
|
13089
13205
|
* {
|
|
13090
|
-
* name: "sap/ui/mdc/
|
|
13206
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
13091
13207
|
* payload: {}
|
|
13092
13208
|
* }```
|
|
13093
13209
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -13141,14 +13257,15 @@ declare module "sap/ui/mdc/Link" {
|
|
|
13141
13257
|
/**
|
|
13142
13258
|
* Sets a new value for property {@link #getDelegate delegate}.
|
|
13143
13259
|
*
|
|
13144
|
-
* Object related to the `
|
|
13260
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
13261
|
+
* logic.
|
|
13145
13262
|
* The object has the following properties:
|
|
13146
|
-
* - `name` defines the path to the `
|
|
13263
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
13147
13264
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
13148
13265
|
* Sample delegate object:
|
|
13149
13266
|
* ```javascript
|
|
13150
13267
|
* {
|
|
13151
|
-
* name: "sap/ui/mdc/
|
|
13268
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
13152
13269
|
* payload: {}
|
|
13153
13270
|
* }```
|
|
13154
13271
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -13268,14 +13385,15 @@ declare module "sap/ui/mdc/Link" {
|
|
|
13268
13385
|
enablePersonalization?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
13269
13386
|
|
|
13270
13387
|
/**
|
|
13271
|
-
* Object related to the `
|
|
13388
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
13389
|
+
* logic.
|
|
13272
13390
|
* The object has the following properties:
|
|
13273
|
-
* - `name` defines the path to the `
|
|
13391
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
13274
13392
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
13275
13393
|
* Sample delegate object:
|
|
13276
13394
|
* ```javascript
|
|
13277
13395
|
* {
|
|
13278
|
-
* name: "sap/ui/mdc/
|
|
13396
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
13279
13397
|
* payload: {}
|
|
13280
13398
|
* }```
|
|
13281
13399
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -13295,6 +13413,8 @@ declare module "sap/ui/mdc/Link" {
|
|
|
13295
13413
|
declare module "sap/ui/mdc/link/LinkItem" {
|
|
13296
13414
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
13297
13415
|
|
|
13416
|
+
import { URI } from "sap/ui/core/library";
|
|
13417
|
+
|
|
13298
13418
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
13299
13419
|
|
|
13300
13420
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -13396,7 +13516,7 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13396
13516
|
*
|
|
13397
13517
|
* @returns Value of property `icon`
|
|
13398
13518
|
*/
|
|
13399
|
-
getIcon():
|
|
13519
|
+
getIcon(): URI;
|
|
13400
13520
|
/**
|
|
13401
13521
|
* Gets current value of property {@link #getInitiallyVisible initiallyVisible}.
|
|
13402
13522
|
*
|
|
@@ -13502,7 +13622,7 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13502
13622
|
/**
|
|
13503
13623
|
* New value for property `icon`
|
|
13504
13624
|
*/
|
|
13505
|
-
sIcon:
|
|
13625
|
+
sIcon: URI
|
|
13506
13626
|
): this;
|
|
13507
13627
|
/**
|
|
13508
13628
|
* Sets a new value for property {@link #getInitiallyVisible initiallyVisible}.
|
|
@@ -13639,7 +13759,7 @@ declare module "sap/ui/mdc/link/LinkItem" {
|
|
|
13639
13759
|
/**
|
|
13640
13760
|
* Defines the icon of the item.
|
|
13641
13761
|
*/
|
|
13642
|
-
icon?:
|
|
13762
|
+
icon?: URI | PropertyBindingInfo | `{${string}}`;
|
|
13643
13763
|
|
|
13644
13764
|
/**
|
|
13645
13765
|
* Determines the initial visibility of the `LinkItem`. If set to `true`, the item will appear on the `Popover`
|
|
@@ -16383,7 +16503,10 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16383
16503
|
* no effect.
|
|
16384
16504
|
*
|
|
16385
16505
|
* **Note**: This property must not be bound. **Note**: This property is used exclusively for SAPUI5 flexibility
|
|
16386
|
-
* / Fiori Elements. Do not use it otherwise.
|
|
16506
|
+
* / Fiori Elements. Do not use it otherwise. **Note**: Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`)
|
|
16507
|
+
* must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
16508
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
16509
|
+
* as the opening of any personalization dialog) are activated.
|
|
16387
16510
|
*
|
|
16388
16511
|
* @since 1.111
|
|
16389
16512
|
*/
|
|
@@ -18359,6 +18482,25 @@ declare module "sap/ui/mdc/table/GridTableType" {
|
|
|
18359
18482
|
* @returns Value of property `rowCountMode`
|
|
18360
18483
|
*/
|
|
18361
18484
|
getRowCountMode(): TableRowCountMode | keyof typeof TableRowCountMode;
|
|
18485
|
+
/**
|
|
18486
|
+
* Gets current value of property {@link #getScrollThreshold scrollThreshold}.
|
|
18487
|
+
*
|
|
18488
|
+
* Number of records to be requested from the model when the user scrolls through the table.
|
|
18489
|
+
*
|
|
18490
|
+
* The property defines how many additional (not yet visible) data records from the back-end system are
|
|
18491
|
+
* pre-fetched during scrolling. If the `scrollThreshold` is lower than the number of visible rows, the
|
|
18492
|
+
* number of visible rows is used as the `scrollThreshold`. If the value is 0, thresholding is disabled.
|
|
18493
|
+
*
|
|
18494
|
+
* **Note:** This property only takes effect if it is set to a positive integer value. Otherwise the `threshold`
|
|
18495
|
+
* property is used.
|
|
18496
|
+
*
|
|
18497
|
+
* Default value is `-1`.
|
|
18498
|
+
*
|
|
18499
|
+
* @since 1.128
|
|
18500
|
+
*
|
|
18501
|
+
* @returns Value of property `scrollThreshold`
|
|
18502
|
+
*/
|
|
18503
|
+
getScrollThreshold(): int;
|
|
18362
18504
|
/**
|
|
18363
18505
|
* Gets current value of property {@link #getSelectionLimit selectionLimit}.
|
|
18364
18506
|
*
|
|
@@ -18447,6 +18589,32 @@ declare module "sap/ui/mdc/table/GridTableType" {
|
|
|
18447
18589
|
*/
|
|
18448
18590
|
sRowCountMode?: TableRowCountMode | keyof typeof TableRowCountMode
|
|
18449
18591
|
): this;
|
|
18592
|
+
/**
|
|
18593
|
+
* Sets a new value for property {@link #getScrollThreshold scrollThreshold}.
|
|
18594
|
+
*
|
|
18595
|
+
* Number of records to be requested from the model when the user scrolls through the table.
|
|
18596
|
+
*
|
|
18597
|
+
* The property defines how many additional (not yet visible) data records from the back-end system are
|
|
18598
|
+
* pre-fetched during scrolling. If the `scrollThreshold` is lower than the number of visible rows, the
|
|
18599
|
+
* number of visible rows is used as the `scrollThreshold`. If the value is 0, thresholding is disabled.
|
|
18600
|
+
*
|
|
18601
|
+
* **Note:** This property only takes effect if it is set to a positive integer value. Otherwise the `threshold`
|
|
18602
|
+
* property is used.
|
|
18603
|
+
*
|
|
18604
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
18605
|
+
*
|
|
18606
|
+
* Default value is `-1`.
|
|
18607
|
+
*
|
|
18608
|
+
* @since 1.128
|
|
18609
|
+
*
|
|
18610
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
18611
|
+
*/
|
|
18612
|
+
setScrollThreshold(
|
|
18613
|
+
/**
|
|
18614
|
+
* New value for property `scrollThreshold`
|
|
18615
|
+
*/
|
|
18616
|
+
iScrollThreshold?: int
|
|
18617
|
+
): this;
|
|
18450
18618
|
/**
|
|
18451
18619
|
* Sets a new value for property {@link #getSelectionLimit selectionLimit}.
|
|
18452
18620
|
*
|
|
@@ -18537,6 +18705,20 @@ declare module "sap/ui/mdc/table/GridTableType" {
|
|
|
18537
18705
|
* Defines the number of fixed columns.
|
|
18538
18706
|
*/
|
|
18539
18707
|
fixedColumnCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
18708
|
+
|
|
18709
|
+
/**
|
|
18710
|
+
* Number of records to be requested from the model when the user scrolls through the table.
|
|
18711
|
+
*
|
|
18712
|
+
* The property defines how many additional (not yet visible) data records from the back-end system are
|
|
18713
|
+
* pre-fetched during scrolling. If the `scrollThreshold` is lower than the number of visible rows, the
|
|
18714
|
+
* number of visible rows is used as the `scrollThreshold`. If the value is 0, thresholding is disabled.
|
|
18715
|
+
*
|
|
18716
|
+
* **Note:** This property only takes effect if it is set to a positive integer value. Otherwise the `threshold`
|
|
18717
|
+
* property is used.
|
|
18718
|
+
*
|
|
18719
|
+
* @since 1.128
|
|
18720
|
+
*/
|
|
18721
|
+
scrollThreshold?: int | PropertyBindingInfo | `{${string}}`;
|
|
18540
18722
|
}
|
|
18541
18723
|
}
|
|
18542
18724
|
|
|
@@ -20176,6 +20358,9 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20176
20358
|
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20177
20359
|
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20178
20360
|
*
|
|
20361
|
+
* **Note:** The input is validated and compared against the content assigned to the `typeahead` aggregation.
|
|
20362
|
+
* If no content is assigned to the `typeahead` aggregation, the input is not validated.
|
|
20363
|
+
*
|
|
20179
20364
|
* Default value is `true`.
|
|
20180
20365
|
*
|
|
20181
20366
|
*
|
|
@@ -20247,6 +20432,9 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20247
20432
|
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20248
20433
|
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20249
20434
|
*
|
|
20435
|
+
* **Note:** The input is validated and compared against the content assigned to the `typeahead` aggregation.
|
|
20436
|
+
* If no content is assigned to the `typeahead` aggregation, the input is not validated.
|
|
20437
|
+
*
|
|
20250
20438
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
20251
20439
|
*
|
|
20252
20440
|
* Default value is `true`.
|
|
@@ -20326,6 +20514,25 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20326
20514
|
control: Control;
|
|
20327
20515
|
};
|
|
20328
20516
|
|
|
20517
|
+
/**
|
|
20518
|
+
* Configuration object type for normalized definition of a `ValueHelpItem`.
|
|
20519
|
+
*/
|
|
20520
|
+
export type ValueHelpItem = {
|
|
20521
|
+
/**
|
|
20522
|
+
* Key
|
|
20523
|
+
*/
|
|
20524
|
+
key: any;
|
|
20525
|
+
/**
|
|
20526
|
+
* Description
|
|
20527
|
+
*/
|
|
20528
|
+
description?: any;
|
|
20529
|
+
/**
|
|
20530
|
+
* Payload of the condition. Set by application. Data needs to be stringified. (as stored and loaded in
|
|
20531
|
+
* variants)
|
|
20532
|
+
*/
|
|
20533
|
+
payload?: object;
|
|
20534
|
+
};
|
|
20535
|
+
|
|
20329
20536
|
/**
|
|
20330
20537
|
* Describes the settings that can be provided to the ValueHelp constructor.
|
|
20331
20538
|
*/
|
|
@@ -20355,6 +20562,9 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20355
20562
|
* If this property is not set, the user input is still checked against the value help. But if no entry
|
|
20356
20563
|
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
20357
20564
|
* is shown if the user input adheres to the requirements of the used data type.)
|
|
20565
|
+
*
|
|
20566
|
+
* **Note:** The input is validated and compared against the content assigned to the `typeahead` aggregation.
|
|
20567
|
+
* If no content is assigned to the `typeahead` aggregation, the input is not validated.
|
|
20358
20568
|
*/
|
|
20359
20569
|
validateInput?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
20360
20570
|
|
|
@@ -20430,6 +20640,11 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20430
20640
|
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
20431
20641
|
*/
|
|
20432
20642
|
itemId?: string;
|
|
20643
|
+
|
|
20644
|
+
/**
|
|
20645
|
+
* If `true` the filtering was executed case sensitive
|
|
20646
|
+
*/
|
|
20647
|
+
caseSensitive?: boolean;
|
|
20433
20648
|
}
|
|
20434
20649
|
|
|
20435
20650
|
/**
|
|
@@ -20546,6 +20761,11 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20546
20761
|
*/
|
|
20547
20762
|
itemId?: string;
|
|
20548
20763
|
|
|
20764
|
+
/**
|
|
20765
|
+
* Number of found items
|
|
20766
|
+
*/
|
|
20767
|
+
items?: int;
|
|
20768
|
+
|
|
20549
20769
|
/**
|
|
20550
20770
|
* If `true` the filtering was executed case sensitive
|
|
20551
20771
|
*/
|
|
@@ -20559,6 +20779,19 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20559
20779
|
ValueHelp$TypeaheadSuggestedEventParameters,
|
|
20560
20780
|
ValueHelp
|
|
20561
20781
|
>;
|
|
20782
|
+
|
|
20783
|
+
/**
|
|
20784
|
+
* Parameters of the ValueHelp#visualFocusSet event.
|
|
20785
|
+
*/
|
|
20786
|
+
export interface ValueHelp$VisualFocusSetEventParameters {}
|
|
20787
|
+
|
|
20788
|
+
/**
|
|
20789
|
+
* Event object of the ValueHelp#visualFocusSet event.
|
|
20790
|
+
*/
|
|
20791
|
+
export type ValueHelp$VisualFocusSetEvent = Event<
|
|
20792
|
+
ValueHelp$VisualFocusSetEventParameters,
|
|
20793
|
+
ValueHelp
|
|
20794
|
+
>;
|
|
20562
20795
|
}
|
|
20563
20796
|
|
|
20564
20797
|
declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
@@ -20579,6 +20812,8 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
20579
20812
|
AggregationBindingInfo,
|
|
20580
20813
|
} from "sap/ui/base/ManagedObject";
|
|
20581
20814
|
|
|
20815
|
+
import ValueHelpSelectionType from "sap/ui/mdc/enums/ValueHelpSelectionType";
|
|
20816
|
+
|
|
20582
20817
|
/**
|
|
20583
20818
|
* Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element.
|
|
20584
20819
|
*
|
|
@@ -20858,6 +21093,17 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
20858
21093
|
*/
|
|
20859
21094
|
oEvent: Event
|
|
20860
21095
|
): void;
|
|
21096
|
+
/**
|
|
21097
|
+
* Handles the `visualFocusSet` event of the content.
|
|
21098
|
+
*
|
|
21099
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21100
|
+
*/
|
|
21101
|
+
handleVisualFocusSet(
|
|
21102
|
+
/**
|
|
21103
|
+
* event
|
|
21104
|
+
*/
|
|
21105
|
+
oEvent: Event
|
|
21106
|
+
): void;
|
|
20861
21107
|
/**
|
|
20862
21108
|
* Checks for the provided `sap.ui.mdc.valuehelp.base.Content` in the aggregation {@link #getContent content}.
|
|
20863
21109
|
* and returns its index if found or -1 otherwise.
|
|
@@ -21078,6 +21324,11 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
21078
21324
|
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
21079
21325
|
*/
|
|
21080
21326
|
itemId?: string;
|
|
21327
|
+
|
|
21328
|
+
/**
|
|
21329
|
+
* If `true` the filtering was executed case sensitive
|
|
21330
|
+
*/
|
|
21331
|
+
caseSensitive?: boolean;
|
|
21081
21332
|
}
|
|
21082
21333
|
|
|
21083
21334
|
/**
|
|
@@ -21144,7 +21395,7 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
21144
21395
|
/**
|
|
21145
21396
|
* Type of the selection change (add, remove)
|
|
21146
21397
|
*/
|
|
21147
|
-
type?:
|
|
21398
|
+
type?: ValueHelpSelectionType | keyof typeof ValueHelpSelectionType;
|
|
21148
21399
|
|
|
21149
21400
|
/**
|
|
21150
21401
|
* Changed conditions
|
|
@@ -21183,6 +21434,11 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
21183
21434
|
*/
|
|
21184
21435
|
itemId?: string;
|
|
21185
21436
|
|
|
21437
|
+
/**
|
|
21438
|
+
* Number of found items
|
|
21439
|
+
*/
|
|
21440
|
+
items?: int;
|
|
21441
|
+
|
|
21186
21442
|
/**
|
|
21187
21443
|
* If `true` the filtering was executed case sensitive
|
|
21188
21444
|
*/
|
|
@@ -21196,6 +21452,19 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
21196
21452
|
Container$TypeaheadSuggestedEventParameters,
|
|
21197
21453
|
Container
|
|
21198
21454
|
>;
|
|
21455
|
+
|
|
21456
|
+
/**
|
|
21457
|
+
* Parameters of the Container#visualFocusSet event.
|
|
21458
|
+
*/
|
|
21459
|
+
export interface Container$VisualFocusSetEventParameters {}
|
|
21460
|
+
|
|
21461
|
+
/**
|
|
21462
|
+
* Event object of the Container#visualFocusSet event.
|
|
21463
|
+
*/
|
|
21464
|
+
export type Container$VisualFocusSetEvent = Event<
|
|
21465
|
+
Container$VisualFocusSetEventParameters,
|
|
21466
|
+
Container
|
|
21467
|
+
>;
|
|
21199
21468
|
}
|
|
21200
21469
|
|
|
21201
21470
|
declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
@@ -21215,6 +21484,8 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
21215
21484
|
|
|
21216
21485
|
import Event from "sap/ui/base/Event";
|
|
21217
21486
|
|
|
21487
|
+
import ValueHelpSelectionType from "sap/ui/mdc/enums/ValueHelpSelectionType";
|
|
21488
|
+
|
|
21218
21489
|
/**
|
|
21219
21490
|
* Content for the {@link sap.ui.mdc.valuehelp.base.Container Container} element.
|
|
21220
21491
|
*
|
|
@@ -21645,6 +21916,11 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
21645
21916
|
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
21646
21917
|
*/
|
|
21647
21918
|
itemId?: string;
|
|
21919
|
+
|
|
21920
|
+
/**
|
|
21921
|
+
* If `true` the filtering was executed case sensitive
|
|
21922
|
+
*/
|
|
21923
|
+
caseSensitive?: boolean;
|
|
21648
21924
|
}
|
|
21649
21925
|
|
|
21650
21926
|
/**
|
|
@@ -21675,7 +21951,7 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
21675
21951
|
/**
|
|
21676
21952
|
* Type of the selection change (add, remove)
|
|
21677
21953
|
*/
|
|
21678
|
-
type?:
|
|
21954
|
+
type?: ValueHelpSelectionType | keyof typeof ValueHelpSelectionType;
|
|
21679
21955
|
|
|
21680
21956
|
/**
|
|
21681
21957
|
* Changed conditions
|
|
@@ -21714,6 +21990,11 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
21714
21990
|
*/
|
|
21715
21991
|
itemId?: string;
|
|
21716
21992
|
|
|
21993
|
+
/**
|
|
21994
|
+
* Number of found items
|
|
21995
|
+
*/
|
|
21996
|
+
items?: int;
|
|
21997
|
+
|
|
21717
21998
|
/**
|
|
21718
21999
|
* If `true` the filtering was executed case sensitive
|
|
21719
22000
|
*/
|
|
@@ -21727,6 +22008,19 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
21727
22008
|
Content$TypeaheadSuggestedEventParameters,
|
|
21728
22009
|
Content
|
|
21729
22010
|
>;
|
|
22011
|
+
|
|
22012
|
+
/**
|
|
22013
|
+
* Parameters of the Content#visualFocusSet event.
|
|
22014
|
+
*/
|
|
22015
|
+
export interface Content$VisualFocusSetEventParameters {}
|
|
22016
|
+
|
|
22017
|
+
/**
|
|
22018
|
+
* Event object of the Content#visualFocusSet event.
|
|
22019
|
+
*/
|
|
22020
|
+
export type Content$VisualFocusSetEvent = Event<
|
|
22021
|
+
Content$VisualFocusSetEventParameters,
|
|
22022
|
+
Content
|
|
22023
|
+
>;
|
|
21730
22024
|
}
|
|
21731
22025
|
|
|
21732
22026
|
declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
@@ -21737,8 +22031,6 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
21737
22031
|
|
|
21738
22032
|
import FilterBar from "sap/ui/mdc/valuehelp/FilterBar";
|
|
21739
22033
|
|
|
21740
|
-
import Context from "sap/ui/model/Context";
|
|
21741
|
-
|
|
21742
22034
|
import {
|
|
21743
22035
|
AggregationBindingInfo,
|
|
21744
22036
|
PropertyBindingInfo,
|
|
@@ -21895,7 +22187,7 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
21895
22187
|
*
|
|
21896
22188
|
* Default value is `empty string`.
|
|
21897
22189
|
*
|
|
21898
|
-
* @deprecated (since 1.120.2) -
|
|
22190
|
+
* @deprecated (since 1.120.2) - replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
21899
22191
|
*
|
|
21900
22192
|
* @returns Value of property `filterFields`
|
|
21901
22193
|
*/
|
|
@@ -21913,23 +22205,6 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
21913
22205
|
* @returns Value of property `group`
|
|
21914
22206
|
*/
|
|
21915
22207
|
getGroup(): string;
|
|
21916
|
-
/**
|
|
21917
|
-
* Gets an item for a `BindingContext`.
|
|
21918
|
-
*
|
|
21919
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
21920
|
-
*
|
|
21921
|
-
* @returns Item object containing `key`, `description`, and `payload`
|
|
21922
|
-
*/
|
|
21923
|
-
getItemFromContext(
|
|
21924
|
-
/**
|
|
21925
|
-
* BindingContext
|
|
21926
|
-
*/
|
|
21927
|
-
oBindingContext: Context,
|
|
21928
|
-
/**
|
|
21929
|
-
* Options
|
|
21930
|
-
*/
|
|
21931
|
-
oOptions?: object
|
|
21932
|
-
): object;
|
|
21933
22208
|
/**
|
|
21934
22209
|
* Gets current value of property {@link #getKeyPath keyPath}.
|
|
21935
22210
|
*
|
|
@@ -22018,7 +22293,7 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
22018
22293
|
*
|
|
22019
22294
|
* Default value is `empty string`.
|
|
22020
22295
|
*
|
|
22021
|
-
* @deprecated (since 1.120.2) -
|
|
22296
|
+
* @deprecated (since 1.120.2) - replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
22022
22297
|
*
|
|
22023
22298
|
* @returns Reference to `this` in order to allow method chaining
|
|
22024
22299
|
*/
|
|
@@ -22085,7 +22360,7 @@ declare module "sap/ui/mdc/valuehelp/base/FilterableListContent" {
|
|
|
22085
22360
|
*
|
|
22086
22361
|
* If it is empty, no suggestion is available.
|
|
22087
22362
|
*
|
|
22088
|
-
* @deprecated (since 1.120.2) -
|
|
22363
|
+
* @deprecated (since 1.120.2) - replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
22089
22364
|
*/
|
|
22090
22365
|
filterFields?: string | PropertyBindingInfo;
|
|
22091
22366
|
|
|
@@ -22121,6 +22396,8 @@ declare module "sap/ui/mdc/valuehelp/base/ListContent" {
|
|
|
22121
22396
|
$ContentSettings,
|
|
22122
22397
|
} from "sap/ui/mdc/valuehelp/base/Content";
|
|
22123
22398
|
|
|
22399
|
+
import Context from "sap/ui/model/Context";
|
|
22400
|
+
|
|
22124
22401
|
import ListBinding from "sap/ui/model/ListBinding";
|
|
22125
22402
|
|
|
22126
22403
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -22221,6 +22498,23 @@ declare module "sap/ui/mdc/valuehelp/base/ListContent" {
|
|
|
22221
22498
|
* @returns Content description path
|
|
22222
22499
|
*/
|
|
22223
22500
|
getDescriptionPath(): string;
|
|
22501
|
+
/**
|
|
22502
|
+
* Gets an item for a `BindingContext`.
|
|
22503
|
+
*
|
|
22504
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22505
|
+
*
|
|
22506
|
+
* @returns Item object containing `key`, `description`, and `payload`
|
|
22507
|
+
*/
|
|
22508
|
+
getItemFromContext(
|
|
22509
|
+
/**
|
|
22510
|
+
* BindingContext
|
|
22511
|
+
*/
|
|
22512
|
+
oBindingContext: Context,
|
|
22513
|
+
/**
|
|
22514
|
+
* Options
|
|
22515
|
+
*/
|
|
22516
|
+
oOptions?: object
|
|
22517
|
+
): object;
|
|
22224
22518
|
/**
|
|
22225
22519
|
* Gets current keyPath of the content. **Note:** Every listcontent must implement this method.
|
|
22226
22520
|
*
|
|
@@ -22519,10 +22813,14 @@ declare module "sap/ui/mdc/valuehelp/content/Conditions" {
|
|
|
22519
22813
|
* Optional `FieldHelp`.
|
|
22520
22814
|
*
|
|
22521
22815
|
* This is an association that allows the usage of one `FieldHelp` instance for the value fields for the
|
|
22522
|
-
* `Conditions`.
|
|
22523
|
-
*
|
|
22524
|
-
*
|
|
22525
|
-
*
|
|
22816
|
+
* `Conditions`.
|
|
22817
|
+
*
|
|
22818
|
+
* **Note:** The value fields on the conditions UI cannot be accessed from outside. The fields are single-value
|
|
22819
|
+
* input, and the display is always set to `FieldDisplay.Value`. Only a `ValueHelp` with a `TypeAhead` and
|
|
22820
|
+
* a single-selection `MTable` can be used.
|
|
22821
|
+
*
|
|
22822
|
+
* **Note:** For `Boolean`, `Date`, or `Time` types, no `FieldHelp` should be added, but a default `FieldHelp`
|
|
22823
|
+
* used instead.
|
|
22526
22824
|
*
|
|
22527
22825
|
* @deprecated (since 1.114.0) - replaced by {@link #setValueHelp valueHelp} association
|
|
22528
22826
|
*/
|
|
@@ -22535,8 +22833,8 @@ declare module "sap/ui/mdc/valuehelp/content/Conditions" {
|
|
|
22535
22833
|
* `Conditions`.
|
|
22536
22834
|
*
|
|
22537
22835
|
* **Note:** The value fields on the conditions UI cannot be accessed from outside. The fields are single-value
|
|
22538
|
-
* input, and the display is always set to `FieldDisplay.Value`. Only a `ValueHelp
|
|
22539
|
-
*
|
|
22836
|
+
* input, and the display is always set to `FieldDisplay.Value`. Only a `ValueHelp` with a `TypeAhead` and
|
|
22837
|
+
* a single-selection `MTable` can be used.
|
|
22540
22838
|
*
|
|
22541
22839
|
* **Note:** For `Boolean`, `Date`, or `Time` types, no `ValueHelp` should be added, but a default `ValueHelp`
|
|
22542
22840
|
* used instead.
|
|
@@ -23647,7 +23945,7 @@ declare module "sap/ui/mdc/valuehelp/FilterBar" {
|
|
|
23647
23945
|
* Sample delegate object:
|
|
23648
23946
|
* ```javascript
|
|
23649
23947
|
* {
|
|
23650
|
-
* name: "sap/ui/
|
|
23948
|
+
* name: "sap/ui/valuehelp/FilterBarDelegate",
|
|
23651
23949
|
* payload: {}
|
|
23652
23950
|
* }```
|
|
23653
23951
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -23694,7 +23992,7 @@ declare module "sap/ui/mdc/valuehelp/FilterBar" {
|
|
|
23694
23992
|
* Sample delegate object:
|
|
23695
23993
|
* ```javascript
|
|
23696
23994
|
* {
|
|
23697
|
-
* name: "sap/ui/
|
|
23995
|
+
* name: "sap/ui/valuehelp/FilterBarDelegate",
|
|
23698
23996
|
* payload: {}
|
|
23699
23997
|
* }```
|
|
23700
23998
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -23765,7 +24063,7 @@ declare module "sap/ui/mdc/valuehelp/FilterBar" {
|
|
|
23765
24063
|
* Sample delegate object:
|
|
23766
24064
|
* ```javascript
|
|
23767
24065
|
* {
|
|
23768
|
-
* name: "sap/ui/
|
|
24066
|
+
* name: "sap/ui/valuehelp/FilterBarDelegate",
|
|
23769
24067
|
* payload: {}
|
|
23770
24068
|
* }```
|
|
23771
24069
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|