@openui5/types 1.118.0 → 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.
@@ -1,4 +1,148 @@
1
- // For Library Version: 1.118.0
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, an object containing an initial {@link sap.ui.mdc.link.LinkType} and an optional
1046
- * `Promise` are returned. The optional `Promise` also returns a {@link sap.ui.mdc.link.LinkType} object.
1047
- * Once the optional `Promise` has been resolved, the returned {@link sap.ui.mdc.link.LinkType} overwrites
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 creates returns a dataType class
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
  *
@@ -5355,18 +5499,19 @@ declare module "sap/ui/mdc/condition/Operator" {
5355
5499
  /**
5356
5500
  * Array of type to be used. The length of the array defines the number of values that need to be entered
5357
5501
  * with the operator.
5358
- * If set to {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self} the `Type` of the `Field`
5359
- * 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.
5360
5504
  * If set to {@link sap.ui.mdc.enums.OperatorValueType.SelfNoParse OperatorValueType.SelfNoParse} same
5361
5505
  * as {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self}, except that the input value
5362
5506
  * parsing will not be called.
5363
- * 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
5364
5508
  * type is used to display static text.
5365
- * If set to a name of a data type an instance of this data type will be used.
5366
- * If set to an object with structure {@link sap.ui.mdc.condition.ValueType} an instance of the corresponding
5367
- * data type will be used. The type given via `name` must be loaded by the application.
5368
- * If set to `null` the corresponding value is interpreted as description that holds no required data.
5369
- * To display this value the additional `Type` of the `Field` or `FilterField` using the `Operator` is used.
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.
5370
5515
  */
5371
5516
  valueTypes: string[] | object[];
5372
5517
  /**
@@ -6921,7 +7066,7 @@ declare module "sap/ui/mdc/field/ConditionsType" {
6921
7066
  */
6922
7067
  valueType?: Type;
6923
7068
  /**
6924
- * Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
7069
+ * Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
6925
7070
  */
6926
7071
  additionalValueType?: Type;
6927
7072
  /**
@@ -6956,15 +7101,15 @@ declare module "sap/ui/mdc/field/ConditionsType" {
6956
7101
  */
6957
7102
  originalDateType?: Type;
6958
7103
  /**
6959
- * additional type used on other part of a field. (For example, for unit fields.)
7104
+ * Additional type used for another part of a field (for example, for unit fields)
6960
7105
  */
6961
7106
  additionalType?: Type;
6962
7107
  /**
6963
- * additional types used for parts of a `CompositeType` (if valueType is a `CompositeType`)
7108
+ * Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
6964
7109
  */
6965
7110
  compositeTypes?: Type[];
6966
7111
  /**
6967
- * additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
7112
+ * Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
6968
7113
  */
6969
7114
  additionalCompositeTypes?: Type[];
6970
7115
  /**
@@ -7006,11 +7151,11 @@ declare module "sap/ui/mdc/field/ConditionsType" {
7006
7151
  */
7007
7152
  control?: Control;
7008
7153
  /**
7009
- * If set, the conditions will not be formatted (MultiInput value-property case)
7154
+ * If set, the conditions will not be formatted (MultiInput `value` property case)
7010
7155
  */
7011
7156
  noFormatting?: boolean;
7012
7157
  /**
7013
- * If noFormatting is set, this value is used as output (To keep typed value during value help selection)
7158
+ * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
7014
7159
  */
7015
7160
  keepValue?: string;
7016
7161
  },
@@ -7145,7 +7290,7 @@ declare module "sap/ui/mdc/field/ConditionType" {
7145
7290
  */
7146
7291
  valueType?: Type;
7147
7292
  /**
7148
- * Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
7293
+ * Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
7149
7294
  */
7150
7295
  additionalValueType?: Type;
7151
7296
  /**
@@ -7180,15 +7325,15 @@ declare module "sap/ui/mdc/field/ConditionType" {
7180
7325
  */
7181
7326
  originalDateType?: Type;
7182
7327
  /**
7183
- * additional type used on other part of a field. (For example, for unit fields.)
7328
+ * Additional type used for another part of a field (for example, for unit fields)
7184
7329
  */
7185
7330
  additionalType?: Type;
7186
7331
  /**
7187
- * additional types used for parts of a `CompositeType`
7332
+ * Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
7188
7333
  */
7189
7334
  compositeTypes?: Type[];
7190
7335
  /**
7191
- * additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
7336
+ * Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
7192
7337
  */
7193
7338
  additionalCompositeTypes?: Type[];
7194
7339
  /**
@@ -7229,6 +7374,14 @@ declare module "sap/ui/mdc/field/ConditionType" {
7229
7374
  * Instance of the calling control
7230
7375
  */
7231
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;
7232
7385
  },
7233
7386
  /**
7234
7387
  * Value constraints
@@ -7356,7 +7509,7 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
7356
7509
  */
7357
7510
  valueType?: Type;
7358
7511
  /**
7359
- * Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
7512
+ * Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
7360
7513
  */
7361
7514
  additionalValueType?: Type;
7362
7515
  /**
@@ -7391,15 +7544,15 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
7391
7544
  */
7392
7545
  originalDateType?: Type;
7393
7546
  /**
7394
- * additional type used on other part of a field. (For example, for unit fields.)
7547
+ * Additional type used for another part of a field (for example, for unit fields)
7395
7548
  */
7396
7549
  additionalType?: Type;
7397
7550
  /**
7398
- * additional types used for parts of a `CompositeType` (if valueType is a `CompositeType`)
7551
+ * Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
7399
7552
  */
7400
7553
  compositeTypes?: Type[];
7401
7554
  /**
7402
- * additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
7555
+ * Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
7403
7556
  */
7404
7557
  additionalCompositeTypes?: Type[];
7405
7558
  /**
@@ -7441,11 +7594,11 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
7441
7594
  */
7442
7595
  control?: Control;
7443
7596
  /**
7444
- * If set, the conditions will not be formatted (MultiInput value-property case)
7597
+ * If set, the conditions will not be formatted (MultiInput `value` property case)
7445
7598
  */
7446
7599
  noFormatting?: boolean;
7447
7600
  /**
7448
- * If noFormatting is set, this value is used as output (To keep typed value during value help selection)
7601
+ * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
7449
7602
  */
7450
7603
  keepValue?: string;
7451
7604
  },
@@ -7969,12 +8122,12 @@ declare module "sap/ui/mdc/field/FieldBase" {
7969
8122
  *
7970
8123
  * Returns the configuration for the additional data type.
7971
8124
  *
7972
- * In {@link sap.ui.mdc.Field Field} case it is determined from the binding of the `additionalValue` In
7973
- * {@link sap.ui.mdc.MultiValueField MultiValueField} case it is determined from the binding of `description`
7974
- * of an item In {@link sap.ui.mdc.FilterField FilterField} case it is provided via `additionalDataType`
7975
- * property.
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.
7976
8129
  *
7977
- * @returns return a type instance ot a configuration object
8130
+ * @returns Type instance of a configuration object
7978
8131
  */
7979
8132
  getAdditionalDataTypeConfiguration(): Type | object;
7980
8133
  /**
@@ -11145,178 +11298,6 @@ declare module "sap/ui/mdc/filterbar/vh/FilterBar" {
11145
11298
  }
11146
11299
  }
11147
11300
 
11148
- declare module "sap/ui/mdc/FilterBarDelegate" {
11149
- import FilterBar from "sap/ui/mdc/FilterBar";
11150
-
11151
- import FilterField from "sap/ui/mdc/FilterField";
11152
-
11153
- import FilterBarValidationStatus from "sap/ui/mdc/enums/FilterBarValidationStatus";
11154
-
11155
- import { filterbar } from "sap/ui/mdc/library";
11156
-
11157
- /**
11158
- * @since 1.61.0
11159
- *
11160
- * Base Delegate for {@link sap.ui.mdc.FilterBar FilterBar}. Extend this object in your project to use all
11161
- * functionalities of the {@link sap.ui.mdc.FilterBar FilterBar}. This class provides method calls, which
11162
- * are called by the `FilterBar` at specific operations and allows to overwrite an internal behaviour..
11163
- */
11164
- export default class FilterBarDelegate {
11165
- constructor();
11166
-
11167
- /**
11168
- * This method is called during the appliance of the add condition change. The intention is to update the
11169
- * {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
11170
- *
11171
- * @returns `Promise` that is resolved once the propertyInfo property has been updated
11172
- */
11173
- static addCondition(
11174
- /**
11175
- * Instance of the filter bar
11176
- */
11177
- oFilterBar: FilterBar,
11178
- /**
11179
- * The name of a property
11180
- */
11181
- sPropertyName: string,
11182
- /**
11183
- * Instance of a property bag from the SAPUI5 flexibility change API
11184
- */
11185
- mPropertyBag: Object
11186
- ): Promise<any>;
11187
- /**
11188
- * Creates an instance of a filter field control. **Note:** The `addItem` hook can be used during the processing
11189
- * of an SAPUI5 flexibility change. Consequently the parameter `mPropertyBag` is only passed during preprocessing.
11190
- * In runtime scenarios (such as opening a personalization dialog), this method might be called without
11191
- * the parameter `mPropertyBag`.
11192
- *
11193
- * @returns `Promise` that resolves with an instance of the implementing {@link sap.ui.mdc.FilterField Control}.
11194
- * **Note:** This method always requires a return value once it has been called. If an item for a given
11195
- * property `sPropertyName` has already been created, it must to either return the existing instance or
11196
- * create a new instance.
11197
- */
11198
- static addItem(
11199
- /**
11200
- * Instance of the filter bar
11201
- */
11202
- oFilterBar: FilterBar,
11203
- /**
11204
- * The name of the property info object/JSON
11205
- */
11206
- sPropertyName: string,
11207
- /**
11208
- * Instance of property bag from SAPUI5 flexibility change API
11209
- */
11210
- mPropertyBag?: Object
11211
- ): Promise<FilterField>;
11212
- /**
11213
- * This method is called when the Clear button is pressed.
11214
- *
11215
- * @returns `Promise` that is resolved once the action has been completed
11216
- */
11217
- static clearFilters(
11218
- /**
11219
- * Instance of the filter bar
11220
- */
11221
- oFilterBar: FilterBar
11222
- ): Promise<any>;
11223
- /**
11224
- * A validator to evaluate the filter bar state.
11225
- *
11226
- * @returns The inner filter bar state
11227
- */
11228
- static determineValidationState(
11229
- /**
11230
- * Instance of the filter bar
11231
- */
11232
- oFilterBar: FilterBar,
11233
- /**
11234
- * Object describing the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
11235
- */
11236
- mValidation?: {
11237
- /**
11238
- * Status of the validation {@link sap.ui.mdc.enums.FilterBarValidationStatus}
11239
- */
11240
- status?: string;
11241
- }
11242
- ): FilterBarValidationStatus;
11243
- /**
11244
- * Retrieves the relevant metadata for a given payload and returns the property info array.
11245
- *
11246
- * @returns Once resolved, an array of property info objects is returned
11247
- */
11248
- static fetchProperties(
11249
- /**
11250
- * Instance of the filter bar
11251
- */
11252
- oFilterBar: FilterBar
11253
- ): Promise<filterbar.PropertyInfo[]>;
11254
- /**
11255
- * propertyInfo This method is called during the appliance of the remove condition change. The intention
11256
- * is to update the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
11257
- *
11258
- * @returns `Promise` that is resolved once the propertyInfo property has been updated
11259
- */
11260
- static removeCondition(
11261
- /**
11262
- * Instance of the filter bar
11263
- */
11264
- oFilterBar: FilterBar,
11265
- /**
11266
- * The name of a property
11267
- */
11268
- sPropertyName: string,
11269
- /**
11270
- * Instance of a property bag from the SAPUI5 flexibility change API
11271
- */
11272
- mPropertyBag: Object
11273
- ): Promise<any>;
11274
- /**
11275
- * Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
11276
- * The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
11277
- * of the SAPUI5 flexibility handling.
11278
- *
11279
- * **Note:**The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
11280
- * the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
11281
- * a personalization dialog), this method can be called without the parameter `mPropertyBag`.
11282
- *
11283
- * @returns `Promise` that resolved with `true`, `false` to allow/prevent default behavior of the change
11284
- */
11285
- static removeItem(
11286
- /**
11287
- * Instance of the filter bar
11288
- */
11289
- oFilterBar: FilterBar,
11290
- /**
11291
- * The filter field instance that was removed
11292
- */
11293
- oFilterField: FilterField,
11294
- /**
11295
- * Instance of property bag from SAPUI5 flexibility
11296
- */
11297
- mPropertyBag?: Object
11298
- ): Promise<boolean>;
11299
- /**
11300
- * Visualizes the filter bar validation state.
11301
- */
11302
- static visualizeValidationState(
11303
- /**
11304
- * Instance of the filter bar
11305
- */
11306
- oFilterBar: FilterBar,
11307
- /**
11308
- * Describes the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
11309
- */
11310
- mValidation: {
11311
- /**
11312
- * Status of the validation as returned via {@link sap.ui.mdc.filterbar.FilterBarBase#checkValidationState checkValidationState}
11313
- */
11314
- status: FilterBarValidationStatus;
11315
- }
11316
- ): void;
11317
- }
11318
- }
11319
-
11320
11301
  declare module "sap/ui/mdc/FilterField" {
11321
11302
  import {
11322
11303
  default as FieldBase,
@@ -11543,10 +11524,10 @@ declare module "sap/ui/mdc/FilterField" {
11543
11524
  *
11544
11525
  * Gets current value of property {@link #getAdditionalDataType additionalDataType}.
11545
11526
  *
11546
- * The type of data for the description part of a equal-condition This type is used to parse, format, and
11547
- * validate the value.
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.
11548
11529
  *
11549
- * Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
11530
+ * Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
11550
11531
  *
11551
11532
  * @returns Value of property `additionalDataType`
11552
11533
  */
@@ -11621,10 +11602,10 @@ declare module "sap/ui/mdc/FilterField" {
11621
11602
  *
11622
11603
  * Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
11623
11604
  *
11624
- * The type of data for the description part of a equal-condition This type is used to parse, format, and
11625
- * validate the value.
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.
11626
11607
  *
11627
- * Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
11608
+ * Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
11628
11609
  *
11629
11610
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11630
11611
  *
@@ -11730,10 +11711,10 @@ declare module "sap/ui/mdc/FilterField" {
11730
11711
  /**
11731
11712
  * @since 1.118.0
11732
11713
  *
11733
- * The type of data for the description part of a equal-condition This type is used to parse, format, and
11734
- * validate the value.
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.
11735
11716
  *
11736
- * Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
11717
+ * Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
11737
11718
  */
11738
11719
  additionalDataType?: object | PropertyBindingInfo | `{${string}}`;
11739
11720
 
@@ -12951,6 +12932,8 @@ declare module "sap/ui/mdc/Table" {
12951
12932
 
12952
12933
  import Column from "sap/ui/mdc/table/Column";
12953
12934
 
12935
+ import CellSelector from "sap/m/plugins/CellSelector";
12936
+
12954
12937
  import { IContextMenu, ID, TitleLevel, CSSSize } from "sap/ui/core/library";
12955
12938
 
12956
12939
  import CopyProvider from "sap/m/plugins/CopyProvider";
@@ -13325,6 +13308,14 @@ declare module "sap/ui/mdc/Table" {
13325
13308
  * @returns Reference to `this` in order to allow method chaining
13326
13309
  */
13327
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;
13328
13319
  /**
13329
13320
  * Destroys all the columns in the aggregation {@link #getColumns columns}.
13330
13321
  *
@@ -13616,6 +13607,18 @@ declare module "sap/ui/mdc/Table" {
13616
13607
  * @returns Value of property `busyIndicatorDelay`
13617
13608
  */
13618
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;
13619
13622
  /**
13620
13623
  * Gets content of aggregation {@link #getColumns columns}.
13621
13624
  *
@@ -14204,6 +14207,19 @@ declare module "sap/ui/mdc/Table" {
14204
14207
  */
14205
14208
  iBusyIndicatorDelay?: int
14206
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;
14207
14223
  /**
14208
14224
  * @since 1.118
14209
14225
  *
@@ -15126,6 +15142,17 @@ declare module "sap/ui/mdc/Table" {
15126
15142
  */
15127
15143
  contextMenu?: IContextMenu;
15128
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
+
15129
15156
  /**
15130
15157
  * Control or object that enables the table to do filtering, such as {@link sap.ui.mdc.FilterBar}. See also
15131
15158
  * {@link sap.ui.mdc.IFilter}.
@@ -15893,26 +15920,32 @@ declare module "sap/ui/mdc/table/ColumnSettings" {
15893
15920
  export interface $ColumnSettingsSettings extends $ElementSettings {}
15894
15921
  }
15895
15922
 
15896
- declare module "sap/ui/mdc/table/GridTableType" {
15923
+ declare module "sap/ui/mdc/table/DragDropConfig" {
15897
15924
  import {
15898
- default as TableTypeBase,
15899
- $TableTypeBaseSettings,
15900
- } from "sap/ui/mdc/table/TableTypeBase";
15925
+ default as DragDropBase,
15926
+ $DragDropBaseSettings,
15927
+ } from "sap/ui/core/dnd/DragDropBase";
15928
+
15929
+ import { dnd } from "sap/ui/core/library";
15901
15930
 
15902
15931
  import ElementMetadata from "sap/ui/core/ElementMetadata";
15903
15932
 
15904
- import TableRowCountMode from "sap/ui/mdc/enums/TableRowCountMode";
15933
+ import Context from "sap/ui/model/Context";
15934
+
15935
+ import UI5Element from "sap/ui/core/Element";
15905
15936
 
15906
15937
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
15907
15938
 
15939
+ import Event from "sap/ui/base/Event";
15940
+
15908
15941
  /**
15909
- * @since 1.65
15942
+ * @since 1.119
15910
15943
  *
15911
- * The table type info class for the metadata-driven table.
15944
+ * Provides the configuration for the drag-and-drop operations of the rows of the table.
15912
15945
  */
15913
- export default class GridTableType extends TableTypeBase {
15946
+ export default class DragDropConfig extends DragDropBase {
15914
15947
  /**
15915
- * Constructor for a new `GridTableType`.
15948
+ * Constructor for a new DragDropConfig.
15916
15949
  *
15917
15950
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
15918
15951
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -15920,12 +15953,12 @@ declare module "sap/ui/mdc/table/GridTableType" {
15920
15953
  */
15921
15954
  constructor(
15922
15955
  /**
15923
- * Initial settings for the new object
15956
+ * Initial settings for the new DragDropConfig
15924
15957
  */
15925
- mSettings?: $GridTableTypeSettings
15958
+ mSettings?: $DragDropConfigSettings
15926
15959
  );
15927
15960
  /**
15928
- * Constructor for a new `GridTableType`.
15961
+ * Constructor for a new DragDropConfig.
15929
15962
  *
15930
15963
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
15931
15964
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -15933,20 +15966,20 @@ declare module "sap/ui/mdc/table/GridTableType" {
15933
15966
  */
15934
15967
  constructor(
15935
15968
  /**
15936
- * Optional ID for the new object; generated automatically if no non-empty ID is given
15969
+ * ID for the new DragDropConfig, generated automatically if no ID is given
15937
15970
  */
15938
15971
  sId?: string,
15939
15972
  /**
15940
- * Initial settings for the new object
15973
+ * Initial settings for the new DragDropConfig
15941
15974
  */
15942
- mSettings?: $GridTableTypeSettings
15975
+ mSettings?: $DragDropConfigSettings
15943
15976
  );
15944
15977
 
15945
15978
  /**
15946
- * Creates a new subclass of class sap.ui.mdc.table.GridTableType with name `sClassName` and enriches it
15979
+ * Creates a new subclass of class sap.ui.mdc.table.DragDropConfig with name `sClassName` and enriches it
15947
15980
  * with the information contained in `oClassInfo`.
15948
15981
  *
15949
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.table.TableTypeBase.extend}.
15982
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.dnd.DragDropBase.extend}.
15950
15983
  *
15951
15984
  * @returns Created class / constructor function
15952
15985
  */
@@ -15958,7 +15991,7 @@ declare module "sap/ui/mdc/table/GridTableType" {
15958
15991
  /**
15959
15992
  * Object literal with information about the class
15960
15993
  */
15961
- oClassInfo?: sap.ClassInfo<T, GridTableType>,
15994
+ oClassInfo?: sap.ClassInfo<T, DragDropConfig>,
15962
15995
  /**
15963
15996
  * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
15964
15997
  * used by this class
@@ -15966,22 +15999,760 @@ declare module "sap/ui/mdc/table/GridTableType" {
15966
15999
  FNMetaImpl?: Function
15967
16000
  ): Function;
15968
16001
  /**
15969
- * Returns a metadata object for class sap.ui.mdc.table.GridTableType.
16002
+ * Returns a metadata object for class sap.ui.mdc.table.DragDropConfig.
15970
16003
  *
15971
16004
  * @returns Metadata object describing this class
15972
16005
  */
15973
16006
  static getMetadata(): ElementMetadata;
15974
16007
  /**
15975
- * Gets current value of property {@link #getFixedColumnCount fixedColumnCount}.
16008
+ * Attaches event handler `fnFunction` to the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
15976
16009
  *
15977
- * Defines the number of fixed columns in the inner table.
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.
15978
16012
  *
15979
- * Default value is `0`.
16013
+ * This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
15980
16014
  *
15981
- * @returns Value of property `fixedColumnCount`
16015
+ * @returns Reference to `this` in order to allow method chaining
15982
16016
  */
15983
- getFixedColumnCount(): int;
15984
- /**
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.
16387
+ *
16388
+ * @returns Reference to `this` in order to allow method chaining
16389
+ */
16390
+ fireDrop(
16391
+ /**
16392
+ * Parameters to pass along with the event
16393
+ */
16394
+ mParameters?: DragDropConfig$DropEventParameters
16395
+ ): this;
16396
+ /**
16397
+ * Gets current value of property {@link #getDraggable draggable}.
16398
+ *
16399
+ * Determines whether the rows of the table are draggable.
16400
+ *
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.
16404
+ *
16405
+ * Default value is `false`.
16406
+ *
16407
+ * @returns Value of property `draggable`
16408
+ */
16409
+ getDraggable(): boolean;
16410
+ /**
16411
+ * Gets current value of property {@link #getDropEffect dropEffect}.
16412
+ *
16413
+ * Defines the visual drop effect.
16414
+ *
16415
+ * Default value is `"Move"`.
16416
+ *
16417
+ * @returns Value of property `dropEffect`
16418
+ */
16419
+ getDropEffect(): dnd.DropEffect | keyof typeof dnd.DropEffect;
16420
+ /**
16421
+ * Gets current value of property {@link #getDroppable droppable}.
16422
+ *
16423
+ * Determines whether the rows of the table are droppable.
16424
+ *
16425
+ * Default value is `false`.
16426
+ *
16427
+ * @returns Value of property `droppable`
16428
+ */
16429
+ getDroppable(): boolean;
16430
+ /**
16431
+ * Gets current value of property {@link #getDropPosition dropPosition}.
16432
+ *
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`
16438
+ */
16439
+ getDropPosition(): dnd.DropPosition | keyof typeof dnd.DropPosition;
16440
+ /**
16441
+ * Sets a new value for property {@link #getDraggable draggable}.
16442
+ *
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.
16448
+ *
16449
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
16450
+ *
16451
+ * Default value is `false`.
16452
+ *
16453
+ * @returns Reference to `this` in order to allow method chaining
16454
+ */
16455
+ setDraggable(
16456
+ /**
16457
+ * New value for property `draggable`
16458
+ */
16459
+ bDraggable?: boolean
16460
+ ): this;
16461
+ /**
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"`.
16469
+ *
16470
+ * @returns Reference to `this` in order to allow method chaining
16471
+ */
16472
+ setDropEffect(
16473
+ /**
16474
+ * New value for property `dropEffect`
16475
+ */
16476
+ sDropEffect?: dnd.DropEffect | keyof typeof dnd.DropEffect
16477
+ ): this;
16478
+ /**
16479
+ * Sets a new value for property {@link #getDroppable droppable}.
16480
+ *
16481
+ * Determines whether the rows of the table are droppable.
16482
+ *
16483
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
16484
+ *
16485
+ * Default value is `false`.
16486
+ *
16487
+ * @returns Reference to `this` in order to allow method chaining
16488
+ */
16489
+ setDroppable(
16490
+ /**
16491
+ * New value for property `droppable`
16492
+ */
16493
+ bDroppable?: boolean
16494
+ ): this;
16495
+ /**
16496
+ * Sets a new value for property {@link #getDropPosition dropPosition}.
16497
+ *
16498
+ * Defines the position for the drop action, visualized by a rectangle.
16499
+ *
16500
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
16501
+ *
16502
+ * Default value is `"On"`.
16503
+ *
16504
+ * @returns Reference to `this` in order to allow method chaining
16505
+ */
16506
+ setDropPosition(
16507
+ /**
16508
+ * New value for property `dropPosition`
16509
+ */
16510
+ sDropPosition?: dnd.DropPosition | keyof typeof dnd.DropPosition
16511
+ ): this;
16512
+ }
16513
+
16514
+ export type DragSource = Context | UI5Element;
16515
+
16516
+ export interface $DragDropConfigSettings extends $DragDropBaseSettings {
16517
+ /**
16518
+ * Determines whether the rows of the table are draggable.
16519
+ *
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.
16523
+ */
16524
+ draggable?: boolean | PropertyBindingInfo | `{${string}}`;
16525
+
16526
+ /**
16527
+ * Determines whether the rows of the table are droppable.
16528
+ */
16529
+ droppable?: boolean | PropertyBindingInfo | `{${string}}`;
16530
+
16531
+ /**
16532
+ * Defines the visual drop effect.
16533
+ */
16534
+ dropEffect?:
16535
+ | (dnd.DropEffect | keyof typeof dnd.DropEffect)
16536
+ | PropertyBindingInfo
16537
+ | `{${string}}`;
16538
+
16539
+ /**
16540
+ * Defines the position for the drop action, visualized by a rectangle.
16541
+ */
16542
+ dropPosition?:
16543
+ | (dnd.DropPosition | keyof typeof dnd.DropPosition)
16544
+ | PropertyBindingInfo
16545
+ | `{${string}}`;
16546
+
16547
+ /**
16548
+ * This event is fired when the user starts dragging a table row, if the `draggable` property is set to
16549
+ * true.
16550
+ */
16551
+ dragStart?: (oEvent: DragDropConfig$DragStartEvent) => void;
16552
+
16553
+ /**
16554
+ * This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
16555
+ */
16556
+ dragEnd?: (oEvent: DragDropConfig$DragEndEvent) => void;
16557
+
16558
+ /**
16559
+ * This event is fired when a dragged element enters a table row, if the `droppable` property is set to
16560
+ * true.
16561
+ */
16562
+ dragEnter?: (oEvent: DragDropConfig$DragEnterEvent) => void;
16563
+
16564
+ /**
16565
+ * This event is fired when an element is being dragged over a table row, if the `droppable` property is
16566
+ * set to true.
16567
+ */
16568
+ dragOver?: (oEvent: DragDropConfig$DragOverEvent) => void;
16569
+
16570
+ /**
16571
+ * This event is fired when an element is dropped on a table row, if the `droppable` property is set to
16572
+ * true.
16573
+ */
16574
+ drop?: (oEvent: DragDropConfig$DropEvent) => void;
16575
+ }
16576
+
16577
+ export interface DragDropConfig$DragEndEventParameters {
16578
+ /**
16579
+ * The binding context of the dragged row
16580
+ */
16581
+ bindingContext?: Context;
16582
+ }
16583
+
16584
+ export type DragDropConfig$DragEndEvent = Event<
16585
+ DragDropConfig$DragEndEventParameters,
16586
+ DragDropConfig
16587
+ >;
16588
+
16589
+ export interface DragDropConfig$DragEnterEventParameters {
16590
+ /**
16591
+ * The binding context of the row on which the dragged element will be dropped
16592
+ */
16593
+ bindingContext?: Context;
16594
+
16595
+ /**
16596
+ * The binding context of the dragged row or the dragged control itself
16597
+ */
16598
+ dragSource?: DragSource;
16599
+ }
16600
+
16601
+ export type DragDropConfig$DragEnterEvent = Event<
16602
+ DragDropConfig$DragEnterEventParameters,
16603
+ DragDropConfig
16604
+ >;
16605
+
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;
16611
+
16612
+ /**
16613
+ * The binding context of the dragged row or the dragged control itself
16614
+ */
16615
+ dragSource?: DragSource;
16616
+
16617
+ /**
16618
+ * The calculated position of the drop action relative to the row being dropped
16619
+ */
16620
+ dropPosition?:
16621
+ | dnd.RelativeDropPosition
16622
+ | keyof typeof dnd.RelativeDropPosition;
16623
+ }
16624
+
16625
+ export type DragDropConfig$DragOverEvent = Event<
16626
+ DragDropConfig$DragOverEventParameters,
16627
+ DragDropConfig
16628
+ >;
16629
+
16630
+ export interface DragDropConfig$DragStartEventParameters {
16631
+ /**
16632
+ * The binding context of the dragged row
16633
+ */
16634
+ bindingContext?: Context;
16635
+ }
16636
+
16637
+ export type DragDropConfig$DragStartEvent = Event<
16638
+ DragDropConfig$DragStartEventParameters,
16639
+ DragDropConfig
16640
+ >;
16641
+
16642
+ export interface DragDropConfig$DropEventParameters {
16643
+ /**
16644
+ * The binding context of the row on which the dragged element is dropped
16645
+ */
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;
16659
+ }
16660
+
16661
+ export type DragDropConfig$DropEvent = Event<
16662
+ DragDropConfig$DropEventParameters,
16663
+ DragDropConfig
16664
+ >;
16665
+ }
16666
+
16667
+ declare module "sap/ui/mdc/table/GridTableType" {
16668
+ import {
16669
+ default as TableTypeBase,
16670
+ $TableTypeBaseSettings,
16671
+ } from "sap/ui/mdc/table/TableTypeBase";
16672
+
16673
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
16674
+
16675
+ import TableRowCountMode from "sap/ui/mdc/enums/TableRowCountMode";
16676
+
16677
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
16678
+
16679
+ /**
16680
+ * @since 1.65
16681
+ *
16682
+ * The table type info class for the metadata-driven table.
16683
+ */
16684
+ export default class GridTableType extends TableTypeBase {
16685
+ /**
16686
+ * Constructor for a new `GridTableType`.
16687
+ *
16688
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
16689
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
16690
+ * of the syntax of the settings object.
16691
+ */
16692
+ constructor(
16693
+ /**
16694
+ * Initial settings for the new object
16695
+ */
16696
+ mSettings?: $GridTableTypeSettings
16697
+ );
16698
+ /**
16699
+ * Constructor for a new `GridTableType`.
16700
+ *
16701
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
16702
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
16703
+ * of the syntax of the settings object.
16704
+ */
16705
+ constructor(
16706
+ /**
16707
+ * Optional ID for the new object; generated automatically if no non-empty ID is given
16708
+ */
16709
+ sId?: string,
16710
+ /**
16711
+ * Initial settings for the new object
16712
+ */
16713
+ mSettings?: $GridTableTypeSettings
16714
+ );
16715
+
16716
+ /**
16717
+ * Creates a new subclass of class sap.ui.mdc.table.GridTableType with name `sClassName` and enriches it
16718
+ * with the information contained in `oClassInfo`.
16719
+ *
16720
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.table.TableTypeBase.extend}.
16721
+ *
16722
+ * @returns Created class / constructor function
16723
+ */
16724
+ static extend<T extends Record<string, unknown>>(
16725
+ /**
16726
+ * Name of the class being created
16727
+ */
16728
+ sClassName: string,
16729
+ /**
16730
+ * Object literal with information about the class
16731
+ */
16732
+ oClassInfo?: sap.ClassInfo<T, GridTableType>,
16733
+ /**
16734
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
16735
+ * used by this class
16736
+ */
16737
+ FNMetaImpl?: Function
16738
+ ): Function;
16739
+ /**
16740
+ * Returns a metadata object for class sap.ui.mdc.table.GridTableType.
16741
+ *
16742
+ * @returns Metadata object describing this class
16743
+ */
16744
+ static getMetadata(): ElementMetadata;
16745
+ /**
16746
+ * Gets current value of property {@link #getFixedColumnCount fixedColumnCount}.
16747
+ *
16748
+ * Defines the number of fixed columns in the inner table.
16749
+ *
16750
+ * Default value is `0`.
16751
+ *
16752
+ * @returns Value of property `fixedColumnCount`
16753
+ */
16754
+ getFixedColumnCount(): int;
16755
+ /**
15985
16756
  * Gets current value of property {@link #getRowCount rowCount}.
15986
16757
  *
15987
16758
  * Row count of the inner table.
@@ -18452,11 +19223,11 @@ declare module "sap/ui/mdc/ValueHelp" {
18452
19223
  */
18453
19224
  value: any;
18454
19225
  /**
18455
- * Value parsed by type of key to fit the data type of the key
19226
+ * Value parsed by type of key to match the data type of the key
18456
19227
  */
18457
19228
  parsedValue?: any;
18458
19229
  /**
18459
- * Value parsed by type of description to fit the data type of the description
19230
+ * Value parsed by type of description to match the data type of the description
18460
19231
  */
18461
19232
  parsedDescription?: any;
18462
19233
  /**
@@ -23016,8 +23787,6 @@ declare namespace sap {
23016
23787
 
23017
23788
  "sap/ui/mdc/p13n/StateUtil": undefined;
23018
23789
 
23019
- "sap/ui/mdc/p13n/UIManager": undefined;
23020
-
23021
23790
  "sap/ui/mdc/Table": undefined;
23022
23791
 
23023
23792
  "sap/ui/mdc/table/Column": undefined;
@@ -23026,6 +23795,8 @@ declare namespace sap {
23026
23795
 
23027
23796
  "sap/ui/mdc/table/CreationRow": undefined;
23028
23797
 
23798
+ "sap/ui/mdc/table/DragDropConfig": undefined;
23799
+
23029
23800
  "sap/ui/mdc/table/GridTableType": undefined;
23030
23801
 
23031
23802
  "sap/ui/mdc/table/PropertyHelper": undefined;