@sapui5/types 1.126.2 → 1.127.1
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.
- package/package.json +1 -1
- package/types/index.d.ts +4 -0
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.cards.ap.common.d.ts +7 -0
- package/types/sap.cards.ap.generator.d.ts +3 -0
- package/types/sap.cards.ap.transpiler.d.ts +3 -0
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1 -16
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +2 -4
- package/types/sap.fe.ina.d.ts +3 -0
- package/types/sap.fe.macros.d.ts +157 -14
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +9 -2
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +352 -8
- package/types/sap.insights.d.ts +22 -1
- package/types/sap.m.d.ts +312 -38
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +14 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +4 -2
- package/types/sap.suite.ui.generic.template.d.ts +49 -2
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +17 -11
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +14 -1
- package/types/sap.ui.core.d.ts +157 -16
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +45 -1
- package/types/sap.ui.layout.d.ts +36 -7
- package/types/sap.ui.mdc.d.ts +85 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +4 -2
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +20 -6
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +303 -18
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +2 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +21 -5
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -39,10 +39,14 @@
|
|
|
39
39
|
/// <reference path="./sap.ovp.d.ts"/>
|
|
40
40
|
/// <reference path="./sap.ui.richtexteditor.d.ts"/>
|
|
41
41
|
/// <reference path="./sap.ui.rta.d.ts"/>
|
|
42
|
+
/// <reference path="./sap.cards.ap.common.d.ts"/>
|
|
43
|
+
/// <reference path="./sap.cards.ap.generator.d.ts"/>
|
|
44
|
+
/// <reference path="./sap.cards.ap.transpiler.d.ts"/>
|
|
42
45
|
/// <reference path="./sap.cux.home.d.ts"/>
|
|
43
46
|
/// <reference path="./sap.esh.search.ui.d.ts"/>
|
|
44
47
|
/// <reference path="./sap.fe.base.d.ts"/>
|
|
45
48
|
/// <reference path="./sap.fe.core.d.ts"/>
|
|
49
|
+
/// <reference path="./sap.fe.ina.d.ts"/>
|
|
46
50
|
/// <reference path="./sap.fe.macros.d.ts"/>
|
|
47
51
|
/// <reference path="./sap.fe.navigation.d.ts"/>
|
|
48
52
|
/// <reference path="./sap.fe.placeholder.d.ts"/>
|
package/types/sap.apf.d.ts
CHANGED
package/types/sap.ca.ui.d.ts
CHANGED
package/types/sap.chart.d.ts
CHANGED
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.127.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
export interface IToolHeader {
|
|
@@ -1030,8 +1030,6 @@ declare module "sap/f/AvatarGroupItem" {
|
|
|
1030
1030
|
* rendering each `AvatarGroupItem` instance in the {@link sap.f.AvatarGroup} control.
|
|
1031
1031
|
*
|
|
1032
1032
|
* @since 1.73
|
|
1033
|
-
* @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
|
|
1034
|
-
* the API might be changed in future.
|
|
1035
1033
|
*/
|
|
1036
1034
|
export default class AvatarGroupItem extends Control {
|
|
1037
1035
|
/**
|
|
@@ -1189,9 +1187,6 @@ declare module "sap/f/AvatarGroupItem" {
|
|
|
1189
1187
|
}
|
|
1190
1188
|
/**
|
|
1191
1189
|
* Describes the settings that can be provided to the AvatarGroupItem constructor.
|
|
1192
|
-
*
|
|
1193
|
-
* @experimental (since 1.73) - This class is experimental and provides only limited functionality. Also
|
|
1194
|
-
* the API might be changed in future.
|
|
1195
1190
|
*/
|
|
1196
1191
|
export interface $AvatarGroupItemSettings extends $ControlSettings {
|
|
1197
1192
|
/**
|
|
@@ -12863,8 +12858,6 @@ declare module "sap/f/ProductSwitch" {
|
|
|
12863
12858
|
* A layout control that provides specific configuration about how the items should be displayed.
|
|
12864
12859
|
*
|
|
12865
12860
|
* @since 1.72
|
|
12866
|
-
* @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
|
|
12867
|
-
* the API might be changed in future.
|
|
12868
12861
|
*/
|
|
12869
12862
|
export default class ProductSwitch extends Control {
|
|
12870
12863
|
/**
|
|
@@ -13106,9 +13099,6 @@ declare module "sap/f/ProductSwitch" {
|
|
|
13106
13099
|
}
|
|
13107
13100
|
/**
|
|
13108
13101
|
* Describes the settings that can be provided to the ProductSwitch constructor.
|
|
13109
|
-
*
|
|
13110
|
-
* @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
|
|
13111
|
-
* the API might be changed in future.
|
|
13112
13102
|
*/
|
|
13113
13103
|
export interface $ProductSwitchSettings extends $ControlSettings {
|
|
13114
13104
|
/**
|
|
@@ -13165,8 +13155,6 @@ declare module "sap/f/ProductSwitchItem" {
|
|
|
13165
13155
|
* **Note:** `ProductSwitchItem` is not supported when used outside of `ProductSwitch`.
|
|
13166
13156
|
*
|
|
13167
13157
|
* @since 1.72
|
|
13168
|
-
* @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
|
|
13169
|
-
* the API might be changed in future.
|
|
13170
13158
|
*/
|
|
13171
13159
|
export default class ProductSwitchItem extends Control {
|
|
13172
13160
|
/**
|
|
@@ -13373,9 +13361,6 @@ declare module "sap/f/ProductSwitchItem" {
|
|
|
13373
13361
|
}
|
|
13374
13362
|
/**
|
|
13375
13363
|
* Describes the settings that can be provided to the ProductSwitchItem constructor.
|
|
13376
|
-
*
|
|
13377
|
-
* @experimental (since 1.72) - This class is experimental and provides only limited functionality. Also
|
|
13378
|
-
* the API might be changed in future.
|
|
13379
13364
|
*/
|
|
13380
13365
|
export interface $ProductSwitchItemSettings extends $ControlSettings {
|
|
13381
13366
|
/**
|
package/types/sap.fe.base.d.ts
CHANGED
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.127.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/core/AppComponent" {
|
|
4
4
|
import {
|
|
@@ -949,8 +949,6 @@ declare module "sap/fe/core/controllerextensions/IntentBasedNavigation" {
|
|
|
949
949
|
declare module "sap/fe/core/controllerextensions/MessageHandler" {
|
|
950
950
|
import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
|
|
951
951
|
|
|
952
|
-
import Dialog from "sap/m/Dialog";
|
|
953
|
-
|
|
954
952
|
/**
|
|
955
953
|
* A controller extension offering message handling.
|
|
956
954
|
*
|
|
@@ -973,7 +971,7 @@ declare module "sap/fe/core/controllerextensions/MessageHandler" {
|
|
|
973
971
|
* @returns A promise that is resolved once the user closes the dialog. If there are no messages
|
|
974
972
|
* to be shown, the promise is resolved immediately
|
|
975
973
|
*/
|
|
976
|
-
showMessageDialog(): Promise<
|
|
974
|
+
showMessageDialog(): Promise<void>;
|
|
977
975
|
}
|
|
978
976
|
}
|
|
979
977
|
|
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.127.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/macros/CollectionBindingInfo" {
|
|
4
4
|
import Filter from "sap/ui/model/Filter";
|
|
@@ -215,7 +215,7 @@ declare module "sap/fe/macros/MultiValueField" {
|
|
|
215
215
|
/**
|
|
216
216
|
* The readOnly flag
|
|
217
217
|
*/
|
|
218
|
-
readOnly?:
|
|
218
|
+
readOnly?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -643,9 +643,9 @@ declare module "sap/fe/macros/chart/ChartAPI" {
|
|
|
643
643
|
export default class Chart
|
|
644
644
|
extends MacroAPI
|
|
645
645
|
implements
|
|
646
|
-
/* was: sap.fe.
|
|
646
|
+
/* was: sap.fe.core.controllerextensions.viewState.IViewStateContributor */ Object
|
|
647
647
|
{
|
|
648
|
-
|
|
648
|
+
__implements__sap_fe_core_controllerextensions_viewState_IViewStateContributor: boolean;
|
|
649
649
|
|
|
650
650
|
/**
|
|
651
651
|
* Gets the key of the current variant in the associated variant management.
|
|
@@ -879,7 +879,7 @@ declare module "sap/fe/macros/field/Field" {
|
|
|
879
879
|
$BuildingBlockWithTemplatingSettings,
|
|
880
880
|
} from "sap/fe/macros/controls/BuildingBlockWithTemplating";
|
|
881
881
|
|
|
882
|
-
import { IFormContent
|
|
882
|
+
import { IFormContent } from "sap/ui/core/library";
|
|
883
883
|
|
|
884
884
|
import Control from "sap/ui/core/Control";
|
|
885
885
|
|
|
@@ -946,7 +946,7 @@ declare module "sap/fe/macros/field/Field" {
|
|
|
946
946
|
/**
|
|
947
947
|
* Type of the message
|
|
948
948
|
*/
|
|
949
|
-
type?: MessageType;
|
|
949
|
+
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
950
950
|
}
|
|
951
951
|
): string;
|
|
952
952
|
/**
|
|
@@ -1071,8 +1071,6 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
1071
1071
|
$MacroAPISettings,
|
|
1072
1072
|
} from "sap/fe/macros/MacroAPI";
|
|
1073
1073
|
|
|
1074
|
-
import { MessageType } from "sap/ui/core/library";
|
|
1075
|
-
|
|
1076
1074
|
import Control from "sap/ui/core/Control";
|
|
1077
1075
|
|
|
1078
1076
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -1121,7 +1119,7 @@ declare module "sap/fe/macros/field/FieldAPI" {
|
|
|
1121
1119
|
/**
|
|
1122
1120
|
* Type of the message
|
|
1123
1121
|
*/
|
|
1124
|
-
type?: MessageType;
|
|
1122
|
+
type?: /* was: sap.ui.core.message.MessageType */ any;
|
|
1125
1123
|
}
|
|
1126
1124
|
): string;
|
|
1127
1125
|
/**
|
|
@@ -1485,7 +1483,7 @@ declare module "sap/fe/macros/filterBar/FilterBar" {
|
|
|
1485
1483
|
selectionVariant: SelectionVariant,
|
|
1486
1484
|
/**
|
|
1487
1485
|
* Optional. If true, we will use the associated text property values (if they're available in the selectionVariant)
|
|
1488
|
-
* to display the filter value descriptions, instead of loading them from the
|
|
1486
|
+
* to display the filter value descriptions, instead of loading them from the backend
|
|
1489
1487
|
*/
|
|
1490
1488
|
prefillDescriptions?: boolean
|
|
1491
1489
|
): Promise<any>;
|
|
@@ -1615,7 +1613,13 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
1615
1613
|
* <macros:FilterBar id="MyFilterBar" metaPath="@com.sap.vocabularies.UI.v1.SelectionFields" />
|
|
1616
1614
|
* ```
|
|
1617
1615
|
*/
|
|
1618
|
-
export default class FilterBar
|
|
1616
|
+
export default class FilterBar
|
|
1617
|
+
extends MacroAPI
|
|
1618
|
+
implements
|
|
1619
|
+
/* was: sap.fe.core.controllerextensions.viewState.IViewStateContributor */ Object
|
|
1620
|
+
{
|
|
1621
|
+
__implements__sap_fe_core_controllerextensions_viewState_IViewStateContributor: boolean;
|
|
1622
|
+
|
|
1619
1623
|
/**
|
|
1620
1624
|
* Get the Active Filters Text Summary for the filter bar.
|
|
1621
1625
|
*
|
|
@@ -1752,7 +1756,7 @@ declare module "sap/fe/macros/filterBar/FilterBarAPI" {
|
|
|
1752
1756
|
selectionVariant: SelectionVariant,
|
|
1753
1757
|
/**
|
|
1754
1758
|
* Optional. If true, we will use the associated text property values (if they're available in the selectionVariant)
|
|
1755
|
-
* to display the filter value descriptions, instead of loading them from the
|
|
1759
|
+
* to display the filter value descriptions, instead of loading them from the backend
|
|
1756
1760
|
*/
|
|
1757
1761
|
prefillDescriptions?: boolean
|
|
1758
1762
|
): Promise<any>;
|
|
@@ -1988,6 +1992,8 @@ declare module "sap/fe/macros/form/FormElement.block" {
|
|
|
1988
1992
|
declare module "sap/fe/macros/microchart/MicroChart.block" {
|
|
1989
1993
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
1990
1994
|
|
|
1995
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
1996
|
+
|
|
1991
1997
|
/**
|
|
1992
1998
|
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
1993
1999
|
*
|
|
@@ -1997,7 +2003,23 @@ declare module "sap/fe/macros/microchart/MicroChart.block" {
|
|
|
1997
2003
|
/**
|
|
1998
2004
|
* Describes the settings that can be provided to the MicroChart constructor.
|
|
1999
2005
|
*/
|
|
2000
|
-
export interface $MicroChartSettings extends $ControlSettings {
|
|
2006
|
+
export interface $MicroChartSettings extends $ControlSettings {
|
|
2007
|
+
/**
|
|
2008
|
+
* Show blank space in case there is no data in the chart
|
|
2009
|
+
*/
|
|
2010
|
+
hideOnNoData?: string | PropertyBindingInfo;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* To control the rendering of Title, Subtitle and Currency Labels. When the size is xs then we do
|
|
2014
|
+
* not see the inner labels of the MicroChart as well.
|
|
2015
|
+
*/
|
|
2016
|
+
showOnlyChart?: string | PropertyBindingInfo;
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* Size of the MicroChart
|
|
2020
|
+
*/
|
|
2021
|
+
size?: string | PropertyBindingInfo;
|
|
2022
|
+
}
|
|
2001
2023
|
}
|
|
2002
2024
|
|
|
2003
2025
|
declare module "sap/fe/macros/microchart/MicroChart" {
|
|
@@ -2006,6 +2028,8 @@ declare module "sap/fe/macros/microchart/MicroChart" {
|
|
|
2006
2028
|
$BuildingBlockWithTemplatingSettings,
|
|
2007
2029
|
} from "sap/fe/macros/controls/BuildingBlockWithTemplating";
|
|
2008
2030
|
|
|
2031
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
2032
|
+
|
|
2009
2033
|
/**
|
|
2010
2034
|
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
2011
2035
|
* Usage example:
|
|
@@ -2033,7 +2057,23 @@ declare module "sap/fe/macros/microchart/MicroChart" {
|
|
|
2033
2057
|
* @experimental
|
|
2034
2058
|
*/
|
|
2035
2059
|
export interface $MicroChartSettings
|
|
2036
|
-
extends $BuildingBlockWithTemplatingSettings {
|
|
2060
|
+
extends $BuildingBlockWithTemplatingSettings {
|
|
2061
|
+
/**
|
|
2062
|
+
* Show blank space in case there is no data in the chart
|
|
2063
|
+
*/
|
|
2064
|
+
hideOnNoData?: string | PropertyBindingInfo;
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* To control the rendering of Title, Subtitle and Currency Labels. When the size is xs then we do
|
|
2068
|
+
* not see the inner labels of the MicroChart as well.
|
|
2069
|
+
*/
|
|
2070
|
+
showOnlyChart?: string | PropertyBindingInfo;
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* Size of the MicroChart
|
|
2074
|
+
*/
|
|
2075
|
+
size?: string | PropertyBindingInfo;
|
|
2076
|
+
}
|
|
2037
2077
|
}
|
|
2038
2078
|
|
|
2039
2079
|
declare module "sap/fe/macros/paginator/Paginator.block" {
|
|
@@ -4478,6 +4518,107 @@ declare module "sap/fe/macros/table/TreeTableCreationOptions" {
|
|
|
4478
4518
|
}
|
|
4479
4519
|
}
|
|
4480
4520
|
|
|
4521
|
+
declare module "sap/fe/macros/controls/section/ISingleSectionContributor" {
|
|
4522
|
+
/**
|
|
4523
|
+
* This interface should be implemented by controls to define it's behaviour
|
|
4524
|
+
* when it is the only control in a Fiori Elements Object Page Section.
|
|
4525
|
+
*
|
|
4526
|
+
*
|
|
4527
|
+
*
|
|
4528
|
+
* The Fiori Elements Object Page Section checks if it has only one control at runtime and then
|
|
4529
|
+
* calls the relevant methods if the control implements the interface.
|
|
4530
|
+
*
|
|
4531
|
+
*
|
|
4532
|
+
*
|
|
4533
|
+
* Incase of a composite control or controls placed inside layouts (VBox, HBox, FlexBox) etc. it should
|
|
4534
|
+
* always be the root/layout control that implements this interface.
|
|
4535
|
+
* It is upto the root/layout contrl in this case of interact with inner controls.
|
|
4536
|
+
*
|
|
4537
|
+
*
|
|
4538
|
+
*
|
|
4539
|
+
* Control must implement getSectionContentRole to define whether it is a "provider" or a "consumer".
|
|
4540
|
+
*
|
|
4541
|
+
*
|
|
4542
|
+
* - provider: Building block is the provider of information to the section
|
|
4543
|
+
*
|
|
4544
|
+
* - consumer: Building block is the consumer of information provided by the section
|
|
4545
|
+
*
|
|
4546
|
+
*
|
|
4547
|
+
*
|
|
4548
|
+
* If the control is a "provider" then it should implement the getDataFromProvider method and return ProviderData.
|
|
4549
|
+
*
|
|
4550
|
+
*
|
|
4551
|
+
* If the control is a "consumer" then it should implement the sendDataToConsumer method and consume ConsumerData.
|
|
4552
|
+
*
|
|
4553
|
+
*
|
|
4554
|
+
*
|
|
4555
|
+
*
|
|
4556
|
+
* @since 1.126.0
|
|
4557
|
+
*/
|
|
4558
|
+
export interface ISingleSectionContributor {
|
|
4559
|
+
__implements__sap_fe_macros_controls_section_ISingleSectionContributor: boolean;
|
|
4560
|
+
|
|
4561
|
+
/**
|
|
4562
|
+
* When the content role is "provider" this method is called by the section to get the information from
|
|
4563
|
+
* the the provider.
|
|
4564
|
+
*
|
|
4565
|
+
*
|
|
4566
|
+
* @returns The data from the provider which is needed by the section.
|
|
4567
|
+
*/
|
|
4568
|
+
getDataFromProvider(): ProviderData;
|
|
4569
|
+
/**
|
|
4570
|
+
* Defines the role of a control when it is the only content in the section. Allowed roles are "provider"
|
|
4571
|
+
* and "consumer".
|
|
4572
|
+
*
|
|
4573
|
+
*
|
|
4574
|
+
*
|
|
4575
|
+
* provider: control is the provider of information to the section. Control provides the information and
|
|
4576
|
+
* section acts on it.
|
|
4577
|
+
*
|
|
4578
|
+
*
|
|
4579
|
+
*
|
|
4580
|
+
* consumer: control is the consumer of information provided by the section. Section provides the information
|
|
4581
|
+
* and the control acts on it.
|
|
4582
|
+
*
|
|
4583
|
+
*
|
|
4584
|
+
*
|
|
4585
|
+
* @returns The role played by the control when it is the only content in the Fiori Elements Object Page
|
|
4586
|
+
* Section.
|
|
4587
|
+
*/
|
|
4588
|
+
getSectionContentRole(): string;
|
|
4589
|
+
/**
|
|
4590
|
+
* When the content role is "consumer" this method is called by the section to collect
|
|
4591
|
+
* and send information from the section to the control.
|
|
4592
|
+
*/
|
|
4593
|
+
sendDataToConsumer(
|
|
4594
|
+
/**
|
|
4595
|
+
* Data provide by the section to the control.
|
|
4596
|
+
*/
|
|
4597
|
+
consumerData: ConsumerData
|
|
4598
|
+
): void;
|
|
4599
|
+
}
|
|
4600
|
+
|
|
4601
|
+
/**
|
|
4602
|
+
* Definition of data consumer by section from single control
|
|
4603
|
+
*/
|
|
4604
|
+
export type ConsumerData = {
|
|
4605
|
+
/**
|
|
4606
|
+
* Defines the title to be used by the single control.
|
|
4607
|
+
*/
|
|
4608
|
+
title: string;
|
|
4609
|
+
};
|
|
4610
|
+
|
|
4611
|
+
/**
|
|
4612
|
+
* Definition of data provided by section to single control
|
|
4613
|
+
*/
|
|
4614
|
+
export type ProviderData = {
|
|
4615
|
+
/**
|
|
4616
|
+
* Defines the title to be used by the section.
|
|
4617
|
+
*/
|
|
4618
|
+
title: string;
|
|
4619
|
+
};
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4481
4622
|
declare namespace sap {
|
|
4482
4623
|
interface IUI5DefineDependencyNames {
|
|
4483
4624
|
"sap/fe/macros/chart/Action": undefined;
|
|
@@ -4494,6 +4635,8 @@ declare namespace sap {
|
|
|
4494
4635
|
|
|
4495
4636
|
"sap/fe/macros/controls/BuildingBlockWithTemplating": undefined;
|
|
4496
4637
|
|
|
4638
|
+
"sap/fe/macros/controls/section/ISingleSectionContributor": undefined;
|
|
4639
|
+
|
|
4497
4640
|
"sap/fe/macros/fcl/FlexibleColumnLayoutActions.block": undefined;
|
|
4498
4641
|
|
|
4499
4642
|
"sap/fe/macros/field/Field": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.127.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/templates/library" {}
|
|
4
4
|
|
|
@@ -211,6 +211,8 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
|
|
|
211
211
|
|
|
212
212
|
import Context1 from "sap/ui/model/odata/v4/Context";
|
|
213
213
|
|
|
214
|
+
import ManagedObject from "sap/ui/base/ManagedObject";
|
|
215
|
+
|
|
214
216
|
import Message from "sap/ui/core/message/Message";
|
|
215
217
|
|
|
216
218
|
/**
|
|
@@ -264,7 +266,12 @@ declare module "sap/fe/templates/ObjectPage/ExtensionAPI" {
|
|
|
264
266
|
/**
|
|
265
267
|
* This function will treat the control as a single content in an object page section.
|
|
266
268
|
*/
|
|
267
|
-
setAsSectionTitleOwner(
|
|
269
|
+
setAsSectionTitleOwner(
|
|
270
|
+
/**
|
|
271
|
+
* The single content control can be one of standard building blocks (Form, Chart, Table) or reuse components
|
|
272
|
+
*/
|
|
273
|
+
control: ManagedObject
|
|
274
|
+
): void;
|
|
268
275
|
/**
|
|
269
276
|
* Displays the message strip between the title and the header of the ObjectPage.
|
|
270
277
|
*/
|
package/types/sap.fe.test.d.ts
CHANGED
package/types/sap.fe.tools.d.ts
CHANGED