@sapui5/types 1.120.8 → 1.121.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 (65) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -0
  3. package/types/sap.apf.d.ts +50 -18
  4. package/types/sap.ca.ui.d.ts +1112 -544
  5. package/types/sap.chart.d.ts +17 -1
  6. package/types/sap.collaboration.d.ts +185 -64
  7. package/types/sap.esh.search.ui.d.ts +2 -1870
  8. package/types/sap.f.d.ts +124 -45
  9. package/types/sap.fe.core.d.ts +221 -191
  10. package/types/sap.fe.macros.d.ts +461 -568
  11. package/types/sap.fe.navigation.d.ts +59 -26
  12. package/types/sap.fe.placeholder.d.ts +1 -1
  13. package/types/sap.fe.plugins.managecache.d.ts +9 -0
  14. package/types/sap.fe.templates.d.ts +16 -11
  15. package/types/sap.fe.test.d.ts +333 -33
  16. package/types/sap.fe.tools.d.ts +1 -1
  17. package/types/sap.feedback.ui.d.ts +1 -1
  18. package/types/sap.gantt.d.ts +3938 -1749
  19. package/types/sap.insights.d.ts +165 -43
  20. package/types/sap.m.d.ts +2103 -301
  21. package/types/sap.makit.d.ts +11 -1
  22. package/types/sap.me.d.ts +7 -1
  23. package/types/sap.ndc.d.ts +1 -1
  24. package/types/sap.ovp.d.ts +9 -7
  25. package/types/sap.rules.ui.d.ts +134 -75
  26. package/types/sap.sac.df.d.ts +270 -47
  27. package/types/sap.suite.ui.commons.d.ts +4323 -1016
  28. package/types/sap.suite.ui.generic.template.d.ts +38 -48
  29. package/types/sap.suite.ui.microchart.d.ts +63 -1
  30. package/types/sap.tnt.d.ts +628 -113
  31. package/types/sap.ui.codeeditor.d.ts +10 -6
  32. package/types/sap.ui.commons.d.ts +92 -8
  33. package/types/sap.ui.comp.d.ts +260 -111
  34. package/types/sap.ui.core.d.ts +500 -186
  35. package/types/sap.ui.dt.d.ts +1 -1
  36. package/types/sap.ui.export.d.ts +16 -3
  37. package/types/sap.ui.fl.d.ts +91 -68
  38. package/types/sap.ui.generic.app.d.ts +250 -193
  39. package/types/sap.ui.generic.template.d.ts +1 -1
  40. package/types/sap.ui.integration.d.ts +51 -4
  41. package/types/sap.ui.layout.d.ts +214 -27
  42. package/types/sap.ui.mdc.d.ts +1553 -820
  43. package/types/sap.ui.richtexteditor.d.ts +4 -1
  44. package/types/sap.ui.rta.d.ts +1 -1
  45. package/types/sap.ui.suite.d.ts +3 -1
  46. package/types/sap.ui.support.d.ts +28 -4
  47. package/types/sap.ui.table.d.ts +65 -11
  48. package/types/sap.ui.testrecorder.d.ts +1 -1
  49. package/types/sap.ui.unified.d.ts +157 -54
  50. package/types/sap.ui.ux3.d.ts +30 -12
  51. package/types/sap.ui.vbm.d.ts +6081 -3279
  52. package/types/sap.ui.vk.d.ts +2742 -837
  53. package/types/sap.ui.vtm.d.ts +681 -211
  54. package/types/sap.ui.webc.common.d.ts +1 -1
  55. package/types/sap.ui.webc.fiori.d.ts +49 -1
  56. package/types/sap.ui.webc.main.d.ts +144 -9
  57. package/types/sap.uiext.inbox.d.ts +1 -1
  58. package/types/sap.ushell.d.ts +4394 -3926
  59. package/types/sap.ushell_abap.d.ts +1 -1
  60. package/types/sap.uxap.d.ts +52 -5
  61. package/types/sap.viz.d.ts +89 -1
  62. package/types/sap.webanalytics.core.d.ts +1 -1
  63. package/types/sap.zen.commons.d.ts +79 -18
  64. package/types/sap.zen.crosstab.d.ts +81 -13
  65. package/types/sap.zen.dsh.d.ts +194 -143
@@ -1,31 +1,31 @@
1
- // For Library Version: 1.120.2
1
+ // For Library Version: 1.121.0
2
2
 
3
3
  declare module "sap/insights/library" {}
4
4
 
5
5
  declare module "sap/insights/CardHelper" {
6
6
  /**
7
+ * Provides functionality for Insight cards CRUD operations.
8
+ *
7
9
  * @since 1.102
8
10
  * @experimental (since 1.102)
9
- *
10
- * Provides functionality for Insight cards CRUD operations.
11
11
  */
12
12
  interface CardHelper {}
13
13
  const CardHelper: CardHelper;
14
14
  export default CardHelper;
15
15
 
16
16
  /**
17
- * @experimental
18
- *
19
17
  * Public (experimental) interface of the sap.insights.CardHelperService
18
+ *
19
+ * @experimental
20
20
  */
21
21
  export interface CardHelperService {
22
22
  __implements__sap_insights_CardHelperService: boolean;
23
23
 
24
24
  /**
25
- * @experimental
26
- *
27
25
  * Show preview for a given card
28
26
  *
27
+ * @experimental
28
+ *
29
29
  * @returns Returns promise, which generates preview for the passed card manifest
30
30
  */
31
31
  showCardPreview(
@@ -70,6 +70,7 @@ declare module "sap/insights/CardsChannel" {
70
70
  *
71
71
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
72
72
  *
73
+ *
73
74
  * @returns Created class / constructor function
74
75
  */
75
76
  static extend<T extends Record<string, unknown>>(
@@ -90,30 +91,31 @@ declare module "sap/insights/CardsChannel" {
90
91
  /**
91
92
  * Returns a metadata object for class sap.insights.CardsChannel.
92
93
  *
94
+ *
93
95
  * @returns Metadata object describing this class
94
96
  */
95
97
  static getMetadata(): Metadata;
96
98
  /**
97
- * @experimental
98
- *
99
99
  * Initialize the CardsChannel either with the FLP message broker or an internal implementation for iframes.
100
100
  *
101
+ * @experimental
102
+ *
101
103
  * @returns .
102
104
  */
103
105
  init(): Promise<void>;
104
106
  /**
105
- * @experimental
106
- *
107
107
  * Checks if the broker is enabled.
108
108
  *
109
+ * @experimental
110
+ *
109
111
  * @returns true if the broker is enabled
110
112
  */
111
113
  isEnabled(): boolean;
112
114
  /**
113
- * @experimental
114
- *
115
115
  * Send a list of all available cards to a given consumer or broadcast it to all consumers.
116
116
  *
117
+ * @experimental
118
+ *
117
119
  * @returns .
118
120
  */
119
121
  publishAvailableCards(
@@ -131,10 +133,10 @@ declare module "sap/insights/CardsChannel" {
131
133
  consumerId: string
132
134
  ): Promise<void>;
133
135
  /**
134
- * @experimental
135
- *
136
136
  * Send a card to a given consumer or broadcast it to all consumers.
137
137
  *
138
+ * @experimental
139
+ *
138
140
  * @returns .
139
141
  */
140
142
  publishCard(
@@ -152,11 +154,11 @@ declare module "sap/insights/CardsChannel" {
152
154
  consumerId?: string
153
155
  ): Promise<void>;
154
156
  /**
155
- * @experimental
156
- *
157
157
  * Register a card consumer with a unique id. The consumer will be notified through its callback when corresponding
158
158
  * messages are received.
159
159
  *
160
+ * @experimental
161
+ *
160
162
  * @returns .
161
163
  */
162
164
  registerConsumer(
@@ -170,10 +172,10 @@ declare module "sap/insights/CardsChannel" {
170
172
  consumer: ICardConsumer
171
173
  ): Promise<void>;
172
174
  /**
173
- * @experimental
174
- *
175
175
  * Register a card provider with a unique id. The provider will be notified if new consumers get registered.
176
176
  *
177
+ * @experimental
178
+ *
177
179
  * @returns .
178
180
  */
179
181
  registerProvider(
@@ -187,10 +189,10 @@ declare module "sap/insights/CardsChannel" {
187
189
  provider: ICardProvider
188
190
  ): Promise<void>;
189
191
  /**
190
- * @experimental
191
- *
192
192
  * Request a card from a given provider.
193
193
  *
194
+ * @experimental
195
+ *
194
196
  * @returns .
195
197
  */
196
198
  requestCard(
@@ -208,10 +210,10 @@ declare module "sap/insights/CardsChannel" {
208
210
  providerId: string
209
211
  ): Promise<void>;
210
212
  /**
211
- * @experimental
212
- *
213
213
  * Unregister a previously registered consumer or provider.
214
214
  *
215
+ * @experimental
216
+ *
215
217
  * @returns .
216
218
  */
217
219
  unregister(
@@ -222,9 +224,9 @@ declare module "sap/insights/CardsChannel" {
222
224
  ): Promise<void>;
223
225
  }
224
226
  /**
225
- * @experimental
226
- *
227
227
  * The card object
228
+ *
229
+ * @experimental
228
230
  */
229
231
  export type Card = {
230
232
  /**
@@ -238,9 +240,9 @@ declare module "sap/insights/CardsChannel" {
238
240
  };
239
241
 
240
242
  /**
241
- * @experimental
242
- *
243
243
  * The cardInfo object
244
+ *
245
+ * @experimental
244
246
  */
245
247
  export type CardInfo = {
246
248
  /**
@@ -262,17 +264,17 @@ declare module "sap/insights/CardsChannel" {
262
264
  };
263
265
 
264
266
  /**
265
- * @experimental
266
- *
267
267
  * Interface required for classes that would like to consume cards using the `sap.insights.CardsChannel`.
268
+ *
269
+ * @experimental
268
270
  */
269
271
  export interface ICardConsumer {
270
272
  __implements__sap_insights_ICardConsumer: boolean;
271
273
 
272
274
  /**
273
- * @experimental
274
- *
275
275
  * Callback when a card is created for this consumer.
276
+ *
277
+ * @experimental
276
278
  */
277
279
  onCardProvided(
278
280
  /**
@@ -283,9 +285,9 @@ declare module "sap/insights/CardsChannel" {
283
285
  card: object
284
286
  ): void;
285
287
  /**
286
- * @experimental
287
- *
288
288
  * Callback when cards are available.
289
+ *
290
+ * @experimental
289
291
  */
290
292
  onCardsAvailable(
291
293
  /**
@@ -300,17 +302,17 @@ declare module "sap/insights/CardsChannel" {
300
302
  }
301
303
 
302
304
  /**
303
- * @experimental
304
- *
305
305
  * Interface required for classes that would like to provide cards using the `sap.insights.CardsChannel`.
306
+ *
307
+ * @experimental
306
308
  */
307
309
  export interface ICardProvider {
308
310
  __implements__sap_insights_ICardProvider: boolean;
309
311
 
310
312
  /**
311
- * @experimental
312
- *
313
313
  * Callback when a consumer requests a specific card.
314
+ *
315
+ * @experimental
314
316
  */
315
317
  onCardRequested(
316
318
  /**
@@ -323,9 +325,9 @@ declare module "sap/insights/CardsChannel" {
323
325
  cardId: string
324
326
  ): void;
325
327
  /**
326
- * @experimental
327
- *
328
328
  * Callback when a consumer is connected.
329
+ *
330
+ * @experimental
329
331
  */
330
332
  onConsumerConnected(
331
333
  /**
@@ -334,9 +336,9 @@ declare module "sap/insights/CardsChannel" {
334
336
  consumerId: string
335
337
  ): void;
336
338
  /**
337
- * @experimental
338
- *
339
339
  * Callback when a consumer is disconnected.
340
+ *
341
+ * @experimental
340
342
  */
341
343
  onConsumerDisconnected(
342
344
  /**
@@ -347,6 +349,118 @@ declare module "sap/insights/CardsChannel" {
347
349
  }
348
350
  }
349
351
 
352
+ declare module "sap/insights/channels/ContextChannel" {
353
+ import BaseObject from "sap/ui/base/Object";
354
+
355
+ import Metadata from "sap/ui/base/Metadata";
356
+
357
+ export default class ContextChannel extends BaseObject {
358
+ /**
359
+ * Provides a communication between card providers and consumers in FLP and included iframes.
360
+ */
361
+ constructor();
362
+
363
+ /**
364
+ * Creates a new subclass of class sap.insights.channels.ContextChannel with name `sClassName` and enriches
365
+ * it with the information contained in `oClassInfo`.
366
+ *
367
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
368
+ *
369
+ *
370
+ * @returns Created class / constructor function
371
+ */
372
+ static extend<T extends Record<string, unknown>>(
373
+ /**
374
+ * Name of the class being created
375
+ */
376
+ sClassName: string,
377
+ /**
378
+ * Object literal with information about the class
379
+ */
380
+ oClassInfo?: sap.ClassInfo<T, ContextChannel>,
381
+ /**
382
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
383
+ * used by this class
384
+ */
385
+ FNMetaImpl?: Function
386
+ ): Function;
387
+ /**
388
+ * Returns a metadata object for class sap.insights.channels.ContextChannel.
389
+ *
390
+ *
391
+ * @returns Metadata object describing this class
392
+ */
393
+ static getMetadata(): Metadata;
394
+ /**
395
+ * Get the context from the active provider.
396
+ *
397
+ * @experimental
398
+ *
399
+ * @returns .
400
+ */
401
+ getContext(): Promise<object>;
402
+ /**
403
+ * Initialize the ContextChannel either with the FLP message broker or an internal implementation for iframes.
404
+ *
405
+ * @experimental
406
+ *
407
+ * @returns .
408
+ */
409
+ init(): Promise<void>;
410
+ /**
411
+ * Register a card provider with a unique id. The provider will be notified if new consumers get registered.
412
+ *
413
+ * @experimental
414
+ *
415
+ * @returns .
416
+ */
417
+ registerProvider(
418
+ /**
419
+ * Object implementing the TBD interface
420
+ */
421
+ provider: IContextProvider
422
+ ): Promise<void>;
423
+ /**
424
+ * Unregister a previously registered consumer or provider.
425
+ *
426
+ * @experimental
427
+ *
428
+ * @returns .
429
+ */
430
+ unregisterProvider(
431
+ /**
432
+ * Object implementing the TBD interface
433
+ */
434
+ provider: IContextProvider
435
+ ): Promise<void>;
436
+ }
437
+ /**
438
+ * Interface required for classes that would like to provide cards using the `sap.insights.CardsChannel`.
439
+ *
440
+ * @experimental
441
+ */
442
+ export interface IContextProvider {
443
+ __implements__sap_insights_channels_IContextProvider: boolean;
444
+
445
+ /**
446
+ * Getter of the current context as promise.
447
+ *
448
+ * @experimental
449
+ *
450
+ * @returns returns a promise of the context
451
+ */
452
+ getContext(): Promise<object>;
453
+ /**
454
+ * Get the unique identifier of the context provider (e.g. app id)
455
+ *
456
+ * @experimental
457
+ *
458
+ * @returns unique id of the context provider
459
+ */
460
+ getId(): string;
461
+ }
462
+ }
463
+
350
464
  declare module "sap/insights/ManageCards" {
351
465
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
352
466
 
@@ -355,10 +469,10 @@ declare module "sap/insights/ManageCards" {
355
469
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
356
470
 
357
471
  /**
358
- * @since 1.119
359
- *
360
472
  * This control shows list of all user cards and allows perform actions like change visibility, change order.
361
473
  * It also allows user to get preview of particular card, delete or copy.
474
+ *
475
+ * @since 1.119
362
476
  */
363
477
  export default class ManageCards extends Control {
364
478
  /**
@@ -372,6 +486,7 @@ declare module "sap/insights/ManageCards" {
372
486
  *
373
487
  * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
374
488
  *
489
+ *
375
490
  * @returns Created class / constructor function
376
491
  */
377
492
  static extend<T extends Record<string, unknown>>(
@@ -392,6 +507,7 @@ declare module "sap/insights/ManageCards" {
392
507
  /**
393
508
  * Returns a metadata object for class sap.insights.ManageCards.
394
509
  *
510
+ *
395
511
  * @returns Metadata object describing this class
396
512
  */
397
513
  static getMetadata(): ElementMetadata;
@@ -401,6 +517,7 @@ declare module "sap/insights/ManageCards" {
401
517
  * Sets the cardId property which decides whether to render the details page or cardlist page, if cardId
402
518
  * is provided , cardDetails page is rendered
403
519
  *
520
+ *
404
521
  * @returns Value of property `cardId`
405
522
  */
406
523
  getCardId(): string;
@@ -411,6 +528,7 @@ declare module "sap/insights/ManageCards" {
411
528
  *
412
529
  * Default value is `false`.
413
530
  *
531
+ *
414
532
  * @returns Value of property `enableResetAllCards`
415
533
  */
416
534
  getEnableResetAllCards(): boolean;
@@ -422,6 +540,7 @@ declare module "sap/insights/ManageCards" {
422
540
  *
423
541
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
424
542
  *
543
+ *
425
544
  * @returns Reference to `this` in order to allow method chaining
426
545
  */
427
546
  setCardId(
@@ -439,6 +558,7 @@ declare module "sap/insights/ManageCards" {
439
558
  *
440
559
  * Default value is `false`.
441
560
  *
561
+ *
442
562
  * @returns Reference to `this` in order to allow method chaining
443
563
  */
444
564
  setEnableResetAllCards(
@@ -469,6 +589,8 @@ declare namespace sap {
469
589
 
470
590
  "sap/insights/CardsChannel": undefined;
471
591
 
592
+ "sap/insights/channels/ContextChannel": undefined;
593
+
472
594
  "sap/insights/library": undefined;
473
595
 
474
596
  "sap/insights/ManageCards": undefined;