@sapui5/ts-types 1.97.2 → 1.100.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 +0 -4
  3. package/types/sap.apf.d.ts +2 -2
  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.esh.search.ui.d.ts +2 -240
  8. package/types/sap.f.d.ts +263 -636
  9. package/types/sap.fe.common.d.ts +2 -6
  10. package/types/sap.fe.core.d.ts +399 -305
  11. package/types/sap.fe.macros.d.ts +567 -36
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.templates.d.ts +5 -1
  14. package/types/sap.fe.test.d.ts +19 -14
  15. package/types/sap.feedback.ui.d.ts +1 -1
  16. package/types/sap.gantt.d.ts +827 -12
  17. package/types/sap.landvisz.d.ts +49 -1
  18. package/types/sap.m.d.ts +4111 -397
  19. package/types/sap.makit.d.ts +1 -1
  20. package/types/sap.me.d.ts +1 -1
  21. package/types/sap.ndc.d.ts +38 -3
  22. package/types/sap.ovp.d.ts +1 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.grid.d.ts +3 -1
  25. package/types/sap.suite.ui.commons.d.ts +1 -1
  26. package/types/sap.suite.ui.generic.template.d.ts +29 -7
  27. package/types/sap.suite.ui.microchart.d.ts +5 -5
  28. package/types/sap.tnt.d.ts +31 -1
  29. package/types/sap.ui.codeeditor.d.ts +1 -1
  30. package/types/sap.ui.commons.d.ts +1 -1
  31. package/types/sap.ui.comp.d.ts +313 -46
  32. package/types/sap.ui.core.d.ts +2094 -799
  33. package/types/sap.ui.dt.d.ts +1 -1
  34. package/types/sap.ui.export.d.ts +3 -3
  35. package/types/sap.ui.fl.d.ts +17 -5
  36. package/types/sap.ui.generic.app.d.ts +4 -3
  37. package/types/sap.ui.generic.template.d.ts +1 -1
  38. package/types/sap.ui.integration.d.ts +49 -13
  39. package/types/sap.ui.layout.d.ts +7 -4
  40. package/types/sap.ui.mdc.d.ts +24 -6
  41. package/types/sap.ui.richtexteditor.d.ts +7 -1
  42. package/types/sap.ui.rta.d.ts +1 -1
  43. package/types/sap.ui.suite.d.ts +1 -1
  44. package/types/sap.ui.support.d.ts +6 -12
  45. package/types/sap.ui.table.d.ts +24 -2
  46. package/types/sap.ui.testrecorder.d.ts +1 -1
  47. package/types/sap.ui.unified.d.ts +1 -1
  48. package/types/sap.ui.ux3.d.ts +1 -1
  49. package/types/sap.ui.vbm.d.ts +1 -3
  50. package/types/sap.ui.vk.d.ts +124 -31
  51. package/types/sap.ui.vtm.d.ts +4 -4
  52. package/types/sap.uiext.inbox.d.ts +2 -2
  53. package/types/sap.ushell.d.ts +4999 -5059
  54. package/types/sap.ushell_abap.d.ts +1 -495
  55. package/types/sap.uxap.d.ts +1 -1
  56. package/types/sap.viz.d.ts +105 -231
  57. package/types/sap.webanalytics.core.d.ts +1 -1
  58. package/types/sap.zen.commons.d.ts +1 -1
  59. package/types/sap.zen.crosstab.d.ts +1 -1
  60. package/types/sap.zen.dsh.d.ts +2 -6
  61. package/types/sap.fe.placeholder.d.ts +0 -3
  62. package/types/sap.fe.plugins.d.ts +0 -3
  63. package/types/sap.fe.semantics.d.ts +0 -3
  64. package/types/sap.fe.tools.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.1
1
+ // For Library Version: 1.100.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -210,501 +210,7 @@ declare namespace sap {
210
210
  }
211
211
  }
212
212
 
213
- namespace ui2 {
214
- namespace srvc {
215
- /**
216
- * @SINCE 1.19.0
217
- */
218
- class ODataService {
219
- /**
220
- * Constructs a facade to any OData service, providing token handling for SAP NetWeaver Gateway's token-based
221
- * CSRF protection mechanism.
222
- */
223
- constructor(
224
- /**
225
- * OData wrapper instance this service facade delegates to
226
- */
227
- oODataWrapper: sap.ui2.srvc.ODataWrapper,
228
- /**
229
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
230
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
231
- * for more details.
232
- */
233
- fnDefaultFailure?: (p1: string, p2: object) => void
234
- );
235
-
236
- /**
237
- * @SINCE 1.7.0
238
- *
239
- * Returns the current value of the CSRF token. It is initially empty and determined automatically by `sap.ui2.srvc.ODataWrapper`
240
- * on successful read requests.
241
- * See:
242
- * #refreshCsrfToken
243
- * #setCsrfToken
244
- */
245
- getCsrfToken(): string;
246
- /**
247
- * @SINCE 1.19.0
248
- *
249
- * Opens a new queue where all requests are parked until a call to {@link #submitBatchQueue}.
250
- */
251
- openBatchQueue(): void;
252
- /**
253
- * @SINCE 1.17.0
254
- *
255
- * Refreshes the CSRF token of this OData service by reading the service document again, which is never
256
- * cached. Called automatically by `sap.ui2.srvc.ODataWrapper` on a write operation if the CSRF token is
257
- * missing or expired.
258
- * See:
259
- * #getCsrfToken
260
- * #setCsrfToken
261
- * sap.ui2.srvc.ODataWrapper#read
262
- */
263
- refreshCsrfToken(
264
- /**
265
- * a callback function that is executed if the request succeeds
266
- */
267
- fnSuccess: Function,
268
- /**
269
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
270
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
271
- * for more details.
272
- */
273
- fnFailure?: (p1: string, p2: object) => void
274
- ): void;
275
- /**
276
- * @SINCE 1.7.0
277
- *
278
- * Determines the new value of the CSRF token. Use this function to synchronize the CSRF token across multiple
279
- * instances of this facade in case their first read requests run in parallel. Retrieve the token from a
280
- * service in the success handler of its read request and distribute it to all other services; do so for
281
- * each service. Note that the last success handler of all first read requests run in parallel determines
282
- * the token to be used for modifications. If debugging HTTP traffic, watch out for `x-csrf-token` headers
283
- * and `sap-XSRF_*` cookies.
284
- * See:
285
- * #getCsrfToken
286
- * #refreshCsrfToken
287
- */
288
- setCsrfToken(
289
- /**
290
- * the new value of the CSRF token, which may be `null` or `undefined`
291
- */
292
- sNewCsrfToken?: string
293
- ): void;
294
- /**
295
- * @SINCE 1.2.0
296
- *
297
- * Sets the default error handler for this facade.
298
- */
299
- setDefaultErrorHandler(
300
- /**
301
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
302
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
303
- * for more details.
304
- */
305
- fnNewDefaultFailure: (p1: string, p2: object) => void
306
- ): void;
307
- /**
308
- * @SINCE 1.19.0
309
- *
310
- * Submits the current batch queue opened by {@link #openBatchQueue} by sending a single "$batch" request
311
- * to the OData service and deletes the current batch queue immediately.
312
- * See:
313
- * #openBatchQueue
314
- * #isBatchQueueOpen
315
- */
316
- submitBatchQueue(
317
- /**
318
- * A callback function that is executed if the batch request is accepted by the server, no matter whether
319
- * individual operations fail. It will be called **after** all success or failure handlers of individual
320
- * operations.
321
- */
322
- fnBatchAccepted?: Function,
323
- /**
324
- * A callback function that is executed if the batch request itself fails, error handler taking an error
325
- * message and, since version 1.28.6, an optional object containing the complete error information as delivered
326
- * by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError} for more details.
327
- *
328
- * Defaults to the OData service facade's default error handler ({@link sap.ui2.srvc.ODataService#getDefaultErrorHandler}).
329
- *
330
- * This is called **instead** of individual failure handlers in this case!
331
- */
332
- fnBatchItselfFailed?: (p1: string, p2: object) => void
333
- ): void;
334
- }
335
- /**
336
- * @SINCE 1.19.0
337
- */
338
- class ODataWrapper {
339
- /**
340
- * Constructs a wrapper around `OData`, providing CSRF token handling, caching and generic batch support.
341
- * The sap-statistics header is automatically added to all requests if the URL query parameter `sap-statistics=true`
342
- * is set (see
343
- * SAP Performance Statistics). If `OData` is missing, "sap.ui.thirdparty.datajs" is required automatically.
344
- * The preferred way to call the constructor is from a "sub-class" of {@link sap.ui2.srvc.ODataService}:
345
- *
346
- * ```javascript
347
- *
348
- * function Service() {
349
- * var oWrapper = new sap.ui2.srvc.ODataWrapper(oSettings, this);
350
- * sap.ui2.srvc.ODataService.call(this, oWrapper, fnDefaultFailure);
351
- * }
352
- * var myService = new Service();
353
- * ```
354
- * This provides public inheritance of `sap.ui2.srvc.ODataService` methods and private inheritance of `sap.ui2.srvc.ODataWrapper`
355
- * methods. In case you are not providing a public "sub-class" of `sap.ui2.srvc.ODataService` but only want
356
- * to use methods from `sap.ui2.srvc.ODataWrapper`, {@link sap.ui2.srvc.createODataWrapper} is the preferred
357
- * way to construct an instance.
358
- */
359
- constructor(
360
- /**
361
- * An object containing various properties:
362
- * ```javascript
363
- *
364
- * {
365
- * baseUrl: "/OData/OData.svc", // Mandatory base URL of the OData service
366
- * supportsChangeSets: false, // Type: boolean, Default: false
367
- * // Whether the OData service supports change sets with **multiple**
368
- * // operations bundled into a single logical unit of work. Otherwise
369
- * // each modifying operation is isolated in a change set of its own.
370
- * "sap-language": "EN", // header which is set for all requests sent
371
- * "sap-client": 120, // header which is set for all requests sent
372
- * "sap-statistics": true // header which is set for all requests sent; in order to receive
373
- * // some performance statistics
374
- * }
375
- * ```
376
- */
377
- oSettings: object,
378
- /**
379
- * facade to any OData service, keeping track of CSRF token and default error handler (see {@link #getODataService})
380
- */
381
- oODataService: sap.ui2.srvc.ODataService
382
- );
383
-
384
- /**
385
- * @SINCE 1.19.0
386
- *
387
- * Checks that the given callback functions are really functions. This check is useful to "fail fast" because
388
- * these callbacks are not called immediately.
389
- */
390
- check(
391
- /**
392
- * success callback
393
- */
394
- fnSuccess: Function,
395
- /**
396
- * error callback
397
- */
398
- fnFailure: Function
399
- ): void;
400
- /**
401
- * @SINCE 1.19.0
402
- *
403
- * Wrapper around `OData.request` which is able to automatically fetch a CSRF token if required. It uses
404
- * POST as a method.
405
- */
406
- create(
407
- /**
408
- * a string containing the **relative** URL w.r.t. this OData wrapper's base URL, e.g. "Products"
409
- */
410
- sRelativeUrl: string,
411
- /**
412
- * payload of the request (in intermediate format)
413
- */
414
- oPayload: object,
415
- /**
416
- * callback function that is executed if the request succeeds, taking the processed data
417
- */
418
- fnSuccess?: (p1: object) => void,
419
- /**
420
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
421
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
422
- * for more details. Defaults to the OData service facade's default error handler
423
- */
424
- fnFailure?: (p1: string, p2: object) => void
425
- ): void;
426
- /**
427
- * @SINCE 1.19.0
428
- *
429
- * Wrapper around `OData.request` which is able to automatically fetch a CSRF token if required. It uses
430
- * DELETE as a method.
431
- */
432
- del(
433
- /**
434
- * either a string containing the **relative** URL w.r.t. this OData wrapper's base URL, e.g. "Products(1)",
435
- * or the datajs representation of the entity
436
- */
437
- vEntity: string | object,
438
- /**
439
- * callback function that is executed if the request succeeds, taking no data
440
- */
441
- fnSuccess?: Function,
442
- /**
443
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
444
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
445
- * for more details. Defaults to the OData service facade's default error handler
446
- */
447
- fnFailure?: (p1: string, p2: object) => void
448
- ): void;
449
- /**
450
- * @SINCE 1.30.0
451
- *
452
- * Configures and activates session stickiness. Session stickiness allows the client to execute
453
- * OData requests to the same application server. This is achieved by copying a certain sticky session header
454
- * (found in the OData response from the server) to the OData request made by ODataWrapper, indicating the
455
- * load balancer that requests should be made against a certain application server. Once detected, the sticky
456
- * header is automatically shared by all instances of `sap.ui2.srvc.ODataWrapper` connected to exactly the
457
- * same base URL. NOTE: The sticky session header sent from the server always overrides the last
458
- * sticky session header requested. This is to avoid that the feature is disabled if the load balancer returns
459
- * another value for the sticky session header for some reason (e.g. the application server goes offline).
460
- * NOTE: In line with {@link sap.ui2.srvc.PageBuildingService}, session stickiness is only supported
461
- * in scopes different from PERS. Currently, session stickiness is affected by the following restrictions:
462
- *
463
- * - If the client caches the response headers for certain requests, these cached headers will be used
464
- * instead of the headers sent from the server (as in if cache was disabled).
465
- * - If initial requests to different URLs that share the same base URL are performed asynchronously (e.g.
466
- * through multiple instances of ODataWrapper), sticky session may be disabled for a part or all of these
467
- * initial requests. This is because the requests are made before the first response with a sticky session
468
- * header is obtained.
469
- * - This mechanism only guarantees that requests are forwarded to the specified application server. For
470
- * example, if the application server in turn contacts further load balanced servers, the session may not
471
- * be maintain and load balancing may still occur.
472
- */
473
- enableStickySession(): void;
474
- /**
475
- * @SINCE 1.19.0
476
- *
477
- * Returns the wrapper's base URL.
478
- */
479
- getBaseUrl(): string;
480
- /**
481
- * @SINCE 1.19.1
482
- *
483
- * Returns this wrapper's facade to an OData service (which was passed to the constructor {@link sap.ui2.srvc.ODataWrapper}).
484
- */
485
- getODataService(): sap.ui2.srvc.ODataService;
486
- /**
487
- * @SINCE 1.34.0
488
- *
489
- * Checks whether the queue of requests is already open or not
490
- * See:
491
- * #openBatchQueue
492
- * #submitBatchQueue
493
- */
494
- isBatchQueueOpen(): boolean;
495
- /**
496
- * @SINCE 1.30.0
497
- *
498
- * Checks whether session stickyness is configured and enabled
499
- */
500
- isStickySessionEnabled(): boolean;
501
- /**
502
- * @SINCE 1.19.0
503
- *
504
- * Wraps the given generic OData failure handler. It processes the raw OData error response object, calls
505
- * the given failure handler with an error message and, since version 1.28.6, an object containing additional
506
- * technical details. If a Deferred object is given, it is rejected with the same arguments passed to the
507
- * failure handler call.
508
- *
509
- * This method logs technical information to the console if this is available at the time the error occurs.
510
- */
511
- onError(
512
- /**
513
- * the HTTP method used in the OData request, e.g. "POST"
514
- */
515
- sMethod: string,
516
- /**
517
- * the **absolute** URL the request is sent to
518
- */
519
- sRequestUrl: string,
520
- /**
521
- * the wrapped failure handler that will be called synchronously. The first parameter is a human-readable
522
- * error message containing technical information, including sMethod and sRequestUrl; the second parameter
523
- * is an **optional** object containing the complete error information returned in the `error` value contained
524
- * in the body of the OData error response object, plus the HTTP response status code.
525
- *
526
- * For example, the returned error object has the following structure:
527
- * ```javascript
528
- *
529
- * {
530
- * httpStatus: 404,
531
- * // ... other keys and values from oError.response.body.error
532
- * }
533
- * ```
534
- *
535
- *
536
- * Please refer to the documentation of the specific OData service used for details about keys and values
537
- * returned in `oError.response.body.error`.
538
- *
539
- * **IMPORTANT:** the second parameter may be undefined if the error cannot be parsed or is not returned
540
- * in the OData error response.
541
- *
542
- * **NOTE:** the second parameter is returned since version 1.28.6.
543
- */
544
- fnFailure: (p1: string, p2: object) => void,
545
- /**
546
- * a `jQuery.Deferred` object that will be rejected with the same arguments fnFailure is called
547
- */
548
- oDeferred: jQuery.Deferred,
549
- /**
550
- * error object provided by datajs, should contain the response
551
- */
552
- oError: object
553
- ): void;
554
- /**
555
- * @SINCE 1.19.0
556
- *
557
- * Wraps the given generic OData failure handler. It processes the raw OData error response object, calls
558
- * the given failure handler with an error message and, since version 1.28.6, an object containing additional
559
- * technical details. If a Deferred object is given, it is rejected with the same arguments passed to the
560
- * failure handler call.
561
- *
562
- * This method logs technical information to the console if this is available at the time the error occurs.
563
- */
564
- onError(
565
- /**
566
- * the HTTP method used in the OData request, e.g. "POST"
567
- */
568
- sMethod: string,
569
- /**
570
- * the **absolute** URL the request is sent to
571
- */
572
- sRequestUrl: string,
573
- /**
574
- * the wrapped failure handler that will be called synchronously. The first parameter is a human-readable
575
- * error message containing technical information, including sMethod and sRequestUrl; the second parameter
576
- * is an **optional** object containing the complete error information returned in the `error` value contained
577
- * in the body of the OData error response object, plus the HTTP response status code.
578
- *
579
- * For example, the returned error object has the following structure:
580
- * ```javascript
581
- *
582
- * {
583
- * httpStatus: 404,
584
- * // ... other keys and values from oError.response.body.error
585
- * }
586
- * ```
587
- *
588
- *
589
- * Please refer to the documentation of the specific OData service used for details about keys and values
590
- * returned in `oError.response.body.error`.
591
- *
592
- * **IMPORTANT:** the second parameter may be undefined if the error cannot be parsed or is not returned
593
- * in the OData error response.
594
- *
595
- * **NOTE:** the second parameter is returned since version 1.28.6.
596
- */
597
- fnFailure: (p1: string, p2: object) => void,
598
- /**
599
- * error object provided by datajs, should contain the response
600
- */
601
- oError: object
602
- ): void;
603
- /**
604
- * @SINCE 1.19.0
605
- *
606
- * Opens a new queue where all requests are parked until a call to {@link #submitBatchQueue}.
607
- * See:
608
- * #isBatchQueueOpen
609
- * #submitBatchQueue
610
- */
611
- openBatchQueue(): void;
612
- /**
613
- * @SINCE 1.19.0
614
- *
615
- * Wrapper around `OData.read`
616
- * which supports caching.
617
- */
618
- read(
619
- /**
620
- * a string containing the **relative** URL w.r.t. this OData wrapper's base URL, e.g. "Products(1)"
621
- */
622
- sRelativeUrl: string,
623
- /**
624
- * a callback function that is executed if the request succeeds, taking the processed data
625
- */
626
- fnSuccess: (p1: object) => void,
627
- /**
628
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
629
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
630
- * for more details. Defaults to the OData service facade's default error handler ({@link sap.ui2.srvc.ODataService#getDefaultErrorHandler})
631
- */
632
- fnFailure?: (p1: string, p2: object) => void,
633
- /**
634
- * whether the response is cached for further calls (since 1.11.0) in `OData.read.$cache`, a `sap.ui2.srvc.Map`
635
- * from `sRequestUrl` to a `jQuery.Deferred` object created on demand; without this flag, the cache is neither
636
- * written nor read!
637
- */
638
- bCache?: boolean
639
- ): void;
640
- /**
641
- * @SINCE 1.19.0
642
- *
643
- * Submits the current batch queue opened by {@link #openBatchQueue} by sending a single "$batch" request
644
- * to the OData service and deletes the current batch queue immediately.
645
- * See:
646
- * #openBatchQueue
647
- * #isBatchQueueOpen
648
- */
649
- submitBatchQueue(
650
- /**
651
- * A callback function that is executed if the batch request is accepted by the server, no matter whether
652
- * individual operations fail. It will be called **after** all success or failure handlers of individual
653
- * operations.
654
- */
655
- fnBatchAccepted?: Function,
656
- /**
657
- * A callback function that is executed if the batch request itself fails, error handler taking an error
658
- * message and, since version 1.28.6, an optional object containing the complete error information as delivered
659
- * by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError} for more details.
660
- *
661
- * Defaults to the OData service facade's default error handler ({@link sap.ui2.srvc.ODataService#getDefaultErrorHandler}).
662
- *
663
- * This is called **instead** of individual failure handlers in this case!
664
- */
665
- fnBatchItselfFailed?: (p1: string, p2: object) => void
666
- ): void;
667
- /**
668
- * @SINCE 1.19.0
669
- *
670
- * Returns this wrapper's string representation.
671
- */
672
- toString(
673
- /**
674
- * flag whether to show all properties
675
- */
676
- bVerbose?: boolean
677
- ): string;
678
- /**
679
- * @SINCE 1.19.0
680
- *
681
- * Generic entity update method.
682
- */
683
- update(
684
- /**
685
- * the datajs representation of the entity
686
- */
687
- oEntity: object,
688
- /**
689
- * callback function that is executed if the request succeeds, taking no data
690
- */
691
- fnSuccess?: Function,
692
- /**
693
- * error handler taking an error message and, since version 1.28.6, an optional object containing the complete
694
- * error information as delivered by the ODataService. See fnFailure parameter of {@link sap.ui2.srvc.ODataWrapper#onError}
695
- * for more details. Defaults to the OData service facade's default error handler
696
- */
697
- fnFailure?: (p1: string, p2: object) => void
698
- ): void;
699
- }
700
- }
701
- }
702
-
703
213
  interface IUI5DefineDependencyNames {
704
- "sap/ui2/srvc/ODataService": undefined;
705
-
706
- "sap/ui2/srvc/ODataWrapper": undefined;
707
-
708
214
  "sap/ushell_abap/bootstrap/evo/abap-dbg": undefined;
709
215
 
710
216
  "sap/ushell_abap/library": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.97.1
1
+ // For Library Version: 1.100.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**