@openui5/ts-types-esm 1.147.0 → 1.148.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,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -1435,6 +1435,8 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
1435
1435
 
1436
1436
  import MultiValueField from "sap/ui/mdc/MultiValueField";
1437
1437
 
1438
+ import MultiValueFieldItem from "sap/ui/mdc/field/MultiValueFieldItem";
1439
+
1438
1440
  /**
1439
1441
  * Delegate for {@link sap.ui.mdc.MultiValueField MultiValueField}.
1440
1442
  *
@@ -1470,7 +1472,13 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
1470
1472
  * Items can be removed, updated, or added. Use the binding information of the {@link sap.ui.mdc.MultiValueField MultiValueField }
1471
1473
  * control to update the data in the related model.
1472
1474
  *
1475
+ * If updating of the items fails, return a rejected `Promise` to sync the conditions with the items. Set
1476
+ * a `valueState` if needed.
1477
+ *
1473
1478
  * @since 1.142
1479
+ *
1480
+ * @returns null or a `Promise` returning an array containing the current items after update. If update
1481
+ * of items fails, the `Promise` needs to be rejected
1474
1482
  */
1475
1483
  updateItemsFromConditions(
1476
1484
  /**
@@ -1482,7 +1490,7 @@ declare module "sap/ui/mdc/field/MultiValueFieldDelegate" {
1482
1490
  * Current conditions of the {@link sap.ui.mdc.MultiValueField MultiValueField} control
1483
1491
  */
1484
1492
  aConditions: ConditionObject[]
1485
- ): void;
1493
+ ): null | Promise<MultiValueFieldItem[]>;
1486
1494
  }
1487
1495
  const MultiValueFieldDelegate: MultiValueFieldDelegate;
1488
1496
  export default MultiValueFieldDelegate;
@@ -9366,6 +9374,18 @@ declare module "sap/ui/mdc/enums/TableRowActionType" {
9366
9374
  * @since 1.115
9367
9375
  */
9368
9376
  enum TableRowActionType {
9377
+ /**
9378
+ * Custom-defined row action
9379
+ *
9380
+ * @since 1.148
9381
+ */
9382
+ Custom = "Custom",
9383
+ /**
9384
+ * Row action for deletion
9385
+ *
9386
+ * @since 1.148
9387
+ */
9388
+ Delete = "Delete",
9369
9389
  /**
9370
9390
  * Navigation arrow (chevron) is shown
9371
9391
  */
@@ -17447,6 +17467,8 @@ declare module "sap/ui/mdc/Table" {
17447
17467
 
17448
17468
  import DataStateIndicator from "sap/m/plugins/DataStateIndicator";
17449
17469
 
17470
+ import UI5Element from "sap/ui/core/Element";
17471
+
17450
17472
  import ElementMetadata from "sap/ui/core/ElementMetadata";
17451
17473
 
17452
17474
  import TableP13nMode from "sap/ui/mdc/enums/TableP13nMode";
@@ -17854,6 +17876,14 @@ declare module "sap/ui/mdc/Table" {
17854
17876
  * @returns Reference to `this` in order to allow method chaining
17855
17877
  */
17856
17878
  destroyDataStateIndicator(): this;
17879
+ /**
17880
+ * Destroys the defaultExportSettings in the aggregation {@link #getDefaultExportSettings defaultExportSettings}.
17881
+ *
17882
+ * @since 1.148
17883
+ *
17884
+ * @returns Reference to `this` in order to allow method chaining
17885
+ */
17886
+ destroyDefaultExportSettings(): this;
17857
17887
  /**
17858
17888
  * Destroys the noData in the aggregation {@link #getNoData noData}.
17859
17889
  *
@@ -18171,6 +18201,21 @@ declare module "sap/ui/mdc/Table" {
18171
18201
  * @since 1.89
18172
18202
  */
18173
18203
  getDataStateIndicator(): DataStateIndicator;
18204
+ /**
18205
+ * Gets content of aggregation {@link #getDefaultExportSettings defaultExportSettings}.
18206
+ *
18207
+ * Default values shown in the export dialog.
18208
+ *
18209
+ * **Note:** These values are defaults shown to the user in the export dialog. The user can still modify
18210
+ * them before export. If the user modifies a value in the dialog, the user choice takes precedence and
18211
+ * is not overridden by event handlers.
18212
+ *
18213
+ * The expected type is `sap.ui.export.TableExportSettings`. The `sap.ui.export` library must be loaded
18214
+ * before setting this aggregation.
18215
+ *
18216
+ * @since 1.148
18217
+ */
18218
+ getDefaultExportSettings(): UI5Element;
18174
18219
  /**
18175
18220
  * Gets current value of property {@link #getDelegate delegate}.
18176
18221
  *
@@ -18733,6 +18778,19 @@ declare module "sap/ui/mdc/Table" {
18733
18778
  */
18734
18779
  oDataStateIndicator: DataStateIndicator
18735
18780
  ): this;
18781
+ /**
18782
+ * Sets the aggregated {@link #getDefaultExportSettings defaultExportSettings}.
18783
+ *
18784
+ * @since 1.148
18785
+ *
18786
+ * @returns Reference to `this` in order to allow method chaining
18787
+ */
18788
+ setDefaultExportSettings(
18789
+ /**
18790
+ * The defaultExportSettings to set
18791
+ */
18792
+ oDefaultExportSettings: UI5Element
18793
+ ): this;
18736
18794
  /**
18737
18795
  * Sets a new value for property {@link #getDelegate delegate}.
18738
18796
  *
@@ -19731,6 +19789,20 @@ declare module "sap/ui/mdc/Table" {
19731
19789
  */
19732
19790
  rowSettings?: RowSettings;
19733
19791
 
19792
+ /**
19793
+ * Default values shown in the export dialog.
19794
+ *
19795
+ * **Note:** These values are defaults shown to the user in the export dialog. The user can still modify
19796
+ * them before export. If the user modifies a value in the dialog, the user choice takes precedence and
19797
+ * is not overridden by event handlers.
19798
+ *
19799
+ * The expected type is `sap.ui.export.TableExportSettings`. The `sap.ui.export` library must be loaded
19800
+ * before setting this aggregation.
19801
+ *
19802
+ * @since 1.148
19803
+ */
19804
+ defaultExportSettings?: UI5Element;
19805
+
19734
19806
  /**
19735
19807
  * `DataStateIndicator` plugin that can be used to show binding-related messages.
19736
19808
  *
@@ -21557,6 +21629,16 @@ declare module "sap/ui/mdc/table/GridTableType" {
21557
21629
  /**
21558
21630
  * The table type info class for the metadata-driven table.
21559
21631
  *
21632
+ *
21633
+ * **Important Notes for `{@link sap.ui.mdc.table.RowSettings#setRowActionCount rowActionCount}`:**
21634
+ *
21635
+ *
21636
+ * The `rowActionCount` property is used to determine the number of row actions that are displayed for each
21637
+ * row in the table. The actual number of displayed actions can be limited by the underlying table type:
21638
+ *
21639
+ * - `GridTable`: Maximum number of three actions including the overflow button. 0 means no actions are
21640
+ * visible.
21641
+ *
21560
21642
  * @since 1.65
21561
21643
  */
21562
21644
  export default class GridTableType extends TableTypeBase {
@@ -22122,6 +22204,18 @@ declare module "sap/ui/mdc/table/ResponsiveTableType" {
22122
22204
  /**
22123
22205
  * The table type info class for the metadata-driven table.
22124
22206
  *
22207
+ *
22208
+ * **Important Notes for `{@link sap.ui.mdc.table.RowSettings#setRowActionCount rowActionCount}`:**
22209
+ *
22210
+ *
22211
+ * The `rowActionCount` property is used to determine the number of row actions that are displayed for each
22212
+ * row in the table. The actual number of displayed actions can be limited by the underlying table type:
22213
+ *
22214
+ *
22215
+ * - `ResponsiveTable`: Maximum of 2-3 actions depending on configuration (1 navigation action + 2 additional
22216
+ * actions)
22217
+ * - `rowActionCount` = 0: navigation action is always visible if it exists
22218
+ *
22125
22219
  * @since 1.65
22126
22220
  */
22127
22221
  export default class ResponsiveTableType extends TableTypeBase {
@@ -22626,6 +22720,8 @@ declare module "sap/ui/mdc/table/RowActionItem" {
22626
22720
  * Setting the type ensures default values for the properties `icon` and `text`. If an icon or text is set
22627
22721
  * explicitly, this setting is used.
22628
22722
  *
22723
+ * Default value is `Custom`.
22724
+ *
22629
22725
  *
22630
22726
  * @returns Value of property `type`
22631
22727
  */
@@ -22687,6 +22783,8 @@ declare module "sap/ui/mdc/table/RowActionItem" {
22687
22783
  *
22688
22784
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22689
22785
  *
22786
+ * Default value is `Custom`.
22787
+ *
22690
22788
  *
22691
22789
  * @returns Reference to `this` in order to allow method chaining
22692
22790
  */
@@ -22694,7 +22792,7 @@ declare module "sap/ui/mdc/table/RowActionItem" {
22694
22792
  /**
22695
22793
  * New value for property `type`
22696
22794
  */
22697
- sType: TableRowActionType | keyof typeof TableRowActionType
22795
+ sType?: TableRowActionType | keyof typeof TableRowActionType
22698
22796
  ): this;
22699
22797
  /**
22700
22798
  * Sets a new value for property {@link #getVisible visible}.
@@ -22929,6 +23027,49 @@ declare module "sap/ui/mdc/table/RowSettings" {
22929
23027
  * @returns Value of property `navigated`
22930
23028
  */
22931
23029
  getNavigated(): boolean;
23030
+ /**
23031
+ * Gets current value of property {@link #getRowActionCount rowActionCount}.
23032
+ *
23033
+ * Defines the number of row actions to display.
23034
+ *
23035
+ * This property is useful for bound row actions where the count cannot be determined automatically. If
23036
+ * not set, the count is derived from:
23037
+ * - Bound actions: Defaults to 1 (must be set explicitly if multiple actions exist)
23038
+ * - Static actions: The length of the `rowActions` aggregation
23039
+ *
23040
+ * **Note:**
23041
+ * If the `rowActionCount` property is not explicitly set, the table will automatically determine the number
23042
+ * of row actions that is displayed based on the configuration of the `RowSettings` and the underlying table
23043
+ * type. In this case, the table will check how many actions are configured in the `RowSettings` and will
23044
+ * display as many actions as possible up to the maximum number of actions supported by the underlying table
23045
+ * type.
23046
+ *
23047
+ *
23048
+ * If the `rowActionCount` property is explicitly set, its value will be used to determine how many row
23049
+ * actions are displayed, regardless of the number of actions configured in the `RowSettings`. However,
23050
+ * the actual number of displayed actions will still be limited by the maximum number of actions supported
23051
+ * by the underlying table type.
23052
+ *
23053
+ * **Example:**
23054
+ * If the underlying table type supports a maximum number of 3 row actions, and there are 5 actions configured
23055
+ * in the `RowSettings`:
23056
+ *
23057
+ *
23058
+ * - `rowActionCount` is not set, the table will display 3 actions (the maximum supported).
23059
+ * - `rowActionCount` is set to 2, the table will display 2 actions (as specified), even though more actions
23060
+ * are configured in the `RowSettings`.
23061
+ *
23062
+ * For bound row actions, the `rowActionCount` must be set explicitly, as the count cannot be determined
23063
+ * automatically. For static actions, the count defaults to the length of the `rowActions` aggregation in
23064
+ * the `RowSettings`.
23065
+ *
23066
+ * Default value is `-1`.
23067
+ *
23068
+ * @since 1.148
23069
+ *
23070
+ * @returns Value of property `rowActionCount`
23071
+ */
23072
+ getRowActionCount(): int;
22932
23073
  /**
22933
23074
  * Gets content of aggregation {@link #getRowActions rowActions}.
22934
23075
  *
@@ -23056,6 +23197,56 @@ declare module "sap/ui/mdc/table/RowSettings" {
23056
23197
  */
23057
23198
  bNavigated?: boolean
23058
23199
  ): this;
23200
+ /**
23201
+ * Sets a new value for property {@link #getRowActionCount rowActionCount}.
23202
+ *
23203
+ * Defines the number of row actions to display.
23204
+ *
23205
+ * This property is useful for bound row actions where the count cannot be determined automatically. If
23206
+ * not set, the count is derived from:
23207
+ * - Bound actions: Defaults to 1 (must be set explicitly if multiple actions exist)
23208
+ * - Static actions: The length of the `rowActions` aggregation
23209
+ *
23210
+ * **Note:**
23211
+ * If the `rowActionCount` property is not explicitly set, the table will automatically determine the number
23212
+ * of row actions that is displayed based on the configuration of the `RowSettings` and the underlying table
23213
+ * type. In this case, the table will check how many actions are configured in the `RowSettings` and will
23214
+ * display as many actions as possible up to the maximum number of actions supported by the underlying table
23215
+ * type.
23216
+ *
23217
+ *
23218
+ * If the `rowActionCount` property is explicitly set, its value will be used to determine how many row
23219
+ * actions are displayed, regardless of the number of actions configured in the `RowSettings`. However,
23220
+ * the actual number of displayed actions will still be limited by the maximum number of actions supported
23221
+ * by the underlying table type.
23222
+ *
23223
+ * **Example:**
23224
+ * If the underlying table type supports a maximum number of 3 row actions, and there are 5 actions configured
23225
+ * in the `RowSettings`:
23226
+ *
23227
+ *
23228
+ * - `rowActionCount` is not set, the table will display 3 actions (the maximum supported).
23229
+ * - `rowActionCount` is set to 2, the table will display 2 actions (as specified), even though more actions
23230
+ * are configured in the `RowSettings`.
23231
+ *
23232
+ * For bound row actions, the `rowActionCount` must be set explicitly, as the count cannot be determined
23233
+ * automatically. For static actions, the count defaults to the length of the `rowActions` aggregation in
23234
+ * the `RowSettings`.
23235
+ *
23236
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
23237
+ *
23238
+ * Default value is `-1`.
23239
+ *
23240
+ * @since 1.148
23241
+ *
23242
+ * @returns Reference to `this` in order to allow method chaining
23243
+ */
23244
+ setRowActionCount(
23245
+ /**
23246
+ * New value for property `rowActionCount`
23247
+ */
23248
+ iRowActionCount?: int
23249
+ ): this;
23059
23250
  }
23060
23251
  /**
23061
23252
  * Describes the settings that can be provided to the RowSettings constructor.
@@ -23088,6 +23279,44 @@ declare module "sap/ui/mdc/table/RowSettings" {
23088
23279
  */
23089
23280
  navigated?: boolean | PropertyBindingInfo | `{${string}}`;
23090
23281
 
23282
+ /**
23283
+ * Defines the number of row actions to display.
23284
+ *
23285
+ * This property is useful for bound row actions where the count cannot be determined automatically. If
23286
+ * not set, the count is derived from:
23287
+ * - Bound actions: Defaults to 1 (must be set explicitly if multiple actions exist)
23288
+ * - Static actions: The length of the `rowActions` aggregation
23289
+ *
23290
+ * **Note:**
23291
+ * If the `rowActionCount` property is not explicitly set, the table will automatically determine the number
23292
+ * of row actions that is displayed based on the configuration of the `RowSettings` and the underlying table
23293
+ * type. In this case, the table will check how many actions are configured in the `RowSettings` and will
23294
+ * display as many actions as possible up to the maximum number of actions supported by the underlying table
23295
+ * type.
23296
+ *
23297
+ *
23298
+ * If the `rowActionCount` property is explicitly set, its value will be used to determine how many row
23299
+ * actions are displayed, regardless of the number of actions configured in the `RowSettings`. However,
23300
+ * the actual number of displayed actions will still be limited by the maximum number of actions supported
23301
+ * by the underlying table type.
23302
+ *
23303
+ * **Example:**
23304
+ * If the underlying table type supports a maximum number of 3 row actions, and there are 5 actions configured
23305
+ * in the `RowSettings`:
23306
+ *
23307
+ *
23308
+ * - `rowActionCount` is not set, the table will display 3 actions (the maximum supported).
23309
+ * - `rowActionCount` is set to 2, the table will display 2 actions (as specified), even though more actions
23310
+ * are configured in the `RowSettings`.
23311
+ *
23312
+ * For bound row actions, the `rowActionCount` must be set explicitly, as the count cannot be determined
23313
+ * automatically. For static actions, the count defaults to the length of the `rowActions` aggregation in
23314
+ * the `RowSettings`.
23315
+ *
23316
+ * @since 1.148
23317
+ */
23318
+ rowActionCount?: int | PropertyBindingInfo | `{${string}}`;
23319
+
23091
23320
  /**
23092
23321
  * The actions that appear at the end of a row.
23093
23322
  *
@@ -23110,6 +23339,7 @@ declare module "sap/ui/mdc/table/TableTypeBase" {
23110
23339
  /**
23111
23340
  * The table type info base class for the metadata-driven table. Base class with no implementation.
23112
23341
  *
23342
+ *
23113
23343
  * @since 1.65
23114
23344
  */
23115
23345
  export default abstract class TableTypeBase extends UI5Element {
@@ -28221,10 +28451,14 @@ declare namespace sap {
28221
28451
 
28222
28452
  "sap/ui/mdc/LinkDelegate": undefined;
28223
28453
 
28454
+ "sap/ui/mdc/mixin/ActionToolbarMixin": undefined;
28455
+
28224
28456
  "sap/ui/mdc/mixin/AdaptationMixin": undefined;
28225
28457
 
28226
28458
  "sap/ui/mdc/mixin/DelegateMixin": undefined;
28227
28459
 
28460
+ "sap/ui/mdc/mixin/DynamicPropertiesMixin": undefined;
28461
+
28228
28462
  "sap/ui/mdc/mixin/FilterIntegrationMixin": undefined;
28229
28463
 
28230
28464
  "sap/ui/mdc/mixin/PromiseMixin": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -88,15 +88,15 @@ declare module "sap/ui/table/library" {
88
88
  */
89
89
  export enum RowActionType {
90
90
  /**
91
- * Custom defined Row Action.
91
+ * Custom-defined row action
92
92
  */
93
93
  Custom = "Custom",
94
94
  /**
95
- * Delete Row Action.
95
+ * Row action for deletion
96
96
  */
97
97
  Delete = "Delete",
98
98
  /**
99
- * Navigation Row Action.
99
+ * Navigation arrow (chevron) is shown
100
100
  */
101
101
  Navigation = "Navigation",
102
102
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.147.0
1
+ // For Library Version: 1.148.0
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**