@sapui5/types 1.116.0 → 1.117.1

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/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +114 -30
  5. package/types/sap.chart.d.ts +29 -8
  6. package/types/sap.collaboration.d.ts +5 -2
  7. package/types/sap.esh.search.ui.d.ts +9 -3
  8. package/types/sap.f.d.ts +130 -36
  9. package/types/sap.fe.core.d.ts +21 -11
  10. package/types/sap.fe.macros.d.ts +160 -9
  11. package/types/sap.fe.placeholder.d.ts +1 -1
  12. package/types/sap.fe.plugins.optimisticBatch.d.ts +3 -0
  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 +282 -1118
  17. package/types/sap.insights.d.ts +248 -2
  18. package/types/sap.landvisz.d.ts +53 -14
  19. package/types/sap.m.d.ts +1793 -403
  20. package/types/sap.makit.d.ts +22 -7
  21. package/types/sap.me.d.ts +33 -9
  22. package/types/sap.ndc.d.ts +20 -15
  23. package/types/sap.ovp.d.ts +7 -97
  24. package/types/sap.rules.ui.d.ts +17 -5
  25. package/types/sap.sac.df.d.ts +90 -1
  26. package/types/sap.suite.ui.commons.d.ts +439 -108
  27. package/types/sap.suite.ui.generic.template.d.ts +5 -2
  28. package/types/sap.suite.ui.microchart.d.ts +69 -18
  29. package/types/sap.tnt.d.ts +13 -4
  30. package/types/sap.ui.codeeditor.d.ts +9 -3
  31. package/types/sap.ui.commons.d.ts +236 -68
  32. package/types/sap.ui.comp.d.ts +544 -169
  33. package/types/sap.ui.core.d.ts +929 -259
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +204 -3
  36. package/types/sap.ui.fl.d.ts +21 -6
  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 +71 -13
  40. package/types/sap.ui.layout.d.ts +95 -30
  41. package/types/sap.ui.mdc.d.ts +296 -98
  42. package/types/sap.ui.richtexteditor.d.ts +17 -5
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +9 -3
  45. package/types/sap.ui.support.d.ts +1 -1
  46. package/types/sap.ui.table.d.ts +118 -24
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +209 -53
  49. package/types/sap.ui.ux3.d.ts +220 -61
  50. package/types/sap.ui.vbm.d.ts +184 -61
  51. package/types/sap.ui.vk.d.ts +544 -139
  52. package/types/sap.ui.vtm.d.ts +130 -37
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +137 -35
  55. package/types/sap.ui.webc.main.d.ts +331 -100
  56. package/types/sap.uiext.inbox.d.ts +50 -14
  57. package/types/sap.ushell.d.ts +625 -46
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +42 -12
  60. package/types/sap.viz.d.ts +521 -137
  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 +29 -8
@@ -1,6 +1,10 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
+
3
+ declare module "sap/insights/library" {}
2
4
 
3
5
  declare module "sap/insights/CardHelper" {
6
+ import CardsChannel from "sap/insights/CardsChannel";
7
+
4
8
  /**
5
9
  * @since 1.102
6
10
  * @experimental (since 1.102)
@@ -10,14 +14,256 @@ declare module "sap/insights/CardHelper" {
10
14
  interface CardHelper {}
11
15
  const CardHelper: CardHelper;
12
16
  export default CardHelper;
17
+
18
+ /**
19
+ * @experimental
20
+ *
21
+ * Public (experimental) interface of the sap.insights.UIService
22
+ */
23
+ export interface UIService {
24
+ __implements__sap_insights_UIService: boolean;
25
+
26
+ /**
27
+ * @experimental
28
+ *
29
+ * Get a promise for the singleton instance of the cards channel.
30
+ */
31
+ getCardsChannel(): Promise<CardsChannel>;
32
+ /**
33
+ * @experimental
34
+ *
35
+ * Show preview for a given card
36
+ */
37
+ showCardPreview(
38
+ card: object,
39
+
40
+ bTransform?: boolean,
41
+
42
+ calledInternally?: boolean
43
+ ): Promise<void>;
44
+ }
13
45
  }
14
46
 
15
- declare module "sap/insights/library" {}
47
+ declare module "sap/insights/CardsChannel" {
48
+ import BaseObject from "sap/ui/base/Object";
49
+
50
+ import Metadata from "sap/ui/base/Metadata";
51
+
52
+ export default class CardsChannel extends BaseObject {
53
+ /**
54
+ * Provides a communication between card providers and consumers in FLP and included iframes.
55
+ */
56
+ constructor();
57
+
58
+ /**
59
+ * Creates a new subclass of class sap.insights.CardsChannel with name `sClassName` and enriches it with
60
+ * the information contained in `oClassInfo`.
61
+ *
62
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
63
+ *
64
+ * @returns Created class / constructor function
65
+ */
66
+ static extend<T extends Record<string, unknown>>(
67
+ /**
68
+ * Name of the class being created
69
+ */
70
+ sClassName: string,
71
+ /**
72
+ * Object literal with information about the class
73
+ */
74
+ oClassInfo?: sap.ClassInfo<T, CardsChannel>,
75
+ /**
76
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
77
+ * used by this class
78
+ */
79
+ FNMetaImpl?: Function
80
+ ): Function;
81
+ /**
82
+ * Returns a metadata object for class sap.insights.CardsChannel.
83
+ *
84
+ * @returns Metadata object describing this class
85
+ */
86
+ static getMetadata(): Metadata;
87
+ /**
88
+ * @experimental
89
+ *
90
+ * Initialize the CardsChannel either with the FLP message broker or an internal implementation for iframes.
91
+ */
92
+ init(): Promise<void>;
93
+ /**
94
+ * @experimental
95
+ *
96
+ * Checks if the broker is enabled.
97
+ *
98
+ * @returns true if the broker is enabled
99
+ */
100
+ isEnabled(): boolean;
101
+ /**
102
+ * @experimental
103
+ *
104
+ * Send a list of all available cards to a given consumer or broadcast it to all consumers.
105
+ */
106
+ publishAvailableCards(
107
+ providerId: string,
108
+
109
+ cardInfos: object[],
110
+
111
+ consumerId: string
112
+ ): Promise<void>;
113
+ /**
114
+ * @experimental
115
+ *
116
+ * Send a card to a given consumer or broadcast it to all consumers.
117
+ */
118
+ publishCard(
119
+ providerId: string,
120
+
121
+ card: object,
122
+
123
+ consumerId?: string
124
+ ): Promise<void>;
125
+ /**
126
+ * @experimental
127
+ *
128
+ * Register a card consumer with a unique id. The consumer will be notified through its callback when corresponding
129
+ * messages are received.
130
+ */
131
+ registerConsumer(
132
+ /**
133
+ * Unique id of the consumer
134
+ */
135
+ id: string,
136
+ /**
137
+ * Implementation of the consumer
138
+ */
139
+ consumer: ICardConsumer
140
+ ): Promise<void>;
141
+ /**
142
+ * @experimental
143
+ *
144
+ * Register a card provider with a unique id. The provider will be notified if new consumers get registered.
145
+ */
146
+ registerProvider(
147
+ /**
148
+ * Unique id of the provider
149
+ */
150
+ id: string,
151
+ /**
152
+ * Object implementing the ICardProvider interface
153
+ */
154
+ provider: ICardProvider
155
+ ): Promise<void>;
156
+ /**
157
+ * @experimental
158
+ *
159
+ * Request a card from a given provider.
160
+ */
161
+ requestCard(
162
+ consumerId: string,
163
+
164
+ cardId: string,
165
+
166
+ providerId: string
167
+ ): Promise<void>;
168
+ /**
169
+ * @experimental
170
+ *
171
+ * Unregister a previously registered consumer or provider.
172
+ */
173
+ unregister(id: string): Promise<void>;
174
+ }
175
+ /**
176
+ * @experimental
177
+ *
178
+ * Interface required for classes that would like to consume cards using the `sap.insights.CardsChannel`.
179
+ */
180
+ export interface ICardConsumer {
181
+ __implements__sap_insights_ICardConsumer: boolean;
182
+
183
+ /**
184
+ * @experimental
185
+ *
186
+ * Callback when a card is created for this consumer.
187
+ */
188
+ onCardProvided(
189
+ /**
190
+ * Unique id of the ICardsProvider that offers cards
191
+ */
192
+ providerId: string,
193
+
194
+ card: object
195
+ ): void;
196
+ /**
197
+ * @experimental
198
+ *
199
+ * Callback when cards are available.
200
+ */
201
+ onCardsAvailable(
202
+ /**
203
+ * Unique id of the ICardsProvider that offers cards
204
+ */
205
+ providerId: string,
206
+ /**
207
+ * Array of simple objects with card information
208
+ */
209
+ cardInfos: object[]
210
+ ): void;
211
+ }
212
+
213
+ /**
214
+ * @experimental
215
+ *
216
+ * Interface required for classes that would like to provide cards using the `sap.insights.CardsChannel`.
217
+ */
218
+ export interface ICardProvider {
219
+ __implements__sap_insights_ICardProvider: boolean;
220
+
221
+ /**
222
+ * @experimental
223
+ *
224
+ * Callback when a consumer requests a specific card.
225
+ */
226
+ onCardRequested(
227
+ /**
228
+ * Unique id of the ICardsConsumer that offers cards
229
+ */
230
+ consumerId: string,
231
+ /**
232
+ * Unique id of a card
233
+ */
234
+ cardId: string
235
+ ): void;
236
+ /**
237
+ * @experimental
238
+ *
239
+ * Callback when a consumer is connected.
240
+ */
241
+ onConsumerConnected(
242
+ /**
243
+ * Unique id of the ICardsConsumer that offers cards
244
+ */
245
+ consumerId: string
246
+ ): void;
247
+ /**
248
+ * @experimental
249
+ *
250
+ * Callback when a consumer is disconnected.
251
+ */
252
+ onConsumerDisconnected(
253
+ /**
254
+ * Unique id of the ICardsConsumer that offers cards
255
+ */
256
+ consumerId: string
257
+ ): void;
258
+ }
259
+ }
16
260
 
17
261
  declare namespace sap {
18
262
  interface IUI5DefineDependencyNames {
19
263
  "sap/insights/CardHelper": undefined;
20
264
 
265
+ "sap/insights/CardsChannel": undefined;
266
+
21
267
  "sap/insights/library": undefined;
22
268
  }
23
269
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare module "sap/landvisz/library" {
4
4
  /**
@@ -1371,7 +1371,10 @@ declare module "sap/landvisz/internal/ActionBar" {
1371
1371
 
1372
1372
  export interface ActionBar$SelectEventParameters {}
1373
1373
 
1374
- export type ActionBar$SelectEvent = Event<ActionBar$SelectEventParameters>;
1374
+ export type ActionBar$SelectEvent = Event<
1375
+ ActionBar$SelectEventParameters,
1376
+ ActionBar
1377
+ >;
1375
1378
  }
1376
1379
 
1377
1380
  declare module "sap/landvisz/internal/DataContainer" {
@@ -1742,7 +1745,10 @@ declare module "sap/landvisz/internal/DataContainer" {
1742
1745
 
1743
1746
  export interface DataContainer$SelectEventParameters {}
1744
1747
 
1745
- export type DataContainer$SelectEvent = Event<DataContainer$SelectEventParameters>;
1748
+ export type DataContainer$SelectEvent = Event<
1749
+ DataContainer$SelectEventParameters,
1750
+ DataContainer
1751
+ >;
1746
1752
  }
1747
1753
 
1748
1754
  declare module "sap/landvisz/internal/DeploymentType" {
@@ -2096,7 +2102,10 @@ declare module "sap/landvisz/internal/EntityAction" {
2096
2102
 
2097
2103
  export interface EntityAction$PressEventParameters {}
2098
2104
 
2099
- export type EntityAction$PressEvent = Event<EntityAction$PressEventParameters>;
2105
+ export type EntityAction$PressEvent = Event<
2106
+ EntityAction$PressEventParameters,
2107
+ EntityAction
2108
+ >;
2100
2109
  }
2101
2110
 
2102
2111
  declare module "sap/landvisz/internal/EntityCustomAction" {
@@ -2325,7 +2334,10 @@ declare module "sap/landvisz/internal/EntityCustomAction" {
2325
2334
 
2326
2335
  export interface EntityCustomAction$SelectEventParameters {}
2327
2336
 
2328
- export type EntityCustomAction$SelectEvent = Event<EntityCustomAction$SelectEventParameters>;
2337
+ export type EntityCustomAction$SelectEvent = Event<
2338
+ EntityCustomAction$SelectEventParameters,
2339
+ EntityCustomAction
2340
+ >;
2329
2341
  }
2330
2342
 
2331
2343
  declare module "sap/landvisz/internal/HeaderList" {
@@ -2608,7 +2620,10 @@ declare module "sap/landvisz/internal/HeaderList" {
2608
2620
 
2609
2621
  export interface HeaderList$PressEventParameters {}
2610
2622
 
2611
- export type HeaderList$PressEvent = Event<HeaderList$PressEventParameters>;
2623
+ export type HeaderList$PressEvent = Event<
2624
+ HeaderList$PressEventParameters,
2625
+ HeaderList
2626
+ >;
2612
2627
  }
2613
2628
 
2614
2629
  declare module "sap/landvisz/internal/IdentificationBar" {
@@ -3040,7 +3055,10 @@ declare module "sap/landvisz/internal/IdentificationBar" {
3040
3055
 
3041
3056
  export interface IdentificationBar$SelectEventParameters {}
3042
3057
 
3043
- export type IdentificationBar$SelectEvent = Event<IdentificationBar$SelectEventParameters>;
3058
+ export type IdentificationBar$SelectEvent = Event<
3059
+ IdentificationBar$SelectEventParameters,
3060
+ IdentificationBar
3061
+ >;
3044
3062
  }
3045
3063
 
3046
3064
  declare module "sap/landvisz/internal/LinearRowField" {
@@ -4264,7 +4282,10 @@ declare module "sap/landvisz/internal/SingleDataContainer" {
4264
4282
 
4265
4283
  export interface SingleDataContainer$ClosedEventParameters {}
4266
4284
 
4267
- export type SingleDataContainer$ClosedEvent = Event<SingleDataContainer$ClosedEventParameters>;
4285
+ export type SingleDataContainer$ClosedEvent = Event<
4286
+ SingleDataContainer$ClosedEventParameters,
4287
+ SingleDataContainer
4288
+ >;
4268
4289
  }
4269
4290
 
4270
4291
  declare module "sap/landvisz/internal/TreeField" {
@@ -5662,15 +5683,24 @@ declare module "sap/landvisz/LandscapeEntity" {
5662
5683
 
5663
5684
  export interface LandscapeEntity$MouseOverIdenIconEventParameters {}
5664
5685
 
5665
- export type LandscapeEntity$MouseOverIdenIconEvent = Event<LandscapeEntity$MouseOverIdenIconEventParameters>;
5686
+ export type LandscapeEntity$MouseOverIdenIconEvent = Event<
5687
+ LandscapeEntity$MouseOverIdenIconEventParameters,
5688
+ LandscapeEntity
5689
+ >;
5666
5690
 
5667
5691
  export interface LandscapeEntity$StatusSelectEventParameters {}
5668
5692
 
5669
- export type LandscapeEntity$StatusSelectEvent = Event<LandscapeEntity$StatusSelectEventParameters>;
5693
+ export type LandscapeEntity$StatusSelectEvent = Event<
5694
+ LandscapeEntity$StatusSelectEventParameters,
5695
+ LandscapeEntity
5696
+ >;
5670
5697
 
5671
5698
  export interface LandscapeEntity$TrackInfoPressEventParameters {}
5672
5699
 
5673
- export type LandscapeEntity$TrackInfoPressEvent = Event<LandscapeEntity$TrackInfoPressEventParameters>;
5700
+ export type LandscapeEntity$TrackInfoPressEvent = Event<
5701
+ LandscapeEntity$TrackInfoPressEventParameters,
5702
+ LandscapeEntity
5703
+ >;
5674
5704
  }
5675
5705
 
5676
5706
  declare module "sap/landvisz/LandscapeViewer" {
@@ -7116,11 +7146,17 @@ declare module "sap/landvisz/LandscapeViewer" {
7116
7146
 
7117
7147
  export interface LandscapeViewer$CloseEventParameters {}
7118
7148
 
7119
- export type LandscapeViewer$CloseEvent = Event<LandscapeViewer$CloseEventParameters>;
7149
+ export type LandscapeViewer$CloseEvent = Event<
7150
+ LandscapeViewer$CloseEventParameters,
7151
+ LandscapeViewer
7152
+ >;
7120
7153
 
7121
7154
  export interface LandscapeViewer$LoadSolutionViewEventParameters {}
7122
7155
 
7123
- export type LandscapeViewer$LoadSolutionViewEvent = Event<LandscapeViewer$LoadSolutionViewEventParameters>;
7156
+ export type LandscapeViewer$LoadSolutionViewEvent = Event<
7157
+ LandscapeViewer$LoadSolutionViewEventParameters,
7158
+ LandscapeViewer
7159
+ >;
7124
7160
  }
7125
7161
 
7126
7162
  declare module "sap/landvisz/LongTextField" {
@@ -7848,7 +7884,10 @@ declare module "sap/landvisz/OptionEntity" {
7848
7884
 
7849
7885
  export interface OptionEntity$SelectOptionEventParameters {}
7850
7886
 
7851
- export type OptionEntity$SelectOptionEvent = Event<OptionEntity$SelectOptionEventParameters>;
7887
+ export type OptionEntity$SelectOptionEvent = Event<
7888
+ OptionEntity$SelectOptionEventParameters,
7889
+ OptionEntity
7890
+ >;
7852
7891
  }
7853
7892
 
7854
7893
  declare module "sap/landvisz/OptionSource" {