@sapui5/ts-types 1.104.0 → 1.105.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 -1
  4. package/types/sap.chart.d.ts +2 -2
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.esh.search.ui.d.ts +829 -1
  7. package/types/sap.f.d.ts +1 -1
  8. package/types/sap.fe.common.d.ts +1 -1
  9. package/types/sap.fe.core.d.ts +1166 -29
  10. package/types/sap.fe.macros.d.ts +631 -52
  11. package/types/sap.fe.navigation.d.ts +1439 -1
  12. package/types/sap.fe.templates.d.ts +161 -2
  13. package/types/sap.fe.test.d.ts +12 -1
  14. package/types/sap.feedback.ui.d.ts +1 -1
  15. package/types/sap.gantt.d.ts +66 -54
  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 +197 -47
  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 +68 -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.df.d.ts +122 -179
  25. package/types/sap.sac.grid.d.ts +1 -1
  26. package/types/sap.suite.ui.commons.d.ts +97 -6
  27. package/types/sap.suite.ui.generic.template.d.ts +1 -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 +73 -22
  33. package/types/sap.ui.core.d.ts +195 -43
  34. package/types/sap.ui.dt.d.ts +1 -1
  35. package/types/sap.ui.export.d.ts +3 -3
  36. package/types/sap.ui.fl.d.ts +1117 -5
  37. package/types/sap.ui.generic.app.d.ts +9 -10
  38. package/types/sap.ui.generic.template.d.ts +1 -1
  39. package/types/sap.ui.integration.d.ts +59 -7
  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 +1 -1
  46. package/types/sap.ui.table.d.ts +1 -1
  47. package/types/sap.ui.testrecorder.d.ts +1 -1
  48. package/types/sap.ui.unified.d.ts +51 -4
  49. package/types/sap.ui.ux3.d.ts +1 -1
  50. package/types/sap.ui.vbm.d.ts +1 -1
  51. package/types/sap.ui.vk.d.ts +272 -19
  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 +209 -16
  55. package/types/sap.ui.webc.main.d.ts +524 -62
  56. package/types/sap.uiext.inbox.d.ts +1 -1
  57. package/types/sap.ushell.d.ts +6 -8
  58. package/types/sap.ushell_abap.d.ts +1 -215
  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
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.104.0
1
+ // For Library Version: 1.105.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -153,7 +153,7 @@ declare namespace sap {
153
153
  interface $BarSettings
154
154
  extends sap.ui.webc.common.$WebComponentSettings {
155
155
  /**
156
- * Defines the `sap.ui.webc.fiori.Bar` design.
156
+ * Defines the component's design.
157
157
  *
158
158
  *
159
159
  *
@@ -469,6 +469,24 @@ declare namespace sap {
469
469
  | sap.ui.base.ManagedObject.PropertyBindingInfo
470
470
  | `{${string}}`;
471
471
 
472
+ /**
473
+ * Determines which illustration breakpoint variant is used.
474
+ *
475
+ * Available options are:
476
+ * - `Auto`
477
+ * - `Base`
478
+ * - `Spot`
479
+ * - `Dialog`
480
+ * - `Scene`
481
+ *
482
+ * As `IllustratedMessage` adapts itself around the `Illustration`, the other elements of the component
483
+ * are displayed differently on the different breakpoints/illustration sizes.
484
+ */
485
+ size?:
486
+ | sap.ui.webc.fiori.IllustrationMessageSize
487
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
488
+ | `{${string}}`;
489
+
472
490
  /**
473
491
  * Defines the subtitle of the component.
474
492
  *
@@ -1690,6 +1708,11 @@ declare namespace sap {
1690
1708
  | sap.ui.base.ManagedObject.AggregationBindingInfo
1691
1709
  | `{${string}}`;
1692
1710
 
1711
+ /**
1712
+ * Fired before the component is opened. **This event does not bubble.**
1713
+ */
1714
+ beforeOpen?: (oEvent: sap.ui.base.Event) => void;
1715
+
1693
1716
  /**
1694
1717
  * Fired when cancel button is activated.
1695
1718
  */
@@ -1952,7 +1975,7 @@ declare namespace sap {
1952
1975
  /**
1953
1976
  * Gets current value of property {@link #getDesign design}.
1954
1977
  *
1955
- * Defines the `sap.ui.webc.fiori.Bar` design.
1978
+ * Defines the component's design.
1956
1979
  *
1957
1980
  *
1958
1981
  *
@@ -2140,7 +2163,7 @@ declare namespace sap {
2140
2163
  /**
2141
2164
  * Sets a new value for property {@link #getDesign design}.
2142
2165
  *
2143
- * Defines the `sap.ui.webc.fiori.Bar` design.
2166
+ * Defines the component's design.
2144
2167
  *
2145
2168
  *
2146
2169
  *
@@ -3323,7 +3346,7 @@ declare namespace sap {
3323
3346
  *
3324
3347
  * Overview:
3325
3348
  *
3326
- * The `FlexibleColumnLayout` implements the master-detail-detail paradigm by displaying up to three pages
3349
+ * The `FlexibleColumnLayout` implements the list-detail-detail paradigm by displaying up to three pages
3327
3350
  * in separate columns. There are several possible layouts that can be changed either with the component
3328
3351
  * API, or by pressing the arrows, displayed between the columns.
3329
3352
  *
@@ -3950,6 +3973,26 @@ declare namespace sap {
3950
3973
  * @returns Value of property `name`
3951
3974
  */
3952
3975
  getName(): sap.ui.webc.fiori.IllustrationMessageType;
3976
+ /**
3977
+ * Gets current value of property {@link #getSize size}.
3978
+ *
3979
+ * Determines which illustration breakpoint variant is used.
3980
+ *
3981
+ * Available options are:
3982
+ * - `Auto`
3983
+ * - `Base`
3984
+ * - `Spot`
3985
+ * - `Dialog`
3986
+ * - `Scene`
3987
+ *
3988
+ * As `IllustratedMessage` adapts itself around the `Illustration`, the other elements of the component
3989
+ * are displayed differently on the different breakpoints/illustration sizes.
3990
+ *
3991
+ * Default value is `Auto`.
3992
+ *
3993
+ * @returns Value of property `size`
3994
+ */
3995
+ getSize(): sap.ui.webc.fiori.IllustrationMessageSize;
3953
3996
  /**
3954
3997
  * Gets content of aggregation {@link #getSubtitle subtitle}.
3955
3998
  *
@@ -4048,6 +4091,33 @@ declare namespace sap {
4048
4091
  */
4049
4092
  sName?: sap.ui.webc.fiori.IllustrationMessageType
4050
4093
  ): this;
4094
+ /**
4095
+ * Sets a new value for property {@link #getSize size}.
4096
+ *
4097
+ * Determines which illustration breakpoint variant is used.
4098
+ *
4099
+ * Available options are:
4100
+ * - `Auto`
4101
+ * - `Base`
4102
+ * - `Spot`
4103
+ * - `Dialog`
4104
+ * - `Scene`
4105
+ *
4106
+ * As `IllustratedMessage` adapts itself around the `Illustration`, the other elements of the component
4107
+ * are displayed differently on the different breakpoints/illustration sizes.
4108
+ *
4109
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4110
+ *
4111
+ * Default value is `Auto`.
4112
+ *
4113
+ * @returns Reference to `this` in order to allow method chaining
4114
+ */
4115
+ setSize(
4116
+ /**
4117
+ * New value for property `size`
4118
+ */
4119
+ sSize?: sap.ui.webc.fiori.IllustrationMessageSize
4120
+ ): this;
4051
4121
  /**
4052
4122
  * Sets the aggregated {@link #getSubtitle subtitle}.
4053
4123
  *
@@ -4106,8 +4176,8 @@ declare namespace sap {
4106
4176
  *
4107
4177
  * Overview:
4108
4178
  *
4109
- * The `ui-media-gallery` component allows the user to browse through multimedia items. Currently, the supported
4110
- * items are images and videos. The items should be defined using the `sap.ui.webc.fiori.MediaGalleryItem`
4179
+ * The `sap.ui.webc.fiori.MediaGallery` component allows the user to browse through multimedia items. Currently,
4180
+ * the supported items are images and videos. The items should be defined using the `sap.ui.webc.fiori.MediaGalleryItem`
4111
4181
  * component.
4112
4182
  *
4113
4183
  * The items are initially displayed as thumbnails. When the user selects a thumbnail, the corresponding
@@ -6295,8 +6365,8 @@ declare namespace sap {
6295
6365
  *
6296
6366
  * Overview:
6297
6367
  *
6298
- * The `sap.ui.webc.fiori.Page` is a container control that holds one whole screen of an application. The
6299
- * page has three distinct areas that can hold content - a header, content area and a footer. Structure:
6368
+ * The `sap.ui.webc.fiori.Page` is a container component that holds one whole screen of an application.
6369
+ * The page has three distinct areas that can hold content - a header, content area and a footer. Structure:
6300
6370
  * Header: The top most area of the page is occupied by the header. The standard header includes a navigation
6301
6371
  * button and a title. Content: The content occupies the main part of the page. Only the content area is
6302
6372
  * scrollable by default. This can be prevented by setting `enableScrolling` to `false`. Footer: The footer
@@ -11545,6 +11615,53 @@ declare namespace sap {
11545
11615
  */
11546
11616
  oSortItem: sap.ui.webc.fiori.ISortItem
11547
11617
  ): this;
11618
+ /**
11619
+ * Attaches event handler `fnFunction` to the {@link #event:beforeOpen beforeOpen} event of this `sap.ui.webc.fiori.ViewSettingsDialog`.
11620
+ *
11621
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11622
+ * otherwise it will be bound to this `sap.ui.webc.fiori.ViewSettingsDialog` itself.
11623
+ *
11624
+ * Fired before the component is opened. **This event does not bubble.**
11625
+ *
11626
+ * @returns Reference to `this` in order to allow method chaining
11627
+ */
11628
+ attachBeforeOpen(
11629
+ /**
11630
+ * An application-specific payload object that will be passed to the event handler along with the event
11631
+ * object when firing the event
11632
+ */
11633
+ oData: object,
11634
+ /**
11635
+ * The function to be called when the event occurs
11636
+ */
11637
+ fnFunction: (p1: sap.ui.base.Event) => void,
11638
+ /**
11639
+ * Context object to call the event handler with. Defaults to this `sap.ui.webc.fiori.ViewSettingsDialog`
11640
+ * itself
11641
+ */
11642
+ oListener?: object
11643
+ ): this;
11644
+ /**
11645
+ * Attaches event handler `fnFunction` to the {@link #event:beforeOpen beforeOpen} event of this `sap.ui.webc.fiori.ViewSettingsDialog`.
11646
+ *
11647
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
11648
+ * otherwise it will be bound to this `sap.ui.webc.fiori.ViewSettingsDialog` itself.
11649
+ *
11650
+ * Fired before the component is opened. **This event does not bubble.**
11651
+ *
11652
+ * @returns Reference to `this` in order to allow method chaining
11653
+ */
11654
+ attachBeforeOpen(
11655
+ /**
11656
+ * The function to be called when the event occurs
11657
+ */
11658
+ fnFunction: (p1: sap.ui.base.Event) => void,
11659
+ /**
11660
+ * Context object to call the event handler with. Defaults to this `sap.ui.webc.fiori.ViewSettingsDialog`
11661
+ * itself
11662
+ */
11663
+ oListener?: object
11664
+ ): this;
11548
11665
  /**
11549
11666
  * Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.webc.fiori.ViewSettingsDialog`.
11550
11667
  *
@@ -11651,6 +11768,23 @@ declare namespace sap {
11651
11768
  * @returns Reference to `this` in order to allow method chaining
11652
11769
  */
11653
11770
  destroySortItems(): this;
11771
+ /**
11772
+ * Detaches event handler `fnFunction` from the {@link #event:beforeOpen beforeOpen} event of this `sap.ui.webc.fiori.ViewSettingsDialog`.
11773
+ *
11774
+ * The passed function and listener object must match the ones used for event registration.
11775
+ *
11776
+ * @returns Reference to `this` in order to allow method chaining
11777
+ */
11778
+ detachBeforeOpen(
11779
+ /**
11780
+ * The function to be called, when the event occurs
11781
+ */
11782
+ fnFunction: (p1: sap.ui.base.Event) => void,
11783
+ /**
11784
+ * Context object on which the given function had to be called
11785
+ */
11786
+ oListener?: object
11787
+ ): this;
11654
11788
  /**
11655
11789
  * Detaches event handler `fnFunction` from the {@link #event:cancel cancel} event of this `sap.ui.webc.fiori.ViewSettingsDialog`.
11656
11790
  *
@@ -11685,6 +11819,17 @@ declare namespace sap {
11685
11819
  */
11686
11820
  oListener?: object
11687
11821
  ): this;
11822
+ /**
11823
+ * Fires event {@link #event:beforeOpen beforeOpen} to attached listeners.
11824
+ *
11825
+ * @returns Reference to `this` in order to allow method chaining
11826
+ */
11827
+ fireBeforeOpen(
11828
+ /**
11829
+ * Parameters to pass along with the event
11830
+ */
11831
+ mParameters?: object
11832
+ ): this;
11688
11833
  /**
11689
11834
  * Fires event {@link #event:cancel cancel} to attached listeners.
11690
11835
  *
@@ -11863,6 +12008,19 @@ declare namespace sap {
11863
12008
  */
11864
12009
  vSortItem: int | string | sap.ui.webc.fiori.ISortItem
11865
12010
  ): sap.ui.webc.fiori.ISortItem | null;
12011
+ /**
12012
+ * Sets a JavaScript object, as settings to the `sap.ui.webc.fiori.ViewSettingsDialog`. This method can
12013
+ * be used after the dialog is initially open, as the dialog need to set its initial settings. The `sap.ui.webc.fiori.ViewSettingsDialog`
12014
+ * throws an event called "before-open", this can be used as trigger point. The object should have the following
12015
+ * format: `{ { "sortOrder" : "Ascending", "sortBy" : "Name", "filters" : [{"Filter 1": ["Some filter 1",
12016
+ * "Some filter 2"]}, {"Filter 2": ["Some filter 4"]}]} }`
12017
+ */
12018
+ setConfirmedSettings(
12019
+ /**
12020
+ * A value to be set as predefined settings.
12021
+ */
12022
+ settings: string
12023
+ ): void;
11866
12024
  /**
11867
12025
  * Sets a new value for property {@link #getSortDescending sortDescending}.
11868
12026
  *
@@ -12626,7 +12784,7 @@ declare namespace sap {
12626
12784
  * Desktop: 25/25/50 Start, Mid and End (expanded) columns are displayed Tablet: 0/33/67 Mid and End (expanded)
12627
12785
  * columns are displayed, Start is accessible by layout arrows Phone: -/-/100 (only the End column is displayed)
12628
12786
  *
12629
- * Use to display all three pages (master, detail, detail-detail) when the user should focus on the detail-detail.
12787
+ * Use to display all three pages (list, detail, detail-detail) when the user should focus on the detail-detail.
12630
12788
  */
12631
12789
  ThreeColumnsEndExpanded = "ThreeColumnsEndExpanded",
12632
12790
  /**
@@ -12634,7 +12792,7 @@ declare namespace sap {
12634
12792
  * and End columns are displayed, Start is accessible by a layout arrow Phone: -/-/100 only the End column
12635
12793
  * is displayed
12636
12794
  *
12637
- * Use to display all three pages (master, detail, detail-detail) when the user should focus on the detail.
12795
+ * Use to display all three pages (list, detail, detail-detail) when the user should focus on the detail.
12638
12796
  */
12639
12797
  ThreeColumnsMidExpanded = "ThreeColumnsMidExpanded",
12640
12798
  /**
@@ -12642,7 +12800,7 @@ declare namespace sap {
12642
12800
  * Tablet: 33/67/0 Start and Mid (expanded) columns are displayed, End is accessible by a layout arrow Phone:
12643
12801
  * -/-/100 only the End column is displayed
12644
12802
  *
12645
- * Use to display the master and detail pages when the user should focus on the detail. The detail-detail
12803
+ * Use to display the list and detail pages when the user should focus on the detail. The detail-detail
12646
12804
  * is still loaded and easily accessible with a layout arrow.
12647
12805
  */
12648
12806
  ThreeColumnsMidExpandedEndHidden = "ThreeColumnsMidExpandedEndHidden",
@@ -12651,25 +12809,60 @@ declare namespace sap {
12651
12809
  * 67/33/0 Start (expanded) and Mid columns are displayed, End is accessible by layout arrows Phone: -/-/100
12652
12810
  * only the End column is displayed
12653
12811
  *
12654
- * Use to display the master and detail pages when the user should focus on the master. The detail-detail
12655
- * is still loaded and easily accessible with layout arrows.
12812
+ * Use to display the list and detail pages when the user should focus on the list. The detail-detail is
12813
+ * still loaded and easily accessible with layout arrows.
12656
12814
  */
12657
12815
  ThreeColumnsStartExpandedEndHidden = "ThreeColumnsStartExpandedEndHidden",
12658
12816
  /**
12659
12817
  * Desktop: 33/67/- Start and Mid (expanded) columns are displayed Tablet: 33/67/- Start and Mid (expanded)
12660
12818
  * columns are displayed Phone: -/100/- only the Mid column is displayed
12661
12819
  *
12662
- * Use to display both a master and a detail page when the user should focus on the detail page.
12820
+ * Use to display both a list and a detail page when the user should focus on the detail page.
12663
12821
  */
12664
12822
  TwoColumnsMidExpanded = "TwoColumnsMidExpanded",
12665
12823
  /**
12666
12824
  * Desktop: 67/33/- Start (expanded) and Mid columns are displayed Tablet: 67/33/- Start (expanded) and
12667
12825
  * Mid columns are displayed Phone: -/100/- only the Mid column is displayed
12668
12826
  *
12669
- * Use to display both a master and a detail page when the user should focus on the master page.
12827
+ * Use to display both a list and a detail page when the user should focus on the list page.
12670
12828
  */
12671
12829
  TwoColumnsStartExpanded = "TwoColumnsStartExpanded",
12672
12830
  }
12831
+ /**
12832
+ * @SINCE 1.106.0
12833
+ * @EXPERIMENTAL (since 1.106.0)
12834
+ *
12835
+ * Different types of IllustrationMessageSize.
12836
+ */
12837
+ enum IllustrationMessageSize {
12838
+ /**
12839
+ * Automatically decides the `Illustration` size (`Base`, `Spot`, `Dialog`, or `Scene`) depending on the
12840
+ * `IllustratedMessage` container width.
12841
+ *
12842
+ * **Note:** `Auto` is the only option where the illustration size is changed according to the available
12843
+ * container width. If any other `IllustratedMessageSize` is chosen, it remains until changed by the app
12844
+ * developer.
12845
+ */
12846
+ Auto = "Auto",
12847
+ /**
12848
+ * Base `Illustration` size (XS breakpoint). Suitable for cards (two columns).
12849
+ *
12850
+ * **Note:** When `Base` is in use, no illustration is displayed.
12851
+ */
12852
+ Base = "Base",
12853
+ /**
12854
+ * Dialog `Illustration` size (M breakpoint). Suitable for dialogs.
12855
+ */
12856
+ Dialog = "Dialog",
12857
+ /**
12858
+ * Scene `Illustration` size (L breakpoint). Suitable for a `Page` or a table.
12859
+ */
12860
+ Scene = "Scene",
12861
+ /**
12862
+ * Spot `Illustration` size (S breakpoint). Suitable for cards (four columns).
12863
+ */
12864
+ Spot = "Spot",
12865
+ }
12673
12866
  /**
12674
12867
  * @SINCE 1.95.0
12675
12868
  * @EXPERIMENTAL (since 1.95.0)