@openui5/ts-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,144 @@
1
- // For Library Version: 1.118.0
1
+ // For Library Version: 1.119.0
2
+
3
+ declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
+ /**
5
+ * @since 1.82.0
6
+ *
7
+ * Base delegate implementation for {@link sap.ui.mdc.Control MDC Controls}. This delegate serves as base
8
+ * implementation for aggregation-based controls, such as:
9
+ *
10
+ *
11
+ * - `sap.ui.mdc.Chart`
12
+ * - `sap.ui.mdc.Table`
13
+ * - `sap.ui.mdc.FilterBar`
14
+ *
15
+ * The `AggregationBaseDelegate` provides an interface for aggregation based functionality by providing
16
+ * an array of PropertyInfo objects, which can be used during runtime for personalization through the according
17
+ * `addItem` and `removeItem` hooks. Additional hooks for cleanup and validation mechanisms can be implemented
18
+ * through this delegate.
19
+ */
20
+ interface AggregationBaseDelegate {
21
+ /**
22
+ * Creates an instance of the implementing MDC Control's default aggregation.
23
+ *
24
+ * **Note:** The `addItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
25
+ * the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
26
+ * a personalization dialog), this method might be called without the parameter `mPropertyBag`.
27
+ *
28
+ * @returns Promise that resolves with an instance of the implementing {@link sap.ui.mdc.Control Control }
29
+ * default aggregation. **Note:** This method always requires a return value once it has been called. If
30
+ * an item for a given property `sPropertyName` has already been created, it is required to either return
31
+ * the existing instance or create a new instance.
32
+ */
33
+ addItem(
34
+ /**
35
+ * Instance of an `sap.ui.mdc.Control`
36
+ */
37
+ oControl: sap.ui.mdc.Control,
38
+ /**
39
+ * The name of the property info object/JSON
40
+ */
41
+ sPropertyName: string,
42
+ /**
43
+ * Instance of property bag from SAPUI5 flexibility change API
44
+ */
45
+ mPropertyBag?: Object
46
+ ): Promise<any>;
47
+ /**
48
+ * A validator to evaluate the state of an MDC control.
49
+ */
50
+ determineValidationState(
51
+ /**
52
+ * Instance of a MDC control
53
+ */
54
+ oControl: sap.ui.mdc.Control,
55
+ /**
56
+ * Object Describing the validation result
57
+ */
58
+ mValidation?: Record<string, any>
59
+ ): void;
60
+ /**
61
+ * Retrieves the relevant metadata for a given payload and returns the property info array.
62
+ *
63
+ * @returns Once resolved, an array of property info objects is returned
64
+ */
65
+ fetchProperties(
66
+ /**
67
+ * Instance of an `sap.ui.mdc.Control`
68
+ */
69
+ oControl: sap.ui.mdc.Control
70
+ ): Promise<object[]>;
71
+ /**
72
+ * Hook that will be executed when changes are done applying to controls during the XML flexibility change
73
+ * appliance process.
74
+ */
75
+ onAfterXMLChangeProcessing(
76
+ /**
77
+ * Instance of an MDC control
78
+ */
79
+ oControl: Record<string, sap.ui.mdc.Control>,
80
+ /**
81
+ * Property bag from SAPUI5 flexibility
82
+ */
83
+ mPropertyBag: Object
84
+ ): void;
85
+ /**
86
+ * Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
87
+ * The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
88
+ * of the SAPUI5 flexibility handling.
89
+ *
90
+ * **Note:** The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
91
+ * the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
92
+ * a personalization dialog), this method might be called without the parameter `mPropertyBag`.
93
+ *
94
+ * @returns Promise that resolves with `true`, `false` to allow/prevent default behavior of the change
95
+ */
96
+ removeItem(
97
+ /**
98
+ * Instance of an `sap.ui.mdc.Control`
99
+ */
100
+ oControl: sap.ui.mdc.Control,
101
+ /**
102
+ * The control instance that was removed
103
+ */
104
+ oItem: sap.ui.core.Control,
105
+ /**
106
+ * Instance of property bag from SAPUI5 flexibility
107
+ */
108
+ mPropertyBag?: Object
109
+ ): Promise<any>;
110
+ /**
111
+ * A validator to evaluate the theoretical control state.
112
+ *
113
+ * @returns An object that must contain at least the `validation` attribute {@link sap.ui.core.MessageType MessageType}.
114
+ * If `warning` or `error` state types have been provided, the `message` is shown in addition.
115
+ */
116
+ validateState(
117
+ /**
118
+ * Instance of an `sap.ui.mdc.Control`
119
+ */
120
+ oControl: sap.ui.mdc.Control,
121
+ /**
122
+ * The theoretical external state representation of an MDC control. The representation of this format is
123
+ * similar as processed by {@link sap.ui.mdc.p13n.StateUtil StateUtil}
124
+ */
125
+ oState: Object
126
+ ): Object;
127
+ /**
128
+ * Visualizes the validation state of an MDC control.
129
+ *
130
+ * @returns mValidation Describes the validation result.
131
+ */
132
+ visualizeValidationState(
133
+ /**
134
+ * Instance of a MDC control
135
+ */
136
+ oControl: Record<string, sap.ui.mdc.Control>
137
+ ): Record<string, any>;
138
+ }
139
+ const AggregationBaseDelegate: AggregationBaseDelegate;
140
+ export default AggregationBaseDelegate;
141
+ }
2
142
 
3
143
  declare module "sap/ui/mdc/BaseDelegate" {
4
144
  import TypeMap from "sap/ui/mdc/util/TypeMap";
@@ -938,10 +1078,10 @@ declare module "sap/ui/mdc/LinkDelegate" {
938
1078
  /**
939
1079
  * Calculates and returns the type of link that is displayed.
940
1080
  *
941
- * @returns Once resolved, an object containing an initial {@link sap.ui.mdc.link.LinkType} and an optional
942
- * `Promise` are returned. The optional `Promise` also returns a {@link sap.ui.mdc.link.LinkType} object.
943
- * Once the optional `Promise` has been resolved, the returned {@link sap.ui.mdc.link.LinkType} overwrites
944
- * the `initialType`.
1081
+ * @returns Once resolved, a {@link sap.ui.mdc.link.LinkTypeWrapper} containing an initial {@link sap.ui.mdc.link.LinkType }
1082
+ * and an optional `Promise` are returned. The optional `Promise` also returns a {@link sap.ui.mdc.link.LinkType }
1083
+ * object. Once the optional `Promise` has been resolved, the returned {@link sap.ui.mdc.link.LinkType }
1084
+ * overwrites the `initialType`.
945
1085
  */
946
1086
  fetchLinkType(
947
1087
  /**
@@ -1390,14 +1530,14 @@ declare module "sap/ui/mdc/util/TypeMap" {
1390
1530
  *
1391
1531
  * **Note:** The module of the data type needs to be loaded before.
1392
1532
  *
1393
- * @returns creates returns a dataType class
1533
+ * @returns returns a dataType class
1394
1534
  */
1395
1535
  getDataTypeClass(
1396
1536
  /**
1397
1537
  * Class path as string where each name is separated by '.'
1398
1538
  */
1399
1539
  sDataType: string
1400
- ): sap.ui.model.SimpleType;
1540
+ ): (p1: sap.ui.model.SimpleType) => void;
1401
1541
  /**
1402
1542
  * Returns the data type class name for a given name or alias.
1403
1543
  *
@@ -3173,18 +3313,19 @@ declare namespace sap {
3173
3313
  /**
3174
3314
  * Array of type to be used. The length of the array defines the number of values that need to be entered
3175
3315
  * with the operator.
3176
- * If set to {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self} the `Type` of the `Field`
3177
- * or `FilterField` using the `Operator` is used.
3316
+ * If set to {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self}, the `Type` of the
3317
+ * `Field` or `FilterField` using the `Operator` is used.
3178
3318
  * If set to {@link sap.ui.mdc.enums.OperatorValueType.SelfNoParse OperatorValueType.SelfNoParse} same
3179
3319
  * as {@link sap.ui.mdc.enums.OperatorValueType.Self OperatorValueType.Self}, except that the input value
3180
3320
  * parsing will not be called.
3181
- * If set to {@link sap.ui.mdc.enums.OperatorValueType.Static OperatorValueType.Static} a simple string
3321
+ * If set to {@link sap.ui.mdc.enums.OperatorValueType.Static OperatorValueType.Static}, a simple string
3182
3322
  * type is used to display static text.
3183
- * If set to a name of a data type an instance of this data type will be used.
3184
- * If set to an object with structure {@link sap.ui.mdc.condition.ValueType} an instance of the corresponding
3185
- * data type will be used. The type given via `name` must be loaded by the application.
3186
- * If set to `null` the corresponding value is interpreted as description that holds no required data.
3187
- * To display this value the additional `Type` of the `Field` or `FilterField` using the `Operator` is used.
3323
+ * If set to a name of a data type, an instance of this data type is used.
3324
+ * If set to an object with structure {@link sap.ui.mdc.condition.ValueType}, an instance of the corresponding
3325
+ * data type is used. The type given via `name` must be loaded by the application.
3326
+ * If set to `null`, the corresponding value is interpreted as a description that holds no required data.
3327
+ * To display this value, the additional `Type` of the `Field` or `FilterField` using the `Operator` is
3328
+ * used.
3188
3329
  */
3189
3330
  valueTypes: string[] | object[];
3190
3331
  /**
@@ -4259,7 +4400,7 @@ declare namespace sap {
4259
4400
  */
4260
4401
  valueType?: sap.ui.model.Type;
4261
4402
  /**
4262
- * Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
4403
+ * Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
4263
4404
  */
4264
4405
  additionalValueType?: sap.ui.model.Type;
4265
4406
  /**
@@ -4294,15 +4435,15 @@ declare namespace sap {
4294
4435
  */
4295
4436
  originalDateType?: sap.ui.model.Type;
4296
4437
  /**
4297
- * additional type used on other part of a field. (For example, for unit fields.)
4438
+ * Additional type used for another part of a field (for example, for unit fields)
4298
4439
  */
4299
4440
  additionalType?: sap.ui.model.Type;
4300
4441
  /**
4301
- * additional types used for parts of a `CompositeType` (if valueType is a `CompositeType`)
4442
+ * Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
4302
4443
  */
4303
4444
  compositeTypes?: sap.ui.model.Type[];
4304
4445
  /**
4305
- * additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
4446
+ * Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
4306
4447
  */
4307
4448
  additionalCompositeTypes?: sap.ui.model.Type[];
4308
4449
  /**
@@ -4344,11 +4485,11 @@ declare namespace sap {
4344
4485
  */
4345
4486
  control?: sap.ui.core.Control;
4346
4487
  /**
4347
- * If set, the conditions will not be formatted (MultiInput value-property case)
4488
+ * If set, the conditions will not be formatted (MultiInput `value` property case)
4348
4489
  */
4349
4490
  noFormatting?: boolean;
4350
4491
  /**
4351
- * If noFormatting is set, this value is used as output (To keep typed value during value help selection)
4492
+ * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
4352
4493
  */
4353
4494
  keepValue?: string;
4354
4495
  },
@@ -4465,7 +4606,7 @@ declare namespace sap {
4465
4606
  */
4466
4607
  valueType?: sap.ui.model.Type;
4467
4608
  /**
4468
- * Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
4609
+ * Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
4469
4610
  */
4470
4611
  additionalValueType?: sap.ui.model.Type;
4471
4612
  /**
@@ -4500,15 +4641,15 @@ declare namespace sap {
4500
4641
  */
4501
4642
  originalDateType?: sap.ui.model.Type;
4502
4643
  /**
4503
- * additional type used on other part of a field. (For example, for unit fields.)
4644
+ * Additional type used for another part of a field (for example, for unit fields)
4504
4645
  */
4505
4646
  additionalType?: sap.ui.model.Type;
4506
4647
  /**
4507
- * additional types used for parts of a `CompositeType`
4648
+ * Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
4508
4649
  */
4509
4650
  compositeTypes?: sap.ui.model.Type[];
4510
4651
  /**
4511
- * additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
4652
+ * Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
4512
4653
  */
4513
4654
  additionalCompositeTypes?: sap.ui.model.Type[];
4514
4655
  /**
@@ -4549,6 +4690,14 @@ declare namespace sap {
4549
4690
  * Instance of the calling control
4550
4691
  */
4551
4692
  control?: sap.ui.core.Control;
4693
+ /**
4694
+ * If set, the conditions will not be formatted (MultiInput `value` property case)
4695
+ */
4696
+ noFormatting?: boolean;
4697
+ /**
4698
+ * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
4699
+ */
4700
+ keepValue?: string;
4552
4701
  },
4553
4702
  /**
4554
4703
  * Value constraints
@@ -4663,7 +4812,7 @@ declare namespace sap {
4663
4812
  */
4664
4813
  valueType?: sap.ui.model.Type;
4665
4814
  /**
4666
- * Type of the additionalValue (description) of the condition (used for formatting, parsing and validating)
4815
+ * Type of the `additionalValue` (description) of the condition (used for formatting, parsing, and validating)
4667
4816
  */
4668
4817
  additionalValueType?: sap.ui.model.Type;
4669
4818
  /**
@@ -4698,15 +4847,15 @@ declare namespace sap {
4698
4847
  */
4699
4848
  originalDateType?: sap.ui.model.Type;
4700
4849
  /**
4701
- * additional type used on other part of a field. (For example, for unit fields.)
4850
+ * Additional type used for another part of a field (for example, for unit fields)
4702
4851
  */
4703
4852
  additionalType?: sap.ui.model.Type;
4704
4853
  /**
4705
- * additional types used for parts of a `CompositeType` (if valueType is a `CompositeType`)
4854
+ * Additional types used for each part of a `CompositeType` (if `valueType` is a `CompositeType`)
4706
4855
  */
4707
4856
  compositeTypes?: sap.ui.model.Type[];
4708
4857
  /**
4709
- * additional types used for parts of a `CompositeType` (if additionalValueType is a `CompositeType`)
4858
+ * Additional types used for each part of a `CompositeType` (if `additionalValueType` is a `CompositeType`)
4710
4859
  */
4711
4860
  additionalCompositeTypes?: sap.ui.model.Type[];
4712
4861
  /**
@@ -4748,11 +4897,11 @@ declare namespace sap {
4748
4897
  */
4749
4898
  control?: sap.ui.core.Control;
4750
4899
  /**
4751
- * If set, the conditions will not be formatted (MultiInput value-property case)
4900
+ * If set, the conditions will not be formatted (MultiInput `value` property case)
4752
4901
  */
4753
4902
  noFormatting?: boolean;
4754
4903
  /**
4755
- * If noFormatting is set, this value is used as output (To keep typed value during value help selection)
4904
+ * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
4756
4905
  */
4757
4906
  keepValue?: string;
4758
4907
  },
@@ -5240,12 +5389,12 @@ declare namespace sap {
5240
5389
  *
5241
5390
  * Returns the configuration for the additional data type.
5242
5391
  *
5243
- * In {@link sap.ui.mdc.Field Field} case it is determined from the binding of the `additionalValue` In
5244
- * {@link sap.ui.mdc.MultiValueField MultiValueField} case it is determined from the binding of `description`
5245
- * of an item In {@link sap.ui.mdc.FilterField FilterField} case it is provided via `additionalDataType`
5246
- * property.
5392
+ * For a {@link sap.ui.mdc.Field Field}, the data type is determined from the binding of the `additionalValue`.
5393
+ * For a {@link sap.ui.mdc.MultiValueField MultiValueField}, the data type is determined from the binding
5394
+ * of the `description` of an item. For a {@link sap.ui.mdc.FilterField FilterField}, the data type is provided
5395
+ * via the `additionalDataType` property.
5247
5396
  *
5248
- * @returns return a type instance ot a configuration object
5397
+ * @returns Type instance of a configuration object
5249
5398
  */
5250
5399
  getAdditionalDataTypeConfiguration(): sap.ui.model.Type | object;
5251
5400
  /**
@@ -10668,11 +10817,11 @@ declare namespace sap {
10668
10817
  */
10669
10818
  value: any;
10670
10819
  /**
10671
- * Value parsed by type of key to fit the data type of the key
10820
+ * Value parsed by type of key to match the data type of the key
10672
10821
  */
10673
10822
  parsedValue?: any;
10674
10823
  /**
10675
- * Value parsed by type of description to fit the data type of the description
10824
+ * Value parsed by type of description to match the data type of the description
10676
10825
  */
10677
10826
  parsedDescription?: any;
10678
10827
  /**
@@ -12828,6 +12977,10 @@ declare namespace sap {
12828
12977
  }
12829
12978
 
12830
12979
  namespace table {
12980
+ namespace DragDropConfig {
12981
+ type DragSource = sap.ui.model.Context | sap.ui.core.Element;
12982
+ }
12983
+
12831
12984
  interface $ColumnSettings extends sap.ui.core.$ControlSettings {
12832
12985
  /**
12833
12986
  * @since 1.80
@@ -12947,6 +13100,74 @@ declare namespace sap {
12947
13100
  interface $ColumnSettingsSettings
12948
13101
  extends sap.ui.core.$ElementSettings {}
12949
13102
 
13103
+ interface $DragDropConfigSettings
13104
+ extends sap.ui.core.dnd.$DragDropBaseSettings {
13105
+ /**
13106
+ * Determines whether the rows of the table are draggable.
13107
+ *
13108
+ * **Note:** Setting this property to `true` may expose the rows of the table in other `DropInfo` event
13109
+ * parameters. In this case, only the binding context of the row is allowed to be used. Internal controls
13110
+ * and their types are subject to change without notice.
13111
+ */
13112
+ draggable?:
13113
+ | boolean
13114
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
13115
+ | `{${string}}`;
13116
+
13117
+ /**
13118
+ * Determines whether the rows of the table are droppable.
13119
+ */
13120
+ droppable?:
13121
+ | boolean
13122
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
13123
+ | `{${string}}`;
13124
+
13125
+ /**
13126
+ * Defines the visual drop effect.
13127
+ */
13128
+ dropEffect?:
13129
+ | sap.ui.core.dnd.DropEffect
13130
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
13131
+ | `{${string}}`;
13132
+
13133
+ /**
13134
+ * Defines the position for the drop action, visualized by a rectangle.
13135
+ */
13136
+ dropPosition?:
13137
+ | sap.ui.core.dnd.DropPosition
13138
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
13139
+ | `{${string}}`;
13140
+
13141
+ /**
13142
+ * This event is fired when the user starts dragging a table row, if the `draggable` property is set to
13143
+ * true.
13144
+ */
13145
+ dragStart?: (oEvent: DragDropConfig$DragStartEvent) => void;
13146
+
13147
+ /**
13148
+ * This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
13149
+ */
13150
+ dragEnd?: (oEvent: DragDropConfig$DragEndEvent) => void;
13151
+
13152
+ /**
13153
+ * This event is fired when a dragged element enters a table row, if the `droppable` property is set to
13154
+ * true.
13155
+ */
13156
+ dragEnter?: (oEvent: DragDropConfig$DragEnterEvent) => void;
13157
+
13158
+ /**
13159
+ * This event is fired when an element is being dragged over a table row, if the `droppable` property is
13160
+ * set to true.
13161
+ */
13162
+ dragOver?: (oEvent: DragDropConfig$DragOverEvent) => void;
13163
+
13164
+ /**
13165
+ * This event is fired when an element is dropped on a table row, if the `droppable` property is set to
13166
+ * true.
13167
+ */
13168
+ drop?: (oEvent: DragDropConfig$DropEvent) => void;
13169
+ }
13170
+
12950
13171
  interface $GridTableTypeSettings
12951
13172
  extends sap.ui.mdc.table.$TableTypeBaseSettings {
12952
13173
  /**
@@ -13187,6 +13408,66 @@ declare namespace sap {
13187
13408
  interface $TreeTableTypeSettings
13188
13409
  extends sap.ui.mdc.table.$GridTableTypeSettings {}
13189
13410
 
13411
+ interface DragDropConfig$DragEndEventParameters {
13412
+ /**
13413
+ * The binding context of the dragged row
13414
+ */
13415
+ bindingContext?: sap.ui.model.Context;
13416
+ }
13417
+
13418
+ interface DragDropConfig$DragEnterEventParameters {
13419
+ /**
13420
+ * The binding context of the row on which the dragged element will be dropped
13421
+ */
13422
+ bindingContext?: sap.ui.model.Context;
13423
+
13424
+ /**
13425
+ * The binding context of the dragged row or the dragged control itself
13426
+ */
13427
+ dragSource?: sap.ui.mdc.table.DragDropConfig.DragSource;
13428
+ }
13429
+
13430
+ interface DragDropConfig$DragOverEventParameters {
13431
+ /**
13432
+ * The binding context of the row on which the dragged element will be dropped
13433
+ */
13434
+ bindingContext?: sap.ui.model.Context;
13435
+
13436
+ /**
13437
+ * The binding context of the dragged row or the dragged control itself
13438
+ */
13439
+ dragSource?: sap.ui.mdc.table.DragDropConfig.DragSource;
13440
+
13441
+ /**
13442
+ * The calculated position of the drop action relative to the row being dropped
13443
+ */
13444
+ dropPosition?: sap.ui.core.dnd.RelativeDropPosition;
13445
+ }
13446
+
13447
+ interface DragDropConfig$DragStartEventParameters {
13448
+ /**
13449
+ * The binding context of the dragged row
13450
+ */
13451
+ bindingContext?: sap.ui.model.Context;
13452
+ }
13453
+
13454
+ interface DragDropConfig$DropEventParameters {
13455
+ /**
13456
+ * The binding context of the row on which the dragged element is dropped
13457
+ */
13458
+ bindingContext?: sap.ui.model.Context;
13459
+
13460
+ /**
13461
+ * The binding context of the dragged row or the dragged control itself
13462
+ */
13463
+ dragSource?: sap.ui.mdc.table.DragDropConfig.DragSource;
13464
+
13465
+ /**
13466
+ * The calculated position of the drop action relative to the dropped row
13467
+ */
13468
+ dropPosition?: sap.ui.core.dnd.RelativeDropPosition;
13469
+ }
13470
+
13190
13471
  interface RowActionItem$PressEventParameters {
13191
13472
  /**
13192
13473
  * The binding context of the pressed row action
@@ -13721,13 +14002,13 @@ declare namespace sap {
13721
14002
  static getMetadata(): sap.ui.core.ElementMetadata;
13722
14003
  }
13723
14004
  /**
13724
- * @since 1.65
14005
+ * @since 1.119
13725
14006
  *
13726
- * The table type info class for the metadata-driven table.
14007
+ * Provides the configuration for the drag-and-drop operations of the rows of the table.
13727
14008
  */
13728
- class GridTableType extends sap.ui.mdc.table.TableTypeBase {
14009
+ class DragDropConfig extends sap.ui.core.dnd.DragDropBase {
13729
14010
  /**
13730
- * Constructor for a new `GridTableType`.
14011
+ * Constructor for a new DragDropConfig.
13731
14012
  *
13732
14013
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
13733
14014
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -13735,12 +14016,12 @@ declare namespace sap {
13735
14016
  */
13736
14017
  constructor(
13737
14018
  /**
13738
- * Initial settings for the new object
14019
+ * Initial settings for the new DragDropConfig
13739
14020
  */
13740
- mSettings?: sap.ui.mdc.table.$GridTableTypeSettings
14021
+ mSettings?: sap.ui.mdc.table.$DragDropConfigSettings
13741
14022
  );
13742
14023
  /**
13743
- * Constructor for a new `GridTableType`.
14024
+ * Constructor for a new DragDropConfig.
13744
14025
  *
13745
14026
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
13746
14027
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -13748,20 +14029,20 @@ declare namespace sap {
13748
14029
  */
13749
14030
  constructor(
13750
14031
  /**
13751
- * Optional ID for the new object; generated automatically if no non-empty ID is given
14032
+ * ID for the new DragDropConfig, generated automatically if no ID is given
13752
14033
  */
13753
14034
  sId?: string,
13754
14035
  /**
13755
- * Initial settings for the new object
14036
+ * Initial settings for the new DragDropConfig
13756
14037
  */
13757
- mSettings?: sap.ui.mdc.table.$GridTableTypeSettings
14038
+ mSettings?: sap.ui.mdc.table.$DragDropConfigSettings
13758
14039
  );
13759
14040
 
13760
14041
  /**
13761
- * Creates a new subclass of class sap.ui.mdc.table.GridTableType with name `sClassName` and enriches it
14042
+ * Creates a new subclass of class sap.ui.mdc.table.DragDropConfig with name `sClassName` and enriches it
13762
14043
  * with the information contained in `oClassInfo`.
13763
14044
  *
13764
- * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.table.TableTypeBase.extend}.
14045
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.dnd.DragDropBase.extend}.
13765
14046
  *
13766
14047
  * @returns Created class / constructor function
13767
14048
  */
@@ -13773,7 +14054,7 @@ declare namespace sap {
13773
14054
  /**
13774
14055
  * Object literal with information about the class
13775
14056
  */
13776
- oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.table.GridTableType>,
14057
+ oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.table.DragDropConfig>,
13777
14058
  /**
13778
14059
  * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13779
14060
  * used by this class
@@ -13781,74 +14062,646 @@ declare namespace sap {
13781
14062
  FNMetaImpl?: Function
13782
14063
  ): Function;
13783
14064
  /**
13784
- * Returns a metadata object for class sap.ui.mdc.table.GridTableType.
14065
+ * Returns a metadata object for class sap.ui.mdc.table.DragDropConfig.
13785
14066
  *
13786
14067
  * @returns Metadata object describing this class
13787
14068
  */
13788
14069
  static getMetadata(): sap.ui.core.ElementMetadata;
13789
14070
  /**
13790
- * Gets current value of property {@link #getFixedColumnCount fixedColumnCount}.
14071
+ * Attaches event handler `fnFunction` to the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
13791
14072
  *
13792
- * Defines the number of fixed columns in the inner table.
14073
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14074
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
13793
14075
  *
13794
- * Default value is `0`.
14076
+ * This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
13795
14077
  *
13796
- * @returns Value of property `fixedColumnCount`
14078
+ * @returns Reference to `this` in order to allow method chaining
13797
14079
  */
13798
- getFixedColumnCount(): int;
14080
+ attachDragEnd(
14081
+ /**
14082
+ * An application-specific payload object that will be passed to the event handler along with the event
14083
+ * object when firing the event
14084
+ */
14085
+ oData: object,
14086
+ /**
14087
+ * The function to be called when the event occurs
14088
+ */
14089
+ fnFunction: (p1: DragDropConfig$DragEndEvent) => void,
14090
+ /**
14091
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14092
+ */
14093
+ oListener?: object
14094
+ ): this;
13799
14095
  /**
13800
- * Gets current value of property {@link #getRowCount rowCount}.
14096
+ * Attaches event handler `fnFunction` to the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
13801
14097
  *
13802
- * Row count of the inner table.
13803
- * This property specifies the minimum row count if `sap.ui.mdc.enums.TableRowCountMode.Auto` is used.
13804
- * This property specifies the row count if `sap.ui.mdc.enums.TableRowCountMode.Fixed` is used.
14098
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14099
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
13805
14100
  *
13806
- * Default value is `10`.
14101
+ * This event is fired when the row drag operation is ended, if the `draggable` property is set to true.
13807
14102
  *
13808
- * @returns Value of property `rowCount`
14103
+ * @returns Reference to `this` in order to allow method chaining
13809
14104
  */
13810
- getRowCount(): int;
14105
+ attachDragEnd(
14106
+ /**
14107
+ * The function to be called when the event occurs
14108
+ */
14109
+ fnFunction: (p1: DragDropConfig$DragEndEvent) => void,
14110
+ /**
14111
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14112
+ */
14113
+ oListener?: object
14114
+ ): this;
13811
14115
  /**
13812
- * Gets current value of property {@link #getRowCountMode rowCountMode}.
14116
+ * Attaches event handler `fnFunction` to the {@link #event:dragEnter dragEnter} event of this `sap.ui.mdc.table.DragDropConfig`.
13813
14117
  *
13814
- * Defines how the table handles the row count.
14118
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14119
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
13815
14120
  *
13816
- * Default value is `Auto`.
14121
+ * This event is fired when a dragged element enters a table row, if the `droppable` property is set to
14122
+ * true.
13817
14123
  *
13818
- * @returns Value of property `rowCountMode`
14124
+ * @returns Reference to `this` in order to allow method chaining
13819
14125
  */
13820
- getRowCountMode(): sap.ui.mdc.enums.TableRowCountMode;
14126
+ attachDragEnter(
14127
+ /**
14128
+ * An application-specific payload object that will be passed to the event handler along with the event
14129
+ * object when firing the event
14130
+ */
14131
+ oData: object,
14132
+ /**
14133
+ * The function to be called when the event occurs
14134
+ */
14135
+ fnFunction: (p1: DragDropConfig$DragEnterEvent) => void,
14136
+ /**
14137
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14138
+ */
14139
+ oListener?: object
14140
+ ): this;
13821
14141
  /**
13822
- * Gets current value of property {@link #getSelectionLimit selectionLimit}.
13823
- *
13824
- * Number of indices which can be selected in a range. Accepts positive integer values. If set to 0, the
13825
- * selection limit is disabled, and the Select All checkbox appears instead of the Deselect All button.
13826
- *
13827
- * **Note:** To avoid severe performance problems, the limit should only be set to 0 in the following cases:
13828
- *
13829
- * - With client-side models
13830
- * - With server-side models if they are used in client mode
13831
- * - If the entity set is small
14142
+ * Attaches event handler `fnFunction` to the {@link #event:dragEnter dragEnter} event of this `sap.ui.mdc.table.DragDropConfig`.
13832
14143
  *
13833
- * In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.mdc.Table#getThreshold threshold }
13834
- * property of the table.
14144
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14145
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
13835
14146
  *
13836
- * Default value is `200`.
14147
+ * This event is fired when a dragged element enters a table row, if the `droppable` property is set to
14148
+ * true.
13837
14149
  *
13838
- * @returns Value of property `selectionLimit`
14150
+ * @returns Reference to `this` in order to allow method chaining
13839
14151
  */
13840
- getSelectionLimit(): int;
14152
+ attachDragEnter(
14153
+ /**
14154
+ * The function to be called when the event occurs
14155
+ */
14156
+ fnFunction: (p1: DragDropConfig$DragEnterEvent) => void,
14157
+ /**
14158
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14159
+ */
14160
+ oListener?: object
14161
+ ): this;
13841
14162
  /**
13842
- * Gets current value of property {@link #getShowHeaderSelector showHeaderSelector}.
14163
+ * Attaches event handler `fnFunction` to the {@link #event:dragOver dragOver} event of this `sap.ui.mdc.table.DragDropConfig`.
13843
14164
  *
13844
- * Determines whether the header selector is shown.
14165
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14166
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
13845
14167
  *
13846
- * Default value is `true`.
14168
+ * This event is fired when an element is being dragged over a table row, if the `droppable` property is
14169
+ * set to true.
13847
14170
  *
13848
- * @returns Value of property `showHeaderSelector`
14171
+ * @returns Reference to `this` in order to allow method chaining
13849
14172
  */
13850
- getShowHeaderSelector(): boolean;
13851
- /**
14173
+ attachDragOver(
14174
+ /**
14175
+ * An application-specific payload object that will be passed to the event handler along with the event
14176
+ * object when firing the event
14177
+ */
14178
+ oData: object,
14179
+ /**
14180
+ * The function to be called when the event occurs
14181
+ */
14182
+ fnFunction: (p1: DragDropConfig$DragOverEvent) => void,
14183
+ /**
14184
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14185
+ */
14186
+ oListener?: object
14187
+ ): this;
14188
+ /**
14189
+ * Attaches event handler `fnFunction` to the {@link #event:dragOver dragOver} event of this `sap.ui.mdc.table.DragDropConfig`.
14190
+ *
14191
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14192
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
14193
+ *
14194
+ * This event is fired when an element is being dragged over a table row, if the `droppable` property is
14195
+ * set to true.
14196
+ *
14197
+ * @returns Reference to `this` in order to allow method chaining
14198
+ */
14199
+ attachDragOver(
14200
+ /**
14201
+ * The function to be called when the event occurs
14202
+ */
14203
+ fnFunction: (p1: DragDropConfig$DragOverEvent) => void,
14204
+ /**
14205
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14206
+ */
14207
+ oListener?: object
14208
+ ): this;
14209
+ /**
14210
+ * Attaches event handler `fnFunction` to the {@link #event:dragStart dragStart} event of this `sap.ui.mdc.table.DragDropConfig`.
14211
+ *
14212
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14213
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
14214
+ *
14215
+ * This event is fired when the user starts dragging a table row, if the `draggable` property is set to
14216
+ * true.
14217
+ *
14218
+ * @returns Reference to `this` in order to allow method chaining
14219
+ */
14220
+ attachDragStart(
14221
+ /**
14222
+ * An application-specific payload object that will be passed to the event handler along with the event
14223
+ * object when firing the event
14224
+ */
14225
+ oData: object,
14226
+ /**
14227
+ * The function to be called when the event occurs
14228
+ */
14229
+ fnFunction: (p1: DragDropConfig$DragStartEvent) => void,
14230
+ /**
14231
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14232
+ */
14233
+ oListener?: object
14234
+ ): this;
14235
+ /**
14236
+ * Attaches event handler `fnFunction` to the {@link #event:dragStart dragStart} event of this `sap.ui.mdc.table.DragDropConfig`.
14237
+ *
14238
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14239
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
14240
+ *
14241
+ * This event is fired when the user starts dragging a table row, if the `draggable` property is set to
14242
+ * true.
14243
+ *
14244
+ * @returns Reference to `this` in order to allow method chaining
14245
+ */
14246
+ attachDragStart(
14247
+ /**
14248
+ * The function to be called when the event occurs
14249
+ */
14250
+ fnFunction: (p1: DragDropConfig$DragStartEvent) => void,
14251
+ /**
14252
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14253
+ */
14254
+ oListener?: object
14255
+ ): this;
14256
+ /**
14257
+ * Attaches event handler `fnFunction` to the {@link #event:drop drop} event of this `sap.ui.mdc.table.DragDropConfig`.
14258
+ *
14259
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14260
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
14261
+ *
14262
+ * This event is fired when an element is dropped on a table row, if the `droppable` property is set to
14263
+ * true.
14264
+ *
14265
+ * @returns Reference to `this` in order to allow method chaining
14266
+ */
14267
+ attachDrop(
14268
+ /**
14269
+ * An application-specific payload object that will be passed to the event handler along with the event
14270
+ * object when firing the event
14271
+ */
14272
+ oData: object,
14273
+ /**
14274
+ * The function to be called when the event occurs
14275
+ */
14276
+ fnFunction: (p1: DragDropConfig$DropEvent) => void,
14277
+ /**
14278
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14279
+ */
14280
+ oListener?: object
14281
+ ): this;
14282
+ /**
14283
+ * Attaches event handler `fnFunction` to the {@link #event:drop drop} event of this `sap.ui.mdc.table.DragDropConfig`.
14284
+ *
14285
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
14286
+ * otherwise it will be bound to this `sap.ui.mdc.table.DragDropConfig` itself.
14287
+ *
14288
+ * This event is fired when an element is dropped on a table row, if the `droppable` property is set to
14289
+ * true.
14290
+ *
14291
+ * @returns Reference to `this` in order to allow method chaining
14292
+ */
14293
+ attachDrop(
14294
+ /**
14295
+ * The function to be called when the event occurs
14296
+ */
14297
+ fnFunction: (p1: DragDropConfig$DropEvent) => void,
14298
+ /**
14299
+ * Context object to call the event handler with. Defaults to this `sap.ui.mdc.table.DragDropConfig` itself
14300
+ */
14301
+ oListener?: object
14302
+ ): this;
14303
+ /**
14304
+ * Detaches event handler `fnFunction` from the {@link #event:dragEnd dragEnd} event of this `sap.ui.mdc.table.DragDropConfig`.
14305
+ *
14306
+ * The passed function and listener object must match the ones used for event registration.
14307
+ *
14308
+ * @returns Reference to `this` in order to allow method chaining
14309
+ */
14310
+ detachDragEnd(
14311
+ /**
14312
+ * The function to be called, when the event occurs
14313
+ */
14314
+ fnFunction: (p1: DragDropConfig$DragEndEvent) => void,
14315
+ /**
14316
+ * Context object on which the given function had to be called
14317
+ */
14318
+ oListener?: object
14319
+ ): this;
14320
+ /**
14321
+ * Detaches event handler `fnFunction` from the {@link #event:dragEnter dragEnter} event of this `sap.ui.mdc.table.DragDropConfig`.
14322
+ *
14323
+ * The passed function and listener object must match the ones used for event registration.
14324
+ *
14325
+ * @returns Reference to `this` in order to allow method chaining
14326
+ */
14327
+ detachDragEnter(
14328
+ /**
14329
+ * The function to be called, when the event occurs
14330
+ */
14331
+ fnFunction: (p1: DragDropConfig$DragEnterEvent) => void,
14332
+ /**
14333
+ * Context object on which the given function had to be called
14334
+ */
14335
+ oListener?: object
14336
+ ): this;
14337
+ /**
14338
+ * Detaches event handler `fnFunction` from the {@link #event:dragOver dragOver} event of this `sap.ui.mdc.table.DragDropConfig`.
14339
+ *
14340
+ * The passed function and listener object must match the ones used for event registration.
14341
+ *
14342
+ * @returns Reference to `this` in order to allow method chaining
14343
+ */
14344
+ detachDragOver(
14345
+ /**
14346
+ * The function to be called, when the event occurs
14347
+ */
14348
+ fnFunction: (p1: DragDropConfig$DragOverEvent) => void,
14349
+ /**
14350
+ * Context object on which the given function had to be called
14351
+ */
14352
+ oListener?: object
14353
+ ): this;
14354
+ /**
14355
+ * Detaches event handler `fnFunction` from the {@link #event:dragStart dragStart} event of this `sap.ui.mdc.table.DragDropConfig`.
14356
+ *
14357
+ * The passed function and listener object must match the ones used for event registration.
14358
+ *
14359
+ * @returns Reference to `this` in order to allow method chaining
14360
+ */
14361
+ detachDragStart(
14362
+ /**
14363
+ * The function to be called, when the event occurs
14364
+ */
14365
+ fnFunction: (p1: DragDropConfig$DragStartEvent) => void,
14366
+ /**
14367
+ * Context object on which the given function had to be called
14368
+ */
14369
+ oListener?: object
14370
+ ): this;
14371
+ /**
14372
+ * Detaches event handler `fnFunction` from the {@link #event:drop drop} event of this `sap.ui.mdc.table.DragDropConfig`.
14373
+ *
14374
+ * The passed function and listener object must match the ones used for event registration.
14375
+ *
14376
+ * @returns Reference to `this` in order to allow method chaining
14377
+ */
14378
+ detachDrop(
14379
+ /**
14380
+ * The function to be called, when the event occurs
14381
+ */
14382
+ fnFunction: (p1: DragDropConfig$DropEvent) => void,
14383
+ /**
14384
+ * Context object on which the given function had to be called
14385
+ */
14386
+ oListener?: object
14387
+ ): this;
14388
+ /**
14389
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
14390
+ *
14391
+ * Fires event {@link #event:dragEnd dragEnd} to attached listeners.
14392
+ *
14393
+ * @returns Reference to `this` in order to allow method chaining
14394
+ */
14395
+ fireDragEnd(
14396
+ /**
14397
+ * Parameters to pass along with the event
14398
+ */
14399
+ mParameters?: sap.ui.mdc.table.DragDropConfig$DragEndEventParameters
14400
+ ): this;
14401
+ /**
14402
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
14403
+ *
14404
+ * Fires event {@link #event:dragEnter dragEnter} to attached listeners.
14405
+ *
14406
+ * Listeners may prevent the default action of this event by calling the `preventDefault` method on the
14407
+ * event object. The return value of this method indicates whether the default action should be executed.
14408
+ *
14409
+ * @returns Whether or not to prevent the default action
14410
+ */
14411
+ fireDragEnter(
14412
+ /**
14413
+ * Parameters to pass along with the event
14414
+ */
14415
+ mParameters?: sap.ui.mdc.table.DragDropConfig$DragEnterEventParameters
14416
+ ): boolean;
14417
+ /**
14418
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
14419
+ *
14420
+ * Fires event {@link #event:dragOver dragOver} to attached listeners.
14421
+ *
14422
+ * @returns Reference to `this` in order to allow method chaining
14423
+ */
14424
+ fireDragOver(
14425
+ /**
14426
+ * Parameters to pass along with the event
14427
+ */
14428
+ mParameters?: sap.ui.mdc.table.DragDropConfig$DragOverEventParameters
14429
+ ): this;
14430
+ /**
14431
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
14432
+ *
14433
+ * Fires event {@link #event:dragStart dragStart} to attached listeners.
14434
+ *
14435
+ * Listeners may prevent the default action of this event by calling the `preventDefault` method on the
14436
+ * event object. The return value of this method indicates whether the default action should be executed.
14437
+ *
14438
+ * @returns Whether or not to prevent the default action
14439
+ */
14440
+ fireDragStart(
14441
+ /**
14442
+ * Parameters to pass along with the event
14443
+ */
14444
+ mParameters?: sap.ui.mdc.table.DragDropConfig$DragStartEventParameters
14445
+ ): boolean;
14446
+ /**
14447
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
14448
+ *
14449
+ * Fires event {@link #event:drop drop} to attached listeners.
14450
+ *
14451
+ * @returns Reference to `this` in order to allow method chaining
14452
+ */
14453
+ fireDrop(
14454
+ /**
14455
+ * Parameters to pass along with the event
14456
+ */
14457
+ mParameters?: sap.ui.mdc.table.DragDropConfig$DropEventParameters
14458
+ ): this;
14459
+ /**
14460
+ * Gets current value of property {@link #getDraggable draggable}.
14461
+ *
14462
+ * Determines whether the rows of the table are draggable.
14463
+ *
14464
+ * **Note:** Setting this property to `true` may expose the rows of the table in other `DropInfo` event
14465
+ * parameters. In this case, only the binding context of the row is allowed to be used. Internal controls
14466
+ * and their types are subject to change without notice.
14467
+ *
14468
+ * Default value is `false`.
14469
+ *
14470
+ * @returns Value of property `draggable`
14471
+ */
14472
+ getDraggable(): boolean;
14473
+ /**
14474
+ * Gets current value of property {@link #getDropEffect dropEffect}.
14475
+ *
14476
+ * Defines the visual drop effect.
14477
+ *
14478
+ * Default value is `"Move"`.
14479
+ *
14480
+ * @returns Value of property `dropEffect`
14481
+ */
14482
+ getDropEffect(): sap.ui.core.dnd.DropEffect;
14483
+ /**
14484
+ * Gets current value of property {@link #getDroppable droppable}.
14485
+ *
14486
+ * Determines whether the rows of the table are droppable.
14487
+ *
14488
+ * Default value is `false`.
14489
+ *
14490
+ * @returns Value of property `droppable`
14491
+ */
14492
+ getDroppable(): boolean;
14493
+ /**
14494
+ * Gets current value of property {@link #getDropPosition dropPosition}.
14495
+ *
14496
+ * Defines the position for the drop action, visualized by a rectangle.
14497
+ *
14498
+ * Default value is `"On"`.
14499
+ *
14500
+ * @returns Value of property `dropPosition`
14501
+ */
14502
+ getDropPosition(): sap.ui.core.dnd.DropPosition;
14503
+ /**
14504
+ * Sets a new value for property {@link #getDraggable draggable}.
14505
+ *
14506
+ * Determines whether the rows of the table are draggable.
14507
+ *
14508
+ * **Note:** Setting this property to `true` may expose the rows of the table in other `DropInfo` event
14509
+ * parameters. In this case, only the binding context of the row is allowed to be used. Internal controls
14510
+ * and their types are subject to change without notice.
14511
+ *
14512
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14513
+ *
14514
+ * Default value is `false`.
14515
+ *
14516
+ * @returns Reference to `this` in order to allow method chaining
14517
+ */
14518
+ setDraggable(
14519
+ /**
14520
+ * New value for property `draggable`
14521
+ */
14522
+ bDraggable?: boolean
14523
+ ): this;
14524
+ /**
14525
+ * Sets a new value for property {@link #getDropEffect dropEffect}.
14526
+ *
14527
+ * Defines the visual drop effect.
14528
+ *
14529
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14530
+ *
14531
+ * Default value is `"Move"`.
14532
+ *
14533
+ * @returns Reference to `this` in order to allow method chaining
14534
+ */
14535
+ setDropEffect(
14536
+ /**
14537
+ * New value for property `dropEffect`
14538
+ */
14539
+ sDropEffect?: sap.ui.core.dnd.DropEffect
14540
+ ): this;
14541
+ /**
14542
+ * Sets a new value for property {@link #getDroppable droppable}.
14543
+ *
14544
+ * Determines whether the rows of the table are droppable.
14545
+ *
14546
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14547
+ *
14548
+ * Default value is `false`.
14549
+ *
14550
+ * @returns Reference to `this` in order to allow method chaining
14551
+ */
14552
+ setDroppable(
14553
+ /**
14554
+ * New value for property `droppable`
14555
+ */
14556
+ bDroppable?: boolean
14557
+ ): this;
14558
+ /**
14559
+ * Sets a new value for property {@link #getDropPosition dropPosition}.
14560
+ *
14561
+ * Defines the position for the drop action, visualized by a rectangle.
14562
+ *
14563
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14564
+ *
14565
+ * Default value is `"On"`.
14566
+ *
14567
+ * @returns Reference to `this` in order to allow method chaining
14568
+ */
14569
+ setDropPosition(
14570
+ /**
14571
+ * New value for property `dropPosition`
14572
+ */
14573
+ sDropPosition?: sap.ui.core.dnd.DropPosition
14574
+ ): this;
14575
+ }
14576
+ /**
14577
+ * @since 1.65
14578
+ *
14579
+ * The table type info class for the metadata-driven table.
14580
+ */
14581
+ class GridTableType extends sap.ui.mdc.table.TableTypeBase {
14582
+ /**
14583
+ * Constructor for a new `GridTableType`.
14584
+ *
14585
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
14586
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
14587
+ * of the syntax of the settings object.
14588
+ */
14589
+ constructor(
14590
+ /**
14591
+ * Initial settings for the new object
14592
+ */
14593
+ mSettings?: sap.ui.mdc.table.$GridTableTypeSettings
14594
+ );
14595
+ /**
14596
+ * Constructor for a new `GridTableType`.
14597
+ *
14598
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
14599
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
14600
+ * of the syntax of the settings object.
14601
+ */
14602
+ constructor(
14603
+ /**
14604
+ * Optional ID for the new object; generated automatically if no non-empty ID is given
14605
+ */
14606
+ sId?: string,
14607
+ /**
14608
+ * Initial settings for the new object
14609
+ */
14610
+ mSettings?: sap.ui.mdc.table.$GridTableTypeSettings
14611
+ );
14612
+
14613
+ /**
14614
+ * Creates a new subclass of class sap.ui.mdc.table.GridTableType with name `sClassName` and enriches it
14615
+ * with the information contained in `oClassInfo`.
14616
+ *
14617
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.table.TableTypeBase.extend}.
14618
+ *
14619
+ * @returns Created class / constructor function
14620
+ */
14621
+ static extend<T extends Record<string, unknown>>(
14622
+ /**
14623
+ * Name of the class being created
14624
+ */
14625
+ sClassName: string,
14626
+ /**
14627
+ * Object literal with information about the class
14628
+ */
14629
+ oClassInfo?: sap.ClassInfo<T, sap.ui.mdc.table.GridTableType>,
14630
+ /**
14631
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
14632
+ * used by this class
14633
+ */
14634
+ FNMetaImpl?: Function
14635
+ ): Function;
14636
+ /**
14637
+ * Returns a metadata object for class sap.ui.mdc.table.GridTableType.
14638
+ *
14639
+ * @returns Metadata object describing this class
14640
+ */
14641
+ static getMetadata(): sap.ui.core.ElementMetadata;
14642
+ /**
14643
+ * Gets current value of property {@link #getFixedColumnCount fixedColumnCount}.
14644
+ *
14645
+ * Defines the number of fixed columns in the inner table.
14646
+ *
14647
+ * Default value is `0`.
14648
+ *
14649
+ * @returns Value of property `fixedColumnCount`
14650
+ */
14651
+ getFixedColumnCount(): int;
14652
+ /**
14653
+ * Gets current value of property {@link #getRowCount rowCount}.
14654
+ *
14655
+ * Row count of the inner table.
14656
+ * This property specifies the minimum row count if `sap.ui.mdc.enums.TableRowCountMode.Auto` is used.
14657
+ * This property specifies the row count if `sap.ui.mdc.enums.TableRowCountMode.Fixed` is used.
14658
+ *
14659
+ * Default value is `10`.
14660
+ *
14661
+ * @returns Value of property `rowCount`
14662
+ */
14663
+ getRowCount(): int;
14664
+ /**
14665
+ * Gets current value of property {@link #getRowCountMode rowCountMode}.
14666
+ *
14667
+ * Defines how the table handles the row count.
14668
+ *
14669
+ * Default value is `Auto`.
14670
+ *
14671
+ * @returns Value of property `rowCountMode`
14672
+ */
14673
+ getRowCountMode(): sap.ui.mdc.enums.TableRowCountMode;
14674
+ /**
14675
+ * Gets current value of property {@link #getSelectionLimit selectionLimit}.
14676
+ *
14677
+ * Number of indices which can be selected in a range. Accepts positive integer values. If set to 0, the
14678
+ * selection limit is disabled, and the Select All checkbox appears instead of the Deselect All button.
14679
+ *
14680
+ * **Note:** To avoid severe performance problems, the limit should only be set to 0 in the following cases:
14681
+ *
14682
+ * - With client-side models
14683
+ * - With server-side models if they are used in client mode
14684
+ * - If the entity set is small
14685
+ *
14686
+ * In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.mdc.Table#getThreshold threshold }
14687
+ * property of the table.
14688
+ *
14689
+ * Default value is `200`.
14690
+ *
14691
+ * @returns Value of property `selectionLimit`
14692
+ */
14693
+ getSelectionLimit(): int;
14694
+ /**
14695
+ * Gets current value of property {@link #getShowHeaderSelector showHeaderSelector}.
14696
+ *
14697
+ * Determines whether the header selector is shown.
14698
+ *
14699
+ * Default value is `true`.
14700
+ *
14701
+ * @returns Value of property `showHeaderSelector`
14702
+ */
14703
+ getShowHeaderSelector(): boolean;
14704
+ /**
13852
14705
  * Sets a new value for property {@link #getFixedColumnCount fixedColumnCount}.
13853
14706
  *
13854
14707
  * Defines the number of fixed columns in the inner table.
@@ -15061,6 +15914,31 @@ declare namespace sap {
15061
15914
  propertyInfos?: string[];
15062
15915
  };
15063
15916
 
15917
+ type DragDropConfig$DragEndEvent = sap.ui.base.Event<
15918
+ DragDropConfig$DragEndEventParameters,
15919
+ DragDropConfig
15920
+ >;
15921
+
15922
+ type DragDropConfig$DragEnterEvent = sap.ui.base.Event<
15923
+ DragDropConfig$DragEnterEventParameters,
15924
+ DragDropConfig
15925
+ >;
15926
+
15927
+ type DragDropConfig$DragOverEvent = sap.ui.base.Event<
15928
+ DragDropConfig$DragOverEventParameters,
15929
+ DragDropConfig
15930
+ >;
15931
+
15932
+ type DragDropConfig$DragStartEvent = sap.ui.base.Event<
15933
+ DragDropConfig$DragStartEventParameters,
15934
+ DragDropConfig
15935
+ >;
15936
+
15937
+ type DragDropConfig$DropEvent = sap.ui.base.Event<
15938
+ DragDropConfig$DropEventParameters,
15939
+ DragDropConfig
15940
+ >;
15941
+
15064
15942
  type RowActionItem$PressEvent = sap.ui.base.Event<
15065
15943
  RowActionItem$PressEventParameters,
15066
15944
  RowActionItem
@@ -15552,10 +16430,10 @@ declare namespace sap {
15552
16430
  /**
15553
16431
  * @since 1.118.0
15554
16432
  *
15555
- * The type of data for the description part of a equal-condition This type is used to parse, format, and
15556
- * validate the value.
16433
+ * The type of data for the description part of an "equal to" condition. This type is used to parse, format,
16434
+ * and validate the value.
15557
16435
  *
15558
- * Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
16436
+ * Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
15559
16437
  */
15560
16438
  additionalDataType?:
15561
16439
  | object
@@ -16037,6 +16915,17 @@ declare namespace sap {
16037
16915
  */
16038
16916
  contextMenu?: sap.ui.core.IContextMenu;
16039
16917
 
16918
+ /**
16919
+ * @since 1.119
16920
+ *
16921
+ * Defines an aggregation for the `CellSelector` plugin that provides cell selection capabilities to the
16922
+ * table.
16923
+ *
16924
+ * **Note:** The `CellSelector` is currently only available in combination with the `GridTableType`. Please
16925
+ * refer to {@link sap.m.plugins.CellSelector} see the addiditional restrictions.
16926
+ */
16927
+ cellSelector?: sap.m.plugins.CellSelector;
16928
+
16040
16929
  /**
16041
16930
  * Control or object that enables the table to do filtering, such as {@link sap.ui.mdc.FilterBar}. See also
16042
16931
  * {@link sap.ui.mdc.IFilter}.
@@ -18611,167 +19500,6 @@ declare namespace sap {
18611
19500
  bShowClearButton?: boolean
18612
19501
  ): this;
18613
19502
  }
18614
- /**
18615
- * @since 1.61.0
18616
- *
18617
- * Base Delegate for {@link sap.ui.mdc.FilterBar FilterBar}. Extend this object in your project to use all
18618
- * functionalities of the {@link sap.ui.mdc.FilterBar FilterBar}. This class provides method calls, which
18619
- * are called by the `FilterBar` at specific operations and allows to overwrite an internal behaviour..
18620
- */
18621
- class FilterBarDelegate {
18622
- constructor();
18623
-
18624
- /**
18625
- * This method is called during the appliance of the add condition change. The intention is to update the
18626
- * {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
18627
- *
18628
- * @returns `Promise` that is resolved once the propertyInfo property has been updated
18629
- */
18630
- static addCondition(
18631
- /**
18632
- * Instance of the filter bar
18633
- */
18634
- oFilterBar: sap.ui.mdc.FilterBar,
18635
- /**
18636
- * The name of a property
18637
- */
18638
- sPropertyName: string,
18639
- /**
18640
- * Instance of a property bag from the SAPUI5 flexibility change API
18641
- */
18642
- mPropertyBag: Object
18643
- ): Promise<any>;
18644
- /**
18645
- * Creates an instance of a filter field control. **Note:** The `addItem` hook can be used during the processing
18646
- * of an SAPUI5 flexibility change. Consequently the parameter `mPropertyBag` is only passed during preprocessing.
18647
- * In runtime scenarios (such as opening a personalization dialog), this method might be called without
18648
- * the parameter `mPropertyBag`.
18649
- *
18650
- * @returns `Promise` that resolves with an instance of the implementing {@link sap.ui.mdc.FilterField Control}.
18651
- * **Note:** This method always requires a return value once it has been called. If an item for a given
18652
- * property `sPropertyName` has already been created, it must to either return the existing instance or
18653
- * create a new instance.
18654
- */
18655
- static addItem(
18656
- /**
18657
- * Instance of the filter bar
18658
- */
18659
- oFilterBar: sap.ui.mdc.FilterBar,
18660
- /**
18661
- * The name of the property info object/JSON
18662
- */
18663
- sPropertyName: string,
18664
- /**
18665
- * Instance of property bag from SAPUI5 flexibility change API
18666
- */
18667
- mPropertyBag?: Object
18668
- ): Promise<sap.ui.mdc.FilterField>;
18669
- /**
18670
- * This method is called when the Clear button is pressed.
18671
- *
18672
- * @returns `Promise` that is resolved once the action has been completed
18673
- */
18674
- static clearFilters(
18675
- /**
18676
- * Instance of the filter bar
18677
- */
18678
- oFilterBar: sap.ui.mdc.FilterBar
18679
- ): Promise<any>;
18680
- /**
18681
- * A validator to evaluate the filter bar state.
18682
- *
18683
- * @returns The inner filter bar state
18684
- */
18685
- static determineValidationState(
18686
- /**
18687
- * Instance of the filter bar
18688
- */
18689
- oFilterBar: sap.ui.mdc.FilterBar,
18690
- /**
18691
- * Object describing the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
18692
- */
18693
- mValidation?: {
18694
- /**
18695
- * Status of the validation {@link sap.ui.mdc.enums.FilterBarValidationStatus}
18696
- */
18697
- status?: string;
18698
- }
18699
- ): sap.ui.mdc.enums.FilterBarValidationStatus;
18700
- /**
18701
- * Retrieves the relevant metadata for a given payload and returns the property info array.
18702
- *
18703
- * @returns Once resolved, an array of property info objects is returned
18704
- */
18705
- static fetchProperties(
18706
- /**
18707
- * Instance of the filter bar
18708
- */
18709
- oFilterBar: sap.ui.mdc.FilterBar
18710
- ): Promise<sap.ui.mdc.filterbar.PropertyInfo[]>;
18711
- /**
18712
- * propertyInfo This method is called during the appliance of the remove condition change. The intention
18713
- * is to update the {@link sap.ui.mdc.FilterBarBase#setPropertyInfo propertyInfo} property.
18714
- *
18715
- * @returns `Promise` that is resolved once the propertyInfo property has been updated
18716
- */
18717
- static removeCondition(
18718
- /**
18719
- * Instance of the filter bar
18720
- */
18721
- oFilterBar: sap.ui.mdc.FilterBar,
18722
- /**
18723
- * The name of a property
18724
- */
18725
- sPropertyName: string,
18726
- /**
18727
- * Instance of a property bag from the SAPUI5 flexibility change API
18728
- */
18729
- mPropertyBag: Object
18730
- ): Promise<any>;
18731
- /**
18732
- * Triggers any necessary follow-up steps that need to be taken after the removal of created items via `removeItem`.
18733
- * The returned Boolean value inside the `Promise` can be used to prevent the default follow-up behavior
18734
- * of the SAPUI5 flexibility handling.
18735
- *
18736
- * **Note:**The `removeItem` hook can be used during the processing of an SAPUI5 flexibility change. Consequently
18737
- * the parameter `mPropertyBag` is only passed during preprocessing. In runtime scenarios (such as opening
18738
- * a personalization dialog), this method can be called without the parameter `mPropertyBag`.
18739
- *
18740
- * @returns `Promise` that resolved with `true`, `false` to allow/prevent default behavior of the change
18741
- */
18742
- static removeItem(
18743
- /**
18744
- * Instance of the filter bar
18745
- */
18746
- oFilterBar: sap.ui.mdc.FilterBar,
18747
- /**
18748
- * The filter field instance that was removed
18749
- */
18750
- oFilterField: sap.ui.mdc.FilterField,
18751
- /**
18752
- * Instance of property bag from SAPUI5 flexibility
18753
- */
18754
- mPropertyBag?: Object
18755
- ): Promise<boolean>;
18756
- /**
18757
- * Visualizes the filter bar validation state.
18758
- */
18759
- static visualizeValidationState(
18760
- /**
18761
- * Instance of the filter bar
18762
- */
18763
- oFilterBar: sap.ui.mdc.FilterBar,
18764
- /**
18765
- * Describes the validation result. This object is only provided when called from the {@link sap.ui.mdc.FilterBar FilterBar}
18766
- */
18767
- mValidation: {
18768
- /**
18769
- * Status of the validation as returned via {@link sap.ui.mdc.filterbar.FilterBarBase#checkValidationState checkValidationState}
18770
- */
18771
- status: sap.ui.mdc.enums.FilterBarValidationStatus;
18772
- }
18773
- ): void;
18774
- }
18775
19503
  /**
18776
19504
  * @since 1.48.0
18777
19505
  * @experimental (since 1.48.0)
@@ -18983,10 +19711,10 @@ declare namespace sap {
18983
19711
  *
18984
19712
  * Gets current value of property {@link #getAdditionalDataType additionalDataType}.
18985
19713
  *
18986
- * The type of data for the description part of a equal-condition This type is used to parse, format, and
18987
- * validate the value.
19714
+ * The type of data for the description part of an "equal to" condition. This type is used to parse, format,
19715
+ * and validate the value.
18988
19716
  *
18989
- * Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
19717
+ * Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
18990
19718
  *
18991
19719
  * @returns Value of property `additionalDataType`
18992
19720
  */
@@ -19061,10 +19789,10 @@ declare namespace sap {
19061
19789
  *
19062
19790
  * Sets a new value for property {@link #getAdditionalDataType additionalDataType}.
19063
19791
  *
19064
- * The type of data for the description part of a equal-condition This type is used to parse, format, and
19065
- * validate the value.
19792
+ * The type of data for the description part of an "equal to" condition. This type is used to parse, format,
19793
+ * and validate the value.
19066
19794
  *
19067
- * Here a data type instance can be provided or an object containing `name`, `formatOptions` and `constraints`.
19795
+ * Here a data type instance can be provided or an object containing `name`, `formatOptions`, and `constraints`.
19068
19796
  *
19069
19797
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19070
19798
  *
@@ -19980,6 +20708,14 @@ declare namespace sap {
19980
20708
  * @returns Reference to `this` in order to allow method chaining
19981
20709
  */
19982
20710
  destroyActions(): this;
20711
+ /**
20712
+ * @since 1.119
20713
+ *
20714
+ * Destroys the cellSelector in the aggregation {@link #getCellSelector cellSelector}.
20715
+ *
20716
+ * @returns Reference to `this` in order to allow method chaining
20717
+ */
20718
+ destroyCellSelector(): this;
19983
20719
  /**
19984
20720
  * Destroys all the columns in the aggregation {@link #getColumns columns}.
19985
20721
  *
@@ -20271,6 +21007,18 @@ declare namespace sap {
20271
21007
  * @returns Value of property `busyIndicatorDelay`
20272
21008
  */
20273
21009
  getBusyIndicatorDelay(): int;
21010
+ /**
21011
+ * @since 1.119
21012
+ *
21013
+ * Gets content of aggregation {@link #getCellSelector cellSelector}.
21014
+ *
21015
+ * Defines an aggregation for the `CellSelector` plugin that provides cell selection capabilities to the
21016
+ * table.
21017
+ *
21018
+ * **Note:** The `CellSelector` is currently only available in combination with the `GridTableType`. Please
21019
+ * refer to {@link sap.m.plugins.CellSelector} see the addiditional restrictions.
21020
+ */
21021
+ getCellSelector(): sap.m.plugins.CellSelector;
20274
21022
  /**
20275
21023
  * Gets content of aggregation {@link #getColumns columns}.
20276
21024
  *
@@ -20859,6 +21607,19 @@ declare namespace sap {
20859
21607
  */
20860
21608
  iBusyIndicatorDelay?: int
20861
21609
  ): this;
21610
+ /**
21611
+ * @since 1.119
21612
+ *
21613
+ * Sets the aggregated {@link #getCellSelector cellSelector}.
21614
+ *
21615
+ * @returns Reference to `this` in order to allow method chaining
21616
+ */
21617
+ setCellSelector(
21618
+ /**
21619
+ * The cellSelector to set
21620
+ */
21621
+ oCellSelector: sap.m.plugins.CellSelector
21622
+ ): this;
20862
21623
  /**
20863
21624
  * @since 1.118
20864
21625
  *
@@ -22597,8 +23358,6 @@ declare namespace sap {
22597
23358
 
22598
23359
  "sap/ui/mdc/p13n/StateUtil": undefined;
22599
23360
 
22600
- "sap/ui/mdc/p13n/UIManager": undefined;
22601
-
22602
23361
  "sap/ui/mdc/Table": undefined;
22603
23362
 
22604
23363
  "sap/ui/mdc/table/Column": undefined;
@@ -22607,6 +23366,8 @@ declare namespace sap {
22607
23366
 
22608
23367
  "sap/ui/mdc/table/CreationRow": undefined;
22609
23368
 
23369
+ "sap/ui/mdc/table/DragDropConfig": undefined;
23370
+
22610
23371
  "sap/ui/mdc/table/GridTableType": undefined;
22611
23372
 
22612
23373
  "sap/ui/mdc/table/PropertyHelper": undefined;