@sapui5/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.
Files changed (64) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +16 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +35 -1
  7. package/types/sap.f.d.ts +117 -3
  8. package/types/sap.fe.core.d.ts +87 -61
  9. package/types/sap.fe.macros.d.ts +164 -21
  10. package/types/sap.fe.navigation.d.ts +92 -87
  11. package/types/sap.fe.placeholder.d.ts +1 -1
  12. package/types/sap.fe.templates.d.ts +25 -21
  13. package/types/sap.fe.test.d.ts +1 -1
  14. package/types/sap.fe.tools.d.ts +1 -1
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +67 -53
  17. package/types/sap.insights.d.ts +141 -40
  18. package/types/sap.landvisz.d.ts +1 -1
  19. package/types/sap.m.d.ts +458 -82
  20. package/types/sap.makit.d.ts +1 -1
  21. package/types/sap.me.d.ts +1 -1
  22. package/types/sap.ndc.d.ts +1 -1
  23. package/types/sap.ovp.d.ts +1 -1
  24. package/types/sap.rules.ui.d.ts +1 -1
  25. package/types/sap.sac.df.d.ts +519 -272
  26. package/types/sap.suite.ui.commons.d.ts +50 -6
  27. package/types/sap.suite.ui.generic.template.d.ts +22 -17
  28. package/types/sap.suite.ui.microchart.d.ts +1 -1
  29. package/types/sap.tnt.d.ts +17 -15
  30. package/types/sap.ui.codeeditor.d.ts +1 -1
  31. package/types/sap.ui.commons.d.ts +1 -1
  32. package/types/sap.ui.comp.d.ts +41 -62
  33. package/types/sap.ui.core.d.ts +504 -162
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +1 -1
  36. package/types/sap.ui.fl.d.ts +1 -54
  37. package/types/sap.ui.generic.app.d.ts +1 -1
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +11 -1
  40. package/types/sap.ui.layout.d.ts +1 -1
  41. package/types/sap.ui.mdc.d.ts +1023 -262
  42. package/types/sap.ui.richtexteditor.d.ts +1 -1
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -1
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +913 -1
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +1 -1
  49. package/types/sap.ui.ux3.d.ts +1 -1
  50. package/types/sap.ui.vbm.d.ts +1 -1
  51. package/types/sap.ui.vk.d.ts +367 -1
  52. package/types/sap.ui.vtm.d.ts +1 -1
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +113 -115
  55. package/types/sap.ui.webc.main.d.ts +299 -306
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +534 -14
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +1 -1
  60. package/types/sap.viz.d.ts +1 -1
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.118.0
1
+ // For Library Version: 1.119.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -296,6 +296,14 @@ declare namespace sap {
296
296
  | Function
297
297
  | sap.ui.base.ManagedObject.PropertyBindingInfo
298
298
  | `{${string}}`;
299
+
300
+ /**
301
+ * Defines the multi-selection mode for the inner list control.
302
+ */
303
+ multiSelectMode?:
304
+ | sap.m.MultiSelectMode
305
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
306
+ | `{${string}}`;
299
307
  }
300
308
 
301
309
  interface $SortPanelSettings
@@ -1515,6 +1523,16 @@ declare namespace sap {
1515
1523
  * @returns Value of property `itemFactory`
1516
1524
  */
1517
1525
  getItemFactory(): Function;
1526
+ /**
1527
+ * Gets current value of property {@link #getMultiSelectMode multiSelectMode}.
1528
+ *
1529
+ * Defines the multi-selection mode for the inner list control.
1530
+ *
1531
+ * Default value is `ClearAll`.
1532
+ *
1533
+ * @returns Value of property `multiSelectMode`
1534
+ */
1535
+ getMultiSelectMode(): sap.m.MultiSelectMode;
1518
1536
  /**
1519
1537
  * Gets current value of property {@link #getShowHeader showHeader}.
1520
1538
  *
@@ -1607,6 +1625,23 @@ declare namespace sap {
1607
1625
  */
1608
1626
  fnItemFactory: Function
1609
1627
  ): this;
1628
+ /**
1629
+ * Sets a new value for property {@link #getMultiSelectMode multiSelectMode}.
1630
+ *
1631
+ * Defines the multi-selection mode for the inner list control.
1632
+ *
1633
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1634
+ *
1635
+ * Default value is `ClearAll`.
1636
+ *
1637
+ * @returns Reference to `this` in order to allow method chaining
1638
+ */
1639
+ setMultiSelectMode(
1640
+ /**
1641
+ * New value for property `multiSelectMode`
1642
+ */
1643
+ sMultiSelectMode?: sap.m.MultiSelectMode
1644
+ ): this;
1610
1645
  /**
1611
1646
  * Sets the personalization state of the panel instance.
1612
1647
  *
@@ -2056,6 +2091,25 @@ declare namespace sap {
2056
2091
  ) => any | any[] | undefined | null;
2057
2092
  }
2058
2093
 
2094
+ interface $CellSelectorSettings extends sap.ui.core.$ElementSettings {
2095
+ /**
2096
+ * For the {@link sap.ui.table.Table} control, defines the number of row contexts that needs to be retrived
2097
+ * from the binding when the range selection (e.g. enhancing the cell selection block to cover all rows
2098
+ * of a column) is triggered by the user. This helps to make the contexts already available for the user
2099
+ * actions after the cell selection (e.g. copy to clipboard). This property accepts positive integer values.
2100
+ * **Note:** To avoid performance problems, the `rangeLimit` should only be set higher than the default
2101
+ * value of 200 in the following cases:
2102
+ * - With client-side models
2103
+ * - With server-side models if they are used in client mode
2104
+ * - If the entity set is small In other cases, it is recommended to set the `rangeLimit` to at
2105
+ * least double the value of the {@link sap.ui.table.Table#getThreshold threshold} property.
2106
+ */
2107
+ rangeLimit?:
2108
+ | int
2109
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
2110
+ | `{${string}}`;
2111
+ }
2112
+
2059
2113
  interface $ColumnResizerSettings extends sap.ui.core.$ElementSettings {
2060
2114
  /**
2061
2115
  * This event is fired when the column is resized.
@@ -2122,6 +2176,21 @@ declare namespace sap {
2122
2176
  | sap.ui.base.ManagedObject.PropertyBindingInfo
2123
2177
  | `{${string}}`;
2124
2178
 
2179
+ /**
2180
+ * @since 1.119
2181
+ *
2182
+ * This property determines the copy preference when performing a copy operation.
2183
+ *
2184
+ * If the property is set to `Full`, all selected content is copied. This includes selected rows and cells.
2185
+ *
2186
+ * If the property is set to `Cells`, cell selection takes precedence during copying. If cells are selected
2187
+ * along with rows, only the cell selection is copied. If no cells are selected, the row selection is copied.
2188
+ */
2189
+ copyPreference?:
2190
+ | sap.m.plugins.CopyPreference
2191
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
2192
+ | `{${string}}`;
2193
+
2125
2194
  /**
2126
2195
  * This event is fired if there is a selection, and the user triggers the copy action.
2127
2196
  *
@@ -2265,6 +2334,135 @@ declare namespace sap {
2265
2334
  text?: string;
2266
2335
  }
2267
2336
 
2337
+ /**
2338
+ * @since 1.119
2339
+ * @experimental (since 1.119) - This class is experimental. The API might be changed in the future.
2340
+ *
2341
+ * The `CellSelector` plugin enables cell selection inside the table when it is added as a dependent to
2342
+ * the control. It allows the user to individually select a cell block.
2343
+ *
2344
+ * The `CellSelector` plugin currently does not offer touch support.
2345
+ *
2346
+ * The `CellSelector` plugin cannot be used if the following applies:
2347
+ * - Drag for rows is active
2348
+ * - The target control is not a {@link sap.ui.table.Table}
2349
+ * - If used in combination with {@link sap.ui.table.Table#cellClick} If used in combination with
2350
+ * the following selection behavior: `sap.ui.table.SelectionBehavior.RowOnly` and `sap.ui.table.SelectionBehavior.Row`
2351
+ *
2352
+ *
2353
+ * When the `CellSelector` is used in combination with the {@link sap.ui.mdc.Table}, modifying the following
2354
+ * settings on the {@link sap.ui.mdc.Table} may lead to problems:
2355
+ * - attaching a {@link sap.ui.mdc.Table#rowPress rowPress} event to the table after initialization of
2356
+ * table and plugin
2357
+ * - changing {@link sap.ui.mdc.Table#getSelectionMode selectionMode} to something else than `Multi`
2358
+ */
2359
+ class CellSelector extends sap.ui.core.Element {
2360
+ /**
2361
+ * Constructor for a new CellSelector plugin.
2362
+ *
2363
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
2364
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
2365
+ * of the syntax of the settings object.
2366
+ */
2367
+ constructor(
2368
+ /**
2369
+ * Initial settings for the new `CellSelector`
2370
+ */
2371
+ mSettings?: sap.m.plugins.$CellSelectorSettings
2372
+ );
2373
+ /**
2374
+ * Constructor for a new CellSelector plugin.
2375
+ *
2376
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
2377
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
2378
+ * of the syntax of the settings object.
2379
+ */
2380
+ constructor(
2381
+ /**
2382
+ * ID for the new `CellSelector`, generated automatically if no id is given
2383
+ */
2384
+ sId?: string,
2385
+ /**
2386
+ * Initial settings for the new `CellSelector`
2387
+ */
2388
+ mSettings?: sap.m.plugins.$CellSelectorSettings
2389
+ );
2390
+
2391
+ /**
2392
+ * Creates a new subclass of class sap.m.plugins.CellSelector with name `sClassName` and enriches it with
2393
+ * the information contained in `oClassInfo`.
2394
+ *
2395
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
2396
+ *
2397
+ * @returns Created class / constructor function
2398
+ */
2399
+ static extend<T extends Record<string, unknown>>(
2400
+ /**
2401
+ * Name of the class being created
2402
+ */
2403
+ sClassName: string,
2404
+ /**
2405
+ * Object literal with information about the class
2406
+ */
2407
+ oClassInfo?: sap.ClassInfo<T, sap.m.plugins.CellSelector>,
2408
+ /**
2409
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
2410
+ * used by this class
2411
+ */
2412
+ FNMetaImpl?: Function
2413
+ ): Function;
2414
+ /**
2415
+ * Returns a metadata object for class sap.m.plugins.CellSelector.
2416
+ *
2417
+ * @returns Metadata object describing this class
2418
+ */
2419
+ static getMetadata(): sap.ui.core.ElementMetadata;
2420
+ /**
2421
+ * Gets current value of property {@link #getRangeLimit rangeLimit}.
2422
+ *
2423
+ * For the {@link sap.ui.table.Table} control, defines the number of row contexts that needs to be retrived
2424
+ * from the binding when the range selection (e.g. enhancing the cell selection block to cover all rows
2425
+ * of a column) is triggered by the user. This helps to make the contexts already available for the user
2426
+ * actions after the cell selection (e.g. copy to clipboard). This property accepts positive integer values.
2427
+ * **Note:** To avoid performance problems, the `rangeLimit` should only be set higher than the default
2428
+ * value of 200 in the following cases:
2429
+ * - With client-side models
2430
+ * - With server-side models if they are used in client mode
2431
+ * - If the entity set is small In other cases, it is recommended to set the `rangeLimit` to at
2432
+ * least double the value of the {@link sap.ui.table.Table#getThreshold threshold} property.
2433
+ *
2434
+ * Default value is `200`.
2435
+ *
2436
+ * @returns Value of property `rangeLimit`
2437
+ */
2438
+ getRangeLimit(): int;
2439
+ /**
2440
+ * Sets a new value for property {@link #getRangeLimit rangeLimit}.
2441
+ *
2442
+ * For the {@link sap.ui.table.Table} control, defines the number of row contexts that needs to be retrived
2443
+ * from the binding when the range selection (e.g. enhancing the cell selection block to cover all rows
2444
+ * of a column) is triggered by the user. This helps to make the contexts already available for the user
2445
+ * actions after the cell selection (e.g. copy to clipboard). This property accepts positive integer values.
2446
+ * **Note:** To avoid performance problems, the `rangeLimit` should only be set higher than the default
2447
+ * value of 200 in the following cases:
2448
+ * - With client-side models
2449
+ * - With server-side models if they are used in client mode
2450
+ * - If the entity set is small In other cases, it is recommended to set the `rangeLimit` to at
2451
+ * least double the value of the {@link sap.ui.table.Table#getThreshold threshold} property.
2452
+ *
2453
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2454
+ *
2455
+ * Default value is `200`.
2456
+ *
2457
+ * @returns Reference to `this` in order to allow method chaining
2458
+ */
2459
+ setRangeLimit(
2460
+ /**
2461
+ * New value for property `rangeLimit`
2462
+ */
2463
+ iRangeLimit?: int
2464
+ ): this;
2465
+ }
2268
2466
  /**
2269
2467
  * @since 1.91
2270
2468
  *
@@ -2612,6 +2810,23 @@ declare namespace sap {
2612
2810
  */
2613
2811
  mSettings?: object
2614
2812
  ): sap.m.OverflowToolbarButton;
2813
+ /**
2814
+ * @since 1.119
2815
+ *
2816
+ * Gets current value of property {@link #getCopyPreference copyPreference}.
2817
+ *
2818
+ * This property determines the copy preference when performing a copy operation.
2819
+ *
2820
+ * If the property is set to `Full`, all selected content is copied. This includes selected rows and cells.
2821
+ *
2822
+ * If the property is set to `Cells`, cell selection takes precedence during copying. If cells are selected
2823
+ * along with rows, only the cell selection is copied. If no cells are selected, the row selection is copied.
2824
+ *
2825
+ * Default value is `Cells`.
2826
+ *
2827
+ * @returns Value of property `copyPreference`
2828
+ */
2829
+ getCopyPreference(): sap.m.plugins.CopyPreference;
2615
2830
  /**
2616
2831
  * Gets current value of property {@link #getCopySparse copySparse}.
2617
2832
  *
@@ -2682,6 +2897,30 @@ declare namespace sap {
2682
2897
  * @returns Value of property `visible`
2683
2898
  */
2684
2899
  getVisible(): boolean;
2900
+ /**
2901
+ * @since 1.119
2902
+ *
2903
+ * Sets a new value for property {@link #getCopyPreference copyPreference}.
2904
+ *
2905
+ * This property determines the copy preference when performing a copy operation.
2906
+ *
2907
+ * If the property is set to `Full`, all selected content is copied. This includes selected rows and cells.
2908
+ *
2909
+ * If the property is set to `Cells`, cell selection takes precedence during copying. If cells are selected
2910
+ * along with rows, only the cell selection is copied. If no cells are selected, the row selection is copied.
2911
+ *
2912
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2913
+ *
2914
+ * Default value is `Cells`.
2915
+ *
2916
+ * @returns Reference to `this` in order to allow method chaining
2917
+ */
2918
+ setCopyPreference(
2919
+ /**
2920
+ * New value for property `copyPreference`
2921
+ */
2922
+ sCopyPreference?: sap.m.plugins.CopyPreference
2923
+ ): this;
2685
2924
  /**
2686
2925
  * Sets a new value for property {@link #getCopySparse copySparse}.
2687
2926
  *
@@ -3443,6 +3682,23 @@ declare namespace sap {
3443
3682
  oPasteFor: sap.ui.core.ID | sap.ui.core.Control
3444
3683
  ): this;
3445
3684
  }
3685
+ /**
3686
+ * @since 1.119
3687
+ *
3688
+ * Enumeration of the `copyPreference` in `CopyProvider`. Determines what is copied during a copy operation.
3689
+ */
3690
+ enum CopyPreference {
3691
+ /**
3692
+ * If cells are selected, only the content of the selected cells is copied, regardless of any other rows
3693
+ * or elements that might also be selected. If no cells are selected, the copy operation will default to
3694
+ * copying the selected rows.
3695
+ */
3696
+ Cells = "Cells",
3697
+ /**
3698
+ * The entire selected scope is copied, including both row and cell selection.
3699
+ */
3700
+ Full = "Full",
3701
+ }
3446
3702
 
3447
3703
  type ColumnResizer$ColumnResizeEvent = sap.ui.base.Event<
3448
3704
  ColumnResizer$ColumnResizeEventParameters,
@@ -13063,6 +13319,30 @@ declare namespace sap {
13063
13319
  }
13064
13320
 
13065
13321
  namespace upload {
13322
+ namespace UploadSetwithTable {
13323
+ /**
13324
+ * Item info object sent as paramter to {@link sap.m.upload.UploadSetwithTable.itemValidationHandler itemValidationHandler callback}
13325
+ */
13326
+ type ItemInfo = {
13327
+ /**
13328
+ * Current item queued for upload.
13329
+ */
13330
+ oItem: /* was: sap.m.upload.UploadSetwithTableItem */ any;
13331
+ /**
13332
+ * Total count of items queued for upload.
13333
+ */
13334
+ iTotalItemsForUpload: number;
13335
+ };
13336
+
13337
+ /**
13338
+ * Callback function to perform additional validations or configurations for the item queued up for upload
13339
+ * and to finally trigger the upload.
13340
+ */
13341
+ type itemValidationHandler = (
13342
+ oItemInfo: sap.m.upload.UploadSetwithTable.ItemInfo
13343
+ ) => Promise</* was: sap.m.upload.UploadSetwithTableItem */ any>;
13344
+ }
13345
+
13066
13346
  interface $UploaderSettings extends sap.ui.core.$ElementSettings {
13067
13347
  /**
13068
13348
  * URL where the next file is going to be uploaded to.
@@ -18261,6 +18541,15 @@ declare namespace sap {
18261
18541
  ): void;
18262
18542
  }
18263
18543
 
18544
+ /**
18545
+ * @since 1.119
18546
+ *
18547
+ * Common interface for sap.m.ColumnListItem and sap.m.GroupHeaderListItem
18548
+ */
18549
+ interface ITableItem {
18550
+ __implements__sap_m_ITableItem: boolean;
18551
+ }
18552
+
18264
18553
  /**
18265
18554
  * sap.m.NavContainerChild is an artificial interface with the only purpose to bear the documentation of
18266
18555
  * pseudo events triggered by sap.m.NavContainer on its child controls when navigation occurs and child
@@ -21460,6 +21749,8 @@ declare namespace sap {
21460
21749
  | `{${string}}`;
21461
21750
 
21462
21751
  /**
21752
+ * @deprecated (since 1.88) - Image replaced by {@link sap.m.Avatar }
21753
+ *
21463
21754
  * Some mobile devices support higher resolution images while others do not. Therefore, you should provide
21464
21755
  * image resources for all relevant densities. If the property is set to "true", one or more requests are
21465
21756
  * sent to the server to try and get the perfect density version of an image. If an image of a certain density
@@ -21469,8 +21760,6 @@ declare namespace sap {
21469
21760
  * round-trips.
21470
21761
  *
21471
21762
  * Please be aware that this property is relevant only for images and not for icons.
21472
- *
21473
- * Deprecated as of version 1.88. Image is replaced by avatar.
21474
21763
  */
21475
21764
  iconDensityAware?:
21476
21765
  | boolean
@@ -21490,9 +21779,10 @@ declare namespace sap {
21490
21779
  | `{${string}}`;
21491
21780
 
21492
21781
  /**
21782
+ * @deprecated (since 1.88) - This will not have any effect in code now.
21783
+ *
21493
21784
  * Text for Picture which will be read by screenreader. If a new ariaLabelForPicture is set, any previously
21494
- * set ariaLabelForPicture is deactivated. Deprecated as of version 1.88. This will not have any effect
21495
- * in code now.
21785
+ * set ariaLabelForPicture is deactivated.
21496
21786
  */
21497
21787
  ariaLabelForPicture?:
21498
21788
  | string
@@ -21607,12 +21897,12 @@ declare namespace sap {
21607
21897
  | `{${string}}`;
21608
21898
 
21609
21899
  /**
21900
+ * @deprecated (since 1.88) - Image is replaced by {@link sap.m.Avatar }
21901
+ *
21610
21902
  * By default, this is set to true but then one or more requests are sent trying to get the density perfect
21611
21903
  * version of image if this version of image doesn't exist on the server.
21612
21904
  *
21613
21905
  * If bandwidth is the key for the application, set this value to false.
21614
- *
21615
- * Deprecated as of version 1.88. Image is replaced by avatar.
21616
21906
  */
21617
21907
  iconDensityAware?:
21618
21908
  | boolean
@@ -23555,6 +23845,7 @@ declare namespace sap {
23555
23845
 
23556
23846
  /**
23557
23847
  * @since 1.21.0
23848
+ * @deprecated (since 1.119) - The property valueHelpOnly should not be used anymore
23558
23849
  *
23559
23850
  * If set to true, direct text input is disabled and the control will trigger the event "valueHelpRequest"
23560
23851
  * for all user interactions. The properties "showValueHelp", "editable", and "enabled" must be set to true,
@@ -23775,9 +24066,8 @@ declare namespace sap {
23775
24066
  * to come would overwrite the previous ones.
23776
24067
  */
23777
24068
  suggestionRows?:
23778
- | Array<sap.m.GroupHeaderListItem | sap.m.ColumnListItem>
23779
- | sap.m.GroupHeaderListItem
23780
- | sap.m.ColumnListItem
24069
+ | sap.m.ITableItem[]
24070
+ | sap.m.ITableItem
23781
24071
  | sap.ui.base.ManagedObject.AggregationBindingInfo
23782
24072
  | `{${string}}`;
23783
24073
 
@@ -28760,6 +29050,7 @@ declare namespace sap {
28760
29050
 
28761
29051
  /**
28762
29052
  * @since 1.38.0
29053
+ * @deprecated (since 1.119) - Please use the `appointmentHeight` with value "Automatic" property instead.
28763
29054
  *
28764
29055
  * Determines whether the appointments that have only title without text are rendered with smaller height.
28765
29056
  *
@@ -29054,10 +29345,18 @@ declare namespace sap {
29054
29345
 
29055
29346
  /**
29056
29347
  * @since 1.46.0
29348
+ * @deprecated (since 1.119)
29057
29349
  *
29058
29350
  * Fires when a row header is clicked.
29059
29351
  */
29060
29352
  rowHeaderClick?: (oEvent: PlanningCalendar$RowHeaderClickEvent) => void;
29353
+
29354
+ /**
29355
+ * @since 1.119.0
29356
+ *
29357
+ * Fires when a row header press is triggered with mouse click, SPACE or ENTER press.
29358
+ */
29359
+ rowHeaderPress?: (oEvent: PlanningCalendar$RowHeaderPressEvent) => void;
29061
29360
  }
29062
29361
 
29063
29362
  interface $PlanningCalendarLegendSettings
@@ -37290,6 +37589,21 @@ declare namespace sap {
37290
37589
  row?: sap.m.PlanningCalendarRow;
37291
37590
  }
37292
37591
 
37592
+ interface PlanningCalendar$RowHeaderPressEventParameters {
37593
+ /**
37594
+ * The ID of the `PlanningCalendarRowHeader` of the selected appointment.
37595
+ *
37596
+ * **Note:** Intended to be used as an easy way to get an ID of a `PlanningCalendarRowHeader`. Do NOT use
37597
+ * for modification.
37598
+ */
37599
+ headerId?: string;
37600
+
37601
+ /**
37602
+ * The row user pressed.
37603
+ */
37604
+ row?: sap.m.PlanningCalendarRow;
37605
+ }
37606
+
37293
37607
  interface PlanningCalendar$RowSelectionChangeEventParameters {
37294
37608
  /**
37295
37609
  * Array of rows whose selection has changed.
@@ -49205,7 +49519,10 @@ declare namespace sap {
49205
49519
  * **Note:** This control should only be used within the `sap.m.Table` control. The inherited `counter`
49206
49520
  * property of `sap.m.ListItemBase` is not supported.
49207
49521
  */
49208
- class ColumnListItem extends sap.m.ListItemBase {
49522
+ class ColumnListItem
49523
+ extends sap.m.ListItemBase
49524
+ implements sap.m.ITableItem {
49525
+ __implements__sap_m_ITableItem: boolean;
49209
49526
  /**
49210
49527
  * Constructor for a new ColumnListItem.
49211
49528
  *
@@ -59035,11 +59352,12 @@ declare namespace sap {
59035
59352
  mParameters?: sap.m.FeedInput$PostEventParameters
59036
59353
  ): this;
59037
59354
  /**
59355
+ * @deprecated (since 1.88) - This will not have any effect in code now.
59356
+ *
59038
59357
  * Gets current value of property {@link #getAriaLabelForPicture ariaLabelForPicture}.
59039
59358
  *
59040
59359
  * Text for Picture which will be read by screenreader. If a new ariaLabelForPicture is set, any previously
59041
- * set ariaLabelForPicture is deactivated. Deprecated as of version 1.88. This will not have any effect
59042
- * in code now.
59360
+ * set ariaLabelForPicture is deactivated.
59043
59361
  *
59044
59362
  * @returns Value of property `ariaLabelForPicture`
59045
59363
  */
@@ -59100,6 +59418,8 @@ declare namespace sap {
59100
59418
  */
59101
59419
  getIcon(): sap.ui.core.URI;
59102
59420
  /**
59421
+ * @deprecated (since 1.88) - Image replaced by {@link sap.m.Avatar }
59422
+ *
59103
59423
  * Gets current value of property {@link #getIconDensityAware iconDensityAware}.
59104
59424
  *
59105
59425
  * Some mobile devices support higher resolution images while others do not. Therefore, you should provide
@@ -59112,8 +59432,6 @@ declare namespace sap {
59112
59432
  *
59113
59433
  * Please be aware that this property is relevant only for images and not for icons.
59114
59434
  *
59115
- * Deprecated as of version 1.88. Image is replaced by avatar.
59116
- *
59117
59435
  * Default value is `true`.
59118
59436
  *
59119
59437
  * @returns Value of property `iconDensityAware`
@@ -59222,11 +59540,12 @@ declare namespace sap {
59222
59540
  */
59223
59541
  getValue(): string;
59224
59542
  /**
59543
+ * @deprecated (since 1.88) - This will not have any effect in code now.
59544
+ *
59225
59545
  * Sets a new value for property {@link #getAriaLabelForPicture ariaLabelForPicture}.
59226
59546
  *
59227
59547
  * Text for Picture which will be read by screenreader. If a new ariaLabelForPicture is set, any previously
59228
- * set ariaLabelForPicture is deactivated. Deprecated as of version 1.88. This will not have any effect
59229
- * in code now.
59548
+ * set ariaLabelForPicture is deactivated.
59230
59549
  *
59231
59550
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
59232
59551
  *
@@ -59329,6 +59648,8 @@ declare namespace sap {
59329
59648
  sIcon?: sap.ui.core.URI
59330
59649
  ): this;
59331
59650
  /**
59651
+ * @deprecated (since 1.88) - Image replaced by {@link sap.m.Avatar }
59652
+ *
59332
59653
  * Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
59333
59654
  *
59334
59655
  * Some mobile devices support higher resolution images while others do not. Therefore, you should provide
@@ -59341,8 +59662,6 @@ declare namespace sap {
59341
59662
  *
59342
59663
  * Please be aware that this property is relevant only for images and not for icons.
59343
59664
  *
59344
- * Deprecated as of version 1.88. Image is replaced by avatar.
59345
- *
59346
59665
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
59347
59666
  *
59348
59667
  * Default value is `true`.
@@ -59824,6 +60143,8 @@ declare namespace sap {
59824
60143
  */
59825
60144
  getIconActive(): boolean;
59826
60145
  /**
60146
+ * @deprecated (since 1.88) - Image is replaced by {@link sap.m.Avatar }
60147
+ *
59827
60148
  * Gets current value of property {@link #getIconDensityAware iconDensityAware}.
59828
60149
  *
59829
60150
  * By default, this is set to true but then one or more requests are sent trying to get the density perfect
@@ -59831,8 +60152,6 @@ declare namespace sap {
59831
60152
  *
59832
60153
  * If bandwidth is the key for the application, set this value to false.
59833
60154
  *
59834
- * Deprecated as of version 1.88. Image is replaced by avatar.
59835
- *
59836
60155
  * Default value is `true`.
59837
60156
  *
59838
60157
  * @returns Value of property `iconDensityAware`
@@ -60110,6 +60429,8 @@ declare namespace sap {
60110
60429
  bIconActive?: boolean
60111
60430
  ): this;
60112
60431
  /**
60432
+ * @deprecated (since 1.88) - Image is replaced by {@link sap.m.Avatar }
60433
+ *
60113
60434
  * Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
60114
60435
  *
60115
60436
  * By default, this is set to true but then one or more requests are sent trying to get the density perfect
@@ -60117,8 +60438,6 @@ declare namespace sap {
60117
60438
  *
60118
60439
  * If bandwidth is the key for the application, set this value to false.
60119
60440
  *
60120
- * Deprecated as of version 1.88. Image is replaced by avatar.
60121
- *
60122
60441
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
60123
60442
  *
60124
60443
  * Default value is `true`.
@@ -63445,7 +63764,10 @@ declare namespace sap {
63445
63764
  * in `sap.m.List` and `sap.m.Table`. **Note:** The inherited properties `unread`, `selected`, `counter`
63446
63765
  * and `press` event from `sap.m.ListItemBase` are not supported.
63447
63766
  */
63448
- class GroupHeaderListItem extends sap.m.ListItemBase {
63767
+ class GroupHeaderListItem
63768
+ extends sap.m.ListItemBase
63769
+ implements sap.m.ITableItem {
63770
+ __implements__sap_m_ITableItem: boolean;
63449
63771
  /**
63450
63772
  * Constructor for a new GroupHeaderListItem.
63451
63773
  *
@@ -68769,7 +69091,7 @@ declare namespace sap {
68769
69091
  /**
68770
69092
  * The suggestionRow to add; if empty, nothing is inserted
68771
69093
  */
68772
- vSuggestionRow: sap.m.ColumnListItem | sap.m.GroupHeaderListItem
69094
+ oSuggestionRow: sap.m.ITableItem
68773
69095
  ): this;
68774
69096
  /**
68775
69097
  * Attaches event handler `fnFunction` to the {@link #event:liveChange liveChange} event of this `sap.m.Input`.
@@ -69567,9 +69889,7 @@ declare namespace sap {
69567
69889
  * event method. **Note:** If `suggestionItems` & `suggestionRows` are set in parallel, the last aggeragtion
69568
69890
  * to come would overwrite the previous ones.
69569
69891
  */
69570
- getSuggestionRows(): Array<
69571
- sap.m.ColumnListItem | sap.m.GroupHeaderListItem
69572
- >;
69892
+ getSuggestionRows(): sap.m.ITableItem[];
69573
69893
  /**
69574
69894
  * @since 1.44
69575
69895
  *
@@ -69639,6 +69959,7 @@ declare namespace sap {
69639
69959
  getValueHelpIconSrc(): sap.ui.core.URI;
69640
69960
  /**
69641
69961
  * @since 1.21.0
69962
+ * @deprecated (since 1.119) - The property valueHelpOnly should not be used anymore
69642
69963
  *
69643
69964
  * Gets current value of property {@link #getValueHelpOnly valueHelpOnly}.
69644
69965
  *
@@ -69711,7 +70032,7 @@ declare namespace sap {
69711
70032
  /**
69712
70033
  * @since 1.21.1
69713
70034
  *
69714
- * Checks for the provided `sap.m.ColumnListItem` in the aggregation {@link #getSuggestionRows suggestionRows}.
70035
+ * Checks for the provided `sap.m.ITableItem` in the aggregation {@link #getSuggestionRows suggestionRows}.
69715
70036
  * and returns its index if found or -1 otherwise.
69716
70037
  *
69717
70038
  * @returns The index of the provided control in the aggregation if found, or -1 otherwise
@@ -69720,7 +70041,7 @@ declare namespace sap {
69720
70041
  /**
69721
70042
  * The suggestionRow whose index is looked for
69722
70043
  */
69723
- vSuggestionRow: sap.m.ColumnListItem | sap.m.GroupHeaderListItem
70044
+ oSuggestionRow: sap.m.ITableItem
69724
70045
  ): int;
69725
70046
  /**
69726
70047
  * @since 1.21.1
@@ -69767,7 +70088,7 @@ declare namespace sap {
69767
70088
  /**
69768
70089
  * The suggestionRow to insert; if empty, nothing is inserted
69769
70090
  */
69770
- vSuggestionRow: sap.m.ColumnListItem | sap.m.GroupHeaderListItem,
70091
+ oSuggestionRow: sap.m.ITableItem,
69771
70092
  /**
69772
70093
  * The `0`-based index the suggestionRow should be inserted at; for a negative value of `iIndex`, the suggestionRow
69773
70094
  * is inserted at position 0; for a value greater than the current size of the aggregation, the suggestionRow
@@ -69790,6 +70111,7 @@ declare namespace sap {
69790
70111
  */
69791
70112
  isMobileDevice(): boolean;
69792
70113
  /**
70114
+ * @deprecated (since 1.119) - the property valueHelpOnly should not be used anymore
69793
70115
  * @ui5-protected Do not call from applications (only from related classes in the framework)
69794
70116
  *
69795
70117
  * Gets the supported openers for the valueHelpOnly. In the context of the Input, all targets are valid.
@@ -69925,9 +70247,7 @@ declare namespace sap {
69925
70247
  *
69926
70248
  * @returns An array of the removed elements (might be empty)
69927
70249
  */
69928
- removeAllSuggestionRows(): Array<
69929
- sap.m.ColumnListItem | sap.m.GroupHeaderListItem
69930
- >;
70250
+ removeAllSuggestionRows(): sap.m.ITableItem[];
69931
70251
  /**
69932
70252
  * @since 1.21.1
69933
70253
  *
@@ -69963,12 +70283,8 @@ declare namespace sap {
69963
70283
  /**
69964
70284
  * The suggestionRow to remove or its index or id
69965
70285
  */
69966
- vSuggestionRow:
69967
- | int
69968
- | string
69969
- | sap.m.ColumnListItem
69970
- | sap.m.GroupHeaderListItem
69971
- ): sap.m.ColumnListItem | sap.m.GroupHeaderListItem | null;
70286
+ vSuggestionRow: int | string | sap.m.ITableItem
70287
+ ): sap.m.ITableItem | null;
69972
70288
  /**
69973
70289
  * @since 1.61
69974
70290
  *
@@ -70475,6 +70791,7 @@ declare namespace sap {
70475
70791
  ): this;
70476
70792
  /**
70477
70793
  * @since 1.21.0
70794
+ * @deprecated (since 1.119) - The property valueHelpOnly should not be used anymore
70478
70795
  *
70479
70796
  * Sets a new value for property {@link #getValueHelpOnly valueHelpOnly}.
70480
70797
  *
@@ -82473,6 +82790,7 @@ declare namespace sap {
82473
82790
  iIndex: int
82474
82791
  ): this;
82475
82792
  /**
82793
+ * @deprecated (since 1.119) - the property valueHelpOnly should not be used anymore
82476
82794
  * @ui5-protected Do not call from applications (only from related classes in the framework)
82477
82795
  *
82478
82796
  * Gets the supported openers for the valueHelpOnly.
@@ -99431,6 +99749,7 @@ declare namespace sap {
99431
99749
  ): this;
99432
99750
  /**
99433
99751
  * @since 1.46.0
99752
+ * @deprecated (since 1.119)
99434
99753
  *
99435
99754
  * Attaches event handler `fnFunction` to the {@link #event:rowHeaderClick rowHeaderClick} event of this
99436
99755
  * `sap.m.PlanningCalendar`.
@@ -99459,6 +99778,7 @@ declare namespace sap {
99459
99778
  ): this;
99460
99779
  /**
99461
99780
  * @since 1.46.0
99781
+ * @deprecated (since 1.119)
99462
99782
  *
99463
99783
  * Attaches event handler `fnFunction` to the {@link #event:rowHeaderClick rowHeaderClick} event of this
99464
99784
  * `sap.m.PlanningCalendar`.
@@ -99480,6 +99800,57 @@ declare namespace sap {
99480
99800
  */
99481
99801
  oListener?: object
99482
99802
  ): this;
99803
+ /**
99804
+ * @since 1.119.0
99805
+ *
99806
+ * Attaches event handler `fnFunction` to the {@link #event:rowHeaderPress rowHeaderPress} event of this
99807
+ * `sap.m.PlanningCalendar`.
99808
+ *
99809
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
99810
+ * otherwise it will be bound to this `sap.m.PlanningCalendar` itself.
99811
+ *
99812
+ * Fires when a row header press is triggered with mouse click, SPACE or ENTER press.
99813
+ *
99814
+ * @returns Reference to `this` in order to allow method chaining
99815
+ */
99816
+ attachRowHeaderPress(
99817
+ /**
99818
+ * An application-specific payload object that will be passed to the event handler along with the event
99819
+ * object when firing the event
99820
+ */
99821
+ oData: object,
99822
+ /**
99823
+ * The function to be called when the event occurs
99824
+ */
99825
+ fnFunction: (p1: PlanningCalendar$RowHeaderPressEvent) => void,
99826
+ /**
99827
+ * Context object to call the event handler with. Defaults to this `sap.m.PlanningCalendar` itself
99828
+ */
99829
+ oListener?: object
99830
+ ): this;
99831
+ /**
99832
+ * @since 1.119.0
99833
+ *
99834
+ * Attaches event handler `fnFunction` to the {@link #event:rowHeaderPress rowHeaderPress} event of this
99835
+ * `sap.m.PlanningCalendar`.
99836
+ *
99837
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
99838
+ * otherwise it will be bound to this `sap.m.PlanningCalendar` itself.
99839
+ *
99840
+ * Fires when a row header press is triggered with mouse click, SPACE or ENTER press.
99841
+ *
99842
+ * @returns Reference to `this` in order to allow method chaining
99843
+ */
99844
+ attachRowHeaderPress(
99845
+ /**
99846
+ * The function to be called when the event occurs
99847
+ */
99848
+ fnFunction: (p1: PlanningCalendar$RowHeaderPressEvent) => void,
99849
+ /**
99850
+ * Context object to call the event handler with. Defaults to this `sap.m.PlanningCalendar` itself
99851
+ */
99852
+ oListener?: object
99853
+ ): this;
99483
99854
  /**
99484
99855
  * Attaches event handler `fnFunction` to the {@link #event:rowSelectionChange rowSelectionChange} event
99485
99856
  * of this `sap.m.PlanningCalendar`.
@@ -99687,6 +100058,7 @@ declare namespace sap {
99687
100058
  ): this;
99688
100059
  /**
99689
100060
  * @since 1.46.0
100061
+ * @deprecated (since 1.119)
99690
100062
  *
99691
100063
  * Detaches event handler `fnFunction` from the {@link #event:rowHeaderClick rowHeaderClick} event of this
99692
100064
  * `sap.m.PlanningCalendar`.
@@ -99705,6 +100077,26 @@ declare namespace sap {
99705
100077
  */
99706
100078
  oListener?: object
99707
100079
  ): this;
100080
+ /**
100081
+ * @since 1.119.0
100082
+ *
100083
+ * Detaches event handler `fnFunction` from the {@link #event:rowHeaderPress rowHeaderPress} event of this
100084
+ * `sap.m.PlanningCalendar`.
100085
+ *
100086
+ * The passed function and listener object must match the ones used for event registration.
100087
+ *
100088
+ * @returns Reference to `this` in order to allow method chaining
100089
+ */
100090
+ detachRowHeaderPress(
100091
+ /**
100092
+ * The function to be called, when the event occurs
100093
+ */
100094
+ fnFunction: (p1: PlanningCalendar$RowHeaderPressEvent) => void,
100095
+ /**
100096
+ * Context object on which the given function had to be called
100097
+ */
100098
+ oListener?: object
100099
+ ): this;
99708
100100
  /**
99709
100101
  * Detaches event handler `fnFunction` from the {@link #event:rowSelectionChange rowSelectionChange} event
99710
100102
  * of this `sap.m.PlanningCalendar`.
@@ -99786,6 +100178,7 @@ declare namespace sap {
99786
100178
  ): this;
99787
100179
  /**
99788
100180
  * @since 1.46.0
100181
+ * @deprecated (since 1.119)
99789
100182
  * @ui5-protected Do not call from applications (only from related classes in the framework)
99790
100183
  *
99791
100184
  * Fires event {@link #event:rowHeaderClick rowHeaderClick} to attached listeners.
@@ -99798,6 +100191,20 @@ declare namespace sap {
99798
100191
  */
99799
100192
  mParameters?: sap.m.PlanningCalendar$RowHeaderClickEventParameters
99800
100193
  ): this;
100194
+ /**
100195
+ * @since 1.119.0
100196
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
100197
+ *
100198
+ * Fires event {@link #event:rowHeaderPress rowHeaderPress} to attached listeners.
100199
+ *
100200
+ * @returns Reference to `this` in order to allow method chaining
100201
+ */
100202
+ fireRowHeaderPress(
100203
+ /**
100204
+ * Parameters to pass along with the event
100205
+ */
100206
+ mParameters?: sap.m.PlanningCalendar$RowHeaderPressEventParameters
100207
+ ): this;
99801
100208
  /**
99802
100209
  * @ui5-protected Do not call from applications (only from related classes in the framework)
99803
100210
  *
@@ -99865,6 +100272,7 @@ declare namespace sap {
99865
100272
  getAppointmentRoundWidth(): sap.ui.unified.CalendarAppointmentRoundWidth;
99866
100273
  /**
99867
100274
  * @since 1.38.0
100275
+ * @deprecated (since 1.119) - Please use the `appointmentHeight` with value "Automatic" property instead.
99868
100276
  *
99869
100277
  * Gets current value of property {@link #getAppointmentsReducedHeight appointmentsReducedHeight}.
99870
100278
  *
@@ -100523,6 +100931,7 @@ declare namespace sap {
100523
100931
  ): this;
100524
100932
  /**
100525
100933
  * @since 1.38.0
100934
+ * @deprecated (since 1.119) - Please use the `appointmentHeight` with value "Automatic" property instead.
100526
100935
  *
100527
100936
  * Sets a new value for property {@link #getAppointmentsReducedHeight appointmentsReducedHeight}.
100528
100937
  *
@@ -125417,17 +125826,6 @@ declare namespace sap {
125417
125826
  * @returns Metadata object describing this class
125418
125827
  */
125419
125828
  static getMetadata(): sap.ui.core.ElementMetadata;
125420
- /**
125421
- * Adds some item to the aggregation {@link #getItems items}.
125422
- *
125423
- * @returns Reference to `this` in order to allow method chaining
125424
- */
125425
- addItem(
125426
- /**
125427
- * The item to add; if empty, nothing is inserted
125428
- */
125429
- oItem: sap.m.TabContainerItem
125430
- ): this;
125431
125829
  /**
125432
125830
  * Attaches event handler `fnFunction` to the {@link #event:addNewButtonPress addNewButtonPress} event of
125433
125831
  * this `sap.m.TabContainer`.
@@ -125579,12 +125977,6 @@ declare namespace sap {
125579
125977
  */
125580
125978
  oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
125581
125979
  ): this;
125582
- /**
125583
- * Destroys all the items in the aggregation {@link #getItems items}.
125584
- *
125585
- * @returns Reference to `this` in order to allow method chaining
125586
- */
125587
- destroyItems(): this;
125588
125980
  /**
125589
125981
  * Detaches event handler `fnFunction` from the {@link #event:addNewButtonPress addNewButtonPress} event
125590
125982
  * of this `sap.m.TabContainer`.
@@ -125727,31 +126119,6 @@ declare namespace sap {
125727
126119
  */
125728
126120
  oItem: sap.m.TabContainerItem
125729
126121
  ): int;
125730
- /**
125731
- * Inserts a item into the aggregation {@link #getItems items}.
125732
- *
125733
- * @returns Reference to `this` in order to allow method chaining
125734
- */
125735
- insertItem(
125736
- /**
125737
- * The item to insert; if empty, nothing is inserted
125738
- */
125739
- oItem: sap.m.TabContainerItem,
125740
- /**
125741
- * The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
125742
- * at position 0; for a value greater than the current size of the aggregation, the item is inserted at
125743
- * the last position
125744
- */
125745
- iIndex: int
125746
- ): this;
125747
- /**
125748
- * Removes all the controls from the aggregation {@link #getItems items}.
125749
- *
125750
- * Additionally, it unregisters them from the hosting UIArea.
125751
- *
125752
- * @returns An array of the removed elements (might be empty)
125753
- */
125754
- removeAllItems(): sap.m.TabContainerItem[];
125755
126122
  /**
125756
126123
  * Removes an item from the aggregation named `items`.
125757
126124
  *
@@ -147345,6 +147712,11 @@ declare namespace sap {
147345
147712
  PlanningCalendar
147346
147713
  >;
147347
147714
 
147715
+ type PlanningCalendar$RowHeaderPressEvent = sap.ui.base.Event<
147716
+ PlanningCalendar$RowHeaderPressEventParameters,
147717
+ PlanningCalendar
147718
+ >;
147719
+
147348
147720
  type PlanningCalendar$RowSelectionChangeEvent = sap.ui.base.Event<
147349
147721
  PlanningCalendar$RowSelectionChangeEventParameters,
147350
147722
  PlanningCalendar
@@ -148354,6 +148726,8 @@ declare namespace sap {
148354
148726
 
148355
148727
  "sap/m/PlanningCalendarView": undefined;
148356
148728
 
148729
+ "sap/m/plugins/CellSelector": undefined;
148730
+
148357
148731
  "sap/m/plugins/ColumnResizer": undefined;
148358
148732
 
148359
148733
  "sap/m/plugins/CopyProvider": undefined;
@@ -148622,6 +148996,8 @@ declare namespace sap {
148622
148996
 
148623
148997
  "sap/m/upload/UploadSetToolbarPlaceholder": undefined;
148624
148998
 
148999
+ "sap/m/upload/UploadSetwithTable": undefined;
149000
+
148625
149001
  "sap/m/UploadCollection": undefined;
148626
149002
 
148627
149003
  "sap/m/UploadCollectionItem": undefined;