@sapui5/ts-types 1.124.0 → 1.125.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 (66) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +1 -1
  8. package/types/sap.f.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +7 -0
  10. package/types/sap.fe.core.d.ts +5 -5
  11. package/types/sap.fe.macros.d.ts +710 -112
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.placeholder.d.ts +1 -1
  14. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  15. package/types/sap.fe.templates.d.ts +1 -1
  16. package/types/sap.fe.test.d.ts +1 -1
  17. package/types/sap.fe.tools.d.ts +1 -1
  18. package/types/sap.feedback.ui.d.ts +1 -1
  19. package/types/sap.gantt.d.ts +363 -330
  20. package/types/sap.insights.d.ts +1 -1
  21. package/types/sap.m.d.ts +303 -87
  22. package/types/sap.makit.d.ts +1 -1
  23. package/types/sap.me.d.ts +1 -1
  24. package/types/sap.ndc.d.ts +1 -1
  25. package/types/sap.ovp.d.ts +1 -1
  26. package/types/sap.rules.ui.d.ts +1 -1
  27. package/types/sap.sac.df.d.ts +28 -234
  28. package/types/sap.suite.ui.commons.d.ts +10 -6
  29. package/types/sap.suite.ui.generic.template.d.ts +4 -4
  30. package/types/sap.suite.ui.microchart.d.ts +19 -19
  31. package/types/sap.tnt.d.ts +1 -1
  32. package/types/sap.ui.codeeditor.d.ts +1 -1
  33. package/types/sap.ui.commons.d.ts +1 -1
  34. package/types/sap.ui.comp.d.ts +110 -38
  35. package/types/sap.ui.core.d.ts +130 -80
  36. package/types/sap.ui.dt.d.ts +1 -1
  37. package/types/sap.ui.export.d.ts +1 -1
  38. package/types/sap.ui.fl.d.ts +3 -1
  39. package/types/sap.ui.generic.app.d.ts +1 -1
  40. package/types/sap.ui.generic.template.d.ts +1 -1
  41. package/types/sap.ui.integration.d.ts +6 -1
  42. package/types/sap.ui.layout.d.ts +1 -1
  43. package/types/sap.ui.mdc.d.ts +43 -10
  44. package/types/sap.ui.richtexteditor.d.ts +1 -1
  45. package/types/sap.ui.rta.d.ts +1 -1
  46. package/types/sap.ui.suite.d.ts +1 -1
  47. package/types/sap.ui.support.d.ts +1 -1
  48. package/types/sap.ui.table.d.ts +27 -16
  49. package/types/sap.ui.testrecorder.d.ts +1 -1
  50. package/types/sap.ui.unified.d.ts +1 -1
  51. package/types/sap.ui.ux3.d.ts +1 -1
  52. package/types/sap.ui.vbm.d.ts +1 -1
  53. package/types/sap.ui.vk.d.ts +1 -1
  54. package/types/sap.ui.vtm.d.ts +1 -1
  55. package/types/sap.ui.webc.common.d.ts +5 -1
  56. package/types/sap.ui.webc.fiori.d.ts +171 -1
  57. package/types/sap.ui.webc.main.d.ts +495 -1
  58. package/types/sap.uiext.inbox.d.ts +1 -1
  59. package/types/sap.ushell.d.ts +49 -103
  60. package/types/sap.ushell_abap.d.ts +1 -1
  61. package/types/sap.uxap.d.ts +1 -1
  62. package/types/sap.viz.d.ts +1 -1
  63. package/types/sap.webanalytics.core.d.ts +1 -1
  64. package/types/sap.zen.commons.d.ts +1 -1
  65. package/types/sap.zen.crosstab.d.ts +1 -1
  66. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -9716,9 +9716,9 @@ declare namespace sap {
9716
9716
  group?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
9717
9717
 
9718
9718
  /**
9719
- * {@link sap.ui.mdc.filterbar.vh.FilterBar FilterBar} used for filtering.
9719
+ * {@link sap.ui.mdc.valuehelp.FilterBar FilterBar} used for filtering.
9720
9720
  */
9721
- filterBar?: sap.ui.mdc.filterbar.vh.FilterBar;
9721
+ filterBar?: sap.ui.mdc.valuehelp.FilterBar;
9722
9722
  }
9723
9723
 
9724
9724
  /**
@@ -12213,7 +12213,7 @@ declare namespace sap {
12213
12213
  *
12214
12214
  * @returns FilterBar
12215
12215
  */
12216
- getActiveFilterBar(): sap.ui.mdc.filterbar.vh.FilterBar;
12216
+ getActiveFilterBar(): sap.ui.mdc.valuehelp.FilterBar;
12217
12217
  /**
12218
12218
  * Gets current value of property {@link #getDescriptionPath descriptionPath}.
12219
12219
  *
@@ -12229,9 +12229,9 @@ declare namespace sap {
12229
12229
  /**
12230
12230
  * Gets content of aggregation {@link #getFilterBar filterBar}.
12231
12231
  *
12232
- * {@link sap.ui.mdc.filterbar.vh.FilterBar FilterBar} used for filtering.
12232
+ * {@link sap.ui.mdc.valuehelp.FilterBar FilterBar} used for filtering.
12233
12233
  */
12234
- getFilterBar(): sap.ui.mdc.filterbar.vh.FilterBar;
12234
+ getFilterBar(): sap.ui.mdc.valuehelp.FilterBar;
12235
12235
  /**
12236
12236
  * Gets current value of property {@link #getFilterFields filterFields}.
12237
12237
  *
@@ -12351,7 +12351,7 @@ declare namespace sap {
12351
12351
  /**
12352
12352
  * The filterBar to set
12353
12353
  */
12354
- oFilterBar: sap.ui.mdc.filterbar.vh.FilterBar
12354
+ oFilterBar: sap.ui.mdc.valuehelp.FilterBar
12355
12355
  ): this;
12356
12356
  /**
12357
12357
  * Sets a new value for property {@link #getFilterFields filterFields}.
@@ -15742,6 +15742,11 @@ declare namespace sap {
15742
15742
  * The binding context of the dragged row
15743
15743
  */
15744
15744
  bindingContext?: sap.ui.model.Context;
15745
+
15746
+ /**
15747
+ * The underlying browser event
15748
+ */
15749
+ browserEvent?: DragEvent;
15745
15750
  }
15746
15751
 
15747
15752
  /**
@@ -15757,6 +15762,16 @@ declare namespace sap {
15757
15762
  * The binding context of the dragged row or the dragged control itself
15758
15763
  */
15759
15764
  dragSource?: sap.ui.mdc.table.DragDropConfig.DragSource;
15765
+
15766
+ /**
15767
+ * The calculated position of the drop action relative to the row being dropped
15768
+ */
15769
+ dropPosition?: sap.ui.core.dnd.RelativeDropPosition;
15770
+
15771
+ /**
15772
+ * The underlying browser event
15773
+ */
15774
+ browserEvent?: DragEvent;
15760
15775
  }
15761
15776
 
15762
15777
  /**
@@ -15777,6 +15792,11 @@ declare namespace sap {
15777
15792
  * The calculated position of the drop action relative to the row being dropped
15778
15793
  */
15779
15794
  dropPosition?: sap.ui.core.dnd.RelativeDropPosition;
15795
+
15796
+ /**
15797
+ * The underlying browser event
15798
+ */
15799
+ browserEvent?: DragEvent;
15780
15800
  }
15781
15801
 
15782
15802
  /**
@@ -15787,6 +15807,11 @@ declare namespace sap {
15787
15807
  * The binding context of the dragged row
15788
15808
  */
15789
15809
  bindingContext?: sap.ui.model.Context;
15810
+
15811
+ /**
15812
+ * The underlying browser event
15813
+ */
15814
+ browserEvent?: DragEvent;
15790
15815
  }
15791
15816
 
15792
15817
  /**
@@ -15807,6 +15832,11 @@ declare namespace sap {
15807
15832
  * The calculated position of the drop action relative to the dropped row
15808
15833
  */
15809
15834
  dropPosition?: sap.ui.core.dnd.RelativeDropPosition;
15835
+
15836
+ /**
15837
+ * The underlying browser event
15838
+ */
15839
+ browserEvent?: DragEvent;
15810
15840
  }
15811
15841
 
15812
15842
  /**
@@ -16800,16 +16830,19 @@ declare namespace sap {
16800
16830
  /**
16801
16831
  * Fires event {@link #event:dragOver dragOver} to attached listeners.
16802
16832
  *
16833
+ * Listeners may prevent the default action of this event by calling the `preventDefault` method on the
16834
+ * event object. The return value of this method indicates whether the default action should be executed.
16835
+ *
16803
16836
  * @ui5-protected Do not call from applications (only from related classes in the framework)
16804
16837
  *
16805
- * @returns Reference to `this` in order to allow method chaining
16838
+ * @returns Whether or not to prevent the default action
16806
16839
  */
16807
16840
  fireDragOver(
16808
16841
  /**
16809
16842
  * Parameters to pass along with the event
16810
16843
  */
16811
16844
  mParameters?: sap.ui.mdc.table.DragDropConfig$DragOverEventParameters
16812
- ): this;
16845
+ ): boolean;
16813
16846
  /**
16814
16847
  * Fires event {@link #event:dragStart dragStart} to attached listeners.
16815
16848
  *
@@ -21776,7 +21809,7 @@ declare namespace sap {
21776
21809
  * - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
21777
21810
  * - If multiple values are allowed, a {@link sap.m.MultiInput MultiInput} control is rendered.
21778
21811
  * - If `multipleLines` is set, a {@link sap.m.TextArea TextArea} control is rendered.
21779
- * - If a date type or a date/time type is used, a {@link sap.m.DateRangeSelection DateRangeSelection }
21812
+ * - If a date type or a date/time type is used and only one condition is supported, a {@link sap.m.DynamicDateRange DynamicDateRange }
21780
21813
  * control is rendered.
21781
21814
  * - If a date type is used and only single values are allowed, a {@link sap.m.DatePicker DatePicker }
21782
21815
  * control is rendered.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -2056,11 +2056,8 @@ declare namespace sap {
2056
2056
  | `{${string}}`;
2057
2057
 
2058
2058
  /**
2059
- * Enables auto-resizing of the column on double clicking the resize bar. The width is determined on the
2060
- * widest currently displayed content. It does not consider rows which are currently not scrolled into view.
2061
- * Currently only implemented to work with the following controls: `sap.m.Text, sap.m.Label, sap.m.Link,
2062
- * sap.m.Input, sap.ui.commons.TextView, sap.ui.commons.Label, sap.ui.commons.Link and sap.ui.commons.TextField,
2063
- * sap.ui.commons.Checkbox, sap.m.CheckBox`
2059
+ * Enables auto-resizing of the column on double-clicking the resize bar, if the column is resizable depending
2060
+ * on the `resizable` property. See {@link #autoResize} for details about the auto-resize feature.
2064
2061
  *
2065
2062
  * @since 1.21.1
2066
2063
  */
@@ -4586,6 +4583,25 @@ declare namespace sap {
4586
4583
  */
4587
4584
  oListener?: object
4588
4585
  ): this;
4586
+ /**
4587
+ * The column is resized to the width of the widest cell content that is currently displayed. This can be
4588
+ * the content of a column header cell, or a data cell. Only rows that are currently scrolled into view
4589
+ * are taken into consideration. The content of cells that span multiple columns is not taken into consideration,
4590
+ * for example, if the `headerSpan` property is used.
4591
+ *
4592
+ * The width might not be accurate if the cell content is not rendered yet, for example, because the data
4593
+ * is still being loaded.
4594
+ *
4595
+ * This behavior only works if the cell content is one of the following controls:
4596
+ * - `sap.m.Text`
4597
+ * - `sap.m.Label`
4598
+ * - `sap.m.Link`
4599
+ * - `sap.m.CheckBox` Otherwise, the width might not be accurate either. This includes cases where
4600
+ * the listed control is wrapped in another control.
4601
+ *
4602
+ * @since 1.125
4603
+ */
4604
+ autoResize(): void;
4589
4605
  /**
4590
4606
  * Destroys the label in the aggregation {@link #getLabel label}.
4591
4607
  *
@@ -4658,11 +4674,8 @@ declare namespace sap {
4658
4674
  /**
4659
4675
  * Gets current value of property {@link #getAutoResizable autoResizable}.
4660
4676
  *
4661
- * Enables auto-resizing of the column on double clicking the resize bar. The width is determined on the
4662
- * widest currently displayed content. It does not consider rows which are currently not scrolled into view.
4663
- * Currently only implemented to work with the following controls: `sap.m.Text, sap.m.Label, sap.m.Link,
4664
- * sap.m.Input, sap.ui.commons.TextView, sap.ui.commons.Label, sap.ui.commons.Link and sap.ui.commons.TextField,
4665
- * sap.ui.commons.Checkbox, sap.m.CheckBox`
4677
+ * Enables auto-resizing of the column on double-clicking the resize bar, if the column is resizable depending
4678
+ * on the `resizable` property. See {@link #autoResize} for details about the auto-resize feature.
4666
4679
  *
4667
4680
  * Default value is `false`.
4668
4681
  *
@@ -5074,11 +5087,8 @@ declare namespace sap {
5074
5087
  /**
5075
5088
  * Sets a new value for property {@link #getAutoResizable autoResizable}.
5076
5089
  *
5077
- * Enables auto-resizing of the column on double clicking the resize bar. The width is determined on the
5078
- * widest currently displayed content. It does not consider rows which are currently not scrolled into view.
5079
- * Currently only implemented to work with the following controls: `sap.m.Text, sap.m.Label, sap.m.Link,
5080
- * sap.m.Input, sap.ui.commons.TextView, sap.ui.commons.Label, sap.ui.commons.Link and sap.ui.commons.TextField,
5081
- * sap.ui.commons.Checkbox, sap.m.CheckBox`
5090
+ * Enables auto-resizing of the column on double-clicking the resize bar, if the column is resizable depending
5091
+ * on the `resizable` property. See {@link #autoResize} for details about the auto-resize feature.
5082
5092
  *
5083
5093
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5084
5094
  *
@@ -7491,6 +7501,7 @@ declare namespace sap {
7491
7501
  /**
7492
7502
  * Triggers automatic resizing of a column to the widest content.
7493
7503
  *
7504
+ * @deprecated (since 1.125) - replaced by {@link sap.ui.table.Column#autoResize}
7494
7505
  * @experimental - Experimental! Presently implemented to only work with a very limited set of controls
7495
7506
  * (e.g. sap.m.Text).
7496
7507
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.0
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -6,6 +6,8 @@ declare namespace sap {
6
6
  * Namespace for UI5 Web Components Retrofit libraries
7
7
  *
8
8
  * @since 1.92.0
9
+ * @deprecated (since 1.120) - this Web Components consumption model has been discarded. An alternative
10
+ * consumption model is planned for the future.
9
11
  * @experimental (since 1.92.0)
10
12
  */
11
13
  namespace webc {
@@ -13,6 +15,8 @@ declare namespace sap {
13
15
  * UI5 library: sap.ui.webc.common
14
16
  *
15
17
  * @since 1.92.0
18
+ * @deprecated (since 1.120) - this Web Components consumption model has been discarded. An alternative
19
+ * consumption model is planned for the future.
16
20
  * @experimental (since 1.92.0)
17
21
  */
18
22
  namespace common {