@sapui5/ts-types 1.109.3 → 1.110.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 +0 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +39 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +235 -28
- package/types/sap.f.d.ts +49 -28
- package/types/sap.fe.core.d.ts +85 -22
- package/types/sap.fe.macros.d.ts +84 -36
- package/types/sap.fe.navigation.d.ts +316 -936
- package/types/sap.fe.templates.d.ts +103 -8
- package/types/sap.fe.test.d.ts +25 -24
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +176 -29
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +4272 -712
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +20 -8
- package/types/sap.ovp.d.ts +125 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +102 -4
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +51 -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 +4 -2
- package/types/sap.ui.commons.d.ts +86 -32
- package/types/sap.ui.comp.d.ts +89 -20
- package/types/sap.ui.core.d.ts +4160 -3750
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +86 -1
- package/types/sap.ui.fl.d.ts +12 -2
- package/types/sap.ui.generic.app.d.ts +59 -4
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +60 -41
- package/types/sap.ui.layout.d.ts +12 -12
- package/types/sap.ui.mdc.d.ts +11 -7
- package/types/sap.ui.richtexteditor.d.ts +19 -10
- 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 +51 -349
- package/types/sap.ui.table.d.ts +66 -10
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +102 -322
- package/types/sap.ui.ux3.d.ts +7 -3
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +122 -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 +6 -6
- package/types/sap.ui.webc.main.d.ts +5 -5
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +32 -81
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +8 -29
- 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.fe.common.d.ts +0 -3
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.110.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -7,6 +7,89 @@ declare namespace sap {
|
|
|
7
7
|
*/
|
|
8
8
|
export { expоrt as export };
|
|
9
9
|
namespace expоrt {
|
|
10
|
+
namespace util {
|
|
11
|
+
/**
|
|
12
|
+
* @SINCE 1.110
|
|
13
|
+
*/
|
|
14
|
+
class Filter extends sap.ui.base.Object {
|
|
15
|
+
/**
|
|
16
|
+
* Representation of filter settings that are used for exporting.
|
|
17
|
+
*/
|
|
18
|
+
constructor(
|
|
19
|
+
/**
|
|
20
|
+
* Name of the technical filter property
|
|
21
|
+
*/
|
|
22
|
+
sProperty: string,
|
|
23
|
+
/**
|
|
24
|
+
* Raw filter object
|
|
25
|
+
*/
|
|
26
|
+
vRawFilter:
|
|
27
|
+
| {
|
|
28
|
+
/**
|
|
29
|
+
* Filter operator
|
|
30
|
+
*/
|
|
31
|
+
operator: string;
|
|
32
|
+
/**
|
|
33
|
+
* Filter value(s)
|
|
34
|
+
*/
|
|
35
|
+
value: string | string[];
|
|
36
|
+
/**
|
|
37
|
+
* Defines whether it is an exclude filter
|
|
38
|
+
*/
|
|
39
|
+
exclude?: boolean;
|
|
40
|
+
}
|
|
41
|
+
| Array<{
|
|
42
|
+
/**
|
|
43
|
+
* Filter operator
|
|
44
|
+
*/
|
|
45
|
+
operator: string;
|
|
46
|
+
/**
|
|
47
|
+
* Filter value(s)
|
|
48
|
+
*/
|
|
49
|
+
value: string | string[];
|
|
50
|
+
/**
|
|
51
|
+
* Defines whether it is an exclude filter
|
|
52
|
+
*/
|
|
53
|
+
exclude?: boolean;
|
|
54
|
+
}>,
|
|
55
|
+
/**
|
|
56
|
+
* Optional label for the filter property
|
|
57
|
+
*/
|
|
58
|
+
sLabel?: string
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Creates a new subclass of class sap.ui.export.util.Filter with name `sClassName` and enriches it with
|
|
63
|
+
* the information contained in `oClassInfo`.
|
|
64
|
+
*
|
|
65
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
|
|
66
|
+
*
|
|
67
|
+
* @returns Created class / constructor function
|
|
68
|
+
*/
|
|
69
|
+
static extend<T extends Record<string, unknown>>(
|
|
70
|
+
/**
|
|
71
|
+
* Name of the class being created
|
|
72
|
+
*/
|
|
73
|
+
sClassName: string,
|
|
74
|
+
/**
|
|
75
|
+
* Object literal with information about the class
|
|
76
|
+
*/
|
|
77
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.export.util.Filter>,
|
|
78
|
+
/**
|
|
79
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
80
|
+
* used by this class
|
|
81
|
+
*/
|
|
82
|
+
FNMetaImpl?: Function
|
|
83
|
+
): Function;
|
|
84
|
+
/**
|
|
85
|
+
* Returns a metadata object for class sap.ui.export.util.Filter.
|
|
86
|
+
*
|
|
87
|
+
* @returns Metadata object describing this class
|
|
88
|
+
*/
|
|
89
|
+
static getMetadata(): sap.ui.base.Metadata;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
10
93
|
/**
|
|
11
94
|
* @SINCE 1.96
|
|
12
95
|
*/
|
|
@@ -621,5 +704,7 @@ declare namespace sap {
|
|
|
621
704
|
"sap/ui/export/library": undefined;
|
|
622
705
|
|
|
623
706
|
"sap/ui/export/Spreadsheet": undefined;
|
|
707
|
+
|
|
708
|
+
"sap/ui/export/util/Filter": undefined;
|
|
624
709
|
}
|
|
625
710
|
}
|
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.110.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -163,9 +163,13 @@ declare namespace sap {
|
|
|
163
163
|
*/
|
|
164
164
|
class VariantManagement
|
|
165
165
|
extends sap.ui.core.Control
|
|
166
|
-
implements
|
|
166
|
+
implements
|
|
167
|
+
sap.ui.core.IShrinkable,
|
|
168
|
+
sap.m.IOverflowToolbarContent,
|
|
169
|
+
/* was: sap.m.IToolbarInteractiveControl */ Object {
|
|
167
170
|
__implements__sap_ui_core_IShrinkable: boolean;
|
|
168
171
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
172
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
169
173
|
/**
|
|
170
174
|
* Constructor for a new `VariantManagement`.
|
|
171
175
|
*
|
|
@@ -1269,8 +1273,12 @@ declare namespace sap {
|
|
|
1269
1273
|
|
|
1270
1274
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState": undefined;
|
|
1271
1275
|
|
|
1276
|
+
"sap/ui/fl/apply/_internal/flexState/DataSelector": undefined;
|
|
1277
|
+
|
|
1272
1278
|
"sap/ui/fl/apply/_internal/flexState/FlexState": undefined;
|
|
1273
1279
|
|
|
1280
|
+
"sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions": undefined;
|
|
1281
|
+
|
|
1274
1282
|
"sap/ui/fl/apply/_internal/flexState/Loader": undefined;
|
|
1275
1283
|
|
|
1276
1284
|
"sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
|
|
@@ -1279,6 +1287,8 @@ declare namespace sap {
|
|
|
1279
1287
|
|
|
1280
1288
|
"sap/ui/fl/apply/_internal/preprocessors/EventHistory": undefined;
|
|
1281
1289
|
|
|
1290
|
+
"sap/ui/fl/apply/api/ControlVariantApplyAPI": undefined;
|
|
1291
|
+
|
|
1282
1292
|
"sap/ui/fl/apply/api/DelegateMediatorAPI": undefined;
|
|
1283
1293
|
|
|
1284
1294
|
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI": undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.110.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -1573,14 +1573,48 @@ declare namespace sap {
|
|
|
1573
1573
|
*
|
|
1574
1574
|
* A static enumeration type which indicates the type of inbound navigation
|
|
1575
1575
|
*/
|
|
1576
|
-
enum NavType {
|
|
1576
|
+
enum NavType {
|
|
1577
|
+
/**
|
|
1578
|
+
* Back navigation with sap-iapp-state parameter
|
|
1579
|
+
*/
|
|
1580
|
+
iAppState = "undefined",
|
|
1581
|
+
/**
|
|
1582
|
+
* Initial startup without any navigation or default parameters
|
|
1583
|
+
*/
|
|
1584
|
+
initial = "undefined",
|
|
1585
|
+
/**
|
|
1586
|
+
* Basic cross-app navigation with URL parameters only (without sap-xapp-state) or initial start with default
|
|
1587
|
+
* parameters
|
|
1588
|
+
*/
|
|
1589
|
+
URLParams = "undefined",
|
|
1590
|
+
/**
|
|
1591
|
+
* Cross-app navigation with sap-xapp-state parameter (and URL parameters), defaulted parameters may be
|
|
1592
|
+
* added
|
|
1593
|
+
*/
|
|
1594
|
+
xAppState = "undefined",
|
|
1595
|
+
}
|
|
1577
1596
|
/**
|
|
1578
1597
|
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.ParamHandlingMode} instead.
|
|
1579
1598
|
*
|
|
1580
1599
|
* A static enumeration type which indicates the conflict resolution method when merging URL parameters
|
|
1581
1600
|
* into select options
|
|
1582
1601
|
*/
|
|
1583
|
-
enum ParamHandlingMode {
|
|
1602
|
+
enum ParamHandlingMode {
|
|
1603
|
+
/**
|
|
1604
|
+
* The conflict resolution adds URL parameters to the SelectionVariant
|
|
1605
|
+
*/
|
|
1606
|
+
InsertInSelOpt = "undefined",
|
|
1607
|
+
/**
|
|
1608
|
+
* The conflict resolution favors the SelectionVariant over URL parameters
|
|
1609
|
+
*/
|
|
1610
|
+
SelVarWins = "undefined",
|
|
1611
|
+
/**
|
|
1612
|
+
* The conflict resolution favors the URL parameters over the SelectionVariant. Caution: In case of cross-app
|
|
1613
|
+
* navigation a navigation parameter value from the source app is overwritten by a default, if a default
|
|
1614
|
+
* is maintained in the launchpad designer for this parameter in the target app!
|
|
1615
|
+
*/
|
|
1616
|
+
URLParamWins = "undefined",
|
|
1617
|
+
}
|
|
1584
1618
|
/**
|
|
1585
1619
|
* @deprecated (since 1.83.0) - Please use {@link sap.fe.navigation.SuppressionBehavior} instead.
|
|
1586
1620
|
*
|
|
@@ -1590,7 +1624,28 @@ declare namespace sap {
|
|
|
1590
1624
|
* mixAttributesAndSelectionVariant} of the {@link sap.ui.generic.app.navigation.service.NavigationHandler
|
|
1591
1625
|
* NavigationHandler}
|
|
1592
1626
|
*/
|
|
1593
|
-
enum SuppressionBehavior {
|
|
1627
|
+
enum SuppressionBehavior {
|
|
1628
|
+
/**
|
|
1629
|
+
* Semantic attributes with an empty string are ignored, the remaining attributes are mixed in to the selection
|
|
1630
|
+
* variant. Warning! Consider the impact on Boolean variable values!
|
|
1631
|
+
*/
|
|
1632
|
+
ignoreEmptyString = "undefined",
|
|
1633
|
+
/**
|
|
1634
|
+
* Semantic attributes with a `null` value lead to an {@link sap.fin.central.lib.error.Error error} of type
|
|
1635
|
+
* NavigationHandler.INVALID_INPUT
|
|
1636
|
+
*/
|
|
1637
|
+
raiseErrorOnNull = "undefined",
|
|
1638
|
+
/**
|
|
1639
|
+
* Semantic attributes with an `undefined` value lead to an {@link sap.fin.central.lib.error.Error error}
|
|
1640
|
+
* of type NavigationHandler.INVALID_INPUT
|
|
1641
|
+
*/
|
|
1642
|
+
raiseErrorOnUndefined = "undefined",
|
|
1643
|
+
/**
|
|
1644
|
+
* Standard suppression behavior: semantic attributes with a `null` or an `undefined` value are ignored,
|
|
1645
|
+
* the remaining attributes are mixed in to the selection variant
|
|
1646
|
+
*/
|
|
1647
|
+
standard = "undefined",
|
|
1648
|
+
}
|
|
1594
1649
|
}
|
|
1595
1650
|
}
|
|
1596
1651
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.110.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -466,7 +466,7 @@ declare namespace sap {
|
|
|
466
466
|
* The path to return a value for.
|
|
467
467
|
*/
|
|
468
468
|
sPath: string
|
|
469
|
-
):
|
|
469
|
+
): any;
|
|
470
470
|
/**
|
|
471
471
|
* @EXPERIMENTAL (since 1.65) - This property might be changed in future.
|
|
472
472
|
*
|
|
@@ -598,7 +598,7 @@ declare namespace sap {
|
|
|
598
598
|
/**
|
|
599
599
|
* The URL of the resource.
|
|
600
600
|
*/
|
|
601
|
-
|
|
601
|
+
url: string;
|
|
602
602
|
/**
|
|
603
603
|
* The mode of the request. Possible values are "cors", "no-cors", "same-origin".
|
|
604
604
|
*/
|
|
@@ -611,7 +611,7 @@ declare namespace sap {
|
|
|
611
611
|
* The request parameters. If the method is "POST" the parameters will be put as key/value pairs into the
|
|
612
612
|
* body of the request.
|
|
613
613
|
*/
|
|
614
|
-
parameters?:
|
|
614
|
+
parameters?: object;
|
|
615
615
|
/**
|
|
616
616
|
* The expected Content-Type of the response. Possible values are "xml", "json", "text", "script", "html",
|
|
617
617
|
* "jsonp". Note: Complex Binding is not supported when a dataType is provided. Serialization of the response
|
|
@@ -621,7 +621,7 @@ declare namespace sap {
|
|
|
621
621
|
/**
|
|
622
622
|
* The HTTP headers of the request.
|
|
623
623
|
*/
|
|
624
|
-
headers?:
|
|
624
|
+
headers?: object;
|
|
625
625
|
/**
|
|
626
626
|
* Indicates whether cross-site requests should be made using credentials.
|
|
627
627
|
*/
|
|
@@ -638,7 +638,7 @@ declare namespace sap {
|
|
|
638
638
|
* The destination's key used in the configuration.
|
|
639
639
|
*/
|
|
640
640
|
sKey: string
|
|
641
|
-
): Promise<
|
|
641
|
+
): Promise<string>;
|
|
642
642
|
/**
|
|
643
643
|
* Displays the loading placeholders on the whole card, or a particular area of the card. **Note:** Only
|
|
644
644
|
* areas that contain binding will receive a loading placeholder.
|
|
@@ -1611,7 +1611,7 @@ declare namespace sap {
|
|
|
1611
1611
|
* The path to return a value for.
|
|
1612
1612
|
*/
|
|
1613
1613
|
sPath: string
|
|
1614
|
-
):
|
|
1614
|
+
): any;
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Gets current value of property {@link #getReferenceId referenceId}.
|
|
1617
1617
|
*
|
|
@@ -1717,7 +1717,7 @@ declare namespace sap {
|
|
|
1717
1717
|
*
|
|
1718
1718
|
* @returns Promise resolves after the designtime configuration is loaded.
|
|
1719
1719
|
*/
|
|
1720
|
-
loadDesigntime(): Promise<
|
|
1720
|
+
loadDesigntime(): Promise<object>;
|
|
1721
1721
|
/**
|
|
1722
1722
|
* @EXPERIMENTAL (since 1.65) - The API might change.
|
|
1723
1723
|
*
|
|
@@ -1775,7 +1775,7 @@ declare namespace sap {
|
|
|
1775
1775
|
/**
|
|
1776
1776
|
* The URL of the resource.
|
|
1777
1777
|
*/
|
|
1778
|
-
|
|
1778
|
+
url: string;
|
|
1779
1779
|
/**
|
|
1780
1780
|
* The mode of the request. Possible values are "cors", "no-cors", "same-origin".
|
|
1781
1781
|
*/
|
|
@@ -1788,7 +1788,7 @@ declare namespace sap {
|
|
|
1788
1788
|
* The request parameters. If the method is "POST" the parameters will be put as key/value pairs into the
|
|
1789
1789
|
* body of the request.
|
|
1790
1790
|
*/
|
|
1791
|
-
parameters?:
|
|
1791
|
+
parameters?: object;
|
|
1792
1792
|
/**
|
|
1793
1793
|
* The expected Content-Type of the response. Possible values are "xml", "json", "text", "script", "html",
|
|
1794
1794
|
* "jsonp". Note: Complex Binding is not supported when a dataType is provided. Serialization of the response
|
|
@@ -1798,7 +1798,7 @@ declare namespace sap {
|
|
|
1798
1798
|
/**
|
|
1799
1799
|
* The HTTP headers of the request.
|
|
1800
1800
|
*/
|
|
1801
|
-
headers?:
|
|
1801
|
+
headers?: object;
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Indicates whether cross-site requests should be made using credentials.
|
|
1804
1804
|
*/
|
|
@@ -1815,7 +1815,7 @@ declare namespace sap {
|
|
|
1815
1815
|
* The destination's key used in the configuration.
|
|
1816
1816
|
*/
|
|
1817
1817
|
sKey: string
|
|
1818
|
-
): Promise<
|
|
1818
|
+
): Promise<string>;
|
|
1819
1819
|
/**
|
|
1820
1820
|
* @SINCE 1.70
|
|
1821
1821
|
* @EXPERIMENTAL (since 1.70)
|
|
@@ -2126,7 +2126,7 @@ declare namespace sap {
|
|
|
2126
2126
|
/**
|
|
2127
2127
|
* @EXPERIMENTAL (since 1.79)
|
|
2128
2128
|
*
|
|
2129
|
-
* The formatters
|
|
2129
|
+
* The formatters that can be used in the manifest.
|
|
2130
2130
|
*/
|
|
2131
2131
|
formatters?:
|
|
2132
2132
|
| object
|
|
@@ -2802,15 +2802,13 @@ declare namespace sap {
|
|
|
2802
2802
|
*/
|
|
2803
2803
|
getCard(): sap.ui.integration.widgets.CardFacade;
|
|
2804
2804
|
/**
|
|
2805
|
-
* @EXPERIMENTAL (since 1.79)
|
|
2806
|
-
*
|
|
2807
2805
|
* Gets current value of property {@link #getFormatters formatters}.
|
|
2808
2806
|
*
|
|
2809
|
-
* The formatters
|
|
2807
|
+
* The formatters that can be used in the manifest.
|
|
2810
2808
|
*
|
|
2811
2809
|
* @returns Value of property `formatters`
|
|
2812
2810
|
*/
|
|
2813
|
-
getFormatters():
|
|
2811
|
+
getFormatters(): Record<string, () => void> | undefined;
|
|
2814
2812
|
/**
|
|
2815
2813
|
* @EXPERIMENTAL (since 1.108)
|
|
2816
2814
|
*
|
|
@@ -2824,6 +2822,20 @@ declare namespace sap {
|
|
|
2824
2822
|
* Called after the card is initialized.
|
|
2825
2823
|
*/
|
|
2826
2824
|
onCardReady(): void;
|
|
2825
|
+
/**
|
|
2826
|
+
* Sets current value of property {@link #setFormatters formatters}.
|
|
2827
|
+
*
|
|
2828
|
+
* The formatters that can be used in the manifest. When called with a value of `null` or `undefined`, the
|
|
2829
|
+
* default value of the property will be restored.
|
|
2830
|
+
*
|
|
2831
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2832
|
+
*/
|
|
2833
|
+
setFormatters(
|
|
2834
|
+
/**
|
|
2835
|
+
* New value of property `formatters`
|
|
2836
|
+
*/
|
|
2837
|
+
aFormatters?: Record<string, Function>
|
|
2838
|
+
): this;
|
|
2827
2839
|
}
|
|
2828
2840
|
/**
|
|
2829
2841
|
* @SINCE 1.75
|
|
@@ -3103,28 +3115,32 @@ declare namespace sap {
|
|
|
3103
3115
|
/**
|
|
3104
3116
|
* @EXPERIMENTAL (since 1.97)
|
|
3105
3117
|
*
|
|
3106
|
-
* This
|
|
3118
|
+
* This function is called when a CSRF token has expired.
|
|
3107
3119
|
*/
|
|
3108
3120
|
csrfTokenExpired(
|
|
3109
3121
|
/**
|
|
3110
3122
|
* The CSRF token configuration.
|
|
3111
3123
|
*/
|
|
3112
|
-
mCSRFTokenConfig:
|
|
3124
|
+
mCSRFTokenConfig: {
|
|
3125
|
+
data: object;
|
|
3126
|
+
}
|
|
3113
3127
|
): void;
|
|
3114
3128
|
/**
|
|
3115
3129
|
* @EXPERIMENTAL (since 1.97)
|
|
3116
3130
|
*
|
|
3117
|
-
* This
|
|
3131
|
+
* This function is called when a CSRF token is fetched.
|
|
3118
3132
|
*/
|
|
3119
3133
|
csrfTokenFetched(
|
|
3120
3134
|
/**
|
|
3121
3135
|
* The CSRF token configuration.
|
|
3122
3136
|
*/
|
|
3123
|
-
mCSRFTokenConfig:
|
|
3137
|
+
mCSRFTokenConfig: {
|
|
3138
|
+
data: object;
|
|
3139
|
+
},
|
|
3124
3140
|
/**
|
|
3125
3141
|
* A promise which resolves the CSRF token to its value.
|
|
3126
3142
|
*/
|
|
3127
|
-
pCSRFTokenValuePromise: Promise<
|
|
3143
|
+
pCSRFTokenValuePromise: Promise<string>
|
|
3128
3144
|
): void;
|
|
3129
3145
|
/**
|
|
3130
3146
|
* @EXPERIMENTAL (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
@@ -3334,7 +3350,7 @@ declare namespace sap {
|
|
|
3334
3350
|
*
|
|
3335
3351
|
* @returns A promise which contains the context structure.
|
|
3336
3352
|
*/
|
|
3337
|
-
getContexts(): Promise<
|
|
3353
|
+
getContexts(): Promise<object>;
|
|
3338
3354
|
/**
|
|
3339
3355
|
* @SINCE 1.83
|
|
3340
3356
|
*
|
|
@@ -3355,7 +3371,7 @@ declare namespace sap {
|
|
|
3355
3371
|
* The path to a context
|
|
3356
3372
|
*/
|
|
3357
3373
|
sPath: string
|
|
3358
|
-
): Promise<
|
|
3374
|
+
): Promise<null>;
|
|
3359
3375
|
/**
|
|
3360
3376
|
* @EXPERIMENTAL (since 1.97)
|
|
3361
3377
|
*
|
|
@@ -3367,8 +3383,10 @@ declare namespace sap {
|
|
|
3367
3383
|
/**
|
|
3368
3384
|
* The CSRF token configuration.
|
|
3369
3385
|
*/
|
|
3370
|
-
mCSRFTokenConfig:
|
|
3371
|
-
|
|
3386
|
+
mCSRFTokenConfig: {
|
|
3387
|
+
data: object;
|
|
3388
|
+
}
|
|
3389
|
+
): Promise<string>;
|
|
3372
3390
|
/**
|
|
3373
3391
|
* Resolves the destination and returns its URL.
|
|
3374
3392
|
*
|
|
@@ -3380,10 +3398,10 @@ declare namespace sap {
|
|
|
3380
3398
|
*/
|
|
3381
3399
|
sDestinationName: string,
|
|
3382
3400
|
/**
|
|
3383
|
-
* The card that depends on the destination.
|
|
3401
|
+
* The card that depends on the destination.
|
|
3384
3402
|
*/
|
|
3385
3403
|
oCard: sap.ui.integration.widgets.Card
|
|
3386
|
-
): Promise<
|
|
3404
|
+
): Promise<string>;
|
|
3387
3405
|
/**
|
|
3388
3406
|
* @SINCE 1.83
|
|
3389
3407
|
*
|
|
@@ -3392,7 +3410,7 @@ declare namespace sap {
|
|
|
3392
3410
|
*
|
|
3393
3411
|
* @returns A promise which resolves with the list of destinations.
|
|
3394
3412
|
*/
|
|
3395
|
-
getDestinations(): Promise<
|
|
3413
|
+
getDestinations(): Promise<object[]>;
|
|
3396
3414
|
/**
|
|
3397
3415
|
* Gets current value of property {@link #getResolveDestination resolveDestination}.
|
|
3398
3416
|
*
|
|
@@ -3408,7 +3426,10 @@ declare namespace sap {
|
|
|
3408
3426
|
*
|
|
3409
3427
|
* @returns Value of property `resolveDestination`
|
|
3410
3428
|
*/
|
|
3411
|
-
getResolveDestination():
|
|
3429
|
+
getResolveDestination():
|
|
3430
|
+
| ((p1: string, p2: sap.ui.integration.widgets.Card) => string)
|
|
3431
|
+
| Promise<string>
|
|
3432
|
+
| undefined;
|
|
3412
3433
|
/**
|
|
3413
3434
|
* @EXPERIMENTAL (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3414
3435
|
* may be done before its official public release. Use at your own discretion.
|
|
@@ -3428,17 +3449,13 @@ declare namespace sap {
|
|
|
3428
3449
|
sActions: sap.ui.integration.CardMenuAction[]
|
|
3429
3450
|
): this;
|
|
3430
3451
|
/**
|
|
3431
|
-
* Sets a new value for property {@link #
|
|
3432
|
-
*
|
|
3433
|
-
* A function that resolves the given destination name to a URL.
|
|
3452
|
+
* Sets a new value for property {@link #setResolveDestination resolveDestination}.
|
|
3434
3453
|
*
|
|
3435
|
-
*
|
|
3436
|
-
* to which the request is sent.
|
|
3437
|
-
*
|
|
3438
|
-
*
|
|
3439
|
-
*
|
|
3440
|
-
* The callback receives `destinationName` as parameter and returns a string with the URL. Or alternatively
|
|
3441
|
-
* the callback may return a `Promise` with the URL as an argument.
|
|
3454
|
+
* A function that resolves the given destination name to a URL. The Card calls this function when it needs
|
|
3455
|
+
* to send a request to a destination. Function returns the URL to which the request is sent. If a card
|
|
3456
|
+
* depends on a destination, but this callback is not implemented, an error will be logged. The callback
|
|
3457
|
+
* receives `destinationName` as parameter and returns a string with the URL. Or alternatively the callback
|
|
3458
|
+
* may return a `Promise` with the URL as an argument.
|
|
3442
3459
|
*
|
|
3443
3460
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3444
3461
|
*
|
|
@@ -3448,7 +3465,9 @@ declare namespace sap {
|
|
|
3448
3465
|
/**
|
|
3449
3466
|
* New value for property `resolveDestination`
|
|
3450
3467
|
*/
|
|
3451
|
-
fnResolveDestination
|
|
3468
|
+
fnResolveDestination?:
|
|
3469
|
+
| ((p1: string, p2: sap.ui.integration.widgets.Card) => string)
|
|
3470
|
+
| Promise<string>
|
|
3452
3471
|
): this;
|
|
3453
3472
|
}
|
|
3454
3473
|
/**
|
package/types/sap.ui.layout.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.110.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -9950,24 +9950,24 @@ declare namespace sap {
|
|
|
9950
9950
|
/**
|
|
9951
9951
|
* Adds a control to the main content area. Only the main content part in the aggregation is re-rendered.
|
|
9952
9952
|
*
|
|
9953
|
-
* @returns this
|
|
9953
|
+
* @returns Reference to `this` for method chaining
|
|
9954
9954
|
*/
|
|
9955
9955
|
addMainContent(
|
|
9956
9956
|
/**
|
|
9957
9957
|
* Object to be added in the aggregation
|
|
9958
9958
|
*/
|
|
9959
|
-
oControl:
|
|
9959
|
+
oControl: sap.ui.core.Control
|
|
9960
9960
|
): this;
|
|
9961
9961
|
/**
|
|
9962
9962
|
* Adds a control to the side content area. Only the side content part in the aggregation is re-rendered.
|
|
9963
9963
|
*
|
|
9964
|
-
* @returns this
|
|
9964
|
+
* @returns Reference to `this` for method chaining
|
|
9965
9965
|
*/
|
|
9966
9966
|
addSideContent(
|
|
9967
9967
|
/**
|
|
9968
9968
|
* Object to be added in the aggregation
|
|
9969
9969
|
*/
|
|
9970
|
-
oControl:
|
|
9970
|
+
oControl: sap.ui.core.Control
|
|
9971
9971
|
): this;
|
|
9972
9972
|
/**
|
|
9973
9973
|
* @SINCE 1.32
|
|
@@ -10116,7 +10116,7 @@ declare namespace sap {
|
|
|
10116
10116
|
/**
|
|
10117
10117
|
* The control instance that requested the scroll helper
|
|
10118
10118
|
*/
|
|
10119
|
-
oControl:
|
|
10119
|
+
oControl: sap.ui.core.Control
|
|
10120
10120
|
): sap.ui.core.delegate.ScrollEnablement;
|
|
10121
10121
|
/**
|
|
10122
10122
|
* Gets current value of property {@link #getShowMainContent showMainContent}.
|
|
@@ -10308,7 +10308,7 @@ declare namespace sap {
|
|
|
10308
10308
|
/**
|
|
10309
10309
|
* Sets or unsets the page in equalSplit mode.
|
|
10310
10310
|
*
|
|
10311
|
-
* @returns this
|
|
10311
|
+
* @returns Reference to `this` for method chaining
|
|
10312
10312
|
*/
|
|
10313
10313
|
setEqualSplit(
|
|
10314
10314
|
/**
|
|
@@ -10319,7 +10319,7 @@ declare namespace sap {
|
|
|
10319
10319
|
/**
|
|
10320
10320
|
* Sets the showMainContent property.
|
|
10321
10321
|
*
|
|
10322
|
-
* @returns this
|
|
10322
|
+
* @returns Reference to `this` for method chaining
|
|
10323
10323
|
*/
|
|
10324
10324
|
setShowMainContent(
|
|
10325
10325
|
/**
|
|
@@ -10334,7 +10334,7 @@ declare namespace sap {
|
|
|
10334
10334
|
/**
|
|
10335
10335
|
* Sets the showSideContent property.
|
|
10336
10336
|
*
|
|
10337
|
-
* @returns this
|
|
10337
|
+
* @returns Reference to `this` for method chaining
|
|
10338
10338
|
*/
|
|
10339
10339
|
setShowSideContent(
|
|
10340
10340
|
/**
|
|
@@ -10385,7 +10385,7 @@ declare namespace sap {
|
|
|
10385
10385
|
/**
|
|
10386
10386
|
* Sets the sideContentVisibility property.
|
|
10387
10387
|
*
|
|
10388
|
-
* @returns this
|
|
10388
|
+
* @returns Reference to `this` for method chaining
|
|
10389
10389
|
*/
|
|
10390
10390
|
setSideContentVisibility(
|
|
10391
10391
|
/**
|
|
@@ -10402,7 +10402,7 @@ declare namespace sap {
|
|
|
10402
10402
|
* area is visible. This helper method is used to implement a button/switch for changing between the main
|
|
10403
10403
|
* and side content areas. Only works if the current breakpoint is "S".
|
|
10404
10404
|
*
|
|
10405
|
-
* @returns this
|
|
10405
|
+
* @returns Reference to `this` for method chaining
|
|
10406
10406
|
*/
|
|
10407
10407
|
toggle(): this;
|
|
10408
10408
|
}
|
|
@@ -12131,7 +12131,7 @@ declare namespace sap {
|
|
|
12131
12131
|
*
|
|
12132
12132
|
* @returns Current accessibility state of the control
|
|
12133
12133
|
*/
|
|
12134
|
-
getAccessibilityInfo():
|
|
12134
|
+
getAccessibilityInfo(): sap.ui.core.AccessibilityInfo;
|
|
12135
12135
|
/**
|
|
12136
12136
|
* Gets current value of property {@link #getAllowWrapping allowWrapping}.
|
|
12137
12137
|
*
|