@sapui5/ts-types-esm 1.136.2 → 1.138.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/index.d.ts +2 -1
- package/types/sap.apf.d.ts +30 -3
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +315 -65
- package/types/sap.esh.search.ui.d.ts +71 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +3 -0
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +50 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +192 -66
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +4 -3
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +1261 -566
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +34 -1
- package/types/sap.suite.ui.commons.d.ts +4 -2
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +103 -16
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +67 -9
- package/types/sap.ui.core.d.ts +62 -49
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +221 -167
- package/types/sap.ui.fl.d.ts +3 -7
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +44 -24
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.136.0-esm-d.ts → sap.ui.mdc.d.ts} +599 -297
- package/types/sap.ui.richtexteditor.d.ts +21 -17
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +9 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +75 -30
- package/types/sap.ui.vk.d.ts +364 -102
- package/types/sap.ui.vtm.d.ts +3 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +58 -31
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.138.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
4
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
@@ -1076,7 +1076,11 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1076
1076
|
/**
|
|
1077
1077
|
* Type of the value
|
|
1078
1078
|
*/
|
|
1079
|
-
oType: Type
|
|
1079
|
+
oType: Type,
|
|
1080
|
+
/**
|
|
1081
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
1082
|
+
*/
|
|
1083
|
+
bEmptyAllowed: boolean
|
|
1080
1084
|
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1081
1085
|
/**
|
|
1082
1086
|
* Determines the description for a given key.
|
|
@@ -1140,7 +1144,11 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1140
1144
|
/**
|
|
1141
1145
|
* Type of the value
|
|
1142
1146
|
*/
|
|
1143
|
-
oType: Type
|
|
1147
|
+
oType: Type,
|
|
1148
|
+
/**
|
|
1149
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
1150
|
+
*/
|
|
1151
|
+
bEmptyAllowed: boolean
|
|
1144
1152
|
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1145
1153
|
/**
|
|
1146
1154
|
* Determines the description for a given key.
|
|
@@ -1204,7 +1212,11 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1204
1212
|
/**
|
|
1205
1213
|
* Type of the value
|
|
1206
1214
|
*/
|
|
1207
|
-
oType: Type
|
|
1215
|
+
oType: Type,
|
|
1216
|
+
/**
|
|
1217
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
1218
|
+
*/
|
|
1219
|
+
bEmptyAllowed: boolean
|
|
1208
1220
|
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1209
1221
|
/**
|
|
1210
1222
|
* Determines the description for a given key.
|
|
@@ -1264,7 +1276,11 @@ declare module "sap/ui/mdc/field/FieldBaseDelegate" {
|
|
|
1264
1276
|
/**
|
|
1265
1277
|
* Type of the value
|
|
1266
1278
|
*/
|
|
1267
|
-
oType: Type
|
|
1279
|
+
oType: Type,
|
|
1280
|
+
/**
|
|
1281
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
1282
|
+
*/
|
|
1283
|
+
bEmptyAllowed: boolean
|
|
1268
1284
|
): string | ValueHelpItem | Promise<string | ValueHelpItem>;
|
|
1269
1285
|
/**
|
|
1270
1286
|
* Determines the key, description, and payload of a user input.
|
|
@@ -1842,6 +1858,7 @@ declare module "sap/ui/mdc/odata/v4/TableDelegate" {
|
|
|
1842
1858
|
|
|
1843
1859
|
import {
|
|
1844
1860
|
default as Table,
|
|
1861
|
+
ComplexPropertyInfo,
|
|
1845
1862
|
PropertyInfo as PropertyInfo1,
|
|
1846
1863
|
} from "sap/ui/mdc/Table";
|
|
1847
1864
|
|
|
@@ -1903,7 +1920,7 @@ declare module "sap/ui/mdc/odata/v4/TableDelegate" {
|
|
|
1903
1920
|
* Instance of the table
|
|
1904
1921
|
*/
|
|
1905
1922
|
oTable: Table
|
|
1906
|
-
): Promise<PropertyInfo
|
|
1923
|
+
): Promise<Array<PropertyInfo | ComplexPropertyInfo>>;
|
|
1907
1924
|
/**
|
|
1908
1925
|
* Returns the keys of properties that should always be included in the result of the collection requested
|
|
1909
1926
|
* from the back end. This information is applied when updating the table's binding.
|
|
@@ -1993,31 +2010,7 @@ declare module "sap/ui/mdc/odata/v4/TableDelegate" {
|
|
|
1993
2010
|
};
|
|
1994
2011
|
|
|
1995
2012
|
/**
|
|
1996
|
-
* An object literal describing a data property in the context of
|
|
1997
|
-
*
|
|
1998
|
-
* When specifying the `PropertyInfo` objects in the {@link sap.ui.mdc.Table#getPropertyInfo propertyInfo }
|
|
1999
|
-
* property, the following attributes need to be specified:
|
|
2000
|
-
* - `key`
|
|
2001
|
-
* - `path`
|
|
2002
|
-
* - `dataType`
|
|
2003
|
-
* - `formatOptions`
|
|
2004
|
-
* - `constraints`
|
|
2005
|
-
* - `maxConditions`
|
|
2006
|
-
* - `caseSensitive`
|
|
2007
|
-
* - `visualSettings.widthCalculation`
|
|
2008
|
-
* - `propertyInfos`
|
|
2009
|
-
* - `groupable`
|
|
2010
|
-
* - `isKey`
|
|
2011
|
-
* - `unit`
|
|
2012
|
-
* - `text`
|
|
2013
|
-
* - `aggregatable`
|
|
2014
|
-
* - `extension.technicallyGroupable`
|
|
2015
|
-
* - `extension.technicallyAggregatable`
|
|
2016
|
-
*
|
|
2017
|
-
* If the property is complex, the following attributes need to be specified:
|
|
2018
|
-
* - `key`
|
|
2019
|
-
* - `visualSettings.widthCalculation`
|
|
2020
|
-
* - `propertyInfos` (all referenced properties must be specified)
|
|
2013
|
+
* An object literal describing a data property in the context of an {@link sap.ui.mdc.Table} with {@link module:sap/ui/mdc/odata/v4/TableDelegate sap/ui/mdc/odata/v4/TableDelegate}.
|
|
2021
2014
|
*/
|
|
2022
2015
|
export type PropertyInfo = PropertyInfo1 & {
|
|
2023
2016
|
/**
|
|
@@ -2099,7 +2092,11 @@ declare module "sap/ui/mdc/odata/v4/TypeMap" {
|
|
|
2099
2092
|
declare module "sap/ui/mdc/TableDelegate" {
|
|
2100
2093
|
import AggregationBaseDelegate from "sap/ui/mdc/AggregationBaseDelegate";
|
|
2101
2094
|
|
|
2102
|
-
import {
|
|
2095
|
+
import {
|
|
2096
|
+
default as Table,
|
|
2097
|
+
PropertyInfo,
|
|
2098
|
+
ComplexPropertyInfo,
|
|
2099
|
+
} from "sap/ui/mdc/Table";
|
|
2103
2100
|
|
|
2104
2101
|
import Column from "sap/ui/mdc/table/Column";
|
|
2105
2102
|
|
|
@@ -2208,13 +2205,13 @@ declare module "sap/ui/mdc/TableDelegate" {
|
|
|
2208
2205
|
*
|
|
2209
2206
|
* By default, this method returns a `Promise` that resolves with an empty array.
|
|
2210
2207
|
*
|
|
2211
|
-
* **Note:**
|
|
2212
|
-
*
|
|
2213
|
-
*
|
|
2214
|
-
*
|
|
2215
|
-
*
|
|
2216
|
-
*
|
|
2217
|
-
*
|
|
2208
|
+
* **Note:**
|
|
2209
|
+
* - The result of this function must be kept stable throughout the lifecycle of your application. Any
|
|
2210
|
+
* changes of the returned values might result in undesired effects.
|
|
2211
|
+
* - Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`) must not be removed and their attributes
|
|
2212
|
+
* must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
2213
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
2214
|
+
* as the opening of any personalization dialog) are activated.
|
|
2218
2215
|
*
|
|
2219
2216
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2220
2217
|
*
|
|
@@ -2225,7 +2222,7 @@ declare module "sap/ui/mdc/TableDelegate" {
|
|
|
2225
2222
|
* Instance of the table
|
|
2226
2223
|
*/
|
|
2227
2224
|
oTable: Table
|
|
2228
|
-
): Promise<PropertyInfo
|
|
2225
|
+
): Promise<Array<PropertyInfo | ComplexPropertyInfo>>;
|
|
2229
2226
|
/**
|
|
2230
2227
|
* Formats the title text of a group header row of the table.
|
|
2231
2228
|
*
|
|
@@ -2674,6 +2671,135 @@ declare module "sap/ui/mdc/util/TypeMap" {
|
|
|
2674
2671
|
export default TypeMap;
|
|
2675
2672
|
}
|
|
2676
2673
|
|
|
2674
|
+
declare module "sap/ui/mdc/valuehelp/RequestShowContainerDefault" {
|
|
2675
|
+
import ValueHelp from "sap/ui/mdc/ValueHelp";
|
|
2676
|
+
|
|
2677
|
+
import Container from "sap/ui/mdc/valuehelp/base/Container";
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* This object contains default behavior for opening `ValueHelp` {@link sap.ui.mdc.valuehelp.base.Container containers }
|
|
2681
|
+
* in the context of interaction on connected controls. Please also see {@link module:sap/ui/mdc/ValueHelpDelegate.requestShowContainer requestShowContainer}
|
|
2682
|
+
*
|
|
2683
|
+
* @since 1.137
|
|
2684
|
+
*/
|
|
2685
|
+
interface RequestShowContainerDefault {
|
|
2686
|
+
/**
|
|
2687
|
+
* Default behavior for {@link sap.ui.mdc.enums.RequestShowContainerReason.Filter RequestShowContainerReason.Filter}.
|
|
2688
|
+
*
|
|
2689
|
+
* On desktop, prevent showing FilterableListContent without given filterValue. On desktop, check ListContent
|
|
2690
|
+
* for available data. Show all other content without further checks.
|
|
2691
|
+
*
|
|
2692
|
+
*
|
|
2693
|
+
* @returns `true`, if the value help should trigger opening
|
|
2694
|
+
*/
|
|
2695
|
+
Filter(
|
|
2696
|
+
/**
|
|
2697
|
+
* The `ValueHelp` control instance
|
|
2698
|
+
*/
|
|
2699
|
+
oValueHelp: ValueHelp,
|
|
2700
|
+
/**
|
|
2701
|
+
* Container instance
|
|
2702
|
+
*/
|
|
2703
|
+
oContainer: Container
|
|
2704
|
+
): Promise<boolean>;
|
|
2705
|
+
/**
|
|
2706
|
+
* Default behavior for {@link sap.ui.mdc.enums.RequestShowContainerReason.Focus RequestShowContainerReason.Focus}.
|
|
2707
|
+
*
|
|
2708
|
+
* By default, a container is not shown in response to focus events, as it cannot be determined whether
|
|
2709
|
+
* the event was triggered by user interaction or programmatically.
|
|
2710
|
+
*
|
|
2711
|
+
*
|
|
2712
|
+
* @returns `true`, if the value help should trigger opening
|
|
2713
|
+
*/
|
|
2714
|
+
Focus(
|
|
2715
|
+
/**
|
|
2716
|
+
* The `ValueHelp` control instance
|
|
2717
|
+
*/
|
|
2718
|
+
oValueHelp: ValueHelp,
|
|
2719
|
+
/**
|
|
2720
|
+
* Container instance
|
|
2721
|
+
*/
|
|
2722
|
+
oContainer: Container
|
|
2723
|
+
): Promise<boolean>;
|
|
2724
|
+
/**
|
|
2725
|
+
* Default behavior for {@link sap.ui.mdc.enums.RequestShowContainerReason.Navigate RequestShowContainerReason.Navigate}.
|
|
2726
|
+
*
|
|
2727
|
+
* Preloads delegate content. By default, a container is not shown in response to navigation.
|
|
2728
|
+
*
|
|
2729
|
+
*
|
|
2730
|
+
* @returns `true`, if the value help should trigger opening
|
|
2731
|
+
*/
|
|
2732
|
+
Navigate(
|
|
2733
|
+
/**
|
|
2734
|
+
* The `ValueHelp` control instance
|
|
2735
|
+
*/
|
|
2736
|
+
oValueHelp: ValueHelp,
|
|
2737
|
+
/**
|
|
2738
|
+
* Container instance
|
|
2739
|
+
*/
|
|
2740
|
+
oContainer: Container
|
|
2741
|
+
): Promise<boolean>;
|
|
2742
|
+
/**
|
|
2743
|
+
* Default behavior for {@link sap.ui.mdc.enums.RequestShowContainerReason.Tap RequestShowContainerReason.Tap}.
|
|
2744
|
+
*
|
|
2745
|
+
* On phones, return true for multi-select usage or if the container is not used as a valuehelp. At last,
|
|
2746
|
+
* check if the content is a non-boolean, unfiltered fixed list.
|
|
2747
|
+
*
|
|
2748
|
+
*
|
|
2749
|
+
* @returns `true`, if the value help should trigger opening
|
|
2750
|
+
*/
|
|
2751
|
+
Tap(
|
|
2752
|
+
/**
|
|
2753
|
+
* The `ValueHelp` control instance
|
|
2754
|
+
*/
|
|
2755
|
+
oValueHelp: ValueHelp,
|
|
2756
|
+
/**
|
|
2757
|
+
* Container instance
|
|
2758
|
+
*/
|
|
2759
|
+
oContainer: Container
|
|
2760
|
+
): Promise<boolean>;
|
|
2761
|
+
/**
|
|
2762
|
+
* Default behavior for {@link sap.ui.mdc.enums.RequestShowContainerReason.Typing RequestShowContainerReason.Typing}.
|
|
2763
|
+
*
|
|
2764
|
+
* Preloads delegate content. On phones, return false for single-select usage or if the container is used
|
|
2765
|
+
* as a valuehelp. At last, check content's search support.
|
|
2766
|
+
*
|
|
2767
|
+
*
|
|
2768
|
+
* @returns `true`, if the value help should trigger opening
|
|
2769
|
+
*/
|
|
2770
|
+
Typing(
|
|
2771
|
+
/**
|
|
2772
|
+
* The `ValueHelp` control instance
|
|
2773
|
+
*/
|
|
2774
|
+
oValueHelp: ValueHelp,
|
|
2775
|
+
/**
|
|
2776
|
+
* Container instance
|
|
2777
|
+
*/
|
|
2778
|
+
oContainer: Container
|
|
2779
|
+
): Promise<boolean>;
|
|
2780
|
+
/**
|
|
2781
|
+
* Default behavior for {@link sap.ui.mdc.enums.RequestShowContainerReason.ValueHelpRequest RequestShowContainerReason.ValueHelpRequest}.
|
|
2782
|
+
*
|
|
2783
|
+
* By default, a dialog-like container should be shown on `ValueHelpRequest` events.
|
|
2784
|
+
*
|
|
2785
|
+
*
|
|
2786
|
+
* @returns `true`, if the value help should trigger opening
|
|
2787
|
+
*/
|
|
2788
|
+
ValueHelpRequest(
|
|
2789
|
+
/**
|
|
2790
|
+
* The `ValueHelp` control instance
|
|
2791
|
+
*/
|
|
2792
|
+
oValueHelp: ValueHelp,
|
|
2793
|
+
/**
|
|
2794
|
+
* Container instance
|
|
2795
|
+
*/
|
|
2796
|
+
oContainer: Container
|
|
2797
|
+
): Promise<boolean>;
|
|
2798
|
+
}
|
|
2799
|
+
const RequestShowContainerDefault: RequestShowContainerDefault;
|
|
2800
|
+
export default RequestShowContainerDefault;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2677
2803
|
declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
2678
2804
|
import BaseDelegate from "sap/ui/mdc/BaseDelegate";
|
|
2679
2805
|
|
|
@@ -2706,6 +2832,8 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
2706
2832
|
|
|
2707
2833
|
import Container from "sap/ui/mdc/valuehelp/base/Container";
|
|
2708
2834
|
|
|
2835
|
+
import RequestShowContainerReason from "sap/ui/mdc/enums/RequestShowContainerReason";
|
|
2836
|
+
|
|
2709
2837
|
import { AggregationBindingInfo } from "sap/ui/base/ManagedObject";
|
|
2710
2838
|
|
|
2711
2839
|
/**
|
|
@@ -3098,6 +3226,32 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
3098
3226
|
*/
|
|
3099
3227
|
oConfig?: /* was: sap.ui.mdc.valuehelp.base.ConnectConfig */ any
|
|
3100
3228
|
): void;
|
|
3229
|
+
/**
|
|
3230
|
+
* Determines if a value help container is to be opened on user interaction, navigation, or configuration
|
|
3231
|
+
* changes. **Note:** This method can be called repeatedly with various {@link {sap.ui.mdc.enums.RequestShowContainerReason reasons }
|
|
3232
|
+
* depending on the given {@link sap.ui.mdc.valuehelp.base.Container container}.
|
|
3233
|
+
*
|
|
3234
|
+
* @since 1.136
|
|
3235
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3236
|
+
*
|
|
3237
|
+
* @returns `true`, if the value help is to be triggered
|
|
3238
|
+
*/
|
|
3239
|
+
requestShowContainer(
|
|
3240
|
+
/**
|
|
3241
|
+
* The `ValueHelp` control instance
|
|
3242
|
+
*/
|
|
3243
|
+
oValueHelp: ValueHelp,
|
|
3244
|
+
/**
|
|
3245
|
+
* Container instance
|
|
3246
|
+
*/
|
|
3247
|
+
oContainer: Container,
|
|
3248
|
+
/**
|
|
3249
|
+
* Reason for the request
|
|
3250
|
+
*/
|
|
3251
|
+
sRequestShowContainerReason:
|
|
3252
|
+
| RequestShowContainerReason
|
|
3253
|
+
| keyof typeof RequestShowContainerReason
|
|
3254
|
+
): Promise<boolean>;
|
|
3101
3255
|
/**
|
|
3102
3256
|
* Requests additional content for the value help.
|
|
3103
3257
|
*
|
|
@@ -3135,6 +3289,7 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
3135
3289
|
* Currently this is only supported for the type-ahead container.
|
|
3136
3290
|
*
|
|
3137
3291
|
* @since 1.121.0
|
|
3292
|
+
* @deprecated As of version 1.137. replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.requestShowContainer}.
|
|
3138
3293
|
*
|
|
3139
3294
|
* @returns If `true`, the value help is opened when user clicks into the connected field control
|
|
3140
3295
|
*/
|
|
@@ -3156,6 +3311,7 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
3156
3311
|
* Currently this is only supported for the type-ahead container.
|
|
3157
3312
|
*
|
|
3158
3313
|
* @since 1.121.0
|
|
3314
|
+
* @deprecated As of version 1.137. replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.requestShowContainer}.
|
|
3159
3315
|
*
|
|
3160
3316
|
* @returns If `true`, the value help is opened when user focuses on the connected field control
|
|
3161
3317
|
*/
|
|
@@ -3177,6 +3333,7 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
3177
3333
|
* is returned.
|
|
3178
3334
|
*
|
|
3179
3335
|
* @since 1.110.0
|
|
3336
|
+
* @deprecated As of version 1.137. replaced by {@link module:sap/ui/mdc/ValueHelpDelegate.requestShowContainer}.
|
|
3180
3337
|
*
|
|
3181
3338
|
* @returns Boolean or `Promise` that resolves into a `boolean` indicating the desired behavior
|
|
3182
3339
|
*/
|
|
@@ -3657,24 +3814,27 @@ declare module "sap/ui/mdc/library" {
|
|
|
3657
3814
|
/**
|
|
3658
3815
|
* Defines if the typeahead container desires to be opened whenever a user clicks on a connected control
|
|
3659
3816
|
*
|
|
3817
|
+
* @deprecated As of version 1.137. with no replacement.
|
|
3660
3818
|
*
|
|
3661
3819
|
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
3662
3820
|
*/
|
|
3663
|
-
shouldOpenOnClick(): Promise<boolean>;
|
|
3821
|
+
shouldOpenOnClick?(): Promise<boolean>;
|
|
3664
3822
|
/**
|
|
3665
3823
|
* Defines if the typeahead container desires to be opened whenever a user focuses a connected control
|
|
3666
3824
|
*
|
|
3825
|
+
* @deprecated As of version 1.137. with no replacement.
|
|
3667
3826
|
*
|
|
3668
3827
|
* @returns If `true`, the value help should open when user focuses the connected field control
|
|
3669
3828
|
*/
|
|
3670
|
-
shouldOpenOnFocus(): Promise<boolean>;
|
|
3829
|
+
shouldOpenOnFocus?(): Promise<boolean>;
|
|
3671
3830
|
/**
|
|
3672
3831
|
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
3673
3832
|
*
|
|
3833
|
+
* @deprecated As of version 1.137. with no replacement.
|
|
3674
3834
|
*
|
|
3675
3835
|
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
3676
3836
|
*/
|
|
3677
|
-
shouldOpenOnNavigate(): boolean;
|
|
3837
|
+
shouldOpenOnNavigate?(): boolean;
|
|
3678
3838
|
}
|
|
3679
3839
|
|
|
3680
3840
|
/**
|
|
@@ -3763,17 +3923,19 @@ declare module "sap/ui/mdc/library" {
|
|
|
3763
3923
|
* Defines if the typeahead content desires opening the typeahead whenever a user clicks on a connected
|
|
3764
3924
|
* control
|
|
3765
3925
|
*
|
|
3926
|
+
* @deprecated As of version 1.137. with no replacement.
|
|
3766
3927
|
*
|
|
3767
3928
|
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
3768
3929
|
*/
|
|
3769
|
-
shouldOpenOnClick(): boolean;
|
|
3930
|
+
shouldOpenOnClick?(): boolean;
|
|
3770
3931
|
/**
|
|
3771
3932
|
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
3772
3933
|
*
|
|
3934
|
+
* @deprecated As of version 1.137. with no replacement.
|
|
3773
3935
|
*
|
|
3774
3936
|
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
3775
3937
|
*/
|
|
3776
|
-
shouldOpenOnNavigate(): boolean;
|
|
3938
|
+
shouldOpenOnNavigate?(): boolean;
|
|
3777
3939
|
}
|
|
3778
3940
|
}
|
|
3779
3941
|
}
|
|
@@ -6278,6 +6440,9 @@ declare module "sap/ui/mdc/condition/FilterOperatorUtil" {
|
|
|
6278
6440
|
interface FilterOperatorUtil {
|
|
6279
6441
|
/**
|
|
6280
6442
|
* Adds an operator to the list of known operators.
|
|
6443
|
+
*
|
|
6444
|
+
* **Note:** For application-specific operators, use an application-specific name to prevent conflicts with
|
|
6445
|
+
* different applications.
|
|
6281
6446
|
*/
|
|
6282
6447
|
addOperator(
|
|
6283
6448
|
/**
|
|
@@ -6300,6 +6465,9 @@ declare module "sap/ui/mdc/condition/FilterOperatorUtil" {
|
|
|
6300
6465
|
): void;
|
|
6301
6466
|
/**
|
|
6302
6467
|
* Adds an array of operators to the list of known operators.
|
|
6468
|
+
*
|
|
6469
|
+
* **Note:** For application-specific operators, use an application-specific name to prevent conflicts with
|
|
6470
|
+
* different applications.
|
|
6303
6471
|
*/
|
|
6304
6472
|
addOperators(
|
|
6305
6473
|
/**
|
|
@@ -6465,6 +6633,8 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
6465
6633
|
/**
|
|
6466
6634
|
* Alias names based on {@link sap.ui.mdc.enums.BaseType BaseType}, used to map to {@link sap.m.DynamicDateOption DynamicDateOption }
|
|
6467
6635
|
* if {@link sap.m.DynamicDateRange DynamicDateRange} is used to visualize the filter
|
|
6636
|
+
* For example, if an operator must use the `DATE` option if used for a date type and the `DATETIME` option
|
|
6637
|
+
* if used for a date/time type, the `alias` needs to be configured as `{Date: "DATE", DateTime: "DATETIME"}`.
|
|
6468
6638
|
*/
|
|
6469
6639
|
alias?: object;
|
|
6470
6640
|
/**
|
|
@@ -7394,6 +7564,12 @@ declare module "sap/ui/mdc/enums/ContentMode" {
|
|
|
7394
7564
|
* Edit mode for operator dependent controls This is used for single value and only one operator.
|
|
7395
7565
|
*/
|
|
7396
7566
|
EditOperator = "EditOperator",
|
|
7567
|
+
/**
|
|
7568
|
+
* Edit mode for single value field that is rendered as `Select` control
|
|
7569
|
+
*
|
|
7570
|
+
* @since 1.138
|
|
7571
|
+
*/
|
|
7572
|
+
EditSelect = "EditSelect",
|
|
7397
7573
|
}
|
|
7398
7574
|
export default ContentMode;
|
|
7399
7575
|
}
|
|
@@ -9190,6 +9366,10 @@ declare module "sap/ui/mdc/field/ConditionsType" {
|
|
|
9190
9366
|
* If set, the input and output might contain multiple lines
|
|
9191
9367
|
*/
|
|
9192
9368
|
multipleLines?: boolean;
|
|
9369
|
+
/**
|
|
9370
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
9371
|
+
*/
|
|
9372
|
+
emptyAllowed?: boolean;
|
|
9193
9373
|
},
|
|
9194
9374
|
/**
|
|
9195
9375
|
* Value constraints
|
|
@@ -9431,6 +9611,10 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
9431
9611
|
* If set, the input and output might contain multiple lines
|
|
9432
9612
|
*/
|
|
9433
9613
|
multipleLines?: boolean;
|
|
9614
|
+
/**
|
|
9615
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
9616
|
+
*/
|
|
9617
|
+
emptyAllowed?: boolean;
|
|
9434
9618
|
},
|
|
9435
9619
|
/**
|
|
9436
9620
|
* Value constraints
|
|
@@ -9673,6 +9857,10 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
9673
9857
|
* If set, the input and output might contain multiple lines
|
|
9674
9858
|
*/
|
|
9675
9859
|
multipleLines?: boolean;
|
|
9860
|
+
/**
|
|
9861
|
+
* If `true`, the connected control could be left empty (without conditions)
|
|
9862
|
+
*/
|
|
9863
|
+
emptyAllowed?: boolean;
|
|
9676
9864
|
},
|
|
9677
9865
|
/**
|
|
9678
9866
|
* Value constraints
|
|
@@ -10259,6 +10447,25 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10259
10447
|
* @returns BaseType
|
|
10260
10448
|
*/
|
|
10261
10449
|
getBaseType(): BaseType;
|
|
10450
|
+
/**
|
|
10451
|
+
* Creates parameter for a `ParseError`, `ValidationError` or `ValidationSuccess` event based on the corresponding
|
|
10452
|
+
* event fired on the inner control.
|
|
10453
|
+
*
|
|
10454
|
+
* The basic implementation just adds the element and error information. The `property` and `type` information
|
|
10455
|
+
* must be added by the inheriting control. If no binding for the corresponding property exists `null` must
|
|
10456
|
+
* be returned, as the event must only be fired if there is a binding.
|
|
10457
|
+
*
|
|
10458
|
+
* @since 1.138.0
|
|
10459
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10460
|
+
*
|
|
10461
|
+
* @returns parameters for the new event
|
|
10462
|
+
*/
|
|
10463
|
+
getBindingEventParameter(
|
|
10464
|
+
/**
|
|
10465
|
+
* original event fired on inner control
|
|
10466
|
+
*/
|
|
10467
|
+
oEvent: Event
|
|
10468
|
+
): object;
|
|
10262
10469
|
/**
|
|
10263
10470
|
* Gets current value of property {@link #getConditions conditions}.
|
|
10264
10471
|
*
|
|
@@ -10652,6 +10859,20 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10652
10859
|
* @returns Value of property `valueState`
|
|
10653
10860
|
*/
|
|
10654
10861
|
getValueState(): ValueState;
|
|
10862
|
+
/**
|
|
10863
|
+
* Gets the ValueState for content controls
|
|
10864
|
+
*
|
|
10865
|
+
* @since 1.138.0
|
|
10866
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10867
|
+
*
|
|
10868
|
+
* @returns value state information for content control
|
|
10869
|
+
*/
|
|
10870
|
+
getValueStateForContent(
|
|
10871
|
+
/**
|
|
10872
|
+
* Id of the content control or Id of the field itself
|
|
10873
|
+
*/
|
|
10874
|
+
sContentId: string
|
|
10875
|
+
): object;
|
|
10655
10876
|
/**
|
|
10656
10877
|
* Gets current value of property {@link #getValueStateText valueStateText}.
|
|
10657
10878
|
*
|
|
@@ -10707,6 +10928,15 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10707
10928
|
* @returns `true` if there is a pending user input
|
|
10708
10929
|
*/
|
|
10709
10930
|
hasPendingUserInput(): boolean;
|
|
10931
|
+
/**
|
|
10932
|
+
* Return `true` if at least one content control has a own value state
|
|
10933
|
+
*
|
|
10934
|
+
* @since 1.138.0
|
|
10935
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
10936
|
+
*
|
|
10937
|
+
* @returns `true` if at least one content control has a own value state
|
|
10938
|
+
*/
|
|
10939
|
+
hasValueStateForContent(): boolean;
|
|
10710
10940
|
/**
|
|
10711
10941
|
* Initializes internal data-types and dependent objects.
|
|
10712
10942
|
*
|
|
@@ -10805,6 +11035,13 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
10805
11035
|
*/
|
|
10806
11036
|
bRemoveUIMessage: boolean
|
|
10807
11037
|
): void;
|
|
11038
|
+
/**
|
|
11039
|
+
* Resets the ValueState for content controls
|
|
11040
|
+
*
|
|
11041
|
+
* @since 1.138.0
|
|
11042
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11043
|
+
*/
|
|
11044
|
+
resetValueStateForAllContent(): void;
|
|
10808
11045
|
/**
|
|
10809
11046
|
* Sets a new value for property {@link #getConditions conditions}.
|
|
10810
11047
|
*
|
|
@@ -11227,6 +11464,26 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
11227
11464
|
*/
|
|
11228
11465
|
sValueState?: ValueState | keyof typeof ValueState
|
|
11229
11466
|
): this;
|
|
11467
|
+
/**
|
|
11468
|
+
* Sets the ValueState for content controls
|
|
11469
|
+
*
|
|
11470
|
+
* @since 1.138.0
|
|
11471
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11472
|
+
*/
|
|
11473
|
+
setValueStateForContent(
|
|
11474
|
+
/**
|
|
11475
|
+
* Id of the content control
|
|
11476
|
+
*/
|
|
11477
|
+
sContentId: string,
|
|
11478
|
+
/**
|
|
11479
|
+
* value state
|
|
11480
|
+
*/
|
|
11481
|
+
sValueState: ValueState | keyof typeof ValueState,
|
|
11482
|
+
/**
|
|
11483
|
+
* value state text
|
|
11484
|
+
*/
|
|
11485
|
+
sValueStateText: string
|
|
11486
|
+
): void;
|
|
11230
11487
|
/**
|
|
11231
11488
|
* Sets a new value for property {@link #getValueStateText valueStateText}.
|
|
11232
11489
|
*
|
|
@@ -15315,7 +15572,10 @@ declare module "sap/ui/mdc/Table" {
|
|
|
15315
15572
|
|
|
15316
15573
|
import VariantManagement from "sap/ui/fl/variants/VariantManagement";
|
|
15317
15574
|
|
|
15318
|
-
import {
|
|
15575
|
+
import {
|
|
15576
|
+
ComplexPropertyInfo as ComplexPropertyInfo1,
|
|
15577
|
+
PropertyInfo as PropertyInfo1,
|
|
15578
|
+
} from "sap/ui/mdc/util/PropertyHelper";
|
|
15319
15579
|
|
|
15320
15580
|
import {
|
|
15321
15581
|
PropertyBindingInfo,
|
|
@@ -15327,7 +15587,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
15327
15587
|
/**
|
|
15328
15588
|
* A metadata-driven table to simplify the usage of existing tables, such as the `ResponsiveTable` and `GridTable`
|
|
15329
15589
|
* controls. The metadata needs to be provided via the {@link module:sap/ui/mdc/TableDelegate TableDelegate }
|
|
15330
|
-
* implementation as {@link sap.ui.mdc.table.PropertyInfo}.
|
|
15590
|
+
* implementation as {@link sap.ui.mdc.table.PropertyInfo} and {@link sap.ui.mdc.table.ComplexPropertyInfo}.
|
|
15331
15591
|
*
|
|
15332
15592
|
* **Note:** Read and write access to internal elements is not permitted. Such elements are, for example,
|
|
15333
15593
|
* the inner table including its children. This is independent of how access was gained. Internal elements
|
|
@@ -15985,9 +16245,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
15985
16245
|
* `false`.
|
|
15986
16246
|
*
|
|
15987
16247
|
* **Note:** The {@link sap.m.plugins.CopyProvider#extractData extractData} property of the `CopyProvider`
|
|
15988
|
-
* must not be managed by the application.
|
|
15989
|
-
*
|
|
15990
|
-
* the plugin will not be added, and the Copy button will not be generated.
|
|
16248
|
+
* must not be managed by the application. The `CopyProvider` requires a secure context to access the clipboard
|
|
16249
|
+
* API. If the context is not secure, the plugin will not be added, and the Copy button will not be generated.
|
|
15991
16250
|
*
|
|
15992
16251
|
* @since 1.114
|
|
15993
16252
|
*/
|
|
@@ -16004,11 +16263,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16004
16263
|
* Gets current value of property {@link #getDelegate delegate}.
|
|
16005
16264
|
*
|
|
16006
16265
|
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
16007
|
-
*
|
|
16266
|
+
*
|
|
16267
|
+
* The object has the following properties:
|
|
16008
16268
|
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/TableDelegate TableDelegate}.
|
|
16009
16269
|
*
|
|
16010
16270
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
16011
|
-
*
|
|
16271
|
+
*
|
|
16272
|
+
*
|
|
16273
|
+
* Sample delegate object:
|
|
16012
16274
|
* ```javascript
|
|
16013
16275
|
* {
|
|
16014
16276
|
* name: "sap/ui/mdc/TableDelegate",
|
|
@@ -16017,8 +16279,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16017
16279
|
*
|
|
16018
16280
|
*
|
|
16019
16281
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
16020
|
-
* that).
|
|
16021
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
16282
|
+
* that). Do not bind or modify the module. This property can only be configured during control initialization.
|
|
16022
16283
|
*
|
|
16023
16284
|
* Default value is `...see text or source`.
|
|
16024
16285
|
*
|
|
@@ -16145,7 +16406,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16145
16406
|
* Determines whether the toolbar is visible.
|
|
16146
16407
|
*
|
|
16147
16408
|
* **Note:** Hiding the toolbar limits the functionality of the table in the following ways:
|
|
16148
|
-
*
|
|
16149
16409
|
* - The `showRowCount` property **must** be set to `false`.
|
|
16150
16410
|
* - The export **must** be disabled by setting the `enableExport` property to `false`.
|
|
16151
16411
|
* - For {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}, show and hide details won't be
|
|
@@ -16200,11 +16460,11 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16200
16460
|
/**
|
|
16201
16461
|
* Gets current value of property {@link #getP13nMode p13nMode}.
|
|
16202
16462
|
*
|
|
16203
|
-
* Personalization options for the table.
|
|
16463
|
+
* Personalization options for the table. The order of the provided options does not influence their order
|
|
16464
|
+
* on the UI.
|
|
16204
16465
|
*
|
|
16205
16466
|
* **Note:** Whether a personalization option is supported depends on the used delegate. Please refer to
|
|
16206
|
-
* the documentation of the individual delegates.
|
|
16207
|
-
* order on the UI.
|
|
16467
|
+
* the documentation of the individual delegates.
|
|
16208
16468
|
*
|
|
16209
16469
|
* Default value is `[]`.
|
|
16210
16470
|
*
|
|
@@ -16292,8 +16552,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16292
16552
|
* is lower than the number of visible rows, the number of visible rows is used as the `threshold`. If the
|
|
16293
16553
|
* value is 0, thresholding is disabled.
|
|
16294
16554
|
*
|
|
16295
|
-
*
|
|
16296
|
-
* uses a type-dependent default value.
|
|
16555
|
+
* If the value is -1, a type-dependent default value is used.
|
|
16297
16556
|
*
|
|
16298
16557
|
* Default value is `-1`.
|
|
16299
16558
|
*
|
|
@@ -16495,11 +16754,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16495
16754
|
* Sets a new value for property {@link #getDelegate delegate}.
|
|
16496
16755
|
*
|
|
16497
16756
|
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
16498
|
-
*
|
|
16757
|
+
*
|
|
16758
|
+
* The object has the following properties:
|
|
16499
16759
|
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/TableDelegate TableDelegate}.
|
|
16500
16760
|
*
|
|
16501
16761
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
16502
|
-
*
|
|
16762
|
+
*
|
|
16763
|
+
*
|
|
16764
|
+
* Sample delegate object:
|
|
16503
16765
|
* ```javascript
|
|
16504
16766
|
* {
|
|
16505
16767
|
* name: "sap/ui/mdc/TableDelegate",
|
|
@@ -16508,8 +16770,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16508
16770
|
*
|
|
16509
16771
|
*
|
|
16510
16772
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
16511
|
-
* that).
|
|
16512
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
16773
|
+
* that). Do not bind or modify the module. This property can only be configured during control initialization.
|
|
16513
16774
|
*
|
|
16514
16775
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
16515
16776
|
*
|
|
@@ -16708,7 +16969,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16708
16969
|
* Determines whether the toolbar is visible.
|
|
16709
16970
|
*
|
|
16710
16971
|
* **Note:** Hiding the toolbar limits the functionality of the table in the following ways:
|
|
16711
|
-
*
|
|
16712
16972
|
* - The `showRowCount` property **must** be set to `false`.
|
|
16713
16973
|
* - The export **must** be disabled by setting the `enableExport` property to `false`.
|
|
16714
16974
|
* - For {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}, show and hide details won't be
|
|
@@ -16779,11 +17039,11 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16779
17039
|
/**
|
|
16780
17040
|
* Sets a new value for property {@link #getP13nMode p13nMode}.
|
|
16781
17041
|
*
|
|
16782
|
-
* Personalization options for the table.
|
|
17042
|
+
* Personalization options for the table. The order of the provided options does not influence their order
|
|
17043
|
+
* on the UI.
|
|
16783
17044
|
*
|
|
16784
17045
|
* **Note:** Whether a personalization option is supported depends on the used delegate. Please refer to
|
|
16785
|
-
* the documentation of the individual delegates.
|
|
16786
|
-
* order on the UI.
|
|
17046
|
+
* the documentation of the individual delegates.
|
|
16787
17047
|
*
|
|
16788
17048
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
16789
17049
|
*
|
|
@@ -16901,8 +17161,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16901
17161
|
* is lower than the number of visible rows, the number of visible rows is used as the `threshold`. If the
|
|
16902
17162
|
* value is 0, thresholding is disabled.
|
|
16903
17163
|
*
|
|
16904
|
-
*
|
|
16905
|
-
* uses a type-dependent default value.
|
|
17164
|
+
* If the value is -1, a type-dependent default value is used.
|
|
16906
17165
|
*
|
|
16907
17166
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
16908
17167
|
*
|
|
@@ -16980,28 +17239,79 @@ declare module "sap/ui/mdc/Table" {
|
|
|
16980
17239
|
): this;
|
|
16981
17240
|
}
|
|
16982
17241
|
/**
|
|
16983
|
-
* An object literal
|
|
17242
|
+
* An object literal that describes attributes of a complex data property in the context of an {@link sap.ui.mdc.Table}.
|
|
17243
|
+
* A complex property references other properties in the `propertyInfos` attribute.
|
|
16984
17244
|
*
|
|
16985
|
-
*
|
|
16986
|
-
*
|
|
16987
|
-
*
|
|
16988
|
-
* - `path`
|
|
16989
|
-
* - `dataType`
|
|
16990
|
-
* - `formatOptions`
|
|
16991
|
-
* - `constraints`
|
|
16992
|
-
* - `maxConditions`
|
|
16993
|
-
* - `caseSensitive`
|
|
16994
|
-
* - `visualSettings.widthCalculation`
|
|
16995
|
-
* - `propertyInfos`
|
|
16996
|
-
* - `groupable`
|
|
16997
|
-
* - `isKey`
|
|
16998
|
-
* - `unit`
|
|
16999
|
-
* - `text`
|
|
17245
|
+
* If a `sap.ui.mdc.table.Column` points to a complex property via its `propertyKey` property, the table
|
|
17246
|
+
* considers all the referenced properties as visible in the column. All referenced properties are taken
|
|
17247
|
+
* into account for certain features, for example, for the column width calculation.
|
|
17000
17248
|
*
|
|
17001
|
-
*
|
|
17002
|
-
*
|
|
17003
|
-
*
|
|
17004
|
-
|
|
17249
|
+
* Some attributes of the referenced properties can be overridden. If, for example, `exportSettings` are
|
|
17250
|
+
* specified for the complex property, the export settings of the referenced properties are ignored. This
|
|
17251
|
+
* can be used to provide a different formatting template, for example.
|
|
17252
|
+
*/
|
|
17253
|
+
export type ComplexPropertyInfo = ComplexPropertyInfo1 & {
|
|
17254
|
+
/**
|
|
17255
|
+
* The export settings. Set to `null` to prevent this property from being exported.
|
|
17256
|
+
*/
|
|
17257
|
+
exportSettings?: /* was: sap.ui.export.Column */ any | null;
|
|
17258
|
+
/**
|
|
17259
|
+
* The clipboard settings. Set to `null` to prevent this property from being copied to clipboard.
|
|
17260
|
+
*/
|
|
17261
|
+
clipboardSettings?: {
|
|
17262
|
+
/**
|
|
17263
|
+
* Defines the formatting template that supports indexed placeholders for referenced properties within curly
|
|
17264
|
+
* brackets, for example, "{0} ({1})".
|
|
17265
|
+
*/
|
|
17266
|
+
template?: string;
|
|
17267
|
+
} | null;
|
|
17268
|
+
/**
|
|
17269
|
+
* This object contains all relevant attributes for visual adjustments.
|
|
17270
|
+
*/
|
|
17271
|
+
visualSettings?: {
|
|
17272
|
+
/**
|
|
17273
|
+
* Settings for column width calculation. Set to `null` to disable the automatic column width calculation
|
|
17274
|
+
* for this property.
|
|
17275
|
+
*/
|
|
17276
|
+
widthCalculation?: {
|
|
17277
|
+
/**
|
|
17278
|
+
* The minimum content width in rem
|
|
17279
|
+
*/
|
|
17280
|
+
minWidth?: int;
|
|
17281
|
+
/**
|
|
17282
|
+
* The maximum content width in rem
|
|
17283
|
+
*/
|
|
17284
|
+
maxWidth?: int;
|
|
17285
|
+
/**
|
|
17286
|
+
* The default column content width when type check fails
|
|
17287
|
+
*/
|
|
17288
|
+
defaultWidth?: int;
|
|
17289
|
+
/**
|
|
17290
|
+
* The additional content width in rem
|
|
17291
|
+
*/
|
|
17292
|
+
gap?: float;
|
|
17293
|
+
/**
|
|
17294
|
+
* Whether the label is taken into account
|
|
17295
|
+
*/
|
|
17296
|
+
includeLabel?: boolean;
|
|
17297
|
+
/**
|
|
17298
|
+
* Whether the label is truncated
|
|
17299
|
+
*/
|
|
17300
|
+
truncateLabel?: boolean;
|
|
17301
|
+
/**
|
|
17302
|
+
* Whether the referenced properties are arranged vertically
|
|
17303
|
+
*/
|
|
17304
|
+
verticalArrangement?: boolean;
|
|
17305
|
+
/**
|
|
17306
|
+
* A list of invisible referenced property keys
|
|
17307
|
+
*/
|
|
17308
|
+
excludeProperties?: string[];
|
|
17309
|
+
} | null;
|
|
17310
|
+
};
|
|
17311
|
+
};
|
|
17312
|
+
|
|
17313
|
+
/**
|
|
17314
|
+
* An object literal that describes attributes of a data property in the context of an {@link sap.ui.mdc.Table}.
|
|
17005
17315
|
*/
|
|
17006
17316
|
export type PropertyInfo = PropertyInfo1 & {
|
|
17007
17317
|
/**
|
|
@@ -17031,26 +17341,25 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17031
17341
|
*/
|
|
17032
17342
|
text?: string;
|
|
17033
17343
|
/**
|
|
17034
|
-
*
|
|
17344
|
+
* The export settings. Set to `null` to prevent this property from being exported.
|
|
17035
17345
|
*/
|
|
17036
|
-
exportSettings?:
|
|
17346
|
+
exportSettings?: /* was: sap.ui.export.Column */ any | null;
|
|
17037
17347
|
/**
|
|
17038
|
-
*
|
|
17039
|
-
* the copy function.
|
|
17348
|
+
* The clipboard settings. Set to `null` prevent this property from being copied to clipboard.
|
|
17040
17349
|
*/
|
|
17041
17350
|
clipboardSettings?: {
|
|
17042
17351
|
/**
|
|
17043
|
-
* Defines the formatting template that supports indexed placeholders
|
|
17044
|
-
* for example, "{0} ({1})".
|
|
17352
|
+
* Defines the formatting template that supports indexed placeholders, for example, "{0}".
|
|
17045
17353
|
*/
|
|
17046
17354
|
template?: string;
|
|
17047
|
-
};
|
|
17355
|
+
} | null;
|
|
17048
17356
|
/**
|
|
17049
17357
|
* This object contains all relevant properties for visual adjustments.
|
|
17050
17358
|
*/
|
|
17051
17359
|
visualSettings?: {
|
|
17052
17360
|
/**
|
|
17053
|
-
*
|
|
17361
|
+
* Settings for column width calculation. Set to `null` to disable the automatic column width calculation
|
|
17362
|
+
* for this property.
|
|
17054
17363
|
*/
|
|
17055
17364
|
widthCalculation?: {
|
|
17056
17365
|
/**
|
|
@@ -17070,11 +17379,11 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17070
17379
|
*/
|
|
17071
17380
|
gap?: float;
|
|
17072
17381
|
/**
|
|
17073
|
-
* Whether the label
|
|
17382
|
+
* Whether the label is taken into account
|
|
17074
17383
|
*/
|
|
17075
17384
|
includeLabel?: boolean;
|
|
17076
17385
|
/**
|
|
17077
|
-
* Whether the label
|
|
17386
|
+
* Whether the label is truncated
|
|
17078
17387
|
*/
|
|
17079
17388
|
truncateLabel?: boolean;
|
|
17080
17389
|
/**
|
|
@@ -17085,13 +17394,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17085
17394
|
* A list of invisible referenced property keys
|
|
17086
17395
|
*/
|
|
17087
17396
|
excludeProperties?: string[];
|
|
17088
|
-
};
|
|
17397
|
+
} | null;
|
|
17089
17398
|
};
|
|
17090
|
-
/**
|
|
17091
|
-
* The availability of this property makes the `PropertyInfo` a complex `PropertyInfo`. Provides a list
|
|
17092
|
-
* of related properties (by key). These related properties must not themselves be complex.
|
|
17093
|
-
*/
|
|
17094
|
-
propertyInfos?: string[];
|
|
17095
17399
|
};
|
|
17096
17400
|
|
|
17097
17401
|
/**
|
|
@@ -17111,11 +17415,11 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17111
17415
|
height?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
17112
17416
|
|
|
17113
17417
|
/**
|
|
17114
|
-
* Personalization options for the table.
|
|
17418
|
+
* Personalization options for the table. The order of the provided options does not influence their order
|
|
17419
|
+
* on the UI.
|
|
17115
17420
|
*
|
|
17116
17421
|
* **Note:** Whether a personalization option is supported depends on the used delegate. Please refer to
|
|
17117
|
-
* the documentation of the individual delegates.
|
|
17118
|
-
* order on the UI.
|
|
17422
|
+
* the documentation of the individual delegates.
|
|
17119
17423
|
*
|
|
17120
17424
|
* @since 1.62
|
|
17121
17425
|
*/
|
|
@@ -17126,11 +17430,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17126
17430
|
|
|
17127
17431
|
/**
|
|
17128
17432
|
* Object related to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
17129
|
-
*
|
|
17433
|
+
*
|
|
17434
|
+
* The object has the following properties:
|
|
17130
17435
|
* - `name` defines the path to the `Delegate` module. The used delegate module must inherit from {@link module:sap/ui/mdc/TableDelegate TableDelegate}.
|
|
17131
17436
|
*
|
|
17132
17437
|
* - `payload` (optional) defines application-specific information that can be used in the given delegate
|
|
17133
|
-
*
|
|
17438
|
+
*
|
|
17439
|
+
*
|
|
17440
|
+
* Sample delegate object:
|
|
17134
17441
|
* ```javascript
|
|
17135
17442
|
* {
|
|
17136
17443
|
* name: "sap/ui/mdc/TableDelegate",
|
|
@@ -17139,8 +17446,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17139
17446
|
*
|
|
17140
17447
|
*
|
|
17141
17448
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
17142
|
-
* that).
|
|
17143
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
17449
|
+
* that). Do not bind or modify the module. This property can only be configured during control initialization.
|
|
17144
17450
|
*/
|
|
17145
17451
|
delegate?: object | PropertyBindingInfo | `{${string}}`;
|
|
17146
17452
|
|
|
@@ -17215,8 +17521,7 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17215
17521
|
* is lower than the number of visible rows, the number of visible rows is used as the `threshold`. If the
|
|
17216
17522
|
* value is 0, thresholding is disabled.
|
|
17217
17523
|
*
|
|
17218
|
-
*
|
|
17219
|
-
* uses a type-dependent default value.
|
|
17524
|
+
* If the value is -1, a type-dependent default value is used.
|
|
17220
17525
|
*
|
|
17221
17526
|
* @since 1.63
|
|
17222
17527
|
*/
|
|
@@ -17225,8 +17530,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17225
17530
|
/**
|
|
17226
17531
|
* Defines the sort conditions.
|
|
17227
17532
|
*
|
|
17228
|
-
* **Note:** This property must not be bound.
|
|
17229
|
-
*
|
|
17533
|
+
* **Note:** This property must not be bound. It is used exclusively for handling SAPUI5 flexibility changes.
|
|
17534
|
+
* Do not use it otherwise.
|
|
17230
17535
|
*
|
|
17231
17536
|
* @since 1.73
|
|
17232
17537
|
*/
|
|
@@ -17235,8 +17540,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17235
17540
|
/**
|
|
17236
17541
|
* Defines the filter conditions.
|
|
17237
17542
|
*
|
|
17238
|
-
* **Note:** This property must not be bound.
|
|
17239
|
-
*
|
|
17543
|
+
* **Note:** This property must not be bound. It is used exclusively for handling SAPUI5 flexibility changes.
|
|
17544
|
+
* Do not use it otherwise.
|
|
17240
17545
|
*
|
|
17241
17546
|
* @since 1.80.0
|
|
17242
17547
|
*/
|
|
@@ -17245,8 +17550,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17245
17550
|
/**
|
|
17246
17551
|
* Defines the group conditions.
|
|
17247
17552
|
*
|
|
17248
|
-
* **Note:** This property must not be bound.
|
|
17249
|
-
*
|
|
17553
|
+
* **Note:** This property must not be bound. It is used exclusively for handling SAPUI5 flexibility changes.
|
|
17554
|
+
* Do not use it otherwise.
|
|
17250
17555
|
*
|
|
17251
17556
|
* @since 1.87
|
|
17252
17557
|
*/
|
|
@@ -17255,8 +17560,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17255
17560
|
/**
|
|
17256
17561
|
* Defines the aggregate conditions.
|
|
17257
17562
|
*
|
|
17258
|
-
* **Note:** This property must not be bound.
|
|
17259
|
-
*
|
|
17563
|
+
* **Note:** This property must not be bound. It is exclusively used for handling SAPUI5 flexibility changes.
|
|
17564
|
+
* Do not use it otherwise.
|
|
17260
17565
|
*
|
|
17261
17566
|
* @since 1.87
|
|
17262
17567
|
*/
|
|
@@ -17337,24 +17642,23 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17337
17642
|
* Specifies the table metadata.
|
|
17338
17643
|
*
|
|
17339
17644
|
* Whenever the `TableDelegate` needs to wait for, for example, server-side information to provide the `PropertyInfo`
|
|
17340
|
-
* objects, specifying an array of {@link sap.ui.mdc.table.PropertyInfo PropertyInfo}
|
|
17341
|
-
* the table to speed up the initial setup.
|
|
17645
|
+
* objects, specifying an array of {@link sap.ui.mdc.table.PropertyInfo PropertyInfo} and {@link sap.ui.mdc.table.ComplexPropertyInfo ComplexPropertyInfo }
|
|
17646
|
+
* objects in this property enables the table to speed up the initial setup.
|
|
17342
17647
|
*
|
|
17343
17648
|
* Instead of requesting the `PropertyInfo` objects from the `TableDelegate` and waiting for them, the table
|
|
17344
17649
|
* will use the `PropertyInfo` objects specified here for rendering-specific tasks, e.g. automatic column
|
|
17345
17650
|
* width calculation, and to trigger the initial data request.
|
|
17346
17651
|
*
|
|
17347
|
-
*
|
|
17348
|
-
*
|
|
17652
|
+
* **Note:**
|
|
17653
|
+
* - This property is processed only once during the instantiation of the table. Any subsequent changes
|
|
17654
|
+
* have no effect.
|
|
17655
|
+
* - This property must not be bound.
|
|
17656
|
+
* - This property is used exclusively for SAPUI5 flexibility / Fiori Elements. Do not use it otherwise.
|
|
17349
17657
|
*
|
|
17350
|
-
*
|
|
17351
|
-
*
|
|
17352
|
-
*
|
|
17353
|
-
*
|
|
17354
|
-
* / Fiori Elements. Do not use it otherwise. **Note**: Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`)
|
|
17355
|
-
* must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
17356
|
-
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
17357
|
-
* as the opening of any personalization dialog) are activated.
|
|
17658
|
+
* - Existing properties (set via `sap.ui.mdc.Table#setPropertyInfo`) must not be removed and their attributes
|
|
17659
|
+
* must not be changed during the {@link module:sap/ui/mdc/TableDelegate.fetchProperties fetchProperties }
|
|
17660
|
+
* callback. Otherwise validation errors might occur whenever personalization-related control features (such
|
|
17661
|
+
* as the opening of any personalization dialog) are activated.
|
|
17358
17662
|
*
|
|
17359
17663
|
* @since 1.111
|
|
17360
17664
|
*/
|
|
@@ -17364,7 +17668,6 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17364
17668
|
* Determines whether the toolbar is visible.
|
|
17365
17669
|
*
|
|
17366
17670
|
* **Note:** Hiding the toolbar limits the functionality of the table in the following ways:
|
|
17367
|
-
*
|
|
17368
17671
|
* - The `showRowCount` property **must** be set to `false`.
|
|
17369
17672
|
* - The export **must** be disabled by setting the `enableExport` property to `false`.
|
|
17370
17673
|
* - For {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable}, show and hide details won't be
|
|
@@ -17455,9 +17758,8 @@ declare module "sap/ui/mdc/Table" {
|
|
|
17455
17758
|
* `false`.
|
|
17456
17759
|
*
|
|
17457
17760
|
* **Note:** The {@link sap.m.plugins.CopyProvider#extractData extractData} property of the `CopyProvider`
|
|
17458
|
-
* must not be managed by the application.
|
|
17459
|
-
*
|
|
17460
|
-
* the plugin will not be added, and the Copy button will not be generated.
|
|
17761
|
+
* must not be managed by the application. The `CopyProvider` requires a secure context to access the clipboard
|
|
17762
|
+
* API. If the context is not secure, the plugin will not be added, and the Copy button will not be generated.
|
|
17461
17763
|
*
|
|
17462
17764
|
* @since 1.114
|
|
17463
17765
|
*/
|
|
@@ -17829,10 +18131,11 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
17829
18131
|
/**
|
|
17830
18132
|
* Gets current value of property {@link #getRequired required}.
|
|
17831
18133
|
*
|
|
17832
|
-
* Indicates whether the content of the column is required.
|
|
17833
|
-
*
|
|
17834
|
-
*
|
|
17835
|
-
* property to
|
|
18134
|
+
* Indicates whether the content of the column is required.
|
|
18135
|
+
*
|
|
18136
|
+
* **Note:** The table only takes care of announcing the state of the column header as defined by the `required`
|
|
18137
|
+
* property. The application needs to take care of the screen reader announcement of the state of the table
|
|
18138
|
+
* cells, for example, by setting the `required` property to `true` for `sap.m.Input`.
|
|
17836
18139
|
*
|
|
17837
18140
|
* Default value is `false`.
|
|
17838
18141
|
*
|
|
@@ -18014,10 +18317,11 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
18014
18317
|
/**
|
|
18015
18318
|
* Sets a new value for property {@link #getRequired required}.
|
|
18016
18319
|
*
|
|
18017
|
-
* Indicates whether the content of the column is required.
|
|
18018
|
-
*
|
|
18019
|
-
*
|
|
18020
|
-
* property to
|
|
18320
|
+
* Indicates whether the content of the column is required.
|
|
18321
|
+
*
|
|
18322
|
+
* **Note:** The table only takes care of announcing the state of the column header as defined by the `required`
|
|
18323
|
+
* property. The application needs to take care of the screen reader announcement of the state of the table
|
|
18324
|
+
* cells, for example, by setting the `required` property to `true` for `sap.m.Input`.
|
|
18021
18325
|
*
|
|
18022
18326
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
18023
18327
|
*
|
|
@@ -18160,10 +18464,11 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
18160
18464
|
propertyKey?: string | PropertyBindingInfo;
|
|
18161
18465
|
|
|
18162
18466
|
/**
|
|
18163
|
-
* Indicates whether the content of the column is required.
|
|
18164
|
-
*
|
|
18165
|
-
*
|
|
18166
|
-
* property to
|
|
18467
|
+
* Indicates whether the content of the column is required.
|
|
18468
|
+
*
|
|
18469
|
+
* **Note:** The table only takes care of announcing the state of the column header as defined by the `required`
|
|
18470
|
+
* property. The application needs to take care of the screen reader announcement of the state of the table
|
|
18471
|
+
* cells, for example, by setting the `required` property to `true` for `sap.m.Input`.
|
|
18167
18472
|
*/
|
|
18168
18473
|
required?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
18169
18474
|
|
|
@@ -19213,11 +19518,9 @@ declare module "sap/ui/mdc/table/GridTableType" {
|
|
|
19213
19518
|
/**
|
|
19214
19519
|
* Gets current value of property {@link #getRowCount rowCount}.
|
|
19215
19520
|
*
|
|
19216
|
-
* Row count of the inner table.
|
|
19217
|
-
*
|
|
19218
|
-
*
|
|
19219
|
-
* is used.
|
|
19220
|
-
*
|
|
19521
|
+
* Row count of the inner table. This property specifies the minimum row count if `sap.ui.mdc.enums.TableRowCountMode.Auto`
|
|
19522
|
+
* is used. This property specifies the row count if `sap.ui.mdc.enums.TableRowCountMode.Interactive` or
|
|
19523
|
+
* `sap.ui.mdc.enums.TableRowCountMode.Fixed` is used.
|
|
19221
19524
|
*
|
|
19222
19525
|
* Default value is `10`.
|
|
19223
19526
|
*
|
|
@@ -19327,11 +19630,9 @@ declare module "sap/ui/mdc/table/GridTableType" {
|
|
|
19327
19630
|
/**
|
|
19328
19631
|
* Sets a new value for property {@link #getRowCount rowCount}.
|
|
19329
19632
|
*
|
|
19330
|
-
* Row count of the inner table.
|
|
19331
|
-
*
|
|
19332
|
-
*
|
|
19333
|
-
* is used.
|
|
19334
|
-
*
|
|
19633
|
+
* Row count of the inner table. This property specifies the minimum row count if `sap.ui.mdc.enums.TableRowCountMode.Auto`
|
|
19634
|
+
* is used. This property specifies the row count if `sap.ui.mdc.enums.TableRowCountMode.Interactive` or
|
|
19635
|
+
* `sap.ui.mdc.enums.TableRowCountMode.Fixed` is used.
|
|
19335
19636
|
*
|
|
19336
19637
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
19337
19638
|
*
|
|
@@ -19450,10 +19751,9 @@ declare module "sap/ui/mdc/table/GridTableType" {
|
|
|
19450
19751
|
| `{${string}}`;
|
|
19451
19752
|
|
|
19452
19753
|
/**
|
|
19453
|
-
* Row count of the inner table.
|
|
19454
|
-
*
|
|
19455
|
-
*
|
|
19456
|
-
* is used.
|
|
19754
|
+
* Row count of the inner table. This property specifies the minimum row count if `sap.ui.mdc.enums.TableRowCountMode.Auto`
|
|
19755
|
+
* is used. This property specifies the row count if `sap.ui.mdc.enums.TableRowCountMode.Interactive` or
|
|
19756
|
+
* `sap.ui.mdc.enums.TableRowCountMode.Fixed` is used.
|
|
19457
19757
|
*/
|
|
19458
19758
|
rowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
19459
19759
|
|
|
@@ -20461,9 +20761,8 @@ declare module "sap/ui/mdc/table/RowSettings" {
|
|
|
20461
20761
|
*
|
|
20462
20762
|
* The actions that appear at the end of a row.
|
|
20463
20763
|
*
|
|
20464
|
-
* **Note:** This aggregation cannot be bound with a factory.
|
|
20465
|
-
*
|
|
20466
|
-
* row action type is supported.
|
|
20764
|
+
* **Note:** This aggregation cannot be bound with a factory. If the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable},
|
|
20765
|
+
* only the `Navigation` row action type is supported.
|
|
20467
20766
|
*/
|
|
20468
20767
|
getRowActions(): RowActionItem[];
|
|
20469
20768
|
/**
|
|
@@ -20619,9 +20918,8 @@ declare module "sap/ui/mdc/table/RowSettings" {
|
|
|
20619
20918
|
/**
|
|
20620
20919
|
* The actions that appear at the end of a row.
|
|
20621
20920
|
*
|
|
20622
|
-
* **Note:** This aggregation cannot be bound with a factory.
|
|
20623
|
-
*
|
|
20624
|
-
* row action type is supported.
|
|
20921
|
+
* **Note:** This aggregation cannot be bound with a factory. If the table type is {@link sap.ui.mdc.table.ResponsiveTableType ResponsiveTable},
|
|
20922
|
+
* only the `Navigation` row action type is supported.
|
|
20625
20923
|
*/
|
|
20626
20924
|
rowActions?:
|
|
20627
20925
|
| RowActionItem[]
|
|
@@ -20808,31 +21106,36 @@ declare module "sap/ui/mdc/table/TreeTableType" {
|
|
|
20808
21106
|
|
|
20809
21107
|
declare module "sap/ui/mdc/util/PropertyHelper" {
|
|
20810
21108
|
/**
|
|
20811
|
-
* An object literal
|
|
21109
|
+
* An object literal that describes attributes of a complex data property. A complex property references
|
|
21110
|
+
* other properties in the `propertyInfos` attribute.
|
|
20812
21111
|
*/
|
|
20813
|
-
export type
|
|
21112
|
+
export type ComplexPropertyInfo = PropertyInfoBase & {
|
|
20814
21113
|
/**
|
|
20815
|
-
*
|
|
20816
|
-
* Does not have to be an existing attribute in the data model or the technical name of an attribute in
|
|
20817
|
-
* the data model.
|
|
21114
|
+
* A list of related properties (by key). These related properties must not themselves be complex.
|
|
20818
21115
|
*/
|
|
20819
|
-
|
|
21116
|
+
propertyInfos: string[];
|
|
21117
|
+
};
|
|
21118
|
+
|
|
21119
|
+
/**
|
|
21120
|
+
* An object literal that describes attributes of a data property.
|
|
21121
|
+
*/
|
|
21122
|
+
export type PropertyInfo = PropertyInfoBase & {
|
|
20820
21123
|
/**
|
|
20821
|
-
* The
|
|
21124
|
+
* The name of the data type
|
|
20822
21125
|
*/
|
|
20823
|
-
|
|
21126
|
+
dataType: string;
|
|
20824
21127
|
/**
|
|
20825
|
-
*
|
|
21128
|
+
* Defines the formatting options for the data type
|
|
20826
21129
|
*/
|
|
20827
|
-
|
|
21130
|
+
formatOptions?: object;
|
|
20828
21131
|
/**
|
|
20829
|
-
*
|
|
21132
|
+
* Defines the constraints for the data type
|
|
20830
21133
|
*/
|
|
20831
|
-
|
|
21134
|
+
constraints?: object;
|
|
20832
21135
|
/**
|
|
20833
|
-
*
|
|
21136
|
+
* The technical path for a data source property
|
|
20834
21137
|
*/
|
|
20835
|
-
|
|
21138
|
+
path?: string;
|
|
20836
21139
|
/**
|
|
20837
21140
|
* Defines the maximum number of filter conditions for the property. Possible values that can be used:
|
|
20838
21141
|
*
|
|
@@ -20842,29 +21145,39 @@ declare module "sap/ui/mdc/util/PropertyHelper" {
|
|
|
20842
21145
|
*/
|
|
20843
21146
|
maxConditions?: int;
|
|
20844
21147
|
/**
|
|
20845
|
-
*
|
|
21148
|
+
* Whether filtering by this property is case-sensitive
|
|
20846
21149
|
*/
|
|
20847
|
-
|
|
21150
|
+
caseSensitive?: boolean;
|
|
21151
|
+
};
|
|
21152
|
+
|
|
21153
|
+
export type PropertyInfoBase = {
|
|
20848
21154
|
/**
|
|
20849
|
-
*
|
|
21155
|
+
* Unique, stable key for the property. It must only contain characters allowed for IDs, see {@link sap.ui.core.ID}.
|
|
21156
|
+
* Does not have to be an existing attribute in the data model or the technical name of an attribute in
|
|
21157
|
+
* the data model.
|
|
20850
21158
|
*/
|
|
20851
|
-
|
|
21159
|
+
key: string;
|
|
20852
21160
|
/**
|
|
20853
|
-
*
|
|
21161
|
+
* Translatable text that labels the property
|
|
20854
21162
|
*/
|
|
20855
|
-
|
|
21163
|
+
label: string;
|
|
21164
|
+
/**
|
|
21165
|
+
* Translatable text that can optionally be offered as tooltip, for example, in a personalization dialog
|
|
21166
|
+
*/
|
|
21167
|
+
tooltip?: string;
|
|
20856
21168
|
/**
|
|
20857
|
-
*
|
|
21169
|
+
* Whether the property is or can be visible to a user
|
|
21170
|
+
*/
|
|
21171
|
+
visible?: boolean;
|
|
21172
|
+
/**
|
|
21173
|
+
* Key of the group in which the property is located. Used to visually group properties in personalization
|
|
21174
|
+
* dialogs.
|
|
20858
21175
|
*/
|
|
20859
21176
|
group?: string;
|
|
20860
21177
|
/**
|
|
20861
21178
|
* Translatable text of the group.
|
|
20862
21179
|
*/
|
|
20863
21180
|
groupLabel?: string;
|
|
20864
|
-
/**
|
|
20865
|
-
* Whether filtering by this property is case-sensitive.
|
|
20866
|
-
*/
|
|
20867
|
-
caseSensitive?: boolean;
|
|
20868
21181
|
};
|
|
20869
21182
|
}
|
|
20870
21183
|
|
|
@@ -20877,10 +21190,6 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
20877
21190
|
|
|
20878
21191
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
20879
21192
|
|
|
20880
|
-
import Context from "sap/ui/model/Context";
|
|
20881
|
-
|
|
20882
|
-
import Control from "sap/ui/core/Control";
|
|
20883
|
-
|
|
20884
21193
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
20885
21194
|
|
|
20886
21195
|
import Container from "sap/ui/mdc/valuehelp/base/Container";
|
|
@@ -21344,67 +21653,7 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
21344
21653
|
/**
|
|
21345
21654
|
* Configuration object type to determine a `ValueHelpItem` for a given value.
|
|
21346
21655
|
*/
|
|
21347
|
-
export type ItemForValueConfiguration =
|
|
21348
|
-
/**
|
|
21349
|
-
* Value as entered by user
|
|
21350
|
-
*/
|
|
21351
|
-
value: any;
|
|
21352
|
-
/**
|
|
21353
|
-
* Value parsed by type of key to match the data type of the key
|
|
21354
|
-
*/
|
|
21355
|
-
parsedValue?: any;
|
|
21356
|
-
/**
|
|
21357
|
-
* Value parsed by type of description to match the data type of the description
|
|
21358
|
-
*/
|
|
21359
|
-
parsedDescription?: any;
|
|
21360
|
-
/**
|
|
21361
|
-
* Contextual information provided by the `payload` or `inParameters`/`outParameters` of the condition.
|
|
21362
|
-
* This is only filled if the description needs to be determined for an existing condition.
|
|
21363
|
-
*/
|
|
21364
|
-
context?: {
|
|
21365
|
-
/**
|
|
21366
|
-
* In parameters of the current condition (`inParameters` are not used any longer, but it might be filled
|
|
21367
|
-
* in older conditions stored in variants.)
|
|
21368
|
-
*/
|
|
21369
|
-
inParameter?: object;
|
|
21370
|
-
/**
|
|
21371
|
-
* Out parameters of the current condition (`outParameters` are not used any longer, but it might be filled
|
|
21372
|
-
* in older conditions stored in variants.)
|
|
21373
|
-
*/
|
|
21374
|
-
outParameter?: object;
|
|
21375
|
-
/**
|
|
21376
|
-
* Payload of the current condition
|
|
21377
|
-
*/
|
|
21378
|
-
payload?: object;
|
|
21379
|
-
};
|
|
21380
|
-
/**
|
|
21381
|
-
* `BindingContext` of the checked field. Inside a table, the `ValueHelp` element might be connected to
|
|
21382
|
-
* a different row.
|
|
21383
|
-
*/
|
|
21384
|
-
bindingContext?: Context;
|
|
21385
|
-
/**
|
|
21386
|
-
* If set, the value help checks only if there is an item with the given key. This is set to `false` if
|
|
21387
|
-
* the value cannot be a valid key because of type validation.
|
|
21388
|
-
*/
|
|
21389
|
-
checkKey: boolean;
|
|
21390
|
-
/**
|
|
21391
|
-
* If set, the value help checks only if there is an item with the given description. This is set to `false`
|
|
21392
|
-
* if only the key is used in the field.
|
|
21393
|
-
*/
|
|
21394
|
-
checkDescription: boolean;
|
|
21395
|
-
/**
|
|
21396
|
-
* If set, the check is done case-sensitively
|
|
21397
|
-
*/
|
|
21398
|
-
caseSensitive?: boolean;
|
|
21399
|
-
/**
|
|
21400
|
-
* If set, only exact matches and no suggestions are requested
|
|
21401
|
-
*/
|
|
21402
|
-
exactMatch?: boolean;
|
|
21403
|
-
/**
|
|
21404
|
-
* Instance of the calling control
|
|
21405
|
-
*/
|
|
21406
|
-
control: Control;
|
|
21407
|
-
};
|
|
21656
|
+
export type ItemForValueConfiguration = (emptyAllowed?: boolean) => object;
|
|
21408
21657
|
|
|
21409
21658
|
/**
|
|
21410
21659
|
* Configuration object type for normalized definition of a `ValueHelpItem`.
|
|
@@ -22238,27 +22487,6 @@ declare module "sap/ui/mdc/valuehelp/base/Container" {
|
|
|
22238
22487
|
* @since 1.127.0
|
|
22239
22488
|
*/
|
|
22240
22489
|
setVisualFocus(): void;
|
|
22241
|
-
/**
|
|
22242
|
-
* Defines if the typeahead container desires to be opened whenever a user clicks on a connected control
|
|
22243
|
-
*
|
|
22244
|
-
*
|
|
22245
|
-
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
22246
|
-
*/
|
|
22247
|
-
shouldOpenOnClick(): Promise<boolean>;
|
|
22248
|
-
/**
|
|
22249
|
-
* Defines if the typeahead container desires to be opened whenever a user focuses a connected control
|
|
22250
|
-
*
|
|
22251
|
-
*
|
|
22252
|
-
* @returns If `true`, the value help should open when user focuses the connected field control
|
|
22253
|
-
*/
|
|
22254
|
-
shouldOpenOnFocus(): Promise<boolean>;
|
|
22255
|
-
/**
|
|
22256
|
-
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
22257
|
-
*
|
|
22258
|
-
*
|
|
22259
|
-
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
22260
|
-
*/
|
|
22261
|
-
shouldOpenOnNavigate(): boolean;
|
|
22262
22490
|
/**
|
|
22263
22491
|
* Unbinds the content from the container.
|
|
22264
22492
|
*
|
|
@@ -22957,21 +23185,6 @@ declare module "sap/ui/mdc/valuehelp/base/Content" {
|
|
|
22957
23185
|
* @since 1.127.0
|
|
22958
23186
|
*/
|
|
22959
23187
|
setVisualFocus(): void;
|
|
22960
|
-
/**
|
|
22961
|
-
* Defines if the typeahead content desires opening the typeahead whenever a user clicks on a connected
|
|
22962
|
-
* control
|
|
22963
|
-
*
|
|
22964
|
-
*
|
|
22965
|
-
* @returns If `true`, the value help should open when user clicks into the connected field control
|
|
22966
|
-
*/
|
|
22967
|
-
shouldOpenOnClick(): boolean;
|
|
22968
|
-
/**
|
|
22969
|
-
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
22970
|
-
*
|
|
22971
|
-
*
|
|
22972
|
-
* @returns If `true`, the value help should open when user used the arrow keys in the connected field control
|
|
22973
|
-
*/
|
|
22974
|
-
shouldOpenOnNavigate(): boolean;
|
|
22975
23188
|
}
|
|
22976
23189
|
/**
|
|
22977
23190
|
* Describes the settings that can be provided to the Content constructor.
|
|
@@ -24096,6 +24309,20 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
|
|
|
24096
24309
|
* @returns Reference to `this` in order to allow method chaining
|
|
24097
24310
|
*/
|
|
24098
24311
|
destroyItems(): this;
|
|
24312
|
+
/**
|
|
24313
|
+
* Gets current value of property {@link #getEmptyText emptyText}.
|
|
24314
|
+
*
|
|
24315
|
+
* If set, an item to clear the selection is added.
|
|
24316
|
+
*
|
|
24317
|
+
* This item is only available if the connected field can be cleared.
|
|
24318
|
+
*
|
|
24319
|
+
* Default value is `empty string`.
|
|
24320
|
+
*
|
|
24321
|
+
* @since 1.138
|
|
24322
|
+
*
|
|
24323
|
+
* @returns Value of property `emptyText`
|
|
24324
|
+
*/
|
|
24325
|
+
getEmptyText(): string;
|
|
24099
24326
|
/**
|
|
24100
24327
|
* Gets current value of property {@link #getFilterList filterList}.
|
|
24101
24328
|
*
|
|
@@ -24136,6 +24363,19 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
|
|
|
24136
24363
|
* **Note:** Icons are currently not supported.
|
|
24137
24364
|
*/
|
|
24138
24365
|
getItems(): FixedListItem[];
|
|
24366
|
+
/**
|
|
24367
|
+
* Gets current value of property {@link #getRestrictedToFixedValues restrictedToFixedValues}.
|
|
24368
|
+
*
|
|
24369
|
+
* If set, the connected field must not allow other values than the items of the `FixedList`. Free text
|
|
24370
|
+
* must be avoided.
|
|
24371
|
+
*
|
|
24372
|
+
* Default value is `false`.
|
|
24373
|
+
*
|
|
24374
|
+
* @since 1.138
|
|
24375
|
+
*
|
|
24376
|
+
* @returns Value of property `restrictedToFixedValues`
|
|
24377
|
+
*/
|
|
24378
|
+
getRestrictedToFixedValues(): boolean;
|
|
24139
24379
|
/**
|
|
24140
24380
|
* Checks for the provided `sap.ui.mdc.valuehelp.content.FixedListItem` in the aggregation {@link #getItems items}.
|
|
24141
24381
|
* and returns its index if found or -1 otherwise.
|
|
@@ -24188,6 +24428,27 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
|
|
|
24188
24428
|
*/
|
|
24189
24429
|
vItem: int | string | FixedListItem
|
|
24190
24430
|
): FixedListItem | null;
|
|
24431
|
+
/**
|
|
24432
|
+
* Sets a new value for property {@link #getEmptyText emptyText}.
|
|
24433
|
+
*
|
|
24434
|
+
* If set, an item to clear the selection is added.
|
|
24435
|
+
*
|
|
24436
|
+
* This item is only available if the connected field can be cleared.
|
|
24437
|
+
*
|
|
24438
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
24439
|
+
*
|
|
24440
|
+
* Default value is `empty string`.
|
|
24441
|
+
*
|
|
24442
|
+
* @since 1.138
|
|
24443
|
+
*
|
|
24444
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
24445
|
+
*/
|
|
24446
|
+
setEmptyText(
|
|
24447
|
+
/**
|
|
24448
|
+
* New value for property `emptyText`
|
|
24449
|
+
*/
|
|
24450
|
+
sEmptyText?: string
|
|
24451
|
+
): this;
|
|
24191
24452
|
/**
|
|
24192
24453
|
* Sets a new value for property {@link #getFilterList filterList}.
|
|
24193
24454
|
*
|
|
@@ -24230,6 +24491,26 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
|
|
|
24230
24491
|
*/
|
|
24231
24492
|
bGroupable?: boolean
|
|
24232
24493
|
): this;
|
|
24494
|
+
/**
|
|
24495
|
+
* Sets a new value for property {@link #getRestrictedToFixedValues restrictedToFixedValues}.
|
|
24496
|
+
*
|
|
24497
|
+
* If set, the connected field must not allow other values than the items of the `FixedList`. Free text
|
|
24498
|
+
* must be avoided.
|
|
24499
|
+
*
|
|
24500
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
24501
|
+
*
|
|
24502
|
+
* Default value is `false`.
|
|
24503
|
+
*
|
|
24504
|
+
* @since 1.138
|
|
24505
|
+
*
|
|
24506
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
24507
|
+
*/
|
|
24508
|
+
setRestrictedToFixedValues(
|
|
24509
|
+
/**
|
|
24510
|
+
* New value for property `restrictedToFixedValues`
|
|
24511
|
+
*/
|
|
24512
|
+
bRestrictedToFixedValues?: boolean
|
|
24513
|
+
): this;
|
|
24233
24514
|
}
|
|
24234
24515
|
/**
|
|
24235
24516
|
* Describes the settings that can be provided to the FixedList constructor.
|
|
@@ -24251,6 +24532,23 @@ declare module "sap/ui/mdc/valuehelp/content/FixedList" {
|
|
|
24251
24532
|
*/
|
|
24252
24533
|
filterList?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
24253
24534
|
|
|
24535
|
+
/**
|
|
24536
|
+
* If set, an item to clear the selection is added.
|
|
24537
|
+
*
|
|
24538
|
+
* This item is only available if the connected field can be cleared.
|
|
24539
|
+
*
|
|
24540
|
+
* @since 1.138
|
|
24541
|
+
*/
|
|
24542
|
+
emptyText?: string | PropertyBindingInfo;
|
|
24543
|
+
|
|
24544
|
+
/**
|
|
24545
|
+
* If set, the connected field must not allow other values than the items of the `FixedList`. Free text
|
|
24546
|
+
* must be avoided.
|
|
24547
|
+
*
|
|
24548
|
+
* @since 1.138
|
|
24549
|
+
*/
|
|
24550
|
+
restrictedToFixedValues?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
24551
|
+
|
|
24254
24552
|
/**
|
|
24255
24553
|
* Items of the value help.
|
|
24256
24554
|
*
|
|
@@ -25624,6 +25922,8 @@ declare namespace sap {
|
|
|
25624
25922
|
|
|
25625
25923
|
"sap/ui/mdc/field/FieldMultiInput": undefined;
|
|
25626
25924
|
|
|
25925
|
+
"sap/ui/mdc/field/FieldSelect": undefined;
|
|
25926
|
+
|
|
25627
25927
|
"sap/ui/mdc/field/ListFieldHelpItem": undefined;
|
|
25628
25928
|
|
|
25629
25929
|
"sap/ui/mdc/field/MultiValueFieldDelegate": undefined;
|
|
@@ -25768,6 +26068,8 @@ declare namespace sap {
|
|
|
25768
26068
|
|
|
25769
26069
|
"sap/ui/mdc/valuehelp/Popover": undefined;
|
|
25770
26070
|
|
|
26071
|
+
"sap/ui/mdc/valuehelp/RequestShowContainerDefault": undefined;
|
|
26072
|
+
|
|
25771
26073
|
"sap/ui/mdc/ValueHelpDelegate": undefined;
|
|
25772
26074
|
}
|
|
25773
26075
|
}
|