@sapui5/ts-types 1.116.0 → 1.117.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/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +144 -57
  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 +160 -63
  9. package/types/sap.fe.core.d.ts +21 -35
  10. package/types/sap.fe.macros.d.ts +148 -16
  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 +344 -1208
  17. package/types/sap.insights.d.ts +251 -11
  18. package/types/sap.landvisz.d.ts +64 -25
  19. package/types/sap.m.d.ts +2259 -806
  20. package/types/sap.makit.d.ts +22 -7
  21. package/types/sap.me.d.ts +40 -16
  22. package/types/sap.ndc.d.ts +20 -15
  23. package/types/sap.ovp.d.ts +24 -111
  24. package/types/sap.rules.ui.d.ts +17 -5
  25. package/types/sap.sac.df.d.ts +87 -1
  26. package/types/sap.suite.ui.commons.d.ts +531 -182
  27. package/types/sap.suite.ui.generic.template.d.ts +5 -2
  28. package/types/sap.suite.ui.microchart.d.ts +85 -34
  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 +297 -116
  32. package/types/sap.ui.comp.d.ts +631 -256
  33. package/types/sap.ui.core.d.ts +976 -286
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +193 -3
  36. package/types/sap.ui.fl.d.ts +25 -10
  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 +90 -23
  40. package/types/sap.ui.layout.d.ts +93 -30
  41. package/types/sap.ui.mdc.d.ts +6507 -6291
  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 +149 -43
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +265 -103
  49. package/types/sap.ui.ux3.d.ts +300 -120
  50. package/types/sap.ui.vbm.d.ts +288 -120
  51. package/types/sap.ui.vk.d.ts +685 -271
  52. package/types/sap.ui.vtm.d.ts +177 -72
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +170 -68
  55. package/types/sap.ui.webc.main.d.ts +495 -198
  56. package/types/sap.uiext.inbox.d.ts +64 -25
  57. package/types/sap.ushell.d.ts +658 -47
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +51 -21
  60. package/types/sap.viz.d.ts +675 -267
  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 +35 -14
@@ -1,21 +1,261 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
- declare module "sap/insights/CardHelper" {
3
+ declare namespace sap {
4
4
  /**
5
- * @since 1.102
6
- * @experimental (since 1.102)
7
- *
8
- * Provides functionality for Insight cards CRUD operations.
5
+ * SAP UI library: sap.insights
9
6
  */
10
- interface CardHelper {}
11
- const CardHelper: CardHelper;
12
- export default CardHelper;
13
- }
7
+ namespace insights {
8
+ /**
9
+ * @experimental
10
+ *
11
+ * Interface required for classes that would like to consume cards using the `sap.insights.CardsChannel`.
12
+ */
13
+ interface ICardConsumer {
14
+ __implements__sap_insights_ICardConsumer: boolean;
15
+
16
+ /**
17
+ * @experimental
18
+ *
19
+ * Callback when a card is created for this consumer.
20
+ */
21
+ onCardProvided(
22
+ /**
23
+ * Unique id of the ICardsProvider that offers cards
24
+ */
25
+ providerId: string,
26
+
27
+ card: object
28
+ ): void;
29
+ /**
30
+ * @experimental
31
+ *
32
+ * Callback when cards are available.
33
+ */
34
+ onCardsAvailable(
35
+ /**
36
+ * Unique id of the ICardsProvider that offers cards
37
+ */
38
+ providerId: string,
39
+ /**
40
+ * Array of simple objects with card information
41
+ */
42
+ cardInfos: object[]
43
+ ): void;
44
+ }
45
+
46
+ /**
47
+ * @experimental
48
+ *
49
+ * Interface required for classes that would like to provide cards using the `sap.insights.CardsChannel`.
50
+ */
51
+ interface ICardProvider {
52
+ __implements__sap_insights_ICardProvider: boolean;
53
+
54
+ /**
55
+ * @experimental
56
+ *
57
+ * Callback when a consumer requests a specific card.
58
+ */
59
+ onCardRequested(
60
+ /**
61
+ * Unique id of the ICardsConsumer that offers cards
62
+ */
63
+ consumerId: string,
64
+ /**
65
+ * Unique id of a card
66
+ */
67
+ cardId: string
68
+ ): void;
69
+ /**
70
+ * @experimental
71
+ *
72
+ * Callback when a consumer is connected.
73
+ */
74
+ onConsumerConnected(
75
+ /**
76
+ * Unique id of the ICardsConsumer that offers cards
77
+ */
78
+ consumerId: string
79
+ ): void;
80
+ /**
81
+ * @experimental
82
+ *
83
+ * Callback when a consumer is disconnected.
84
+ */
85
+ onConsumerDisconnected(
86
+ /**
87
+ * Unique id of the ICardsConsumer that offers cards
88
+ */
89
+ consumerId: string
90
+ ): void;
91
+ }
92
+
93
+ /**
94
+ * @experimental
95
+ *
96
+ * Public (experimental) interface of the sap.insights.UIService
97
+ */
98
+ interface UIService {
99
+ __implements__sap_insights_UIService: boolean;
100
+
101
+ /**
102
+ * @experimental
103
+ *
104
+ * Get a promise for the singleton instance of the cards channel.
105
+ */
106
+ getCardsChannel(): Promise<sap.insights.CardsChannel>;
107
+ /**
108
+ * @experimental
109
+ *
110
+ * Show preview for a given card
111
+ */
112
+ showCardPreview(
113
+ card: object,
114
+
115
+ bTransform?: boolean,
116
+
117
+ calledInternally?: boolean
118
+ ): Promise<void>;
119
+ }
120
+
121
+ /**
122
+ * @since 1.102
123
+ * @experimental (since 1.102)
124
+ *
125
+ * Provides functionality for Insight cards CRUD operations.
126
+ */
127
+ interface CardHelper {}
128
+
129
+ class CardsChannel extends sap.ui.base.Object {
130
+ /**
131
+ * Provides a communication between card providers and consumers in FLP and included iframes.
132
+ */
133
+ constructor();
134
+
135
+ /**
136
+ * Creates a new subclass of class sap.insights.CardsChannel with name `sClassName` and enriches it with
137
+ * the information contained in `oClassInfo`.
138
+ *
139
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
140
+ *
141
+ * @returns Created class / constructor function
142
+ */
143
+ static extend<T extends Record<string, unknown>>(
144
+ /**
145
+ * Name of the class being created
146
+ */
147
+ sClassName: string,
148
+ /**
149
+ * Object literal with information about the class
150
+ */
151
+ oClassInfo?: sap.ClassInfo<T, sap.insights.CardsChannel>,
152
+ /**
153
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
154
+ * used by this class
155
+ */
156
+ FNMetaImpl?: Function
157
+ ): Function;
158
+ /**
159
+ * Returns a metadata object for class sap.insights.CardsChannel.
160
+ *
161
+ * @returns Metadata object describing this class
162
+ */
163
+ static getMetadata(): sap.ui.base.Metadata;
164
+ /**
165
+ * @experimental
166
+ *
167
+ * Initialize the CardsChannel either with the FLP message broker or an internal implementation for iframes.
168
+ */
169
+ init(): Promise<void>;
170
+ /**
171
+ * @experimental
172
+ *
173
+ * Checks if the broker is enabled.
174
+ *
175
+ * @returns true if the broker is enabled
176
+ */
177
+ isEnabled(): boolean;
178
+ /**
179
+ * @experimental
180
+ *
181
+ * Send a list of all available cards to a given consumer or broadcast it to all consumers.
182
+ */
183
+ publishAvailableCards(
184
+ providerId: string,
185
+
186
+ cardInfos: object[],
187
+
188
+ consumerId: string
189
+ ): Promise<void>;
190
+ /**
191
+ * @experimental
192
+ *
193
+ * Send a card to a given consumer or broadcast it to all consumers.
194
+ */
195
+ publishCard(
196
+ providerId: string,
197
+
198
+ card: object,
199
+
200
+ consumerId?: string
201
+ ): Promise<void>;
202
+ /**
203
+ * @experimental
204
+ *
205
+ * Register a card consumer with a unique id. The consumer will be notified through its callback when corresponding
206
+ * messages are received.
207
+ */
208
+ registerConsumer(
209
+ /**
210
+ * Unique id of the consumer
211
+ */
212
+ id: string,
213
+ /**
214
+ * Implementation of the consumer
215
+ */
216
+ consumer: sap.insights.ICardConsumer
217
+ ): Promise<void>;
218
+ /**
219
+ * @experimental
220
+ *
221
+ * Register a card provider with a unique id. The provider will be notified if new consumers get registered.
222
+ */
223
+ registerProvider(
224
+ /**
225
+ * Unique id of the provider
226
+ */
227
+ id: string,
228
+ /**
229
+ * Object implementing the ICardProvider interface
230
+ */
231
+ provider: sap.insights.ICardProvider
232
+ ): Promise<void>;
233
+ /**
234
+ * @experimental
235
+ *
236
+ * Request a card from a given provider.
237
+ */
238
+ requestCard(
239
+ consumerId: string,
240
+
241
+ cardId: string,
242
+
243
+ providerId: string
244
+ ): Promise<void>;
245
+ /**
246
+ * @experimental
247
+ *
248
+ * Unregister a previously registered consumer or provider.
249
+ */
250
+ unregister(id: string): Promise<void>;
251
+ }
252
+ }
14
253
 
15
- declare namespace sap {
16
254
  interface IUI5DefineDependencyNames {
17
255
  "sap/insights/CardHelper": undefined;
18
256
 
257
+ "sap/insights/CardsChannel": undefined;
258
+
19
259
  "sap/insights/library": undefined;
20
260
  }
21
261
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.116.0
1
+ // For Library Version: 1.117.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -3550,19 +3550,40 @@ declare namespace sap {
3550
3550
  SoftwareComponents = "SoftwareComponents",
3551
3551
  }
3552
3552
 
3553
- type ActionBar$SelectEvent = sap.ui.base.Event<ActionBar$SelectEventParameters>;
3554
-
3555
- type DataContainer$SelectEvent = sap.ui.base.Event<DataContainer$SelectEventParameters>;
3556
-
3557
- type EntityAction$PressEvent = sap.ui.base.Event<EntityAction$PressEventParameters>;
3558
-
3559
- type EntityCustomAction$SelectEvent = sap.ui.base.Event<EntityCustomAction$SelectEventParameters>;
3560
-
3561
- type HeaderList$PressEvent = sap.ui.base.Event<HeaderList$PressEventParameters>;
3562
-
3563
- type IdentificationBar$SelectEvent = sap.ui.base.Event<IdentificationBar$SelectEventParameters>;
3564
-
3565
- type SingleDataContainer$ClosedEvent = sap.ui.base.Event<SingleDataContainer$ClosedEventParameters>;
3553
+ type ActionBar$SelectEvent = sap.ui.base.Event<
3554
+ ActionBar$SelectEventParameters,
3555
+ ActionBar
3556
+ >;
3557
+
3558
+ type DataContainer$SelectEvent = sap.ui.base.Event<
3559
+ DataContainer$SelectEventParameters,
3560
+ DataContainer
3561
+ >;
3562
+
3563
+ type EntityAction$PressEvent = sap.ui.base.Event<
3564
+ EntityAction$PressEventParameters,
3565
+ EntityAction
3566
+ >;
3567
+
3568
+ type EntityCustomAction$SelectEvent = sap.ui.base.Event<
3569
+ EntityCustomAction$SelectEventParameters,
3570
+ EntityCustomAction
3571
+ >;
3572
+
3573
+ type HeaderList$PressEvent = sap.ui.base.Event<
3574
+ HeaderList$PressEventParameters,
3575
+ HeaderList
3576
+ >;
3577
+
3578
+ type IdentificationBar$SelectEvent = sap.ui.base.Event<
3579
+ IdentificationBar$SelectEventParameters,
3580
+ IdentificationBar
3581
+ >;
3582
+
3583
+ type SingleDataContainer$ClosedEvent = sap.ui.base.Event<
3584
+ SingleDataContainer$ClosedEventParameters,
3585
+ SingleDataContainer
3586
+ >;
3566
3587
  }
3567
3588
 
3568
3589
  interface $ConnectionEntitySettings extends sap.ui.core.$ControlSettings {
@@ -7777,17 +7798,35 @@ declare namespace sap {
7777
7798
  SOLUTION_VIEW = "SOLUTION_VIEW",
7778
7799
  }
7779
7800
 
7780
- type LandscapeEntity$MouseOverIdenIconEvent = sap.ui.base.Event<LandscapeEntity$MouseOverIdenIconEventParameters>;
7781
-
7782
- type LandscapeEntity$StatusSelectEvent = sap.ui.base.Event<LandscapeEntity$StatusSelectEventParameters>;
7783
-
7784
- type LandscapeEntity$TrackInfoPressEvent = sap.ui.base.Event<LandscapeEntity$TrackInfoPressEventParameters>;
7785
-
7786
- type LandscapeViewer$CloseEvent = sap.ui.base.Event<LandscapeViewer$CloseEventParameters>;
7787
-
7788
- type LandscapeViewer$LoadSolutionViewEvent = sap.ui.base.Event<LandscapeViewer$LoadSolutionViewEventParameters>;
7789
-
7790
- type OptionEntity$SelectOptionEvent = sap.ui.base.Event<OptionEntity$SelectOptionEventParameters>;
7801
+ type LandscapeEntity$MouseOverIdenIconEvent = sap.ui.base.Event<
7802
+ LandscapeEntity$MouseOverIdenIconEventParameters,
7803
+ LandscapeEntity
7804
+ >;
7805
+
7806
+ type LandscapeEntity$StatusSelectEvent = sap.ui.base.Event<
7807
+ LandscapeEntity$StatusSelectEventParameters,
7808
+ LandscapeEntity
7809
+ >;
7810
+
7811
+ type LandscapeEntity$TrackInfoPressEvent = sap.ui.base.Event<
7812
+ LandscapeEntity$TrackInfoPressEventParameters,
7813
+ LandscapeEntity
7814
+ >;
7815
+
7816
+ type LandscapeViewer$CloseEvent = sap.ui.base.Event<
7817
+ LandscapeViewer$CloseEventParameters,
7818
+ LandscapeViewer
7819
+ >;
7820
+
7821
+ type LandscapeViewer$LoadSolutionViewEvent = sap.ui.base.Event<
7822
+ LandscapeViewer$LoadSolutionViewEventParameters,
7823
+ LandscapeViewer
7824
+ >;
7825
+
7826
+ type OptionEntity$SelectOptionEvent = sap.ui.base.Event<
7827
+ OptionEntity$SelectOptionEventParameters,
7828
+ OptionEntity
7829
+ >;
7791
7830
  }
7792
7831
 
7793
7832
  interface IUI5DefineDependencyNames {