@openui5/ts-types-esm 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 +319 -52
- package/types/sap.m.d.ts +17785 -13886
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +4 -2
- package/types/sap.ui.commons.d.ts +14911 -14837
- package/types/sap.ui.core.d.ts +1161 -780
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +202 -13
- package/types/sap.ui.integration.d.ts +123 -45
- package/types/sap.ui.layout.d.ts +14 -12
- package/types/sap.ui.mdc.d.ts +30 -21
- 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 +142 -138
- package/types/sap.ui.table.d.ts +74 -13
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +188 -324
- 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 -31
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
|
@@ -1,7 +1,108 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.110.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/fl/library" {}
|
|
4
4
|
|
|
5
|
+
declare module "sap/ui/fl/apply/api/ControlVariantApplyAPI" {
|
|
6
|
+
import ManagedObject from "sap/ui/base/ManagedObject";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @SINCE 1.67
|
|
10
|
+
* @EXPERIMENTAL (since 1.67)
|
|
11
|
+
*
|
|
12
|
+
* Provides an API for applications to work with control variants. See also {@link sap.ui.fl.variants.VariantManagement}.
|
|
13
|
+
*/
|
|
14
|
+
interface ControlVariantApplyAPI {
|
|
15
|
+
/**
|
|
16
|
+
* Activates the passed variant applicable to the passed control/component.
|
|
17
|
+
*
|
|
18
|
+
* @returns Resolves after the variant is activated or rejects if an error occurs
|
|
19
|
+
*/
|
|
20
|
+
activateVariant(
|
|
21
|
+
/**
|
|
22
|
+
* Object with parameters as properties
|
|
23
|
+
*/
|
|
24
|
+
mPropertyBag: {
|
|
25
|
+
/**
|
|
26
|
+
* Component or control (instance or ID) on which the `variantModel` is set
|
|
27
|
+
*/
|
|
28
|
+
element: ManagedObject | string;
|
|
29
|
+
/**
|
|
30
|
+
* Reference to the variant that needs to be activated
|
|
31
|
+
*/
|
|
32
|
+
variantReference: string;
|
|
33
|
+
}
|
|
34
|
+
): Promise<any>;
|
|
35
|
+
/**
|
|
36
|
+
* Saves a function that will be called after a variant has been applied with the new variant as parameter.
|
|
37
|
+
* Even if the same variant is selected again the callback is called. The function also performs a sanity
|
|
38
|
+
* check after the control has been rendered. If the passed variant control ID does not match the responsible
|
|
39
|
+
* variant management control, the callback will not be saved. Optionally this function is also called after
|
|
40
|
+
* the initial variant is applied without a sanity check.
|
|
41
|
+
*/
|
|
42
|
+
attachVariantApplied(
|
|
43
|
+
/**
|
|
44
|
+
* Object with parameters as properties
|
|
45
|
+
*/
|
|
46
|
+
mPropertyBag: {
|
|
47
|
+
/**
|
|
48
|
+
* Selector of the control
|
|
49
|
+
*/
|
|
50
|
+
selector: /* was: sap.ui.fl.Selector */ any;
|
|
51
|
+
/**
|
|
52
|
+
* ID of the variant management control
|
|
53
|
+
*/
|
|
54
|
+
vmControlId: string;
|
|
55
|
+
/**
|
|
56
|
+
* Callback that will be called after a variant has been applied
|
|
57
|
+
*/
|
|
58
|
+
callback: Function;
|
|
59
|
+
/**
|
|
60
|
+
* The callback will also be called after the initial variant is applied
|
|
61
|
+
*/
|
|
62
|
+
callAfterInitialVariant?: boolean;
|
|
63
|
+
}
|
|
64
|
+
): void;
|
|
65
|
+
/**
|
|
66
|
+
* Clears URL technical parameter `sap-ui-fl-control-variant-id` for control variants. Use this method in
|
|
67
|
+
* case you normally want the variant parameter in the URL, but have a few special navigation patterns where
|
|
68
|
+
* you want to clear it. If you don't want that parameter in general, set the `updateVariantInURL` parameter
|
|
69
|
+
* on your variant management control to `false`. SAP Fiori elements use this method. If a variant management
|
|
70
|
+
* control is given as a parameter, only parameters specific to that control are cleared.
|
|
71
|
+
*/
|
|
72
|
+
clearVariantParameterInURL(
|
|
73
|
+
/**
|
|
74
|
+
* Object with parameters as properties
|
|
75
|
+
*/
|
|
76
|
+
mPropertyBag: {
|
|
77
|
+
/**
|
|
78
|
+
* Variant management control for which the URL technical parameter has to be cleared
|
|
79
|
+
*/
|
|
80
|
+
control: ManagedObject;
|
|
81
|
+
}
|
|
82
|
+
): void;
|
|
83
|
+
/**
|
|
84
|
+
* Removes the saved callback for the given control and variant management control.
|
|
85
|
+
*/
|
|
86
|
+
detachVariantApplied(
|
|
87
|
+
/**
|
|
88
|
+
* Object with parameters as properties
|
|
89
|
+
*/
|
|
90
|
+
mPropertyBag: {
|
|
91
|
+
/**
|
|
92
|
+
* Selector of the control
|
|
93
|
+
*/
|
|
94
|
+
selector: /* was: sap.ui.fl.Selector */ any;
|
|
95
|
+
/**
|
|
96
|
+
* ID of the variant management control
|
|
97
|
+
*/
|
|
98
|
+
vmControlId: string;
|
|
99
|
+
}
|
|
100
|
+
): void;
|
|
101
|
+
}
|
|
102
|
+
const ControlVariantApplyAPI: ControlVariantApplyAPI;
|
|
103
|
+
export default ControlVariantApplyAPI;
|
|
104
|
+
}
|
|
105
|
+
|
|
5
106
|
declare module "sap/ui/fl/transport/TransportDialog" {
|
|
6
107
|
import { default as Dialog, $DialogSettings } from "sap/m/Dialog";
|
|
7
108
|
|
|
@@ -90,9 +191,9 @@ declare module "sap/ui/fl/transport/TransportDialog" {
|
|
|
90
191
|
declare module "sap/ui/fl/variants/VariantManagement" {
|
|
91
192
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
92
193
|
|
|
93
|
-
import {
|
|
194
|
+
import { IShrinkable, ID, TitleLevel, CSSSize } from "sap/ui/core/library";
|
|
94
195
|
|
|
95
|
-
import {
|
|
196
|
+
import { IOverflowToolbarContent } from "sap/m/library";
|
|
96
197
|
|
|
97
198
|
import Event from "sap/ui/base/Event";
|
|
98
199
|
|
|
@@ -109,8 +210,13 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
109
210
|
*/
|
|
110
211
|
export default class VariantManagement
|
|
111
212
|
extends Control
|
|
112
|
-
implements
|
|
213
|
+
implements
|
|
214
|
+
IShrinkable,
|
|
215
|
+
IOverflowToolbarContent,
|
|
216
|
+
/* was: sap.m.IToolbarInteractiveControl */ Object {
|
|
217
|
+
__implements__sap_ui_core_IShrinkable: boolean;
|
|
113
218
|
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
219
|
+
__implements__sap_m_IToolbarInteractiveControl: boolean;
|
|
114
220
|
/**
|
|
115
221
|
* Constructor for a new `VariantManagement`.
|
|
116
222
|
*
|
|
@@ -185,7 +291,7 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
185
291
|
* The control to add; if empty, nothing is inserted
|
|
186
292
|
*/
|
|
187
293
|
vFor: ID | Control
|
|
188
|
-
):
|
|
294
|
+
): this;
|
|
189
295
|
/**
|
|
190
296
|
* Attaches event handler `fnFunction` to the {@link #event:cancel cancel} event of this `sap.ui.fl.variants.VariantManagement`.
|
|
191
297
|
*
|
|
@@ -694,6 +800,18 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
694
800
|
* @returns Value of property `manualVariantKey`
|
|
695
801
|
*/
|
|
696
802
|
getManualVariantKey(): boolean;
|
|
803
|
+
/**
|
|
804
|
+
* @SINCE 1.109
|
|
805
|
+
*
|
|
806
|
+
* Gets current value of property {@link #getMaxWidth maxWidth}.
|
|
807
|
+
*
|
|
808
|
+
* Sets the maximum width of the control.
|
|
809
|
+
*
|
|
810
|
+
* Default value is `"100%"`.
|
|
811
|
+
*
|
|
812
|
+
* @returns Value of property `maxWidth`
|
|
813
|
+
*/
|
|
814
|
+
getMaxWidth(): CSSSize;
|
|
697
815
|
/**
|
|
698
816
|
* Gets current value of property {@link #getModelName modelName}.
|
|
699
817
|
*
|
|
@@ -716,7 +834,11 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
716
834
|
*
|
|
717
835
|
* @returns Configuration information for the `sap.m.IOverflowToolbarContent` interface.
|
|
718
836
|
*/
|
|
719
|
-
getOverflowToolbarConfig():
|
|
837
|
+
getOverflowToolbarConfig(): {
|
|
838
|
+
canOverflow: boolean;
|
|
839
|
+
|
|
840
|
+
invalidationEvents: string[];
|
|
841
|
+
};
|
|
720
842
|
/**
|
|
721
843
|
* Gets current value of property {@link #getResetOnContextChange resetOnContextChange}.
|
|
722
844
|
*
|
|
@@ -739,6 +861,18 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
739
861
|
* @returns Value of property `showSetAsDefault`
|
|
740
862
|
*/
|
|
741
863
|
getShowSetAsDefault(): boolean;
|
|
864
|
+
/**
|
|
865
|
+
* @SINCE 1.109
|
|
866
|
+
*
|
|
867
|
+
* Gets current value of property {@link #getTitleStyle titleStyle}.
|
|
868
|
+
*
|
|
869
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
870
|
+
*
|
|
871
|
+
* Default value is `Auto`.
|
|
872
|
+
*
|
|
873
|
+
* @returns Value of property `titleStyle`
|
|
874
|
+
*/
|
|
875
|
+
getTitleStyle(): TitleLevel | keyof typeof TitleLevel;
|
|
742
876
|
/**
|
|
743
877
|
* Gets current value of property {@link #getUpdateVariantInURL updateVariantInURL}.
|
|
744
878
|
*
|
|
@@ -891,6 +1025,25 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
891
1025
|
*/
|
|
892
1026
|
bManualVariantKey?: boolean
|
|
893
1027
|
): this;
|
|
1028
|
+
/**
|
|
1029
|
+
* @SINCE 1.109
|
|
1030
|
+
*
|
|
1031
|
+
* Sets a new value for property {@link #getMaxWidth maxWidth}.
|
|
1032
|
+
*
|
|
1033
|
+
* Sets the maximum width of the control.
|
|
1034
|
+
*
|
|
1035
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1036
|
+
*
|
|
1037
|
+
* Default value is `"100%"`.
|
|
1038
|
+
*
|
|
1039
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1040
|
+
*/
|
|
1041
|
+
setMaxWidth(
|
|
1042
|
+
/**
|
|
1043
|
+
* New value for property `maxWidth`
|
|
1044
|
+
*/
|
|
1045
|
+
sMaxWidth?: CSSSize
|
|
1046
|
+
): this;
|
|
894
1047
|
/**
|
|
895
1048
|
* Sets a new value for property {@link #getModelName modelName}.
|
|
896
1049
|
*
|
|
@@ -944,6 +1097,25 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
944
1097
|
*/
|
|
945
1098
|
bShowSetAsDefault?: boolean
|
|
946
1099
|
): this;
|
|
1100
|
+
/**
|
|
1101
|
+
* @SINCE 1.109
|
|
1102
|
+
*
|
|
1103
|
+
* Sets a new value for property {@link #getTitleStyle titleStyle}.
|
|
1104
|
+
*
|
|
1105
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
1106
|
+
*
|
|
1107
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1108
|
+
*
|
|
1109
|
+
* Default value is `Auto`.
|
|
1110
|
+
*
|
|
1111
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1112
|
+
*/
|
|
1113
|
+
setTitleStyle(
|
|
1114
|
+
/**
|
|
1115
|
+
* New value for property `titleStyle`
|
|
1116
|
+
*/
|
|
1117
|
+
sTitleStyle?: TitleLevel | keyof typeof TitleLevel
|
|
1118
|
+
): this;
|
|
947
1119
|
/**
|
|
948
1120
|
* Sets a new value for property {@link #getUpdateVariantInURL updateVariantInURL}.
|
|
949
1121
|
*
|
|
@@ -1034,6 +1206,23 @@ declare module "sap/ui/fl/variants/VariantManagement" {
|
|
|
1034
1206
|
| PropertyBindingInfo
|
|
1035
1207
|
| `{${string}}`;
|
|
1036
1208
|
|
|
1209
|
+
/**
|
|
1210
|
+
* @SINCE 1.109
|
|
1211
|
+
*
|
|
1212
|
+
* Defines the style of the title. For more information, see {@link sap.m.Title#setTitleStyle}.
|
|
1213
|
+
*/
|
|
1214
|
+
titleStyle?:
|
|
1215
|
+
| (TitleLevel | keyof typeof TitleLevel)
|
|
1216
|
+
| PropertyBindingInfo
|
|
1217
|
+
| `{${string}}`;
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @SINCE 1.109
|
|
1221
|
+
*
|
|
1222
|
+
* Sets the maximum width of the control.
|
|
1223
|
+
*/
|
|
1224
|
+
maxWidth?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
1225
|
+
|
|
1037
1226
|
/**
|
|
1038
1227
|
* Contains the ids of the controls for which the variant management is responsible.
|
|
1039
1228
|
*/
|
|
@@ -1265,8 +1454,6 @@ declare namespace sap {
|
|
|
1265
1454
|
|
|
1266
1455
|
"sap/ui/fl/apply/_internal/flexObjects/CompVariant": undefined;
|
|
1267
1456
|
|
|
1268
|
-
"sap/ui/fl/apply/_internal/flexObjects/CompVariantRevertData": undefined;
|
|
1269
|
-
|
|
1270
1457
|
"sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange": undefined;
|
|
1271
1458
|
|
|
1272
1459
|
"sap/ui/fl/apply/_internal/flexObjects/FlexObject": undefined;
|
|
@@ -1275,7 +1462,7 @@ declare namespace sap {
|
|
|
1275
1462
|
|
|
1276
1463
|
"sap/ui/fl/apply/_internal/flexObjects/FlVariant": undefined;
|
|
1277
1464
|
|
|
1278
|
-
"sap/ui/fl/apply/_internal/flexObjects/
|
|
1465
|
+
"sap/ui/fl/apply/_internal/flexObjects/UIChange": undefined;
|
|
1279
1466
|
|
|
1280
1467
|
"sap/ui/fl/apply/_internal/flexObjects/UpdatableChange": undefined;
|
|
1281
1468
|
|
|
@@ -1291,8 +1478,12 @@ declare namespace sap {
|
|
|
1291
1478
|
|
|
1292
1479
|
"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState": undefined;
|
|
1293
1480
|
|
|
1481
|
+
"sap/ui/fl/apply/_internal/flexState/DataSelector": undefined;
|
|
1482
|
+
|
|
1294
1483
|
"sap/ui/fl/apply/_internal/flexState/FlexState": undefined;
|
|
1295
1484
|
|
|
1485
|
+
"sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions": undefined;
|
|
1486
|
+
|
|
1296
1487
|
"sap/ui/fl/apply/_internal/flexState/Loader": undefined;
|
|
1297
1488
|
|
|
1298
1489
|
"sap/ui/fl/apply/_internal/flexState/UI2Personalization/UI2PersonalizationState": undefined;
|
|
@@ -1301,6 +1492,8 @@ declare namespace sap {
|
|
|
1301
1492
|
|
|
1302
1493
|
"sap/ui/fl/apply/_internal/preprocessors/EventHistory": undefined;
|
|
1303
1494
|
|
|
1495
|
+
"sap/ui/fl/apply/api/ControlVariantApplyAPI": undefined;
|
|
1496
|
+
|
|
1304
1497
|
"sap/ui/fl/apply/api/DelegateMediatorAPI": undefined;
|
|
1305
1498
|
|
|
1306
1499
|
"sap/ui/fl/apply/api/FlexRuntimeInfoAPI": undefined;
|
|
@@ -1311,8 +1504,6 @@ declare namespace sap {
|
|
|
1311
1504
|
|
|
1312
1505
|
"sap/ui/fl/Cache": undefined;
|
|
1313
1506
|
|
|
1314
|
-
"sap/ui/fl/Change": undefined;
|
|
1315
|
-
|
|
1316
1507
|
"sap/ui/fl/changeHandler/Base": undefined;
|
|
1317
1508
|
|
|
1318
1509
|
"sap/ui/fl/ChangePersistenceFactory": undefined;
|
|
@@ -1343,8 +1534,6 @@ declare namespace sap {
|
|
|
1343
1534
|
|
|
1344
1535
|
"sap/ui/fl/initial/_internal/Storage": undefined;
|
|
1345
1536
|
|
|
1346
|
-
"sap/ui/fl/initial/_internal/storageResultDisassemble": undefined;
|
|
1347
|
-
|
|
1348
1537
|
"sap/ui/fl/initial/_internal/StorageUtils": undefined;
|
|
1349
1538
|
|
|
1350
1539
|
"sap/ui/fl/interfaces/BaseLoadConnector": undefined;
|