@sapui5/ts-types-esm 1.139.0 → 1.140.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.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.cux.home.d.ts +0 -1623
- package/types/sap.esh.search.ui.d.ts +1 -2297
- package/types/sap.f.d.ts +59 -11
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -5
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +15 -8
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +3 -10
- 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 +1 -1
- 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 +41 -11
- package/types/sap.insights.d.ts +130 -2
- package/types/sap.m.d.ts +645 -274
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -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 +99 -1
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +5 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +16 -1
- package/types/sap.ui.core.d.ts +402 -97
- 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 +1 -7
- 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 +13 -13
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +80 -28
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- 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 +568 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- 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 +307 -6
- package/types/sap.ui.vtm.d.ts +1 -1
- 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 +10 -6
- package/types/sap.ushell_abap.d.ts +3 -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/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
export interface IToolHeader {
|
|
@@ -14672,10 +14672,10 @@ declare module "sap/f/ProductSwitch" {
|
|
|
14672
14672
|
declare module "sap/f/ProductSwitchItem" {
|
|
14673
14673
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
14674
14674
|
|
|
14675
|
-
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
14676
|
-
|
|
14677
14675
|
import { URI } from "sap/ui/core/library";
|
|
14678
14676
|
|
|
14677
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
14678
|
+
|
|
14679
14679
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
14680
14680
|
|
|
14681
14681
|
/**
|
|
@@ -14748,6 +14748,18 @@ declare module "sap/f/ProductSwitchItem" {
|
|
|
14748
14748
|
* @returns Metadata object describing this class
|
|
14749
14749
|
*/
|
|
14750
14750
|
static getMetadata(): ElementMetadata;
|
|
14751
|
+
/**
|
|
14752
|
+
* Gets current value of property {@link #getImageSrc imageSrc}.
|
|
14753
|
+
*
|
|
14754
|
+
* Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
|
|
14755
|
+
*
|
|
14756
|
+
* **Note:** This property takes precedence over the `src` property.
|
|
14757
|
+
*
|
|
14758
|
+
* @since 1.140
|
|
14759
|
+
*
|
|
14760
|
+
* @returns Value of property `imageSrc`
|
|
14761
|
+
*/
|
|
14762
|
+
getImageSrc(): URI;
|
|
14751
14763
|
/**
|
|
14752
14764
|
* Gets current value of property {@link #getSrc src}.
|
|
14753
14765
|
*
|
|
@@ -14800,6 +14812,25 @@ declare module "sap/f/ProductSwitchItem" {
|
|
|
14800
14812
|
* @returns Value of property `title`
|
|
14801
14813
|
*/
|
|
14802
14814
|
getTitle(): string;
|
|
14815
|
+
/**
|
|
14816
|
+
* Sets a new value for property {@link #getImageSrc imageSrc}.
|
|
14817
|
+
*
|
|
14818
|
+
* Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
|
|
14819
|
+
*
|
|
14820
|
+
* **Note:** This property takes precedence over the `src` property.
|
|
14821
|
+
*
|
|
14822
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
14823
|
+
*
|
|
14824
|
+
* @since 1.140
|
|
14825
|
+
*
|
|
14826
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14827
|
+
*/
|
|
14828
|
+
setImageSrc(
|
|
14829
|
+
/**
|
|
14830
|
+
* New value for property `imageSrc`
|
|
14831
|
+
*/
|
|
14832
|
+
sImageSrc?: URI
|
|
14833
|
+
): this;
|
|
14803
14834
|
/**
|
|
14804
14835
|
* Sets a new value for property {@link #getSrc src}.
|
|
14805
14836
|
*
|
|
@@ -14898,6 +14929,15 @@ declare module "sap/f/ProductSwitchItem" {
|
|
|
14898
14929
|
*/
|
|
14899
14930
|
src?: URI | PropertyBindingInfo | `{${string}}`;
|
|
14900
14931
|
|
|
14932
|
+
/**
|
|
14933
|
+
* Defines the image to be displayed as graphical element within the `ProductSwitchItem`.
|
|
14934
|
+
*
|
|
14935
|
+
* **Note:** This property takes precedence over the `src` property.
|
|
14936
|
+
*
|
|
14937
|
+
* @since 1.140
|
|
14938
|
+
*/
|
|
14939
|
+
imageSrc?: URI | PropertyBindingInfo | `{${string}}`;
|
|
14940
|
+
|
|
14901
14941
|
/**
|
|
14902
14942
|
* Determines the title of the `ProductSwitchItem`.
|
|
14903
14943
|
*/
|
|
@@ -14936,16 +14976,24 @@ declare module "sap/f/routing/Router" {
|
|
|
14936
14976
|
import TargetHandler from "sap/f/routing/TargetHandler";
|
|
14937
14977
|
|
|
14938
14978
|
/**
|
|
14939
|
-
* The `sap.f.routing.Router`
|
|
14940
|
-
*
|
|
14979
|
+
* The `sap.f.routing.Router` extends the capabilities of the standard `{@link sap.ui.core.routing.Router}`
|
|
14980
|
+
* to support flexible and responsive layouts based on `{@link sap.f.FlexibleColumnLayout}` as the root
|
|
14981
|
+
* control.
|
|
14982
|
+
*
|
|
14983
|
+
* This router enables advanced navigation scenarios tailored to flexible column layouts, such as changing
|
|
14984
|
+
* both the layout type (e.g., OneColumn, TwoColumnsMidExpanded) and the currently displayed views within
|
|
14985
|
+
* individual columns.
|
|
14986
|
+
*
|
|
14987
|
+
* Compared to `{@link sap.ui.core.routing.Router}`, it adds support for additional target properties:
|
|
14941
14988
|
*
|
|
14942
|
-
*
|
|
14943
|
-
*
|
|
14989
|
+
* - `level`: Defines the hierarchical level of the target view for proper history and back navigation
|
|
14990
|
+
* handling
|
|
14991
|
+
* - `transition`: Specifies the type of transition animation between views (e.g., `slide`, `fade`)
|
|
14992
|
+
* - `transitionParameters`: Custom parameters for transitions
|
|
14944
14993
|
*
|
|
14945
|
-
*
|
|
14946
|
-
*
|
|
14947
|
-
*
|
|
14948
|
-
* page within a single column of the `sap.f.FlexibleColumnLayout`.
|
|
14994
|
+
* Compared to `{@link sap.m.routing.Router}`, it further introduces a `layout` property on each route,
|
|
14995
|
+
* allowing you to define the desired `{@link sap.f.LayoutType}` to be applied to the `FlexibleColumnLayout`
|
|
14996
|
+
* root control during navigation.
|
|
14949
14997
|
*
|
|
14950
14998
|
* See `{@link sap.ui.core.routing.Router}` for the constructor arguments.
|
|
14951
14999
|
*
|
package/types/sap.fe.ariba.d.ts
CHANGED
package/types/sap.fe.base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/base/BuildingBlockBase" {
|
|
4
4
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
@@ -9,14 +9,10 @@ declare module "sap/fe/base/BuildingBlockBase" {
|
|
|
9
9
|
* of the content without an actual DOM element.
|
|
10
10
|
* The building block also defines a state object that can be used to store the state of the building block.
|
|
11
11
|
* Accessibility and classes information are forwarded to the content control.
|
|
12
|
-
*
|
|
13
|
-
* @experimental
|
|
14
12
|
*/
|
|
15
13
|
export default class BuildingBlockBase extends Control {}
|
|
16
14
|
/**
|
|
17
15
|
* Describes the settings that can be provided to the BuildingBlockBase constructor.
|
|
18
|
-
*
|
|
19
|
-
* @experimental
|
|
20
16
|
*/
|
|
21
17
|
export interface $BuildingBlockBaseSettings extends $ControlSettings {}
|
|
22
18
|
}
|
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/core/AppComponent" {
|
|
4
4
|
import {
|
|
@@ -391,13 +391,10 @@ declare module "sap/fe/core/buildingBlocks/BuildingBlock" {
|
|
|
391
391
|
* Instead, only its child will be there and this control will forward all DOM related instruction to it.
|
|
392
392
|
*
|
|
393
393
|
* @since 1.121.0
|
|
394
|
-
* @experimental As of version 1.121.0.
|
|
395
394
|
*/
|
|
396
395
|
export default class BuildingBlock extends BuildingBlockBase {}
|
|
397
396
|
/**
|
|
398
397
|
* Describes the settings that can be provided to the BuildingBlock constructor.
|
|
399
|
-
*
|
|
400
|
-
* @experimental As of version 1.121.0.
|
|
401
398
|
*/
|
|
402
399
|
export interface $BuildingBlockSettings extends $BuildingBlockBaseSettings {}
|
|
403
400
|
}
|
|
@@ -1045,7 +1042,6 @@ declare module "sap/fe/core/controllerextensions/MessageHandler" {
|
|
|
1045
1042
|
* A controller extension offering message handling.
|
|
1046
1043
|
*
|
|
1047
1044
|
* @since 1.90.0
|
|
1048
|
-
* @experimental As of version 1.90.0.
|
|
1049
1045
|
*/
|
|
1050
1046
|
export default class MessageHandler extends ControllerExtension {
|
|
1051
1047
|
/**
|
|
@@ -1058,7 +1054,6 @@ declare module "sap/fe/core/controllerextensions/MessageHandler" {
|
|
|
1058
1054
|
* 3. provide a presser handler incase the message should show as a link.
|
|
1059
1055
|
*
|
|
1060
1056
|
*
|
|
1061
|
-
* @experimental
|
|
1062
1057
|
*
|
|
1063
1058
|
* @returns A promise that must be returned by the overridden method.
|
|
1064
1059
|
*/
|
|
@@ -1078,7 +1073,6 @@ declare module "sap/fe/core/controllerextensions/MessageHandler" {
|
|
|
1078
1073
|
* toast is shown instead.
|
|
1079
1074
|
*
|
|
1080
1075
|
* @since 1.90.0
|
|
1081
|
-
* @experimental As of version 1.90.0.
|
|
1082
1076
|
*
|
|
1083
1077
|
* @returns A promise that is resolved once the user closes the dialog. If there are no messages
|
|
1084
1078
|
* to be shown, the promise is resolved immediately
|
|
@@ -1155,6 +1149,18 @@ declare module "sap/fe/core/controllerextensions/Paginator" {
|
|
|
1155
1149
|
}
|
|
1156
1150
|
}
|
|
1157
1151
|
|
|
1152
|
+
declare module "sap/fe/core/controllerextensions/Recommendations" {
|
|
1153
|
+
/**
|
|
1154
|
+
* Parameters for the acceptRecommendations and onBeforeAcceptRecommendations methods.
|
|
1155
|
+
*/
|
|
1156
|
+
export type AcceptAllParams = {};
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Represents a single recommendation entry.
|
|
1160
|
+
*/
|
|
1161
|
+
export type RecommendationData = {};
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1158
1164
|
declare module "sap/fe/core/controllerextensions/Routing" {
|
|
1159
1165
|
import BaseControllerExtension from "sap/fe/core/controllerextensions/BaseControllerExtension";
|
|
1160
1166
|
|
|
@@ -1638,7 +1644,6 @@ declare module "sap/fe/core/fpm/Component" {
|
|
|
1638
1644
|
*
|
|
1639
1645
|
*
|
|
1640
1646
|
* @since 1.92.0
|
|
1641
|
-
* @experimental As of version 1.92.0.
|
|
1642
1647
|
*/
|
|
1643
1648
|
export default class Component
|
|
1644
1649
|
extends /* was: sap.fe.core.TemplateComponent */ Object
|
|
@@ -1699,6 +1704,8 @@ declare namespace sap {
|
|
|
1699
1704
|
|
|
1700
1705
|
"sap/fe/core/controllerextensions/Paginator": undefined;
|
|
1701
1706
|
|
|
1707
|
+
"sap/fe/core/controllerextensions/Recommendations": undefined;
|
|
1708
|
+
|
|
1702
1709
|
"sap/fe/core/controllerextensions/Routing": undefined;
|
|
1703
1710
|
|
|
1704
1711
|
"sap/fe/core/controllerextensions/Share": undefined;
|
package/types/sap.fe.ina.d.ts
CHANGED
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/fe/macros/Chart" {
|
|
4
4
|
import {
|
|
@@ -741,16 +741,10 @@ declare module "sap/fe/macros/MessageButton" {
|
|
|
741
741
|
*
|
|
742
742
|
* <macros:MessageButton visibilityChange=".handler.onMessageButtonVisibilityChange" />
|
|
743
743
|
* ```
|
|
744
|
-
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
* @experimental
|
|
748
744
|
*/
|
|
749
745
|
export default class MessageButton extends BuildingBlock {}
|
|
750
746
|
/**
|
|
751
747
|
* Describes the settings that can be provided to the MessageButton constructor.
|
|
752
|
-
*
|
|
753
|
-
* @experimental
|
|
754
748
|
*/
|
|
755
749
|
export interface $MessageButtonSettings extends $BuildingBlockSettings {}
|
|
756
750
|
|
|
@@ -936,13 +930,10 @@ declare module "sap/fe/macros/MultiValueField" {
|
|
|
936
930
|
*
|
|
937
931
|
*
|
|
938
932
|
* @since 1.118.0
|
|
939
|
-
* @experimental As of version 1.118.0.
|
|
940
933
|
*/
|
|
941
934
|
export default class MultiValueField extends BuildingBlock {}
|
|
942
935
|
/**
|
|
943
936
|
* Describes the settings that can be provided to the MultiValueField constructor.
|
|
944
|
-
*
|
|
945
|
-
* @experimental As of version 1.118.0.
|
|
946
937
|
*/
|
|
947
938
|
export interface $MultiValueFieldSettings extends $BuildingBlockSettings {
|
|
948
939
|
/**
|
|
@@ -1695,12 +1686,14 @@ declare module "sap/fe/macros/controls/BuildingBlockWithTemplating" {
|
|
|
1695
1686
|
* block.
|
|
1696
1687
|
* On change of the main properties you will be able to recreate the content.
|
|
1697
1688
|
*
|
|
1689
|
+
* @deprecated As of version 1.140.
|
|
1698
1690
|
* @experimental
|
|
1699
1691
|
*/
|
|
1700
1692
|
export default class BuildingBlockWithTemplating extends BuildingBlock {}
|
|
1701
1693
|
/**
|
|
1702
1694
|
* Describes the settings that can be provided to the BuildingBlockWithTemplating constructor.
|
|
1703
1695
|
*
|
|
1696
|
+
* @deprecated As of version 1.140.
|
|
1704
1697
|
* @experimental
|
|
1705
1698
|
*/
|
|
1706
1699
|
export interface $BuildingBlockWithTemplatingSettings
|
package/types/sap.fe.test.d.ts
CHANGED
package/types/sap.fe.tools.d.ts
CHANGED
package/types/sap.gantt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/gantt/library" {
|
|
4
4
|
import ChartScheme from "sap/gantt/config/ChartScheme";
|
|
@@ -35305,8 +35305,6 @@ declare module "sap/gantt/simple/BaseShape" {
|
|
|
35305
35305
|
*
|
|
35306
35306
|
* Postion of left anchor for a shape to connect with other shapes whose value ranges from 0-100
|
|
35307
35307
|
*
|
|
35308
|
-
* Default value is `50`.
|
|
35309
|
-
*
|
|
35310
35308
|
* @since 1.131
|
|
35311
35309
|
*
|
|
35312
35310
|
* @returns Value of property `leftAnchorPosition`
|
|
@@ -35342,8 +35340,6 @@ declare module "sap/gantt/simple/BaseShape" {
|
|
|
35342
35340
|
*
|
|
35343
35341
|
* Postion of right anchor for a shape to connect with other shapes whose value ranges from 0-100
|
|
35344
35342
|
*
|
|
35345
|
-
* Default value is `50`.
|
|
35346
|
-
*
|
|
35347
35343
|
* @since 1.131
|
|
35348
35344
|
*
|
|
35349
35345
|
* @returns Value of property `rightAnchorPosition`
|
|
@@ -36025,8 +36021,6 @@ declare module "sap/gantt/simple/BaseShape" {
|
|
|
36025
36021
|
*
|
|
36026
36022
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
36027
36023
|
*
|
|
36028
|
-
* Default value is `50`.
|
|
36029
|
-
*
|
|
36030
36024
|
* @since 1.131
|
|
36031
36025
|
*
|
|
36032
36026
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -36035,7 +36029,7 @@ declare module "sap/gantt/simple/BaseShape" {
|
|
|
36035
36029
|
/**
|
|
36036
36030
|
* New value for property `leftAnchorPosition`
|
|
36037
36031
|
*/
|
|
36038
|
-
iLeftAnchorPosition
|
|
36032
|
+
iLeftAnchorPosition: int
|
|
36039
36033
|
): this;
|
|
36040
36034
|
/**
|
|
36041
36035
|
* Sets a new value for property {@link #getOpacity opacity}.
|
|
@@ -36083,8 +36077,6 @@ declare module "sap/gantt/simple/BaseShape" {
|
|
|
36083
36077
|
*
|
|
36084
36078
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
36085
36079
|
*
|
|
36086
|
-
* Default value is `50`.
|
|
36087
|
-
*
|
|
36088
36080
|
* @since 1.131
|
|
36089
36081
|
*
|
|
36090
36082
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -36093,7 +36085,7 @@ declare module "sap/gantt/simple/BaseShape" {
|
|
|
36093
36085
|
/**
|
|
36094
36086
|
* New value for property `rightAnchorPosition`
|
|
36095
36087
|
*/
|
|
36096
|
-
iRightAnchorPosition
|
|
36088
|
+
iRightAnchorPosition: int
|
|
36097
36089
|
): this;
|
|
36098
36090
|
/**
|
|
36099
36091
|
* Sets a new value for property {@link #getRowYCenter rowYCenter}.
|
|
@@ -54237,6 +54229,8 @@ declare module "sap/gantt/simple/StockChart" {
|
|
|
54237
54229
|
|
|
54238
54230
|
import StockChartDimension from "sap/gantt/simple/StockChartDimension";
|
|
54239
54231
|
|
|
54232
|
+
import BaseLine from "sap/gantt/simple/BaseLine";
|
|
54233
|
+
|
|
54240
54234
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
54241
54235
|
|
|
54242
54236
|
import {
|
|
@@ -54326,6 +54320,14 @@ declare module "sap/gantt/simple/StockChart" {
|
|
|
54326
54320
|
*/
|
|
54327
54321
|
oStockChartDimension: StockChartDimension
|
|
54328
54322
|
): this;
|
|
54323
|
+
/**
|
|
54324
|
+
* Destroys the customMiddleLine in the aggregation {@link #getCustomMiddleLine customMiddleLine}.
|
|
54325
|
+
*
|
|
54326
|
+
* @since 1.140
|
|
54327
|
+
*
|
|
54328
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
54329
|
+
*/
|
|
54330
|
+
destroyCustomMiddleLine(): this;
|
|
54329
54331
|
/**
|
|
54330
54332
|
* Destroys all the stockChartDimensions in the aggregation {@link #getStockChartDimensions stockChartDimensions}.
|
|
54331
54333
|
*
|
|
@@ -54333,6 +54335,14 @@ declare module "sap/gantt/simple/StockChart" {
|
|
|
54333
54335
|
* @returns Reference to `this` in order to allow method chaining
|
|
54334
54336
|
*/
|
|
54335
54337
|
destroyStockChartDimensions(): this;
|
|
54338
|
+
/**
|
|
54339
|
+
* Gets content of aggregation {@link #getCustomMiddleLine customMiddleLine}.
|
|
54340
|
+
*
|
|
54341
|
+
* Custom configuration for middle line to define stroke, stroke-width and stroke-dasharray.
|
|
54342
|
+
*
|
|
54343
|
+
* @since 1.140
|
|
54344
|
+
*/
|
|
54345
|
+
getCustomMiddleLine(): BaseLine;
|
|
54336
54346
|
/**
|
|
54337
54347
|
* Gets current value of property {@link #getMaxValue maxValue}.
|
|
54338
54348
|
*
|
|
@@ -54463,6 +54473,19 @@ declare module "sap/gantt/simple/StockChart" {
|
|
|
54463
54473
|
*/
|
|
54464
54474
|
oElement: object
|
|
54465
54475
|
): void;
|
|
54476
|
+
/**
|
|
54477
|
+
* Sets the aggregated {@link #getCustomMiddleLine customMiddleLine}.
|
|
54478
|
+
*
|
|
54479
|
+
* @since 1.140
|
|
54480
|
+
*
|
|
54481
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
54482
|
+
*/
|
|
54483
|
+
setCustomMiddleLine(
|
|
54484
|
+
/**
|
|
54485
|
+
* The customMiddleLine to set
|
|
54486
|
+
*/
|
|
54487
|
+
oCustomMiddleLine: BaseLine
|
|
54488
|
+
): this;
|
|
54466
54489
|
/**
|
|
54467
54490
|
* Sets a new value for property {@link #getMaxValue maxValue}.
|
|
54468
54491
|
*
|
|
@@ -54597,6 +54620,13 @@ declare module "sap/gantt/simple/StockChart" {
|
|
|
54597
54620
|
| StockChartDimension
|
|
54598
54621
|
| AggregationBindingInfo
|
|
54599
54622
|
| `{${string}}`;
|
|
54623
|
+
|
|
54624
|
+
/**
|
|
54625
|
+
* Custom configuration for middle line to define stroke, stroke-width and stroke-dasharray.
|
|
54626
|
+
*
|
|
54627
|
+
* @since 1.140
|
|
54628
|
+
*/
|
|
54629
|
+
customMiddleLine?: BaseLine;
|
|
54600
54630
|
}
|
|
54601
54631
|
}
|
|
54602
54632
|
|
package/types/sap.insights.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.140.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/insights/library" {}
|
|
4
4
|
|
|
@@ -75,11 +75,137 @@ declare module "sap/insights/CardHelper" {
|
|
|
75
75
|
/**
|
|
76
76
|
* callback event to be called when confirm button is pressed
|
|
77
77
|
*/
|
|
78
|
-
onConfirm: Function
|
|
78
|
+
onConfirm: Function,
|
|
79
|
+
/**
|
|
80
|
+
* callback event to be called when close button is pressed
|
|
81
|
+
*/
|
|
82
|
+
onClose: Function
|
|
79
83
|
): Promise<void>;
|
|
80
84
|
}
|
|
81
85
|
}
|
|
82
86
|
|
|
87
|
+
declare module "sap/insights/CardProvider" {
|
|
88
|
+
import BaseObject from "sap/ui/base/Object";
|
|
89
|
+
|
|
90
|
+
import { Card } from "sap/insights/CardsChannel";
|
|
91
|
+
|
|
92
|
+
import Metadata from "sap/ui/base/Metadata";
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* This class is used to provide cards to consumers like SAP Collaboration Manager. It registers itself
|
|
96
|
+
* with the cards channel and shares available cards with interested consumers. It also handles requests
|
|
97
|
+
* for specific cards from consumers. It can be used to share cards with other applications or components
|
|
98
|
+
* that are interested in them
|
|
99
|
+
*
|
|
100
|
+
* @since 1.140
|
|
101
|
+
*/
|
|
102
|
+
export default class CardProvider extends BaseObject {
|
|
103
|
+
/**
|
|
104
|
+
* Constructor for the card provider.
|
|
105
|
+
*/
|
|
106
|
+
constructor(
|
|
107
|
+
/**
|
|
108
|
+
* unique ID to be used for registering the provider
|
|
109
|
+
*/
|
|
110
|
+
sId: string,
|
|
111
|
+
/**
|
|
112
|
+
* An array containing available cards
|
|
113
|
+
*/
|
|
114
|
+
aCards: Card[]
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Creates a new subclass of class sap.insights.CardProvider with name `sClassName` and enriches it with
|
|
119
|
+
* the information contained in `oClassInfo`.
|
|
120
|
+
*
|
|
121
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
* @returns Created class / constructor function
|
|
125
|
+
*/
|
|
126
|
+
static extend<T extends Record<string, unknown>>(
|
|
127
|
+
/**
|
|
128
|
+
* Name of the class being created
|
|
129
|
+
*/
|
|
130
|
+
sClassName: string,
|
|
131
|
+
/**
|
|
132
|
+
* Object literal with information about the class
|
|
133
|
+
*/
|
|
134
|
+
oClassInfo?: sap.ClassInfo<T, CardProvider>,
|
|
135
|
+
/**
|
|
136
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
137
|
+
* used by this class
|
|
138
|
+
*/
|
|
139
|
+
FNMetaImpl?: Function
|
|
140
|
+
): Function;
|
|
141
|
+
/**
|
|
142
|
+
* Returns a metadata object for class sap.insights.CardProvider.
|
|
143
|
+
*
|
|
144
|
+
*
|
|
145
|
+
* @returns Metadata object describing this class
|
|
146
|
+
*/
|
|
147
|
+
static getMetadata(): Metadata;
|
|
148
|
+
/**
|
|
149
|
+
* This method is called when a consumer requests a specific card. It checks if the consumer is registered
|
|
150
|
+
* and if the card exists in the shared cards. If both conditions are met it publishes the card to the consumer.
|
|
151
|
+
* If the consumer is not registered, it does nothing.
|
|
152
|
+
*
|
|
153
|
+
* @since 1.140
|
|
154
|
+
*/
|
|
155
|
+
onCardRequested(
|
|
156
|
+
/**
|
|
157
|
+
* id of the requesting consumer
|
|
158
|
+
*/
|
|
159
|
+
sConsumerId: string,
|
|
160
|
+
/**
|
|
161
|
+
* unique ID of available card
|
|
162
|
+
*/
|
|
163
|
+
sCardId: string
|
|
164
|
+
): void;
|
|
165
|
+
/**
|
|
166
|
+
* This method is called when a consumer connects to the cards channel. It checks if the card detail control
|
|
167
|
+
* is loaded, and if not, it loads it. Then it shares the available cards with the consumer and navigates
|
|
168
|
+
* to the card list page. If the card detail control is already loaded, it simply shares the available cards.
|
|
169
|
+
*
|
|
170
|
+
* @since 1.140
|
|
171
|
+
*/
|
|
172
|
+
onConsumerConnected(
|
|
173
|
+
/**
|
|
174
|
+
* id of the requesting consumer
|
|
175
|
+
*/
|
|
176
|
+
sConsumerId: string
|
|
177
|
+
): void;
|
|
178
|
+
/**
|
|
179
|
+
* This method is called when a consumer disconnects from the cards channel. It removes the consumer from
|
|
180
|
+
* the list of consumers and stops sharing cards with it. If the consumer is not registered, it does nothing.
|
|
181
|
+
*
|
|
182
|
+
* @since 1.140
|
|
183
|
+
*/
|
|
184
|
+
onConsumerDisconnected(
|
|
185
|
+
/**
|
|
186
|
+
* id of the requesting consumer
|
|
187
|
+
*/
|
|
188
|
+
sConsumerId: string
|
|
189
|
+
): void;
|
|
190
|
+
/**
|
|
191
|
+
* This method is called when the view is updated. It checks if the home page is currently being rendered
|
|
192
|
+
* and registers or unregisters the card provider accordingly.
|
|
193
|
+
*
|
|
194
|
+
* @since 1.140
|
|
195
|
+
*/
|
|
196
|
+
onViewUpdate(
|
|
197
|
+
/**
|
|
198
|
+
* true if the home page is currently being rendered.
|
|
199
|
+
*/
|
|
200
|
+
bActive: boolean,
|
|
201
|
+
/**
|
|
202
|
+
* An array containing available cards
|
|
203
|
+
*/
|
|
204
|
+
aCards: Card[]
|
|
205
|
+
): void;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
83
209
|
declare module "sap/insights/CardsChannel" {
|
|
84
210
|
import BaseObject from "sap/ui/base/Object";
|
|
85
211
|
|
|
@@ -660,6 +786,8 @@ declare namespace sap {
|
|
|
660
786
|
interface IUI5DefineDependencyNames {
|
|
661
787
|
"sap/insights/CardHelper": undefined;
|
|
662
788
|
|
|
789
|
+
"sap/insights/CardProvider": undefined;
|
|
790
|
+
|
|
663
791
|
"sap/insights/CardsChannel": undefined;
|
|
664
792
|
|
|
665
793
|
"sap/insights/channels/ContextChannel": undefined;
|