@sapui5/ts-types 1.125.0 → 1.126.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/index.d.ts +1 -0
- 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 +73 -87
- package/types/sap.cux.home.d.ts +279 -0
- package/types/sap.esh.search.ui.d.ts +63 -143
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +13 -3
- package/types/sap.fe.macros.d.ts +169 -128
- 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 +1100 -278
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +478 -714
- 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 +41 -24
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +80 -250
- package/types/sap.suite.ui.commons.d.ts +6 -5
- package/types/sap.suite.ui.generic.template.d.ts +4 -1
- 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 +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +858 -395
- package/types/sap.ui.core.d.ts +374 -284
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +2 -2
- package/types/sap.ui.fl.d.ts +7 -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 +26 -117
- package/types/sap.ui.layout.d.ts +43 -32
- package/types/sap.ui.mdc.d.ts +463 -2643
- 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 +14 -3
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -161
- 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 +13 -261
- 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 +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +3 -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,6 +39,7 @@
|
|
|
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.cux.home.d.ts"/>
|
|
42
43
|
/// <reference path="./sap.esh.search.ui.d.ts"/>
|
|
43
44
|
/// <reference path="./sap.fe.base.d.ts"/>
|
|
44
45
|
/// <reference path="./sap.fe.core.d.ts"/>
|
package/types/sap.apf.d.ts
CHANGED
package/types/sap.ca.ui.d.ts
CHANGED
package/types/sap.chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.126.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -78,18 +78,6 @@ declare namespace sap {
|
|
|
78
78
|
mSettings?: sap.collaboration.components.feed.$ComponentSettings
|
|
79
79
|
);
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* The method to create the Content (UI Control Tree) of the Component.
|
|
83
|
-
*
|
|
84
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
85
|
-
*/
|
|
86
|
-
static createContent(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Cleans up the component instance before destruction.
|
|
89
|
-
*
|
|
90
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
91
|
-
*/
|
|
92
|
-
static exit(): void;
|
|
93
81
|
/**
|
|
94
82
|
* Creates a new subclass of class sap.collaboration.components.feed.Component with name `sClassName` and
|
|
95
83
|
* enriches it with the information contained in `oClassInfo`.
|
|
@@ -125,53 +113,17 @@ declare namespace sap {
|
|
|
125
113
|
*/
|
|
126
114
|
static getMetadata(): sap.ui.core.ComponentMetadata;
|
|
127
115
|
/**
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* @returns a map containing information about the selected Group (e.g. Id, Name, etc...)
|
|
132
|
-
*/
|
|
133
|
-
static getSelectedGroup(): Record<string, any>;
|
|
134
|
-
/**
|
|
135
|
-
* Initializes the Component instance after creation.
|
|
116
|
+
* The method to create the Content (UI Control Tree) of the Component.
|
|
136
117
|
*
|
|
137
118
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
138
119
|
*/
|
|
139
|
-
|
|
120
|
+
createContent(): Promise<sap.ui.core.Control>;
|
|
140
121
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
144
|
-
*/
|
|
145
|
-
static onAfterRendering(): void;
|
|
146
|
-
/**
|
|
147
|
-
* Function is called when the rendering of the Component Container is started.
|
|
122
|
+
* Cleans up the component instance before destruction.
|
|
148
123
|
*
|
|
149
124
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
150
125
|
*/
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Set the axis orientation for the Timeline.
|
|
154
|
-
*/
|
|
155
|
-
static setAxisOrientation(
|
|
156
|
-
axisOrientation: sap.suite.ui.commons.TimelineAxisOrientation
|
|
157
|
-
): void;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the enableScroll property for the Timeline.
|
|
160
|
-
*/
|
|
161
|
-
static setEnableScroll(enableScroll: boolean): void;
|
|
162
|
-
/**
|
|
163
|
-
* Sets the sources for the feed. Array of strings representing the Jam group IDs (e.g. ["groupid1", "groupid2"]).
|
|
164
|
-
*/
|
|
165
|
-
static setFeedSources(feedSources: object): void;
|
|
166
|
-
/**
|
|
167
|
-
* Sets all the properties passed in oSettings.
|
|
168
|
-
*/
|
|
169
|
-
static setSettings(
|
|
170
|
-
/**
|
|
171
|
-
* key/value map for settings
|
|
172
|
-
*/
|
|
173
|
-
settings: Record<string, any>
|
|
174
|
-
): void;
|
|
126
|
+
exit(): void;
|
|
175
127
|
/**
|
|
176
128
|
* Getter for property `axisOrientation`.
|
|
177
129
|
*
|
|
@@ -195,6 +147,31 @@ declare namespace sap {
|
|
|
195
147
|
* @returns the value of property `feedSources`
|
|
196
148
|
*/
|
|
197
149
|
getFeedSources(): Record<string, any> | string[];
|
|
150
|
+
/**
|
|
151
|
+
* Returns the selected Group.
|
|
152
|
+
*
|
|
153
|
+
*
|
|
154
|
+
* @returns a map containing information about the selected Group (e.g. Id, Name, etc...)
|
|
155
|
+
*/
|
|
156
|
+
getSelectedGroup(): Record<string, any>;
|
|
157
|
+
/**
|
|
158
|
+
* Initializes the Component instance after creation.
|
|
159
|
+
*
|
|
160
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
161
|
+
*/
|
|
162
|
+
init(): void;
|
|
163
|
+
/**
|
|
164
|
+
* Function is called when the rendering of the Component Container is completed.
|
|
165
|
+
*
|
|
166
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
167
|
+
*/
|
|
168
|
+
onAfterRendering(): void;
|
|
169
|
+
/**
|
|
170
|
+
* Function is called when the rendering of the Component Container is started.
|
|
171
|
+
*
|
|
172
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
173
|
+
*/
|
|
174
|
+
onBeforeRendering(): void;
|
|
198
175
|
/**
|
|
199
176
|
* Setter for property `axisOrientation`.
|
|
200
177
|
*
|
|
@@ -244,6 +221,15 @@ declare namespace sap {
|
|
|
244
221
|
*/
|
|
245
222
|
oFeedSources: Record<string, any> | string[]
|
|
246
223
|
): this;
|
|
224
|
+
/**
|
|
225
|
+
* Sets all the properties passed in oSettings.
|
|
226
|
+
*/
|
|
227
|
+
setSettings(
|
|
228
|
+
/**
|
|
229
|
+
* key/value map for settings
|
|
230
|
+
*/
|
|
231
|
+
settings: Record<string, any>
|
|
232
|
+
): void;
|
|
247
233
|
}
|
|
248
234
|
}
|
|
249
235
|
|
|
@@ -2084,12 +2070,6 @@ declare namespace sap {
|
|
|
2084
2070
|
mSettings?: sap.collaboration.components.socialprofile.$ComponentSettings
|
|
2085
2071
|
);
|
|
2086
2072
|
|
|
2087
|
-
/**
|
|
2088
|
-
* Cleans up the component instance before destruction. [borrowed from sap.ui.core.Component]
|
|
2089
|
-
*
|
|
2090
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2091
|
-
*/
|
|
2092
|
-
static exit(): void;
|
|
2093
2073
|
/**
|
|
2094
2074
|
* Creates a new subclass of class sap.collaboration.components.socialprofile.Component with name `sClassName`
|
|
2095
2075
|
* and enriches it with the information contained in `oClassInfo`.
|
|
@@ -2125,37 +2105,11 @@ declare namespace sap {
|
|
|
2125
2105
|
*/
|
|
2126
2106
|
static getMetadata(): sap.ui.core.ComponentMetadata;
|
|
2127
2107
|
/**
|
|
2128
|
-
*
|
|
2129
|
-
*
|
|
2130
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2131
|
-
*/
|
|
2132
|
-
static init(): void;
|
|
2133
|
-
/**
|
|
2134
|
-
* Function is called when the rendering of the Component Container is completed. [borrowed from sap.ui.core.UIComponent]
|
|
2135
|
-
*
|
|
2136
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2137
|
-
*/
|
|
2138
|
-
static onAfterRendering(): void;
|
|
2139
|
-
/**
|
|
2140
|
-
* Function is called when the rendering of the Component Container is started. [borrowed from sap.ui.core.UIComponent]
|
|
2108
|
+
* Cleans up the component instance before destruction. [borrowed from sap.ui.core.Component]
|
|
2141
2109
|
*
|
|
2142
2110
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2143
2111
|
*/
|
|
2144
|
-
|
|
2145
|
-
/**
|
|
2146
|
-
* Opens the social profile component
|
|
2147
|
-
*/
|
|
2148
|
-
static open(): void;
|
|
2149
|
-
/**
|
|
2150
|
-
* Setter for the Component settings
|
|
2151
|
-
*/
|
|
2152
|
-
static setSettings(
|
|
2153
|
-
/**
|
|
2154
|
-
* A JSON object used to set the component settings, this object should contains the same properties used
|
|
2155
|
-
* in the constructor
|
|
2156
|
-
*/
|
|
2157
|
-
oSettings: object
|
|
2158
|
-
): void;
|
|
2112
|
+
exit(): void;
|
|
2159
2113
|
/**
|
|
2160
2114
|
* Getter for property `height`. Gets the height of the Social Profile
|
|
2161
2115
|
*
|
|
@@ -2204,6 +2158,28 @@ declare namespace sap {
|
|
|
2204
2158
|
* @returns the value of property `width`
|
|
2205
2159
|
*/
|
|
2206
2160
|
getWidth(): sap.ui.core.CSSSize;
|
|
2161
|
+
/**
|
|
2162
|
+
* Initializes the Component instance after creation. [borrowed from sap.ui.core.UIComponent]
|
|
2163
|
+
*
|
|
2164
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2165
|
+
*/
|
|
2166
|
+
init(): void;
|
|
2167
|
+
/**
|
|
2168
|
+
* Function is called when the rendering of the Component Container is completed. [borrowed from sap.ui.core.UIComponent]
|
|
2169
|
+
*
|
|
2170
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2171
|
+
*/
|
|
2172
|
+
onAfterRendering(): void;
|
|
2173
|
+
/**
|
|
2174
|
+
* Function is called when the rendering of the Component Container is started. [borrowed from sap.ui.core.UIComponent]
|
|
2175
|
+
*
|
|
2176
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2177
|
+
*/
|
|
2178
|
+
onBeforeRendering(): void;
|
|
2179
|
+
/**
|
|
2180
|
+
* Opens the social profile component
|
|
2181
|
+
*/
|
|
2182
|
+
open(): void;
|
|
2207
2183
|
/**
|
|
2208
2184
|
* Setter for property `height`. Sets the height of the Social Profile
|
|
2209
2185
|
*
|
|
@@ -2268,6 +2244,16 @@ declare namespace sap {
|
|
|
2268
2244
|
*/
|
|
2269
2245
|
sPlacement: sap.m.PlacementType
|
|
2270
2246
|
): this;
|
|
2247
|
+
/**
|
|
2248
|
+
* Setter for the Component settings
|
|
2249
|
+
*/
|
|
2250
|
+
setSettings(
|
|
2251
|
+
/**
|
|
2252
|
+
* A JSON object used to set the component settings, this object should contains the same properties used
|
|
2253
|
+
* in the constructor
|
|
2254
|
+
*/
|
|
2255
|
+
oSettings: object
|
|
2256
|
+
): void;
|
|
2271
2257
|
/**
|
|
2272
2258
|
* Setter for property `width`. Sets the width of the Social Profile
|
|
2273
2259
|
*
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
// For Library Version: 0.0.1
|
|
2
|
+
|
|
3
|
+
declare namespace sap {
|
|
4
|
+
namespace cux {
|
|
5
|
+
namespace home {
|
|
6
|
+
/**
|
|
7
|
+
* Describes the settings that can be provided to the MenuItem constructor.
|
|
8
|
+
*
|
|
9
|
+
* @experimental (since 1.121)
|
|
10
|
+
*/
|
|
11
|
+
interface $MenuItemSettings extends sap.ui.core.$ElementSettings {
|
|
12
|
+
/**
|
|
13
|
+
* Icon of the menu item.
|
|
14
|
+
*/
|
|
15
|
+
icon?:
|
|
16
|
+
| sap.ui.core.URI
|
|
17
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
18
|
+
| `{${string}}`;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Title of the menu item.
|
|
22
|
+
*/
|
|
23
|
+
title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Type of menu item visualization in the menu list
|
|
27
|
+
*/
|
|
28
|
+
type?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Parameters of the MenuItem#press event.
|
|
33
|
+
*/
|
|
34
|
+
interface MenuItem$PressEventParameters {}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Container class for managing and storing Apps.
|
|
38
|
+
*
|
|
39
|
+
* @since 1.121
|
|
40
|
+
* @experimental (since 1.121)
|
|
41
|
+
*/
|
|
42
|
+
class AppsContainer
|
|
43
|
+
extends /* was: sap.cux.home.BaseContainer */ Object {}
|
|
44
|
+
/**
|
|
45
|
+
* Panel class for managing and storing Cards.
|
|
46
|
+
*
|
|
47
|
+
* @since 1.122.0
|
|
48
|
+
* @experimental (since 1.122.0)
|
|
49
|
+
*/
|
|
50
|
+
class CardsPanel extends /* was: sap.cux.home.BasePanel */ Object {}
|
|
51
|
+
/**
|
|
52
|
+
* Provides the class for managing frequent apps.
|
|
53
|
+
*
|
|
54
|
+
* @since 1.121.0
|
|
55
|
+
* @experimental (since 1.121.0)
|
|
56
|
+
*/
|
|
57
|
+
class FrequentAppPanel
|
|
58
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object {}
|
|
59
|
+
/**
|
|
60
|
+
* Container class for managing and storing Insights tiles and cards.
|
|
61
|
+
*
|
|
62
|
+
* @since 1.121
|
|
63
|
+
* @experimental (since 1.121)
|
|
64
|
+
*/
|
|
65
|
+
class InsightsContainer
|
|
66
|
+
extends /* was: sap.cux.home.BaseContainer */ Object {}
|
|
67
|
+
/**
|
|
68
|
+
* Layout class for My Home layout.
|
|
69
|
+
*
|
|
70
|
+
* @since 1.121
|
|
71
|
+
* @experimental (since 1.121)
|
|
72
|
+
*/
|
|
73
|
+
class Layout extends /* was: sap.cux.home.BaseLayout */ Object {}
|
|
74
|
+
/**
|
|
75
|
+
* Class for managing and storing Menu items.
|
|
76
|
+
*
|
|
77
|
+
* @since 1.121
|
|
78
|
+
* @experimental (since 1.121)
|
|
79
|
+
*/
|
|
80
|
+
class MenuItem extends sap.ui.core.Element {}
|
|
81
|
+
/**
|
|
82
|
+
* Container class for managing and storing News and Pages.
|
|
83
|
+
*
|
|
84
|
+
* @since 1.121
|
|
85
|
+
* @experimental (since 1.121)
|
|
86
|
+
*/
|
|
87
|
+
class NewsAndPagesContainer
|
|
88
|
+
extends /* was: sap.cux.home.BaseContainer */ Object {}
|
|
89
|
+
/**
|
|
90
|
+
* Panel class for managing and storing News.
|
|
91
|
+
*
|
|
92
|
+
* @since 1.121
|
|
93
|
+
* @experimental (since 1.121)
|
|
94
|
+
*/
|
|
95
|
+
class NewsPanel extends /* was: sap.cux.home.BaseNewsPanel */ Object {}
|
|
96
|
+
/**
|
|
97
|
+
* Panel class for managing and storing Pages.
|
|
98
|
+
*
|
|
99
|
+
* @since 1.122
|
|
100
|
+
* @experimental (since 1.122)
|
|
101
|
+
*/
|
|
102
|
+
class PagePanel extends /* was: sap.cux.home.BasePagePanel */ Object {}
|
|
103
|
+
/**
|
|
104
|
+
* Provides class for managing Recent apps.
|
|
105
|
+
*
|
|
106
|
+
* @since 1.121.0
|
|
107
|
+
* @experimental (since 1.121.0)
|
|
108
|
+
*/
|
|
109
|
+
class RecentAppPanel
|
|
110
|
+
extends /* was: sap.cux.home.BaseAppPersPanel */ Object {}
|
|
111
|
+
/**
|
|
112
|
+
* Panel class for managing and storing Situation cards.
|
|
113
|
+
*
|
|
114
|
+
* @since 1.121
|
|
115
|
+
* @experimental (since 1.121)
|
|
116
|
+
*/
|
|
117
|
+
class SituationPanel
|
|
118
|
+
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
119
|
+
{
|
|
120
|
+
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Panel class for managing and storing Task cards.
|
|
124
|
+
*
|
|
125
|
+
* @since 1.121
|
|
126
|
+
* @experimental (since 1.121)
|
|
127
|
+
*/
|
|
128
|
+
class TaskPanel
|
|
129
|
+
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
130
|
+
{
|
|
131
|
+
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Tiles Panel class for managing and storing Tiles.
|
|
135
|
+
*
|
|
136
|
+
* @since 1.122.0
|
|
137
|
+
* @experimental (since 1.122.0)
|
|
138
|
+
*/
|
|
139
|
+
class TilesPanel extends /* was: sap.cux.home.BasePanel */ Object {}
|
|
140
|
+
/**
|
|
141
|
+
* Abstract Panel class for managing and storing To-Do cards.
|
|
142
|
+
*
|
|
143
|
+
* @since 1.121
|
|
144
|
+
* @experimental (since 1.121)
|
|
145
|
+
*/
|
|
146
|
+
class ToDoPanel
|
|
147
|
+
extends /* was: sap.cux.home.BasePanel */ Object
|
|
148
|
+
implements /* was: sap.cux.home.ToDoPanel.IToDoPanel */ Object
|
|
149
|
+
{
|
|
150
|
+
__implements__sap_cux_home_ToDoPanel_IToDoPanel: boolean;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Generate a default card template for the Current Panel.
|
|
154
|
+
* An extended panel can have it's own template by overridding
|
|
155
|
+
* this method and providing a custom card template.
|
|
156
|
+
*
|
|
157
|
+
*
|
|
158
|
+
* @returns The generated card template.
|
|
159
|
+
*/
|
|
160
|
+
generateCardTemplate(
|
|
161
|
+
/**
|
|
162
|
+
* The ID for the template.
|
|
163
|
+
*/
|
|
164
|
+
id: string,
|
|
165
|
+
/**
|
|
166
|
+
* The context for the template.
|
|
167
|
+
*/
|
|
168
|
+
context: sap.ui.model.Context
|
|
169
|
+
): sap.ui.core.Control;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Container class for managing and storing To-Do cards.
|
|
173
|
+
*
|
|
174
|
+
* @since 1.121
|
|
175
|
+
* @experimental (since 1.121)
|
|
176
|
+
*/
|
|
177
|
+
class ToDosContainer
|
|
178
|
+
extends /* was: sap.cux.home.BaseContainer */ Object
|
|
179
|
+
{
|
|
180
|
+
/**
|
|
181
|
+
* Gets the selected key of the ToDosContainer.
|
|
182
|
+
* If no selected key is set, it defaults to the first item.
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* @returns The selected key.
|
|
186
|
+
*/
|
|
187
|
+
getSelectedKey(): string;
|
|
188
|
+
/**
|
|
189
|
+
* Asynchronously refreshes the section by forcing all inner panels to be reloaded.
|
|
190
|
+
*
|
|
191
|
+
*
|
|
192
|
+
* @returns A promise that resolves when the section is successfully refreshed.
|
|
193
|
+
*/
|
|
194
|
+
refreshData(): Promise<void>;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Supported Layout Types for {@link sap.cux.home.BaseContainer }.
|
|
198
|
+
*
|
|
199
|
+
* @since 1.121
|
|
200
|
+
* @experimental (since 1.121)
|
|
201
|
+
*/
|
|
202
|
+
enum LayoutType {
|
|
203
|
+
/**
|
|
204
|
+
* Panels are rendered horizontally example pages and news
|
|
205
|
+
*/
|
|
206
|
+
Horizontal = "undefined",
|
|
207
|
+
/**
|
|
208
|
+
* Panels are rendered side by side example todos and situaions, fav, recent and frequent apps
|
|
209
|
+
*/
|
|
210
|
+
SideBySide = "undefined",
|
|
211
|
+
/**
|
|
212
|
+
* Panels are rendered vertically example insights cards and tiles
|
|
213
|
+
*/
|
|
214
|
+
Vertical = "undefined",
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Supported News Types for {@link sap.cux.home.NewsPanel }.
|
|
218
|
+
*
|
|
219
|
+
* @since 1.121
|
|
220
|
+
* @experimental (since 1.121)
|
|
221
|
+
*/
|
|
222
|
+
enum NewsType {
|
|
223
|
+
/**
|
|
224
|
+
* News is of type Custom news feed
|
|
225
|
+
*/
|
|
226
|
+
Custom = "undefined",
|
|
227
|
+
/**
|
|
228
|
+
* Url is of type feed
|
|
229
|
+
*/
|
|
230
|
+
Feed = "undefined",
|
|
231
|
+
/**
|
|
232
|
+
* Url is of type RSS
|
|
233
|
+
*/
|
|
234
|
+
RSS = "undefined",
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Event object of the MenuItem#press event.
|
|
238
|
+
*/
|
|
239
|
+
type MenuItem$PressEvent = sap.ui.base.Event<
|
|
240
|
+
MenuItem$PressEventParameters,
|
|
241
|
+
MenuItem
|
|
242
|
+
>;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
interface IUI5DefineDependencyNames {
|
|
247
|
+
"sap/cux/home/AppsContainer": undefined;
|
|
248
|
+
|
|
249
|
+
"sap/cux/home/CardsPanel": undefined;
|
|
250
|
+
|
|
251
|
+
"sap/cux/home/FrequentAppPanel": undefined;
|
|
252
|
+
|
|
253
|
+
"sap/cux/home/InsightsContainer": undefined;
|
|
254
|
+
|
|
255
|
+
"sap/cux/home/Layout": undefined;
|
|
256
|
+
|
|
257
|
+
"sap/cux/home/library": undefined;
|
|
258
|
+
|
|
259
|
+
"sap/cux/home/MenuItem": undefined;
|
|
260
|
+
|
|
261
|
+
"sap/cux/home/NewsAndPagesContainer": undefined;
|
|
262
|
+
|
|
263
|
+
"sap/cux/home/NewsPanel": undefined;
|
|
264
|
+
|
|
265
|
+
"sap/cux/home/PagePanel": undefined;
|
|
266
|
+
|
|
267
|
+
"sap/cux/home/RecentAppPanel": undefined;
|
|
268
|
+
|
|
269
|
+
"sap/cux/home/SituationPanel": undefined;
|
|
270
|
+
|
|
271
|
+
"sap/cux/home/TaskPanel": undefined;
|
|
272
|
+
|
|
273
|
+
"sap/cux/home/TilesPanel": undefined;
|
|
274
|
+
|
|
275
|
+
"sap/cux/home/ToDoPanel": undefined;
|
|
276
|
+
|
|
277
|
+
"sap/cux/home/ToDosContainer": undefined;
|
|
278
|
+
}
|
|
279
|
+
}
|