@sapui5/ts-types-esm 1.108.2 → 1.109.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/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -3
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +1 -1
  7. package/types/sap.f.d.ts +267 -25
  8. package/types/sap.fe.common.d.ts +1 -1
  9. package/types/sap.fe.core.d.ts +56 -20
  10. package/types/sap.fe.macros.d.ts +23 -1
  11. package/types/sap.fe.navigation.d.ts +1 -1
  12. package/types/sap.fe.templates.d.ts +3 -3
  13. package/types/sap.fe.test.d.ts +37 -17
  14. package/types/sap.feedback.ui.d.ts +1 -1
  15. package/types/sap.gantt.d.ts +51 -1
  16. package/types/sap.insights.d.ts +1 -1
  17. package/types/sap.landvisz.d.ts +1 -1
  18. package/types/sap.m.d.ts +159 -61
  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 +83 -29
  22. package/types/sap.ovp.d.ts +1 -1
  23. package/types/sap.rules.ui.d.ts +1 -1
  24. package/types/sap.sac.df.d.ts +236 -806
  25. package/types/sap.sac.grid.d.ts +1 -1
  26. package/types/sap.suite.ui.commons.d.ts +1 -1
  27. package/types/sap.suite.ui.generic.template.d.ts +480 -1
  28. package/types/sap.suite.ui.microchart.d.ts +1 -1
  29. package/types/sap.tnt.d.ts +1 -1
  30. package/types/sap.ui.codeeditor.d.ts +1 -1
  31. package/types/sap.ui.commons.d.ts +1 -1
  32. package/types/sap.ui.comp.d.ts +97 -13
  33. package/types/sap.ui.core.d.ts +240 -260
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +1 -1
  36. package/types/sap.ui.fl.d.ts +91 -13
  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 +64 -5
  40. package/types/sap.ui.layout.d.ts +1 -1
  41. package/types/sap.ui.mdc.d.ts +3 -1
  42. package/types/sap.ui.richtexteditor.d.ts +1 -1
  43. package/types/sap.ui.rta.d.ts +1 -1
  44. package/types/sap.ui.suite.d.ts +1 -1
  45. package/types/sap.ui.support.d.ts +397 -95
  46. package/types/sap.ui.table.d.ts +1 -3
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +81 -3
  49. package/types/sap.ui.ux3.d.ts +1 -1
  50. package/types/sap.ui.vbm.d.ts +39 -36
  51. package/types/sap.ui.vk.d.ts +538 -261
  52. package/types/sap.ui.vtm.d.ts +1 -1
  53. package/types/sap.ui.webc.common.d.ts +1 -1
  54. package/types/sap.ui.webc.fiori.d.ts +1 -1
  55. package/types/sap.ui.webc.main.d.ts +1 -1
  56. package/types/sap.uiext.inbox.d.ts +5 -5
  57. package/types/sap.ushell.d.ts +1 -1
  58. package/types/sap.ushell_abap.d.ts +1 -1
  59. package/types/sap.uxap.d.ts +1 -1
  60. package/types/sap.viz.d.ts +1 -1
  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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types-esm",
3
- "version": "1.108.2",
3
+ "version": "1.109.0",
4
4
  "description": "SAPUI5 TypeScript Definitions - ES Modules",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.0
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/apf/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.0
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/ca/ui/library" {
4
4
  export namespace charts {
@@ -13906,8 +13906,6 @@ declare namespace sap {
13906
13906
 
13907
13907
  "sap/ca/ui/DatePicker": undefined;
13908
13908
 
13909
- "sap/ca/ui/dialog/factory": undefined;
13910
-
13911
13909
  "sap/ca/ui/ExpansibleFeedListItem": undefined;
13912
13910
 
13913
13911
  "sap/ca/ui/FileUpload": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.0
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/collaboration/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.0
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/esh/search/ui/library" {}
4
4
 
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -2446,6 +2446,18 @@ declare module "sap/f/cards/NumericHeader" {
2446
2446
  * @returns Value of property `number`
2447
2447
  */
2448
2448
  getNumber(): string;
2449
+ /**
2450
+ * @SINCE 1.109
2451
+ *
2452
+ * Gets current value of property {@link #getNumberVisible numberVisible}.
2453
+ *
2454
+ * Whether the main numeric indicator is visible or not
2455
+ *
2456
+ * Default value is `true`.
2457
+ *
2458
+ * @returns Value of property `numberVisible`
2459
+ */
2460
+ getNumberVisible(): boolean;
2449
2461
  /**
2450
2462
  * Gets current value of property {@link #getScale scale}.
2451
2463
  *
@@ -2654,6 +2666,25 @@ declare module "sap/f/cards/NumericHeader" {
2654
2666
  */
2655
2667
  sNumber: string
2656
2668
  ): this;
2669
+ /**
2670
+ * @SINCE 1.109
2671
+ *
2672
+ * Sets a new value for property {@link #getNumberVisible numberVisible}.
2673
+ *
2674
+ * Whether the main numeric indicator is visible or not
2675
+ *
2676
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2677
+ *
2678
+ * Default value is `true`.
2679
+ *
2680
+ * @returns Reference to `this` in order to allow method chaining
2681
+ */
2682
+ setNumberVisible(
2683
+ /**
2684
+ * New value for property `numberVisible`
2685
+ */
2686
+ bNumberVisible?: boolean
2687
+ ): this;
2657
2688
  /**
2658
2689
  * Sets a new value for property {@link #getScale scale}.
2659
2690
  *
@@ -2870,6 +2901,13 @@ declare module "sap/f/cards/NumericHeader" {
2870
2901
  */
2871
2902
  number?: string | PropertyBindingInfo;
2872
2903
 
2904
+ /**
2905
+ * @SINCE 1.109
2906
+ *
2907
+ * Whether the main numeric indicator is visible or not
2908
+ */
2909
+ numberVisible?: boolean | PropertyBindingInfo | `{${string}}`;
2910
+
2873
2911
  /**
2874
2912
  * Defines the unit of measurement (scaling prefix) for the main indicator. Financial characters can be
2875
2913
  * used for currencies and counters. The International System of Units (SI) prefixes can be used. If the
@@ -18950,12 +18988,10 @@ declare module "sap/f/SidePanel" {
18950
18988
 
18951
18989
  /**
18952
18990
  * @SINCE 1.107
18953
- * @EXPERIMENTAL (since 1.107) - This class is experimental and provides only limited functionality. Also
18954
- * the API might be changed in future.
18955
18991
  *
18956
18992
  * Overview:
18957
18993
  *
18958
- * `SidePanel` is a layout control that allows primary and additional content to be displayed by clicking/tapping
18994
+ * `SidePanel` is a layout control that allows primary and additional content to be displayed by choosing
18959
18995
  * the action items from its action bar.
18960
18996
  *
18961
18997
  * Usage:
@@ -18963,8 +18999,8 @@ declare module "sap/f/SidePanel" {
18963
18999
  * Action bar with action items have two states - collapsed and expanded. In collapsed state only icons
18964
19000
  * are displayed, and in expanded state both icons and titles are displayed.
18965
19001
  *
18966
- * Each action item can have a content and click/tap on action item toggles the display of its content.
18967
- * The content can be added to the action item's `content` aggregation, or can be added or changed later.
19002
+ * Each action item can have a content and choose an action item toggles the display of its content. The
19003
+ * content can be added to the action item's `content` aggregation, or can be added or changed later.
18968
19004
  *
18969
19005
  * Each click/tap fires an event, and in the event handler specific content can be added/changed to the
18970
19006
  * `content` aggregation of the clicked/tapped action item or data can be retreived from the same aggregation
@@ -18983,15 +19019,7 @@ declare module "sap/f/SidePanel" {
18983
19019
  * an overflow icon is displayed, and it toggles ON/OFF an overflow menu with the rest of the action items
18984
19020
  * that are not visible at the moment.
18985
19021
  *
18986
- * Screen width > 1440 px
18987
- *
18988
- *
18989
- * - When expanded, the side content shrinks the main content.
18990
- *
18991
- * Screen width <= 1440 px
18992
- *
18993
- *
18994
- * - When expanded, the side content is placed over the main content.
19022
+ * When expanded, the side content shrinks the main content.
18995
19023
  *
18996
19024
  * **On mobile device**
18997
19025
  *
@@ -18999,6 +19027,14 @@ declare module "sap/f/SidePanel" {
18999
19027
  * and when expanded, the side content is displayed above the action bar. If there is not enough room for
19000
19028
  * all action items, the action bar can be swiped to access the rest of the action items.
19001
19029
  *
19030
+ * Resizing:
19031
+ *
19032
+ * Resizing functionality only affects desktop or tablet devices.
19033
+ *
19034
+ * By setting the `sidePanelResizable` property, the expanded side panel can be resized by mouse (by drag
19035
+ * or by double click on resize splitter), by keyboard or by choosing one of three predefined positions
19036
+ * in the side panel's context menu (min, max and default widths)
19037
+ *
19002
19038
  * Keyboard shortcuts:
19003
19039
  *
19004
19040
  *
@@ -19012,6 +19048,22 @@ declare module "sap/f/SidePanel" {
19012
19048
  * opened side content panel to the action items
19013
19049
  * - [F6] / [Shift] + [F6] - Navigate back and forth between main content, side panel and side content
19014
19050
  * groups [Esc] - Close the opened side content panel and set focus back to main content
19051
+ *
19052
+ * If the side panel's `sidePanelResizable` property is set, there is an action item chosen, and the resize
19053
+ * splitter is focused:
19054
+ *
19055
+ *
19056
+ * - [Home] - set the expanded side panel width to the minimum value defined in `sidePanelMinWidth` property
19057
+ *
19058
+ * - [End] - set the expanded side panel width to the maximum value defined in `sidePanelMaxWidth` property
19059
+ *
19060
+ * - [Enter] - set the expanded side panel width to the default value defined in `sidePanelWidth` property
19061
+ *
19062
+ * - [Shift]+[F10] or [Context menu] - show the resize context menu
19063
+ * - [Arrow Left] / [Arrow Right] - increase/decrease the width of the expanded side panel with the regular
19064
+ * step
19065
+ * - [Shift] + [Arrow Left] / [Arrow Right] - increase/decrease the width of the expanded side panel with
19066
+ * the larger step
19015
19067
  */
19016
19068
  export default class SidePanel extends Control {
19017
19069
  /**
@@ -19248,6 +19300,73 @@ declare module "sap/f/SidePanel" {
19248
19300
  * or `null`.
19249
19301
  */
19250
19302
  getSelectedItem(): ID;
19303
+ /**
19304
+ * @SINCE 1.109.0
19305
+ *
19306
+ * Gets current value of property {@link #getSidePanelMaxWidth sidePanelMaxWidth}.
19307
+ *
19308
+ * Determines the maximum side panel width (Side Content width + Action Bar width). **Note:** if the width
19309
+ * is given in percent(%), it is calculated as given percent from the Side Panel parent container width,
19310
+ * otherwise it's calculated in absolute units.
19311
+ *
19312
+ * Default value is `"90%"`.
19313
+ *
19314
+ * @returns Value of property `sidePanelMaxWidth`
19315
+ */
19316
+ getSidePanelMaxWidth(): CSSSize;
19317
+ /**
19318
+ * @SINCE 1.109.0
19319
+ *
19320
+ * Gets current value of property {@link #getSidePanelMinWidth sidePanelMinWidth}.
19321
+ *
19322
+ * Determines the minimum side panel width (Side Content width + Action Bar width). **Note:** if the width
19323
+ * is given in percent(%), it is calculated as given percent from the Side Panel parent container width,
19324
+ * otherwise it's calculated in absolute units.
19325
+ *
19326
+ * Default value is `"15rem"`.
19327
+ *
19328
+ * @returns Value of property `sidePanelMinWidth`
19329
+ */
19330
+ getSidePanelMinWidth(): CSSSize;
19331
+ /**
19332
+ * Gets current value of property {@link #getSidePanelResizable sidePanelResizable}.
19333
+ *
19334
+ * Determines whether the side panel is resizable or fixed. **Note:** setting this property only affects
19335
+ * desktop or tablet devices.
19336
+ *
19337
+ * Default value is `false`.
19338
+ *
19339
+ * @returns Value of property `sidePanelResizable`
19340
+ */
19341
+ getSidePanelResizable(): boolean;
19342
+ /**
19343
+ * @SINCE 1.109.0
19344
+ *
19345
+ * Gets current value of property {@link #getSidePanelResizeLargerStep sidePanelResizeLargerStep}.
19346
+ *
19347
+ * Determines the large step (in pixels) when changing the width of the side panel with the keyboard. **Note:**
19348
+ * the width can be changed by large step with `Shift + Left Arrow` and `Shift + Right Arrow` keys when
19349
+ * the resize splitter is focused.
19350
+ *
19351
+ * Default value is `100`.
19352
+ *
19353
+ * @returns Value of property `sidePanelResizeLargerStep`
19354
+ */
19355
+ getSidePanelResizeLargerStep(): int;
19356
+ /**
19357
+ * @SINCE 1.109.0
19358
+ *
19359
+ * Gets current value of property {@link #getSidePanelResizeStep sidePanelResizeStep}.
19360
+ *
19361
+ * Determines the step (in pixels) when changing the width of the side panel with the keyboard. **Note:**
19362
+ * the width can be changed by this step with `Left Arrow` and `Right Arrow` keys when the resize splitter
19363
+ * is focused.
19364
+ *
19365
+ * Default value is `10`.
19366
+ *
19367
+ * @returns Value of property `sidePanelResizeStep`
19368
+ */
19369
+ getSidePanelResizeStep(): int;
19251
19370
  /**
19252
19371
  * Gets current value of property {@link #getSidePanelWidth sidePanelWidth}.
19253
19372
  *
@@ -19391,23 +19510,106 @@ declare module "sap/f/SidePanel" {
19391
19510
  sAriaLabel?: string
19392
19511
  ): this;
19393
19512
  /**
19394
- * Sets a new value for property {@link #getSidePanelWidth sidePanelWidth}.
19513
+ * @SINCE 1.109.0
19395
19514
  *
19396
- * Determines the side panel width (Side Content width + Action Bar width). **Note:** if the width is given
19397
- * in percent(%), it is calculated as given percent from the Side Panel parent container width, otherwise
19398
- * it's calculated in absolute units.
19515
+ * Sets a new value for property {@link #getSidePanelMaxWidth sidePanelMaxWidth}.
19516
+ *
19517
+ * Determines the maximum side panel width (Side Content width + Action Bar width). **Note:** if the width
19518
+ * is given in percent(%), it is calculated as given percent from the Side Panel parent container width,
19519
+ * otherwise it's calculated in absolute units.
19399
19520
  *
19400
19521
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19401
19522
  *
19402
- * Default value is `"20rem"`.
19523
+ * Default value is `"90%"`.
19524
+ *
19525
+ * @returns Reference to `this` in order to allow method chaining
19526
+ */
19527
+ setSidePanelMaxWidth(
19528
+ /**
19529
+ * New value for property `sidePanelMaxWidth`
19530
+ */
19531
+ sSidePanelMaxWidth?: CSSSize
19532
+ ): this;
19533
+ /**
19534
+ * @SINCE 1.109.0
19535
+ *
19536
+ * Sets a new value for property {@link #getSidePanelMinWidth sidePanelMinWidth}.
19537
+ *
19538
+ * Determines the minimum side panel width (Side Content width + Action Bar width). **Note:** if the width
19539
+ * is given in percent(%), it is calculated as given percent from the Side Panel parent container width,
19540
+ * otherwise it's calculated in absolute units.
19541
+ *
19542
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19543
+ *
19544
+ * Default value is `"15rem"`.
19545
+ *
19546
+ * @returns Reference to `this` in order to allow method chaining
19547
+ */
19548
+ setSidePanelMinWidth(
19549
+ /**
19550
+ * New value for property `sidePanelMinWidth`
19551
+ */
19552
+ sSidePanelMinWidth?: CSSSize
19553
+ ): this;
19554
+ /**
19555
+ * Sets a new value for property {@link #getSidePanelResizable sidePanelResizable}.
19556
+ *
19557
+ * Determines whether the side panel is resizable or fixed. **Note:** setting this property only affects
19558
+ * desktop or tablet devices.
19559
+ *
19560
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19561
+ *
19562
+ * Default value is `false`.
19403
19563
  *
19404
19564
  * @returns Reference to `this` in order to allow method chaining
19405
19565
  */
19406
- setSidePanelWidth(
19566
+ setSidePanelResizable(
19407
19567
  /**
19408
- * New value for property `sidePanelWidth`
19568
+ * New value for property `sidePanelResizable`
19409
19569
  */
19410
- sSidePanelWidth?: CSSSize
19570
+ bSidePanelResizable?: boolean
19571
+ ): this;
19572
+ /**
19573
+ * @SINCE 1.109.0
19574
+ *
19575
+ * Sets a new value for property {@link #getSidePanelResizeLargerStep sidePanelResizeLargerStep}.
19576
+ *
19577
+ * Determines the large step (in pixels) when changing the width of the side panel with the keyboard. **Note:**
19578
+ * the width can be changed by large step with `Shift + Left Arrow` and `Shift + Right Arrow` keys when
19579
+ * the resize splitter is focused.
19580
+ *
19581
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19582
+ *
19583
+ * Default value is `100`.
19584
+ *
19585
+ * @returns Reference to `this` in order to allow method chaining
19586
+ */
19587
+ setSidePanelResizeLargerStep(
19588
+ /**
19589
+ * New value for property `sidePanelResizeLargerStep`
19590
+ */
19591
+ iSidePanelResizeLargerStep?: int
19592
+ ): this;
19593
+ /**
19594
+ * @SINCE 1.109.0
19595
+ *
19596
+ * Sets a new value for property {@link #getSidePanelResizeStep sidePanelResizeStep}.
19597
+ *
19598
+ * Determines the step (in pixels) when changing the width of the side panel with the keyboard. **Note:**
19599
+ * the width can be changed by this step with `Left Arrow` and `Right Arrow` keys when the resize splitter
19600
+ * is focused.
19601
+ *
19602
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19603
+ *
19604
+ * Default value is `10`.
19605
+ *
19606
+ * @returns Reference to `this` in order to allow method chaining
19607
+ */
19608
+ setSidePanelResizeStep(
19609
+ /**
19610
+ * New value for property `sidePanelResizeStep`
19611
+ */
19612
+ iSidePanelResizeStep?: int
19411
19613
  ): this;
19412
19614
  }
19413
19615
 
@@ -19422,6 +19624,12 @@ declare module "sap/f/SidePanel" {
19422
19624
  */
19423
19625
  ariaLabel?: string | PropertyBindingInfo;
19424
19626
 
19627
+ /**
19628
+ * Determines whether the side panel is resizable or fixed. **Note:** setting this property only affects
19629
+ * desktop or tablet devices.
19630
+ */
19631
+ sidePanelResizable?: boolean | PropertyBindingInfo | `{${string}}`;
19632
+
19425
19633
  /**
19426
19634
  * Determines the side panel width (Side Content width + Action Bar width). **Note:** if the width is given
19427
19635
  * in percent(%), it is calculated as given percent from the Side Panel parent container width, otherwise
@@ -19429,6 +19637,42 @@ declare module "sap/f/SidePanel" {
19429
19637
  */
19430
19638
  sidePanelWidth?: CSSSize | PropertyBindingInfo | `{${string}}`;
19431
19639
 
19640
+ /**
19641
+ * @SINCE 1.109.0
19642
+ *
19643
+ * Determines the minimum side panel width (Side Content width + Action Bar width). **Note:** if the width
19644
+ * is given in percent(%), it is calculated as given percent from the Side Panel parent container width,
19645
+ * otherwise it's calculated in absolute units.
19646
+ */
19647
+ sidePanelMinWidth?: CSSSize | PropertyBindingInfo | `{${string}}`;
19648
+
19649
+ /**
19650
+ * @SINCE 1.109.0
19651
+ *
19652
+ * Determines the maximum side panel width (Side Content width + Action Bar width). **Note:** if the width
19653
+ * is given in percent(%), it is calculated as given percent from the Side Panel parent container width,
19654
+ * otherwise it's calculated in absolute units.
19655
+ */
19656
+ sidePanelMaxWidth?: CSSSize | PropertyBindingInfo | `{${string}}`;
19657
+
19658
+ /**
19659
+ * @SINCE 1.109.0
19660
+ *
19661
+ * Determines the step (in pixels) when changing the width of the side panel with the keyboard. **Note:**
19662
+ * the width can be changed by this step with `Left Arrow` and `Right Arrow` keys when the resize splitter
19663
+ * is focused.
19664
+ */
19665
+ sidePanelResizeStep?: int | PropertyBindingInfo | `{${string}}`;
19666
+
19667
+ /**
19668
+ * @SINCE 1.109.0
19669
+ *
19670
+ * Determines the large step (in pixels) when changing the width of the side panel with the keyboard. **Note:**
19671
+ * the width can be changed by large step with `Shift + Left Arrow` and `Shift + Right Arrow` keys when
19672
+ * the resize splitter is focused.
19673
+ */
19674
+ sidePanelResizeLargerStep?: int | PropertyBindingInfo | `{${string}}`;
19675
+
19432
19676
  /**
19433
19677
  * The list of controls for the main content.
19434
19678
  */
@@ -19480,8 +19724,6 @@ declare module "sap/f/SidePanelItem" {
19480
19724
 
19481
19725
  /**
19482
19726
  * @SINCE 1.107
19483
- * @EXPERIMENTAL (since 1.107) - This class is experimental and provides only limited functionality. Also
19484
- * the API might be changed in future.
19485
19727
  *
19486
19728
  * Overview:
19487
19729
  *
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/fe/core/library" {
4
4
  /**
@@ -44,6 +44,32 @@ declare module "sap/fe/core/AppComponent" {
44
44
  */
45
45
  export default class AppComponent extends UIComponent {
46
46
  constructor();
47
+
48
+ /**
49
+ * Changes the page configuration of SAP Fiori elements.
50
+ * This method enables you to change the page configuration of SAP Fiori elements.
51
+ */
52
+ changePageConfiguration(
53
+ /**
54
+ * The ID of the page for which the configuration is to be changed.
55
+ */
56
+ pageId: string,
57
+ /**
58
+ * The path in the page settings for which the configuration is to be changed.
59
+ */
60
+ path: string,
61
+ /**
62
+ * The new value of the configuration. This could be a plain value like a string, or a Boolean, or a structured
63
+ * object.
64
+ */
65
+ value: unknown
66
+ ): void;
67
+ /**
68
+ * Provides a hook to initialize feature toggles.
69
+ * This hook is being called by the SAP Fiori elements AppComponent at the time feature toggles can be initialized.
70
+ * To change page configuration use the {@link sap.fe.core.AppComponent#changePageConfiguration} method.
71
+ */
72
+ initializeFeatureToggles(): void;
47
73
  }
48
74
 
49
75
  export interface $AppComponentSettings extends $UIComponentSettings {}
@@ -236,7 +262,7 @@ declare module "sap/fe/core/ExtensionAPI" {
236
262
  *
237
263
  * @returns A promise that resolves with the new app state object.
238
264
  */
239
- updateAppState(): undefined | Promise<any>;
265
+ updateAppState(): Promise<any>;
240
266
  }
241
267
  }
242
268
 
@@ -1171,24 +1197,7 @@ declare module "sap/fe/core/controllerextensions/ViewState" {
1171
1197
  /**
1172
1198
  * The current navigation parameter
1173
1199
  */
1174
- oNavParameter: {
1175
- /**
1176
- * The actual navigation type
1177
- */
1178
- navigationType: any;
1179
- /**
1180
- * Defines whether the standard variant must be used in variant management
1181
- */
1182
- requiresStandardVariant?: boolean;
1183
- /**
1184
- * The selectionVariant from the navigation
1185
- */
1186
- selectionVariant?: object;
1187
- /**
1188
- * The selectionVariant defaults from the navigation
1189
- */
1190
- selectionVariantDefaults?: object;
1191
- }
1200
+ oNavParameter: /* was: sap.fe.core.NavigationParameter */ any
1192
1201
  ): Promise<any>;
1193
1202
  /**
1194
1203
  * Hook to react when state for given view was applied.
@@ -1241,6 +1250,27 @@ declare module "sap/fe/core/controllerextensions/ViewState" {
1241
1250
  */
1242
1251
  retrieveViewState(): Promise<any>;
1243
1252
  }
1253
+ /**
1254
+ * Definition of a custom action to be used inside the table toolbar
1255
+ */
1256
+ export type NavigationParameter = {
1257
+ /**
1258
+ * The actual navigation type.
1259
+ */
1260
+ navigationType: string;
1261
+ /**
1262
+ * Defines whether the standard variant must be used in variant management
1263
+ */
1264
+ requiresStandardVariant: boolean;
1265
+ /**
1266
+ * The selectionVariant from the navigation.
1267
+ */
1268
+ selectionVariant: object;
1269
+ /**
1270
+ * The selectionVariant defaults from the navigation
1271
+ */
1272
+ selectionVariantDefaults: object;
1273
+ };
1244
1274
  }
1245
1275
 
1246
1276
  declare module "sap/fe/core/fpm/Component" {
@@ -1296,6 +1326,12 @@ declare module "sap/fe/core/rootView/NavContainer.controller" {
1296
1326
  /* was: sap.fe.core.RootViewBaseController */ extends Object {
1297
1327
  constructor();
1298
1328
 
1329
+ /**
1330
+ * Method that creates a new Page to display the IllustratedMessage containing the current error.
1331
+ *
1332
+ * @returns A promise that creates a Page to display the error
1333
+ */
1334
+ displayErrorPage(): Promise<any>;
1299
1335
  /**
1300
1336
  * @SINCE 1.91.0
1301
1337
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/fe/macros/library" {}
4
4
 
@@ -185,6 +185,13 @@ declare module "sap/fe/macros/field/FieldAPI" {
185
185
  * Maximum number of characters from the beginning of the text field that are shown initially.
186
186
  */
187
187
  textMaxCharactersDisplay: number;
188
+ /**
189
+ * Defines the maximum number of characters for the multiline text value.
190
+ *
191
+ * If a multiline text exceeds the maximum number of allowed characters, the counter below the input field
192
+ * displays the exact number.
193
+ */
194
+ textMaxLength: number;
188
195
  /**
189
196
  * Maximum number of lines that multiline texts in edit mode can grow to.
190
197
  */
@@ -229,6 +236,19 @@ declare module "sap/fe/macros/field/FieldAPI" {
229
236
  }
230
237
  }
231
238
 
239
+ declare module "sap/fe/macros/field/TextAreaEx" {
240
+ import { default as TextArea, $TextAreaSettings } from "sap/m/TextArea";
241
+
242
+ /**
243
+ * Extension of the TextArea control to add a check for the maximum length when setting the value.
244
+ */
245
+ export default class TextAreaEx extends TextArea {
246
+ constructor();
247
+ }
248
+
249
+ export interface $TextAreaExSettings extends $TextAreaSettings {}
250
+ }
251
+
232
252
  declare module "sap/fe/macros/filterBar/FilterBarAPI" {
233
253
  import {
234
254
  default as MacroAPI,
@@ -739,6 +759,8 @@ declare namespace sap {
739
759
 
740
760
  "sap/fe/macros/field/FieldAPI": undefined;
741
761
 
762
+ "sap/fe/macros/field/TextAreaEx": undefined;
763
+
742
764
  "sap/fe/macros/filterBar/FilterBarAPI": undefined;
743
765
 
744
766
  "sap/fe/macros/form/FormAPI": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/fe/navigation/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.1
1
+ // For Library Version: 1.109.0
2
2
 
3
3
  declare module "sap/fe/templates/library" {}
4
4
 
@@ -205,7 +205,7 @@ declare module "sap/fe/templates/ListReport/ExtensionAPI" {
205
205
  *
206
206
  * @returns A promise that resolves with the new app state object.
207
207
  */
208
- updateAppState(): undefined | Promise<any>;
208
+ updateAppState(): Promise<any>;
209
209
  }
210
210
  }
211
211
 
@@ -395,7 +395,7 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
395
395
  *
396
396
  * @returns A promise that resolves with the new app state object.
397
397
  */
398
- updateAppState(): undefined | Promise<any>;
398
+ updateAppState(): Promise<any>;
399
399
  }
400
400
  }
401
401