@openui5/ts-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 +1374 -221
- package/types/sap.m.d.ts +632 -61
- 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 +100 -4
- package/types/sap.ui.layout.d.ts +40 -11
- package/types/sap.ui.mdc.d.ts +508 -202
- 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 +113 -28
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +990 -106
- 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 +46 -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";
|
|
@@ -215,6 +215,11 @@ declare module "sap/ui/mdc/ChartDelegate" {
|
|
|
215
215
|
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
216
216
|
* Any changes of the returned values might result in undesired effects.
|
|
217
217
|
*
|
|
218
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Chart#setPropertyInfo`) must not be removed and their
|
|
219
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/ChartDelegate.fetchProperties fetchProperties }
|
|
220
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
221
|
+
* as the opening of any personalization dialog) are activated.
|
|
222
|
+
*
|
|
218
223
|
*
|
|
219
224
|
* @returns Array of the property infos that is used within the chart
|
|
220
225
|
*/
|
|
@@ -757,7 +762,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
757
762
|
* @since 1.124.0
|
|
758
763
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
759
764
|
*
|
|
760
|
-
* @returns Array containing the created controls
|
|
765
|
+
* @returns Array containing the created controls and the default value help, if needed
|
|
761
766
|
*/
|
|
762
767
|
createContent(
|
|
763
768
|
/**
|
|
@@ -773,8 +778,12 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
773
778
|
/**
|
|
774
779
|
* ID of the internal control to be created.
|
|
775
780
|
*/
|
|
776
|
-
sId: string
|
|
777
|
-
|
|
781
|
+
sId: string,
|
|
782
|
+
/**
|
|
783
|
+
* If set, a default value help should be provided.
|
|
784
|
+
*/
|
|
785
|
+
bProvideDefaultValueHelp: boolean
|
|
786
|
+
): Promise<sap.ui.core.Element[]>;
|
|
778
787
|
/**
|
|
779
788
|
* Determines the text for the autocomplete functionality.
|
|
780
789
|
*
|
|
@@ -850,7 +859,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
850
859
|
*/
|
|
851
860
|
oField: sap.ui.mdc.field.FieldBase,
|
|
852
861
|
/**
|
|
853
|
-
*
|
|
862
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
854
863
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
855
864
|
*/
|
|
856
865
|
oValueHelp: sap.ui.mdc.ValueHelp,
|
|
@@ -872,13 +881,13 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
872
881
|
*/
|
|
873
882
|
oBindingContext: sap.ui.model.Context,
|
|
874
883
|
/**
|
|
875
|
-
*
|
|
884
|
+
* NO LONGER USED
|
|
876
885
|
*/
|
|
877
|
-
|
|
886
|
+
oDoNotUse: undefined,
|
|
878
887
|
/**
|
|
879
|
-
*
|
|
888
|
+
* NO LONGER USED
|
|
880
889
|
*/
|
|
881
|
-
|
|
890
|
+
sDoNotUse: undefined,
|
|
882
891
|
/**
|
|
883
892
|
* Additional context information for this key
|
|
884
893
|
*/
|
|
@@ -893,8 +902,8 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
893
902
|
oType: sap.ui.model.Type
|
|
894
903
|
):
|
|
895
904
|
| string
|
|
896
|
-
|
|
|
897
|
-
| Promise<string |
|
|
905
|
+
| sap.ui.mdc.valuehelp.base.ValueHelpItem
|
|
906
|
+
| Promise<string | sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
898
907
|
/**
|
|
899
908
|
* Determines the description for a given key.
|
|
900
909
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -921,7 +930,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
921
930
|
*/
|
|
922
931
|
oField: sap.ui.mdc.field.FieldBase,
|
|
923
932
|
/**
|
|
924
|
-
*
|
|
933
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
925
934
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
926
935
|
*/
|
|
927
936
|
oValueHelp: sap.ui.mdc.ValueHelp,
|
|
@@ -943,9 +952,9 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
943
952
|
*/
|
|
944
953
|
oBindingContext: sap.ui.model.Context,
|
|
945
954
|
/**
|
|
946
|
-
*
|
|
955
|
+
* NO LONGER USED
|
|
947
956
|
*/
|
|
948
|
-
|
|
957
|
+
oDoNotUse: undefined,
|
|
949
958
|
/**
|
|
950
959
|
* Additional context information for this key
|
|
951
960
|
*/
|
|
@@ -960,8 +969,8 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
960
969
|
oType: sap.ui.model.Type
|
|
961
970
|
):
|
|
962
971
|
| string
|
|
963
|
-
|
|
|
964
|
-
| Promise<string |
|
|
972
|
+
| sap.ui.mdc.valuehelp.base.ValueHelpItem
|
|
973
|
+
| Promise<string | sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
965
974
|
/**
|
|
966
975
|
* Determines the description for a given key.
|
|
967
976
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -988,7 +997,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
988
997
|
*/
|
|
989
998
|
oField: sap.ui.mdc.field.FieldBase,
|
|
990
999
|
/**
|
|
991
|
-
*
|
|
1000
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
992
1001
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
993
1002
|
*/
|
|
994
1003
|
oValueHelp: sap.ui.mdc.ValueHelp,
|
|
@@ -1010,9 +1019,9 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1010
1019
|
*/
|
|
1011
1020
|
oBindingContext: sap.ui.model.Context,
|
|
1012
1021
|
/**
|
|
1013
|
-
*
|
|
1022
|
+
* NO LONGER USED
|
|
1014
1023
|
*/
|
|
1015
|
-
|
|
1024
|
+
sDoNotUse: undefined,
|
|
1016
1025
|
/**
|
|
1017
1026
|
* Additional context information for this key
|
|
1018
1027
|
*/
|
|
@@ -1027,8 +1036,8 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1027
1036
|
oType: sap.ui.model.Type
|
|
1028
1037
|
):
|
|
1029
1038
|
| string
|
|
1030
|
-
|
|
|
1031
|
-
| Promise<string |
|
|
1039
|
+
| sap.ui.mdc.valuehelp.base.ValueHelpItem
|
|
1040
|
+
| Promise<string | sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
1032
1041
|
/**
|
|
1033
1042
|
* Determines the description for a given key.
|
|
1034
1043
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -1055,7 +1064,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1055
1064
|
*/
|
|
1056
1065
|
oField: sap.ui.mdc.field.FieldBase,
|
|
1057
1066
|
/**
|
|
1058
|
-
*
|
|
1067
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
1059
1068
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
1060
1069
|
*/
|
|
1061
1070
|
oValueHelp: sap.ui.mdc.ValueHelp,
|
|
@@ -1090,8 +1099,8 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1090
1099
|
oType: sap.ui.model.Type
|
|
1091
1100
|
):
|
|
1092
1101
|
| string
|
|
1093
|
-
|
|
|
1094
|
-
| Promise<string |
|
|
1102
|
+
| sap.ui.mdc.valuehelp.base.ValueHelpItem
|
|
1103
|
+
| Promise<string | sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
1095
1104
|
/**
|
|
1096
1105
|
* Determines the key, description, and payload of a user input.
|
|
1097
1106
|
* By default, this method calls the {@link sap.ui.mdc.ValueHelp#getItemForValue getItemForValue} function
|
|
@@ -1112,7 +1121,7 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1112
1121
|
*/
|
|
1113
1122
|
oField: sap.ui.mdc.field.FieldBase,
|
|
1114
1123
|
/**
|
|
1115
|
-
*
|
|
1124
|
+
* Value help assigned to the {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField},
|
|
1116
1125
|
* or {@link sap.ui.mdc.MultiValueField MultiValueField} control
|
|
1117
1126
|
*/
|
|
1118
1127
|
oValueHelp: sap.ui.mdc.ValueHelp,
|
|
@@ -1120,9 +1129,39 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1120
1129
|
* Configuration
|
|
1121
1130
|
*/
|
|
1122
1131
|
oConfig?: sap.ui.mdc.valuehelp.base.ItemForValueConfiguration
|
|
1123
|
-
):
|
|
1124
|
-
|
|
|
1125
|
-
| Promise
|
|
1132
|
+
):
|
|
1133
|
+
| sap.ui.mdc.valuehelp.base.ValueHelpItem
|
|
1134
|
+
| Promise<sap.ui.mdc.valuehelp.base.ValueHelpItem>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Returns the index of a condition in an array of conditions.
|
|
1137
|
+
*
|
|
1138
|
+
* This function is called when a `Condition` is created by user input or value help selection to determine
|
|
1139
|
+
* if a similar `Condition` already exists. This is done to prevent duplicates.
|
|
1140
|
+
*
|
|
1141
|
+
* 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})
|
|
1142
|
+
*
|
|
1143
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1144
|
+
*
|
|
1145
|
+
* @returns Index of the condition, -1 if not found
|
|
1146
|
+
*/
|
|
1147
|
+
indexOfCondition(
|
|
1148
|
+
/**
|
|
1149
|
+
* `Field` control instance
|
|
1150
|
+
*/
|
|
1151
|
+
oField: sap.ui.mdc.field.FieldBase,
|
|
1152
|
+
/**
|
|
1153
|
+
* Value help assigned to the `Field` or `FilterField` control
|
|
1154
|
+
*/
|
|
1155
|
+
oValueHelp: sap.ui.mdc.ValueHelp,
|
|
1156
|
+
/**
|
|
1157
|
+
* Condition to check
|
|
1158
|
+
*/
|
|
1159
|
+
oCondition: sap.ui.mdc.condition.ConditionObject,
|
|
1160
|
+
/**
|
|
1161
|
+
* Array of conditions
|
|
1162
|
+
*/
|
|
1163
|
+
aConditions: sap.ui.mdc.condition.ConditionObject[]
|
|
1164
|
+
): int;
|
|
1126
1165
|
/**
|
|
1127
1166
|
* Checks if entered text matches text found from value help
|
|
1128
1167
|
*
|
|
@@ -1342,6 +1381,11 @@ declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
|
1342
1381
|
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
1343
1382
|
* Any changes of the returned values might result in undesired effects.
|
|
1344
1383
|
*
|
|
1384
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.filterbar.FilterBarBase#setPropertyInfo`) must not
|
|
1385
|
+
* be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/FilterBarDelegate.fetchProperties fetchProperties }
|
|
1386
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
1387
|
+
* as the opening of any personalization dialog) are activated.
|
|
1388
|
+
*
|
|
1345
1389
|
*
|
|
1346
1390
|
* @returns `Promise` that resolves into an array of property info objects
|
|
1347
1391
|
*/
|
|
@@ -1479,11 +1523,7 @@ declare module "sap/ui/mdc/LinkDelegate" {
|
|
|
1479
1523
|
/**
|
|
1480
1524
|
* Binding context of the `Link` control
|
|
1481
1525
|
*/
|
|
1482
|
-
oBindingContext: sap.ui.model.Context | null | undefined
|
|
1483
|
-
/**
|
|
1484
|
-
* InfoLog of the `Link` control
|
|
1485
|
-
*/
|
|
1486
|
-
oInfoLog: /* was: sap.ui.mdc.link.Log */ any
|
|
1526
|
+
oBindingContext: sap.ui.model.Context | null | undefined
|
|
1487
1527
|
): Promise<null | sap.ui.mdc.link.LinkItem[]>;
|
|
1488
1528
|
/**
|
|
1489
1529
|
* Calculates and returns the type of link that is displayed.
|
|
@@ -1686,9 +1726,9 @@ declare module "sap/ui/mdc/odata/v4/TableDelegate" {
|
|
|
1686
1726
|
*/
|
|
1687
1727
|
getInResultPropertyKeys(
|
|
1688
1728
|
/**
|
|
1689
|
-
* of the table
|
|
1729
|
+
* Instance of the table
|
|
1690
1730
|
*/
|
|
1691
|
-
|
|
1731
|
+
oTable: sap.ui.mdc.Table
|
|
1692
1732
|
): string[];
|
|
1693
1733
|
/**
|
|
1694
1734
|
* Updates the binding of the table with the binding info object returned from {@link module:sap/ui/mdc/TableDelegate.updateBindingInfo updateBindingInfo}.
|
|
@@ -1875,6 +1915,11 @@ declare module "sap/ui/mdc/TableDelegate" {
|
|
|
1875
1915
|
* **Note:** The result of this function must be kept stable throughout the lifecycle of your application.
|
|
1876
1916
|
* Any changes of the returned values might result in undesired effects.
|
|
1877
1917
|
*
|
|
1918
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`) must not be removed and their
|
|
1919
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
1920
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
1921
|
+
* as the opening of any personalization dialog) are activated.
|
|
1922
|
+
*
|
|
1878
1923
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1879
1924
|
*
|
|
1880
1925
|
* @returns A `Promise` that resolves with the property information
|
|
@@ -2442,8 +2487,9 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2442
2487
|
/**
|
|
2443
2488
|
* Returns filters that are used when updating the binding of the `ValueHelp`.
|
|
2444
2489
|
* By default, this method returns a set of {@link sap.ui.model.Filter Filters} originating from an available
|
|
2445
|
-
* {@link sap.ui.mdc.FilterBar FilterBar}, the delegate's own {@link
|
|
2446
|
-
*
|
|
2490
|
+
* {@link sap.ui.mdc.FilterBar FilterBar}, the delegate's own {@link module:sap/ui/mdc/ValueHelpDelegate.getFilterConditions getFilterConditions},
|
|
2491
|
+
* and/or the {@link sap.ui.mdc.valuehelp.base.FilterableListContent#getFilterFields filterFields} configuration
|
|
2492
|
+
* of the given {@link sap.ui.mdc.valuehelp.base.FilterableListContent FilterableListContent}.
|
|
2447
2493
|
*
|
|
2448
2494
|
* @since 1.121
|
|
2449
2495
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -2467,14 +2513,15 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2467
2513
|
* 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}.
|
|
2468
2514
|
*
|
|
2469
2515
|
* To determine which columns are relevant for the search, the currently active displayMode {@link sap.ui.mdc.enums.FieldDisplay Display }
|
|
2470
|
-
* of the connected control will be used. While a
|
|
2471
|
-
*
|
|
2516
|
+
* of the connected control will be used. While a `Value` configuration will lead to a 'key'-only search,
|
|
2517
|
+
* `DescriptionValue` leads to searching the description first and the key afterwards. Other modes work
|
|
2518
|
+
* the same way.
|
|
2472
2519
|
*
|
|
2473
2520
|
* For each relevant column all items are searched for an exact match first and again with a startsWith
|
|
2474
2521
|
* filter afterwards, if necessary.
|
|
2475
2522
|
*
|
|
2476
|
-
* If the caseSensitive property is disabled,
|
|
2477
|
-
*
|
|
2523
|
+
* If the `caseSensitive` property is disabled, whichever entry comes first, wins, whether the user's input
|
|
2524
|
+
* is in lowercase or uppercase letters.
|
|
2478
2525
|
*
|
|
2479
2526
|
* {@link sap.ui.mdc.valuehelp.base.ListContent ListContent}
|
|
2480
2527
|
*
|
|
@@ -2554,9 +2601,9 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2554
2601
|
): boolean;
|
|
2555
2602
|
/**
|
|
2556
2603
|
* Determines is the filtering used for type-ahead is case sensitive.
|
|
2557
|
-
* By default the value of the {@link sap.ui.mdc.base.ListContent#getCaseSensitive CaseSensitive}
|
|
2558
|
-
* of the content instance is returned. If `$search` or other methods are used this might depend
|
|
2559
|
-
* backend logic.
|
|
2604
|
+
* By default the value of the {@link sap.ui.mdc.valuehelp.base.ListContent#getCaseSensitive CaseSensitive }
|
|
2605
|
+
* property of the content instance is returned. If `$search` or other methods are used this might depend
|
|
2606
|
+
* on the backend logic.
|
|
2560
2607
|
*
|
|
2561
2608
|
* @since 1.121.0
|
|
2562
2609
|
*
|
|
@@ -2600,7 +2647,7 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2600
2647
|
*
|
|
2601
2648
|
* @since 1.101.0
|
|
2602
2649
|
*
|
|
2603
|
-
* @returns
|
|
2650
|
+
* @returns oResult Selection event configuration object
|
|
2604
2651
|
*/
|
|
2605
2652
|
modifySelectionBehaviour(
|
|
2606
2653
|
/**
|
|
@@ -2618,11 +2665,13 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2618
2665
|
/**
|
|
2619
2666
|
* Type of the selection change (add, remove)
|
|
2620
2667
|
*/
|
|
2621
|
-
type:
|
|
2668
|
+
type:
|
|
2669
|
+
| sap.ui.mdc.enums.ValueHelpSelectionType
|
|
2670
|
+
| keyof typeof sap.ui.mdc.enums.ValueHelpSelectionType;
|
|
2622
2671
|
/**
|
|
2623
|
-
* Array of changed conditions
|
|
2672
|
+
* Array of changed conditions
|
|
2624
2673
|
*/
|
|
2625
|
-
conditions:
|
|
2674
|
+
conditions: sap.ui.mdc.condition.ConditionObject[];
|
|
2626
2675
|
}
|
|
2627
2676
|
): object;
|
|
2628
2677
|
/**
|
|
@@ -3831,6 +3880,10 @@ declare namespace sap {
|
|
|
3831
3880
|
* on a selectionDetails popover
|
|
3832
3881
|
*/
|
|
3833
3882
|
unitPath?: object;
|
|
3883
|
+
/**
|
|
3884
|
+
* The `timeUnitType` type for a `TimeDimension`. If set, a `TimeDimension` is created instead of a `Dimension`
|
|
3885
|
+
*/
|
|
3886
|
+
timeUnitType?: string;
|
|
3834
3887
|
};
|
|
3835
3888
|
|
|
3836
3889
|
/**
|
|
@@ -3866,15 +3919,13 @@ declare namespace sap {
|
|
|
3866
3919
|
};
|
|
3867
3920
|
}
|
|
3868
3921
|
/**
|
|
3869
|
-
* Modules to handle conditions used in {@link sap.ui.mdc.FilterField FilterField}
|
|
3870
|
-
* or {@link sap.ui.mdc.condition.ConditionModel ConditionModel}.
|
|
3922
|
+
* Modules to handle conditions used in {@link sap.ui.mdc.FilterField FilterField} or {@link sap.ui.mdc.FilterBar FilterBar}.
|
|
3871
3923
|
*
|
|
3872
3924
|
* @since 1.61.0
|
|
3873
3925
|
*/
|
|
3874
3926
|
namespace condition {
|
|
3875
3927
|
/**
|
|
3876
|
-
* Utilities to create conditions to be used in {@link sap.ui.mdc.FilterField FilterField}
|
|
3877
|
-
* or {@link sap.ui.mdc.condition.ConditionModel ConditionModel}.
|
|
3928
|
+
* Utilities to create conditions to be used in {@link sap.ui.mdc.FilterField FilterField} or {@link sap.ui.mdc.FilterBar FilterBar}.
|
|
3878
3929
|
*
|
|
3879
3930
|
* @since 1.61.0
|
|
3880
3931
|
*/
|
|
@@ -3903,7 +3954,7 @@ declare namespace sap {
|
|
|
3903
3954
|
*/
|
|
3904
3955
|
oOutParameters: object,
|
|
3905
3956
|
/**
|
|
3906
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
3957
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
3907
3958
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
3908
3959
|
*/
|
|
3909
3960
|
sValidated: sap.ui.mdc.enums.ConditionValidated,
|
|
@@ -3932,7 +3983,7 @@ declare namespace sap {
|
|
|
3932
3983
|
*/
|
|
3933
3984
|
oInParameters: object,
|
|
3934
3985
|
/**
|
|
3935
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
3986
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
3936
3987
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
3937
3988
|
*/
|
|
3938
3989
|
sValidated: sap.ui.mdc.enums.ConditionValidated,
|
|
@@ -3961,7 +4012,7 @@ declare namespace sap {
|
|
|
3961
4012
|
*/
|
|
3962
4013
|
oOutParameters: object,
|
|
3963
4014
|
/**
|
|
3964
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
4015
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
3965
4016
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
3966
4017
|
*/
|
|
3967
4018
|
sValidated: sap.ui.mdc.enums.ConditionValidated,
|
|
@@ -3986,7 +4037,7 @@ declare namespace sap {
|
|
|
3986
4037
|
*/
|
|
3987
4038
|
aValues: any[],
|
|
3988
4039
|
/**
|
|
3989
|
-
* If set to `ConditionValidated.Validated`, the condition is validated (by the
|
|
4040
|
+
* If set to `ConditionValidated.Validated`, the condition is validated (by the value help) and not shown
|
|
3990
4041
|
* in the {@link sap.ui.mdc.valuehelp.content.Conditions Conditions} content
|
|
3991
4042
|
*/
|
|
3992
4043
|
sValidated: sap.ui.mdc.enums.ConditionValidated,
|
|
@@ -4006,9 +4057,9 @@ declare namespace sap {
|
|
|
4006
4057
|
*/
|
|
4007
4058
|
createItemCondition(
|
|
4008
4059
|
/**
|
|
4009
|
-
*
|
|
4060
|
+
* Key value for the condition
|
|
4010
4061
|
*/
|
|
4011
|
-
|
|
4062
|
+
vKey: any,
|
|
4012
4063
|
/**
|
|
4013
4064
|
* Description of the operator
|
|
4014
4065
|
*/
|
|
@@ -4143,15 +4194,18 @@ declare namespace sap {
|
|
|
4143
4194
|
): void;
|
|
4144
4195
|
/**
|
|
4145
4196
|
* Removes all given operators from the list of known operators.
|
|
4197
|
+
*
|
|
4198
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
4199
|
+
* itself, or multiple operators inside an array.
|
|
4146
4200
|
*/
|
|
4147
4201
|
removeOperators(
|
|
4148
4202
|
/**
|
|
4149
4203
|
* Array of operators
|
|
4150
|
-
*
|
|
4151
|
-
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
4152
|
-
* itself, or multiple operators inside an array.
|
|
4153
4204
|
*/
|
|
4154
|
-
aOperators:
|
|
4205
|
+
aOperators:
|
|
4206
|
+
| sap.ui.mdc.condition.Operator[]
|
|
4207
|
+
| sap.ui.mdc.condition.Operator
|
|
4208
|
+
| string[]
|
|
4155
4209
|
): void;
|
|
4156
4210
|
/**
|
|
4157
4211
|
* Sets the default operator for the list of operators for a type.
|
|
@@ -4170,6 +4224,11 @@ declare namespace sap {
|
|
|
4170
4224
|
): void;
|
|
4171
4225
|
/**
|
|
4172
4226
|
* Adds operators to the list of valid operators for a type.
|
|
4227
|
+
*
|
|
4228
|
+
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
4229
|
+
* itself, or multiple operators inside an array.
|
|
4230
|
+
*
|
|
4231
|
+
* **Note**: `vDefaultOperator` must exist as a valid operator for the type.
|
|
4173
4232
|
*/
|
|
4174
4233
|
setOperatorsForType(
|
|
4175
4234
|
/**
|
|
@@ -4179,13 +4238,12 @@ declare namespace sap {
|
|
|
4179
4238
|
/**
|
|
4180
4239
|
* Operators
|
|
4181
4240
|
*/
|
|
4182
|
-
aOperators:
|
|
4241
|
+
aOperators:
|
|
4242
|
+
| sap.ui.mdc.condition.Operator[]
|
|
4243
|
+
| sap.ui.mdc.condition.Operator
|
|
4244
|
+
| string[],
|
|
4183
4245
|
/**
|
|
4184
4246
|
* The default operator instance or default operator name
|
|
4185
|
-
*
|
|
4186
|
-
* **Note**: `aOperators` can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance
|
|
4187
|
-
* itself, or multiple operators inside an array. **Note**: `vDefaultOperator` must exist as a valid operator
|
|
4188
|
-
* for the type.
|
|
4189
4247
|
*/
|
|
4190
4248
|
vDefaultOperator: sap.ui.mdc.condition.Operator | string
|
|
4191
4249
|
): void;
|
|
@@ -4210,7 +4268,8 @@ declare namespace sap {
|
|
|
4210
4268
|
*/
|
|
4211
4269
|
name: string;
|
|
4212
4270
|
/**
|
|
4213
|
-
* Alias names based on
|
|
4271
|
+
* Alias names based on {@link sap.ui.mdc.enums.BaseType BaseType}, used to map to {@link sap.m.DynamicDateOption DynamicDateOption }
|
|
4272
|
+
* if {@link sap.m.DynamicDateRange DynamicDateRange} is used to visualize the filter
|
|
4214
4273
|
*/
|
|
4215
4274
|
alias?: object;
|
|
4216
4275
|
/**
|
|
@@ -4260,16 +4319,26 @@ declare namespace sap {
|
|
|
4260
4319
|
paramTypes?: string[];
|
|
4261
4320
|
/**
|
|
4262
4321
|
* String representation of the operator as a long text.
|
|
4263
|
-
*
|
|
4264
|
-
*
|
|
4322
|
+
* This text is shown in the operator dropdown of the value help.
|
|
4323
|
+
* If `longText` is not given , the `tokenText` is used, replacing the placeholders "{0}" and "{1}" with
|
|
4324
|
+
* "X" and "Y".
|
|
4265
4325
|
*/
|
|
4266
4326
|
longText?: string;
|
|
4267
4327
|
/**
|
|
4268
4328
|
* String representation of the operator as a short text.
|
|
4269
|
-
*
|
|
4270
|
-
*
|
|
4329
|
+
* This text is only needed if there any language dependent text should be shown on the token, like "Next
|
|
4330
|
+
* 5 days". (In this case `#tokenText#` is used in `tokenFormat`, `tokenTest`, or `tokenParse`.) For operators
|
|
4331
|
+
* just showing the value and a operator symbol, no token text is needed.
|
|
4332
|
+
* If the token text is not given, the `longText` is used.
|
|
4271
4333
|
*/
|
|
4272
4334
|
tokenText?: string;
|
|
4335
|
+
/**
|
|
4336
|
+
* Object holding String representation of the operator as a long text for single basic types.
|
|
4337
|
+
* This text is shown in the operator dropdown of the value help.
|
|
4338
|
+
* This is needed if the text depends on the used data type. For example the "less than" operator should
|
|
4339
|
+
* be named "before" if a date or time type is used.
|
|
4340
|
+
*/
|
|
4341
|
+
longTextForTypes?: object;
|
|
4273
4342
|
/**
|
|
4274
4343
|
* Pattern how different {@link sap.ui.mdc.enums.FieldDisplay displayFormats} are rendered
|
|
4275
4344
|
*/
|
|
@@ -4315,7 +4384,7 @@ declare namespace sap {
|
|
|
4315
4384
|
*/
|
|
4316
4385
|
exclude?: boolean;
|
|
4317
4386
|
/**
|
|
4318
|
-
* If set, the user input for this operator needs to be validated using a
|
|
4387
|
+
* If set, the user input for this operator needs to be validated using a value help
|
|
4319
4388
|
*/
|
|
4320
4389
|
validateInput?: boolean;
|
|
4321
4390
|
/**
|
|
@@ -4329,7 +4398,24 @@ declare namespace sap {
|
|
|
4329
4398
|
*/
|
|
4330
4399
|
group?: {
|
|
4331
4400
|
/**
|
|
4332
|
-
* Group ID for the operator.
|
|
4401
|
+
* Group ID for the operator. The following groups are available for the {@link sap.m.DynamicDateRange DynamicDateRange }
|
|
4402
|
+
* control:
|
|
4403
|
+
*
|
|
4404
|
+
* - 1 - Single Dates
|
|
4405
|
+
* - 2 - Date Ranges
|
|
4406
|
+
* - 3 - Weeks
|
|
4407
|
+
* - 4 - Months
|
|
4408
|
+
* - 5 - Quarters
|
|
4409
|
+
* - 6 - Years See {@link sap.m.DynamicDateRangeGroups DynamicDateRangeGroups}.
|
|
4410
|
+
* This only works for `FilterFields` with custom operators if `maxConditions=1` and no `valueHelp` is
|
|
4411
|
+
* assigned to the `FilterField`. Example:
|
|
4412
|
+
* group: undefined - if group is not specified; default behavior include/exclude group with id 1 and 2
|
|
4413
|
+
* will be created
|
|
4414
|
+
* group: {id : 1} - adds the operator to existing group 1 'Single Dates'
|
|
4415
|
+
* group: {id : 2, text: "new group"} - inserts a new group with id 2. Existing group 2 will be shifted
|
|
4416
|
+
* to 3, 4....
|
|
4417
|
+
* group: {id : 10, text: "new group at the end"} - adds a new group with id 10 and text "new group as
|
|
4418
|
+
* the end" to the end of all groups
|
|
4333
4419
|
*/
|
|
4334
4420
|
id: string;
|
|
4335
4421
|
/**
|
|
@@ -4338,24 +4424,7 @@ declare namespace sap {
|
|
|
4338
4424
|
text?: string;
|
|
4339
4425
|
};
|
|
4340
4426
|
/**
|
|
4341
|
-
* Function to determine the text copied into clipboard
|
|
4342
|
-
* control:
|
|
4343
|
-
*
|
|
4344
|
-
* - 1 - Single Dates
|
|
4345
|
-
* - 2 - Date Ranges
|
|
4346
|
-
* - 3 - Weeks
|
|
4347
|
-
* - 4 - Months
|
|
4348
|
-
* - 5 - Quarters
|
|
4349
|
-
* - 6 - Years See {@link sap.m.DynamicDateRangeGroups DynamicDateRangeGroups}.
|
|
4350
|
-
* This only works for `FilterFields` with custom operators if `maxConditions=1` and no `valueHelp` is
|
|
4351
|
-
* assigned to the `FilterField`. Example:
|
|
4352
|
-
* group: undefined - if group is not specified; default behavior include/exclude group with id 1 and 2
|
|
4353
|
-
* will be created
|
|
4354
|
-
* group: {id : 1} - adds the operator to existing group 1 'Single Dates'
|
|
4355
|
-
* group: {id : 2, text: "new group"} - inserts a new group with id 2. Existing group 2 will be shifted
|
|
4356
|
-
* to 3, 4....
|
|
4357
|
-
* group: {id : 10, text: "new group at the end"} - adds a new group with id 10 and text "new group as
|
|
4358
|
-
* the end" to the end of all groups
|
|
4427
|
+
* Function to determine the text copied into clipboard
|
|
4359
4428
|
*/
|
|
4360
4429
|
getTextForCopy?: Function;
|
|
4361
4430
|
}
|
|
@@ -4422,21 +4491,21 @@ declare namespace sap {
|
|
|
4422
4491
|
class RangeOperator extends sap.ui.mdc.condition.Operator {
|
|
4423
4492
|
constructor(
|
|
4424
4493
|
/**
|
|
4425
|
-
*
|
|
4494
|
+
* Includes all parameters of {@link sap.ui.mdc.condition.Operator Operator} and adds some special ones
|
|
4426
4495
|
*/
|
|
4427
4496
|
oConfiguration: {
|
|
4428
4497
|
/**
|
|
4429
|
-
*
|
|
4430
|
-
*
|
|
4498
|
+
* Additional array of labels for the values of the operator. Will be shown as placeholder text or label
|
|
4499
|
+
* of the value fields.
|
|
4431
4500
|
*/
|
|
4432
|
-
label?: string;
|
|
4501
|
+
label?: string[];
|
|
4433
4502
|
/**
|
|
4434
|
-
*
|
|
4503
|
+
* Function to calculate the date range of the operation. The function returns an array of `UniversalDates`.
|
|
4435
4504
|
* In case of a single `filterOperator` the array can return a single value.
|
|
4436
4505
|
*/
|
|
4437
4506
|
calcRange: Function;
|
|
4438
4507
|
/**
|
|
4439
|
-
*
|
|
4508
|
+
* Function to format the date range.
|
|
4440
4509
|
*/
|
|
4441
4510
|
formatRange?: Function;
|
|
4442
4511
|
/**
|
|
@@ -4490,7 +4559,7 @@ declare namespace sap {
|
|
|
4490
4559
|
operator: string;
|
|
4491
4560
|
/**
|
|
4492
4561
|
* Array of values of the condition. Depending on the `operator`, this contains one or more entries. The
|
|
4493
|
-
* entries are
|
|
4562
|
+
* entries are stored in an internal format regarding the used data type.
|
|
4494
4563
|
*/
|
|
4495
4564
|
values: any[];
|
|
4496
4565
|
/**
|
|
@@ -4670,7 +4739,41 @@ declare namespace sap {
|
|
|
4670
4739
|
*
|
|
4671
4740
|
* @since 1.115
|
|
4672
4741
|
*/
|
|
4673
|
-
enum ContentMode {
|
|
4742
|
+
enum ContentMode {
|
|
4743
|
+
/**
|
|
4744
|
+
* Display mode for single value
|
|
4745
|
+
*/
|
|
4746
|
+
Display = "Display",
|
|
4747
|
+
/**
|
|
4748
|
+
* Display mode for multiline single value
|
|
4749
|
+
*/
|
|
4750
|
+
DisplayMultiLine = "DisplayMultiLine",
|
|
4751
|
+
/**
|
|
4752
|
+
* Display mode for multiple values
|
|
4753
|
+
*/
|
|
4754
|
+
DisplayMultiValue = "DisplayMultiValue",
|
|
4755
|
+
/**
|
|
4756
|
+
* Edit mode for single value
|
|
4757
|
+
*/
|
|
4758
|
+
Edit = "Edit",
|
|
4759
|
+
/**
|
|
4760
|
+
* Edit mode for single value field if a field help is assigned To support field help, in some cases a different
|
|
4761
|
+
* control needs to be rendered.
|
|
4762
|
+
*/
|
|
4763
|
+
EditForHelp = "EditForHelp",
|
|
4764
|
+
/**
|
|
4765
|
+
* Edit mode for multiple lines single value
|
|
4766
|
+
*/
|
|
4767
|
+
EditMultiLine = "EditMultiLine",
|
|
4768
|
+
/**
|
|
4769
|
+
* Edit mode for multiple values
|
|
4770
|
+
*/
|
|
4771
|
+
EditMultiValue = "EditMultiValue",
|
|
4772
|
+
/**
|
|
4773
|
+
* Edit mode for operator dependent controls This is used for single value and only one operator.
|
|
4774
|
+
*/
|
|
4775
|
+
EditOperator = "EditOperator",
|
|
4776
|
+
}
|
|
4674
4777
|
/**
|
|
4675
4778
|
* Defines the output of a {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.FilterField FilterField}, or
|
|
4676
4779
|
* {@link sap.ui.mdc.MultiValueField MultiValueField} control.
|
|
@@ -5360,17 +5463,17 @@ declare namespace sap {
|
|
|
5360
5463
|
YESTERDAY = "YESTERDAY",
|
|
5361
5464
|
}
|
|
5362
5465
|
/**
|
|
5363
|
-
* Enumeration of the
|
|
5466
|
+
* Enumeration of the {@link sap.ui.mdc.condition.Operator#OperatorOverwrite OperatorOverwrite} in {@link sap.ui.mdc.condition.Operator Operator}.
|
|
5364
5467
|
*
|
|
5365
5468
|
* @since 1.115
|
|
5366
5469
|
*/
|
|
5367
5470
|
enum OperatorOverwrite {
|
|
5368
5471
|
/**
|
|
5369
|
-
*
|
|
5472
|
+
* Overwrites the `getLongText` function of the operator.
|
|
5370
5473
|
*/
|
|
5371
5474
|
getLongText = "getLongText",
|
|
5372
5475
|
/**
|
|
5373
|
-
*
|
|
5476
|
+
* Overwrites the `getModelFilter` function of the operator.
|
|
5374
5477
|
*/
|
|
5375
5478
|
getModelFilter = "getModelFilter",
|
|
5376
5479
|
}
|
|
@@ -5394,6 +5497,29 @@ declare namespace sap {
|
|
|
5394
5497
|
*/
|
|
5395
5498
|
Static = "static",
|
|
5396
5499
|
}
|
|
5500
|
+
/**
|
|
5501
|
+
* Enumeration of the possible reasons for the search event.
|
|
5502
|
+
*
|
|
5503
|
+
* @since 1.115
|
|
5504
|
+
*/
|
|
5505
|
+
enum ReasonMode {
|
|
5506
|
+
/**
|
|
5507
|
+
* Enter pressed in filter field.
|
|
5508
|
+
*/
|
|
5509
|
+
Enter = "Enter",
|
|
5510
|
+
/**
|
|
5511
|
+
* Go button pressed.
|
|
5512
|
+
*/
|
|
5513
|
+
Go = "Go",
|
|
5514
|
+
/**
|
|
5515
|
+
* Used if the mentioned reasons are not applicable.
|
|
5516
|
+
*/
|
|
5517
|
+
Unclear = "",
|
|
5518
|
+
/**
|
|
5519
|
+
* The applied variant is marked as Apply Automatically.
|
|
5520
|
+
*/
|
|
5521
|
+
Variant = "Variant",
|
|
5522
|
+
}
|
|
5397
5523
|
/**
|
|
5398
5524
|
* Growing mode of the table.
|
|
5399
5525
|
*
|
|
@@ -5509,7 +5635,8 @@ declare namespace sap {
|
|
|
5509
5635
|
Table = "Table",
|
|
5510
5636
|
}
|
|
5511
5637
|
/**
|
|
5512
|
-
* Enumeration of the propagation reason in the
|
|
5638
|
+
* Enumeration of the propagation reason in the {@link sap.ui.mdc.ValueHelpDelegate#onConditionPropagation condition propagation callback }
|
|
5639
|
+
* of the {@link sap.ui.mdc.ValueHelp ValueHelp}
|
|
5513
5640
|
*
|
|
5514
5641
|
* @since 1.115
|
|
5515
5642
|
*/
|
|
@@ -5527,6 +5654,25 @@ declare namespace sap {
|
|
|
5527
5654
|
*/
|
|
5528
5655
|
Select = "Select",
|
|
5529
5656
|
}
|
|
5657
|
+
/**
|
|
5658
|
+
* Enumeration of the possible selection types in {@link sap.ui.mdc.ValueHelp ValueHelp}
|
|
5659
|
+
*
|
|
5660
|
+
* @since 1.115
|
|
5661
|
+
*/
|
|
5662
|
+
enum ValueHelpSelectionType {
|
|
5663
|
+
/**
|
|
5664
|
+
* The given conditions are just added to the existing ones, if they don't already exist.
|
|
5665
|
+
*/
|
|
5666
|
+
Add = "Add",
|
|
5667
|
+
/**
|
|
5668
|
+
* The given conditions are removed.
|
|
5669
|
+
*/
|
|
5670
|
+
Remove = "Remove",
|
|
5671
|
+
/**
|
|
5672
|
+
* The given conditions are set and replace the existing ones.
|
|
5673
|
+
*/
|
|
5674
|
+
Set = "Set",
|
|
5675
|
+
}
|
|
5530
5676
|
}
|
|
5531
5677
|
/**
|
|
5532
5678
|
* Modules for {@link sap.ui.mdc.Field Field}, {@link sap.ui.mdc.MultiValueField MultiValueField}, and {@link sap.ui.mdc.FilterField FilterField}
|
|
@@ -5671,11 +5817,10 @@ declare namespace sap {
|
|
|
5671
5817
|
/**
|
|
5672
5818
|
* Sets the conditions that represent the values of the field.
|
|
5673
5819
|
*
|
|
5674
|
-
* These should be bound to a {@link sap.ui.mdc.
|
|
5675
|
-
* `fieldPath`.
|
|
5820
|
+
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
5676
5821
|
*
|
|
5677
5822
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property must be
|
|
5678
|
-
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link sap.ui.mdc.
|
|
5823
|
+
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link @link sap.ui.mdc.FilterBar FilterBar}.
|
|
5679
5824
|
* For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
5680
5825
|
* control, the binding looks like this:
|
|
5681
5826
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
@@ -7070,11 +7215,10 @@ declare namespace sap {
|
|
|
7070
7215
|
*
|
|
7071
7216
|
* Sets the conditions that represent the values of the field.
|
|
7072
7217
|
*
|
|
7073
|
-
* These should be bound to a {@link sap.ui.mdc.
|
|
7074
|
-
* `fieldPath`.
|
|
7218
|
+
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
7075
7219
|
*
|
|
7076
7220
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property must be
|
|
7077
|
-
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link sap.ui.mdc.
|
|
7221
|
+
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link @link sap.ui.mdc.FilterBar FilterBar}.
|
|
7078
7222
|
* For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
7079
7223
|
* control, the binding looks like this:
|
|
7080
7224
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
@@ -7616,11 +7760,10 @@ declare namespace sap {
|
|
|
7616
7760
|
*
|
|
7617
7761
|
* Sets the conditions that represent the values of the field.
|
|
7618
7762
|
*
|
|
7619
|
-
* These should be bound to a {@link sap.ui.mdc.
|
|
7620
|
-
* `fieldPath`.
|
|
7763
|
+
* These should be bound to a {@link sap.ui.mdc.FilterBar FilterBar} using the corresponding `propertyPath`.
|
|
7621
7764
|
*
|
|
7622
7765
|
* **Note:** For {@link sap.ui.mdc.FilterField FilterField} controls, the `conditions` property must be
|
|
7623
|
-
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link sap.ui.mdc.
|
|
7766
|
+
* used to bind {@link sap.ui.mdc.FilterField FilterField} to a {@link @link sap.ui.mdc.FilterBar FilterBar}.
|
|
7624
7767
|
* For example, for a {@link sap.ui.mdc.FilterField FilterField} control inside a {@link sap.ui.mdc.FilterBar FilterBar }
|
|
7625
7768
|
* control, the binding looks like this:
|
|
7626
7769
|
* `conditions="{$filters>/conditions/propertyPath}"` with the following data:
|
|
@@ -8718,7 +8861,10 @@ declare namespace sap {
|
|
|
8718
8861
|
* **Note**: This property must not be bound.
|
|
8719
8862
|
* **Note**: This property is used exclusively for SAPUI5 flexibility/ Fiori Elements. Do not use it otherwise.
|
|
8720
8863
|
* **Node**: Please check {@link sap.ui.mdc.filterbar.PropertyInfo} for more information about the supported
|
|
8721
|
-
* inner elements.
|
|
8864
|
+
* inner elements. **Note**: Existing properties (set via `sap.ui.mdc.filterbar.FilterBarBase#setPropertyInfo`)
|
|
8865
|
+
* must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/FilterBarDelegate.fetchProperties fetchProperties }
|
|
8866
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
8867
|
+
* as the opening of any personalization dialog) are activated.
|
|
8722
8868
|
*
|
|
8723
8869
|
* @since 1.97
|
|
8724
8870
|
*/
|
|
@@ -8812,7 +8958,7 @@ declare namespace sap {
|
|
|
8812
8958
|
* - `{@link sap.ui.mdc.enums.ReasonMode.Go}`: Search is triggered based on pressing the Go button
|
|
8813
8959
|
* - `{@link sap.ui.mdc.enums.ReasonMode.Unclear}`: Any other reasons for the search
|
|
8814
8960
|
*/
|
|
8815
|
-
reason?:
|
|
8961
|
+
reason?: sap.ui.mdc.enums.ReasonMode;
|
|
8816
8962
|
}
|
|
8817
8963
|
|
|
8818
8964
|
/**
|
|
@@ -9287,6 +9433,13 @@ declare namespace sap {
|
|
|
9287
9433
|
*/
|
|
9288
9434
|
oDelegate?: object
|
|
9289
9435
|
): this;
|
|
9436
|
+
/**
|
|
9437
|
+
* Sets the focus on the first filter in error state.
|
|
9438
|
+
*
|
|
9439
|
+
*
|
|
9440
|
+
* @returns The first filter field in error state
|
|
9441
|
+
*/
|
|
9442
|
+
setFocusOnFirstErroneousField(): sap.ui.mdc.FilterField | null;
|
|
9290
9443
|
/**
|
|
9291
9444
|
* Sets a new value for property {@link #getLiveMode liveMode}.
|
|
9292
9445
|
*
|
|
@@ -9612,7 +9765,7 @@ declare namespace sap {
|
|
|
9612
9765
|
*/
|
|
9613
9766
|
namespace valuehelp {
|
|
9614
9767
|
/**
|
|
9615
|
-
* Base
|
|
9768
|
+
* Base modules for {@link sap.ui.mdc.ValueHelp ValueHelp}
|
|
9616
9769
|
*
|
|
9617
9770
|
* These modules must not be used stand-alone.
|
|
9618
9771
|
*
|
|
@@ -9687,7 +9840,7 @@ declare namespace sap {
|
|
|
9687
9840
|
*
|
|
9688
9841
|
* If it is empty, no suggestion is available.
|
|
9689
9842
|
*
|
|
9690
|
-
* @deprecated (since 1.120.2) -
|
|
9843
|
+
* @deprecated (since 1.120.2) - replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
9691
9844
|
*/
|
|
9692
9845
|
filterFields?:
|
|
9693
9846
|
| string
|
|
@@ -9800,6 +9953,11 @@ declare namespace sap {
|
|
|
9800
9953
|
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
9801
9954
|
*/
|
|
9802
9955
|
itemId?: string;
|
|
9956
|
+
|
|
9957
|
+
/**
|
|
9958
|
+
* If `true` the filtering was executed case sensitive
|
|
9959
|
+
*/
|
|
9960
|
+
caseSensitive?: boolean;
|
|
9803
9961
|
}
|
|
9804
9962
|
|
|
9805
9963
|
/**
|
|
@@ -9834,7 +9992,7 @@ declare namespace sap {
|
|
|
9834
9992
|
/**
|
|
9835
9993
|
* Type of the selection change (add, remove)
|
|
9836
9994
|
*/
|
|
9837
|
-
type?:
|
|
9995
|
+
type?: sap.ui.mdc.enums.ValueHelpSelectionType;
|
|
9838
9996
|
|
|
9839
9997
|
/**
|
|
9840
9998
|
* Changed conditions
|
|
@@ -9865,12 +10023,22 @@ declare namespace sap {
|
|
|
9865
10023
|
*/
|
|
9866
10024
|
itemId?: string;
|
|
9867
10025
|
|
|
10026
|
+
/**
|
|
10027
|
+
* Number of found items
|
|
10028
|
+
*/
|
|
10029
|
+
items?: int;
|
|
10030
|
+
|
|
9868
10031
|
/**
|
|
9869
10032
|
* If `true` the filtering was executed case sensitive
|
|
9870
10033
|
*/
|
|
9871
10034
|
caseSensitive?: boolean;
|
|
9872
10035
|
}
|
|
9873
10036
|
|
|
10037
|
+
/**
|
|
10038
|
+
* Parameters of the Container#visualFocusSet event.
|
|
10039
|
+
*/
|
|
10040
|
+
interface Container$VisualFocusSetEventParameters {}
|
|
10041
|
+
|
|
9874
10042
|
/**
|
|
9875
10043
|
* Parameters of the Content#cancel event.
|
|
9876
10044
|
*/
|
|
@@ -9906,6 +10074,11 @@ declare namespace sap {
|
|
|
9906
10074
|
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
9907
10075
|
*/
|
|
9908
10076
|
itemId?: string;
|
|
10077
|
+
|
|
10078
|
+
/**
|
|
10079
|
+
* If `true` the filtering was executed case sensitive
|
|
10080
|
+
*/
|
|
10081
|
+
caseSensitive?: boolean;
|
|
9909
10082
|
}
|
|
9910
10083
|
|
|
9911
10084
|
/**
|
|
@@ -9920,7 +10093,7 @@ declare namespace sap {
|
|
|
9920
10093
|
/**
|
|
9921
10094
|
* Type of the selection change (add, remove)
|
|
9922
10095
|
*/
|
|
9923
|
-
type?:
|
|
10096
|
+
type?: sap.ui.mdc.enums.ValueHelpSelectionType;
|
|
9924
10097
|
|
|
9925
10098
|
/**
|
|
9926
10099
|
* Changed conditions
|
|
@@ -9951,12 +10124,22 @@ declare namespace sap {
|
|
|
9951
10124
|
*/
|
|
9952
10125
|
itemId?: string;
|
|
9953
10126
|
|
|
10127
|
+
/**
|
|
10128
|
+
* Number of found items
|
|
10129
|
+
*/
|
|
10130
|
+
items?: int;
|
|
10131
|
+
|
|
9954
10132
|
/**
|
|
9955
10133
|
* If `true` the filtering was executed case sensitive
|
|
9956
10134
|
*/
|
|
9957
10135
|
caseSensitive?: boolean;
|
|
9958
10136
|
}
|
|
9959
10137
|
|
|
10138
|
+
/**
|
|
10139
|
+
* Parameters of the Content#visualFocusSet event.
|
|
10140
|
+
*/
|
|
10141
|
+
interface Content$VisualFocusSetEventParameters {}
|
|
10142
|
+
|
|
9960
10143
|
/**
|
|
9961
10144
|
* Container for the {@link sap.ui.mdc.ValueHelp ValueHelp} element.
|
|
9962
10145
|
*
|
|
@@ -10239,6 +10422,17 @@ declare namespace sap {
|
|
|
10239
10422
|
*/
|
|
10240
10423
|
oEvent: sap.ui.base.Event
|
|
10241
10424
|
): void;
|
|
10425
|
+
/**
|
|
10426
|
+
* Handles the `visualFocusSet` event of the content.
|
|
10427
|
+
*
|
|
10428
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10429
|
+
*/
|
|
10430
|
+
handleVisualFocusSet(
|
|
10431
|
+
/**
|
|
10432
|
+
* event
|
|
10433
|
+
*/
|
|
10434
|
+
oEvent: sap.ui.base.Event
|
|
10435
|
+
): void;
|
|
10242
10436
|
/**
|
|
10243
10437
|
* Checks for the provided `sap.ui.mdc.valuehelp.base.Content` in the aggregation {@link #getContent content}.
|
|
10244
10438
|
* and returns its index if found or -1 otherwise.
|
|
@@ -10884,7 +11078,7 @@ declare namespace sap {
|
|
|
10884
11078
|
*
|
|
10885
11079
|
* Default value is `empty string`.
|
|
10886
11080
|
*
|
|
10887
|
-
* @deprecated (since 1.120.2) -
|
|
11081
|
+
* @deprecated (since 1.120.2) - replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
10888
11082
|
*
|
|
10889
11083
|
* @returns Value of property `filterFields`
|
|
10890
11084
|
*/
|
|
@@ -10902,23 +11096,6 @@ declare namespace sap {
|
|
|
10902
11096
|
* @returns Value of property `group`
|
|
10903
11097
|
*/
|
|
10904
11098
|
getGroup(): string;
|
|
10905
|
-
/**
|
|
10906
|
-
* Gets an item for a `BindingContext`.
|
|
10907
|
-
*
|
|
10908
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10909
|
-
*
|
|
10910
|
-
* @returns Item object containing `key`, `description`, and `payload`
|
|
10911
|
-
*/
|
|
10912
|
-
getItemFromContext(
|
|
10913
|
-
/**
|
|
10914
|
-
* BindingContext
|
|
10915
|
-
*/
|
|
10916
|
-
oBindingContext: sap.ui.model.Context,
|
|
10917
|
-
/**
|
|
10918
|
-
* Options
|
|
10919
|
-
*/
|
|
10920
|
-
oOptions?: object
|
|
10921
|
-
): object;
|
|
10922
11099
|
/**
|
|
10923
11100
|
* Gets current value of property {@link #getKeyPath keyPath}.
|
|
10924
11101
|
*
|
|
@@ -11007,7 +11184,7 @@ declare namespace sap {
|
|
|
11007
11184
|
*
|
|
11008
11185
|
* Default value is `empty string`.
|
|
11009
11186
|
*
|
|
11010
|
-
* @deprecated (since 1.120.2) -
|
|
11187
|
+
* @deprecated (since 1.120.2) - replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.isSearchSupported isSearchSupported}
|
|
11011
11188
|
*
|
|
11012
11189
|
* @returns Reference to `this` in order to allow method chaining
|
|
11013
11190
|
*/
|
|
@@ -11154,6 +11331,23 @@ declare namespace sap {
|
|
|
11154
11331
|
* @returns Content description path
|
|
11155
11332
|
*/
|
|
11156
11333
|
getDescriptionPath(): string;
|
|
11334
|
+
/**
|
|
11335
|
+
* Gets an item for a `BindingContext`.
|
|
11336
|
+
*
|
|
11337
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11338
|
+
*
|
|
11339
|
+
* @returns Item object containing `key`, `description`, and `payload`
|
|
11340
|
+
*/
|
|
11341
|
+
getItemFromContext(
|
|
11342
|
+
/**
|
|
11343
|
+
* BindingContext
|
|
11344
|
+
*/
|
|
11345
|
+
oBindingContext: sap.ui.model.Context,
|
|
11346
|
+
/**
|
|
11347
|
+
* Options
|
|
11348
|
+
*/
|
|
11349
|
+
oOptions?: object
|
|
11350
|
+
): object;
|
|
11157
11351
|
/**
|
|
11158
11352
|
* Gets current keyPath of the content. **Note:** Every listcontent must implement this method.
|
|
11159
11353
|
*
|
|
@@ -11327,6 +11521,25 @@ declare namespace sap {
|
|
|
11327
11521
|
control: sap.ui.core.Control;
|
|
11328
11522
|
};
|
|
11329
11523
|
|
|
11524
|
+
/**
|
|
11525
|
+
* Configuration object type for normalized definition of a `ValueHelpItem`.
|
|
11526
|
+
*/
|
|
11527
|
+
type ValueHelpItem = {
|
|
11528
|
+
/**
|
|
11529
|
+
* Key
|
|
11530
|
+
*/
|
|
11531
|
+
key: any;
|
|
11532
|
+
/**
|
|
11533
|
+
* Description
|
|
11534
|
+
*/
|
|
11535
|
+
description?: any;
|
|
11536
|
+
/**
|
|
11537
|
+
* Payload of the condition. Set by application. Data needs to be stringified. (as stored and loaded in
|
|
11538
|
+
* variants)
|
|
11539
|
+
*/
|
|
11540
|
+
payload?: object;
|
|
11541
|
+
};
|
|
11542
|
+
|
|
11330
11543
|
/**
|
|
11331
11544
|
* Event object of the Container#cancel event.
|
|
11332
11545
|
*/
|
|
@@ -11399,6 +11612,14 @@ declare namespace sap {
|
|
|
11399
11612
|
Container
|
|
11400
11613
|
>;
|
|
11401
11614
|
|
|
11615
|
+
/**
|
|
11616
|
+
* Event object of the Container#visualFocusSet event.
|
|
11617
|
+
*/
|
|
11618
|
+
type Container$VisualFocusSetEvent = sap.ui.base.Event<
|
|
11619
|
+
Container$VisualFocusSetEventParameters,
|
|
11620
|
+
Container
|
|
11621
|
+
>;
|
|
11622
|
+
|
|
11402
11623
|
/**
|
|
11403
11624
|
* Event object of the Content#cancel event.
|
|
11404
11625
|
*/
|
|
@@ -11446,9 +11667,17 @@ declare namespace sap {
|
|
|
11446
11667
|
Content$TypeaheadSuggestedEventParameters,
|
|
11447
11668
|
Content
|
|
11448
11669
|
>;
|
|
11670
|
+
|
|
11671
|
+
/**
|
|
11672
|
+
* Event object of the Content#visualFocusSet event.
|
|
11673
|
+
*/
|
|
11674
|
+
type Content$VisualFocusSetEvent = sap.ui.base.Event<
|
|
11675
|
+
Content$VisualFocusSetEventParameters,
|
|
11676
|
+
Content
|
|
11677
|
+
>;
|
|
11449
11678
|
}
|
|
11450
11679
|
/**
|
|
11451
|
-
* Content
|
|
11680
|
+
* Content modules that are used in {@link sap.ui.mdc.valuehelp.Popover Popover} or {@link sap.ui.mdc.valuehelp.Dialog Dialog}
|
|
11452
11681
|
*
|
|
11453
11682
|
* These modules must not be used stand-alone.
|
|
11454
11683
|
*
|
|
@@ -11469,10 +11698,14 @@ declare namespace sap {
|
|
|
11469
11698
|
* Optional `FieldHelp`.
|
|
11470
11699
|
*
|
|
11471
11700
|
* This is an association that allows the usage of one `FieldHelp` instance for the value fields for the
|
|
11472
|
-
* `Conditions`.
|
|
11473
|
-
*
|
|
11474
|
-
*
|
|
11475
|
-
*
|
|
11701
|
+
* `Conditions`.
|
|
11702
|
+
*
|
|
11703
|
+
* **Note:** The value fields on the conditions UI cannot be accessed from outside. The fields are single-value
|
|
11704
|
+
* input, and the display is always set to `FieldDisplay.Value`. Only a `ValueHelp` with a `TypeAhead` and
|
|
11705
|
+
* a single-selection `MTable` can be used.
|
|
11706
|
+
*
|
|
11707
|
+
* **Note:** For `Boolean`, `Date`, or `Time` types, no `FieldHelp` should be added, but a default `FieldHelp`
|
|
11708
|
+
* used instead.
|
|
11476
11709
|
*
|
|
11477
11710
|
* @deprecated (since 1.114.0) - replaced by {@link #setValueHelp valueHelp} association
|
|
11478
11711
|
*/
|
|
@@ -11485,8 +11718,8 @@ declare namespace sap {
|
|
|
11485
11718
|
* `Conditions`.
|
|
11486
11719
|
*
|
|
11487
11720
|
* **Note:** The value fields on the conditions UI cannot be accessed from outside. The fields are single-value
|
|
11488
|
-
* input, and the display is always set to `FieldDisplay.Value`. Only a `ValueHelp
|
|
11489
|
-
*
|
|
11721
|
+
* input, and the display is always set to `FieldDisplay.Value`. Only a `ValueHelp` with a `TypeAhead` and
|
|
11722
|
+
* a single-selection `MTable` can be used.
|
|
11490
11723
|
*
|
|
11491
11724
|
* **Note:** For `Boolean`, `Date`, or `Time` types, no `ValueHelp` should be added, but a default `ValueHelp`
|
|
11492
11725
|
* used instead.
|
|
@@ -12493,7 +12726,7 @@ declare namespace sap {
|
|
|
12493
12726
|
* Sample delegate object:
|
|
12494
12727
|
* ```javascript
|
|
12495
12728
|
* {
|
|
12496
|
-
* name: "sap/ui/
|
|
12729
|
+
* name: "sap/ui/valuehelp/FilterBarDelegate",
|
|
12497
12730
|
* payload: {}
|
|
12498
12731
|
* }```
|
|
12499
12732
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -12775,7 +13008,7 @@ declare namespace sap {
|
|
|
12775
13008
|
* Sample delegate object:
|
|
12776
13009
|
* ```javascript
|
|
12777
13010
|
* {
|
|
12778
|
-
* name: "sap/ui/
|
|
13011
|
+
* name: "sap/ui/valuehelp/FilterBarDelegate",
|
|
12779
13012
|
* payload: {}
|
|
12780
13013
|
* }```
|
|
12781
13014
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -12822,7 +13055,7 @@ declare namespace sap {
|
|
|
12822
13055
|
* Sample delegate object:
|
|
12823
13056
|
* ```javascript
|
|
12824
13057
|
* {
|
|
12825
|
-
* name: "sap/ui/
|
|
13058
|
+
* name: "sap/ui/valuehelp/FilterBarDelegate",
|
|
12826
13059
|
* payload: {}
|
|
12827
13060
|
* }```
|
|
12828
13061
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -13251,7 +13484,10 @@ declare namespace sap {
|
|
|
13251
13484
|
/**
|
|
13252
13485
|
* Defines the icon of the item.
|
|
13253
13486
|
*/
|
|
13254
|
-
icon?:
|
|
13487
|
+
icon?:
|
|
13488
|
+
| sap.ui.core.URI
|
|
13489
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
13490
|
+
| `{${string}}`;
|
|
13255
13491
|
|
|
13256
13492
|
/**
|
|
13257
13493
|
* Determines the initial visibility of the `LinkItem`. If set to `true`, the item will appear on the `Popover`
|
|
@@ -13360,7 +13596,7 @@ declare namespace sap {
|
|
|
13360
13596
|
*
|
|
13361
13597
|
* @returns Value of property `icon`
|
|
13362
13598
|
*/
|
|
13363
|
-
getIcon():
|
|
13599
|
+
getIcon(): sap.ui.core.URI;
|
|
13364
13600
|
/**
|
|
13365
13601
|
* Gets current value of property {@link #getInitiallyVisible initiallyVisible}.
|
|
13366
13602
|
*
|
|
@@ -13466,7 +13702,7 @@ declare namespace sap {
|
|
|
13466
13702
|
/**
|
|
13467
13703
|
* New value for property `icon`
|
|
13468
13704
|
*/
|
|
13469
|
-
sIcon:
|
|
13705
|
+
sIcon: sap.ui.core.URI
|
|
13470
13706
|
): this;
|
|
13471
13707
|
/**
|
|
13472
13708
|
* Sets a new value for property {@link #getInitiallyVisible initiallyVisible}.
|
|
@@ -14123,6 +14359,23 @@ declare namespace sap {
|
|
|
14123
14359
|
| int
|
|
14124
14360
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
14125
14361
|
| `{${string}}`;
|
|
14362
|
+
|
|
14363
|
+
/**
|
|
14364
|
+
* Number of records to be requested from the model when the user scrolls through the table.
|
|
14365
|
+
*
|
|
14366
|
+
* The property defines how many additional (not yet visible) data records from the back-end system are
|
|
14367
|
+
* pre-fetched during scrolling. If the `scrollThreshold` is lower than the number of visible rows, the
|
|
14368
|
+
* number of visible rows is used as the `scrollThreshold`. If the value is 0, thresholding is disabled.
|
|
14369
|
+
*
|
|
14370
|
+
* **Note:** This property only takes effect if it is set to a positive integer value. Otherwise the `threshold`
|
|
14371
|
+
* property is used.
|
|
14372
|
+
*
|
|
14373
|
+
* @since 1.128
|
|
14374
|
+
*/
|
|
14375
|
+
scrollThreshold?:
|
|
14376
|
+
| int
|
|
14377
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
14378
|
+
| `{${string}}`;
|
|
14126
14379
|
}
|
|
14127
14380
|
|
|
14128
14381
|
/**
|
|
@@ -15647,6 +15900,25 @@ declare namespace sap {
|
|
|
15647
15900
|
* @returns Value of property `rowCountMode`
|
|
15648
15901
|
*/
|
|
15649
15902
|
getRowCountMode(): sap.ui.mdc.enums.TableRowCountMode;
|
|
15903
|
+
/**
|
|
15904
|
+
* Gets current value of property {@link #getScrollThreshold scrollThreshold}.
|
|
15905
|
+
*
|
|
15906
|
+
* Number of records to be requested from the model when the user scrolls through the table.
|
|
15907
|
+
*
|
|
15908
|
+
* The property defines how many additional (not yet visible) data records from the back-end system are
|
|
15909
|
+
* pre-fetched during scrolling. If the `scrollThreshold` is lower than the number of visible rows, the
|
|
15910
|
+
* number of visible rows is used as the `scrollThreshold`. If the value is 0, thresholding is disabled.
|
|
15911
|
+
*
|
|
15912
|
+
* **Note:** This property only takes effect if it is set to a positive integer value. Otherwise the `threshold`
|
|
15913
|
+
* property is used.
|
|
15914
|
+
*
|
|
15915
|
+
* Default value is `-1`.
|
|
15916
|
+
*
|
|
15917
|
+
* @since 1.128
|
|
15918
|
+
*
|
|
15919
|
+
* @returns Value of property `scrollThreshold`
|
|
15920
|
+
*/
|
|
15921
|
+
getScrollThreshold(): int;
|
|
15650
15922
|
/**
|
|
15651
15923
|
* Gets current value of property {@link #getSelectionLimit selectionLimit}.
|
|
15652
15924
|
*
|
|
@@ -15735,6 +16007,32 @@ declare namespace sap {
|
|
|
15735
16007
|
*/
|
|
15736
16008
|
sRowCountMode?: sap.ui.mdc.enums.TableRowCountMode
|
|
15737
16009
|
): this;
|
|
16010
|
+
/**
|
|
16011
|
+
* Sets a new value for property {@link #getScrollThreshold scrollThreshold}.
|
|
16012
|
+
*
|
|
16013
|
+
* Number of records to be requested from the model when the user scrolls through the table.
|
|
16014
|
+
*
|
|
16015
|
+
* The property defines how many additional (not yet visible) data records from the back-end system are
|
|
16016
|
+
* pre-fetched during scrolling. If the `scrollThreshold` is lower than the number of visible rows, the
|
|
16017
|
+
* number of visible rows is used as the `scrollThreshold`. If the value is 0, thresholding is disabled.
|
|
16018
|
+
*
|
|
16019
|
+
* **Note:** This property only takes effect if it is set to a positive integer value. Otherwise the `threshold`
|
|
16020
|
+
* property is used.
|
|
16021
|
+
*
|
|
16022
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
16023
|
+
*
|
|
16024
|
+
* Default value is `-1`.
|
|
16025
|
+
*
|
|
16026
|
+
* @since 1.128
|
|
16027
|
+
*
|
|
16028
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16029
|
+
*/
|
|
16030
|
+
setScrollThreshold(
|
|
16031
|
+
/**
|
|
16032
|
+
* New value for property `scrollThreshold`
|
|
16033
|
+
*/
|
|
16034
|
+
iScrollThreshold?: int
|
|
16035
|
+
): this;
|
|
15738
16036
|
/**
|
|
15739
16037
|
* Sets a new value for property {@link #getSelectionLimit selectionLimit}.
|
|
15740
16038
|
*
|
|
@@ -17112,7 +17410,10 @@ declare namespace sap {
|
|
|
17112
17410
|
* Specifies the chart metadata.
|
|
17113
17411
|
* **Note:** This property must not be bound.
|
|
17114
17412
|
* **Note:** This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
17115
|
-
*
|
|
17413
|
+
* **Note**: Existing properties (set via `sap.ui.mdc.Chart#setPropertyInfo`) must not be removed and their
|
|
17414
|
+
* attributes must not be changed during the {@link module:sap/ui/mdc/ChartDelegate.fetchProperties fetchProperties }
|
|
17415
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
17416
|
+
* as the opening of any personalization dialog) are activated.
|
|
17116
17417
|
*
|
|
17117
17418
|
* **Note**: For more information about the supported inner elements, see {@link sap.ui.mdc.chart.PropertyInfo PropertyInfo}.
|
|
17118
17419
|
*
|
|
@@ -17397,7 +17698,7 @@ declare namespace sap {
|
|
|
17397
17698
|
| `{${string}}`;
|
|
17398
17699
|
|
|
17399
17700
|
/**
|
|
17400
|
-
* This event is fired when the `
|
|
17701
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
17401
17702
|
*
|
|
17402
17703
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
17403
17704
|
*/
|
|
@@ -17417,14 +17718,15 @@ declare namespace sap {
|
|
|
17417
17718
|
| `{${string}}`;
|
|
17418
17719
|
|
|
17419
17720
|
/**
|
|
17420
|
-
* Object related to the `
|
|
17721
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
17722
|
+
* logic.
|
|
17421
17723
|
* The object has the following properties:
|
|
17422
|
-
* - `name` defines the path to the `
|
|
17724
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
17423
17725
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
17424
17726
|
* Sample delegate object:
|
|
17425
17727
|
* ```javascript
|
|
17426
17728
|
* {
|
|
17427
|
-
* name: "sap/ui/mdc/
|
|
17729
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
17428
17730
|
* payload: {}
|
|
17429
17731
|
* }```
|
|
17430
17732
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -17805,7 +18107,10 @@ declare namespace sap {
|
|
|
17805
18107
|
* no effect.
|
|
17806
18108
|
*
|
|
17807
18109
|
* **Note**: This property must not be bound. **Note**: This property is used exclusively for SAPUI5 flexibility
|
|
17808
|
-
* / Fiori Elements. Do not use it otherwise.
|
|
18110
|
+
* / Fiori Elements. Do not use it otherwise. **Note**: Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`)
|
|
18111
|
+
* must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
18112
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
18113
|
+
* as the opening of any personalization dialog) are activated.
|
|
17809
18114
|
*
|
|
17810
18115
|
* @since 1.111
|
|
17811
18116
|
*/
|
|
@@ -18023,6 +18328,9 @@ declare namespace sap {
|
|
|
18023
18328
|
* If this property is not set, the user input is still checked against the value help. But if no entry
|
|
18024
18329
|
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
18025
18330
|
* is shown if the user input adheres to the requirements of the used data type.)
|
|
18331
|
+
*
|
|
18332
|
+
* **Note:** The input is validated and compared against the content assigned to the `typeahead` aggregation.
|
|
18333
|
+
* If no content is assigned to the `typeahead` aggregation, the input is not validated.
|
|
18026
18334
|
*/
|
|
18027
18335
|
validateInput?:
|
|
18028
18336
|
| boolean
|
|
@@ -18267,6 +18575,11 @@ declare namespace sap {
|
|
|
18267
18575
|
* ID of the navigated item. (This is needed to set the corresponding aria-attribute)
|
|
18268
18576
|
*/
|
|
18269
18577
|
itemId?: string;
|
|
18578
|
+
|
|
18579
|
+
/**
|
|
18580
|
+
* If `true` the filtering was executed case sensitive
|
|
18581
|
+
*/
|
|
18582
|
+
caseSensitive?: boolean;
|
|
18270
18583
|
}
|
|
18271
18584
|
|
|
18272
18585
|
/**
|
|
@@ -18343,15 +18656,25 @@ declare namespace sap {
|
|
|
18343
18656
|
*/
|
|
18344
18657
|
itemId?: string;
|
|
18345
18658
|
|
|
18659
|
+
/**
|
|
18660
|
+
* Number of found items
|
|
18661
|
+
*/
|
|
18662
|
+
items?: int;
|
|
18663
|
+
|
|
18346
18664
|
/**
|
|
18347
18665
|
* If `true` the filtering was executed case sensitive
|
|
18348
18666
|
*/
|
|
18349
18667
|
caseSensitive?: boolean;
|
|
18350
18668
|
}
|
|
18351
18669
|
|
|
18670
|
+
/**
|
|
18671
|
+
* Parameters of the ValueHelp#visualFocusSet event.
|
|
18672
|
+
*/
|
|
18673
|
+
interface ValueHelp$VisualFocusSetEventParameters {}
|
|
18674
|
+
|
|
18352
18675
|
/**
|
|
18353
18676
|
* The `Chart` control creates a chart based on metadata and the configuration specified.
|
|
18354
|
-
* **Note:** The inner chart needs to be
|
|
18677
|
+
* **Note:** The inner chart needs to be created inside the `ChartDelegate`.
|
|
18355
18678
|
*
|
|
18356
18679
|
* @since 1.88
|
|
18357
18680
|
* @experimental (since 1.88)
|
|
@@ -20107,13 +20430,6 @@ declare namespace sap {
|
|
|
20107
20430
|
* @returns Value of property `showClearButton`
|
|
20108
20431
|
*/
|
|
20109
20432
|
getShowClearButton(): boolean;
|
|
20110
|
-
/**
|
|
20111
|
-
* Sets the focus on the first filter in error state.
|
|
20112
|
-
*
|
|
20113
|
-
*
|
|
20114
|
-
* @returns The first filter field in error state
|
|
20115
|
-
*/
|
|
20116
|
-
setFocusOnFirstErroneousField(): sap.ui.mdc.FilterField | null;
|
|
20117
20433
|
/**
|
|
20118
20434
|
* Sets a new value for property {@link #getP13nMode p13nMode}.
|
|
20119
20435
|
*
|
|
@@ -20172,9 +20488,9 @@ declare namespace sap {
|
|
|
20172
20488
|
}
|
|
20173
20489
|
/**
|
|
20174
20490
|
* The `FilterField` control is used to filter data based on the conditions. The conditions are managed
|
|
20175
|
-
* in the corresponding {@link sap.ui.mdc.
|
|
20176
|
-
*
|
|
20177
|
-
*
|
|
20491
|
+
* in the corresponding {@link sap.ui.mdc.FilterBar FilterBar}. That is why the `conditions` property must
|
|
20492
|
+
* be bound to the related conditions in the {@link sap.ui.mdc.FilterBar FilterBar}. The type of this data
|
|
20493
|
+
* must be defined in the `dataType` property.
|
|
20178
20494
|
*
|
|
20179
20495
|
* Based on the data type settings, a default control is rendered by the `FilterField` as follows:
|
|
20180
20496
|
*
|
|
@@ -20307,7 +20623,7 @@ declare namespace sap {
|
|
|
20307
20623
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20308
20624
|
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
20309
20625
|
*
|
|
20310
|
-
* This event is fired when the `
|
|
20626
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
20311
20627
|
*
|
|
20312
20628
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
20313
20629
|
*
|
|
@@ -20335,7 +20651,7 @@ declare namespace sap {
|
|
|
20335
20651
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
20336
20652
|
* otherwise it will be bound to this `sap.ui.mdc.FilterField` itself.
|
|
20337
20653
|
*
|
|
20338
|
-
* This event is fired when the `
|
|
20654
|
+
* This event is fired when the `conditions` property of the `FilterField` is changed by a user interaction.
|
|
20339
20655
|
*
|
|
20340
20656
|
* **Note** This event is only triggered if the used content control has a change event.
|
|
20341
20657
|
*
|
|
@@ -20629,43 +20945,18 @@ declare namespace sap {
|
|
|
20629
20945
|
* @returns Metadata object describing this class
|
|
20630
20946
|
*/
|
|
20631
20947
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
20632
|
-
/**
|
|
20633
|
-
* Retrieves the relevant metadata for the panel and returns a property info array.
|
|
20634
|
-
*
|
|
20635
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20636
|
-
*
|
|
20637
|
-
* @returns Array of copied property info
|
|
20638
|
-
*/
|
|
20639
|
-
static retrieveAllMetadata(
|
|
20640
|
-
/**
|
|
20641
|
-
* Instance of a `Panel` control
|
|
20642
|
-
*/
|
|
20643
|
-
oPanel: /* was: sap.ui.mdc.link.Panel */ any
|
|
20644
|
-
): object[];
|
|
20645
|
-
/**
|
|
20646
|
-
* Retrieves the items that are initially part of the baseline which is used when a reset is done.
|
|
20647
|
-
*
|
|
20648
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
20649
|
-
*
|
|
20650
|
-
* @returns Array containing the `ID` and `visible` property of every {@link sap.ui.mdc.link.LinkItem}
|
|
20651
|
-
*/
|
|
20652
|
-
static retrieveBaseline(
|
|
20653
|
-
/**
|
|
20654
|
-
* Instance of a `Panel` control
|
|
20655
|
-
*/
|
|
20656
|
-
oPanel: /* was: sap.ui.mdc.link.Panel */ any
|
|
20657
|
-
): sap.ui.mdc.link.BaseLineObject[];
|
|
20658
20948
|
/**
|
|
20659
20949
|
* Gets current value of property {@link #getDelegate delegate}.
|
|
20660
20950
|
*
|
|
20661
|
-
* Object related to the `
|
|
20951
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
20952
|
+
* logic.
|
|
20662
20953
|
* The object has the following properties:
|
|
20663
|
-
* - `name` defines the path to the `
|
|
20954
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
20664
20955
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
20665
20956
|
* Sample delegate object:
|
|
20666
20957
|
* ```javascript
|
|
20667
20958
|
* {
|
|
20668
|
-
* name: "sap/ui/mdc/
|
|
20959
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
20669
20960
|
* payload: {}
|
|
20670
20961
|
* }```
|
|
20671
20962
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -20719,14 +21010,15 @@ declare namespace sap {
|
|
|
20719
21010
|
/**
|
|
20720
21011
|
* Sets a new value for property {@link #getDelegate delegate}.
|
|
20721
21012
|
*
|
|
20722
|
-
* Object related to the `
|
|
21013
|
+
* Object related to the `LinkDelegate` module that provides the required APIs to execute model-specific
|
|
21014
|
+
* logic.
|
|
20723
21015
|
* The object has the following properties:
|
|
20724
|
-
* - `name` defines the path to the `
|
|
21016
|
+
* - `name` defines the path to the `LinkDelegate` module
|
|
20725
21017
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
20726
21018
|
* Sample delegate object:
|
|
20727
21019
|
* ```javascript
|
|
20728
21020
|
* {
|
|
20729
|
-
* name: "sap/ui/mdc/
|
|
21021
|
+
* name: "sap/ui/mdc/LinkDelegate",
|
|
20730
21022
|
* payload: {}
|
|
20731
21023
|
* }```
|
|
20732
21024
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
@@ -23305,6 +23597,9 @@ declare namespace sap {
|
|
|
23305
23597
|
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
23306
23598
|
* is shown if the user input adheres to the requirements of the used data type.)
|
|
23307
23599
|
*
|
|
23600
|
+
* **Note:** The input is validated and compared against the content assigned to the `typeahead` aggregation.
|
|
23601
|
+
* If no content is assigned to the `typeahead` aggregation, the input is not validated.
|
|
23602
|
+
*
|
|
23308
23603
|
* Default value is `true`.
|
|
23309
23604
|
*
|
|
23310
23605
|
*
|
|
@@ -23376,6 +23671,9 @@ declare namespace sap {
|
|
|
23376
23671
|
* is found, the user input is set to the field if the used data type allows this. (A type parsing error
|
|
23377
23672
|
* is shown if the user input adheres to the requirements of the used data type.)
|
|
23378
23673
|
*
|
|
23674
|
+
* **Note:** The input is validated and compared against the content assigned to the `typeahead` aggregation.
|
|
23675
|
+
* If no content is assigned to the `typeahead` aggregation, the input is not validated.
|
|
23676
|
+
*
|
|
23379
23677
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
23380
23678
|
*
|
|
23381
23679
|
* Default value is `true`.
|
|
@@ -23554,6 +23852,14 @@ declare namespace sap {
|
|
|
23554
23852
|
ValueHelp$TypeaheadSuggestedEventParameters,
|
|
23555
23853
|
ValueHelp
|
|
23556
23854
|
>;
|
|
23855
|
+
|
|
23856
|
+
/**
|
|
23857
|
+
* Event object of the ValueHelp#visualFocusSet event.
|
|
23858
|
+
*/
|
|
23859
|
+
type ValueHelp$VisualFocusSetEvent = sap.ui.base.Event<
|
|
23860
|
+
ValueHelp$VisualFocusSetEventParameters,
|
|
23861
|
+
ValueHelp
|
|
23862
|
+
>;
|
|
23557
23863
|
}
|
|
23558
23864
|
}
|
|
23559
23865
|
|