@openui5/ts-types 1.108.2 → 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 +1 -1
- package/types/sap.f.d.ts +333 -52
- package/types/sap.m.d.ts +4405 -747
- 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.core.d.ts +2989 -2599
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +102 -11
- package/types/sap.ui.integration.d.ts +122 -45
- package/types/sap.ui.layout.d.ts +12 -12
- package/types/sap.ui.mdc.d.ts +13 -7
- 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 +93 -91
- package/types/sap.ui.table.d.ts +66 -12
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +180 -322
- package/types/sap.ui.ux3.d.ts +7 -3
- 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.uxap.d.ts +8 -29
package/types/sap.ui.dt.d.ts
CHANGED
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 {
|
|
@@ -102,6 +102,26 @@ declare namespace sap {
|
|
|
102
102
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
103
103
|
| `{${string}}`;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* @SINCE 1.109
|
|
107
|
+
*
|
|
108
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
109
|
+
*/
|
|
110
|
+
titleStyle?:
|
|
111
|
+
| sap.ui.core.TitleLevel
|
|
112
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
113
|
+
| `{${string}}`;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @SINCE 1.109
|
|
117
|
+
*
|
|
118
|
+
* Sets the maximum width of the control.
|
|
119
|
+
*/
|
|
120
|
+
maxWidth?:
|
|
121
|
+
| sap.ui.core.CSSSize
|
|
122
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
123
|
+
| `{${string}}`;
|
|
124
|
+
|
|
105
125
|
/**
|
|
106
126
|
* Contains the ids of the controls for which the variant management is responsible.
|
|
107
127
|
*/
|
|
@@ -143,8 +163,13 @@ declare namespace sap {
|
|
|
143
163
|
*/
|
|
144
164
|
class VariantManagement
|
|
145
165
|
extends sap.ui.core.Control
|
|
146
|
-
implements
|
|
166
|
+
implements
|
|
167
|
+
sap.ui.core.IShrinkable,
|
|
168
|
+
sap.m.IOverflowToolbarContent,
|
|
169
|
+
/* was: sap.m.IToolbarInteractiveControl */ Object {
|
|
170
|
+
__implements__sap_ui_core_IShrinkable: boolean;
|
|
147
171
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
172
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
148
173
|
/**
|
|
149
174
|
* Constructor for a new `VariantManagement`.
|
|
150
175
|
*
|
|
@@ -219,7 +244,7 @@ declare namespace sap {
|
|
|
219
244
|
* The control to add; if empty, nothing is inserted
|
|
220
245
|
*/
|
|
221
246
|
vFor: sap.ui.core.ID | sap.ui.core.Control
|
|
222
|
-
):
|
|
247
|
+
): this;
|
|
223
248
|
/**
|
|
224
249
|
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.fl.variants.VariantManagement`.
|
|
225
250
|
*
|
|
@@ -728,6 +753,18 @@ declare namespace sap {
|
|
|
728
753
|
* @returns Value of property `manualVariantKey`
|
|
729
754
|
*/
|
|
730
755
|
getManualVariantKey(): boolean;
|
|
756
|
+
/**
|
|
757
|
+
* @SINCE 1.109
|
|
758
|
+
*
|
|
759
|
+
* Gets current value of property {@link #getMaxWidth maxWidth}.
|
|
760
|
+
*
|
|
761
|
+
* Sets the maximum width of the control.
|
|
762
|
+
*
|
|
763
|
+
* Default value is `"100%"`.
|
|
764
|
+
*
|
|
765
|
+
* @returns Value of property `maxWidth`
|
|
766
|
+
*/
|
|
767
|
+
getMaxWidth(): sap.ui.core.CSSSize;
|
|
731
768
|
/**
|
|
732
769
|
* Gets current value of property {@link #getModelName modelName}.
|
|
733
770
|
*
|
|
@@ -750,7 +787,11 @@ declare namespace sap {
|
|
|
750
787
|
*
|
|
751
788
|
* @returns Configuration information for the `sap.m.IOverflowToolbarContent` interface.
|
|
752
789
|
*/
|
|
753
|
-
getOverflowToolbarConfig():
|
|
790
|
+
getOverflowToolbarConfig(): {
|
|
791
|
+
canOverflow: boolean;
|
|
792
|
+
|
|
793
|
+
invalidationEvents: string[];
|
|
794
|
+
};
|
|
754
795
|
/**
|
|
755
796
|
* Gets current value of property {@link #getResetOnContextChange resetOnContextChange}.
|
|
756
797
|
*
|
|
@@ -773,6 +814,18 @@ declare namespace sap {
|
|
|
773
814
|
* @returns Value of property `showSetAsDefault`
|
|
774
815
|
*/
|
|
775
816
|
getShowSetAsDefault(): boolean;
|
|
817
|
+
/**
|
|
818
|
+
* @SINCE 1.109
|
|
819
|
+
*
|
|
820
|
+
* Gets current value of property {@link #getTitleStyle titleStyle}.
|
|
821
|
+
*
|
|
822
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
823
|
+
*
|
|
824
|
+
* Default value is `Auto`.
|
|
825
|
+
*
|
|
826
|
+
* @returns Value of property `titleStyle`
|
|
827
|
+
*/
|
|
828
|
+
getTitleStyle(): sap.ui.core.TitleLevel;
|
|
776
829
|
/**
|
|
777
830
|
* Gets current value of property {@link #getUpdateVariantInURL updateVariantInURL}.
|
|
778
831
|
*
|
|
@@ -925,6 +978,25 @@ declare namespace sap {
|
|
|
925
978
|
*/
|
|
926
979
|
bManualVariantKey?: boolean
|
|
927
980
|
): this;
|
|
981
|
+
/**
|
|
982
|
+
* @SINCE 1.109
|
|
983
|
+
*
|
|
984
|
+
* Sets a new value for property {@link #getMaxWidth maxWidth}.
|
|
985
|
+
*
|
|
986
|
+
* Sets the maximum width of the control.
|
|
987
|
+
*
|
|
988
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
989
|
+
*
|
|
990
|
+
* Default value is `"100%"`.
|
|
991
|
+
*
|
|
992
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
993
|
+
*/
|
|
994
|
+
setMaxWidth(
|
|
995
|
+
/**
|
|
996
|
+
* New value for property `maxWidth`
|
|
997
|
+
*/
|
|
998
|
+
sMaxWidth?: sap.ui.core.CSSSize
|
|
999
|
+
): this;
|
|
928
1000
|
/**
|
|
929
1001
|
* Sets a new value for property {@link #getModelName modelName}.
|
|
930
1002
|
*
|
|
@@ -978,6 +1050,25 @@ declare namespace sap {
|
|
|
978
1050
|
*/
|
|
979
1051
|
bShowSetAsDefault?: boolean
|
|
980
1052
|
): this;
|
|
1053
|
+
/**
|
|
1054
|
+
* @SINCE 1.109
|
|
1055
|
+
*
|
|
1056
|
+
* Sets a new value for property {@link #getTitleStyle titleStyle}.
|
|
1057
|
+
*
|
|
1058
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
1059
|
+
*
|
|
1060
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1061
|
+
*
|
|
1062
|
+
* Default value is `Auto`.
|
|
1063
|
+
*
|
|
1064
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1065
|
+
*/
|
|
1066
|
+
setTitleStyle(
|
|
1067
|
+
/**
|
|
1068
|
+
* New value for property `titleStyle`
|
|
1069
|
+
*/
|
|
1070
|
+
sTitleStyle?: sap.ui.core.TitleLevel
|
|
1071
|
+
): this;
|
|
981
1072
|
/**
|
|
982
1073
|
* Sets a new value for property {@link #getUpdateVariantInURL updateVariantInURL}.
|
|
983
1074
|
*
|
|
@@ -1158,8 +1249,6 @@ declare namespace sap {
|
|
|
1158
1249
|
|
|
1159
1250
|
"sap/ui/fl/apply/_internal/flexObjects/CompVariant": undefined;
|
|
1160
1251
|
|
|
1161
|
-
"sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData": undefined;
|
|
1162
|
-
|
|
1163
1252
|
"sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange": undefined;
|
|
1164
1253
|
|
|
1165
1254
|
"sap/ui/fl/apply/_internal/flexObjects/FlexObject": undefined;
|
|
@@ -1168,7 +1257,7 @@ declare namespace sap {
|
|
|
1168
1257
|
|
|
1169
1258
|
"sap/ui/fl/apply/_internal/flexObjects/FlVariant": undefined;
|
|
1170
1259
|
|
|
1171
|
-
"sap/ui/fl/apply/_internal/flexObjects/
|
|
1260
|
+
"sap/ui/fl/apply/_internal/flexObjects/UIChange": undefined;
|
|
1172
1261
|
|
|
1173
1262
|
"sap/ui/fl/apply/_internal/flexObjects/UpdatableChange": undefined;
|
|
1174
1263
|
|
|
@@ -1184,8 +1273,12 @@ declare namespace sap {
|
|
|
1184
1273
|
|
|
1185
1274
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState": undefined;
|
|
1186
1275
|
|
|
1276
|
+
"sap/ui/fl/apply/_internal/flexState/DataSelector": undefined;
|
|
1277
|
+
|
|
1187
1278
|
"sap/ui/fl/apply/_internal/flexState/FlexState": undefined;
|
|
1188
1279
|
|
|
1280
|
+
"sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions": undefined;
|
|
1281
|
+
|
|
1189
1282
|
"sap/ui/fl/apply/_internal/flexState/Loader": undefined;
|
|
1190
1283
|
|
|
1191
1284
|
"sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
|
|
@@ -1194,6 +1287,8 @@ declare namespace sap {
|
|
|
1194
1287
|
|
|
1195
1288
|
"sap/ui/fl/apply/_internal/preprocessors/EventHistory": undefined;
|
|
1196
1289
|
|
|
1290
|
+
"sap/ui/fl/apply/api/ControlVariantApplyAPI": undefined;
|
|
1291
|
+
|
|
1197
1292
|
"sap/ui/fl/apply/api/DelegateMediatorAPI": undefined;
|
|
1198
1293
|
|
|
1199
1294
|
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI": undefined;
|
|
@@ -1204,8 +1299,6 @@ declare namespace sap {
|
|
|
1204
1299
|
|
|
1205
1300
|
"sap/ui/fl/Cache": undefined;
|
|
1206
1301
|
|
|
1207
|
-
"sap/ui/fl/Change": undefined;
|
|
1208
|
-
|
|
1209
1302
|
"sap/ui/fl/changeHandler/Base": undefined;
|
|
1210
1303
|
|
|
1211
1304
|
"sap/ui/fl/ChangePersistenceFactory": undefined;
|
|
@@ -1236,8 +1329,6 @@ declare namespace sap {
|
|
|
1236
1329
|
|
|
1237
1330
|
"sap/ui/fl/initial/_internal/Storage": undefined;
|
|
1238
1331
|
|
|
1239
|
-
"sap/ui/fl/initial/_internal/storageResultDisassemble": undefined;
|
|
1240
|
-
|
|
1241
1332
|
"sap/ui/fl/initial/_internal/StorageUtils": undefined;
|
|
1242
1333
|
|
|
1243
1334
|
"sap/ui/fl/interfaces/BaseLoadConnector": 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 {
|
|
@@ -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.
|
|
@@ -809,6 +809,17 @@ declare namespace sap {
|
|
|
809
809
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
810
810
|
| `{${string}}`;
|
|
811
811
|
|
|
812
|
+
/**
|
|
813
|
+
* @SINCE 1.109
|
|
814
|
+
* @EXPERIMENTAL (since 1.109)
|
|
815
|
+
*
|
|
816
|
+
* Defines the design of the `Card`.
|
|
817
|
+
*/
|
|
818
|
+
design?:
|
|
819
|
+
| sap.ui.integration.CardDesign
|
|
820
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
821
|
+
| `{${string}}`;
|
|
822
|
+
|
|
812
823
|
/**
|
|
813
824
|
* @SINCE 1.85
|
|
814
825
|
* @EXPERIMENTAL (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
@@ -1497,11 +1508,24 @@ declare namespace sap {
|
|
|
1497
1508
|
*
|
|
1498
1509
|
* Defines the state of the `Card`. When set to `Inactive`, the `Card` doesn't make requests.
|
|
1499
1510
|
*
|
|
1500
|
-
* Default value is `
|
|
1511
|
+
* Default value is `Auto`.
|
|
1501
1512
|
*
|
|
1502
1513
|
* @returns Value of property `dataMode`
|
|
1503
1514
|
*/
|
|
1504
1515
|
getDataMode(): sap.ui.integration.CardDataMode;
|
|
1516
|
+
/**
|
|
1517
|
+
* @SINCE 1.109
|
|
1518
|
+
* @EXPERIMENTAL (since 1.109)
|
|
1519
|
+
*
|
|
1520
|
+
* Gets current value of property {@link #getDesign design}.
|
|
1521
|
+
*
|
|
1522
|
+
* Defines the design of the `Card`.
|
|
1523
|
+
*
|
|
1524
|
+
* Default value is `Solid`.
|
|
1525
|
+
*
|
|
1526
|
+
* @returns Value of property `design`
|
|
1527
|
+
*/
|
|
1528
|
+
getDesign(): sap.ui.integration.CardDesign;
|
|
1505
1529
|
/**
|
|
1506
1530
|
* Returns the DOM Element that should get the focus.
|
|
1507
1531
|
*
|
|
@@ -1587,7 +1611,7 @@ declare namespace sap {
|
|
|
1587
1611
|
* The path to return a value for.
|
|
1588
1612
|
*/
|
|
1589
1613
|
sPath: string
|
|
1590
|
-
):
|
|
1614
|
+
): any;
|
|
1591
1615
|
/**
|
|
1592
1616
|
* Gets current value of property {@link #getReferenceId referenceId}.
|
|
1593
1617
|
*
|
|
@@ -1693,7 +1717,7 @@ declare namespace sap {
|
|
|
1693
1717
|
*
|
|
1694
1718
|
* @returns Promise resolves after the designtime configuration is loaded.
|
|
1695
1719
|
*/
|
|
1696
|
-
loadDesigntime(): Promise<
|
|
1720
|
+
loadDesigntime(): Promise<object>;
|
|
1697
1721
|
/**
|
|
1698
1722
|
* @EXPERIMENTAL (since 1.65) - The API might change.
|
|
1699
1723
|
*
|
|
@@ -1751,7 +1775,7 @@ declare namespace sap {
|
|
|
1751
1775
|
/**
|
|
1752
1776
|
* The URL of the resource.
|
|
1753
1777
|
*/
|
|
1754
|
-
|
|
1778
|
+
url: string;
|
|
1755
1779
|
/**
|
|
1756
1780
|
* The mode of the request. Possible values are "cors", "no-cors", "same-origin".
|
|
1757
1781
|
*/
|
|
@@ -1764,7 +1788,7 @@ declare namespace sap {
|
|
|
1764
1788
|
* The request parameters. If the method is "POST" the parameters will be put as key/value pairs into the
|
|
1765
1789
|
* body of the request.
|
|
1766
1790
|
*/
|
|
1767
|
-
parameters?:
|
|
1791
|
+
parameters?: object;
|
|
1768
1792
|
/**
|
|
1769
1793
|
* The expected Content-Type of the response. Possible values are "xml", "json", "text", "script", "html",
|
|
1770
1794
|
* "jsonp". Note: Complex Binding is not supported when a dataType is provided. Serialization of the response
|
|
@@ -1774,7 +1798,7 @@ declare namespace sap {
|
|
|
1774
1798
|
/**
|
|
1775
1799
|
* The HTTP headers of the request.
|
|
1776
1800
|
*/
|
|
1777
|
-
headers?:
|
|
1801
|
+
headers?: object;
|
|
1778
1802
|
/**
|
|
1779
1803
|
* Indicates whether cross-site requests should be made using credentials.
|
|
1780
1804
|
*/
|
|
@@ -1791,7 +1815,7 @@ declare namespace sap {
|
|
|
1791
1815
|
* The destination's key used in the configuration.
|
|
1792
1816
|
*/
|
|
1793
1817
|
sKey: string
|
|
1794
|
-
): Promise<
|
|
1818
|
+
): Promise<string>;
|
|
1795
1819
|
/**
|
|
1796
1820
|
* @SINCE 1.70
|
|
1797
1821
|
* @EXPERIMENTAL (since 1.70)
|
|
@@ -1825,6 +1849,26 @@ declare namespace sap {
|
|
|
1825
1849
|
*/
|
|
1826
1850
|
sMode: sap.ui.integration.CardDataMode
|
|
1827
1851
|
): this;
|
|
1852
|
+
/**
|
|
1853
|
+
* @SINCE 1.109
|
|
1854
|
+
* @EXPERIMENTAL (since 1.109)
|
|
1855
|
+
*
|
|
1856
|
+
* Sets a new value for property {@link #getDesign design}.
|
|
1857
|
+
*
|
|
1858
|
+
* Defines the design of the `Card`.
|
|
1859
|
+
*
|
|
1860
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1861
|
+
*
|
|
1862
|
+
* Default value is `Solid`.
|
|
1863
|
+
*
|
|
1864
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1865
|
+
*/
|
|
1866
|
+
setDesign(
|
|
1867
|
+
/**
|
|
1868
|
+
* New value for property `design`
|
|
1869
|
+
*/
|
|
1870
|
+
sDesign?: sap.ui.integration.CardDesign
|
|
1871
|
+
): this;
|
|
1828
1872
|
/**
|
|
1829
1873
|
* Sets the associated {@link #getHost host}.
|
|
1830
1874
|
*
|
|
@@ -2082,7 +2126,7 @@ declare namespace sap {
|
|
|
2082
2126
|
/**
|
|
2083
2127
|
* @EXPERIMENTAL (since 1.79)
|
|
2084
2128
|
*
|
|
2085
|
-
* The formatters
|
|
2129
|
+
* The formatters that can be used in the manifest.
|
|
2086
2130
|
*/
|
|
2087
2131
|
formatters?:
|
|
2088
2132
|
| object
|
|
@@ -2758,15 +2802,13 @@ declare namespace sap {
|
|
|
2758
2802
|
*/
|
|
2759
2803
|
getCard(): sap.ui.integration.widgets.CardFacade;
|
|
2760
2804
|
/**
|
|
2761
|
-
* @EXPERIMENTAL (since 1.79)
|
|
2762
|
-
*
|
|
2763
2805
|
* Gets current value of property {@link #getFormatters formatters}.
|
|
2764
2806
|
*
|
|
2765
|
-
* The formatters
|
|
2807
|
+
* The formatters that can be used in the manifest.
|
|
2766
2808
|
*
|
|
2767
2809
|
* @returns Value of property `formatters`
|
|
2768
2810
|
*/
|
|
2769
|
-
getFormatters():
|
|
2811
|
+
getFormatters(): Record<string, () => void> | undefined;
|
|
2770
2812
|
/**
|
|
2771
2813
|
* @EXPERIMENTAL (since 1.108)
|
|
2772
2814
|
*
|
|
@@ -2777,9 +2819,23 @@ declare namespace sap {
|
|
|
2777
2819
|
*/
|
|
2778
2820
|
loadDependencies(): Promise<any>;
|
|
2779
2821
|
/**
|
|
2780
|
-
* Called
|
|
2822
|
+
* Called after the card is initialized.
|
|
2781
2823
|
*/
|
|
2782
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;
|
|
2783
2839
|
}
|
|
2784
2840
|
/**
|
|
2785
2841
|
* @SINCE 1.75
|
|
@@ -3059,28 +3115,32 @@ declare namespace sap {
|
|
|
3059
3115
|
/**
|
|
3060
3116
|
* @EXPERIMENTAL (since 1.97)
|
|
3061
3117
|
*
|
|
3062
|
-
* This
|
|
3118
|
+
* This function is called when a CSRF token has expired.
|
|
3063
3119
|
*/
|
|
3064
3120
|
csrfTokenExpired(
|
|
3065
3121
|
/**
|
|
3066
3122
|
* The CSRF token configuration.
|
|
3067
3123
|
*/
|
|
3068
|
-
mCSRFTokenConfig:
|
|
3124
|
+
mCSRFTokenConfig: {
|
|
3125
|
+
data: object;
|
|
3126
|
+
}
|
|
3069
3127
|
): void;
|
|
3070
3128
|
/**
|
|
3071
3129
|
* @EXPERIMENTAL (since 1.97)
|
|
3072
3130
|
*
|
|
3073
|
-
* This
|
|
3131
|
+
* This function is called when a CSRF token is fetched.
|
|
3074
3132
|
*/
|
|
3075
3133
|
csrfTokenFetched(
|
|
3076
3134
|
/**
|
|
3077
3135
|
* The CSRF token configuration.
|
|
3078
3136
|
*/
|
|
3079
|
-
mCSRFTokenConfig:
|
|
3137
|
+
mCSRFTokenConfig: {
|
|
3138
|
+
data: object;
|
|
3139
|
+
},
|
|
3080
3140
|
/**
|
|
3081
3141
|
* A promise which resolves the CSRF token to its value.
|
|
3082
3142
|
*/
|
|
3083
|
-
pCSRFTokenValuePromise: Promise<
|
|
3143
|
+
pCSRFTokenValuePromise: Promise<string>
|
|
3084
3144
|
): void;
|
|
3085
3145
|
/**
|
|
3086
3146
|
* @EXPERIMENTAL (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
@@ -3290,7 +3350,7 @@ declare namespace sap {
|
|
|
3290
3350
|
*
|
|
3291
3351
|
* @returns A promise which contains the context structure.
|
|
3292
3352
|
*/
|
|
3293
|
-
getContexts(): Promise<
|
|
3353
|
+
getContexts(): Promise<object>;
|
|
3294
3354
|
/**
|
|
3295
3355
|
* @SINCE 1.83
|
|
3296
3356
|
*
|
|
@@ -3311,7 +3371,7 @@ declare namespace sap {
|
|
|
3311
3371
|
* The path to a context
|
|
3312
3372
|
*/
|
|
3313
3373
|
sPath: string
|
|
3314
|
-
): Promise<
|
|
3374
|
+
): Promise<null>;
|
|
3315
3375
|
/**
|
|
3316
3376
|
* @EXPERIMENTAL (since 1.97)
|
|
3317
3377
|
*
|
|
@@ -3323,8 +3383,10 @@ declare namespace sap {
|
|
|
3323
3383
|
/**
|
|
3324
3384
|
* The CSRF token configuration.
|
|
3325
3385
|
*/
|
|
3326
|
-
mCSRFTokenConfig:
|
|
3327
|
-
|
|
3386
|
+
mCSRFTokenConfig: {
|
|
3387
|
+
data: object;
|
|
3388
|
+
}
|
|
3389
|
+
): Promise<string>;
|
|
3328
3390
|
/**
|
|
3329
3391
|
* Resolves the destination and returns its URL.
|
|
3330
3392
|
*
|
|
@@ -3336,10 +3398,10 @@ declare namespace sap {
|
|
|
3336
3398
|
*/
|
|
3337
3399
|
sDestinationName: string,
|
|
3338
3400
|
/**
|
|
3339
|
-
* The card that depends on the destination.
|
|
3401
|
+
* The card that depends on the destination.
|
|
3340
3402
|
*/
|
|
3341
3403
|
oCard: sap.ui.integration.widgets.Card
|
|
3342
|
-
): Promise<
|
|
3404
|
+
): Promise<string>;
|
|
3343
3405
|
/**
|
|
3344
3406
|
* @SINCE 1.83
|
|
3345
3407
|
*
|
|
@@ -3348,7 +3410,7 @@ declare namespace sap {
|
|
|
3348
3410
|
*
|
|
3349
3411
|
* @returns A promise which resolves with the list of destinations.
|
|
3350
3412
|
*/
|
|
3351
|
-
getDestinations(): Promise<
|
|
3413
|
+
getDestinations(): Promise<object[]>;
|
|
3352
3414
|
/**
|
|
3353
3415
|
* Gets current value of property {@link #getResolveDestination resolveDestination}.
|
|
3354
3416
|
*
|
|
@@ -3364,7 +3426,10 @@ declare namespace sap {
|
|
|
3364
3426
|
*
|
|
3365
3427
|
* @returns Value of property `resolveDestination`
|
|
3366
3428
|
*/
|
|
3367
|
-
getResolveDestination():
|
|
3429
|
+
getResolveDestination():
|
|
3430
|
+
| ((p1: string, p2: sap.ui.integration.widgets.Card) => string)
|
|
3431
|
+
| Promise<string>
|
|
3432
|
+
| undefined;
|
|
3368
3433
|
/**
|
|
3369
3434
|
* @EXPERIMENTAL (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3370
3435
|
* may be done before its official public release. Use at your own discretion.
|
|
@@ -3384,17 +3449,13 @@ declare namespace sap {
|
|
|
3384
3449
|
sActions: sap.ui.integration.CardMenuAction[]
|
|
3385
3450
|
): this;
|
|
3386
3451
|
/**
|
|
3387
|
-
* Sets a new value for property {@link #
|
|
3388
|
-
*
|
|
3389
|
-
* A function that resolves the given destination name to a URL.
|
|
3452
|
+
* Sets a new value for property {@link #setResolveDestination resolveDestination}.
|
|
3390
3453
|
*
|
|
3391
|
-
*
|
|
3392
|
-
* to which the request is sent.
|
|
3393
|
-
*
|
|
3394
|
-
*
|
|
3395
|
-
*
|
|
3396
|
-
* The callback receives `destinationName` as parameter and returns a string with the URL. Or alternatively
|
|
3397
|
-
* 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.
|
|
3398
3459
|
*
|
|
3399
3460
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3400
3461
|
*
|
|
@@ -3404,7 +3465,9 @@ declare namespace sap {
|
|
|
3404
3465
|
/**
|
|
3405
3466
|
* New value for property `resolveDestination`
|
|
3406
3467
|
*/
|
|
3407
|
-
fnResolveDestination
|
|
3468
|
+
fnResolveDestination?:
|
|
3469
|
+
| ((p1: string, p2: sap.ui.integration.widgets.Card) => string)
|
|
3470
|
+
| Promise<string>
|
|
3408
3471
|
): this;
|
|
3409
3472
|
}
|
|
3410
3473
|
/**
|
|
@@ -3507,6 +3570,22 @@ declare namespace sap {
|
|
|
3507
3570
|
*/
|
|
3508
3571
|
Inactive = "Inactive",
|
|
3509
3572
|
}
|
|
3573
|
+
/**
|
|
3574
|
+
* @SINCE 1.109
|
|
3575
|
+
* @EXPERIMENTAL (since 1.109)
|
|
3576
|
+
*
|
|
3577
|
+
* Possible designs for `{@link sap.ui.integration.widgets.Card}`.
|
|
3578
|
+
*/
|
|
3579
|
+
enum CardDesign {
|
|
3580
|
+
/**
|
|
3581
|
+
* When in this mode, the card has a solid background.
|
|
3582
|
+
*/
|
|
3583
|
+
Solid = "Solid",
|
|
3584
|
+
/**
|
|
3585
|
+
* When in this mode, the card background is transparent.
|
|
3586
|
+
*/
|
|
3587
|
+
Transparent = "Transparent",
|
|
3588
|
+
}
|
|
3510
3589
|
/**
|
|
3511
3590
|
* @EXPERIMENTAL (since 1.79)
|
|
3512
3591
|
*
|
|
@@ -3582,8 +3661,6 @@ declare namespace sap {
|
|
|
3582
3661
|
|
|
3583
3662
|
"sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor": undefined;
|
|
3584
3663
|
|
|
3585
|
-
"sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator": undefined;
|
|
3586
|
-
|
|
3587
3664
|
"sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor": undefined;
|
|
3588
3665
|
|
|
3589
3666
|
"sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor": undefined;
|