@sapui5/ts-types-esm 1.134.1 → 1.136.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 (68) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.cux.home.d.ts +82 -0
  7. package/types/sap.esh.search.ui.d.ts +1 -1
  8. package/types/sap.f.d.ts +102 -8
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +31 -7
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +1289 -386
  14. package/types/sap.fe.navigation.d.ts +1 -1
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +1 -1
  18. package/types/sap.fe.test.d.ts +6 -4
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +152 -22
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +837 -111
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +1 -1
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +249 -1230
  30. package/types/sap.suite.ui.commons.d.ts +83 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +15 -3
  32. package/types/sap.suite.ui.microchart.d.ts +1 -1
  33. package/types/sap.tnt.d.ts +215 -19
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +3643 -505
  37. package/types/sap.ui.core.d.ts +272 -155
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +21 -7
  41. package/types/sap.ui.generic.app.d.ts +1 -1
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.integration.d.ts +2 -2
  44. package/types/sap.ui.layout.d.ts +14 -13
  45. package/types/sap.ui.mdc.d.ts +160 -13
  46. package/types/sap.ui.richtexteditor.d.ts +39 -1
  47. package/types/sap.ui.rta.d.ts +31 -5
  48. package/types/sap.ui.suite.d.ts +1 -1
  49. package/types/sap.ui.support.d.ts +30 -16
  50. package/types/sap.ui.table.d.ts +16 -18
  51. package/types/sap.ui.testrecorder.d.ts +1 -1
  52. package/types/sap.ui.unified.d.ts +45 -32
  53. package/types/sap.ui.ux3.d.ts +3 -3
  54. package/types/sap.ui.vbm.d.ts +1 -1
  55. package/types/sap.ui.vk.d.ts +320 -110
  56. package/types/sap.ui.vtm.d.ts +1 -1
  57. package/types/sap.ui.webc.common.d.ts +1 -1
  58. package/types/sap.ui.webc.fiori.d.ts +1 -1
  59. package/types/sap.ui.webc.main.d.ts +1 -1
  60. package/types/sap.uiext.inbox.d.ts +1 -1
  61. package/types/sap.ushell.d.ts +63 -52
  62. package/types/sap.ushell_abap.d.ts +1 -1
  63. package/types/sap.uxap.d.ts +11 -21
  64. package/types/sap.viz.d.ts +1 -1
  65. package/types/sap.webanalytics.core.d.ts +1 -1
  66. package/types/sap.zen.commons.d.ts +1 -1
  67. package/types/sap.zen.crosstab.d.ts +1 -1
  68. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -413,12 +413,6 @@ declare namespace sap {
413
413
  * @since 1.50
414
414
  */
415
415
  namespace support {
416
- /**
417
- * The CoreFacade interface allows rule developers to access the metadata, models, UI areas and components
418
- * of the Core.
419
- *
420
- * Usage: The CoreFacade is passed as second argument to all rule check functions.
421
- */
422
416
  class CoreFacade {
423
417
  /**
424
418
  * @ui5-protected Do not call from applications (only from related classes in the framework)
@@ -427,26 +421,46 @@ declare namespace sap {
427
421
 
428
422
  /**
429
423
  * Gets the Components from the Core object.
424
+ *
425
+ *
426
+ * @returns Object with all components, keyed by their ID
430
427
  */
431
- getComponents(): void;
428
+ getComponents(): Record<
429
+ import("sap/ui/core/library").ID,
430
+ import("sap/ui/core/Component").default
431
+ >;
432
432
  /**
433
433
  * Gets the Metadata from the Core object.
434
+ *
435
+ * @deprecated As of version 1.119. without replacement. In future major versions, the Core no longer has
436
+ * a class nature and no longer inherits from sap.ui.base.Object and therefore no longer has metadata.
437
+ *
438
+ * @returns Metadata object describing the Core object
434
439
  */
435
- getMetadata(): void;
440
+ getMetadata(): import("sap/ui/base/Metadata").default;
436
441
  /**
437
442
  * Gets the Models from the Core object.
443
+ *
444
+ * @deprecated As of version 1.118.0. without replacement. In future major versions, the Core no longer
445
+ * has global models.
446
+ *
447
+ * @returns Object with all models, keyed by their name
438
448
  */
439
- getModels(): void;
449
+ getModels():
450
+ | Record<string, import("sap/ui/model/Model").default>
451
+ | undefined;
440
452
  /**
441
453
  * Gets the UI areas from the Core object.
454
+ *
455
+ *
456
+ * @returns Object with all UIAreas, keyed by their ID
442
457
  */
443
- getUIAreas(): void;
458
+ getUIAreas(): Record<
459
+ import("sap/ui/core/library").ID,
460
+ import("sap/ui/core/UIArea").default
461
+ >;
444
462
  }
445
- /**
446
- * The IssueManagerFacade allows rule developers to add new issues.
447
- *
448
- * Usage: The IssueManagerFacade is passed as first argument to all rule check functions.
449
- */
463
+
450
464
  class IssueManagerFacade {
451
465
  /**
452
466
  * @ui5-protected Do not call from applications (only from related classes in the framework)
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -619,9 +619,9 @@ declare module "sap/ui/table/AnalyticalTable" {
619
619
  import Event from "sap/ui/base/Event";
620
620
 
621
621
  /**
622
- * Table which handles analytical OData backends. The AnalyticalTable only works with an AnalyticalBinding
623
- * and correctly annotated OData services. Please check on the SAP Annotations for OData Version 2.0 documentation
624
- * for further details.
622
+ * Table that handles analytical OData back-end scenarios. The `AnalyticalTable` only works with {@link sap.ui.model.analytics.AnalyticalBinding AnalyticalBinding }
623
+ * and correctly annotated OData services. Please check out the functionality of analytical binding and
624
+ * the SAP Annotations for OData Version 2.0 documentation for further details.
625
625
  */
626
626
  export default class AnalyticalTable extends Table {
627
627
  /**
@@ -1917,6 +1917,9 @@ declare module "sap/ui/table/Column" {
1917
1917
  * Labels of the column which are displayed in the column header. Define a control for each header row in
1918
1918
  * the table. Use this aggregation if you want to use multiple headers per column.
1919
1919
  *
1920
+ * The {@link sap.m.plugins.ColumnAIAction ColumnAIAction} plugin is not compatible with multi
1921
+ * labels.
1922
+ *
1920
1923
  * @since 1.13.1
1921
1924
  */
1922
1925
  getMultiLabels(): Control[];
@@ -2860,6 +2863,9 @@ declare module "sap/ui/table/Column" {
2860
2863
  * Labels of the column which are displayed in the column header. Define a control for each header row in
2861
2864
  * the table. Use this aggregation if you want to use multiple headers per column.
2862
2865
  *
2866
+ * The {@link sap.m.plugins.ColumnAIAction ColumnAIAction} plugin is not compatible with multi
2867
+ * labels.
2868
+ *
2863
2869
  * @since 1.13.1
2864
2870
  */
2865
2871
  multiLabels?: Control[] | Control | AggregationBindingInfo | `{${string}}`;
@@ -3071,7 +3077,7 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
3071
3077
  */
3072
3078
  export default class MultiSelectionPlugin extends SelectionPlugin {
3073
3079
  /**
3074
- * Constructs an instance of sap.ui.table.plugins.MultiSelectionPlugin
3080
+ * Constructs an instance of sap.ui.table.plugins.MultiSelectionPlugin.
3075
3081
  *
3076
3082
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3077
3083
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
@@ -3570,20 +3576,16 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
3570
3576
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
3571
3577
 
3572
3578
  /**
3573
- * Implements the selection methods for a table.
3579
+ * Base class for the selection plugins. A selection plugin is responsible for the selection behavior of
3580
+ * the table. It handles the selection state and provides information about the selection state to the table.
3581
+ * The subclass is also responsible for firing the `selectionChange` event when the selection is changed.
3582
+ *
3583
+ * Do not add more than one selection plugin to a table.
3574
3584
  *
3575
3585
  * @since 1.64
3576
- * @experimental As of version 1.64.
3577
3586
  */
3578
3587
  export default abstract class SelectionPlugin extends UI5Element {
3579
3588
  /**
3580
- * Constructs an instance of sap.ui.table.plugins.SelectionPlugin
3581
- *
3582
- * The following restrictions apply:
3583
- * - Do not create subclasses of the `SelectionPlugin`. The API is subject to change. **Note:** Subclasses
3584
- * provided by the UI5 framework that are not explicitly marked as experimental or restricted in any other
3585
- * way can be used on a regular basis.
3586
- *
3587
3589
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
3588
3590
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
3589
3591
  * of the syntax of the settings object.
@@ -3749,8 +3751,6 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
3749
3751
  }
3750
3752
  /**
3751
3753
  * Describes the settings that can be provided to the SelectionPlugin constructor.
3752
- *
3753
- * @experimental As of version 1.64.
3754
3754
  */
3755
3755
  export interface $SelectionPluginSettings extends $ElementSettings {
3756
3756
  /**
@@ -11437,8 +11437,6 @@ declare namespace sap {
11437
11437
 
11438
11438
  "sap/ui/table/plugins/SelectionPlugin": undefined;
11439
11439
 
11440
- "sap/ui/table/plugins/V4Aggregation": undefined;
11441
-
11442
11440
  "sap/ui/table/Row": undefined;
11443
11441
 
11444
11442
  "sap/ui/table/RowAction": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1375,6 +1375,21 @@ declare module "sap/ui/unified/Calendar" {
1375
1375
  */
1376
1376
  oInitialFocusedDate?: object
1377
1377
  ): this;
1378
+ /**
1379
+ * Setter for the property `intervalSelection`. If set to `true`, an interval of dates can be selected.
1380
+ *
1381
+ * **Note:** This property should be set to `false` if `singleSelection` is set to `false`, as selecting
1382
+ * multiple intervals is not supported.
1383
+ *
1384
+ *
1385
+ * @returns Reference to `this` for method chaining
1386
+ */
1387
+ setIntervalSelection(
1388
+ /**
1389
+ * Indicates if `intervalSelection` should be enabled
1390
+ */
1391
+ bEnabled: boolean
1392
+ ): this;
1378
1393
  /**
1379
1394
  * Sets the associated {@link #getLegend legend}.
1380
1395
  *
@@ -1534,6 +1549,22 @@ declare module "sap/ui/unified/Calendar" {
1534
1549
  */
1535
1550
  bShowWeekNumbers?: boolean
1536
1551
  ): this;
1552
+ /**
1553
+ * Setter for the property `singleSelection`. If set to `true` only a single date or single interval, when
1554
+ * `intervalSelection` is set to `true`, can be selected.
1555
+ *
1556
+ * **Note:** This property should be set to `true` if `intervalSelection` is set to `true`, as selecting
1557
+ * multiple intervals is not supported.
1558
+ *
1559
+ *
1560
+ * @returns Reference to `this` for method chaining
1561
+ */
1562
+ setSingleSelection(
1563
+ /**
1564
+ * Indicates if `singleSelection` should be enabled
1565
+ */
1566
+ bEnabled: boolean
1567
+ ): this;
1537
1568
  /**
1538
1569
  * Sets a new value for property {@link #getWidth width}.
1539
1570
  *
@@ -5127,26 +5158,16 @@ declare module "sap/ui/unified/calendar/MonthPicker" {
5127
5158
  iColumns?: int
5128
5159
  ): this;
5129
5160
  /**
5130
- * Sets a new value for property {@link #getIntervalSelection intervalSelection}.
5161
+ * Setter for the property `intervalSelection`. If set to `true`, an interval of months can be selected.
5131
5162
  *
5132
- * Determines if an interval of dates can be selected.
5133
5163
  *
5134
- * **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
5135
- * multiple intervals is not supported.
5136
- *
5137
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5138
- *
5139
- * Default value is `false`.
5140
- *
5141
- * @since 1.74
5142
- *
5143
- * @returns Reference to `this` in order to allow method chaining
5164
+ * @returns Reference to `this` for method chaining
5144
5165
  */
5145
5166
  setIntervalSelection(
5146
5167
  /**
5147
- * New value for property `intervalSelection`
5168
+ * Indicates if `intervalSelection` should be enabled
5148
5169
  */
5149
- bIntervalSelection?: boolean
5170
+ bEnabled: boolean
5150
5171
  ): this;
5151
5172
  /**
5152
5173
  * sets a minimum and maximum month
@@ -7447,26 +7468,16 @@ declare module "sap/ui/unified/calendar/YearPicker" {
7447
7468
  oDate: Date | UI5Date
7448
7469
  ): this;
7449
7470
  /**
7450
- * Sets a new value for property {@link #getIntervalSelection intervalSelection}.
7471
+ * Setter for the property `intervalSelection`. If set to `true`, an interval of years can be selected.
7451
7472
  *
7452
- * Determines if an interval of dates can be selected.
7453
7473
  *
7454
- * **Note:** This property should be set to `false` if `_singleSelection` is set to `false`, as selecting
7455
- * multiple intervals is not supported.
7456
- *
7457
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
7458
- *
7459
- * Default value is `false`.
7460
- *
7461
- * @since 1.74
7462
- *
7463
- * @returns Reference to `this` in order to allow method chaining
7474
+ * @returns Reference to `this` for method chaining
7464
7475
  */
7465
7476
  setIntervalSelection(
7466
7477
  /**
7467
- * New value for property `intervalSelection`
7478
+ * Indicates if `intervalSelection` should be enabled
7468
7479
  */
7469
- bIntervalSelection?: boolean
7480
+ bEnabled: boolean
7470
7481
  ): this;
7471
7482
  /**
7472
7483
  * Sets a new value for property {@link #getPrimaryCalendarType primaryCalendarType}.
@@ -17984,7 +17995,7 @@ declare module "sap/ui/unified/FileUploaderXHRSettings" {
17984
17995
  declare module "sap/ui/unified/Menu" {
17985
17996
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
17986
17997
 
17987
- import { IContextMenu, ID, Dock, Collision } from "sap/ui/core/library";
17998
+ import { IContextMenu, ID, Collision } from "sap/ui/core/library";
17988
17999
 
17989
18000
  import { IMenuItem } from "sap/ui/unified/library";
17990
18001
 
@@ -17994,6 +18005,8 @@ declare module "sap/ui/unified/Menu" {
17994
18005
 
17995
18006
  import UI5Element from "sap/ui/core/Element";
17996
18007
 
18008
+ import Popup from "sap/ui/core/Popup";
18009
+
17997
18010
  import {
17998
18011
  PropertyBindingInfo,
17999
18012
  AggregationBindingInfo,
@@ -18488,11 +18501,11 @@ declare module "sap/ui/unified/Menu" {
18488
18501
  /**
18489
18502
  * The reference docking location of the menu for positioning the menu on the screen
18490
18503
  */
18491
- my: Dock,
18504
+ my: typeof Popup.Dock | keyof typeof Popup.Dock,
18492
18505
  /**
18493
18506
  * The 'of' element's reference docking location for positioning the menu on the screen
18494
18507
  */
18495
- at: Dock,
18508
+ at: typeof Popup.Dock | keyof typeof Popup.Dock,
18496
18509
  /**
18497
18510
  * The menu is positioned relatively to this element based on the given dock locations
18498
18511
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.0
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -19469,11 +19469,11 @@ declare module "sap/ui/ux3/ToolPopup" {
19469
19469
  /**
19470
19470
  * The ToolPopup's content reference position for docking
19471
19471
  */
19472
- my?: typeof Popup.Dock,
19472
+ my?: typeof Popup.Dock | keyof typeof Popup.Dock,
19473
19473
  /**
19474
19474
  * The "of" element's reference point for docking to
19475
19475
  */
19476
- at?: typeof Popup.Dock
19476
+ at?: typeof Popup.Dock | keyof typeof Popup.Dock
19477
19477
  ): this;
19478
19478
  /**
19479
19479
  * Removes all the controls from the aggregation {@link #getButtons buttons}.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.134.1
1
+ // For Library Version: 1.136.0
2
2
 
3
3
  declare module "sap/ui/vbm/library" {
4
4
  /**