@sapui5/ts-types 1.110.0 → 1.111.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/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 +38 -1
- package/types/sap.f.d.ts +8 -11
- package/types/sap.fe.core.d.ts +23 -27
- package/types/sap.fe.macros.d.ts +170 -61
- package/types/sap.fe.navigation.d.ts +19 -52
- package/types/sap.fe.templates.d.ts +16 -16
- package/types/sap.fe.test.d.ts +61 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +42 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +923 -375
- 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 +3 -16
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +34 -1
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +64 -2
- 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 +13 -15
- package/types/sap.ui.core.d.ts +1370 -99
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +5 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +9 -7
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +9 -8
- package/types/sap.ui.layout.d.ts +2 -2
- package/types/sap.ui.mdc.d.ts +10 -34
- package/types/sap.ui.richtexteditor.d.ts +8 -8
- 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 +4 -4
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +57 -2
- 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 +52 -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 +2 -2
- 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/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.111.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace esh {
|
|
@@ -226,6 +226,16 @@ declare namespace sap {
|
|
|
226
226
|
| string
|
|
227
227
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
228
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @SINCE 1.111.0
|
|
231
|
+
*
|
|
232
|
+
* The layout is optimized for object selection / value help (narrow view w/o facet panel).
|
|
233
|
+
*/
|
|
234
|
+
optimizeForValueHelp?:
|
|
235
|
+
| boolean
|
|
236
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
237
|
+
| `{${string}}`;
|
|
238
|
+
|
|
229
239
|
/**
|
|
230
240
|
* Control instances which are part of this composite control.
|
|
231
241
|
*/
|
|
@@ -634,6 +644,16 @@ declare namespace sap {
|
|
|
634
644
|
* @returns Value of property `getCustomNoResultScreen`
|
|
635
645
|
*/
|
|
636
646
|
getGetCustomNoResultScreen(): Function;
|
|
647
|
+
/**
|
|
648
|
+
* @SINCE 1.111.0
|
|
649
|
+
*
|
|
650
|
+
* Gets current value of property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
|
|
651
|
+
*
|
|
652
|
+
* The layout is optimized for object selection / value help (narrow view w/o facet panel).
|
|
653
|
+
*
|
|
654
|
+
* @returns Value of property `optimizeForValueHelp`
|
|
655
|
+
*/
|
|
656
|
+
getOptimizeForValueHelp(): boolean;
|
|
637
657
|
/**
|
|
638
658
|
* @SINCE 1.93.0
|
|
639
659
|
*
|
|
@@ -1009,6 +1029,23 @@ declare namespace sap {
|
|
|
1009
1029
|
*/
|
|
1010
1030
|
fnGetCustomNoResultScreen: Function
|
|
1011
1031
|
): this;
|
|
1032
|
+
/**
|
|
1033
|
+
* @SINCE 1.111.0
|
|
1034
|
+
*
|
|
1035
|
+
* Sets a new value for property {@link #getOptimizeForValueHelp optimizeForValueHelp}.
|
|
1036
|
+
*
|
|
1037
|
+
* The layout is optimized for object selection / value help (narrow view w/o facet panel).
|
|
1038
|
+
*
|
|
1039
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1040
|
+
*
|
|
1041
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1042
|
+
*/
|
|
1043
|
+
setOptimizeForValueHelp(
|
|
1044
|
+
/**
|
|
1045
|
+
* New value for property `optimizeForValueHelp`
|
|
1046
|
+
*/
|
|
1047
|
+
bOptimizeForValueHelp: boolean
|
|
1048
|
+
): this;
|
|
1012
1049
|
/**
|
|
1013
1050
|
* @SINCE 1.93.0
|
|
1014
1051
|
*
|
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.111.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -1835,8 +1835,7 @@ declare namespace sap {
|
|
|
1835
1835
|
rows: int;
|
|
1836
1836
|
|
|
1837
1837
|
columns: int;
|
|
1838
|
-
})
|
|
1839
|
-
| null
|
|
1838
|
+
} | null)
|
|
1840
1839
|
| undefined;
|
|
1841
1840
|
/**
|
|
1842
1841
|
* Sets a new value for property {@link #setDropIndicatorSize dropIndicatorSize}.
|
|
@@ -1860,15 +1859,13 @@ declare namespace sap {
|
|
|
1860
1859
|
/**
|
|
1861
1860
|
* New value for property `dropIndicatorSize`
|
|
1862
1861
|
*/
|
|
1863
|
-
fnDropIndicatorSize?:
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
rows: int;
|
|
1862
|
+
fnDropIndicatorSize?: (
|
|
1863
|
+
p1: sap.ui.core.Control
|
|
1864
|
+
) => {
|
|
1865
|
+
rows: int;
|
|
1868
1866
|
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
| null
|
|
1867
|
+
columns: int;
|
|
1868
|
+
} | null
|
|
1872
1869
|
): this;
|
|
1873
1870
|
}
|
|
1874
1871
|
}
|
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.111.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -46,7 +46,7 @@ declare namespace sap {
|
|
|
46
46
|
/**
|
|
47
47
|
* Context of the editable document
|
|
48
48
|
*/
|
|
49
|
-
oContext:
|
|
49
|
+
oContext: sap.ui.model.odata.v4.Context,
|
|
50
50
|
/**
|
|
51
51
|
* Can contain the following attributes:
|
|
52
52
|
*/
|
|
@@ -72,7 +72,7 @@ declare namespace sap {
|
|
|
72
72
|
/**
|
|
73
73
|
* ODataListBinding object or the binding path for a temporary list binding
|
|
74
74
|
*/
|
|
75
|
-
vListBinding:
|
|
75
|
+
vListBinding: sap.ui.model.odata.v4.ODataListBinding | string,
|
|
76
76
|
/**
|
|
77
77
|
* Contains the following attributes:
|
|
78
78
|
*/
|
|
@@ -134,7 +134,7 @@ declare namespace sap {
|
|
|
134
134
|
/**
|
|
135
135
|
* Context of the active document
|
|
136
136
|
*/
|
|
137
|
-
oContext:
|
|
137
|
+
oContext: sap.ui.model.odata.v4.Context
|
|
138
138
|
): Promise<void>;
|
|
139
139
|
/**
|
|
140
140
|
* @SINCE 1.90.0
|
|
@@ -216,7 +216,7 @@ declare namespace sap {
|
|
|
216
216
|
/**
|
|
217
217
|
* Object containing the parameters passed to onBeforeCreate
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
_mParameters?: {
|
|
220
220
|
/**
|
|
221
221
|
* Path pointing to the context on which Create action is triggered
|
|
222
222
|
*/
|
|
@@ -244,7 +244,7 @@ declare namespace sap {
|
|
|
244
244
|
/**
|
|
245
245
|
* Object containing the parameters passed to onBeforeDelete
|
|
246
246
|
*/
|
|
247
|
-
|
|
247
|
+
_mParameters?: {
|
|
248
248
|
/**
|
|
249
249
|
* An array of contexts that are going to be deleted
|
|
250
250
|
*/
|
|
@@ -268,7 +268,7 @@ declare namespace sap {
|
|
|
268
268
|
/**
|
|
269
269
|
* Object containing the parameters passed to onBeforeDiscard
|
|
270
270
|
*/
|
|
271
|
-
|
|
271
|
+
_mParameters?: {
|
|
272
272
|
/**
|
|
273
273
|
* Page context that is going to be discarded.
|
|
274
274
|
*/
|
|
@@ -292,7 +292,7 @@ declare namespace sap {
|
|
|
292
292
|
/**
|
|
293
293
|
* Object containing the parameters passed to onBeforeEdit
|
|
294
294
|
*/
|
|
295
|
-
|
|
295
|
+
_mParameters?: {
|
|
296
296
|
/**
|
|
297
297
|
* Page context that is going to be edited.
|
|
298
298
|
*/
|
|
@@ -316,7 +316,7 @@ declare namespace sap {
|
|
|
316
316
|
/**
|
|
317
317
|
* Object containing the parameters passed to onBeforeSave
|
|
318
318
|
*/
|
|
319
|
-
|
|
319
|
+
_mParameters?: {
|
|
320
320
|
/**
|
|
321
321
|
* Page context that is going to be saved.
|
|
322
322
|
*/
|
|
@@ -334,11 +334,7 @@ declare namespace sap {
|
|
|
334
334
|
/**
|
|
335
335
|
* Context of the editable document
|
|
336
336
|
*/
|
|
337
|
-
oContext:
|
|
338
|
-
/**
|
|
339
|
-
* undefined
|
|
340
|
-
*/
|
|
341
|
-
mParameters: any
|
|
337
|
+
oContext: sap.ui.model.odata.v4.Context
|
|
342
338
|
): Promise<void>;
|
|
343
339
|
/**
|
|
344
340
|
* @SINCE 1.90.0
|
|
@@ -392,12 +388,12 @@ declare namespace sap {
|
|
|
392
388
|
/**
|
|
393
389
|
* Context of the updated field
|
|
394
390
|
*/
|
|
395
|
-
|
|
391
|
+
updatedContext: object,
|
|
396
392
|
/**
|
|
397
393
|
* Promise to determine when the update operation is completed. The promise should be resolved when the
|
|
398
394
|
* update operation is completed, so the draft status can be updated.
|
|
399
395
|
*/
|
|
400
|
-
|
|
396
|
+
updatePromise: Promise<any>
|
|
401
397
|
): Promise<void>;
|
|
402
398
|
}
|
|
403
399
|
/**
|
|
@@ -419,11 +415,11 @@ declare namespace sap {
|
|
|
419
415
|
/**
|
|
420
416
|
* SelectionVariant provided by SAP Fiori elements.
|
|
421
417
|
*/
|
|
422
|
-
|
|
418
|
+
_oSelectionVariant: /* was: sap.fe.navigation.SelectionVariant */ any,
|
|
423
419
|
/**
|
|
424
420
|
* Object containing intent-based navigation-related info
|
|
425
421
|
*/
|
|
426
|
-
|
|
422
|
+
_oNavigationInfo: {
|
|
427
423
|
/**
|
|
428
424
|
* Action related to the intent
|
|
429
425
|
*/
|
|
@@ -690,7 +686,7 @@ declare namespace sap {
|
|
|
690
686
|
*/
|
|
691
687
|
url: string;
|
|
692
688
|
}
|
|
693
|
-
): object |
|
|
689
|
+
): Promise<object> | object;
|
|
694
690
|
/**
|
|
695
691
|
* @SINCE 1.93.0
|
|
696
692
|
*
|
|
@@ -994,9 +990,9 @@ declare namespace sap {
|
|
|
994
990
|
*
|
|
995
991
|
* @returns The resourceModel of the component
|
|
996
992
|
*/
|
|
997
|
-
getResourceBundle():
|
|
998
|
-
| any
|
|
999
|
-
|
|
|
993
|
+
getResourceBundle():
|
|
994
|
+
| Promise</* was: sap.base.i18n.ResourceBundle */ any>
|
|
995
|
+
| /* was: sap.base.i18n.ResourceBundle */ any;
|
|
1000
996
|
/**
|
|
1001
997
|
* Convenience method for setting the view model in every controller of the application.
|
|
1002
998
|
*
|
|
@@ -1056,9 +1052,9 @@ declare namespace sap {
|
|
|
1056
1052
|
*
|
|
1057
1053
|
* @returns The resourceModel of the component
|
|
1058
1054
|
*/
|
|
1059
|
-
getResourceBundle():
|
|
1060
|
-
| any
|
|
1061
|
-
|
|
|
1055
|
+
getResourceBundle():
|
|
1056
|
+
| Promise</* was: sap.base.i18n.ResourceBundle */ any>
|
|
1057
|
+
| /* was: sap.base.i18n.ResourceBundle */ any;
|
|
1062
1058
|
/**
|
|
1063
1059
|
* Convenience method for setting the view model in every controller of the application.
|
|
1064
1060
|
*
|
|
@@ -1223,7 +1219,7 @@ declare namespace sap {
|
|
|
1223
1219
|
* Name of the model
|
|
1224
1220
|
*/
|
|
1225
1221
|
sModelName?: string
|
|
1226
|
-
):
|
|
1222
|
+
): sap.ui.model.Model | undefined;
|
|
1227
1223
|
/**
|
|
1228
1224
|
* Retrieves the routing controller extension for this page.
|
|
1229
1225
|
*
|
|
@@ -1290,7 +1286,7 @@ declare namespace sap {
|
|
|
1290
1286
|
*
|
|
1291
1287
|
* @returns A promise that resolves with the new app state object.
|
|
1292
1288
|
*/
|
|
1293
|
-
updateAppState(): Promise<
|
|
1289
|
+
updateAppState(): Promise<object | void>;
|
|
1294
1290
|
}
|
|
1295
1291
|
/**
|
|
1296
1292
|
* @SINCE 1.88.0
|
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.111.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace fe {
|
|
@@ -6,6 +6,71 @@ declare namespace sap {
|
|
|
6
6
|
* Library containing the building blocks for SAP Fiori elements.
|
|
7
7
|
*/
|
|
8
8
|
namespace macros {
|
|
9
|
+
namespace chart {
|
|
10
|
+
/**
|
|
11
|
+
* Definition of a custom action to be used inside the chart toolbar
|
|
12
|
+
*/
|
|
13
|
+
type Action = {
|
|
14
|
+
/**
|
|
15
|
+
* Reference to the key of another action already displayed in the toolbar to properly place this one
|
|
16
|
+
*/
|
|
17
|
+
anchor: string;
|
|
18
|
+
/**
|
|
19
|
+
* Enables or disables the action
|
|
20
|
+
*/
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier of the action
|
|
24
|
+
*/
|
|
25
|
+
key: string;
|
|
26
|
+
/**
|
|
27
|
+
* Defines where this action should be placed relative to the defined anchor
|
|
28
|
+
* Allowed values are `Before` and `After`
|
|
29
|
+
*/
|
|
30
|
+
placement: string;
|
|
31
|
+
/**
|
|
32
|
+
* Event handler to be called when the user chooses the action
|
|
33
|
+
*/
|
|
34
|
+
press: string;
|
|
35
|
+
/**
|
|
36
|
+
* Defines if the action requires a selection.
|
|
37
|
+
*/
|
|
38
|
+
requiresSelection: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The text that will be displayed for this action
|
|
41
|
+
*/
|
|
42
|
+
text: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Definition of a custom action group to be used inside the chart toolbar
|
|
47
|
+
*/
|
|
48
|
+
type ActionGroup = {
|
|
49
|
+
/**
|
|
50
|
+
* Defines nested actions
|
|
51
|
+
*/
|
|
52
|
+
actions: undefined[];
|
|
53
|
+
/**
|
|
54
|
+
* Reference to the key of another action or action group already displayed in the toolbar to properly place
|
|
55
|
+
* this one
|
|
56
|
+
*/
|
|
57
|
+
anchor: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unique identifier of the action
|
|
60
|
+
*/
|
|
61
|
+
key: string;
|
|
62
|
+
/**
|
|
63
|
+
* Defines where this action group should be placed relative to the defined anchor
|
|
64
|
+
* Allowed values are `Before` and `After`
|
|
65
|
+
*/
|
|
66
|
+
placement: string;
|
|
67
|
+
/**
|
|
68
|
+
* The text that will be displayed for this action group
|
|
69
|
+
*/
|
|
70
|
+
text: string;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
9
74
|
namespace field {
|
|
10
75
|
interface $TextAreaExSettings extends sap.m.$TextAreaSettings {}
|
|
11
76
|
|
|
@@ -53,6 +118,34 @@ declare namespace sap {
|
|
|
53
118
|
text: string;
|
|
54
119
|
};
|
|
55
120
|
|
|
121
|
+
/**
|
|
122
|
+
* Definition of a custom ActionGroup to be used inside the table toolbar
|
|
123
|
+
*/
|
|
124
|
+
type ActionGroup = {
|
|
125
|
+
/**
|
|
126
|
+
* Defines nested actions
|
|
127
|
+
*/
|
|
128
|
+
actions: undefined[];
|
|
129
|
+
/**
|
|
130
|
+
* Reference to the key of another action or action group already displayed in the toolbar to properly place
|
|
131
|
+
* this one
|
|
132
|
+
*/
|
|
133
|
+
anchor: string;
|
|
134
|
+
/**
|
|
135
|
+
* Unique identifier of the ActionGroup
|
|
136
|
+
*/
|
|
137
|
+
key: string;
|
|
138
|
+
/**
|
|
139
|
+
* Defines where this action group should be placed relative to the defined anchor
|
|
140
|
+
* Allowed values are `Before` and `After`
|
|
141
|
+
*/
|
|
142
|
+
placement: string;
|
|
143
|
+
/**
|
|
144
|
+
* The text that will be displayed for this action group
|
|
145
|
+
*/
|
|
146
|
+
text: string;
|
|
147
|
+
};
|
|
148
|
+
|
|
56
149
|
/**
|
|
57
150
|
* Definition of a custom column to be used inside the table.
|
|
58
151
|
* The template for the column has to be provided as the default aggregation
|
|
@@ -107,6 +200,19 @@ declare namespace sap {
|
|
|
107
200
|
*/
|
|
108
201
|
filterBar?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
109
202
|
|
|
203
|
+
/**
|
|
204
|
+
* Specifies the header text that is shown in the chart
|
|
205
|
+
*/
|
|
206
|
+
header?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Controls if the header text should be shown or not
|
|
210
|
+
*/
|
|
211
|
+
headerVisible?:
|
|
212
|
+
| boolean
|
|
213
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
214
|
+
| `{${string}}`;
|
|
215
|
+
|
|
110
216
|
/**
|
|
111
217
|
* ID of the chart
|
|
112
218
|
*/
|
|
@@ -118,7 +224,7 @@ declare namespace sap {
|
|
|
118
224
|
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
119
225
|
|
|
120
226
|
/**
|
|
121
|
-
* Parameter which sets the personalization of the
|
|
227
|
+
* Parameter which sets the personalization of the MDC_Chart
|
|
122
228
|
*/
|
|
123
229
|
personalization?:
|
|
124
230
|
| boolean
|
|
@@ -130,6 +236,18 @@ declare namespace sap {
|
|
|
130
236
|
* Specifies the selection mode
|
|
131
237
|
*/
|
|
132
238
|
selectionMode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* This is the parameter that specifies variant management for chart
|
|
242
|
+
*/
|
|
243
|
+
variantManagement?:
|
|
244
|
+
| string
|
|
245
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Aggregate actions of the chart.
|
|
249
|
+
*/
|
|
250
|
+
actions?: sap.fe.macros.chart.Action;
|
|
133
251
|
}
|
|
134
252
|
|
|
135
253
|
interface $FieldSettings extends sap.fe.macros.$MacroAPISettings {
|
|
@@ -257,14 +375,18 @@ declare namespace sap {
|
|
|
257
375
|
title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
258
376
|
}
|
|
259
377
|
|
|
260
|
-
interface $FormElementSettings extends sap.
|
|
378
|
+
interface $FormElementSettings extends sap.ui.core.$ControlSettings {
|
|
261
379
|
/**
|
|
262
|
-
* Defines the path of the context used in the current page or block.
|
|
380
|
+
* Defines the path of the context used in the current page or block.
|
|
381
|
+
* This setting is defined by the framework.
|
|
263
382
|
*/
|
|
264
|
-
contextPath?:
|
|
383
|
+
contextPath?:
|
|
384
|
+
| sap.ui.model.Context
|
|
385
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
386
|
+
| `{${string}}`;
|
|
265
387
|
|
|
266
388
|
/**
|
|
267
|
-
* The identifier of the FormElement
|
|
389
|
+
* The identifier of the FormElement building block.
|
|
268
390
|
*/
|
|
269
391
|
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
270
392
|
|
|
@@ -276,7 +398,10 @@ declare namespace sap {
|
|
|
276
398
|
/**
|
|
277
399
|
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
278
400
|
*/
|
|
279
|
-
metaPath?:
|
|
401
|
+
metaPath?:
|
|
402
|
+
| sap.ui.model.Context
|
|
403
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
404
|
+
| `{${string}}`;
|
|
280
405
|
|
|
281
406
|
/**
|
|
282
407
|
* If set to false, the FormElement is not rendered.
|
|
@@ -452,49 +577,6 @@ declare namespace sap {
|
|
|
452
577
|
columns?: sap.fe.macros.table.Column;
|
|
453
578
|
}
|
|
454
579
|
|
|
455
|
-
/**
|
|
456
|
-
* @SINCE 1.93.0
|
|
457
|
-
*
|
|
458
|
-
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
459
|
-
*/
|
|
460
|
-
class MicroChart {
|
|
461
|
-
constructor();
|
|
462
|
-
}
|
|
463
|
-
/**
|
|
464
|
-
* @SINCE 1.94.0
|
|
465
|
-
*
|
|
466
|
-
* Building block used to create a paginator control.
|
|
467
|
-
*
|
|
468
|
-
* Usage example:
|
|
469
|
-
* ```javascript
|
|
470
|
-
*
|
|
471
|
-
* <macro:Paginator />
|
|
472
|
-
* ```
|
|
473
|
-
*/
|
|
474
|
-
class Paginator {
|
|
475
|
-
constructor();
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* @SINCE 1.93.0
|
|
479
|
-
*
|
|
480
|
-
* Building block used to create the ‘Share’ functionality.
|
|
481
|
-
* Please note that the 'Share in SAP Jam' option is only available on platforms that are integrated with
|
|
482
|
-
* SAP Jam.
|
|
483
|
-
* If you are consuming this macro in an environment where the SAP Fiori launchpad is not available, then
|
|
484
|
-
* the 'Save as Tile' option is not visible.
|
|
485
|
-
*
|
|
486
|
-
* Usage example:
|
|
487
|
-
* ```javascript
|
|
488
|
-
*
|
|
489
|
-
* <macro:Share
|
|
490
|
-
* id="someID"
|
|
491
|
-
* visible="true"
|
|
492
|
-
* />
|
|
493
|
-
* ```
|
|
494
|
-
*/
|
|
495
|
-
class Share {
|
|
496
|
-
constructor();
|
|
497
|
-
}
|
|
498
580
|
/**
|
|
499
581
|
* Base API control for building blocks.
|
|
500
582
|
*/
|
|
@@ -515,6 +597,13 @@ declare namespace sap {
|
|
|
515
597
|
*/
|
|
516
598
|
class Chart extends sap.fe.macros.MacroAPI {
|
|
517
599
|
constructor();
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Gets contexts from the chart that have been selected by the user.
|
|
603
|
+
*
|
|
604
|
+
* @returns Contexts of the rows selected by the user
|
|
605
|
+
*/
|
|
606
|
+
getSelectedContexts(): sap.ui.model.odata.v4.Context[];
|
|
518
607
|
}
|
|
519
608
|
/**
|
|
520
609
|
* Building block for creating a field based on the metadata provided by OData V4.
|
|
@@ -565,7 +654,7 @@ declare namespace sap {
|
|
|
565
654
|
*
|
|
566
655
|
* @returns The current value of the field
|
|
567
656
|
*/
|
|
568
|
-
getValue():
|
|
657
|
+
getValue(): boolean | string;
|
|
569
658
|
/**
|
|
570
659
|
* Removes a message from the field.
|
|
571
660
|
*/
|
|
@@ -619,11 +708,11 @@ declare namespace sap {
|
|
|
619
708
|
/**
|
|
620
709
|
* undefined
|
|
621
710
|
*/
|
|
622
|
-
sOperator:
|
|
711
|
+
sOperator: string | undefined,
|
|
623
712
|
/**
|
|
624
713
|
* The values to be applied
|
|
625
714
|
*/
|
|
626
|
-
vValues?:
|
|
715
|
+
vValues?: boolean | boolean[] | number | number[] | string | string[]
|
|
627
716
|
): Promise<void>;
|
|
628
717
|
}
|
|
629
718
|
/**
|
|
@@ -643,9 +732,11 @@ declare namespace sap {
|
|
|
643
732
|
constructor();
|
|
644
733
|
}
|
|
645
734
|
/**
|
|
735
|
+
* @SINCE 1.90.0
|
|
736
|
+
*
|
|
646
737
|
* Building block used to create a form element based on the metadata provided by OData V4.
|
|
647
738
|
*/
|
|
648
|
-
class FormElement extends sap.
|
|
739
|
+
class FormElement extends sap.ui.core.Control {
|
|
649
740
|
constructor();
|
|
650
741
|
}
|
|
651
742
|
/**
|
|
@@ -727,6 +818,30 @@ declare namespace sap {
|
|
|
727
818
|
* Allowed values are "Hidden" and "ReadOnly"
|
|
728
819
|
*/
|
|
729
820
|
measureDisplayMode: string;
|
|
821
|
+
/**
|
|
822
|
+
* Defines if the date part of a date time with timezone field should be shown.
|
|
823
|
+
*
|
|
824
|
+
* The dateTimeOffset field must have a timezone annotation.
|
|
825
|
+
*
|
|
826
|
+
* Allowed values are "true" and "false". The default value is "true".
|
|
827
|
+
*/
|
|
828
|
+
showDate: string;
|
|
829
|
+
/**
|
|
830
|
+
* Defines if the time part of a date time with timezone field should be shown.
|
|
831
|
+
*
|
|
832
|
+
* The dateTimeOffset field must have a timezone annotation.
|
|
833
|
+
*
|
|
834
|
+
* Allowed values are "true" and "false". The default value is "true".
|
|
835
|
+
*/
|
|
836
|
+
showTime: string;
|
|
837
|
+
/**
|
|
838
|
+
* Defines if the timezone part of a date time with timezone field should be shown.
|
|
839
|
+
*
|
|
840
|
+
* The dateTimeOffset field must have a timezone annotation.
|
|
841
|
+
*
|
|
842
|
+
* Allowed values are "true" and "false". The default value is "true".
|
|
843
|
+
*/
|
|
844
|
+
showTimezone: string;
|
|
730
845
|
/**
|
|
731
846
|
* Defines how the full text will be displayed.
|
|
732
847
|
*
|
|
@@ -795,18 +910,12 @@ declare namespace sap {
|
|
|
795
910
|
|
|
796
911
|
"sap/fe/macros/form/FormAPI": undefined;
|
|
797
912
|
|
|
798
|
-
"sap/fe/macros/form/
|
|
913
|
+
"sap/fe/macros/form/FormElementBlock": undefined;
|
|
799
914
|
|
|
800
915
|
"sap/fe/macros/library": undefined;
|
|
801
916
|
|
|
802
917
|
"sap/fe/macros/MacroAPI": undefined;
|
|
803
918
|
|
|
804
|
-
"sap/fe/macros/microchart/MicroChart.metadata": undefined;
|
|
805
|
-
|
|
806
|
-
"sap/fe/macros/paginator/Paginator.metadata": undefined;
|
|
807
|
-
|
|
808
|
-
"sap/fe/macros/share/Share.block": undefined;
|
|
809
|
-
|
|
810
919
|
"sap/fe/macros/table/TableAPI": undefined;
|
|
811
920
|
}
|
|
812
921
|
}
|