@sapui5/ts-types-esm 1.138.1 → 1.140.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 (70) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  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.cux.home.d.ts +0 -1657
  8. package/types/sap.esh.search.ui.d.ts +1 -2291
  9. package/types/sap.f.d.ts +63 -15
  10. package/types/sap.fe.ariba.d.ts +1 -1
  11. package/types/sap.fe.base.d.ts +1 -5
  12. package/types/sap.fe.controls.d.ts +1 -1
  13. package/types/sap.fe.core.d.ts +30 -15
  14. package/types/sap.fe.ina.d.ts +1 -1
  15. package/types/sap.fe.macros.d.ts +84 -12
  16. package/types/sap.fe.navigation.d.ts +1 -1
  17. package/types/sap.fe.placeholder.d.ts +1 -1
  18. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  19. package/types/sap.fe.templates.d.ts +1 -1
  20. package/types/sap.fe.test.d.ts +13 -1
  21. package/types/sap.fe.tools.d.ts +1 -1
  22. package/types/sap.feedback.ui.d.ts +1 -1
  23. package/types/sap.gantt.d.ts +55 -13
  24. package/types/sap.insights.d.ts +130 -2
  25. package/types/sap.m.d.ts +1132 -293
  26. package/types/sap.makit.d.ts +1 -1
  27. package/types/sap.me.d.ts +1 -1
  28. package/types/sap.ndc.d.ts +1 -1
  29. package/types/sap.ovp.d.ts +1 -1
  30. package/types/sap.rules.ui.d.ts +1 -1
  31. package/types/sap.sac.df.d.ts +2 -30
  32. package/types/sap.suite.ui.commons.d.ts +1 -1
  33. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  34. package/types/sap.suite.ui.microchart.d.ts +1 -1
  35. package/types/sap.tnt.d.ts +5 -1
  36. package/types/sap.ui.codeeditor.d.ts +1 -1
  37. package/types/sap.ui.commons.d.ts +1 -1
  38. package/types/sap.ui.comp.d.ts +125 -2
  39. package/types/sap.ui.core.d.ts +513 -127
  40. package/types/sap.ui.dt.d.ts +1 -1
  41. package/types/sap.ui.export.d.ts +1 -1
  42. package/types/sap.ui.fl.d.ts +1 -7
  43. package/types/sap.ui.generic.app.d.ts +1 -1
  44. package/types/sap.ui.generic.template.d.ts +1 -1
  45. package/types/sap.ui.integration.d.ts +57 -20
  46. package/types/sap.ui.layout.d.ts +1 -1
  47. package/types/sap.ui.mdc.d.ts +88 -22
  48. package/types/sap.ui.richtexteditor.d.ts +1 -1
  49. package/types/sap.ui.rta.d.ts +1 -1
  50. package/types/sap.ui.suite.d.ts +1 -1
  51. package/types/sap.ui.support.d.ts +1 -1
  52. package/types/sap.ui.table.d.ts +568 -1
  53. package/types/sap.ui.testrecorder.d.ts +1 -1
  54. package/types/sap.ui.unified.d.ts +1 -1
  55. package/types/sap.ui.ux3.d.ts +1 -1
  56. package/types/sap.ui.vbm.d.ts +1 -1
  57. package/types/sap.ui.vk.d.ts +392 -58
  58. package/types/sap.ui.vtm.d.ts +1 -1
  59. package/types/sap.ui.webc.common.d.ts +1 -1
  60. package/types/sap.ui.webc.fiori.d.ts +1 -1
  61. package/types/sap.ui.webc.main.d.ts +1 -1
  62. package/types/sap.uiext.inbox.d.ts +1 -1
  63. package/types/sap.ushell.d.ts +69 -23
  64. package/types/sap.ushell_abap.d.ts +3 -1
  65. package/types/sap.uxap.d.ts +1 -1
  66. package/types/sap.viz.d.ts +1 -1
  67. package/types/sap.webanalytics.core.d.ts +1 -1
  68. package/types/sap.zen.commons.d.ts +1 -1
  69. package/types/sap.zen.crosstab.d.ts +1 -1
  70. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.138.0
1
+ // For Library Version: 1.140.0
2
2
 
3
3
  declare module "sap/gantt/library" {
4
4
  import ChartScheme from "sap/gantt/config/ChartScheme";
@@ -11156,7 +11156,7 @@ declare module "sap/gantt/def/pattern/SlashPattern" {
11156
11156
  * background Color
11157
11157
  * strokeColor strokeWidth
11158
11158
  */
11159
- export default abstract class SlashPattern extends PatternBase {
11159
+ export default class SlashPattern extends PatternBase {
11160
11160
  /**
11161
11161
  * Creates and initializes a slash pattern defined for later reuse.
11162
11162
  *
@@ -35305,8 +35305,6 @@ declare module "sap/gantt/simple/BaseShape" {
35305
35305
  *
35306
35306
  * Postion of left anchor for a shape to connect with other shapes whose value ranges from 0-100
35307
35307
  *
35308
- * Default value is `50`.
35309
- *
35310
35308
  * @since 1.131
35311
35309
  *
35312
35310
  * @returns Value of property `leftAnchorPosition`
@@ -35342,8 +35340,6 @@ declare module "sap/gantt/simple/BaseShape" {
35342
35340
  *
35343
35341
  * Postion of right anchor for a shape to connect with other shapes whose value ranges from 0-100
35344
35342
  *
35345
- * Default value is `50`.
35346
- *
35347
35343
  * @since 1.131
35348
35344
  *
35349
35345
  * @returns Value of property `rightAnchorPosition`
@@ -36025,8 +36021,6 @@ declare module "sap/gantt/simple/BaseShape" {
36025
36021
  *
36026
36022
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
36027
36023
  *
36028
- * Default value is `50`.
36029
- *
36030
36024
  * @since 1.131
36031
36025
  *
36032
36026
  * @returns Reference to `this` in order to allow method chaining
@@ -36035,7 +36029,7 @@ declare module "sap/gantt/simple/BaseShape" {
36035
36029
  /**
36036
36030
  * New value for property `leftAnchorPosition`
36037
36031
  */
36038
- iLeftAnchorPosition?: int
36032
+ iLeftAnchorPosition: int
36039
36033
  ): this;
36040
36034
  /**
36041
36035
  * Sets a new value for property {@link #getOpacity opacity}.
@@ -36083,8 +36077,6 @@ declare module "sap/gantt/simple/BaseShape" {
36083
36077
  *
36084
36078
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
36085
36079
  *
36086
- * Default value is `50`.
36087
- *
36088
36080
  * @since 1.131
36089
36081
  *
36090
36082
  * @returns Reference to `this` in order to allow method chaining
@@ -36093,7 +36085,7 @@ declare module "sap/gantt/simple/BaseShape" {
36093
36085
  /**
36094
36086
  * New value for property `rightAnchorPosition`
36095
36087
  */
36096
- iRightAnchorPosition?: int
36088
+ iRightAnchorPosition: int
36097
36089
  ): this;
36098
36090
  /**
36099
36091
  * Sets a new value for property {@link #getRowYCenter rowYCenter}.
@@ -45665,6 +45657,16 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
45665
45657
  */
45666
45658
  vValue: Date | string | any[]
45667
45659
  ): void;
45660
+ /**
45661
+ * @since 1.139
45662
+ */
45663
+ multiColumnSort(
45664
+ /**
45665
+ * must be structured as the following { control: table control, oColumns: [], an array of sorted columns,
45666
+ * a column must have a new value oldValues: [], an array of old values for sorted columns }
45667
+ */
45668
+ oEvent: object
45669
+ ): void;
45668
45670
  /**
45669
45671
  * Bind rows of the table aggregtion with given parameters Also, create the promise to wait for inner gantt
45670
45672
  * rendering
@@ -54227,6 +54229,8 @@ declare module "sap/gantt/simple/StockChart" {
54227
54229
 
54228
54230
  import StockChartDimension from "sap/gantt/simple/StockChartDimension";
54229
54231
 
54232
+ import BaseLine from "sap/gantt/simple/BaseLine";
54233
+
54230
54234
  import ElementMetadata from "sap/ui/core/ElementMetadata";
54231
54235
 
54232
54236
  import {
@@ -54316,6 +54320,14 @@ declare module "sap/gantt/simple/StockChart" {
54316
54320
  */
54317
54321
  oStockChartDimension: StockChartDimension
54318
54322
  ): this;
54323
+ /**
54324
+ * Destroys the customMiddleLine in the aggregation {@link #getCustomMiddleLine customMiddleLine}.
54325
+ *
54326
+ * @since 1.140
54327
+ *
54328
+ * @returns Reference to `this` in order to allow method chaining
54329
+ */
54330
+ destroyCustomMiddleLine(): this;
54319
54331
  /**
54320
54332
  * Destroys all the stockChartDimensions in the aggregation {@link #getStockChartDimensions stockChartDimensions}.
54321
54333
  *
@@ -54323,6 +54335,14 @@ declare module "sap/gantt/simple/StockChart" {
54323
54335
  * @returns Reference to `this` in order to allow method chaining
54324
54336
  */
54325
54337
  destroyStockChartDimensions(): this;
54338
+ /**
54339
+ * Gets content of aggregation {@link #getCustomMiddleLine customMiddleLine}.
54340
+ *
54341
+ * Custom configuration for middle line to define stroke, stroke-width and stroke-dasharray.
54342
+ *
54343
+ * @since 1.140
54344
+ */
54345
+ getCustomMiddleLine(): BaseLine;
54326
54346
  /**
54327
54347
  * Gets current value of property {@link #getMaxValue maxValue}.
54328
54348
  *
@@ -54453,6 +54473,19 @@ declare module "sap/gantt/simple/StockChart" {
54453
54473
  */
54454
54474
  oElement: object
54455
54475
  ): void;
54476
+ /**
54477
+ * Sets the aggregated {@link #getCustomMiddleLine customMiddleLine}.
54478
+ *
54479
+ * @since 1.140
54480
+ *
54481
+ * @returns Reference to `this` in order to allow method chaining
54482
+ */
54483
+ setCustomMiddleLine(
54484
+ /**
54485
+ * The customMiddleLine to set
54486
+ */
54487
+ oCustomMiddleLine: BaseLine
54488
+ ): this;
54456
54489
  /**
54457
54490
  * Sets a new value for property {@link #getMaxValue maxValue}.
54458
54491
  *
@@ -54587,6 +54620,13 @@ declare module "sap/gantt/simple/StockChart" {
54587
54620
  | StockChartDimension
54588
54621
  | AggregationBindingInfo
54589
54622
  | `{${string}}`;
54623
+
54624
+ /**
54625
+ * Custom configuration for middle line to define stroke, stroke-width and stroke-dasharray.
54626
+ *
54627
+ * @since 1.140
54628
+ */
54629
+ customMiddleLine?: BaseLine;
54590
54630
  }
54591
54631
  }
54592
54632
 
@@ -55066,7 +55106,9 @@ declare module "sap/gantt/simple/StockChartPeriod" {
55066
55106
 
55067
55107
  /**
55068
55108
  * StockChartPeriod is used by `sap.gantt.simple.StockChart` It represents a time period that a specific
55069
- * stock usages
55109
+ * stock usages If the tooltip aggregation is defined for a stock chart period, it is used to render the
55110
+ * tooltip. If explicitly set to " ", no tooltip is shown. If the tooltip aggregation is not provided, a
55111
+ * default tooltip is displayed in the format - dimension name:period value.
55070
55112
  *
55071
55113
  * StockChartPeriod is defined as an aggregation of `sap.gantt.simple.StockChartDimension`
55072
55114
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.138.0
1
+ // For Library Version: 1.140.0
2
2
 
3
3
  declare module "sap/insights/library" {}
4
4
 
@@ -75,11 +75,137 @@ declare module "sap/insights/CardHelper" {
75
75
  /**
76
76
  * callback event to be called when confirm button is pressed
77
77
  */
78
- onConfirm: Function
78
+ onConfirm: Function,
79
+ /**
80
+ * callback event to be called when close button is pressed
81
+ */
82
+ onClose: Function
79
83
  ): Promise<void>;
80
84
  }
81
85
  }
82
86
 
87
+ declare module "sap/insights/CardProvider" {
88
+ import BaseObject from "sap/ui/base/Object";
89
+
90
+ import { Card } from "sap/insights/CardsChannel";
91
+
92
+ import Metadata from "sap/ui/base/Metadata";
93
+
94
+ /**
95
+ * This class is used to provide cards to consumers like SAP Collaboration Manager. It registers itself
96
+ * with the cards channel and shares available cards with interested consumers. It also handles requests
97
+ * for specific cards from consumers. It can be used to share cards with other applications or components
98
+ * that are interested in them
99
+ *
100
+ * @since 1.140
101
+ */
102
+ export default class CardProvider extends BaseObject {
103
+ /**
104
+ * Constructor for the card provider.
105
+ */
106
+ constructor(
107
+ /**
108
+ * unique ID to be used for registering the provider
109
+ */
110
+ sId: string,
111
+ /**
112
+ * An array containing available cards
113
+ */
114
+ aCards: Card[]
115
+ );
116
+
117
+ /**
118
+ * Creates a new subclass of class sap.insights.CardProvider with name `sClassName` and enriches it with
119
+ * the information contained in `oClassInfo`.
120
+ *
121
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
122
+ *
123
+ *
124
+ * @returns Created class / constructor function
125
+ */
126
+ static extend<T extends Record<string, unknown>>(
127
+ /**
128
+ * Name of the class being created
129
+ */
130
+ sClassName: string,
131
+ /**
132
+ * Object literal with information about the class
133
+ */
134
+ oClassInfo?: sap.ClassInfo<T, CardProvider>,
135
+ /**
136
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
137
+ * used by this class
138
+ */
139
+ FNMetaImpl?: Function
140
+ ): Function;
141
+ /**
142
+ * Returns a metadata object for class sap.insights.CardProvider.
143
+ *
144
+ *
145
+ * @returns Metadata object describing this class
146
+ */
147
+ static getMetadata(): Metadata;
148
+ /**
149
+ * This method is called when a consumer requests a specific card. It checks if the consumer is registered
150
+ * and if the card exists in the shared cards. If both conditions are met it publishes the card to the consumer.
151
+ * If the consumer is not registered, it does nothing.
152
+ *
153
+ * @since 1.140
154
+ */
155
+ onCardRequested(
156
+ /**
157
+ * id of the requesting consumer
158
+ */
159
+ sConsumerId: string,
160
+ /**
161
+ * unique ID of available card
162
+ */
163
+ sCardId: string
164
+ ): void;
165
+ /**
166
+ * This method is called when a consumer connects to the cards channel. It checks if the card detail control
167
+ * is loaded, and if not, it loads it. Then it shares the available cards with the consumer and navigates
168
+ * to the card list page. If the card detail control is already loaded, it simply shares the available cards.
169
+ *
170
+ * @since 1.140
171
+ */
172
+ onConsumerConnected(
173
+ /**
174
+ * id of the requesting consumer
175
+ */
176
+ sConsumerId: string
177
+ ): void;
178
+ /**
179
+ * This method is called when a consumer disconnects from the cards channel. It removes the consumer from
180
+ * the list of consumers and stops sharing cards with it. If the consumer is not registered, it does nothing.
181
+ *
182
+ * @since 1.140
183
+ */
184
+ onConsumerDisconnected(
185
+ /**
186
+ * id of the requesting consumer
187
+ */
188
+ sConsumerId: string
189
+ ): void;
190
+ /**
191
+ * This method is called when the view is updated. It checks if the home page is currently being rendered
192
+ * and registers or unregisters the card provider accordingly.
193
+ *
194
+ * @since 1.140
195
+ */
196
+ onViewUpdate(
197
+ /**
198
+ * true if the home page is currently being rendered.
199
+ */
200
+ bActive: boolean,
201
+ /**
202
+ * An array containing available cards
203
+ */
204
+ aCards: Card[]
205
+ ): void;
206
+ }
207
+ }
208
+
83
209
  declare module "sap/insights/CardsChannel" {
84
210
  import BaseObject from "sap/ui/base/Object";
85
211
 
@@ -660,6 +786,8 @@ declare namespace sap {
660
786
  interface IUI5DefineDependencyNames {
661
787
  "sap/insights/CardHelper": undefined;
662
788
 
789
+ "sap/insights/CardProvider": undefined;
790
+
663
791
  "sap/insights/CardsChannel": undefined;
664
792
 
665
793
  "sap/insights/channels/ContextChannel": undefined;