@sapui5/ts-types 1.121.1 → 1.122.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 +1 -1
  5. package/types/sap.collaboration.d.ts +9 -3
  6. package/types/sap.esh.search.ui.d.ts +1 -1
  7. package/types/sap.f.d.ts +45 -1
  8. package/types/sap.fe.core.d.ts +1 -1
  9. package/types/sap.fe.macros.d.ts +68 -272
  10. package/types/sap.fe.navigation.d.ts +116 -8
  11. package/types/sap.fe.placeholder.d.ts +1 -1
  12. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  13. package/types/sap.fe.templates.d.ts +1 -1
  14. package/types/sap.fe.test.d.ts +1 -1
  15. package/types/sap.fe.tools.d.ts +1 -1
  16. package/types/sap.feedback.ui.d.ts +1 -1
  17. package/types/sap.gantt.d.ts +53 -2
  18. package/types/sap.insights.d.ts +22 -1
  19. package/types/sap.m.d.ts +988 -55
  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 +272 -196
  26. package/types/sap.suite.ui.commons.d.ts +1347 -84
  27. package/types/sap.suite.ui.generic.template.d.ts +5 -3
  28. package/types/sap.suite.ui.microchart.d.ts +1 -1
  29. package/types/sap.tnt.d.ts +1 -1
  30. package/types/sap.ui.codeeditor.d.ts +1 -1
  31. package/types/sap.ui.commons.d.ts +4 -1
  32. package/types/sap.ui.comp.d.ts +230 -25
  33. package/types/sap.ui.core.d.ts +337 -171
  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 -3
  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 +5 -1
  40. package/types/sap.ui.layout.d.ts +4 -4
  41. package/types/sap.ui.mdc.d.ts +163 -39
  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 +15 -1
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +4 -4
  49. package/types/sap.ui.ux3.d.ts +3 -3
  50. package/types/sap.ui.vbm.d.ts +1 -1
  51. package/types/sap.ui.vk.d.ts +92 -320
  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 +1 -1
  55. package/types/sap.ui.webc.main.d.ts +1 -1
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +7 -482
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +50 -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
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -6,6 +6,114 @@ declare namespace sap {
6
6
  * Common library for all cross-application navigation functions.
7
7
  */
8
8
  namespace navigation {
9
+ namespace PresentationVariant {
10
+ /**
11
+ * Structure of dimension type
12
+ */
13
+ type DimensionType = {
14
+ /**
15
+ * Defines dimension.
16
+ */
17
+ Dimension: string;
18
+ /**
19
+ * Defines role.
20
+ */
21
+ Role: string;
22
+ };
23
+
24
+ /**
25
+ * Structure of the external plain object representation of a PresentationVariant
26
+ */
27
+ type ExternalPresentationVariant = {
28
+ /**
29
+ * Defines context URL.
30
+ */
31
+ ContextUrl: string;
32
+ /**
33
+ * Defines presentation variant ID.
34
+ */
35
+ PresentationVariantID: string;
36
+ /**
37
+ * Defines text.
38
+ */
39
+ Text: string;
40
+ /**
41
+ * Defines version.
42
+ */
43
+ Version: object;
44
+ /**
45
+ * Defines visualizations.
46
+ */
47
+ Visualizations: sap.fe.navigation.PresentationVariant.Visualization[];
48
+ };
49
+
50
+ /**
51
+ * Structure of measure type
52
+ */
53
+ type MeasureType = {
54
+ /**
55
+ * Defines measure.
56
+ */
57
+ Measure: string;
58
+ /**
59
+ * Defines role.
60
+ */
61
+ Role: string;
62
+ };
63
+
64
+ /**
65
+ * Structure of a visualization object
66
+ */
67
+ type VisChartContent = {
68
+ /**
69
+ * Defines chart type.
70
+ */
71
+ ChartType: string;
72
+ /**
73
+ * Defines dimension attributes.
74
+ */
75
+ DimensionAttributes: sap.fe.navigation.PresentationVariant.DimensionType[];
76
+ /**
77
+ * Defines dimensions.
78
+ */
79
+ Dimensions: string[];
80
+ /**
81
+ * Defines measure attributes.
82
+ */
83
+ MeasureAttributes: sap.fe.navigation.PresentationVariant.MeasureType[];
84
+ /**
85
+ * Defines measures.
86
+ */
87
+ Measures: string[];
88
+ };
89
+
90
+ /**
91
+ * Structure of the external plain object representation of a PresentationVariant
92
+ */
93
+ type VisContentType = {
94
+ /**
95
+ * Defines value.
96
+ */
97
+ Value: string;
98
+ };
99
+
100
+ /**
101
+ * Structure of a visualization object
102
+ */
103
+ type Visualization = {
104
+ /**
105
+ * Defines content of the object.
106
+ */
107
+ Content:
108
+ | sap.fe.navigation.PresentationVariant.VisChartContent
109
+ | sap.fe.navigation.PresentationVariant.VisContentType[];
110
+ /**
111
+ * Defines type of the object.
112
+ */
113
+ Type: string;
114
+ };
115
+ }
116
+
9
117
  /**
10
118
  * This is the successor of {@link sap.ui.generic.app.navigation.service.NavError }.
11
119
  * An object that provides error handling information during runtime.
@@ -488,8 +596,8 @@ declare namespace sap {
488
596
  *
489
597
  * @returns An object containing the properties to be used for the chart visualization.
490
598
  */
491
- getChartVisualization(): /* was: sap.fe.navigation.PresentationVariant.Visualization */
492
- | any
599
+ getChartVisualization():
600
+ | sap.fe.navigation.PresentationVariant.Visualization
493
601
  | undefined;
494
602
  /**
495
603
  * Gets the current context URL intended for the query.
@@ -520,8 +628,8 @@ declare namespace sap {
520
628
  *
521
629
  * @returns An object containing the properties to be used for the table visualization.
522
630
  */
523
- getTableVisualization(): /* was: sap.fe.navigation.PresentationVariant.Visualization */
524
- | any
631
+ getTableVisualization():
632
+ | sap.fe.navigation.PresentationVariant.Visualization
525
633
  | undefined;
526
634
  /**
527
635
  * Returns the current text / description of this selection variant.
@@ -545,7 +653,7 @@ declare namespace sap {
545
653
  /**
546
654
  * An object containing the properties to be used for the chart visualization.
547
655
  */
548
- properties: /* was: sap.fe.navigation.PresentationVariant.Visualization */ any
656
+ properties: sap.fe.navigation.PresentationVariant.Visualization
549
657
  ): void;
550
658
  /**
551
659
  * Sets the context URL.
@@ -581,7 +689,7 @@ declare namespace sap {
581
689
  /**
582
690
  * An object containing the properties to be used for the table visualization.
583
691
  */
584
- properties: /* was: sap.fe.navigation.PresentationVariant.Visualization */ any
692
+ properties: sap.fe.navigation.PresentationVariant.Visualization
585
693
  ): void;
586
694
  /**
587
695
  * Sets the text / description of the selection variant.
@@ -598,7 +706,7 @@ declare namespace sap {
598
706
  *
599
707
  * @returns The external representation of this instance as a JSON object
600
708
  */
601
- toJSONObject(): /* was: sap.fe.navigation.PresentationVariant.ExternalPresentationVariant */ any;
709
+ toJSONObject(): sap.fe.navigation.PresentationVariant.ExternalPresentationVariant;
602
710
  /**
603
711
  * Serializes this instance into a JSON-formatted string.
604
712
  *
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -22317,7 +22317,7 @@ declare namespace sap {
22317
22317
  /**
22318
22318
  * The reusable functional class represents an instance of time-value linear coordinate mapping.
22319
22319
  */
22320
- class AxisTime {
22320
+ class AxisTime extends sap.ui.base.Object {
22321
22321
  /**
22322
22322
  * Creates and initializes an AxisTime class.
22323
22323
  */
@@ -22353,6 +22353,37 @@ declare namespace sap {
22353
22353
  oZoomStrategy: any[]
22354
22354
  );
22355
22355
 
22356
+ /**
22357
+ * Creates a new subclass of class sap.gantt.misc.AxisTime with name `sClassName` and enriches it with the
22358
+ * information contained in `oClassInfo`.
22359
+ *
22360
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
22361
+ *
22362
+ *
22363
+ * @returns Created class / constructor function
22364
+ */
22365
+ static extend<T extends Record<string, unknown>>(
22366
+ /**
22367
+ * Name of the class being created
22368
+ */
22369
+ sClassName: string,
22370
+ /**
22371
+ * Object literal with information about the class
22372
+ */
22373
+ oClassInfo?: sap.ClassInfo<T, sap.gantt.misc.AxisTime>,
22374
+ /**
22375
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
22376
+ * used by this class
22377
+ */
22378
+ FNMetaImpl?: Function
22379
+ ): Function;
22380
+ /**
22381
+ * Returns a metadata object for class sap.gantt.misc.AxisTime.
22382
+ *
22383
+ *
22384
+ * @returns Metadata object describing this class
22385
+ */
22386
+ static getMetadata(): sap.ui.base.Metadata;
22356
22387
  /**
22357
22388
  * Clones a new AxisTimes from the current one.
22358
22389
  *
@@ -27446,6 +27477,16 @@ declare namespace sap {
27446
27477
  * Instance of the double-clicked shape.
27447
27478
  */
27448
27479
  shape?: sap.gantt.simple.BaseShape;
27480
+
27481
+ /**
27482
+ * The mouse position relative to the left edge of the document.
27483
+ */
27484
+ pageX?: int;
27485
+
27486
+ /**
27487
+ * The mouse position relative to the top edge of the document.
27488
+ */
27489
+ pageY?: int;
27449
27490
  }
27450
27491
 
27451
27492
  interface GanttChartWithTable$ShapeDropEventParameters {
@@ -27571,6 +27612,16 @@ declare namespace sap {
27571
27612
  * Ctrl or Meta key is pressed.
27572
27613
  */
27573
27614
  ctrlOrMeta?: boolean;
27615
+
27616
+ /**
27617
+ * The mouse position relative to the left edge of the document.
27618
+ */
27619
+ pageX?: int;
27620
+
27621
+ /**
27622
+ * The mouse position relative to the top edge of the document.
27623
+ */
27624
+ pageY?: int;
27574
27625
  }
27575
27626
 
27576
27627
  interface GanttChartWithTable$ShapeResizeEventParameters {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.121.0
1
+ // For Library Version: 1.122.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -163,6 +163,27 @@ declare namespace sap {
163
163
  interface CardHelperService {
164
164
  __implements__sap_insights_CardHelperService: boolean;
165
165
 
166
+ /**
167
+ * Updates Cards Ranking in case of Drag & Drop of Cards
168
+ *
169
+ * @experimental
170
+ *
171
+ * @returns Returns an array of updated object
172
+ */
173
+ handleDndCardsRanking(
174
+ /**
175
+ * card drag index
176
+ */
177
+ iDragItemIndex: number,
178
+ /**
179
+ * card drop index
180
+ */
181
+ iDropItemIndex: number,
182
+ /**
183
+ * array of all cards
184
+ */
185
+ aCards: any[]
186
+ ): any[];
166
187
  /**
167
188
  * Show preview for a given card
168
189
  *