@sapui5/types 1.144.1 → 1.145.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 (69) 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.esh.search.ui.d.ts +110 -85
  7. package/types/sap.f.d.ts +1 -1
  8. package/types/sap.fe.ariba.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +342 -21
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +188 -4
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +853 -203
  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 +12 -1
  18. package/types/sap.fe.test.d.ts +150 -1
  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 +128 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +29 -12
  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 +31 -2
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +1 -1
  30. package/types/sap.suite.ui.commons.d.ts +230 -15
  31. package/types/sap.suite.ui.generic.template.d.ts +46 -1
  32. package/types/sap.suite.ui.microchart.d.ts +2 -1
  33. package/types/sap.tnt.d.ts +19 -11
  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 +73 -2
  37. package/types/sap.ui.core.d.ts +140 -99
  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 +5 -1
  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.geomap.d.ts +1 -1
  44. package/types/sap.ui.integration.d.ts +1 -1
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/sap.ui.mdc.d.ts +378 -50
  47. package/types/sap.ui.richtexteditor.d.ts +29 -7
  48. package/types/sap.ui.rta.d.ts +1 -1
  49. package/types/sap.ui.suite.d.ts +1 -1
  50. package/types/sap.ui.support.d.ts +1 -1
  51. package/types/sap.ui.table.d.ts +7 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +39 -1
  54. package/types/sap.ui.ux3.d.ts +1 -1
  55. package/types/sap.ui.vbm.d.ts +1 -1
  56. package/types/sap.ui.vk.d.ts +168 -1
  57. package/types/sap.ui.vtm.d.ts +1 -1
  58. package/types/sap.ui.webc.common.d.ts +1 -1
  59. package/types/sap.ui.webc.fiori.d.ts +1 -1
  60. package/types/sap.ui.webc.main.d.ts +1 -1
  61. package/types/sap.uiext.inbox.d.ts +1 -1
  62. package/types/sap.ushell.d.ts +5 -1
  63. package/types/sap.ushell_abap.d.ts +1 -1
  64. package/types/sap.uxap.d.ts +18 -8
  65. package/types/sap.viz.d.ts +1 -1
  66. package/types/sap.webanalytics.core.d.ts +1 -1
  67. package/types/sap.zen.commons.d.ts +1 -1
  68. package/types/sap.zen.crosstab.d.ts +1 -1
  69. package/types/sap.zen.dsh.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/types",
3
- "version": "1.144.1",
3
+ "version": "1.145.0",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.github.io/typescript/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/apf/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/ca/ui/library" {
4
4
  export namespace charts {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.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.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/collaboration/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.1
1
+ // For Library Version: 1.145.2
2
2
 
3
3
  declare module "sap/esh/search/ui/library" {}
4
4
 
@@ -9,16 +9,16 @@ declare module "sap/esh/search/ui/controls/basket/CustomBasket" {
9
9
  } from "sap/ui/layout/VerticalLayout";
10
10
 
11
11
  /**
12
- * This is the SAPUI5 sample basket class, extending search basket base class 'SearchBasketBase'. Adds a
13
- * custom header, footer and sap.m.Table is used for the basket items. Use in combination with control SearchCompositeControl
14
- * by the Enterprise Search Team.
12
+ * This is the SAPUI5 sample basket class, making use of the sap.ui.table.Table extension SearchBasketSapUiTable.
13
+ * In addition, adds a custom header, footer (sap.ui.table.Table is used for the basket items). Use in combination
14
+ * with control SearchCompositeControl by the Enterprise Search Team.
15
15
  *
16
16
  * @since 1.144.0
17
17
  * @experimental As of version 1.144.0.
18
18
  */
19
19
  export default class CustomBasket extends VerticalLayout {
20
20
  /**
21
- * Constructs a new `SearchBasketBase` to be used as a search basket (extend this class).
21
+ * Constructs a new `CustomBasket` to be used as a search basket (extend this class).
22
22
  * See:
23
23
  * https://help.sap.com/viewer/691cb949c1034198800afde3e5be6570/2.0.05/en-US/ce86ef2fd97610149eaaaa0244ca4d36.html
24
24
  * https://help.sap.com/viewer/6522d0462aeb4909a79c3462b090ec51/1709%20002/en-US
@@ -74,42 +74,6 @@ declare module "sap/esh/search/ui/controls/basket/SearchBasketAddButton" {
74
74
  extends $OverflowToolbarButtonSettings {}
75
75
  }
76
76
 
77
- declare module "sap/esh/search/ui/controls/basket/SearchBasketBase" {
78
- import {
79
- default as VerticalLayout,
80
- $VerticalLayoutSettings,
81
- } from "sap/ui/layout/VerticalLayout";
82
-
83
- /**
84
- * This is the SAPUI5 search basket base class to be used to extend it as a custom search basket. Add custom
85
- * header, footer, buttons, etc. in your extended class. Use in combination with control SearchCompositeControl
86
- * by the Enterprise Search Team.
87
- *
88
- * @since 1.144.0
89
- * @experimental As of version 1.144.0.
90
- */
91
- export default class SearchBasketBase extends VerticalLayout {
92
- /**
93
- * Constructs a new `SearchBasketBase` to be used as a search basket (extend this class).
94
- * See:
95
- * https://help.sap.com/viewer/691cb949c1034198800afde3e5be6570/2.0.05/en-US/ce86ef2fd97610149eaaaa0244ca4d36.html
96
- * https://help.sap.com/viewer/6522d0462aeb4909a79c3462b090ec51/1709%20002/en-US
97
- */
98
- constructor(
99
- /**
100
- * ID for the new control, generated automatically if no ID is given
101
- */
102
- sId?: string
103
- );
104
- }
105
- /**
106
- * Describes the settings that can be provided to the SearchBasketBase constructor.
107
- *
108
- * @experimental As of version 1.144.0.
109
- */
110
- export interface $SearchBasketBaseSettings extends $VerticalLayoutSettings {}
111
- }
112
-
113
77
  declare module "sap/esh/search/ui/controls/resultview/SearchShowDetailButton" {
114
78
  import { default as Button, $ButtonSettings } from "sap/m/Button";
115
79
 
@@ -849,6 +813,26 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
849
813
  * @returns void
850
814
  */
851
815
  clearObjectSelection(): undefined;
816
+ /**
817
+ * Create an instance of a basket and register it for interaction with the result view (items/selection
818
+ * indicator). See property 'basketLocation' in search model configuration to define where the basket panel
819
+ * is located.
820
+ *
821
+ * @since 1.145.0
822
+ *
823
+ * @returns A basket control of type sap.m.Table or sap.m.List containing items of the search basket ('selected
824
+ * items')
825
+ */
826
+ createAndRegisterBasket(
827
+ /**
828
+ * The ID postfix for the basket instance
829
+ */
830
+ idPostfix: string,
831
+ /**
832
+ * The UI type table/list ("sapMList" | "sapMTable" | "sapUiTable")
833
+ */
834
+ type: "sapMList" | "sapMTable" | "sapUiTable"
835
+ ): object;
852
836
  /**
853
837
  * Create a NavigationTarget instance for filtering/search.
854
838
  *
@@ -1162,6 +1146,15 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1162
1146
  * @returns Value of property `autoAdjustResultViewTypeInFolderMode`
1163
1147
  */
1164
1148
  getAutoAdjustResultViewTypeInFolderMode(): boolean;
1149
+ /**
1150
+ * Get the active/current search basket (see interfaceSearchBasketApi)
1151
+ *
1152
+ * @since 1.145.0
1153
+ *
1154
+ * @returns A control containing other controls. At least one of the controls is the basket-list/table,
1155
+ * containg the 'selected items'.
1156
+ */
1157
+ getBasket(): object;
1165
1158
  /**
1166
1159
  * Gets current value of property {@link #getBasketAddButton basketAddButton}.
1167
1160
  *
@@ -1250,12 +1243,12 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1250
1243
  */
1251
1244
  getBasketInit(): Function;
1252
1245
  /**
1253
- * Get items of the shopping basket ('selected items', JSON model) The model is read-only.
1246
+ * Get items of the latest search basket ('selected items', JSON model) The model is read-only.
1254
1247
  *
1255
1248
  * @since 1.143.0
1256
1249
  * @experimental As of version 1.143.0.
1257
1250
  *
1258
- * @returns A JSON model containing items of the shopping basket ('selected items')
1251
+ * @returns A JSON model containing items of the search basket ('selected items')
1259
1252
  */
1260
1253
  getBasketItems(): object;
1261
1254
  /**
@@ -1273,6 +1266,22 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1273
1266
  * @returns Value of property `basketLinkByResultViewItemSelection`
1274
1267
  */
1275
1268
  getBasketLinkByResultViewItemSelection(): boolean;
1269
+ /**
1270
+ * Gets current value of property {@link #getBasketLocation basketLocation}.
1271
+ *
1272
+ * Location of the basket. When creating your own basket (see function 'createAndRegisterBasket'), set this
1273
+ * property to "CustomBasketLocation". By default the basket is a panel at the right of the result view.
1274
+ *
1275
+ * Values: - "SidePanelRight" (default): basket is a panel at the right of the result view - "CustomBasketLocation":
1276
+ * basket is created by function 'createAndRegisterBasket' and can be placed anywhere in the UI
1277
+ *
1278
+ * Default value is `"SidePanelRight"`.
1279
+ *
1280
+ * @since 1.145.0
1281
+ *
1282
+ * @returns Value of property `basketLocation`
1283
+ */
1284
+ getBasketLocation(): string;
1276
1285
  /**
1277
1286
  * Gets current value of property {@link #getBasketPanelResizable basketPanelResizable}.
1278
1287
  *
@@ -1345,7 +1354,11 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1345
1354
  /**
1346
1355
  * Gets current value of property {@link #getCustomBasket customBasket}.
1347
1356
  *
1348
- * Define your own rendering of result items (we recommend to use 'sap.m.GridContainer' and 'sap.m.GenericTile').
1357
+ * Define your own view for the basket. The basket is displayed on a panel at the right/end of result views
1358
+ * (by default, details see 'basketLocation'). There is buttons to show/hide it and add items to the basket
1359
+ * (see config properties 'basketShowHideButton' and 'basketAddButton'). For the basket items collection,
1360
+ * we recommend to use function 'createAndRegisterBasket' to create a table/list, so the selection (incl.
1361
+ * 'add to basket') of result views with table/list is managed by SearchCompositeControl.
1349
1362
  *
1350
1363
  * @since 1.144.0
1351
1364
  *
@@ -1854,6 +1867,15 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1854
1867
  * @returns Value of property `searchBarTitle`
1855
1868
  */
1856
1869
  getSearchBarTitle(): string;
1870
+ /**
1871
+ * Get the basket model ('selected items', 'count' : JSON model) The model is managed by SearchCompositeControl,
1872
+ * do not change it manually.
1873
+ *
1874
+ * @since 1.145.0
1875
+ *
1876
+ * @returns A JSON model containing items of the search basket ('selected items', 'count')
1877
+ */
1878
+ getSearchBasketModel(): object;
1857
1879
  /**
1858
1880
  * Gets current value of property {@link #getSearchInputLocation searchInputLocation}.
1859
1881
  *
@@ -1917,17 +1939,6 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
1917
1939
  * @returns Value of property `searchTermLengthLimit`
1918
1940
  */
1919
1941
  getSearchTermLengthLimit(): int;
1920
- /**
1921
- * Gets current value of property {@link #getSelectionChange selectionChange}.
1922
- *
1923
- * A callback which is called whenever the selection of result view items changes.
1924
- *
1925
- * @since 1.113.0
1926
- * @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChanged'.
1927
- *
1928
- * @returns Value of property `selectionChange`
1929
- */
1930
- getSelectionChange(): Function;
1931
1942
  /**
1932
1943
  * Gets current value of property {@link #getShowSelectionToggleButton showSelectionToggleButton}.
1933
1944
  *
@@ -2244,6 +2255,29 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
2244
2255
  */
2245
2256
  bBasketLinkByResultViewItemSelection?: boolean
2246
2257
  ): this;
2258
+ /**
2259
+ * Sets a new value for property {@link #getBasketLocation basketLocation}.
2260
+ *
2261
+ * Location of the basket. When creating your own basket (see function 'createAndRegisterBasket'), set this
2262
+ * property to "CustomBasketLocation". By default the basket is a panel at the right of the result view.
2263
+ *
2264
+ * Values: - "SidePanelRight" (default): basket is a panel at the right of the result view - "CustomBasketLocation":
2265
+ * basket is created by function 'createAndRegisterBasket' and can be placed anywhere in the UI
2266
+ *
2267
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2268
+ *
2269
+ * Default value is `"SidePanelRight"`.
2270
+ *
2271
+ * @since 1.145.0
2272
+ *
2273
+ * @returns Reference to `this` in order to allow method chaining
2274
+ */
2275
+ setBasketLocation(
2276
+ /**
2277
+ * New value for property `basketLocation`
2278
+ */
2279
+ sBasketLocation?: string
2280
+ ): this;
2247
2281
  /**
2248
2282
  * Sets a new value for property {@link #getBasketPanelResizable basketPanelResizable}.
2249
2283
  *
@@ -2343,7 +2377,11 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
2343
2377
  /**
2344
2378
  * Sets a new value for property {@link #getCustomBasket customBasket}.
2345
2379
  *
2346
- * Define your own rendering of result items (we recommend to use 'sap.m.GridContainer' and 'sap.m.GenericTile').
2380
+ * Define your own view for the basket. The basket is displayed on a panel at the right/end of result views
2381
+ * (by default, details see 'basketLocation'). There is buttons to show/hide it and add items to the basket
2382
+ * (see config properties 'basketShowHideButton' and 'basketAddButton'). For the basket items collection,
2383
+ * we recommend to use function 'createAndRegisterBasket' to create a table/list, so the selection (incl.
2384
+ * 'add to basket') of result views with table/list is managed by SearchCompositeControl.
2347
2385
  *
2348
2386
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2349
2387
  *
@@ -3201,24 +3239,6 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
3201
3239
  */
3202
3240
  iSearchTermLengthLimit?: int
3203
3241
  ): this;
3204
- /**
3205
- * Sets a new value for property {@link #getSelectionChange selectionChange}.
3206
- *
3207
- * A callback which is called whenever the selection of result view items changes.
3208
- *
3209
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3210
- *
3211
- * @since 1.113.0
3212
- * @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChanged'.
3213
- *
3214
- * @returns Reference to `this` in order to allow method chaining
3215
- */
3216
- setSelectionChange(
3217
- /**
3218
- * New value for property `selectionChange`
3219
- */
3220
- fnSelectionChange: Function
3221
- ): this;
3222
3242
  /**
3223
3243
  * Sets a new value for property {@link #getShowSelectionToggleButton showSelectionToggleButton}.
3224
3244
  *
@@ -3692,7 +3712,22 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
3692
3712
  basketBeforeAddItem?: Function | PropertyBindingInfo | `{${string}}`;
3693
3713
 
3694
3714
  /**
3695
- * Define your own rendering of result items (we recommend to use 'sap.m.GridContainer' and 'sap.m.GenericTile').
3715
+ * Location of the basket. When creating your own basket (see function 'createAndRegisterBasket'), set this
3716
+ * property to "CustomBasketLocation". By default the basket is a panel at the right of the result view.
3717
+ *
3718
+ * Values: - "SidePanelRight" (default): basket is a panel at the right of the result view - "CustomBasketLocation":
3719
+ * basket is created by function 'createAndRegisterBasket' and can be placed anywhere in the UI
3720
+ *
3721
+ * @since 1.145.0
3722
+ */
3723
+ basketLocation?: string | PropertyBindingInfo;
3724
+
3725
+ /**
3726
+ * Define your own view for the basket. The basket is displayed on a panel at the right/end of result views
3727
+ * (by default, details see 'basketLocation'). There is buttons to show/hide it and add items to the basket
3728
+ * (see config properties 'basketShowHideButton' and 'basketAddButton'). For the basket items collection,
3729
+ * we recommend to use function 'createAndRegisterBasket' to create a table/list, so the selection (incl.
3730
+ * 'add to basket') of result views with table/list is managed by SearchCompositeControl.
3696
3731
  *
3697
3732
  * @since 1.144.0
3698
3733
  */
@@ -3765,14 +3800,6 @@ declare module "sap/esh/search/ui/SearchCompositeControl" {
3765
3800
  */
3766
3801
  quickSelectDataSources?: object | PropertyBindingInfo | `{${string}}`;
3767
3802
 
3768
- /**
3769
- * A callback which is called whenever the selection of result view items changes.
3770
- *
3771
- * @since 1.113.0
3772
- * @deprecated As of version 1.137.0. this setting is ignored, subscribe to event 'selectionChanged'.
3773
- */
3774
- selectionChange?: Function | PropertyBindingInfo | `{${string}}`;
3775
-
3776
3803
  /**
3777
3804
  * An asynchronues callback which is called after the initialization of the search composite control.
3778
3805
  *
@@ -4027,8 +4054,6 @@ declare namespace sap {
4027
4054
 
4028
4055
  "sap/esh/search/ui/controls/basket/SearchBasketAddButton": undefined;
4029
4056
 
4030
- "sap/esh/search/ui/controls/basket/SearchBasketBase": undefined;
4031
-
4032
4057
  "sap/esh/search/ui/controls/resultview/SearchShowDetailButton": undefined;
4033
4058
 
4034
4059
  "sap/esh/search/ui/controls/resultview/SearchText": undefined;
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.145.0
2
2
 
3
3
  declare namespace sap {}