@openui5/types 1.117.1 → 1.119.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 +536 -4
- package/types/sap.m.d.ts +696 -169
- package/types/sap.tnt.d.ts +17 -15
- package/types/sap.ui.codeeditor.d.ts +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1406 -228
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -4
- package/types/sap.ui.integration.d.ts +78 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1586 -533
- package/types/sap.ui.rta.d.ts +1 -4
- 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 +1183 -128
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -20
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +76 -35
- package/types/sap.ui.webc.fiori.d.ts +85 -85
- package/types/sap.ui.webc.main.d.ts +225 -225
- package/types/sap.uxap.d.ts +116 -1
package/types/sap.ui.mdc.d.ts
CHANGED
|
@@ -1,4 +1,148 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.119.0
|
|
2
|
+
|
|
3
|
+
declare module "sap/ui/mdc/AggregationBaseDelegate" {
|
|
4
|
+
import Control from "sap/ui/mdc/Control";
|
|
5
|
+
|
|
6
|
+
import Control1 from "sap/ui/core/Control";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @since 1.82.0
|
|
10
|
+
*
|
|
11
|
+
* Base delegate implementation for {@link sap.ui.mdc.Control MDC Controls}. This delegate serves as base
|
|
12
|
+
* implementation for aggregation-based controls, such as:
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* - `sap.ui.mdc.Chart`
|
|
16
|
+
* - `sap.ui.mdc.Table`
|
|
17
|
+
* - `sap.ui.mdc.FilterBar`
|
|
18
|
+
*
|
|
19
|
+
* The `AggregationBaseDelegate` provides an interface for aggregation based functionality by providing
|
|
20
|
+
* an array of PropertyInfo objects, which can be used during runtime for personalization through the according
|
|
21
|
+
* `addItem` and `removeItem` hooks. Additional hooks for cleanup and validation mechanisms can be implemented
|
|
22
|
+
* through this delegate.
|
|
23
|
+
*/
|
|
24
|
+
interface AggregationBaseDelegate {
|
|
25
|
+
/**
|
|
26
|
+
* Creates an instance of the implementing MDC Control's default aggregation.
|
|
27
|
+
*
|
|
28
|
+
* **Note:** The `addItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
|
|
29
|
+
* the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
|
|
30
|
+
* a personalization dialog), this method might be called without the parameter `mPropertyBag`.
|
|
31
|
+
*
|
|
32
|
+
* @returns Promise that resolves with an instance of the implementing {@link sap.ui.mdc.Control Control }
|
|
33
|
+
* default aggregation. **Note:** This method always requires a return value once it has been called. If
|
|
34
|
+
* an item for a given property `sPropertyName` has already been created, it is required to either return
|
|
35
|
+
* the existing instance or create a new instance.
|
|
36
|
+
*/
|
|
37
|
+
addItem(
|
|
38
|
+
/**
|
|
39
|
+
* Instance of an `sap.ui.mdc.Control`
|
|
40
|
+
*/
|
|
41
|
+
oControl: Control,
|
|
42
|
+
/**
|
|
43
|
+
* The name of the property info object/JSON
|
|
44
|
+
*/
|
|
45
|
+
sPropertyName: string,
|
|
46
|
+
/**
|
|
47
|
+
* Instance of property bag from SAPUI5 flexibility change API
|
|
48
|
+
*/
|
|
49
|
+
mPropertyBag?: Object
|
|
50
|
+
): Promise<any>;
|
|
51
|
+
/**
|
|
52
|
+
* A validator to evaluate the state of an MDC control.
|
|
53
|
+
*/
|
|
54
|
+
determineValidationState(
|
|
55
|
+
/**
|
|
56
|
+
* Instance of a MDC control
|
|
57
|
+
*/
|
|
58
|
+
oControl: Control,
|
|
59
|
+
/**
|
|
60
|
+
* Object Describing the validation result
|
|
61
|
+
*/
|
|
62
|
+
mValidation?: Record<string, any>
|
|
63
|
+
): void;
|
|
64
|
+
/**
|
|
65
|
+
* Retrieves the relevant metadata for a given payload and returns the property info array.
|
|
66
|
+
*
|
|
67
|
+
* @returns Once resolved, an array of property info objects is returned
|
|
68
|
+
*/
|
|
69
|
+
fetchProperties(
|
|
70
|
+
/**
|
|
71
|
+
* Instance of an `sap.ui.mdc.Control`
|
|
72
|
+
*/
|
|
73
|
+
oControl: Control
|
|
74
|
+
): Promise<object[]>;
|
|
75
|
+
/**
|
|
76
|
+
* Hook that will be executed when changes are done applying to controls during the XML flexibility change
|
|
77
|
+
* appliance process.
|
|
78
|
+
*/
|
|
79
|
+
onAfterXMLChangeProcessing(
|
|
80
|
+
/**
|
|
81
|
+
* Instance of an MDC control
|
|
82
|
+
*/
|
|
83
|
+
oControl: Record<string, Control>,
|
|
84
|
+
/**
|
|
85
|
+
* Property bag from SAPUI5 flexibility
|
|
86
|
+
*/
|
|
87
|
+
mPropertyBag: Object
|
|
88
|
+
): void;
|
|
89
|
+
/**
|
|
90
|
+
* Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
|
|
91
|
+
* The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
|
|
92
|
+
* of the SAPUI5 flexibility handling.
|
|
93
|
+
*
|
|
94
|
+
* **Note:** The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
|
|
95
|
+
* the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
|
|
96
|
+
* a personalization dialog), this method might be called without the parameter `mPropertyBag`.
|
|
97
|
+
*
|
|
98
|
+
* @returns Promise that resolves with `true`, `false` to allow/prevent default behavior of the change
|
|
99
|
+
*/
|
|
100
|
+
removeItem(
|
|
101
|
+
/**
|
|
102
|
+
* Instance of an `sap.ui.mdc.Control`
|
|
103
|
+
*/
|
|
104
|
+
oControl: Control,
|
|
105
|
+
/**
|
|
106
|
+
* The control instance that was removed
|
|
107
|
+
*/
|
|
108
|
+
oItem: Control1,
|
|
109
|
+
/**
|
|
110
|
+
* Instance of property bag from SAPUI5 flexibility
|
|
111
|
+
*/
|
|
112
|
+
mPropertyBag?: Object
|
|
113
|
+
): Promise<any>;
|
|
114
|
+
/**
|
|
115
|
+
* A validator to evaluate the theoretical control state.
|
|
116
|
+
*
|
|
117
|
+
* @returns An object that must contain at least the `validation` attribute {@link sap.ui.core.MessageType MessageType}.
|
|
118
|
+
* If `warning` or `error` state types have been provided, the `message` is shown in addition.
|
|
119
|
+
*/
|
|
120
|
+
validateState(
|
|
121
|
+
/**
|
|
122
|
+
* Instance of an `sap.ui.mdc.Control`
|
|
123
|
+
*/
|
|
124
|
+
oControl: Control,
|
|
125
|
+
/**
|
|
126
|
+
* The theoretical external state representation of an MDC control. The representation of this format is
|
|
127
|
+
* similar as processed by {@link sap.ui.mdc.p13n.StateUtil StateUtil}
|
|
128
|
+
*/
|
|
129
|
+
oState: Object
|
|
130
|
+
): Object;
|
|
131
|
+
/**
|
|
132
|
+
* Visualizes the validation state of an MDC control.
|
|
133
|
+
*
|
|
134
|
+
* @returns mValidation Describes the validation result.
|
|
135
|
+
*/
|
|
136
|
+
visualizeValidationState(
|
|
137
|
+
/**
|
|
138
|
+
* Instance of a MDC control
|
|
139
|
+
*/
|
|
140
|
+
oControl: Record<string, Control>
|
|
141
|
+
): Record<string, any>;
|
|
142
|
+
}
|
|
143
|
+
const AggregationBaseDelegate: AggregationBaseDelegate;
|
|
144
|
+
export default AggregationBaseDelegate;
|
|
145
|
+
}
|
|
2
146
|
|
|
3
147
|
declare module "sap/ui/mdc/BaseDelegate" {
|
|
4
148
|
import Control from "sap/ui/mdc/Control";
|
|
@@ -1042,10 +1186,10 @@ declare module "sap/ui/mdc/LinkDelegate" {
|
|
|
1042
1186
|
/**
|
|
1043
1187
|
* Calculates and returns the type of link that is displayed.
|
|
1044
1188
|
*
|
|
1045
|
-
* @returns Once resolved,
|
|
1046
|
-
* `Promise` are returned. The optional `Promise` also returns a {@link sap.ui.mdc.link.LinkType}
|
|
1047
|
-
* Once the optional `Promise` has been resolved, the returned {@link sap.ui.mdc.link.LinkType}
|
|
1048
|
-
* the `initialType`.
|
|
1189
|
+
* @returns Once resolved, a {@link sap.ui.mdc.link.LinkTypeWrapper} containing an initial {@link sap.ui.mdc.link.LinkType }
|
|
1190
|
+
* and an optional `Promise` are returned. The optional `Promise` also returns a {@link sap.ui.mdc.link.LinkType }
|
|
1191
|
+
* object. Once the optional `Promise` has been resolved, the returned {@link sap.ui.mdc.link.LinkType }
|
|
1192
|
+
* overwrites the `initialType`.
|
|
1049
1193
|
*/
|
|
1050
1194
|
fetchLinkType(
|
|
1051
1195
|
/**
|
|
@@ -1515,14 +1659,14 @@ declare module "sap/ui/mdc/util/TypeMap" {
|
|
|
1515
1659
|
*
|
|
1516
1660
|
* **Note:** The module of the data type needs to be loaded before.
|
|
1517
1661
|
*
|
|
1518
|
-
* @returns
|
|
1662
|
+
* @returns returns a dataType class
|
|
1519
1663
|
*/
|
|
1520
1664
|
getDataTypeClass(
|
|
1521
1665
|
/**
|
|
1522
1666
|
* Class path as string where each name is separated by '.'
|
|
1523
1667
|
*/
|
|
1524
1668
|
sDataType: string
|
|
1525
|
-
): SimpleType;
|
|
1669
|
+
): (p1: SimpleType) => void;
|
|
1526
1670
|
/**
|
|
1527
1671
|
* Returns the data type class name for a given name or alias.
|
|
1528
1672
|
*
|
|
@@ -1660,12 +1804,10 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
1660
1804
|
|
|
1661
1805
|
import Context from "sap/ui/model/Context";
|
|
1662
1806
|
|
|
1663
|
-
import Control from "sap/ui/core/Control";
|
|
1664
|
-
|
|
1665
|
-
import UI5Element from "sap/ui/core/Element";
|
|
1666
|
-
|
|
1667
1807
|
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
1668
1808
|
|
|
1809
|
+
import Control from "sap/ui/core/Control";
|
|
1810
|
+
|
|
1669
1811
|
import Content from "sap/ui/mdc/valuehelp/base/Content";
|
|
1670
1812
|
|
|
1671
1813
|
import ValueHelpPropagationReason from "sap/ui/mdc/enums/ValueHelpPropagationReason";
|
|
@@ -1747,6 +1889,34 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
1747
1889
|
*/
|
|
1748
1890
|
iRequestedItems: int
|
|
1749
1891
|
): Promise<ListBinding>;
|
|
1892
|
+
/**
|
|
1893
|
+
* @since 1.118.0
|
|
1894
|
+
*
|
|
1895
|
+
* Find all conditions, which are represented by the given context for 'Select from list' scenarios. By
|
|
1896
|
+
* default, only condition keys are considered. This may be extended with payload dependent filters.
|
|
1897
|
+
*
|
|
1898
|
+
* Note: this method replaces the former `isFilterableListItemSelected`
|
|
1899
|
+
*
|
|
1900
|
+
* @returns Conditions represented by the given context
|
|
1901
|
+
*/
|
|
1902
|
+
findConditionsForContext(
|
|
1903
|
+
/**
|
|
1904
|
+
* The `ValueHelp` control instance
|
|
1905
|
+
*/
|
|
1906
|
+
oValueHelp: ValueHelp,
|
|
1907
|
+
/**
|
|
1908
|
+
* `ValueHelp` content instance
|
|
1909
|
+
*/
|
|
1910
|
+
oContent: FilterableListContent,
|
|
1911
|
+
/**
|
|
1912
|
+
* Entry of a given list
|
|
1913
|
+
*/
|
|
1914
|
+
oContext: Context,
|
|
1915
|
+
/**
|
|
1916
|
+
* current conditions
|
|
1917
|
+
*/
|
|
1918
|
+
aConditions: ConditionObject[]
|
|
1919
|
+
): ConditionObject[];
|
|
1750
1920
|
/**
|
|
1751
1921
|
* @since 1.106.0
|
|
1752
1922
|
*
|
|
@@ -1841,32 +2011,6 @@ declare module "sap/ui/mdc/ValueHelpDelegate" {
|
|
|
1841
2011
|
*/
|
|
1842
2012
|
oConditions: object
|
|
1843
2013
|
): object;
|
|
1844
|
-
/**
|
|
1845
|
-
* @since 1.101.0
|
|
1846
|
-
*
|
|
1847
|
-
* Provides the possibility to customize selections in 'Select from list' scenarios. By default, only condition
|
|
1848
|
-
* keys are taken into consideration. This might be extended with payload dependent filters.
|
|
1849
|
-
*
|
|
1850
|
-
* @returns `true` if item is selected
|
|
1851
|
-
*/
|
|
1852
|
-
isFilterableListItemSelected(
|
|
1853
|
-
/**
|
|
1854
|
-
* The `ValueHelp` control instance
|
|
1855
|
-
*/
|
|
1856
|
-
oValueHelp: ValueHelp,
|
|
1857
|
-
/**
|
|
1858
|
-
* `ValueHelp` content instance
|
|
1859
|
-
*/
|
|
1860
|
-
oContent: FilterableListContent,
|
|
1861
|
-
/**
|
|
1862
|
-
* Entry of a given list
|
|
1863
|
-
*/
|
|
1864
|
-
oItem: UI5Element,
|
|
1865
|
-
/**
|
|
1866
|
-
* current conditions
|
|
1867
|
-
*/
|
|
1868
|
-
aConditions: ConditionObject[]
|
|
1869
|
-
): boolean;
|
|
1870
2014
|
/**
|
|
1871
2015
|
* Checks if a `ListBinding` supports `$search`.
|
|
1872
2016
|
*
|
|
@@ -2191,7 +2335,7 @@ declare module "sap/ui/mdc/library" {
|
|
|
2191
2335
|
/**
|
|
2192
2336
|
* Defines if the filter supports multiple values `-1` or single values `1`
|
|
2193
2337
|
*/
|
|
2194
|
-
maxConditions
|
|
2338
|
+
maxConditions?: int;
|
|
2195
2339
|
};
|
|
2196
2340
|
}
|
|
2197
2341
|
|
|
@@ -2722,7 +2866,8 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2722
2866
|
/**
|
|
2723
2867
|
* @since 1.58
|
|
2724
2868
|
*
|
|
2725
|
-
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control
|
|
2869
|
+
* The action for an {@link sap.ui.mdc.ActionToolbar ActionToolbar} control with given layout information
|
|
2870
|
+
* that determines where the wrapped control is displayed on the `ActionToolbar`.
|
|
2726
2871
|
*/
|
|
2727
2872
|
export default class ActionToolbarAction
|
|
2728
2873
|
extends Control
|
|
@@ -2805,13 +2950,13 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2805
2950
|
/**
|
|
2806
2951
|
* Gets content of aggregation {@link #getAction action}.
|
|
2807
2952
|
*
|
|
2808
|
-
*
|
|
2953
|
+
* The control that is displayed on the `ActionToolbar`.
|
|
2809
2954
|
*/
|
|
2810
2955
|
getAction(): Control;
|
|
2811
2956
|
/**
|
|
2812
2957
|
* Gets current value of property {@link #getLayoutInformation layoutInformation}.
|
|
2813
2958
|
*
|
|
2814
|
-
*
|
|
2959
|
+
* Contains the information where the action is displayed on the `ActionToolbar`.
|
|
2815
2960
|
*
|
|
2816
2961
|
* Default value is `...see text or source`.
|
|
2817
2962
|
*
|
|
@@ -2832,7 +2977,7 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2832
2977
|
/**
|
|
2833
2978
|
* Sets a new value for property {@link #getLayoutInformation layoutInformation}.
|
|
2834
2979
|
*
|
|
2835
|
-
*
|
|
2980
|
+
* Contains the information where the action is displayed on the `ActionToolbar`.
|
|
2836
2981
|
*
|
|
2837
2982
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2838
2983
|
*
|
|
@@ -2850,12 +2995,12 @@ declare module "sap/ui/mdc/actiontoolbar/ActionToolbarAction" {
|
|
|
2850
2995
|
|
|
2851
2996
|
export interface $ActionToolbarActionSettings extends $ControlSettings {
|
|
2852
2997
|
/**
|
|
2853
|
-
*
|
|
2998
|
+
* Contains the information where the action is displayed on the `ActionToolbar`.
|
|
2854
2999
|
*/
|
|
2855
3000
|
layoutInformation?: object | PropertyBindingInfo | `{${string}}`;
|
|
2856
3001
|
|
|
2857
3002
|
/**
|
|
2858
|
-
*
|
|
3003
|
+
* The control that is displayed on the `ActionToolbar`.
|
|
2859
3004
|
*/
|
|
2860
3005
|
action?: Control;
|
|
2861
3006
|
}
|
|
@@ -5354,16 +5499,19 @@ declare module "sap/ui/mdc/condition/Operator" {
|
|
|
5354
5499
|
/**
|
|
5355
5500
|
* Array of type to be used. The length of the array defines the number of values that need to be entered
|
|
5356
5501
|
* with the operator.
|
|
5357
|
-
* If set to {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self} the `Type` of the
|
|
5358
|
-
* or `FilterField` using the `Operator` is used.
|
|
5502
|
+
* If set to {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self}, the `Type` of the
|
|
5503
|
+
* `Field` or `FilterField` using the `Operator` is used.
|
|
5359
5504
|
* If set to {@link sap.ui.mdc.enums.OperatorValueType.SelfNoParse OperatorValueType.SelfNoParse} same
|
|
5360
5505
|
* as {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self}, except that the input value
|
|
5361
5506
|
* parsing will not be called.
|
|
5362
|
-
* If set to {@link sap.ui.mdc.enums.OperatorValueType.Static OperatorValueType.Static} a simple string
|
|
5507
|
+
* If set to {@link sap.ui.mdc.enums.OperatorValueType.Static OperatorValueType.Static}, a simple string
|
|
5363
5508
|
* type is used to display static text.
|
|
5364
|
-
* If set to a name of a data type an instance of this data type
|
|
5365
|
-
* If set to an object with structure {@link sap.ui.mdc.condition.ValueType} an instance of the corresponding
|
|
5366
|
-
* data type
|
|
5509
|
+
* If set to a name of a data type, an instance of this data type is used.
|
|
5510
|
+
* If set to an object with structure {@link sap.ui.mdc.condition.ValueType}, an instance of the corresponding
|
|
5511
|
+
* data type is used. The type given via `name` must be loaded by the application.
|
|
5512
|
+
* If set to `null`, the corresponding value is interpreted as a description that holds no required data.
|
|
5513
|
+
* To display this value, the additional `Type` of the `Field` or `FilterField` using the `Operator` is
|
|
5514
|
+
* used.
|
|
5367
5515
|
*/
|
|
5368
5516
|
valueTypes: string[] | object[];
|
|
5369
5517
|
/**
|
|
@@ -5592,11 +5740,12 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5592
5740
|
* @since 1.61
|
|
5593
5741
|
* @experimental (since 1.61)
|
|
5594
5742
|
*
|
|
5595
|
-
* The base class for
|
|
5743
|
+
* The base class for controls in the `sap.ui.mdc` library providing delegate-related functionality (see
|
|
5744
|
+
* {@link sap.ui.mdc.mixin.DelegateMixin}).
|
|
5596
5745
|
*/
|
|
5597
5746
|
export default class Control extends Control1 {
|
|
5598
5747
|
/**
|
|
5599
|
-
* Creates and initializes a new
|
|
5748
|
+
* Creates and initializes a new control with the given `sId` and settings.
|
|
5600
5749
|
*
|
|
5601
5750
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5602
5751
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5609,7 +5758,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5609
5758
|
mSettings?: $ControlSettings
|
|
5610
5759
|
);
|
|
5611
5760
|
/**
|
|
5612
|
-
* Creates and initializes a new
|
|
5761
|
+
* Creates and initializes a new control with the given `sId` and settings.
|
|
5613
5762
|
*
|
|
5614
5763
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5615
5764
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5617,8 +5766,8 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5617
5766
|
*/
|
|
5618
5767
|
constructor(
|
|
5619
5768
|
/**
|
|
5620
|
-
* Optional ID for the new control; generated automatically if no non-empty ID is given Note
|
|
5621
|
-
* omitted, no matter whether `mSettings`
|
|
5769
|
+
* Optional ID for the new control; generated automatically if no non-empty ID is given **Note:** This can
|
|
5770
|
+
* be omitted, no matter whether `mSettings` is given.
|
|
5622
5771
|
*/
|
|
5623
5772
|
sId?: string,
|
|
5624
5773
|
/**
|
|
@@ -5627,23 +5776,6 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5627
5776
|
mSettings?: $ControlSettings
|
|
5628
5777
|
);
|
|
5629
5778
|
|
|
5630
|
-
/**
|
|
5631
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5632
|
-
*
|
|
5633
|
-
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5634
|
-
* to start the delegate initialization
|
|
5635
|
-
*
|
|
5636
|
-
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5637
|
-
*/
|
|
5638
|
-
static awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5639
|
-
/**
|
|
5640
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5641
|
-
*
|
|
5642
|
-
* Provides access to the property helper initialization `Promise`.
|
|
5643
|
-
*
|
|
5644
|
-
* @returns Returns a `Promise` that resolves with the property helper
|
|
5645
|
-
*/
|
|
5646
|
-
static awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5647
5779
|
/**
|
|
5648
5780
|
* Creates a new subclass of class sap.ui.mdc.Control with name `sClassName` and enriches it with the information
|
|
5649
5781
|
* contained in `oClassInfo`.
|
|
@@ -5667,6 +5799,29 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5667
5799
|
*/
|
|
5668
5800
|
FNMetaImpl?: Function
|
|
5669
5801
|
): Function;
|
|
5802
|
+
/**
|
|
5803
|
+
* Returns a metadata object for class sap.ui.mdc.Control.
|
|
5804
|
+
*
|
|
5805
|
+
* @returns Metadata object describing this class
|
|
5806
|
+
*/
|
|
5807
|
+
static getMetadata(): ElementMetadata;
|
|
5808
|
+
/**
|
|
5809
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5810
|
+
*
|
|
5811
|
+
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5812
|
+
* to start the delegate initialization
|
|
5813
|
+
*
|
|
5814
|
+
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5815
|
+
*/
|
|
5816
|
+
awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5817
|
+
/**
|
|
5818
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5819
|
+
*
|
|
5820
|
+
* Provides access to the property helper initialization `Promise`.
|
|
5821
|
+
*
|
|
5822
|
+
* @returns Returns a `Promise` that resolves with the property helper
|
|
5823
|
+
*/
|
|
5824
|
+
awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5670
5825
|
/**
|
|
5671
5826
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5672
5827
|
*
|
|
@@ -5674,7 +5829,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5674
5829
|
*
|
|
5675
5830
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5676
5831
|
*/
|
|
5677
|
-
|
|
5832
|
+
finalizePropertyHelper(
|
|
5678
5833
|
/**
|
|
5679
5834
|
* optional set of initial properties
|
|
5680
5835
|
*/
|
|
@@ -5689,19 +5844,26 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5689
5844
|
*
|
|
5690
5845
|
* @returns `typeUtil` made available by a delegate module
|
|
5691
5846
|
*/
|
|
5692
|
-
|
|
5847
|
+
getControlDelegate(): BaseDelegate;
|
|
5693
5848
|
/**
|
|
5694
|
-
*
|
|
5849
|
+
* @experimental
|
|
5695
5850
|
*
|
|
5696
|
-
*
|
|
5851
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
5852
|
+
*
|
|
5853
|
+
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
5854
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
5855
|
+
* that).
|
|
5856
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
5857
|
+
*
|
|
5858
|
+
* @returns Value of property `delegate`
|
|
5697
5859
|
*/
|
|
5698
|
-
|
|
5860
|
+
getDelegate(): object;
|
|
5699
5861
|
/**
|
|
5700
5862
|
* Returns the payload object set for the delegate property.
|
|
5701
5863
|
*
|
|
5702
5864
|
* @returns Payload set for delegate property
|
|
5703
5865
|
*/
|
|
5704
|
-
|
|
5866
|
+
getPayload(): object;
|
|
5705
5867
|
/**
|
|
5706
5868
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5707
5869
|
*
|
|
@@ -5709,13 +5871,13 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5709
5871
|
*
|
|
5710
5872
|
* @returns The property helper
|
|
5711
5873
|
*/
|
|
5712
|
-
|
|
5874
|
+
getPropertyHelper(): /* was: sap.ui.mdc.util.PropertyHelper */ any;
|
|
5713
5875
|
/**
|
|
5714
5876
|
* Returns the `TypeMap` made available by a delegate module.
|
|
5715
5877
|
*
|
|
5716
5878
|
* @returns `TypeMap` object
|
|
5717
5879
|
*/
|
|
5718
|
-
|
|
5880
|
+
getTypeMap(): TypeMap;
|
|
5719
5881
|
/**
|
|
5720
5882
|
* @deprecated (since 1.115.0) - please see {@link #getTypeMap}
|
|
5721
5883
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -5724,7 +5886,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5724
5886
|
*
|
|
5725
5887
|
* @returns `TypeUtil` object
|
|
5726
5888
|
*/
|
|
5727
|
-
|
|
5889
|
+
getTypeUtil(): /* was: sap.ui.mdc.util.TypeUtil */ any | TypeMap;
|
|
5728
5890
|
/**
|
|
5729
5891
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5730
5892
|
*
|
|
@@ -5732,7 +5894,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5732
5894
|
*
|
|
5733
5895
|
* @returns Returns a `Promise` that resolves the delegate module, if available
|
|
5734
5896
|
*/
|
|
5735
|
-
|
|
5897
|
+
initControlDelegate(
|
|
5736
5898
|
/**
|
|
5737
5899
|
* Preloaded delegate module
|
|
5738
5900
|
*/
|
|
@@ -5745,7 +5907,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5745
5907
|
*
|
|
5746
5908
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5747
5909
|
*/
|
|
5748
|
-
|
|
5910
|
+
initPropertyHelper(
|
|
5749
5911
|
/**
|
|
5750
5912
|
* Custom property helper class
|
|
5751
5913
|
*/
|
|
@@ -5766,20 +5928,7 @@ declare module "sap/ui/mdc/Control" {
|
|
|
5766
5928
|
*
|
|
5767
5929
|
* @returns Returns a `boolean` indicating the propertyHelper's final state
|
|
5768
5930
|
*/
|
|
5769
|
-
|
|
5770
|
-
/**
|
|
5771
|
-
* @experimental
|
|
5772
|
-
*
|
|
5773
|
-
* Gets current value of property {@link #getDelegate delegate}.
|
|
5774
|
-
*
|
|
5775
|
-
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
5776
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
5777
|
-
* that).
|
|
5778
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
5779
|
-
*
|
|
5780
|
-
* @returns Value of property `delegate`
|
|
5781
|
-
*/
|
|
5782
|
-
getDelegate(): object;
|
|
5931
|
+
isPropertyHelperFinal(): boolean;
|
|
5783
5932
|
/**
|
|
5784
5933
|
* @experimental
|
|
5785
5934
|
*
|
|
@@ -5833,11 +5982,12 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5833
5982
|
* @since 1.74
|
|
5834
5983
|
* @experimental (since 1.74)
|
|
5835
5984
|
*
|
|
5836
|
-
* The base class for
|
|
5985
|
+
* The base class for composite elements in the `sap.ui.mdc` library providing delegate-related functionality
|
|
5986
|
+
* (see {@link sap.ui.mdc.mixin.DelegateMixin}).
|
|
5837
5987
|
*/
|
|
5838
5988
|
export default class Element1 extends UI5Element {
|
|
5839
5989
|
/**
|
|
5840
|
-
* Creates and initializes a new
|
|
5990
|
+
* Creates and initializes a new element with the given `sId` and settings.
|
|
5841
5991
|
*
|
|
5842
5992
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5843
5993
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5850,7 +6000,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5850
6000
|
mSettings?: $ElementSettings
|
|
5851
6001
|
);
|
|
5852
6002
|
/**
|
|
5853
|
-
* Creates and initializes a new
|
|
6003
|
+
* Creates and initializes a new element with the given `sId` and settings.
|
|
5854
6004
|
*
|
|
5855
6005
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
5856
6006
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
@@ -5858,8 +6008,8 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5858
6008
|
*/
|
|
5859
6009
|
constructor(
|
|
5860
6010
|
/**
|
|
5861
|
-
* Optional ID for the new element; generated automatically if no non-empty ID is given Note
|
|
5862
|
-
* omitted, no matter whether `mSettings`
|
|
6011
|
+
* Optional ID for the new element; generated automatically if no non-empty ID is given **Note:** This can
|
|
6012
|
+
* be omitted, no matter whether `mSettings` is given.
|
|
5863
6013
|
*/
|
|
5864
6014
|
sId?: string,
|
|
5865
6015
|
/**
|
|
@@ -5868,23 +6018,6 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5868
6018
|
mSettings?: $ElementSettings
|
|
5869
6019
|
);
|
|
5870
6020
|
|
|
5871
|
-
/**
|
|
5872
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5873
|
-
*
|
|
5874
|
-
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
5875
|
-
* to start the delegate initialization
|
|
5876
|
-
*
|
|
5877
|
-
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
5878
|
-
*/
|
|
5879
|
-
static awaitControlDelegate(): Promise<BaseDelegate>;
|
|
5880
|
-
/**
|
|
5881
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5882
|
-
*
|
|
5883
|
-
* Provides access to the property helper initialization `Promise`.
|
|
5884
|
-
*
|
|
5885
|
-
* @returns Returns a `Promise` that resolves with the property helper
|
|
5886
|
-
*/
|
|
5887
|
-
static awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5888
6021
|
/**
|
|
5889
6022
|
* Creates a new subclass of class sap.ui.mdc.Element with name `sClassName` and enriches it with the information
|
|
5890
6023
|
* contained in `oClassInfo`.
|
|
@@ -5908,6 +6041,29 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5908
6041
|
*/
|
|
5909
6042
|
FNMetaImpl?: Function
|
|
5910
6043
|
): Function;
|
|
6044
|
+
/**
|
|
6045
|
+
* Returns a metadata object for class sap.ui.mdc.Element.
|
|
6046
|
+
*
|
|
6047
|
+
* @returns Metadata object describing this class
|
|
6048
|
+
*/
|
|
6049
|
+
static getMetadata(): ElementMetadata;
|
|
6050
|
+
/**
|
|
6051
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
6052
|
+
*
|
|
6053
|
+
* Provides access to the delegate initialization `Promise`. **Note:** `initControlDelegate` must be called
|
|
6054
|
+
* to start the delegate initialization
|
|
6055
|
+
*
|
|
6056
|
+
* @returns Returns a `Promise` reflecting the delegate initialization
|
|
6057
|
+
*/
|
|
6058
|
+
awaitControlDelegate(): Promise<BaseDelegate>;
|
|
6059
|
+
/**
|
|
6060
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
6061
|
+
*
|
|
6062
|
+
* Provides access to the property helper initialization `Promise`.
|
|
6063
|
+
*
|
|
6064
|
+
* @returns Returns a `Promise` that resolves with the property helper
|
|
6065
|
+
*/
|
|
6066
|
+
awaitPropertyHelper(): Promise</* was: sap.ui.mdc.util.PropertyHelper */ any>;
|
|
5911
6067
|
/**
|
|
5912
6068
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5913
6069
|
*
|
|
@@ -5915,7 +6071,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5915
6071
|
*
|
|
5916
6072
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5917
6073
|
*/
|
|
5918
|
-
|
|
6074
|
+
finalizePropertyHelper(
|
|
5919
6075
|
/**
|
|
5920
6076
|
* optional set of initial properties
|
|
5921
6077
|
*/
|
|
@@ -5930,19 +6086,26 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5930
6086
|
*
|
|
5931
6087
|
* @returns `typeUtil` made available by a delegate module
|
|
5932
6088
|
*/
|
|
5933
|
-
|
|
6089
|
+
getControlDelegate(): BaseDelegate;
|
|
5934
6090
|
/**
|
|
5935
|
-
*
|
|
6091
|
+
* @experimental
|
|
5936
6092
|
*
|
|
5937
|
-
*
|
|
6093
|
+
* Gets current value of property {@link #getDelegate delegate}.
|
|
6094
|
+
*
|
|
6095
|
+
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
6096
|
+
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
6097
|
+
* that).
|
|
6098
|
+
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
6099
|
+
*
|
|
6100
|
+
* @returns Value of property `delegate`
|
|
5938
6101
|
*/
|
|
5939
|
-
|
|
6102
|
+
getDelegate(): object;
|
|
5940
6103
|
/**
|
|
5941
6104
|
* Returns the payload object set for the delegate property.
|
|
5942
6105
|
*
|
|
5943
6106
|
* @returns Payload set for delegate property
|
|
5944
6107
|
*/
|
|
5945
|
-
|
|
6108
|
+
getPayload(): object;
|
|
5946
6109
|
/**
|
|
5947
6110
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5948
6111
|
*
|
|
@@ -5950,13 +6113,13 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5950
6113
|
*
|
|
5951
6114
|
* @returns The property helper
|
|
5952
6115
|
*/
|
|
5953
|
-
|
|
6116
|
+
getPropertyHelper(): /* was: sap.ui.mdc.util.PropertyHelper */ any;
|
|
5954
6117
|
/**
|
|
5955
6118
|
* Returns the `TypeMap` made available by a delegate module.
|
|
5956
6119
|
*
|
|
5957
6120
|
* @returns `TypeMap` object
|
|
5958
6121
|
*/
|
|
5959
|
-
|
|
6122
|
+
getTypeMap(): TypeMap;
|
|
5960
6123
|
/**
|
|
5961
6124
|
* @deprecated (since 1.115.0) - please see {@link #getTypeMap}
|
|
5962
6125
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
@@ -5965,7 +6128,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5965
6128
|
*
|
|
5966
6129
|
* @returns `TypeUtil` object
|
|
5967
6130
|
*/
|
|
5968
|
-
|
|
6131
|
+
getTypeUtil(): /* was: sap.ui.mdc.util.TypeUtil */ any | TypeMap;
|
|
5969
6132
|
/**
|
|
5970
6133
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5971
6134
|
*
|
|
@@ -5973,7 +6136,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5973
6136
|
*
|
|
5974
6137
|
* @returns Returns a `Promise` that resolves the delegate module, if available
|
|
5975
6138
|
*/
|
|
5976
|
-
|
|
6139
|
+
initControlDelegate(
|
|
5977
6140
|
/**
|
|
5978
6141
|
* Preloaded delegate module
|
|
5979
6142
|
*/
|
|
@@ -5986,7 +6149,7 @@ declare module "sap/ui/mdc/Element" {
|
|
|
5986
6149
|
*
|
|
5987
6150
|
* @returns Returns a `Promise` that resolves with the property helper
|
|
5988
6151
|
*/
|
|
5989
|
-
|
|
6152
|
+
initPropertyHelper(
|
|
5990
6153
|
/**
|
|
5991
6154
|
* Custom property helper class
|
|
5992
6155
|
*/
|
|
@@ -6007,31 +6170,18 @@ declare module "sap/ui/mdc/Element" {
|
|
|
6007
6170
|
*
|
|
6008
6171
|
* @returns Returns a `boolean` indicating the propertyHelper's final state
|
|
6009
6172
|
*/
|
|
6010
|
-
|
|
6173
|
+
isPropertyHelperFinal(): boolean;
|
|
6011
6174
|
/**
|
|
6012
6175
|
* @experimental
|
|
6013
6176
|
*
|
|
6014
|
-
*
|
|
6177
|
+
* Sets a new value for property {@link #getDelegate delegate}.
|
|
6015
6178
|
*
|
|
6016
6179
|
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
6017
6180
|
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
6018
6181
|
* that).
|
|
6019
6182
|
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
6020
6183
|
*
|
|
6021
|
-
*
|
|
6022
|
-
*/
|
|
6023
|
-
getDelegate(): object;
|
|
6024
|
-
/**
|
|
6025
|
-
* @experimental
|
|
6026
|
-
*
|
|
6027
|
-
* Sets a new value for property {@link #getDelegate delegate}.
|
|
6028
|
-
*
|
|
6029
|
-
* Path to the `Delegate` module that provides the required APIs to execute model-specific logic.
|
|
6030
|
-
* **Note:** Ensure that the related file can be requested (any required library has to be loaded before
|
|
6031
|
-
* that).
|
|
6032
|
-
* Do not bind or modify the module. This property can only be configured during control initialization.
|
|
6033
|
-
*
|
|
6034
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
6184
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
6035
6185
|
*
|
|
6036
6186
|
* @returns Reference to `this` in order to allow method chaining
|
|
6037
6187
|
*/
|
|
@@ -6915,6 +7065,10 @@ declare module "sap/ui/mdc/field/ConditionsType" {
|
|
|
6915
7065
|
* Type of the value of the condition (used for formatting, parsing and validating)
|
|
6916
7066
|
*/
|
|
6917
7067
|
valueType?: Type;
|
|
7068
|
+
/**
|
|
7069
|
+
* Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
|
|
7070
|
+
*/
|
|
7071
|
+
additionalValueType?: Type;
|
|
6918
7072
|
/**
|
|
6919
7073
|
* Possible operators to be used in the condition
|
|
6920
7074
|
*/
|
|
@@ -6947,13 +7101,17 @@ declare module "sap/ui/mdc/field/ConditionsType" {
|
|
|
6947
7101
|
*/
|
|
6948
7102
|
originalDateType?: Type;
|
|
6949
7103
|
/**
|
|
6950
|
-
*
|
|
7104
|
+
* Additional type used for another part of a field (for example, for unit fields)
|
|
6951
7105
|
*/
|
|
6952
7106
|
additionalType?: Type;
|
|
6953
7107
|
/**
|
|
6954
|
-
*
|
|
7108
|
+
* Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
|
|
6955
7109
|
*/
|
|
6956
7110
|
compositeTypes?: Type[];
|
|
7111
|
+
/**
|
|
7112
|
+
* Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
|
|
7113
|
+
*/
|
|
7114
|
+
additionalCompositeTypes?: Type[];
|
|
6957
7115
|
/**
|
|
6958
7116
|
* Function to get the existing conditions of the field.
|
|
6959
7117
|
*/
|
|
@@ -6993,11 +7151,11 @@ declare module "sap/ui/mdc/field/ConditionsType" {
|
|
|
6993
7151
|
*/
|
|
6994
7152
|
control?: Control;
|
|
6995
7153
|
/**
|
|
6996
|
-
* If set, the conditions will not be formatted (MultiInput value
|
|
7154
|
+
* If set, the conditions will not be formatted (MultiInput `value` property case)
|
|
6997
7155
|
*/
|
|
6998
7156
|
noFormatting?: boolean;
|
|
6999
7157
|
/**
|
|
7000
|
-
* If noFormatting is set, this value is used as output
|
|
7158
|
+
* If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
|
|
7001
7159
|
*/
|
|
7002
7160
|
keepValue?: string;
|
|
7003
7161
|
},
|
|
@@ -7131,6 +7289,10 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
7131
7289
|
* Type of the value of the condition (used for formatting, parsing and validating)
|
|
7132
7290
|
*/
|
|
7133
7291
|
valueType?: Type;
|
|
7292
|
+
/**
|
|
7293
|
+
* Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
|
|
7294
|
+
*/
|
|
7295
|
+
additionalValueType?: Type;
|
|
7134
7296
|
/**
|
|
7135
7297
|
* Possible operators to be used in the condition
|
|
7136
7298
|
*/
|
|
@@ -7163,13 +7325,17 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
7163
7325
|
*/
|
|
7164
7326
|
originalDateType?: Type;
|
|
7165
7327
|
/**
|
|
7166
|
-
*
|
|
7328
|
+
* Additional type used for another part of a field (for example, for unit fields)
|
|
7167
7329
|
*/
|
|
7168
7330
|
additionalType?: Type;
|
|
7169
7331
|
/**
|
|
7170
|
-
*
|
|
7332
|
+
* Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
|
|
7171
7333
|
*/
|
|
7172
7334
|
compositeTypes?: Type[];
|
|
7335
|
+
/**
|
|
7336
|
+
* Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
|
|
7337
|
+
*/
|
|
7338
|
+
additionalCompositeTypes?: Type[];
|
|
7173
7339
|
/**
|
|
7174
7340
|
* Function to get the existing conditions of the field.
|
|
7175
7341
|
*/
|
|
@@ -7208,6 +7374,14 @@ declare module "sap/ui/mdc/field/ConditionType" {
|
|
|
7208
7374
|
* Instance of the calling control
|
|
7209
7375
|
*/
|
|
7210
7376
|
control?: Control;
|
|
7377
|
+
/**
|
|
7378
|
+
* If set, the conditions will not be formatted (MultiInput `value` property case)
|
|
7379
|
+
*/
|
|
7380
|
+
noFormatting?: boolean;
|
|
7381
|
+
/**
|
|
7382
|
+
* If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
|
|
7383
|
+
*/
|
|
7384
|
+
keepValue?: string;
|
|
7211
7385
|
},
|
|
7212
7386
|
/**
|
|
7213
7387
|
* Value constraints
|
|
@@ -7311,6 +7485,8 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7311
7485
|
|
|
7312
7486
|
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
7313
7487
|
|
|
7488
|
+
import Control from "sap/ui/core/Control";
|
|
7489
|
+
|
|
7314
7490
|
import Metadata from "sap/ui/base/Metadata";
|
|
7315
7491
|
|
|
7316
7492
|
/**
|
|
@@ -7329,9 +7505,13 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7329
7505
|
*/
|
|
7330
7506
|
oFormatOptions?: {
|
|
7331
7507
|
/**
|
|
7332
|
-
* Type of the value of the condition (used for formatting and
|
|
7508
|
+
* Type of the value of the condition (used for formatting, parsing and validating)
|
|
7333
7509
|
*/
|
|
7334
7510
|
valueType?: Type;
|
|
7511
|
+
/**
|
|
7512
|
+
* Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
|
|
7513
|
+
*/
|
|
7514
|
+
additionalValueType?: Type;
|
|
7335
7515
|
/**
|
|
7336
7516
|
* Possible operators to be used in the condition
|
|
7337
7517
|
*/
|
|
@@ -7343,7 +7523,7 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7343
7523
|
/**
|
|
7344
7524
|
* ID of the value help to determine the key and description
|
|
7345
7525
|
*/
|
|
7346
|
-
|
|
7526
|
+
valueHelpID?: string;
|
|
7347
7527
|
/**
|
|
7348
7528
|
* If set, only the value of the condition is shown, but no operator. (Use it only if just one operator
|
|
7349
7529
|
* is supported.)
|
|
@@ -7364,11 +7544,19 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7364
7544
|
*/
|
|
7365
7545
|
originalDateType?: Type;
|
|
7366
7546
|
/**
|
|
7367
|
-
*
|
|
7547
|
+
* Additional type used for another part of a field (for example, for unit fields)
|
|
7548
|
+
*/
|
|
7549
|
+
additionalType?: Type;
|
|
7550
|
+
/**
|
|
7551
|
+
* Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
|
|
7368
7552
|
*/
|
|
7369
|
-
|
|
7553
|
+
compositeTypes?: Type[];
|
|
7554
|
+
/**
|
|
7555
|
+
* Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
|
|
7556
|
+
*/
|
|
7557
|
+
additionalCompositeTypes?: Type[];
|
|
7370
7558
|
/**
|
|
7371
|
-
* Function to get the existing conditions of the field.
|
|
7559
|
+
* Function to get the existing conditions of the field.
|
|
7372
7560
|
*/
|
|
7373
7561
|
getConditions?: Function;
|
|
7374
7562
|
/**
|
|
@@ -7397,6 +7585,22 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
|
|
|
7397
7585
|
* Name of the default `Operator`
|
|
7398
7586
|
*/
|
|
7399
7587
|
defaultOperatorName?: string;
|
|
7588
|
+
/**
|
|
7589
|
+
* If set, whitespaces will be replaced by special characters to display whitespaces in HTML
|
|
7590
|
+
*/
|
|
7591
|
+
convertWhitespaces?: boolean;
|
|
7592
|
+
/**
|
|
7593
|
+
* Instance of the calling control
|
|
7594
|
+
*/
|
|
7595
|
+
control?: Control;
|
|
7596
|
+
/**
|
|
7597
|
+
* If set, the conditions will not be formatted (MultiInput `value` property case)
|
|
7598
|
+
*/
|
|
7599
|
+
noFormatting?: boolean;
|
|
7600
|
+
/**
|
|
7601
|
+
* If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
|
|
7602
|
+
*/
|
|
7603
|
+
keepValue?: string;
|
|
7400
7604
|
},
|
|
7401
7605
|
/**
|
|
7402
7606
|
* Value constraints
|
|
@@ -7460,6 +7664,8 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
7460
7664
|
|
|
7461
7665
|
import { ConditionObject } from "sap/ui/mdc/condition/Condition";
|
|
7462
7666
|
|
|
7667
|
+
import Type from "sap/ui/model/Type";
|
|
7668
|
+
|
|
7463
7669
|
import BaseType from "sap/ui/mdc/enums/BaseType";
|
|
7464
7670
|
|
|
7465
7671
|
import FieldDisplay from "sap/ui/mdc/enums/FieldDisplay";
|
|
@@ -7910,6 +8116,20 @@ declare module "sap/ui/mdc/field/FieldBase" {
|
|
|
7910
8116
|
*/
|
|
7911
8117
|
mParameters?: FieldBase$SubmitEventParameters
|
|
7912
8118
|
): this;
|
|
8119
|
+
/**
|
|
8120
|
+
* @since 1.118.0
|
|
8121
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8122
|
+
*
|
|
8123
|
+
* Returns the configuration for the additional data type.
|
|
8124
|
+
*
|
|
8125
|
+
* For a {@link sap.ui.mdc.Field Field}, the data type is determined from the binding of the `additionalValue`.
|
|
8126
|
+
* For a {@link sap.ui.mdc.MultiValueField MultiValueField}, the data type is determined from the binding
|
|
8127
|
+
* of the `description` of an item. For a {@link sap.ui.mdc.FilterField FilterField}, the data type is provided
|
|
8128
|
+
* via the `additionalDataType` property.
|
|
8129
|
+
*
|
|
8130
|
+
* @returns Type instance of a configuration object
|
|
8131
|
+
*/
|
|
8132
|
+
getAdditionalDataTypeConfiguration(): Type | object;
|
|
7913
8133
|
/**
|
|
7914
8134
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
7915
8135
|
*/
|
|
@@ -10152,6 +10372,10 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
10152
10372
|
* @returns Returns the validation status
|
|
10153
10373
|
*/
|
|
10154
10374
|
checkFilters(): FilterBarValidationStatus;
|
|
10375
|
+
/**
|
|
10376
|
+
* Clears non-model value for any filter field and resets the value state to none.
|
|
10377
|
+
*/
|
|
10378
|
+
cleanUpAllFilterFieldsInErrorState(): void;
|
|
10155
10379
|
/**
|
|
10156
10380
|
* Destroys the basicSearchField in the aggregation {@link #getBasicSearchField basicSearchField}.
|
|
10157
10381
|
*
|
|
@@ -10253,6 +10477,12 @@ declare module "sap/ui/mdc/filterbar/FilterBarBase" {
|
|
|
10253
10477
|
* property.
|
|
10254
10478
|
*/
|
|
10255
10479
|
getBasicSearchField(): FilterField;
|
|
10480
|
+
/**
|
|
10481
|
+
* Returns the external conditions.
|
|
10482
|
+
*
|
|
10483
|
+
* @returns Map containing the external conditions
|
|
10484
|
+
*/
|
|
10485
|
+
getConditions(): Record<string, any>;
|
|
10256
10486
|
/**
|
|
10257
10487
|
* Returns the external conditions of the inner condition model. **Note:** This API returns only attributes
|
|
10258
10488
|
* related to the {@link sap.ui.mdc.FilterBar#setP13nMode p13nMode} property configuration.
|
|
@@ -11068,178 +11298,6 @@ declare module "sap/ui/mdc/filterbar/vh/FilterBar" {
|
|
|
11068
11298
|
}
|
|
11069
11299
|
}
|
|
11070
11300
|
|
|
11071
|
-
declare module "sap/ui/mdc/FilterBarDelegate" {
|
|
11072
|
-
import FilterBar from "sap/ui/mdc/FilterBar";
|
|
11073
|
-
|
|
11074
|
-
import FilterField from "sap/ui/mdc/FilterField";
|
|
11075
|
-
|
|
11076
|
-
import FilterBarValidationStatus from "sap/ui/mdc/enums/FilterBarValidationStatus";
|
|
11077
|
-
|
|
11078
|
-
import { filterbar } from "sap/ui/mdc/library";
|
|
11079
|
-
|
|
11080
|
-
/**
|
|
11081
|
-
* @since 1.61.0
|
|
11082
|
-
*
|
|
11083
|
-
* Base Delegate for {@link sap.ui.mdc.FilterBar FilterBar}. Extend this object in your project to use all
|
|
11084
|
-
* functionalities of the {@link sap.ui.mdc.FilterBar FilterBar}. This class provides method calls, which
|
|
11085
|
-
* are called by the `FilterBar` at specific operations and allows to overwrite an internal behaviour..
|
|
11086
|
-
*/
|
|
11087
|
-
export default class FilterBarDelegate {
|
|
11088
|
-
constructor();
|
|
11089
|
-
|
|
11090
|
-
/**
|
|
11091
|
-
* This method is called during the appliance of the add condition change. The intention is to update the
|
|
11092
|
-
* {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
|
|
11093
|
-
*
|
|
11094
|
-
* @returns `Promise` that is resolved once the propertyInfo property has been updated
|
|
11095
|
-
*/
|
|
11096
|
-
static addCondition(
|
|
11097
|
-
/**
|
|
11098
|
-
* Instance of the filter bar
|
|
11099
|
-
*/
|
|
11100
|
-
oFilterBar: FilterBar,
|
|
11101
|
-
/**
|
|
11102
|
-
* The name of a property
|
|
11103
|
-
*/
|
|
11104
|
-
sPropertyName: string,
|
|
11105
|
-
/**
|
|
11106
|
-
* Instance of a property bag from the SAPUI5 flexibility change API
|
|
11107
|
-
*/
|
|
11108
|
-
mPropertyBag: Object
|
|
11109
|
-
): Promise<any>;
|
|
11110
|
-
/**
|
|
11111
|
-
* Creates an instance of a filter field control. **Note:** The `addItem` hook can be used during the processing
|
|
11112
|
-
* of an SAPUI5 flexibility change. Consequently the parameter `mPropertyBag` is only passed during preprocessing.
|
|
11113
|
-
* In runtime scenarios (such as opening a personalization dialog), this method might be called without
|
|
11114
|
-
* the parameter `mPropertyBag`.
|
|
11115
|
-
*
|
|
11116
|
-
* @returns `Promise` that resolves with an instance of the implementing {@link sap.ui.mdc.FilterField Control}.
|
|
11117
|
-
* **Note:** This method always requires a return value once it has been called. If an item for a given
|
|
11118
|
-
* property `sPropertyName` has already been created, it must to either return the existing instance or
|
|
11119
|
-
* create a new instance.
|
|
11120
|
-
*/
|
|
11121
|
-
static addItem(
|
|
11122
|
-
/**
|
|
11123
|
-
* Instance of the filter bar
|
|
11124
|
-
*/
|
|
11125
|
-
oFilterBar: FilterBar,
|
|
11126
|
-
/**
|
|
11127
|
-
* The name of the property info object/JSON
|
|
11128
|
-
*/
|
|
11129
|
-
sPropertyName: string,
|
|
11130
|
-
/**
|
|
11131
|
-
* Instance of property bag from SAPUI5 flexibility change API
|
|
11132
|
-
*/
|
|
11133
|
-
mPropertyBag?: Object
|
|
11134
|
-
): Promise<FilterField>;
|
|
11135
|
-
/**
|
|
11136
|
-
* This method is called when the Clear button is pressed.
|
|
11137
|
-
*
|
|
11138
|
-
* @returns `Promise` that is resolved once the action has been completed
|
|
11139
|
-
*/
|
|
11140
|
-
static clearFilters(
|
|
11141
|
-
/**
|
|
11142
|
-
* Instance of the filter bar
|
|
11143
|
-
*/
|
|
11144
|
-
oFilterBar: FilterBar
|
|
11145
|
-
): Promise<any>;
|
|
11146
|
-
/**
|
|
11147
|
-
* A validator to evaluate the filter bar state.
|
|
11148
|
-
*
|
|
11149
|
-
* @returns The inner filter bar state
|
|
11150
|
-
*/
|
|
11151
|
-
static determineValidationState(
|
|
11152
|
-
/**
|
|
11153
|
-
* Instance of the filter bar
|
|
11154
|
-
*/
|
|
11155
|
-
oFilterBar: FilterBar,
|
|
11156
|
-
/**
|
|
11157
|
-
* Object describing the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
|
|
11158
|
-
*/
|
|
11159
|
-
mValidation?: {
|
|
11160
|
-
/**
|
|
11161
|
-
* Status of the validation {@link sap.ui.mdc.enums.FilterBarValidationStatus}
|
|
11162
|
-
*/
|
|
11163
|
-
status?: string;
|
|
11164
|
-
}
|
|
11165
|
-
): FilterBarValidationStatus;
|
|
11166
|
-
/**
|
|
11167
|
-
* Retrieves the relevant metadata for a given payload and returns the property info array.
|
|
11168
|
-
*
|
|
11169
|
-
* @returns Once resolved, an array of property info objects is returned
|
|
11170
|
-
*/
|
|
11171
|
-
static fetchProperties(
|
|
11172
|
-
/**
|
|
11173
|
-
* Instance of the filter bar
|
|
11174
|
-
*/
|
|
11175
|
-
oFilterBar: FilterBar
|
|
11176
|
-
): Promise<filterbar.PropertyInfo[]>;
|
|
11177
|
-
/**
|
|
11178
|
-
* propertyInfo This method is called during the appliance of the remove condition change. The intention
|
|
11179
|
-
* is to update the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
|
|
11180
|
-
*
|
|
11181
|
-
* @returns `Promise` that is resolved once the propertyInfo property has been updated
|
|
11182
|
-
*/
|
|
11183
|
-
static removeCondition(
|
|
11184
|
-
/**
|
|
11185
|
-
* Instance of the filter bar
|
|
11186
|
-
*/
|
|
11187
|
-
oFilterBar: FilterBar,
|
|
11188
|
-
/**
|
|
11189
|
-
* The name of a property
|
|
11190
|
-
*/
|
|
11191
|
-
sPropertyName: string,
|
|
11192
|
-
/**
|
|
11193
|
-
* Instance of a property bag from the SAPUI5 flexibility change API
|
|
11194
|
-
*/
|
|
11195
|
-
mPropertyBag: Object
|
|
11196
|
-
): Promise<any>;
|
|
11197
|
-
/**
|
|
11198
|
-
* Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
|
|
11199
|
-
* The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
|
|
11200
|
-
* of the SAPUI5 flexibility handling.
|
|
11201
|
-
*
|
|
11202
|
-
* **Note:**The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
|
|
11203
|
-
* the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
|
|
11204
|
-
* a personalization dialog), this method can be called without the parameter `mPropertyBag`.
|
|
11205
|
-
*
|
|
11206
|
-
* @returns `Promise` that resolved with `true`, `false` to allow/prevent default behavior of the change
|
|
11207
|
-
*/
|
|
11208
|
-
static removeItem(
|
|
11209
|
-
/**
|
|
11210
|
-
* Instance of the filter bar
|
|
11211
|
-
*/
|
|
11212
|
-
oFilterBar: FilterBar,
|
|
11213
|
-
/**
|
|
11214
|
-
* The filter field instance that was removed
|
|
11215
|
-
*/
|
|
11216
|
-
oFilterField: FilterField,
|
|
11217
|
-
/**
|
|
11218
|
-
* Instance of property bag from SAPUI5 flexibility
|
|
11219
|
-
*/
|
|
11220
|
-
mPropertyBag?: Object
|
|
11221
|
-
): Promise<boolean>;
|
|
11222
|
-
/**
|
|
11223
|
-
* Visualizes the filter bar validation state.
|
|
11224
|
-
*/
|
|
11225
|
-
static visualizeValidationState(
|
|
11226
|
-
/**
|
|
11227
|
-
* Instance of the filter bar
|
|
11228
|
-
*/
|
|
11229
|
-
oFilterBar: FilterBar,
|
|
11230
|
-
/**
|
|
11231
|
-
* Describes the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
|
|
11232
|
-
*/
|
|
11233
|
-
mValidation: {
|
|
11234
|
-
/**
|
|
11235
|
-
* Status of the validation as returned via {@link sap.ui.mdc.filterbar.FilterBarBase#checkValidationState checkValidationState}
|
|
11236
|
-
*/
|
|
11237
|
-
status: FilterBarValidationStatus;
|
|
11238
|
-
}
|
|
11239
|
-
): void;
|
|
11240
|
-
}
|
|
11241
|
-
}
|
|
11242
|
-
|
|
11243
11301
|
declare module "sap/ui/mdc/FilterField" {
|
|
11244
11302
|
import {
|
|
11245
11303
|
default as FieldBase,
|
|
@@ -11461,6 +11519,19 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
11461
11519
|
*/
|
|
11462
11520
|
mParameters?: FilterField$ChangeEventParameters
|
|
11463
11521
|
): this;
|
|
11522
|
+
/**
|
|
11523
|
+
* @since 1.118.0
|
|
11524
|
+
*
|
|
11525
|
+
* Gets current value of property {@link #getAdditionalDataType additionalDataType}.
|
|
11526
|
+
*
|
|
11527
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
11528
|
+
* and validate the value.
|
|
11529
|
+
*
|
|
11530
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
11531
|
+
*
|
|
11532
|
+
* @returns Value of property `additionalDataType`
|
|
11533
|
+
*/
|
|
11534
|
+
getAdditionalDataType(): object;
|
|
11464
11535
|
/**
|
|
11465
11536
|
* @since 1.88.0
|
|
11466
11537
|
*
|
|
@@ -11526,6 +11597,26 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
11526
11597
|
*/
|
|
11527
11598
|
aOperators: Operator[]
|
|
11528
11599
|
): void;
|
|
11600
|
+
/**
|
|
11601
|
+
* @since 1.118.0
|
|
11602
|
+
*
|
|
11603
|
+
* Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
|
|
11604
|
+
*
|
|
11605
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
11606
|
+
* and validate the value.
|
|
11607
|
+
*
|
|
11608
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
11609
|
+
*
|
|
11610
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11611
|
+
*
|
|
11612
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11613
|
+
*/
|
|
11614
|
+
setAdditionalDataType(
|
|
11615
|
+
/**
|
|
11616
|
+
* New value for property `additionalDataType`
|
|
11617
|
+
*/
|
|
11618
|
+
oAdditionalDataType?: object
|
|
11619
|
+
): this;
|
|
11529
11620
|
/**
|
|
11530
11621
|
* @since 1.88.0
|
|
11531
11622
|
*
|
|
@@ -11617,6 +11708,16 @@ declare module "sap/ui/mdc/FilterField" {
|
|
|
11617
11708
|
*/
|
|
11618
11709
|
propertyKey?: string | PropertyBindingInfo;
|
|
11619
11710
|
|
|
11711
|
+
/**
|
|
11712
|
+
* @since 1.118.0
|
|
11713
|
+
*
|
|
11714
|
+
* The type of data for the description part of an "equal to" condition. This type is used to parse, format,
|
|
11715
|
+
* and validate the value.
|
|
11716
|
+
*
|
|
11717
|
+
* Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
|
|
11718
|
+
*/
|
|
11719
|
+
additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
|
|
11720
|
+
|
|
11620
11721
|
/**
|
|
11621
11722
|
* This event is fired when the `value` property of the field is changed.
|
|
11622
11723
|
*
|
|
@@ -12831,12 +12932,14 @@ declare module "sap/ui/mdc/Table" {
|
|
|
12831
12932
|
|
|
12832
12933
|
import Column from "sap/ui/mdc/table/Column";
|
|
12833
12934
|
|
|
12935
|
+
import CellSelector from "sap/m/plugins/CellSelector";
|
|
12936
|
+
|
|
12937
|
+
import { IContextMenu, ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
12938
|
+
|
|
12834
12939
|
import CopyProvider from "sap/m/plugins/CopyProvider";
|
|
12835
12940
|
|
|
12836
12941
|
import DataStateIndicator from "sap/m/plugins/DataStateIndicator";
|
|
12837
12942
|
|
|
12838
|
-
import { ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
12839
|
-
|
|
12840
12943
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
12841
12944
|
|
|
12842
12945
|
import TableP13nMode from "sap/ui/mdc/enums/TableP13nMode";
|
|
@@ -13007,6 +13110,57 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13007
13110
|
*/
|
|
13008
13111
|
oListener?: object
|
|
13009
13112
|
): this;
|
|
13113
|
+
/**
|
|
13114
|
+
* @since 1.117
|
|
13115
|
+
*
|
|
13116
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
13117
|
+
* event of this `sap.ui.mdc.Table`.
|
|
13118
|
+
*
|
|
13119
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
13120
|
+
* otherwise it will be bound to this `sap.ui.mdc.Table` itself.
|
|
13121
|
+
*
|
|
13122
|
+
* This event is fired when the user requests the context menu for the table.
|
|
13123
|
+
*
|
|
13124
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13125
|
+
*/
|
|
13126
|
+
attachBeforeOpenContextMenu(
|
|
13127
|
+
/**
|
|
13128
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
13129
|
+
* object when firing the event
|
|
13130
|
+
*/
|
|
13131
|
+
oData: object,
|
|
13132
|
+
/**
|
|
13133
|
+
* The function to be called when the event occurs
|
|
13134
|
+
*/
|
|
13135
|
+
fnFunction: (p1: Table$BeforeOpenContextMenuEvent) => void,
|
|
13136
|
+
/**
|
|
13137
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Table` itself
|
|
13138
|
+
*/
|
|
13139
|
+
oListener?: object
|
|
13140
|
+
): this;
|
|
13141
|
+
/**
|
|
13142
|
+
* @since 1.117
|
|
13143
|
+
*
|
|
13144
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
13145
|
+
* event of this `sap.ui.mdc.Table`.
|
|
13146
|
+
*
|
|
13147
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
13148
|
+
* otherwise it will be bound to this `sap.ui.mdc.Table` itself.
|
|
13149
|
+
*
|
|
13150
|
+
* This event is fired when the user requests the context menu for the table.
|
|
13151
|
+
*
|
|
13152
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13153
|
+
*/
|
|
13154
|
+
attachBeforeOpenContextMenu(
|
|
13155
|
+
/**
|
|
13156
|
+
* The function to be called when the event occurs
|
|
13157
|
+
*/
|
|
13158
|
+
fnFunction: (p1: Table$BeforeOpenContextMenuEvent) => void,
|
|
13159
|
+
/**
|
|
13160
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.Table` itself
|
|
13161
|
+
*/
|
|
13162
|
+
oListener?: object
|
|
13163
|
+
): this;
|
|
13010
13164
|
/**
|
|
13011
13165
|
* Attaches event handler `fnFunction` to the {@link #event:paste paste} event of this `sap.ui.mdc.Table`.
|
|
13012
13166
|
*
|
|
@@ -13154,12 +13308,28 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13154
13308
|
* @returns Reference to `this` in order to allow method chaining
|
|
13155
13309
|
*/
|
|
13156
13310
|
destroyActions(): this;
|
|
13311
|
+
/**
|
|
13312
|
+
* @since 1.119
|
|
13313
|
+
*
|
|
13314
|
+
* Destroys the cellSelector in the aggregation {@link #getCellSelector cellSelector}.
|
|
13315
|
+
*
|
|
13316
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13317
|
+
*/
|
|
13318
|
+
destroyCellSelector(): this;
|
|
13157
13319
|
/**
|
|
13158
13320
|
* Destroys all the columns in the aggregation {@link #getColumns columns}.
|
|
13159
13321
|
*
|
|
13160
13322
|
* @returns Reference to `this` in order to allow method chaining
|
|
13161
13323
|
*/
|
|
13162
13324
|
destroyColumns(): this;
|
|
13325
|
+
/**
|
|
13326
|
+
* @since 1.118
|
|
13327
|
+
*
|
|
13328
|
+
* Destroys the contextMenu in the aggregation {@link #getContextMenu contextMenu}.
|
|
13329
|
+
*
|
|
13330
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13331
|
+
*/
|
|
13332
|
+
destroyContextMenu(): this;
|
|
13163
13333
|
/**
|
|
13164
13334
|
* @since 1.114
|
|
13165
13335
|
*
|
|
@@ -13236,42 +13406,62 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13236
13406
|
oListener?: object
|
|
13237
13407
|
): this;
|
|
13238
13408
|
/**
|
|
13239
|
-
*
|
|
13409
|
+
* @since 1.117
|
|
13410
|
+
*
|
|
13411
|
+
* Detaches event handler `fnFunction` from the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
13412
|
+
* event of this `sap.ui.mdc.Table`.
|
|
13240
13413
|
*
|
|
13241
13414
|
* The passed function and listener object must match the ones used for event registration.
|
|
13242
13415
|
*
|
|
13243
13416
|
* @returns Reference to `this` in order to allow method chaining
|
|
13244
13417
|
*/
|
|
13245
|
-
|
|
13418
|
+
detachBeforeOpenContextMenu(
|
|
13246
13419
|
/**
|
|
13247
13420
|
* The function to be called, when the event occurs
|
|
13248
13421
|
*/
|
|
13249
|
-
fnFunction: (p1: Table$
|
|
13422
|
+
fnFunction: (p1: Table$BeforeOpenContextMenuEvent) => void,
|
|
13250
13423
|
/**
|
|
13251
13424
|
* Context object on which the given function had to be called
|
|
13252
13425
|
*/
|
|
13253
13426
|
oListener?: object
|
|
13254
13427
|
): this;
|
|
13255
13428
|
/**
|
|
13256
|
-
* Detaches event handler `fnFunction` from the {@link #event:
|
|
13429
|
+
* Detaches event handler `fnFunction` from the {@link #event:paste paste} event of this `sap.ui.mdc.Table`.
|
|
13257
13430
|
*
|
|
13258
13431
|
* The passed function and listener object must match the ones used for event registration.
|
|
13259
13432
|
*
|
|
13260
13433
|
* @returns Reference to `this` in order to allow method chaining
|
|
13261
13434
|
*/
|
|
13262
|
-
|
|
13435
|
+
detachPaste(
|
|
13263
13436
|
/**
|
|
13264
13437
|
* The function to be called, when the event occurs
|
|
13265
13438
|
*/
|
|
13266
|
-
fnFunction: (p1: Table$
|
|
13439
|
+
fnFunction: (p1: Table$PasteEvent) => void,
|
|
13267
13440
|
/**
|
|
13268
13441
|
* Context object on which the given function had to be called
|
|
13269
13442
|
*/
|
|
13270
13443
|
oListener?: object
|
|
13271
13444
|
): this;
|
|
13272
13445
|
/**
|
|
13273
|
-
* Detaches event handler `fnFunction` from the {@link #event:
|
|
13274
|
-
*
|
|
13446
|
+
* Detaches event handler `fnFunction` from the {@link #event:rowPress rowPress} event of this `sap.ui.mdc.Table`.
|
|
13447
|
+
*
|
|
13448
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
13449
|
+
*
|
|
13450
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
13451
|
+
*/
|
|
13452
|
+
detachRowPress(
|
|
13453
|
+
/**
|
|
13454
|
+
* The function to be called, when the event occurs
|
|
13455
|
+
*/
|
|
13456
|
+
fnFunction: (p1: Table$RowPressEvent) => void,
|
|
13457
|
+
/**
|
|
13458
|
+
* Context object on which the given function had to be called
|
|
13459
|
+
*/
|
|
13460
|
+
oListener?: object
|
|
13461
|
+
): this;
|
|
13462
|
+
/**
|
|
13463
|
+
* Detaches event handler `fnFunction` from the {@link #event:selectionChange selectionChange} event of
|
|
13464
|
+
* this `sap.ui.mdc.Table`.
|
|
13275
13465
|
*
|
|
13276
13466
|
* The passed function and listener object must match the ones used for event registration.
|
|
13277
13467
|
*
|
|
@@ -13301,6 +13491,23 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13301
13491
|
*/
|
|
13302
13492
|
mParameters?: Table$BeforeExportEventParameters
|
|
13303
13493
|
): this;
|
|
13494
|
+
/**
|
|
13495
|
+
* @since 1.117
|
|
13496
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13497
|
+
*
|
|
13498
|
+
* Fires event {@link #event:beforeOpenContextMenu beforeOpenContextMenu} to attached listeners.
|
|
13499
|
+
*
|
|
13500
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
13501
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
13502
|
+
*
|
|
13503
|
+
* @returns Whether or not to prevent the default action
|
|
13504
|
+
*/
|
|
13505
|
+
fireBeforeOpenContextMenu(
|
|
13506
|
+
/**
|
|
13507
|
+
* Parameters to pass along with the event
|
|
13508
|
+
*/
|
|
13509
|
+
mParameters?: Table$BeforeOpenContextMenuEventParameters
|
|
13510
|
+
): boolean;
|
|
13304
13511
|
/**
|
|
13305
13512
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
13306
13513
|
*
|
|
@@ -13400,12 +13607,32 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13400
13607
|
* @returns Value of property `busyIndicatorDelay`
|
|
13401
13608
|
*/
|
|
13402
13609
|
getBusyIndicatorDelay(): int;
|
|
13610
|
+
/**
|
|
13611
|
+
* @since 1.119
|
|
13612
|
+
*
|
|
13613
|
+
* Gets content of aggregation {@link #getCellSelector cellSelector}.
|
|
13614
|
+
*
|
|
13615
|
+
* Defines an aggregation for the `CellSelector` plugin that provides cell selection capabilities to the
|
|
13616
|
+
* table.
|
|
13617
|
+
*
|
|
13618
|
+
* **Note:** The `CellSelector` is currently only available in combination with the `GridTableType`. Please
|
|
13619
|
+
* refer to {@link sap.m.plugins.CellSelector} see the addiditional restrictions.
|
|
13620
|
+
*/
|
|
13621
|
+
getCellSelector(): CellSelector;
|
|
13403
13622
|
/**
|
|
13404
13623
|
* Gets content of aggregation {@link #getColumns columns}.
|
|
13405
13624
|
*
|
|
13406
13625
|
* Columns of the table.
|
|
13407
13626
|
*/
|
|
13408
13627
|
getColumns(): Column[];
|
|
13628
|
+
/**
|
|
13629
|
+
* @since 1.118
|
|
13630
|
+
*
|
|
13631
|
+
* Gets content of aggregation {@link #getContextMenu contextMenu}.
|
|
13632
|
+
*
|
|
13633
|
+
* Defines the context menu for the table rows.
|
|
13634
|
+
*/
|
|
13635
|
+
getContextMenu(): IContextMenu;
|
|
13409
13636
|
/**
|
|
13410
13637
|
* @since 1.114
|
|
13411
13638
|
*
|
|
@@ -13980,6 +14207,32 @@ declare module "sap/ui/mdc/Table" {
|
|
|
13980
14207
|
*/
|
|
13981
14208
|
iBusyIndicatorDelay?: int
|
|
13982
14209
|
): this;
|
|
14210
|
+
/**
|
|
14211
|
+
* @since 1.119
|
|
14212
|
+
*
|
|
14213
|
+
* Sets the aggregated {@link #getCellSelector cellSelector}.
|
|
14214
|
+
*
|
|
14215
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14216
|
+
*/
|
|
14217
|
+
setCellSelector(
|
|
14218
|
+
/**
|
|
14219
|
+
* The cellSelector to set
|
|
14220
|
+
*/
|
|
14221
|
+
oCellSelector: CellSelector
|
|
14222
|
+
): this;
|
|
14223
|
+
/**
|
|
14224
|
+
* @since 1.118
|
|
14225
|
+
*
|
|
14226
|
+
* Sets the aggregated {@link #getContextMenu contextMenu}.
|
|
14227
|
+
*
|
|
14228
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14229
|
+
*/
|
|
14230
|
+
setContextMenu(
|
|
14231
|
+
/**
|
|
14232
|
+
* The contextMenu to set
|
|
14233
|
+
*/
|
|
14234
|
+
oContextMenu: IContextMenu
|
|
14235
|
+
): this;
|
|
13983
14236
|
/**
|
|
13984
14237
|
* @since 1.114
|
|
13985
14238
|
*
|
|
@@ -14882,6 +15135,24 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14882
15135
|
*/
|
|
14883
15136
|
copyProvider?: CopyProvider;
|
|
14884
15137
|
|
|
15138
|
+
/**
|
|
15139
|
+
* @since 1.118
|
|
15140
|
+
*
|
|
15141
|
+
* Defines the context menu for the table rows.
|
|
15142
|
+
*/
|
|
15143
|
+
contextMenu?: IContextMenu;
|
|
15144
|
+
|
|
15145
|
+
/**
|
|
15146
|
+
* @since 1.119
|
|
15147
|
+
*
|
|
15148
|
+
* Defines an aggregation for the `CellSelector` plugin that provides cell selection capabilities to the
|
|
15149
|
+
* table.
|
|
15150
|
+
*
|
|
15151
|
+
* **Note:** The `CellSelector` is currently only available in combination with the `GridTableType`. Please
|
|
15152
|
+
* refer to {@link sap.m.plugins.CellSelector} see the addiditional restrictions.
|
|
15153
|
+
*/
|
|
15154
|
+
cellSelector?: CellSelector;
|
|
15155
|
+
|
|
14885
15156
|
/**
|
|
14886
15157
|
* Control or object that enables the table to do filtering, such as {@link sap.ui.mdc.FilterBar}. See also
|
|
14887
15158
|
* {@link sap.ui.mdc.IFilter}.
|
|
@@ -14913,6 +15184,13 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14913
15184
|
* This event is fired when the user pastes content from the clipboard to the table.
|
|
14914
15185
|
*/
|
|
14915
15186
|
paste?: (oEvent: Table$PasteEvent) => void;
|
|
15187
|
+
|
|
15188
|
+
/**
|
|
15189
|
+
* @since 1.117
|
|
15190
|
+
*
|
|
15191
|
+
* This event is fired when the user requests the context menu for the table.
|
|
15192
|
+
*/
|
|
15193
|
+
beforeOpenContextMenu?: (oEvent: Table$BeforeOpenContextMenuEvent) => void;
|
|
14916
15194
|
}
|
|
14917
15195
|
|
|
14918
15196
|
export interface Table$BeforeExportEventParameters {
|
|
@@ -14940,6 +15218,24 @@ declare module "sap/ui/mdc/Table" {
|
|
|
14940
15218
|
Table
|
|
14941
15219
|
>;
|
|
14942
15220
|
|
|
15221
|
+
export interface Table$BeforeOpenContextMenuEventParameters {
|
|
15222
|
+
/**
|
|
15223
|
+
* The binding context
|
|
15224
|
+
*/
|
|
15225
|
+
bindingContext?: Context;
|
|
15226
|
+
|
|
15227
|
+
/**
|
|
15228
|
+
* The column used for the context menu **Note:** The column parameter can be empty when opened in a popin
|
|
15229
|
+
* area for responsiveTable type.
|
|
15230
|
+
*/
|
|
15231
|
+
column?: Column;
|
|
15232
|
+
}
|
|
15233
|
+
|
|
15234
|
+
export type Table$BeforeOpenContextMenuEvent = Event<
|
|
15235
|
+
Table$BeforeOpenContextMenuEventParameters,
|
|
15236
|
+
Table
|
|
15237
|
+
>;
|
|
15238
|
+
|
|
14943
15239
|
export interface Table$PasteEventParameters {
|
|
14944
15240
|
/**
|
|
14945
15241
|
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the second
|
|
@@ -15322,59 +15618,833 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
15322
15618
|
*
|
|
15323
15619
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15324
15620
|
*
|
|
15325
|
-
* Default value is `"None"`.
|
|
15621
|
+
* Default value is `"None"`.
|
|
15622
|
+
*
|
|
15623
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15624
|
+
*/
|
|
15625
|
+
setImportance(
|
|
15626
|
+
/**
|
|
15627
|
+
* New value for property `importance`
|
|
15628
|
+
*/
|
|
15629
|
+
sImportance?: Priority | keyof typeof Priority
|
|
15630
|
+
): this;
|
|
15631
|
+
/**
|
|
15632
|
+
* @since 1.80
|
|
15633
|
+
*
|
|
15634
|
+
* Sets a new value for property {@link #getMinWidth minWidth}.
|
|
15635
|
+
*
|
|
15636
|
+
* Defines the minimum width of the column.
|
|
15637
|
+
*
|
|
15638
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15639
|
+
*
|
|
15640
|
+
* Default value is `8`.
|
|
15641
|
+
*
|
|
15642
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15643
|
+
*/
|
|
15644
|
+
setMinWidth(
|
|
15645
|
+
/**
|
|
15646
|
+
* New value for property `minWidth`
|
|
15647
|
+
*/
|
|
15648
|
+
fMinWidth?: float
|
|
15649
|
+
): this;
|
|
15650
|
+
/**
|
|
15651
|
+
* @since 1.115
|
|
15652
|
+
*
|
|
15653
|
+
* Sets a new value for property {@link #getPropertyKey propertyKey}.
|
|
15654
|
+
*
|
|
15655
|
+
* Defines data property related to the column.
|
|
15656
|
+
*
|
|
15657
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15658
|
+
*
|
|
15659
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15660
|
+
*/
|
|
15661
|
+
setPropertyKey(
|
|
15662
|
+
/**
|
|
15663
|
+
* New value for property `propertyKey`
|
|
15664
|
+
*/
|
|
15665
|
+
sPropertyKey: string
|
|
15666
|
+
): this;
|
|
15667
|
+
/**
|
|
15668
|
+
* Sets a new value for property {@link #getRequired required}.
|
|
15669
|
+
*
|
|
15670
|
+
* Indicates whether the content of the column is required. **Note:** The table only takes care of announcing
|
|
15671
|
+
* the state of the column header as defined by the `required` property. The application needs to take care
|
|
15672
|
+
* of the screen reader announcement of the state of the table cells, for example, by setting the `required`
|
|
15673
|
+
* property to `true` for `sap.m.Input`.
|
|
15674
|
+
*
|
|
15675
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15676
|
+
*
|
|
15677
|
+
* Default value is `false`.
|
|
15678
|
+
*
|
|
15679
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15680
|
+
*/
|
|
15681
|
+
setRequired(
|
|
15682
|
+
/**
|
|
15683
|
+
* New value for property `required`
|
|
15684
|
+
*/
|
|
15685
|
+
bRequired?: boolean
|
|
15686
|
+
): this;
|
|
15687
|
+
/**
|
|
15688
|
+
* Sets the aggregated {@link #getTemplate template}.
|
|
15689
|
+
*
|
|
15690
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15691
|
+
*/
|
|
15692
|
+
setTemplate(
|
|
15693
|
+
/**
|
|
15694
|
+
* The template to set
|
|
15695
|
+
*/
|
|
15696
|
+
oTemplate: Control
|
|
15697
|
+
): this;
|
|
15698
|
+
/**
|
|
15699
|
+
* Sets a new tooltip for this object.
|
|
15700
|
+
*
|
|
15701
|
+
* The tooltip can only be a simple string. An instance of {@link sap.ui.core.TooltipBase} is not supported.
|
|
15702
|
+
*
|
|
15703
|
+
* If a new tooltip is set, any previously set tooltip is deactivated.
|
|
15704
|
+
*
|
|
15705
|
+
* @returns Returns `this` to allow method chaining
|
|
15706
|
+
*/
|
|
15707
|
+
setTooltip(
|
|
15708
|
+
/**
|
|
15709
|
+
* New tooltip
|
|
15710
|
+
*/
|
|
15711
|
+
vTooltip: string
|
|
15712
|
+
): this;
|
|
15713
|
+
/**
|
|
15714
|
+
* @since 1.80
|
|
15715
|
+
*
|
|
15716
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
15717
|
+
*
|
|
15718
|
+
* Defines the width of the column.
|
|
15719
|
+
*
|
|
15720
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15721
|
+
*
|
|
15722
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15723
|
+
*/
|
|
15724
|
+
setWidth(
|
|
15725
|
+
/**
|
|
15726
|
+
* New value for property `width`
|
|
15727
|
+
*/
|
|
15728
|
+
sWidth?: CSSSize
|
|
15729
|
+
): this;
|
|
15730
|
+
}
|
|
15731
|
+
|
|
15732
|
+
export interface $ColumnSettings extends $ControlSettings {
|
|
15733
|
+
/**
|
|
15734
|
+
* @since 1.80
|
|
15735
|
+
*
|
|
15736
|
+
* Defines the width of the column.
|
|
15737
|
+
*/
|
|
15738
|
+
width?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
15739
|
+
|
|
15740
|
+
/**
|
|
15741
|
+
* @since 1.80
|
|
15742
|
+
*
|
|
15743
|
+
* Defines the minimum width of the column.
|
|
15744
|
+
*/
|
|
15745
|
+
minWidth?: float | PropertyBindingInfo | `{${string}}`;
|
|
15746
|
+
|
|
15747
|
+
/**
|
|
15748
|
+
* @since 1.80
|
|
15749
|
+
*
|
|
15750
|
+
* Defines the column header text.
|
|
15751
|
+
*/
|
|
15752
|
+
header?: string | PropertyBindingInfo;
|
|
15753
|
+
|
|
15754
|
+
/**
|
|
15755
|
+
* @since 1.80
|
|
15756
|
+
*
|
|
15757
|
+
* Defines whether the column header is visible.
|
|
15758
|
+
*/
|
|
15759
|
+
headerVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15760
|
+
|
|
15761
|
+
/**
|
|
15762
|
+
* @since 1.80
|
|
15763
|
+
*
|
|
15764
|
+
* Defines the horizontal alignment of the column content.
|
|
15765
|
+
*/
|
|
15766
|
+
hAlign?:
|
|
15767
|
+
| (HorizontalAlign | keyof typeof HorizontalAlign)
|
|
15768
|
+
| PropertyBindingInfo
|
|
15769
|
+
| `{${string}}`;
|
|
15770
|
+
|
|
15771
|
+
/**
|
|
15772
|
+
* @deprecated (since 1.110) - replaced with {@link sap.ui.mdc.table.ResponsiveColumnSettings#importance }
|
|
15773
|
+
*
|
|
15774
|
+
* This property will be ignored whenever the {@link sap.ui.mdc.table.ResponsiveColumnSettings} are applied
|
|
15775
|
+
* to the column.
|
|
15776
|
+
*
|
|
15777
|
+
* Defines the column importance.
|
|
15778
|
+
*
|
|
15779
|
+
* The column importance is taken into consideration for calculating the `minScreenWidth` property and for
|
|
15780
|
+
* setting the `demandPopin` property of the column. See {@link sap.m.Table#getAutoPopinMode} for more details,
|
|
15781
|
+
* which is automatically set to `true`.
|
|
15782
|
+
*/
|
|
15783
|
+
importance?:
|
|
15784
|
+
| (Priority | keyof typeof Priority)
|
|
15785
|
+
| PropertyBindingInfo
|
|
15786
|
+
| `{${string}}`;
|
|
15787
|
+
|
|
15788
|
+
/**
|
|
15789
|
+
* @since 1.84
|
|
15790
|
+
* @deprecated (since 1.115) - Please use `propertyKey` instead.
|
|
15791
|
+
*
|
|
15792
|
+
* Defines data property related to the column.
|
|
15793
|
+
*/
|
|
15794
|
+
dataProperty?: string | PropertyBindingInfo;
|
|
15795
|
+
|
|
15796
|
+
/**
|
|
15797
|
+
* @since 1.115
|
|
15798
|
+
*
|
|
15799
|
+
* Defines data property related to the column.
|
|
15800
|
+
*/
|
|
15801
|
+
propertyKey?: string | PropertyBindingInfo;
|
|
15802
|
+
|
|
15803
|
+
/**
|
|
15804
|
+
* Indicates whether the content of the column is required. **Note:** The table only takes care of announcing
|
|
15805
|
+
* the state of the column header as defined by the `required` property. The application needs to take care
|
|
15806
|
+
* of the screen reader announcement of the state of the table cells, for example, by setting the `required`
|
|
15807
|
+
* property to `true` for `sap.m.Input`.
|
|
15808
|
+
*/
|
|
15809
|
+
required?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15810
|
+
|
|
15811
|
+
/**
|
|
15812
|
+
* Template for the column.
|
|
15813
|
+
*/
|
|
15814
|
+
template?: Control;
|
|
15815
|
+
|
|
15816
|
+
/**
|
|
15817
|
+
* @experimental - Do not use
|
|
15818
|
+
*
|
|
15819
|
+
* `CreationRow` template.
|
|
15820
|
+
*
|
|
15821
|
+
* **Note:** Once the binding supports creating transient records, this aggregation will be removed.
|
|
15822
|
+
*/
|
|
15823
|
+
creationTemplate?: Control;
|
|
15824
|
+
|
|
15825
|
+
/**
|
|
15826
|
+
* @since 1.110
|
|
15827
|
+
*
|
|
15828
|
+
* Defines type-specific column settings based on the used {@link sap.ui.mdc.table.TableTypeBase}.
|
|
15829
|
+
*
|
|
15830
|
+
* **Note:** Once `sap.ui.mdc.table.ColumnSettings` are defined, all properties provided by the `ColumnSettings`
|
|
15831
|
+
* are automatically assigned to the column.
|
|
15832
|
+
*/
|
|
15833
|
+
extendedSettings?: ColumnSettings;
|
|
15834
|
+
}
|
|
15835
|
+
}
|
|
15836
|
+
|
|
15837
|
+
declare module "sap/ui/mdc/table/ColumnSettings" {
|
|
15838
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
15839
|
+
|
|
15840
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
15841
|
+
|
|
15842
|
+
/**
|
|
15843
|
+
* @since 1.110
|
|
15844
|
+
*
|
|
15845
|
+
* The table type info class for the metadata-driven table.
|
|
15846
|
+
*/
|
|
15847
|
+
export default class ColumnSettings extends UI5Element {
|
|
15848
|
+
/**
|
|
15849
|
+
* Constructor for a new `ColumnSettings`.
|
|
15850
|
+
*
|
|
15851
|
+
* Provides a number of general settings that are supported by both {@link sap.m.Column} and {@link sap.ui.table.Column}.
|
|
15852
|
+
*
|
|
15853
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15854
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15855
|
+
* of the syntax of the settings object.
|
|
15856
|
+
*
|
|
15857
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element }
|
|
15858
|
+
* can be used.
|
|
15859
|
+
*/
|
|
15860
|
+
constructor(
|
|
15861
|
+
/**
|
|
15862
|
+
* Initial settings for the new object
|
|
15863
|
+
*/
|
|
15864
|
+
mSettings?: $ColumnSettingsSettings
|
|
15865
|
+
);
|
|
15866
|
+
/**
|
|
15867
|
+
* Constructor for a new `ColumnSettings`.
|
|
15868
|
+
*
|
|
15869
|
+
* Provides a number of general settings that are supported by both {@link sap.m.Column} and {@link sap.ui.table.Column}.
|
|
15870
|
+
*
|
|
15871
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15872
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15873
|
+
* of the syntax of the settings object.
|
|
15874
|
+
*
|
|
15875
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element }
|
|
15876
|
+
* can be used.
|
|
15877
|
+
*/
|
|
15878
|
+
constructor(
|
|
15879
|
+
/**
|
|
15880
|
+
* Optional ID for the new object; generated automatically if no non-empty ID is given
|
|
15881
|
+
*/
|
|
15882
|
+
sId?: string,
|
|
15883
|
+
/**
|
|
15884
|
+
* Initial settings for the new object
|
|
15885
|
+
*/
|
|
15886
|
+
mSettings?: $ColumnSettingsSettings
|
|
15887
|
+
);
|
|
15888
|
+
|
|
15889
|
+
/**
|
|
15890
|
+
* Creates a new subclass of class sap.ui.mdc.table.ColumnSettings with name `sClassName` and enriches it
|
|
15891
|
+
* with the information contained in `oClassInfo`.
|
|
15892
|
+
*
|
|
15893
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
15894
|
+
*
|
|
15895
|
+
* @returns Created class / constructor function
|
|
15896
|
+
*/
|
|
15897
|
+
static extend<T extends Record<string, unknown>>(
|
|
15898
|
+
/**
|
|
15899
|
+
* Name of the class being created
|
|
15900
|
+
*/
|
|
15901
|
+
sClassName: string,
|
|
15902
|
+
/**
|
|
15903
|
+
* Object literal with information about the class
|
|
15904
|
+
*/
|
|
15905
|
+
oClassInfo?: sap.ClassInfo<T, ColumnSettings>,
|
|
15906
|
+
/**
|
|
15907
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15908
|
+
* used by this class
|
|
15909
|
+
*/
|
|
15910
|
+
FNMetaImpl?: Function
|
|
15911
|
+
): Function;
|
|
15912
|
+
/**
|
|
15913
|
+
* Returns a metadata object for class sap.ui.mdc.table.ColumnSettings.
|
|
15914
|
+
*
|
|
15915
|
+
* @returns Metadata object describing this class
|
|
15916
|
+
*/
|
|
15917
|
+
static getMetadata(): ElementMetadata;
|
|
15918
|
+
}
|
|
15919
|
+
|
|
15920
|
+
export interface $ColumnSettingsSettings extends $ElementSettings {}
|
|
15921
|
+
}
|
|
15922
|
+
|
|
15923
|
+
declare module "sap/ui/mdc/table/DragDropConfig" {
|
|
15924
|
+
import {
|
|
15925
|
+
default as DragDropBase,
|
|
15926
|
+
$DragDropBaseSettings,
|
|
15927
|
+
} from "sap/ui/core/dnd/DragDropBase";
|
|
15928
|
+
|
|
15929
|
+
import { dnd } from "sap/ui/core/library";
|
|
15930
|
+
|
|
15931
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
15932
|
+
|
|
15933
|
+
import Context from "sap/ui/model/Context";
|
|
15934
|
+
|
|
15935
|
+
import UI5Element from "sap/ui/core/Element";
|
|
15936
|
+
|
|
15937
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
15938
|
+
|
|
15939
|
+
import Event from "sap/ui/base/Event";
|
|
15940
|
+
|
|
15941
|
+
/**
|
|
15942
|
+
* @since 1.119
|
|
15943
|
+
*
|
|
15944
|
+
* Provides the configuration for the drag-and-drop operations of the rows of the table.
|
|
15945
|
+
*/
|
|
15946
|
+
export default class DragDropConfig extends DragDropBase {
|
|
15947
|
+
/**
|
|
15948
|
+
* Constructor for a new DragDropConfig.
|
|
15949
|
+
*
|
|
15950
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15951
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15952
|
+
* of the syntax of the settings object.
|
|
15953
|
+
*/
|
|
15954
|
+
constructor(
|
|
15955
|
+
/**
|
|
15956
|
+
* Initial settings for the new DragDropConfig
|
|
15957
|
+
*/
|
|
15958
|
+
mSettings?: $DragDropConfigSettings
|
|
15959
|
+
);
|
|
15960
|
+
/**
|
|
15961
|
+
* Constructor for a new DragDropConfig.
|
|
15962
|
+
*
|
|
15963
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15964
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15965
|
+
* of the syntax of the settings object.
|
|
15966
|
+
*/
|
|
15967
|
+
constructor(
|
|
15968
|
+
/**
|
|
15969
|
+
* ID for the new DragDropConfig, generated automatically if no ID is given
|
|
15970
|
+
*/
|
|
15971
|
+
sId?: string,
|
|
15972
|
+
/**
|
|
15973
|
+
* Initial settings for the new DragDropConfig
|
|
15974
|
+
*/
|
|
15975
|
+
mSettings?: $DragDropConfigSettings
|
|
15976
|
+
);
|
|
15977
|
+
|
|
15978
|
+
/**
|
|
15979
|
+
* Creates a new subclass of class sap.ui.mdc.table.DragDropConfig with name `sClassName` and enriches it
|
|
15980
|
+
* with the information contained in `oClassInfo`.
|
|
15981
|
+
*
|
|
15982
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.dnd.DragDropBase.extend}.
|
|
15983
|
+
*
|
|
15984
|
+
* @returns Created class / constructor function
|
|
15985
|
+
*/
|
|
15986
|
+
static extend<T extends Record<string, unknown>>(
|
|
15987
|
+
/**
|
|
15988
|
+
* Name of the class being created
|
|
15989
|
+
*/
|
|
15990
|
+
sClassName: string,
|
|
15991
|
+
/**
|
|
15992
|
+
* Object literal with information about the class
|
|
15993
|
+
*/
|
|
15994
|
+
oClassInfo?: sap.ClassInfo<T, DragDropConfig>,
|
|
15995
|
+
/**
|
|
15996
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15997
|
+
* used by this class
|
|
15998
|
+
*/
|
|
15999
|
+
FNMetaImpl?: Function
|
|
16000
|
+
): Function;
|
|
16001
|
+
/**
|
|
16002
|
+
* Returns a metadata object for class sap.ui.mdc.table.DragDropConfig.
|
|
16003
|
+
*
|
|
16004
|
+
* @returns Metadata object describing this class
|
|
16005
|
+
*/
|
|
16006
|
+
static getMetadata(): ElementMetadata;
|
|
16007
|
+
/**
|
|
16008
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16009
|
+
*
|
|
16010
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16011
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16012
|
+
*
|
|
16013
|
+
* This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
|
|
16014
|
+
*
|
|
16015
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16016
|
+
*/
|
|
16017
|
+
attachDragEnd(
|
|
16018
|
+
/**
|
|
16019
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
16020
|
+
* object when firing the event
|
|
16021
|
+
*/
|
|
16022
|
+
oData: object,
|
|
16023
|
+
/**
|
|
16024
|
+
* The function to be called when the event occurs
|
|
16025
|
+
*/
|
|
16026
|
+
fnFunction: (p1: DragDropConfig$DragEndEvent) => void,
|
|
16027
|
+
/**
|
|
16028
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16029
|
+
*/
|
|
16030
|
+
oListener?: object
|
|
16031
|
+
): this;
|
|
16032
|
+
/**
|
|
16033
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16034
|
+
*
|
|
16035
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16036
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16037
|
+
*
|
|
16038
|
+
* This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
|
|
16039
|
+
*
|
|
16040
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16041
|
+
*/
|
|
16042
|
+
attachDragEnd(
|
|
16043
|
+
/**
|
|
16044
|
+
* The function to be called when the event occurs
|
|
16045
|
+
*/
|
|
16046
|
+
fnFunction: (p1: DragDropConfig$DragEndEvent) => void,
|
|
16047
|
+
/**
|
|
16048
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16049
|
+
*/
|
|
16050
|
+
oListener?: object
|
|
16051
|
+
): this;
|
|
16052
|
+
/**
|
|
16053
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragEnter dragEnter} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16054
|
+
*
|
|
16055
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16056
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16057
|
+
*
|
|
16058
|
+
* This event is fired when a dragged element enters a table row, if the `droppable` property is set to
|
|
16059
|
+
* true.
|
|
16060
|
+
*
|
|
16061
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16062
|
+
*/
|
|
16063
|
+
attachDragEnter(
|
|
16064
|
+
/**
|
|
16065
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
16066
|
+
* object when firing the event
|
|
16067
|
+
*/
|
|
16068
|
+
oData: object,
|
|
16069
|
+
/**
|
|
16070
|
+
* The function to be called when the event occurs
|
|
16071
|
+
*/
|
|
16072
|
+
fnFunction: (p1: DragDropConfig$DragEnterEvent) => void,
|
|
16073
|
+
/**
|
|
16074
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16075
|
+
*/
|
|
16076
|
+
oListener?: object
|
|
16077
|
+
): this;
|
|
16078
|
+
/**
|
|
16079
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragEnter dragEnter} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16080
|
+
*
|
|
16081
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16082
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16083
|
+
*
|
|
16084
|
+
* This event is fired when a dragged element enters a table row, if the `droppable` property is set to
|
|
16085
|
+
* true.
|
|
16086
|
+
*
|
|
16087
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16088
|
+
*/
|
|
16089
|
+
attachDragEnter(
|
|
16090
|
+
/**
|
|
16091
|
+
* The function to be called when the event occurs
|
|
16092
|
+
*/
|
|
16093
|
+
fnFunction: (p1: DragDropConfig$DragEnterEvent) => void,
|
|
16094
|
+
/**
|
|
16095
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16096
|
+
*/
|
|
16097
|
+
oListener?: object
|
|
16098
|
+
): this;
|
|
16099
|
+
/**
|
|
16100
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragOver dragOver} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16101
|
+
*
|
|
16102
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16103
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16104
|
+
*
|
|
16105
|
+
* This event is fired when an element is being dragged over a table row, if the `droppable` property is
|
|
16106
|
+
* set to true.
|
|
16107
|
+
*
|
|
16108
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16109
|
+
*/
|
|
16110
|
+
attachDragOver(
|
|
16111
|
+
/**
|
|
16112
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
16113
|
+
* object when firing the event
|
|
16114
|
+
*/
|
|
16115
|
+
oData: object,
|
|
16116
|
+
/**
|
|
16117
|
+
* The function to be called when the event occurs
|
|
16118
|
+
*/
|
|
16119
|
+
fnFunction: (p1: DragDropConfig$DragOverEvent) => void,
|
|
16120
|
+
/**
|
|
16121
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16122
|
+
*/
|
|
16123
|
+
oListener?: object
|
|
16124
|
+
): this;
|
|
16125
|
+
/**
|
|
16126
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragOver dragOver} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16127
|
+
*
|
|
16128
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16129
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16130
|
+
*
|
|
16131
|
+
* This event is fired when an element is being dragged over a table row, if the `droppable` property is
|
|
16132
|
+
* set to true.
|
|
16133
|
+
*
|
|
16134
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16135
|
+
*/
|
|
16136
|
+
attachDragOver(
|
|
16137
|
+
/**
|
|
16138
|
+
* The function to be called when the event occurs
|
|
16139
|
+
*/
|
|
16140
|
+
fnFunction: (p1: DragDropConfig$DragOverEvent) => void,
|
|
16141
|
+
/**
|
|
16142
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16143
|
+
*/
|
|
16144
|
+
oListener?: object
|
|
16145
|
+
): this;
|
|
16146
|
+
/**
|
|
16147
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragStart dragStart} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16148
|
+
*
|
|
16149
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16150
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16151
|
+
*
|
|
16152
|
+
* This event is fired when the user starts dragging a table row, if the `draggable` property is set to
|
|
16153
|
+
* true.
|
|
16154
|
+
*
|
|
16155
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16156
|
+
*/
|
|
16157
|
+
attachDragStart(
|
|
16158
|
+
/**
|
|
16159
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
16160
|
+
* object when firing the event
|
|
16161
|
+
*/
|
|
16162
|
+
oData: object,
|
|
16163
|
+
/**
|
|
16164
|
+
* The function to be called when the event occurs
|
|
16165
|
+
*/
|
|
16166
|
+
fnFunction: (p1: DragDropConfig$DragStartEvent) => void,
|
|
16167
|
+
/**
|
|
16168
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16169
|
+
*/
|
|
16170
|
+
oListener?: object
|
|
16171
|
+
): this;
|
|
16172
|
+
/**
|
|
16173
|
+
* Attaches event handler `fnFunction` to the {@link #event:dragStart dragStart} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16174
|
+
*
|
|
16175
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16176
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16177
|
+
*
|
|
16178
|
+
* This event is fired when the user starts dragging a table row, if the `draggable` property is set to
|
|
16179
|
+
* true.
|
|
16180
|
+
*
|
|
16181
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16182
|
+
*/
|
|
16183
|
+
attachDragStart(
|
|
16184
|
+
/**
|
|
16185
|
+
* The function to be called when the event occurs
|
|
16186
|
+
*/
|
|
16187
|
+
fnFunction: (p1: DragDropConfig$DragStartEvent) => void,
|
|
16188
|
+
/**
|
|
16189
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16190
|
+
*/
|
|
16191
|
+
oListener?: object
|
|
16192
|
+
): this;
|
|
16193
|
+
/**
|
|
16194
|
+
* Attaches event handler `fnFunction` to the {@link #event:drop drop} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16195
|
+
*
|
|
16196
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16197
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16198
|
+
*
|
|
16199
|
+
* This event is fired when an element is dropped on a table row, if the `droppable` property is set to
|
|
16200
|
+
* true.
|
|
16201
|
+
*
|
|
16202
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16203
|
+
*/
|
|
16204
|
+
attachDrop(
|
|
16205
|
+
/**
|
|
16206
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
16207
|
+
* object when firing the event
|
|
16208
|
+
*/
|
|
16209
|
+
oData: object,
|
|
16210
|
+
/**
|
|
16211
|
+
* The function to be called when the event occurs
|
|
16212
|
+
*/
|
|
16213
|
+
fnFunction: (p1: DragDropConfig$DropEvent) => void,
|
|
16214
|
+
/**
|
|
16215
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16216
|
+
*/
|
|
16217
|
+
oListener?: object
|
|
16218
|
+
): this;
|
|
16219
|
+
/**
|
|
16220
|
+
* Attaches event handler `fnFunction` to the {@link #event:drop drop} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16221
|
+
*
|
|
16222
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
16223
|
+
* otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
|
|
16224
|
+
*
|
|
16225
|
+
* This event is fired when an element is dropped on a table row, if the `droppable` property is set to
|
|
16226
|
+
* true.
|
|
16227
|
+
*
|
|
16228
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16229
|
+
*/
|
|
16230
|
+
attachDrop(
|
|
16231
|
+
/**
|
|
16232
|
+
* The function to be called when the event occurs
|
|
16233
|
+
*/
|
|
16234
|
+
fnFunction: (p1: DragDropConfig$DropEvent) => void,
|
|
16235
|
+
/**
|
|
16236
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
|
|
16237
|
+
*/
|
|
16238
|
+
oListener?: object
|
|
16239
|
+
): this;
|
|
16240
|
+
/**
|
|
16241
|
+
* Detaches event handler `fnFunction` from the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16242
|
+
*
|
|
16243
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
16244
|
+
*
|
|
16245
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16246
|
+
*/
|
|
16247
|
+
detachDragEnd(
|
|
16248
|
+
/**
|
|
16249
|
+
* The function to be called, when the event occurs
|
|
16250
|
+
*/
|
|
16251
|
+
fnFunction: (p1: DragDropConfig$DragEndEvent) => void,
|
|
16252
|
+
/**
|
|
16253
|
+
* Context object on which the given function had to be called
|
|
16254
|
+
*/
|
|
16255
|
+
oListener?: object
|
|
16256
|
+
): this;
|
|
16257
|
+
/**
|
|
16258
|
+
* Detaches event handler `fnFunction` from the {@link #event:dragEnter dragEnter} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16259
|
+
*
|
|
16260
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
16261
|
+
*
|
|
16262
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16263
|
+
*/
|
|
16264
|
+
detachDragEnter(
|
|
16265
|
+
/**
|
|
16266
|
+
* The function to be called, when the event occurs
|
|
16267
|
+
*/
|
|
16268
|
+
fnFunction: (p1: DragDropConfig$DragEnterEvent) => void,
|
|
16269
|
+
/**
|
|
16270
|
+
* Context object on which the given function had to be called
|
|
16271
|
+
*/
|
|
16272
|
+
oListener?: object
|
|
16273
|
+
): this;
|
|
16274
|
+
/**
|
|
16275
|
+
* Detaches event handler `fnFunction` from the {@link #event:dragOver dragOver} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16276
|
+
*
|
|
16277
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
16278
|
+
*
|
|
16279
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16280
|
+
*/
|
|
16281
|
+
detachDragOver(
|
|
16282
|
+
/**
|
|
16283
|
+
* The function to be called, when the event occurs
|
|
16284
|
+
*/
|
|
16285
|
+
fnFunction: (p1: DragDropConfig$DragOverEvent) => void,
|
|
16286
|
+
/**
|
|
16287
|
+
* Context object on which the given function had to be called
|
|
16288
|
+
*/
|
|
16289
|
+
oListener?: object
|
|
16290
|
+
): this;
|
|
16291
|
+
/**
|
|
16292
|
+
* Detaches event handler `fnFunction` from the {@link #event:dragStart dragStart} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16293
|
+
*
|
|
16294
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
16295
|
+
*
|
|
16296
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16297
|
+
*/
|
|
16298
|
+
detachDragStart(
|
|
16299
|
+
/**
|
|
16300
|
+
* The function to be called, when the event occurs
|
|
16301
|
+
*/
|
|
16302
|
+
fnFunction: (p1: DragDropConfig$DragStartEvent) => void,
|
|
16303
|
+
/**
|
|
16304
|
+
* Context object on which the given function had to be called
|
|
16305
|
+
*/
|
|
16306
|
+
oListener?: object
|
|
16307
|
+
): this;
|
|
16308
|
+
/**
|
|
16309
|
+
* Detaches event handler `fnFunction` from the {@link #event:drop drop} event of this `sap.ui.mdc.table.DragDropConfig`.
|
|
16310
|
+
*
|
|
16311
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
16312
|
+
*
|
|
16313
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16314
|
+
*/
|
|
16315
|
+
detachDrop(
|
|
16316
|
+
/**
|
|
16317
|
+
* The function to be called, when the event occurs
|
|
16318
|
+
*/
|
|
16319
|
+
fnFunction: (p1: DragDropConfig$DropEvent) => void,
|
|
16320
|
+
/**
|
|
16321
|
+
* Context object on which the given function had to be called
|
|
16322
|
+
*/
|
|
16323
|
+
oListener?: object
|
|
16324
|
+
): this;
|
|
16325
|
+
/**
|
|
16326
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
16327
|
+
*
|
|
16328
|
+
* Fires event {@link #event:dragEnd dragEnd} to attached listeners.
|
|
16329
|
+
*
|
|
16330
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16331
|
+
*/
|
|
16332
|
+
fireDragEnd(
|
|
16333
|
+
/**
|
|
16334
|
+
* Parameters to pass along with the event
|
|
16335
|
+
*/
|
|
16336
|
+
mParameters?: DragDropConfig$DragEndEventParameters
|
|
16337
|
+
): this;
|
|
16338
|
+
/**
|
|
16339
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
16340
|
+
*
|
|
16341
|
+
* Fires event {@link #event:dragEnter dragEnter} to attached listeners.
|
|
16342
|
+
*
|
|
16343
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
16344
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
16345
|
+
*
|
|
16346
|
+
* @returns Whether or not to prevent the default action
|
|
16347
|
+
*/
|
|
16348
|
+
fireDragEnter(
|
|
16349
|
+
/**
|
|
16350
|
+
* Parameters to pass along with the event
|
|
16351
|
+
*/
|
|
16352
|
+
mParameters?: DragDropConfig$DragEnterEventParameters
|
|
16353
|
+
): boolean;
|
|
16354
|
+
/**
|
|
16355
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
16356
|
+
*
|
|
16357
|
+
* Fires event {@link #event:dragOver dragOver} to attached listeners.
|
|
16358
|
+
*
|
|
16359
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
16360
|
+
*/
|
|
16361
|
+
fireDragOver(
|
|
16362
|
+
/**
|
|
16363
|
+
* Parameters to pass along with the event
|
|
16364
|
+
*/
|
|
16365
|
+
mParameters?: DragDropConfig$DragOverEventParameters
|
|
16366
|
+
): this;
|
|
16367
|
+
/**
|
|
16368
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
16369
|
+
*
|
|
16370
|
+
* Fires event {@link #event:dragStart dragStart} to attached listeners.
|
|
16371
|
+
*
|
|
16372
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
16373
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
16374
|
+
*
|
|
16375
|
+
* @returns Whether or not to prevent the default action
|
|
16376
|
+
*/
|
|
16377
|
+
fireDragStart(
|
|
16378
|
+
/**
|
|
16379
|
+
* Parameters to pass along with the event
|
|
16380
|
+
*/
|
|
16381
|
+
mParameters?: DragDropConfig$DragStartEventParameters
|
|
16382
|
+
): boolean;
|
|
16383
|
+
/**
|
|
16384
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
16385
|
+
*
|
|
16386
|
+
* Fires event {@link #event:drop drop} to attached listeners.
|
|
15326
16387
|
*
|
|
15327
16388
|
* @returns Reference to `this` in order to allow method chaining
|
|
15328
16389
|
*/
|
|
15329
|
-
|
|
16390
|
+
fireDrop(
|
|
15330
16391
|
/**
|
|
15331
|
-
*
|
|
16392
|
+
* Parameters to pass along with the event
|
|
15332
16393
|
*/
|
|
15333
|
-
|
|
16394
|
+
mParameters?: DragDropConfig$DropEventParameters
|
|
15334
16395
|
): this;
|
|
15335
16396
|
/**
|
|
15336
|
-
* @
|
|
16397
|
+
* Gets current value of property {@link #getDraggable draggable}.
|
|
15337
16398
|
*
|
|
15338
|
-
*
|
|
16399
|
+
* Determines whether the rows of the table are draggable.
|
|
15339
16400
|
*
|
|
15340
|
-
*
|
|
16401
|
+
* **Note:** Setting this property to `true` may expose the rows of the table in other `DropInfo` event
|
|
16402
|
+
* parameters. In this case, only the binding context of the row is allowed to be used. Internal controls
|
|
16403
|
+
* and their types are subject to change without notice.
|
|
15341
16404
|
*
|
|
15342
|
-
*
|
|
16405
|
+
* Default value is `false`.
|
|
15343
16406
|
*
|
|
15344
|
-
*
|
|
16407
|
+
* @returns Value of property `draggable`
|
|
16408
|
+
*/
|
|
16409
|
+
getDraggable(): boolean;
|
|
16410
|
+
/**
|
|
16411
|
+
* Gets current value of property {@link #getDropEffect dropEffect}.
|
|
15345
16412
|
*
|
|
15346
|
-
*
|
|
16413
|
+
* Defines the visual drop effect.
|
|
16414
|
+
*
|
|
16415
|
+
* Default value is `"Move"`.
|
|
16416
|
+
*
|
|
16417
|
+
* @returns Value of property `dropEffect`
|
|
15347
16418
|
*/
|
|
15348
|
-
|
|
15349
|
-
/**
|
|
15350
|
-
* New value for property `minWidth`
|
|
15351
|
-
*/
|
|
15352
|
-
fMinWidth?: float
|
|
15353
|
-
): this;
|
|
16419
|
+
getDropEffect(): dnd.DropEffect | keyof typeof dnd.DropEffect;
|
|
15354
16420
|
/**
|
|
15355
|
-
* @
|
|
16421
|
+
* Gets current value of property {@link #getDroppable droppable}.
|
|
15356
16422
|
*
|
|
15357
|
-
*
|
|
16423
|
+
* Determines whether the rows of the table are droppable.
|
|
15358
16424
|
*
|
|
15359
|
-
*
|
|
16425
|
+
* Default value is `false`.
|
|
15360
16426
|
*
|
|
15361
|
-
*
|
|
16427
|
+
* @returns Value of property `droppable`
|
|
16428
|
+
*/
|
|
16429
|
+
getDroppable(): boolean;
|
|
16430
|
+
/**
|
|
16431
|
+
* Gets current value of property {@link #getDropPosition dropPosition}.
|
|
15362
16432
|
*
|
|
15363
|
-
*
|
|
16433
|
+
* Defines the position for the drop action, visualized by a rectangle.
|
|
16434
|
+
*
|
|
16435
|
+
* Default value is `"On"`.
|
|
16436
|
+
*
|
|
16437
|
+
* @returns Value of property `dropPosition`
|
|
15364
16438
|
*/
|
|
15365
|
-
|
|
15366
|
-
/**
|
|
15367
|
-
* New value for property `propertyKey`
|
|
15368
|
-
*/
|
|
15369
|
-
sPropertyKey: string
|
|
15370
|
-
): this;
|
|
16439
|
+
getDropPosition(): dnd.DropPosition | keyof typeof dnd.DropPosition;
|
|
15371
16440
|
/**
|
|
15372
|
-
* Sets a new value for property {@link #
|
|
16441
|
+
* Sets a new value for property {@link #getDraggable draggable}.
|
|
15373
16442
|
*
|
|
15374
|
-
*
|
|
15375
|
-
*
|
|
15376
|
-
*
|
|
15377
|
-
*
|
|
16443
|
+
* Determines whether the rows of the table are draggable.
|
|
16444
|
+
*
|
|
16445
|
+
* **Note:** Setting this property to `true` may expose the rows of the table in other `DropInfo` event
|
|
16446
|
+
* parameters. In this case, only the binding context of the row is allowed to be used. Internal controls
|
|
16447
|
+
* and their types are subject to change without notice.
|
|
15378
16448
|
*
|
|
15379
16449
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15380
16450
|
*
|
|
@@ -15382,246 +16452,216 @@ declare module "sap/ui/mdc/table/Column" {
|
|
|
15382
16452
|
*
|
|
15383
16453
|
* @returns Reference to `this` in order to allow method chaining
|
|
15384
16454
|
*/
|
|
15385
|
-
|
|
16455
|
+
setDraggable(
|
|
15386
16456
|
/**
|
|
15387
|
-
* New value for property `
|
|
16457
|
+
* New value for property `draggable`
|
|
15388
16458
|
*/
|
|
15389
|
-
|
|
16459
|
+
bDraggable?: boolean
|
|
15390
16460
|
): this;
|
|
15391
16461
|
/**
|
|
15392
|
-
* Sets
|
|
16462
|
+
* Sets a new value for property {@link #getDropEffect dropEffect}.
|
|
16463
|
+
*
|
|
16464
|
+
* Defines the visual drop effect.
|
|
16465
|
+
*
|
|
16466
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
16467
|
+
*
|
|
16468
|
+
* Default value is `"Move"`.
|
|
15393
16469
|
*
|
|
15394
16470
|
* @returns Reference to `this` in order to allow method chaining
|
|
15395
16471
|
*/
|
|
15396
|
-
|
|
16472
|
+
setDropEffect(
|
|
15397
16473
|
/**
|
|
15398
|
-
*
|
|
16474
|
+
* New value for property `dropEffect`
|
|
15399
16475
|
*/
|
|
15400
|
-
|
|
16476
|
+
sDropEffect?: dnd.DropEffect | keyof typeof dnd.DropEffect
|
|
15401
16477
|
): this;
|
|
15402
16478
|
/**
|
|
15403
|
-
* Sets a new
|
|
16479
|
+
* Sets a new value for property {@link #getDroppable droppable}.
|
|
15404
16480
|
*
|
|
15405
|
-
*
|
|
16481
|
+
* Determines whether the rows of the table are droppable.
|
|
15406
16482
|
*
|
|
15407
|
-
*
|
|
16483
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15408
16484
|
*
|
|
15409
|
-
*
|
|
16485
|
+
* Default value is `false`.
|
|
16486
|
+
*
|
|
16487
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
15410
16488
|
*/
|
|
15411
|
-
|
|
16489
|
+
setDroppable(
|
|
15412
16490
|
/**
|
|
15413
|
-
* New
|
|
16491
|
+
* New value for property `droppable`
|
|
15414
16492
|
*/
|
|
15415
|
-
|
|
16493
|
+
bDroppable?: boolean
|
|
15416
16494
|
): this;
|
|
15417
16495
|
/**
|
|
15418
|
-
* @
|
|
15419
|
-
*
|
|
15420
|
-
* Sets a new value for property {@link #getWidth width}.
|
|
16496
|
+
* Sets a new value for property {@link #getDropPosition dropPosition}.
|
|
15421
16497
|
*
|
|
15422
|
-
* Defines the
|
|
16498
|
+
* Defines the position for the drop action, visualized by a rectangle.
|
|
15423
16499
|
*
|
|
15424
16500
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
15425
16501
|
*
|
|
16502
|
+
* Default value is `"On"`.
|
|
16503
|
+
*
|
|
15426
16504
|
* @returns Reference to `this` in order to allow method chaining
|
|
15427
16505
|
*/
|
|
15428
|
-
|
|
16506
|
+
setDropPosition(
|
|
15429
16507
|
/**
|
|
15430
|
-
* New value for property `
|
|
16508
|
+
* New value for property `dropPosition`
|
|
15431
16509
|
*/
|
|
15432
|
-
|
|
16510
|
+
sDropPosition?: dnd.DropPosition | keyof typeof dnd.DropPosition
|
|
15433
16511
|
): this;
|
|
15434
16512
|
}
|
|
15435
16513
|
|
|
15436
|
-
export
|
|
15437
|
-
/**
|
|
15438
|
-
* @since 1.80
|
|
15439
|
-
*
|
|
15440
|
-
* Defines the width of the column.
|
|
15441
|
-
*/
|
|
15442
|
-
width?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
16514
|
+
export type DragSource = Context | UI5Element;
|
|
15443
16515
|
|
|
16516
|
+
export interface $DragDropConfigSettings extends $DragDropBaseSettings {
|
|
15444
16517
|
/**
|
|
15445
|
-
*
|
|
16518
|
+
* Determines whether the rows of the table are draggable.
|
|
15446
16519
|
*
|
|
15447
|
-
*
|
|
16520
|
+
* **Note:** Setting this property to `true` may expose the rows of the table in other `DropInfo` event
|
|
16521
|
+
* parameters. In this case, only the binding context of the row is allowed to be used. Internal controls
|
|
16522
|
+
* and their types are subject to change without notice.
|
|
15448
16523
|
*/
|
|
15449
|
-
|
|
16524
|
+
draggable?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15450
16525
|
|
|
15451
16526
|
/**
|
|
15452
|
-
*
|
|
15453
|
-
*
|
|
15454
|
-
* Defines the column header text.
|
|
16527
|
+
* Determines whether the rows of the table are droppable.
|
|
15455
16528
|
*/
|
|
15456
|
-
|
|
16529
|
+
droppable?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
15457
16530
|
|
|
15458
16531
|
/**
|
|
15459
|
-
*
|
|
15460
|
-
*
|
|
15461
|
-
* Defines whether the column header is visible.
|
|
16532
|
+
* Defines the visual drop effect.
|
|
15462
16533
|
*/
|
|
15463
|
-
|
|
16534
|
+
dropEffect?:
|
|
16535
|
+
| (dnd.DropEffect | keyof typeof dnd.DropEffect)
|
|
16536
|
+
| PropertyBindingInfo
|
|
16537
|
+
| `{${string}}`;
|
|
15464
16538
|
|
|
15465
16539
|
/**
|
|
15466
|
-
*
|
|
15467
|
-
*
|
|
15468
|
-
* Defines the horizontal alignment of the column content.
|
|
16540
|
+
* Defines the position for the drop action, visualized by a rectangle.
|
|
15469
16541
|
*/
|
|
15470
|
-
|
|
15471
|
-
| (
|
|
16542
|
+
dropPosition?:
|
|
16543
|
+
| (dnd.DropPosition | keyof typeof dnd.DropPosition)
|
|
15472
16544
|
| PropertyBindingInfo
|
|
15473
16545
|
| `{${string}}`;
|
|
15474
16546
|
|
|
15475
16547
|
/**
|
|
15476
|
-
*
|
|
15477
|
-
*
|
|
15478
|
-
* This property will be ignored whenever the {@link sap.ui.mdc.table.ResponsiveColumnSettings} are applied
|
|
15479
|
-
* to the column.
|
|
15480
|
-
*
|
|
15481
|
-
* Defines the column importance.
|
|
15482
|
-
*
|
|
15483
|
-
* The column importance is taken into consideration for calculating the `minScreenWidth` property and for
|
|
15484
|
-
* setting the `demandPopin` property of the column. See {@link sap.m.Table#getAutoPopinMode} for more details,
|
|
15485
|
-
* which is automatically set to `true`.
|
|
16548
|
+
* This event is fired when the user starts dragging a table row, if the `draggable` property is set to
|
|
16549
|
+
* true.
|
|
15486
16550
|
*/
|
|
15487
|
-
|
|
15488
|
-
| (Priority | keyof typeof Priority)
|
|
15489
|
-
| PropertyBindingInfo
|
|
15490
|
-
| `{${string}}`;
|
|
16551
|
+
dragStart?: (oEvent: DragDropConfig$DragStartEvent) => void;
|
|
15491
16552
|
|
|
15492
16553
|
/**
|
|
15493
|
-
*
|
|
15494
|
-
* @deprecated (since 1.115) - Please use `propertyKey` instead.
|
|
15495
|
-
*
|
|
15496
|
-
* Defines data property related to the column.
|
|
16554
|
+
* This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
|
|
15497
16555
|
*/
|
|
15498
|
-
|
|
16556
|
+
dragEnd?: (oEvent: DragDropConfig$DragEndEvent) => void;
|
|
15499
16557
|
|
|
15500
16558
|
/**
|
|
15501
|
-
*
|
|
15502
|
-
*
|
|
15503
|
-
* Defines data property related to the column.
|
|
16559
|
+
* This event is fired when a dragged element enters a table row, if the `droppable` property is set to
|
|
16560
|
+
* true.
|
|
15504
16561
|
*/
|
|
15505
|
-
|
|
16562
|
+
dragEnter?: (oEvent: DragDropConfig$DragEnterEvent) => void;
|
|
15506
16563
|
|
|
15507
16564
|
/**
|
|
15508
|
-
*
|
|
15509
|
-
*
|
|
15510
|
-
* of the screen reader announcement of the state of the table cells, for example, by setting the `required`
|
|
15511
|
-
* property to `true` for `sap.m.Input`.
|
|
16565
|
+
* This event is fired when an element is being dragged over a table row, if the `droppable` property is
|
|
16566
|
+
* set to true.
|
|
15512
16567
|
*/
|
|
15513
|
-
|
|
16568
|
+
dragOver?: (oEvent: DragDropConfig$DragOverEvent) => void;
|
|
15514
16569
|
|
|
15515
16570
|
/**
|
|
15516
|
-
*
|
|
16571
|
+
* This event is fired when an element is dropped on a table row, if the `droppable` property is set to
|
|
16572
|
+
* true.
|
|
15517
16573
|
*/
|
|
15518
|
-
|
|
16574
|
+
drop?: (oEvent: DragDropConfig$DropEvent) => void;
|
|
16575
|
+
}
|
|
15519
16576
|
|
|
16577
|
+
export interface DragDropConfig$DragEndEventParameters {
|
|
15520
16578
|
/**
|
|
15521
|
-
*
|
|
15522
|
-
*
|
|
15523
|
-
* `CreationRow` template.
|
|
15524
|
-
*
|
|
15525
|
-
* **Note:** Once the binding supports creating transient records, this aggregation will be removed.
|
|
16579
|
+
* The binding context of the dragged row
|
|
15526
16580
|
*/
|
|
15527
|
-
|
|
16581
|
+
bindingContext?: Context;
|
|
16582
|
+
}
|
|
16583
|
+
|
|
16584
|
+
export type DragDropConfig$DragEndEvent = Event<
|
|
16585
|
+
DragDropConfig$DragEndEventParameters,
|
|
16586
|
+
DragDropConfig
|
|
16587
|
+
>;
|
|
15528
16588
|
|
|
16589
|
+
export interface DragDropConfig$DragEnterEventParameters {
|
|
15529
16590
|
/**
|
|
15530
|
-
*
|
|
15531
|
-
*
|
|
15532
|
-
* Defines type-specific column settings based on the used {@link sap.ui.mdc.table.TableTypeBase}.
|
|
15533
|
-
*
|
|
15534
|
-
* **Note:** Once `sap.ui.mdc.table.ColumnSettings` are defined, all properties provided by the `ColumnSettings`
|
|
15535
|
-
* are automatically assigned to the column.
|
|
16591
|
+
* The binding context of the row on which the dragged element will be dropped
|
|
15536
16592
|
*/
|
|
15537
|
-
|
|
16593
|
+
bindingContext?: Context;
|
|
16594
|
+
|
|
16595
|
+
/**
|
|
16596
|
+
* The binding context of the dragged row or the dragged control itself
|
|
16597
|
+
*/
|
|
16598
|
+
dragSource?: DragSource;
|
|
15538
16599
|
}
|
|
15539
|
-
}
|
|
15540
16600
|
|
|
15541
|
-
|
|
15542
|
-
|
|
16601
|
+
export type DragDropConfig$DragEnterEvent = Event<
|
|
16602
|
+
DragDropConfig$DragEnterEventParameters,
|
|
16603
|
+
DragDropConfig
|
|
16604
|
+
>;
|
|
15543
16605
|
|
|
15544
|
-
|
|
16606
|
+
export interface DragDropConfig$DragOverEventParameters {
|
|
16607
|
+
/**
|
|
16608
|
+
* The binding context of the row on which the dragged element will be dropped
|
|
16609
|
+
*/
|
|
16610
|
+
bindingContext?: Context;
|
|
15545
16611
|
|
|
15546
|
-
/**
|
|
15547
|
-
* @since 1.110
|
|
15548
|
-
*
|
|
15549
|
-
* The table type info class for the metadata-driven table.
|
|
15550
|
-
*/
|
|
15551
|
-
export default class ColumnSettings extends UI5Element {
|
|
15552
16612
|
/**
|
|
15553
|
-
*
|
|
15554
|
-
*
|
|
15555
|
-
* Provides a number of general settings that are supported by both {@link sap.m.Column} and {@link sap.ui.table.Column}.
|
|
15556
|
-
*
|
|
15557
|
-
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15558
|
-
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15559
|
-
* of the syntax of the settings object.
|
|
15560
|
-
*
|
|
15561
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element }
|
|
15562
|
-
* can be used.
|
|
16613
|
+
* The binding context of the dragged row or the dragged control itself
|
|
15563
16614
|
*/
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
* Initial settings for the new object
|
|
15567
|
-
*/
|
|
15568
|
-
mSettings?: $ColumnSettingsSettings
|
|
15569
|
-
);
|
|
16615
|
+
dragSource?: DragSource;
|
|
16616
|
+
|
|
15570
16617
|
/**
|
|
15571
|
-
*
|
|
15572
|
-
*
|
|
15573
|
-
* Provides a number of general settings that are supported by both {@link sap.m.Column} and {@link sap.ui.table.Column}.
|
|
15574
|
-
*
|
|
15575
|
-
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
15576
|
-
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
15577
|
-
* of the syntax of the settings object.
|
|
15578
|
-
*
|
|
15579
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element }
|
|
15580
|
-
* can be used.
|
|
16618
|
+
* The calculated position of the drop action relative to the row being dropped
|
|
15581
16619
|
*/
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
);
|
|
16620
|
+
dropPosition?:
|
|
16621
|
+
| dnd.RelativeDropPosition
|
|
16622
|
+
| keyof typeof dnd.RelativeDropPosition;
|
|
16623
|
+
}
|
|
16624
|
+
|
|
16625
|
+
export type DragDropConfig$DragOverEvent = Event<
|
|
16626
|
+
DragDropConfig$DragOverEventParameters,
|
|
16627
|
+
DragDropConfig
|
|
16628
|
+
>;
|
|
15592
16629
|
|
|
16630
|
+
export interface DragDropConfig$DragStartEventParameters {
|
|
15593
16631
|
/**
|
|
15594
|
-
*
|
|
15595
|
-
* with the information contained in `oClassInfo`.
|
|
15596
|
-
*
|
|
15597
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
15598
|
-
*
|
|
15599
|
-
* @returns Created class / constructor function
|
|
16632
|
+
* The binding context of the dragged row
|
|
15600
16633
|
*/
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
/**
|
|
15611
|
-
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
15612
|
-
* used by this class
|
|
15613
|
-
*/
|
|
15614
|
-
FNMetaImpl?: Function
|
|
15615
|
-
): Function;
|
|
16634
|
+
bindingContext?: Context;
|
|
16635
|
+
}
|
|
16636
|
+
|
|
16637
|
+
export type DragDropConfig$DragStartEvent = Event<
|
|
16638
|
+
DragDropConfig$DragStartEventParameters,
|
|
16639
|
+
DragDropConfig
|
|
16640
|
+
>;
|
|
16641
|
+
|
|
16642
|
+
export interface DragDropConfig$DropEventParameters {
|
|
15616
16643
|
/**
|
|
15617
|
-
*
|
|
15618
|
-
*
|
|
15619
|
-
* @returns Metadata object describing this class
|
|
16644
|
+
* The binding context of the row on which the dragged element is dropped
|
|
15620
16645
|
*/
|
|
15621
|
-
|
|
16646
|
+
bindingContext?: Context;
|
|
16647
|
+
|
|
16648
|
+
/**
|
|
16649
|
+
* The binding context of the dragged row or the dragged control itself
|
|
16650
|
+
*/
|
|
16651
|
+
dragSource?: DragSource;
|
|
16652
|
+
|
|
16653
|
+
/**
|
|
16654
|
+
* The calculated position of the drop action relative to the dropped row
|
|
16655
|
+
*/
|
|
16656
|
+
dropPosition?:
|
|
16657
|
+
| dnd.RelativeDropPosition
|
|
16658
|
+
| keyof typeof dnd.RelativeDropPosition;
|
|
15622
16659
|
}
|
|
15623
16660
|
|
|
15624
|
-
export
|
|
16661
|
+
export type DragDropConfig$DropEvent = Event<
|
|
16662
|
+
DragDropConfig$DropEventParameters,
|
|
16663
|
+
DragDropConfig
|
|
16664
|
+
>;
|
|
15625
16665
|
}
|
|
15626
16666
|
|
|
15627
16667
|
declare module "sap/ui/mdc/table/GridTableType" {
|
|
@@ -18183,9 +19223,13 @@ declare module "sap/ui/mdc/ValueHelp" {
|
|
|
18183
19223
|
*/
|
|
18184
19224
|
value: any;
|
|
18185
19225
|
/**
|
|
18186
|
-
* Value parsed by type to
|
|
19226
|
+
* Value parsed by type of key to match the data type of the key
|
|
18187
19227
|
*/
|
|
18188
19228
|
parsedValue?: any;
|
|
19229
|
+
/**
|
|
19230
|
+
* Value parsed by type of description to match the data type of the description
|
|
19231
|
+
*/
|
|
19232
|
+
parsedDescription?: any;
|
|
18189
19233
|
/**
|
|
18190
19234
|
* Contextual information provided by condition `payload` or `inParameters`/`outParameters`. This is only
|
|
18191
19235
|
* filled if the description needs to be determined for an existing condition.
|
|
@@ -22187,6 +23231,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22187
23231
|
*/
|
|
22188
23232
|
static getMetadata(): ElementMetadata;
|
|
22189
23233
|
/**
|
|
23234
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
23235
|
+
*
|
|
22190
23236
|
* Attaches event handler `fnFunction` to the {@link #event:contentUpdated contentUpdated} event of this
|
|
22191
23237
|
* `sap.ui.mdc.valuehelp.content.MTable`.
|
|
22192
23238
|
*
|
|
@@ -22214,6 +23260,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22214
23260
|
oListener?: object
|
|
22215
23261
|
): this;
|
|
22216
23262
|
/**
|
|
23263
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
23264
|
+
*
|
|
22217
23265
|
* Attaches event handler `fnFunction` to the {@link #event:contentUpdated contentUpdated} event of this
|
|
22218
23266
|
* `sap.ui.mdc.valuehelp.content.MTable`.
|
|
22219
23267
|
*
|
|
@@ -22242,6 +23290,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22242
23290
|
*/
|
|
22243
23291
|
destroyTable(): this;
|
|
22244
23292
|
/**
|
|
23293
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
23294
|
+
*
|
|
22245
23295
|
* Detaches event handler `fnFunction` from the {@link #event:contentUpdated contentUpdated} event of this
|
|
22246
23296
|
* `sap.ui.mdc.valuehelp.content.MTable`.
|
|
22247
23297
|
*
|
|
@@ -22260,6 +23310,7 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22260
23310
|
oListener?: object
|
|
22261
23311
|
): this;
|
|
22262
23312
|
/**
|
|
23313
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
22263
23314
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
22264
23315
|
*
|
|
22265
23316
|
* Fires event {@link #event:contentUpdated contentUpdated} to attached listeners.
|
|
@@ -22306,6 +23357,8 @@ declare module "sap/ui/mdc/valuehelp/content/MTable" {
|
|
|
22306
23357
|
table?: Table;
|
|
22307
23358
|
|
|
22308
23359
|
/**
|
|
23360
|
+
* @deprecated (since 1.118.0) - This event is not fired or consumed anymore
|
|
23361
|
+
*
|
|
22309
23362
|
* This event is fired when the content of the table is updated.
|
|
22310
23363
|
*/
|
|
22311
23364
|
contentUpdated?: (oEvent: Event) => void;
|
|
@@ -22734,8 +23787,6 @@ declare namespace sap {
|
|
|
22734
23787
|
|
|
22735
23788
|
"sap/ui/mdc/p13n/StateUtil": undefined;
|
|
22736
23789
|
|
|
22737
|
-
"sap/ui/mdc/p13n/UIManager": undefined;
|
|
22738
|
-
|
|
22739
23790
|
"sap/ui/mdc/Table": undefined;
|
|
22740
23791
|
|
|
22741
23792
|
"sap/ui/mdc/table/Column": undefined;
|
|
@@ -22744,6 +23795,8 @@ declare namespace sap {
|
|
|
22744
23795
|
|
|
22745
23796
|
"sap/ui/mdc/table/CreationRow": undefined;
|
|
22746
23797
|
|
|
23798
|
+
"sap/ui/mdc/table/DragDropConfig": undefined;
|
|
23799
|
+
|
|
22747
23800
|
"sap/ui/mdc/table/GridTableType": undefined;
|
|
22748
23801
|
|
|
22749
23802
|
"sap/ui/mdc/table/PropertyHelper": undefined;
|