@sapui5/ts-types 1.130.2 → 1.131.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 +3 -3
- 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.esh.search.ui.d.ts +50 -9
- package/types/sap.f.d.ts +237 -10
- package/types/sap.fe.base.d.ts +29 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +6 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +218 -130
- package/types/sap.fe.navigation.d.ts +3 -3
- 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 +102 -9
- package/types/sap.insights.d.ts +1 -1
- package/types/{mobile-1.130.0-d.ts → sap.m.d.ts} +357 -25
- 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 +1 -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 +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 +138 -53
- package/types/{core-1.130.0-d.ts → sap.ui.core.d.ts} +293 -298
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +6 -6
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +2 -2
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +141 -1
- package/types/sap.ui.layout.d.ts +18 -21
- package/types/{mdc-1.130.0-d.ts → sap.ui.mdc.d.ts} +217 -100
- 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 +7 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +262 -7
- 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 +31 -1
- 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 +7 -4
- 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
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/// <reference path="./sap.sac.df.d.ts"/>
|
|
20
20
|
/// <reference path="./sap.ui.commons.d.ts"/>
|
|
21
21
|
/// <reference path="./sap.ui.comp.d.ts"/>
|
|
22
|
-
/// <reference path="./core
|
|
22
|
+
/// <reference path="./sap.ui.core.d.ts"/>
|
|
23
23
|
/// <reference path="./sap.ui.dt.d.ts"/>
|
|
24
24
|
/// <reference path="./sap.ui.export.d.ts"/>
|
|
25
25
|
/// <reference path="./sap.f.d.ts"/>
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
/// <reference path="./sap.ui.integration.d.ts"/>
|
|
33
33
|
/// <reference path="./sap.ui.layout.d.ts"/>
|
|
34
34
|
/// <reference path="./sap.makit.d.ts"/>
|
|
35
|
-
/// <reference path="./mdc
|
|
36
|
-
/// <reference path="./
|
|
35
|
+
/// <reference path="./sap.ui.mdc.d.ts"/>
|
|
36
|
+
/// <reference path="./sap.m.d.ts"/>
|
|
37
37
|
/// <reference path="./sap.me.d.ts"/>
|
|
38
38
|
/// <reference path="./sap.ndc.d.ts"/>
|
|
39
39
|
/// <reference path="./sap.ovp.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.131.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace esh {
|
|
@@ -290,8 +290,8 @@ declare namespace sap {
|
|
|
290
290
|
|
|
291
291
|
/**
|
|
292
292
|
* A boolean which indicates whether the facet panel is initially openend or closed. This affects only the
|
|
293
|
-
* initial state of the facet panel.
|
|
294
|
-
*
|
|
293
|
+
* initial state of the facet panel. This initial state of the facet panel can be overwritten by the user,
|
|
294
|
+
* depending on the user's personalization settings.
|
|
295
295
|
*
|
|
296
296
|
* @since 1.113.0
|
|
297
297
|
*/
|
|
@@ -446,6 +446,14 @@ declare namespace sap {
|
|
|
446
446
|
| string
|
|
447
447
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
448
448
|
|
|
449
|
+
/**
|
|
450
|
+
* Prevents too many ajax requests in a short time.
|
|
451
|
+
*/
|
|
452
|
+
limitAjaxRequests?:
|
|
453
|
+
| boolean
|
|
454
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
455
|
+
| `{${string}}`;
|
|
456
|
+
|
|
449
457
|
/**
|
|
450
458
|
* Event is fired when search is started.
|
|
451
459
|
*
|
|
@@ -538,7 +546,7 @@ declare namespace sap {
|
|
|
538
546
|
* Creates a new subclass of class sap.esh.search.ui.SearchCompositeControl with name `sClassName` and enriches
|
|
539
547
|
* it with the information contained in `oClassInfo`.
|
|
540
548
|
*
|
|
541
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.
|
|
549
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.layout.VerticalLayout.extend}.
|
|
542
550
|
*
|
|
543
551
|
*
|
|
544
552
|
* @returns Created class / constructor function
|
|
@@ -1072,8 +1080,10 @@ declare namespace sap {
|
|
|
1072
1080
|
* Gets current value of property {@link #getFacetVisibility facetVisibility}.
|
|
1073
1081
|
*
|
|
1074
1082
|
* A boolean which indicates whether the facet panel is initially openend or closed. This affects only the
|
|
1075
|
-
* initial state of the facet panel.
|
|
1076
|
-
*
|
|
1083
|
+
* initial state of the facet panel. This initial state of the facet panel can be overwritten by the user,
|
|
1084
|
+
* depending on the user's personalization settings.
|
|
1085
|
+
*
|
|
1086
|
+
* Default value is `false`.
|
|
1077
1087
|
*
|
|
1078
1088
|
* @since 1.113.0
|
|
1079
1089
|
*
|
|
@@ -1202,6 +1212,17 @@ declare namespace sap {
|
|
|
1202
1212
|
* @returns Value of property `isSearchUrl`
|
|
1203
1213
|
*/
|
|
1204
1214
|
getIsSearchUrl(): Function;
|
|
1215
|
+
/**
|
|
1216
|
+
* Gets current value of property {@link #getLimitAjaxRequests limitAjaxRequests}.
|
|
1217
|
+
*
|
|
1218
|
+
* Prevents too many ajax requests in a short time.
|
|
1219
|
+
*
|
|
1220
|
+
* Default value is `true`.
|
|
1221
|
+
*
|
|
1222
|
+
*
|
|
1223
|
+
* @returns Value of property `limitAjaxRequests`
|
|
1224
|
+
*/
|
|
1225
|
+
getLimitAjaxRequests(): boolean;
|
|
1205
1226
|
/**
|
|
1206
1227
|
* Gets current value of property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
|
|
1207
1228
|
*
|
|
@@ -1647,11 +1668,13 @@ declare namespace sap {
|
|
|
1647
1668
|
* Sets a new value for property {@link #getFacetVisibility facetVisibility}.
|
|
1648
1669
|
*
|
|
1649
1670
|
* A boolean which indicates whether the facet panel is initially openend or closed. This affects only the
|
|
1650
|
-
* initial state of the facet panel.
|
|
1651
|
-
*
|
|
1671
|
+
* initial state of the facet panel. This initial state of the facet panel can be overwritten by the user,
|
|
1672
|
+
* depending on the user's personalization settings.
|
|
1652
1673
|
*
|
|
1653
1674
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1654
1675
|
*
|
|
1676
|
+
* Default value is `false`.
|
|
1677
|
+
*
|
|
1655
1678
|
* @since 1.113.0
|
|
1656
1679
|
*
|
|
1657
1680
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -1660,7 +1683,7 @@ declare namespace sap {
|
|
|
1660
1683
|
/**
|
|
1661
1684
|
* New value for property `facetVisibility`
|
|
1662
1685
|
*/
|
|
1663
|
-
bFacetVisibility
|
|
1686
|
+
bFacetVisibility?: boolean
|
|
1664
1687
|
): this;
|
|
1665
1688
|
/**
|
|
1666
1689
|
* Sets a new value for property {@link #getFilterDataSources filterDataSources}.
|
|
@@ -1852,6 +1875,24 @@ declare namespace sap {
|
|
|
1852
1875
|
*/
|
|
1853
1876
|
fnIsSearchUrl: Function
|
|
1854
1877
|
): this;
|
|
1878
|
+
/**
|
|
1879
|
+
* Sets a new value for property {@link #getLimitAjaxRequests limitAjaxRequests}.
|
|
1880
|
+
*
|
|
1881
|
+
* Prevents too many ajax requests in a short time.
|
|
1882
|
+
*
|
|
1883
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1884
|
+
*
|
|
1885
|
+
* Default value is `true`.
|
|
1886
|
+
*
|
|
1887
|
+
*
|
|
1888
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1889
|
+
*/
|
|
1890
|
+
setLimitAjaxRequests(
|
|
1891
|
+
/**
|
|
1892
|
+
* New value for property `limitAjaxRequests`
|
|
1893
|
+
*/
|
|
1894
|
+
bLimitAjaxRequests?: boolean
|
|
1895
|
+
): this;
|
|
1855
1896
|
/**
|
|
1856
1897
|
* Sets a new value for property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
|
|
1857
1898
|
*
|
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.131.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -129,6 +129,60 @@ declare namespace sap {
|
|
|
129
129
|
| `{${string}}`;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
/**
|
|
133
|
+
* Describes the settings that can be provided to the CardBadgeCustomData constructor.
|
|
134
|
+
*/
|
|
135
|
+
interface $CardBadgeCustomDataSettings
|
|
136
|
+
extends sap.ui.core.$CustomDataSettings {
|
|
137
|
+
/**
|
|
138
|
+
* Icon URI. This may be either an icon font or image path.
|
|
139
|
+
*
|
|
140
|
+
* @since 1.128
|
|
141
|
+
*/
|
|
142
|
+
icon?:
|
|
143
|
+
| sap.ui.core.URI
|
|
144
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
145
|
+
| `{${string}}`;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the corresponding visibility mode, see also {@link sap.f.CardBadgeVisibilityMode}.
|
|
149
|
+
*
|
|
150
|
+
* @since 1.128
|
|
151
|
+
*/
|
|
152
|
+
visibilityMode?:
|
|
153
|
+
| sap.f.CardBadgeVisibilityMode
|
|
154
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
155
|
+
| `{${string}}`;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Defines the color of the badge. The allowed values are from the enum type `sap.ui.core.IndicationColor`.
|
|
159
|
+
* Additionally values from `sap.ui.core.ValueState` can be used, but this is not recommended by design
|
|
160
|
+
* guidelines.
|
|
161
|
+
*
|
|
162
|
+
* @since 1.128
|
|
163
|
+
*/
|
|
164
|
+
state?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Defines the cards badge visibility.
|
|
168
|
+
*
|
|
169
|
+
* @since 1.128
|
|
170
|
+
*/
|
|
171
|
+
visible?:
|
|
172
|
+
| boolean
|
|
173
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
174
|
+
| `{${string}}`;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Defines text which will is overriding default announcement.
|
|
178
|
+
*
|
|
179
|
+
* @since 1.128
|
|
180
|
+
*/
|
|
181
|
+
announcementText?:
|
|
182
|
+
| string
|
|
183
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
184
|
+
}
|
|
185
|
+
|
|
132
186
|
/**
|
|
133
187
|
* Describes the settings that can be provided to the Header constructor.
|
|
134
188
|
*/
|
|
@@ -871,9 +925,20 @@ declare namespace sap {
|
|
|
871
925
|
*
|
|
872
926
|
* @since 1.128
|
|
873
927
|
*/
|
|
874
|
-
class CardBadgeCustomData
|
|
875
|
-
|
|
876
|
-
|
|
928
|
+
class CardBadgeCustomData extends sap.ui.core.CustomData {
|
|
929
|
+
/**
|
|
930
|
+
* Constructor for a new `CardBadgeCustomData` element.
|
|
931
|
+
*
|
|
932
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
933
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
934
|
+
* of the syntax of the settings object.
|
|
935
|
+
*/
|
|
936
|
+
constructor(
|
|
937
|
+
/**
|
|
938
|
+
* Initial settings for the new element
|
|
939
|
+
*/
|
|
940
|
+
mSettings?: sap.f.cards.$CardBadgeCustomDataSettings
|
|
941
|
+
);
|
|
877
942
|
/**
|
|
878
943
|
* Constructor for a new `CardBadgeCustomData` element.
|
|
879
944
|
*
|
|
@@ -889,14 +954,14 @@ declare namespace sap {
|
|
|
889
954
|
/**
|
|
890
955
|
* Initial settings for the new element
|
|
891
956
|
*/
|
|
892
|
-
mSettings?:
|
|
957
|
+
mSettings?: sap.f.cards.$CardBadgeCustomDataSettings
|
|
893
958
|
);
|
|
894
959
|
|
|
895
960
|
/**
|
|
896
961
|
* Creates a new subclass of class sap.f.cards.CardBadgeCustomData with name `sClassName` and enriches it
|
|
897
962
|
* with the information contained in `oClassInfo`.
|
|
898
963
|
*
|
|
899
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap
|
|
964
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.CustomData.extend}.
|
|
900
965
|
*
|
|
901
966
|
*
|
|
902
967
|
* @returns Created class / constructor function
|
|
@@ -922,7 +987,7 @@ declare namespace sap {
|
|
|
922
987
|
*
|
|
923
988
|
* @returns Metadata object describing this class
|
|
924
989
|
*/
|
|
925
|
-
static getMetadata(): sap.ui.
|
|
990
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
926
991
|
/**
|
|
927
992
|
* Gets current value of property {@link #getAnnouncementText announcementText}.
|
|
928
993
|
*
|
|
@@ -2867,6 +2932,24 @@ declare namespace sap {
|
|
|
2867
2932
|
*/
|
|
2868
2933
|
End = "End",
|
|
2869
2934
|
}
|
|
2935
|
+
/**
|
|
2936
|
+
* Different options for the semantic role in controls that implement the {@link sap.f.ICard} interface.
|
|
2937
|
+
*
|
|
2938
|
+
* This enum is part of the 'sap/f/library' module export and must be accessed by the property 'cards.SemanticRole'.
|
|
2939
|
+
*
|
|
2940
|
+
* @since 1.131
|
|
2941
|
+
* @experimental
|
|
2942
|
+
*/
|
|
2943
|
+
enum SemanticRole {
|
|
2944
|
+
/**
|
|
2945
|
+
* The card has interactive elements.
|
|
2946
|
+
*/
|
|
2947
|
+
ListItem = "ListItem",
|
|
2948
|
+
/**
|
|
2949
|
+
* The card has no interactive elements.
|
|
2950
|
+
*/
|
|
2951
|
+
Region = "Region",
|
|
2952
|
+
}
|
|
2870
2953
|
/**
|
|
2871
2954
|
* Event object of the Header#press event.
|
|
2872
2955
|
*/
|
|
@@ -8319,8 +8402,6 @@ declare namespace sap {
|
|
|
8319
8402
|
* Interface for controls suitable for the `additionalContent` aggregation of `{@link sap.f.ShellBar}`.
|
|
8320
8403
|
*
|
|
8321
8404
|
* @since 1.63
|
|
8322
|
-
* @experimental (since 1.63) - that provides only limited functionality. Also, it can be removed in future
|
|
8323
|
-
* versions.
|
|
8324
8405
|
*/
|
|
8325
8406
|
interface IShellBar {
|
|
8326
8407
|
__implements__sap_f_IShellBar: boolean;
|
|
@@ -8465,6 +8546,23 @@ declare namespace sap {
|
|
|
8465
8546
|
| sap.ui.core.CSSSize
|
|
8466
8547
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
8467
8548
|
| `{${string}}`;
|
|
8549
|
+
|
|
8550
|
+
/**
|
|
8551
|
+
* Defines the role of the Card Header.
|
|
8552
|
+
*
|
|
8553
|
+
* @experimental (since 1.131)
|
|
8554
|
+
*/
|
|
8555
|
+
semanticRole?:
|
|
8556
|
+
| sap.f.cards.SemanticRole
|
|
8557
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
8558
|
+
| `{${string}}`;
|
|
8559
|
+
|
|
8560
|
+
/**
|
|
8561
|
+
* Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
|
|
8562
|
+
*
|
|
8563
|
+
* @experimental (since 1.131)
|
|
8564
|
+
*/
|
|
8565
|
+
press?: (oEvent: sap.ui.base.Event) => void;
|
|
8468
8566
|
}
|
|
8469
8567
|
|
|
8470
8568
|
/**
|
|
@@ -10160,6 +10258,13 @@ declare namespace sap {
|
|
|
10160
10258
|
avatarsDisplayed?: int;
|
|
10161
10259
|
}
|
|
10162
10260
|
|
|
10261
|
+
/**
|
|
10262
|
+
* Parameters of the CardBase#press event.
|
|
10263
|
+
*
|
|
10264
|
+
* @experimental (since 1.131)
|
|
10265
|
+
*/
|
|
10266
|
+
interface CardBase$PressEventParameters {}
|
|
10267
|
+
|
|
10163
10268
|
/**
|
|
10164
10269
|
* Parameters of the DynamicPage#pinnedStateChange event.
|
|
10165
10270
|
*/
|
|
@@ -11712,6 +11817,88 @@ declare namespace sap {
|
|
|
11712
11817
|
* @returns Metadata object describing this class
|
|
11713
11818
|
*/
|
|
11714
11819
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
11820
|
+
/**
|
|
11821
|
+
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.f.CardBase`.
|
|
11822
|
+
*
|
|
11823
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
11824
|
+
* otherwise it will be bound to this `sap.f.CardBase` itself.
|
|
11825
|
+
*
|
|
11826
|
+
* Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
|
|
11827
|
+
*
|
|
11828
|
+
* @experimental (since 1.131)
|
|
11829
|
+
*
|
|
11830
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11831
|
+
*/
|
|
11832
|
+
attachPress(
|
|
11833
|
+
/**
|
|
11834
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
11835
|
+
* object when firing the event
|
|
11836
|
+
*/
|
|
11837
|
+
oData: object,
|
|
11838
|
+
/**
|
|
11839
|
+
* The function to be called when the event occurs
|
|
11840
|
+
*/
|
|
11841
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
11842
|
+
/**
|
|
11843
|
+
* Context object to call the event handler with. Defaults to this `sap.f.CardBase` itself
|
|
11844
|
+
*/
|
|
11845
|
+
oListener?: object
|
|
11846
|
+
): this;
|
|
11847
|
+
/**
|
|
11848
|
+
* Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.f.CardBase`.
|
|
11849
|
+
*
|
|
11850
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
11851
|
+
* otherwise it will be bound to this `sap.f.CardBase` itself.
|
|
11852
|
+
*
|
|
11853
|
+
* Fired when action is added on card level. Note: Can be used only if `semanticRole` is `sap.f.cards.SemanticRole.ListItem`.
|
|
11854
|
+
*
|
|
11855
|
+
* @experimental (since 1.131)
|
|
11856
|
+
*
|
|
11857
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11858
|
+
*/
|
|
11859
|
+
attachPress(
|
|
11860
|
+
/**
|
|
11861
|
+
* The function to be called when the event occurs
|
|
11862
|
+
*/
|
|
11863
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
11864
|
+
/**
|
|
11865
|
+
* Context object to call the event handler with. Defaults to this `sap.f.CardBase` itself
|
|
11866
|
+
*/
|
|
11867
|
+
oListener?: object
|
|
11868
|
+
): this;
|
|
11869
|
+
/**
|
|
11870
|
+
* Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.f.CardBase`.
|
|
11871
|
+
*
|
|
11872
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
11873
|
+
*
|
|
11874
|
+
* @experimental (since 1.131)
|
|
11875
|
+
*
|
|
11876
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11877
|
+
*/
|
|
11878
|
+
detachPress(
|
|
11879
|
+
/**
|
|
11880
|
+
* The function to be called, when the event occurs
|
|
11881
|
+
*/
|
|
11882
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
11883
|
+
/**
|
|
11884
|
+
* Context object on which the given function had to be called
|
|
11885
|
+
*/
|
|
11886
|
+
oListener?: object
|
|
11887
|
+
): this;
|
|
11888
|
+
/**
|
|
11889
|
+
* Fires event {@link #event:press press} to attached listeners.
|
|
11890
|
+
*
|
|
11891
|
+
* @experimental (since 1.131)
|
|
11892
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
11893
|
+
*
|
|
11894
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11895
|
+
*/
|
|
11896
|
+
firePress(
|
|
11897
|
+
/**
|
|
11898
|
+
* Parameters to pass along with the event
|
|
11899
|
+
*/
|
|
11900
|
+
mParameters?: object
|
|
11901
|
+
): this;
|
|
11715
11902
|
/**
|
|
11716
11903
|
* Returns the DOM Element that should get the focus.
|
|
11717
11904
|
*
|
|
@@ -11731,6 +11918,18 @@ declare namespace sap {
|
|
|
11731
11918
|
* @returns Value of property `height`
|
|
11732
11919
|
*/
|
|
11733
11920
|
getHeight(): sap.ui.core.CSSSize;
|
|
11921
|
+
/**
|
|
11922
|
+
* Gets current value of property {@link #getSemanticRole semanticRole}.
|
|
11923
|
+
*
|
|
11924
|
+
* Defines the role of the Card Header.
|
|
11925
|
+
*
|
|
11926
|
+
* Default value is `Region`.
|
|
11927
|
+
*
|
|
11928
|
+
* @experimental (since 1.131)
|
|
11929
|
+
*
|
|
11930
|
+
* @returns Value of property `semanticRole`
|
|
11931
|
+
*/
|
|
11932
|
+
getSemanticRole(): sap.f.cards.SemanticRole;
|
|
11734
11933
|
/**
|
|
11735
11934
|
* Gets current value of property {@link #getWidth width}.
|
|
11736
11935
|
*
|
|
@@ -11760,6 +11959,25 @@ declare namespace sap {
|
|
|
11760
11959
|
*/
|
|
11761
11960
|
sHeight?: sap.ui.core.CSSSize
|
|
11762
11961
|
): this;
|
|
11962
|
+
/**
|
|
11963
|
+
* Sets a new value for property {@link #getSemanticRole semanticRole}.
|
|
11964
|
+
*
|
|
11965
|
+
* Defines the role of the Card Header.
|
|
11966
|
+
*
|
|
11967
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11968
|
+
*
|
|
11969
|
+
* Default value is `Region`.
|
|
11970
|
+
*
|
|
11971
|
+
* @experimental (since 1.131)
|
|
11972
|
+
*
|
|
11973
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11974
|
+
*/
|
|
11975
|
+
setSemanticRole(
|
|
11976
|
+
/**
|
|
11977
|
+
* New value for property `semanticRole`
|
|
11978
|
+
*/
|
|
11979
|
+
sSemanticRole?: sap.f.cards.SemanticRole
|
|
11980
|
+
): this;
|
|
11763
11981
|
/**
|
|
11764
11982
|
* Sets a new value for property {@link #getWidth width}.
|
|
11765
11983
|
*
|
|
@@ -22240,7 +22458,6 @@ declare namespace sap {
|
|
|
22240
22458
|
* This enum is part of the 'sap/f/library' module export and must be accessed by the property 'AvatarGroupType'.
|
|
22241
22459
|
*
|
|
22242
22460
|
* @since 1.73
|
|
22243
|
-
* @experimental (since 1.73)
|
|
22244
22461
|
*/
|
|
22245
22462
|
enum AvatarGroupType {
|
|
22246
22463
|
/**
|
|
@@ -22549,6 +22766,16 @@ declare namespace sap {
|
|
|
22549
22766
|
AvatarGroup
|
|
22550
22767
|
>;
|
|
22551
22768
|
|
|
22769
|
+
/**
|
|
22770
|
+
* Event object of the CardBase#press event.
|
|
22771
|
+
*
|
|
22772
|
+
* @experimental (since 1.131)
|
|
22773
|
+
*/
|
|
22774
|
+
type CardBase$PressEvent = sap.ui.base.Event<
|
|
22775
|
+
CardBase$PressEventParameters,
|
|
22776
|
+
CardBase
|
|
22777
|
+
>;
|
|
22778
|
+
|
|
22552
22779
|
/**
|
|
22553
22780
|
* Event object of the DynamicPage#pinnedStateChange event.
|
|
22554
22781
|
*/
|
package/types/sap.fe.base.d.ts
CHANGED
|
@@ -1,7 +1,35 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.131.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
|
+
namespace fe {
|
|
5
|
+
/**
|
|
6
|
+
* Library providing the base functionality of the runtime for SAP Fiori elements for OData V4.
|
|
7
|
+
*/
|
|
8
|
+
namespace base {
|
|
9
|
+
/**
|
|
10
|
+
* Describes the settings that can be provided to the BuildingBlockBase constructor.
|
|
11
|
+
*
|
|
12
|
+
* @experimental
|
|
13
|
+
*/
|
|
14
|
+
interface $BuildingBlockBaseSettings
|
|
15
|
+
extends sap.ui.core.$ControlSettings {}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Base class for building blocks.
|
|
19
|
+
* This contains the low level functionality of having a content aggregation and handling the rendering
|
|
20
|
+
* of the content without an actual DOM element.
|
|
21
|
+
* The building block also defines a state object that can be used to store the state of the building block.
|
|
22
|
+
* Accessibility and classes information are forwarded to the content control.
|
|
23
|
+
*
|
|
24
|
+
* @experimental
|
|
25
|
+
*/
|
|
26
|
+
class BuildingBlockBase extends sap.ui.core.Control {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
4
30
|
interface IUI5DefineDependencyNames {
|
|
31
|
+
"sap/fe/base/BuildingBlockBase": undefined;
|
|
32
|
+
|
|
5
33
|
"sap/fe/base/library": undefined;
|
|
6
34
|
}
|
|
7
35
|
}
|
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.131.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -1151,12 +1151,12 @@ declare namespace sap {
|
|
|
1151
1151
|
|
|
1152
1152
|
namespace buildingBlocks {
|
|
1153
1153
|
/**
|
|
1154
|
-
* Describes the settings that can be provided to the
|
|
1154
|
+
* Describes the settings that can be provided to the BuildingBlock constructor.
|
|
1155
1155
|
*
|
|
1156
1156
|
* @experimental (since 1.121.0)
|
|
1157
1157
|
*/
|
|
1158
|
-
interface $
|
|
1159
|
-
extends sap.
|
|
1158
|
+
interface $BuildingBlockSettings
|
|
1159
|
+
extends sap.fe.base.$BuildingBlockBaseSettings {}
|
|
1160
1160
|
|
|
1161
1161
|
/**
|
|
1162
1162
|
* Defines a control that will not exist in the DOM.
|
|
@@ -1165,7 +1165,7 @@ declare namespace sap {
|
|
|
1165
1165
|
* @since 1.121.0
|
|
1166
1166
|
* @experimental (since 1.121.0)
|
|
1167
1167
|
*/
|
|
1168
|
-
class
|
|
1168
|
+
class BuildingBlock extends sap.fe.base.BuildingBlockBase {}
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
namespace rootView {
|
|
@@ -1495,7 +1495,7 @@ declare namespace sap {
|
|
|
1495
1495
|
|
|
1496
1496
|
"sap/fe/core/BaseController": undefined;
|
|
1497
1497
|
|
|
1498
|
-
"sap/fe/core/buildingBlocks/
|
|
1498
|
+
"sap/fe/core/buildingBlocks/BuildingBlock": undefined;
|
|
1499
1499
|
|
|
1500
1500
|
"sap/fe/core/controllerextensions/BaseControllerExtension": undefined;
|
|
1501
1501
|
|
package/types/sap.fe.ina.d.ts
CHANGED