@sapui5/ts-types 1.145.1 → 1.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +3 -6
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +4 -7
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +59 -67
- package/types/sap.f.d.ts +214 -528
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1725 -1041
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +49 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +229 -1
- package/types/sap.insights.d.ts +14 -1
- package/types/{mobile-1.145.0-d.ts → sap.m.d.ts} +607 -48
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +294 -10
- package/types/sap.suite.ui.generic.template.d.ts +79 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +9 -19
- package/types/sap.ui.codeeditor.d.ts +82 -46
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +5 -15
- package/types/{core-1.145.0-d.ts → sap.ui.core.d.ts} +1209 -376
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +9 -1
- package/types/sap.ui.generic.app.d.ts +5 -5
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +87 -289
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.145.0-d.ts → sap.ui.mdc.d.ts} +108 -21
- package/types/sap.ui.richtexteditor.d.ts +6 -6
- 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 +2 -2
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +41 -11
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +8 -24
- package/types/sap.ui.vk.d.ts +216 -2
- package/types/sap.ui.vtm.d.ts +2 -2
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +590 -196
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +146 -1
- package/types/sap.viz.d.ts +4 -5
- 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.ui.webc.common.d.ts +0 -173
- package/types/sap.ui.webc.fiori.d.ts +0 -16012
- package/types/sap.ui.webc.main.d.ts +0 -51158
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.147.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -16,7 +16,6 @@ declare namespace sap {
|
|
|
16
16
|
* Validates if the provided value belongs to the icon pool.
|
|
17
17
|
*
|
|
18
18
|
* @since 1.81
|
|
19
|
-
* @experimental As of version 1.81.
|
|
20
19
|
*/
|
|
21
20
|
namespace IsInIconPool {
|
|
22
21
|
/**
|
|
@@ -40,7 +39,6 @@ declare namespace sap {
|
|
|
40
39
|
* Validates if the provided value is a boolean or binding string.
|
|
41
40
|
*
|
|
42
41
|
* @since 1.81
|
|
43
|
-
* @experimental As of version 1.81.
|
|
44
42
|
*/
|
|
45
43
|
interface IsBoolean {
|
|
46
44
|
/**
|
|
@@ -61,7 +59,6 @@ declare namespace sap {
|
|
|
61
59
|
* Validates if the provided value can be parsed to a valid date.
|
|
62
60
|
*
|
|
63
61
|
* @since 1.81
|
|
64
|
-
* @experimental As of version 1.81.
|
|
65
62
|
*/
|
|
66
63
|
interface IsDate {
|
|
67
64
|
/**
|
|
@@ -82,7 +79,6 @@ declare namespace sap {
|
|
|
82
79
|
* Validates if the provided value is an integer or binding string.
|
|
83
80
|
*
|
|
84
81
|
* @since 1.81
|
|
85
|
-
* @experimental As of version 1.81.
|
|
86
82
|
*/
|
|
87
83
|
interface IsInteger {
|
|
88
84
|
/**
|
|
@@ -103,7 +99,6 @@ declare namespace sap {
|
|
|
103
99
|
* Validates if the provided value is a number or binding string.
|
|
104
100
|
*
|
|
105
101
|
* @since 1.81
|
|
106
|
-
* @experimental As of version 1.81.
|
|
107
102
|
*/
|
|
108
103
|
interface IsNumber {
|
|
109
104
|
/**
|
|
@@ -124,7 +119,6 @@ declare namespace sap {
|
|
|
124
119
|
* Validates if the provided value is one of the given keys.
|
|
125
120
|
*
|
|
126
121
|
* @since 1.81
|
|
127
|
-
* @experimental As of version 1.81.
|
|
128
122
|
*/
|
|
129
123
|
interface IsSelectedKey {
|
|
130
124
|
/**
|
|
@@ -154,7 +148,6 @@ declare namespace sap {
|
|
|
154
148
|
* Validates if none of the provided values is an invalid binding.
|
|
155
149
|
*
|
|
156
150
|
* @since 1.81
|
|
157
|
-
* @experimental As of version 1.81.
|
|
158
151
|
*/
|
|
159
152
|
interface IsStringList {
|
|
160
153
|
/**
|
|
@@ -175,7 +168,6 @@ declare namespace sap {
|
|
|
175
168
|
* Validates if the provided key is unique in a list of given keys.
|
|
176
169
|
*
|
|
177
170
|
* @since 1.81
|
|
178
|
-
* @experimental As of version 1.81.
|
|
179
171
|
*/
|
|
180
172
|
interface IsUniqueKey {
|
|
181
173
|
/**
|
|
@@ -209,7 +201,6 @@ declare namespace sap {
|
|
|
209
201
|
* Validates if the provided list contains no duplicates.
|
|
210
202
|
*
|
|
211
203
|
* @since 1.81
|
|
212
|
-
* @experimental As of version 1.81.
|
|
213
204
|
*/
|
|
214
205
|
interface IsUniqueList {
|
|
215
206
|
/**
|
|
@@ -230,7 +221,6 @@ declare namespace sap {
|
|
|
230
221
|
* Validates if the provided value is a valid binding.
|
|
231
222
|
*
|
|
232
223
|
* @since 1.81
|
|
233
|
-
* @experimental As of version 1.81.
|
|
234
224
|
*/
|
|
235
225
|
interface IsValidBinding {
|
|
236
226
|
/**
|
|
@@ -260,7 +250,6 @@ declare namespace sap {
|
|
|
260
250
|
* Validates if the provided value doesn't exceed the maximum length.
|
|
261
251
|
*
|
|
262
252
|
* @since 1.81
|
|
263
|
-
* @experimental As of version 1.81.
|
|
264
253
|
*/
|
|
265
254
|
interface MaxLength {
|
|
266
255
|
/**
|
|
@@ -281,7 +270,6 @@ declare namespace sap {
|
|
|
281
270
|
* Validates if the provided value doesn't contain a binding.
|
|
282
271
|
*
|
|
283
272
|
* @since 1.81
|
|
284
|
-
* @experimental As of version 1.81.
|
|
285
273
|
*/
|
|
286
274
|
interface NotABinding {
|
|
287
275
|
/**
|
|
@@ -304,8 +292,6 @@ declare namespace sap {
|
|
|
304
292
|
namespace editor {
|
|
305
293
|
/**
|
|
306
294
|
* Facade of the {@link sap.ui.integration.editor.Editor} control.
|
|
307
|
-
*
|
|
308
|
-
* @experimental As of version 1.94.
|
|
309
295
|
*/
|
|
310
296
|
interface EditorFacade {
|
|
311
297
|
__implements__sap_ui_integration_editor_EditorFacade: boolean;
|
|
@@ -313,7 +299,6 @@ declare namespace sap {
|
|
|
313
299
|
/**
|
|
314
300
|
* Performs an HTTP request using the given configuration.
|
|
315
301
|
*
|
|
316
|
-
* @experimental As of version 1.94.
|
|
317
302
|
*
|
|
318
303
|
* @returns Resolves when the request is successful, rejects otherwise.
|
|
319
304
|
*/
|
|
@@ -421,9 +406,7 @@ declare namespace sap {
|
|
|
421
406
|
/**
|
|
422
407
|
* Adds some actionDefinition to the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
423
408
|
*
|
|
424
|
-
* @
|
|
425
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
426
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
409
|
+
* @experimental As of version 1.85.
|
|
427
410
|
*
|
|
428
411
|
* @returns Reference to `this` in order to allow method chaining
|
|
429
412
|
*/
|
|
@@ -436,9 +419,7 @@ declare namespace sap {
|
|
|
436
419
|
/**
|
|
437
420
|
* Destroys all the actionDefinitions in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
438
421
|
*
|
|
439
|
-
* @
|
|
440
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
441
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
422
|
+
* @experimental As of version 1.85.
|
|
442
423
|
*
|
|
443
424
|
* @returns Reference to `this` in order to allow method chaining
|
|
444
425
|
*/
|
|
@@ -449,24 +430,9 @@ declare namespace sap {
|
|
|
449
430
|
* Actions definitions from which actions in the header menu of the card are created. **Note**: This aggregation
|
|
450
431
|
* is destroyed when the property `manifest` changes.
|
|
451
432
|
*
|
|
452
|
-
* @
|
|
453
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
454
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
433
|
+
* @experimental As of version 1.85.
|
|
455
434
|
*/
|
|
456
435
|
getActionDefinitions(): sap.ui.integration.ActionDefinition[];
|
|
457
|
-
/**
|
|
458
|
-
* Gets current value of property {@link #getBaseUrl baseUrl}.
|
|
459
|
-
*
|
|
460
|
-
* Defines the base URL of the card manifest. It should be used when manifest property is an object instead
|
|
461
|
-
* of a URL. If both manifest URL and base URL are defined - the base URL will be used for loading dependencies.
|
|
462
|
-
* If both manifest URL and base URL are not defined - relative resources might not be loaded correctly.
|
|
463
|
-
*
|
|
464
|
-
* @since 1.70
|
|
465
|
-
* @experimental As of version 1.70.
|
|
466
|
-
*
|
|
467
|
-
* @returns Value of property `baseUrl`
|
|
468
|
-
*/
|
|
469
|
-
getBaseUrl(): sap.ui.core.URI;
|
|
470
436
|
/**
|
|
471
437
|
* Get information about the blocking message in the card.
|
|
472
438
|
*
|
|
@@ -577,9 +543,7 @@ declare namespace sap {
|
|
|
577
543
|
* Checks for the provided `sap.ui.integration.ActionDefinition` in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
578
544
|
* and returns its index if found or -1 otherwise.
|
|
579
545
|
*
|
|
580
|
-
* @
|
|
581
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
582
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
546
|
+
* @experimental As of version 1.85.
|
|
583
547
|
*
|
|
584
548
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
585
549
|
*/
|
|
@@ -592,9 +556,7 @@ declare namespace sap {
|
|
|
592
556
|
/**
|
|
593
557
|
* Inserts a actionDefinition into the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
594
558
|
*
|
|
595
|
-
* @
|
|
596
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
597
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
559
|
+
* @experimental As of version 1.85.
|
|
598
560
|
*
|
|
599
561
|
* @returns Reference to `this` in order to allow method chaining
|
|
600
562
|
*/
|
|
@@ -613,7 +575,7 @@ declare namespace sap {
|
|
|
613
575
|
/**
|
|
614
576
|
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
615
577
|
*
|
|
616
|
-
* @experimental As of version 1.65.
|
|
578
|
+
* @experimental As of version 1.65.
|
|
617
579
|
*/
|
|
618
580
|
refresh(): void;
|
|
619
581
|
/**
|
|
@@ -625,9 +587,7 @@ declare namespace sap {
|
|
|
625
587
|
/**
|
|
626
588
|
* Removes a actionDefinition from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
627
589
|
*
|
|
628
|
-
* @
|
|
629
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
630
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
590
|
+
* @experimental As of version 1.85.
|
|
631
591
|
*
|
|
632
592
|
* @returns The removed actionDefinition or `null`
|
|
633
593
|
*/
|
|
@@ -805,11 +765,11 @@ declare namespace sap {
|
|
|
805
765
|
}
|
|
806
766
|
): void;
|
|
807
767
|
/**
|
|
808
|
-
* Causes all
|
|
768
|
+
* Causes all the controls within the Card that support validation to validate their data.
|
|
809
769
|
*
|
|
810
|
-
* @experimental
|
|
770
|
+
* @experimental As of version 1.106.
|
|
811
771
|
*
|
|
812
|
-
* @returns if all
|
|
772
|
+
* @returns if all the controls validated successfully; otherwise, false
|
|
813
773
|
*/
|
|
814
774
|
validateControls(): boolean;
|
|
815
775
|
}
|
|
@@ -836,7 +796,7 @@ declare namespace sap {
|
|
|
836
796
|
* Overrides the default values of the parameters, which are defined in the manifest. The value is an object
|
|
837
797
|
* containing parameters in format `{parameterKey: parameterValue}`.
|
|
838
798
|
*
|
|
839
|
-
* @experimental As of version 1.65.
|
|
799
|
+
* @experimental As of version 1.65.
|
|
840
800
|
*/
|
|
841
801
|
parameters?:
|
|
842
802
|
| object
|
|
@@ -846,7 +806,6 @@ declare namespace sap {
|
|
|
846
806
|
/**
|
|
847
807
|
* Defines the state of the `Card`. When set to `Inactive`, the `Card` doesn't make requests.
|
|
848
808
|
*
|
|
849
|
-
* @since 1.65
|
|
850
809
|
* @experimental As of version 1.65.
|
|
851
810
|
*/
|
|
852
811
|
dataMode?:
|
|
@@ -855,12 +814,13 @@ declare namespace sap {
|
|
|
855
814
|
| `{${string}}`;
|
|
856
815
|
|
|
857
816
|
/**
|
|
858
|
-
* Defines the base URL of the card manifest. It
|
|
859
|
-
*
|
|
860
|
-
* If both manifest URL and base URL are not defined - relative resources might not be loaded correctly.
|
|
817
|
+
* Defines the base URL of the card manifest. It must be provided when the manifest is an object and not
|
|
818
|
+
* a URL. The base URL is used to load relatively referenced resources.
|
|
861
819
|
*
|
|
862
|
-
*
|
|
863
|
-
*
|
|
820
|
+
* If the base URL is not defined and the manifest URL is defined, the manifest URL is used as the base
|
|
821
|
+
* URL.
|
|
822
|
+
* - If both the manifest URL and the base URL are defined, the base URL is used.
|
|
823
|
+
* - If neither the manifest URL nor the base URL is defined, relative resources will not load correctly.
|
|
864
824
|
*/
|
|
865
825
|
baseUrl?:
|
|
866
826
|
| sap.ui.core.URI
|
|
@@ -905,9 +865,9 @@ declare namespace sap {
|
|
|
905
865
|
* ```
|
|
906
866
|
*
|
|
907
867
|
*
|
|
908
|
-
*
|
|
909
|
-
*
|
|
910
|
-
*
|
|
868
|
+
* Disclaimer: this API might be removed when a permanent solution for flexibility changes is implemented.
|
|
869
|
+
*
|
|
870
|
+
* @experimental As of version 1.76.
|
|
911
871
|
*/
|
|
912
872
|
manifestChanges?:
|
|
913
873
|
| object[]
|
|
@@ -917,7 +877,6 @@ declare namespace sap {
|
|
|
917
877
|
/**
|
|
918
878
|
* Defines the design of the `Card`.
|
|
919
879
|
*
|
|
920
|
-
* @since 1.109
|
|
921
880
|
* @experimental As of version 1.109.
|
|
922
881
|
*/
|
|
923
882
|
design?:
|
|
@@ -925,17 +884,6 @@ declare namespace sap {
|
|
|
925
884
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
926
885
|
| `{${string}}`;
|
|
927
886
|
|
|
928
|
-
/**
|
|
929
|
-
* Defines the display variant for card rendering and behavior.
|
|
930
|
-
*
|
|
931
|
-
* @since 1.118
|
|
932
|
-
* @experimental As of version 1.118. For usage only by Work Zone.
|
|
933
|
-
*/
|
|
934
|
-
displayVariant?:
|
|
935
|
-
| sap.ui.integration.CardDisplayVariant
|
|
936
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
937
|
-
| `{${string}}`;
|
|
938
|
-
|
|
939
887
|
/**
|
|
940
888
|
* Preview mode of the `Card`. Helpful in scenarios when the end user is choosing or configuring a card.
|
|
941
889
|
*
|
|
@@ -944,7 +892,6 @@ declare namespace sap {
|
|
|
944
892
|
* - When set to "Abstract", the card shows abstract placeholder without loading data.
|
|
945
893
|
* - When set to "Off", the card displays real data.
|
|
946
894
|
*
|
|
947
|
-
* @since 1.112
|
|
948
895
|
* @experimental As of version 1.112.
|
|
949
896
|
*/
|
|
950
897
|
previewMode?:
|
|
@@ -956,7 +903,6 @@ declare namespace sap {
|
|
|
956
903
|
* If the card should change depending on its size. This property is temporary. Should be used to enable
|
|
957
904
|
* the feature for cards where it is needed.
|
|
958
905
|
*
|
|
959
|
-
* @since 1.127
|
|
960
906
|
* @experimental As of version 1.127.
|
|
961
907
|
*/
|
|
962
908
|
useProgressiveDisclosure?:
|
|
@@ -970,7 +916,6 @@ declare namespace sap {
|
|
|
970
916
|
* **Note**: If the "Default" option is used, the card must be allowed to grow in height as much as it needs
|
|
971
917
|
* to avoid overflowing. Use a layout which allows this.
|
|
972
918
|
*
|
|
973
|
-
* @since 1.133
|
|
974
919
|
* @experimental As of version 1.133.
|
|
975
920
|
*/
|
|
976
921
|
overflow?:
|
|
@@ -982,9 +927,7 @@ declare namespace sap {
|
|
|
982
927
|
* Actions definitions from which actions in the header menu of the card are created. **Note**: This aggregation
|
|
983
928
|
* is destroyed when the property `manifest` changes.
|
|
984
929
|
*
|
|
985
|
-
* @
|
|
986
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
987
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
930
|
+
* @experimental As of version 1.85.
|
|
988
931
|
*/
|
|
989
932
|
actionDefinitions?:
|
|
990
933
|
| sap.ui.integration.ActionDefinition[]
|
|
@@ -1004,8 +947,7 @@ declare namespace sap {
|
|
|
1004
947
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
1005
948
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
1006
949
|
*
|
|
1007
|
-
* @experimental As of version 1.64.
|
|
1008
|
-
* may be done before its official public release. Use at your own discretion.
|
|
950
|
+
* @experimental As of version 1.64.
|
|
1009
951
|
*/
|
|
1010
952
|
action?: (oEvent: Card$ActionEvent) => void;
|
|
1011
953
|
|
|
@@ -1036,8 +978,7 @@ declare namespace sap {
|
|
|
1036
978
|
/**
|
|
1037
979
|
* Parameters of the Card#action event.
|
|
1038
980
|
*
|
|
1039
|
-
* @experimental As of version 1.64.
|
|
1040
|
-
* may be done before its official public release. Use at your own discretion.
|
|
981
|
+
* @experimental As of version 1.64.
|
|
1041
982
|
*/
|
|
1042
983
|
interface Card$ActionEventParameters {
|
|
1043
984
|
/**
|
|
@@ -1224,9 +1165,7 @@ declare namespace sap {
|
|
|
1224
1165
|
/**
|
|
1225
1166
|
* Adds some actionDefinition to the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
1226
1167
|
*
|
|
1227
|
-
* @
|
|
1228
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1229
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1168
|
+
* @experimental As of version 1.85.
|
|
1230
1169
|
*
|
|
1231
1170
|
* @returns Reference to `this` in order to allow method chaining
|
|
1232
1171
|
*/
|
|
@@ -1248,8 +1187,7 @@ declare namespace sap {
|
|
|
1248
1187
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
1249
1188
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
1250
1189
|
*
|
|
1251
|
-
* @experimental As of version 1.64.
|
|
1252
|
-
* may be done before its official public release. Use at your own discretion.
|
|
1190
|
+
* @experimental As of version 1.64.
|
|
1253
1191
|
*
|
|
1254
1192
|
* @returns Reference to `this` in order to allow method chaining
|
|
1255
1193
|
*/
|
|
@@ -1280,8 +1218,7 @@ declare namespace sap {
|
|
|
1280
1218
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
1281
1219
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
1282
1220
|
*
|
|
1283
|
-
* @experimental As of version 1.64.
|
|
1284
|
-
* may be done before its official public release. Use at your own discretion.
|
|
1221
|
+
* @experimental As of version 1.64.
|
|
1285
1222
|
*
|
|
1286
1223
|
* @returns Reference to `this` in order to allow method chaining
|
|
1287
1224
|
*/
|
|
@@ -1451,9 +1388,7 @@ declare namespace sap {
|
|
|
1451
1388
|
/**
|
|
1452
1389
|
* Destroys all the actionDefinitions in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
1453
1390
|
*
|
|
1454
|
-
* @
|
|
1455
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1456
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1391
|
+
* @experimental As of version 1.85.
|
|
1457
1392
|
*
|
|
1458
1393
|
* @returns Reference to `this` in order to allow method chaining
|
|
1459
1394
|
*/
|
|
@@ -1463,8 +1398,7 @@ declare namespace sap {
|
|
|
1463
1398
|
*
|
|
1464
1399
|
* The passed function and listener object must match the ones used for event registration.
|
|
1465
1400
|
*
|
|
1466
|
-
* @experimental As of version 1.64.
|
|
1467
|
-
* may be done before its official public release. Use at your own discretion.
|
|
1401
|
+
* @experimental As of version 1.64.
|
|
1468
1402
|
*
|
|
1469
1403
|
* @returns Reference to `this` in order to allow method chaining
|
|
1470
1404
|
*/
|
|
@@ -1543,8 +1477,7 @@ declare namespace sap {
|
|
|
1543
1477
|
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
1544
1478
|
* event object. The return value of this method indicates whether the default action should be executed.
|
|
1545
1479
|
*
|
|
1546
|
-
* @experimental As of version 1.64.
|
|
1547
|
-
* may be done before its official public release. Use at your own discretion.
|
|
1480
|
+
* @experimental As of version 1.64.
|
|
1548
1481
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1549
1482
|
*
|
|
1550
1483
|
* @returns Whether or not to prevent the default action
|
|
@@ -1603,20 +1536,21 @@ declare namespace sap {
|
|
|
1603
1536
|
* Actions definitions from which actions in the header menu of the card are created. **Note**: This aggregation
|
|
1604
1537
|
* is destroyed when the property `manifest` changes.
|
|
1605
1538
|
*
|
|
1606
|
-
* @
|
|
1607
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1608
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1539
|
+
* @experimental As of version 1.85.
|
|
1609
1540
|
*/
|
|
1610
1541
|
getActionDefinitions(): sap.ui.integration.ActionDefinition[];
|
|
1611
1542
|
/**
|
|
1612
1543
|
* Gets current value of property {@link #getBaseUrl baseUrl}.
|
|
1613
1544
|
*
|
|
1614
|
-
* Defines the base URL of the card manifest. It
|
|
1615
|
-
*
|
|
1616
|
-
*
|
|
1545
|
+
* Defines the base URL of the card manifest. It must be provided when the manifest is an object and not
|
|
1546
|
+
* a URL. The base URL is used to load relatively referenced resources.
|
|
1547
|
+
*
|
|
1548
|
+
* If the base URL is not defined and the manifest URL is defined, the manifest URL is used as the base
|
|
1549
|
+
* URL.
|
|
1550
|
+
* - If both the manifest URL and the base URL are defined, the base URL is used.
|
|
1551
|
+
* - If neither the manifest URL nor the base URL is defined, relative resources will not load correctly.
|
|
1552
|
+
*
|
|
1617
1553
|
*
|
|
1618
|
-
* @since 1.70
|
|
1619
|
-
* @experimental As of version 1.70.
|
|
1620
1554
|
*
|
|
1621
1555
|
* @returns Value of property `baseUrl`
|
|
1622
1556
|
*/
|
|
@@ -1650,7 +1584,6 @@ declare namespace sap {
|
|
|
1650
1584
|
*
|
|
1651
1585
|
* Default value is `Auto`.
|
|
1652
1586
|
*
|
|
1653
|
-
* @since 1.65
|
|
1654
1587
|
* @experimental As of version 1.65.
|
|
1655
1588
|
*
|
|
1656
1589
|
* @returns Value of property `dataMode`
|
|
@@ -1663,25 +1596,11 @@ declare namespace sap {
|
|
|
1663
1596
|
*
|
|
1664
1597
|
* Default value is `Solid`.
|
|
1665
1598
|
*
|
|
1666
|
-
* @since 1.109
|
|
1667
1599
|
* @experimental As of version 1.109.
|
|
1668
1600
|
*
|
|
1669
1601
|
* @returns Value of property `design`
|
|
1670
1602
|
*/
|
|
1671
1603
|
getDesign(): sap.ui.integration.CardDesign;
|
|
1672
|
-
/**
|
|
1673
|
-
* Gets current value of property {@link #getDisplayVariant displayVariant}.
|
|
1674
|
-
*
|
|
1675
|
-
* Defines the display variant for card rendering and behavior.
|
|
1676
|
-
*
|
|
1677
|
-
* Default value is `Standard`.
|
|
1678
|
-
*
|
|
1679
|
-
* @since 1.118
|
|
1680
|
-
* @experimental As of version 1.118. For usage only by Work Zone.
|
|
1681
|
-
*
|
|
1682
|
-
* @returns Value of property `displayVariant`
|
|
1683
|
-
*/
|
|
1684
|
-
getDisplayVariant(): sap.ui.integration.CardDisplayVariant;
|
|
1685
1604
|
/**
|
|
1686
1605
|
* Returns the DOM Element that should get the focus.
|
|
1687
1606
|
*
|
|
@@ -1749,11 +1668,11 @@ declare namespace sap {
|
|
|
1749
1668
|
* ```
|
|
1750
1669
|
*
|
|
1751
1670
|
*
|
|
1671
|
+
* Disclaimer: this API might be removed when a permanent solution for flexibility changes is implemented.
|
|
1672
|
+
*
|
|
1752
1673
|
* Default value is `[]`.
|
|
1753
1674
|
*
|
|
1754
|
-
* @
|
|
1755
|
-
* @experimental As of version 1.76. This API might be removed when a permanent solution for flexibility
|
|
1756
|
-
* changes is implemented.
|
|
1675
|
+
* @experimental As of version 1.76.
|
|
1757
1676
|
*
|
|
1758
1677
|
* @returns Value of property `manifestChanges`
|
|
1759
1678
|
*/
|
|
@@ -1783,7 +1702,6 @@ declare namespace sap {
|
|
|
1783
1702
|
*
|
|
1784
1703
|
* Default value is `Default`.
|
|
1785
1704
|
*
|
|
1786
|
-
* @since 1.133
|
|
1787
1705
|
* @experimental As of version 1.133.
|
|
1788
1706
|
*
|
|
1789
1707
|
* @returns Value of property `overflow`
|
|
@@ -1795,7 +1713,7 @@ declare namespace sap {
|
|
|
1795
1713
|
* Overrides the default values of the parameters, which are defined in the manifest. The value is an object
|
|
1796
1714
|
* containing parameters in format `{parameterKey: parameterValue}`.
|
|
1797
1715
|
*
|
|
1798
|
-
* @experimental As of version 1.65.
|
|
1716
|
+
* @experimental As of version 1.65.
|
|
1799
1717
|
*
|
|
1800
1718
|
* @returns Value of property `parameters`
|
|
1801
1719
|
*/
|
|
@@ -1812,7 +1730,6 @@ declare namespace sap {
|
|
|
1812
1730
|
*
|
|
1813
1731
|
* Default value is `Off`.
|
|
1814
1732
|
*
|
|
1815
|
-
* @since 1.112
|
|
1816
1733
|
* @experimental As of version 1.112.
|
|
1817
1734
|
*
|
|
1818
1735
|
* @returns Value of property `previewMode`
|
|
@@ -1865,7 +1782,6 @@ declare namespace sap {
|
|
|
1865
1782
|
*
|
|
1866
1783
|
* Default value is `false`.
|
|
1867
1784
|
*
|
|
1868
|
-
* @since 1.127
|
|
1869
1785
|
* @experimental As of version 1.127.
|
|
1870
1786
|
*
|
|
1871
1787
|
* @returns Value of property `useProgressiveDisclosure`
|
|
@@ -1897,9 +1813,7 @@ declare namespace sap {
|
|
|
1897
1813
|
* Checks for the provided `sap.ui.integration.ActionDefinition` in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
1898
1814
|
* and returns its index if found or -1 otherwise.
|
|
1899
1815
|
*
|
|
1900
|
-
* @
|
|
1901
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1902
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1816
|
+
* @experimental As of version 1.85.
|
|
1903
1817
|
*
|
|
1904
1818
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
1905
1819
|
*/
|
|
@@ -1912,9 +1826,7 @@ declare namespace sap {
|
|
|
1912
1826
|
/**
|
|
1913
1827
|
* Inserts a actionDefinition into the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
1914
1828
|
*
|
|
1915
|
-
* @
|
|
1916
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1917
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1829
|
+
* @experimental As of version 1.85.
|
|
1918
1830
|
*
|
|
1919
1831
|
* @returns Reference to `this` in order to allow method chaining
|
|
1920
1832
|
*/
|
|
@@ -1931,7 +1843,7 @@ declare namespace sap {
|
|
|
1931
1843
|
iIndex: int
|
|
1932
1844
|
): this;
|
|
1933
1845
|
/**
|
|
1934
|
-
* @experimental As of version 1.65.
|
|
1846
|
+
* @experimental As of version 1.65.
|
|
1935
1847
|
*
|
|
1936
1848
|
* @returns If the card is ready or not.
|
|
1937
1849
|
*/
|
|
@@ -1952,7 +1864,7 @@ declare namespace sap {
|
|
|
1952
1864
|
/**
|
|
1953
1865
|
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
1954
1866
|
*
|
|
1955
|
-
* @experimental As of version 1.65.
|
|
1867
|
+
* @experimental As of version 1.65.
|
|
1956
1868
|
*/
|
|
1957
1869
|
refresh(): void;
|
|
1958
1870
|
/**
|
|
@@ -1964,9 +1876,7 @@ declare namespace sap {
|
|
|
1964
1876
|
/**
|
|
1965
1877
|
* Removes a actionDefinition from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
1966
1878
|
*
|
|
1967
|
-
* @
|
|
1968
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1969
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1879
|
+
* @experimental As of version 1.85.
|
|
1970
1880
|
*
|
|
1971
1881
|
* @returns The removed actionDefinition or `null`
|
|
1972
1882
|
*/
|
|
@@ -1984,9 +1894,7 @@ declare namespace sap {
|
|
|
1984
1894
|
*
|
|
1985
1895
|
* Additionally, it unregisters them from the hosting UIArea.
|
|
1986
1896
|
*
|
|
1987
|
-
* @
|
|
1988
|
-
* @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
|
|
1989
|
-
* changes may be done before its official public release. Use at your own discretion.
|
|
1897
|
+
* @experimental As of version 1.85.
|
|
1990
1898
|
*
|
|
1991
1899
|
* @returns An array of the removed elements (might be empty)
|
|
1992
1900
|
*/
|
|
@@ -2070,14 +1978,17 @@ declare namespace sap {
|
|
|
2070
1978
|
/**
|
|
2071
1979
|
* Sets a new value for property {@link #getBaseUrl baseUrl}.
|
|
2072
1980
|
*
|
|
2073
|
-
* Defines the base URL of the card manifest. It
|
|
2074
|
-
*
|
|
2075
|
-
*
|
|
1981
|
+
* Defines the base URL of the card manifest. It must be provided when the manifest is an object and not
|
|
1982
|
+
* a URL. The base URL is used to load relatively referenced resources.
|
|
1983
|
+
*
|
|
1984
|
+
* If the base URL is not defined and the manifest URL is defined, the manifest URL is used as the base
|
|
1985
|
+
* URL.
|
|
1986
|
+
* - If both the manifest URL and the base URL are defined, the base URL is used.
|
|
1987
|
+
* - If neither the manifest URL nor the base URL is defined, relative resources will not load correctly.
|
|
1988
|
+
*
|
|
2076
1989
|
*
|
|
2077
1990
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2078
1991
|
*
|
|
2079
|
-
* @since 1.70
|
|
2080
|
-
* @experimental As of version 1.70.
|
|
2081
1992
|
*
|
|
2082
1993
|
* @returns Reference to `this` in order to allow method chaining
|
|
2083
1994
|
*/
|
|
@@ -2090,8 +2001,7 @@ declare namespace sap {
|
|
|
2090
2001
|
/**
|
|
2091
2002
|
* Sets a new value for the `dataMode` property.
|
|
2092
2003
|
*
|
|
2093
|
-
* @
|
|
2094
|
-
* @experimental As of version 1.65. API might change.
|
|
2004
|
+
* @experimental As of version 1.65.
|
|
2095
2005
|
*
|
|
2096
2006
|
* @returns Pointer to the control instance to allow method chaining.
|
|
2097
2007
|
*/
|
|
@@ -2110,7 +2020,6 @@ declare namespace sap {
|
|
|
2110
2020
|
*
|
|
2111
2021
|
* Default value is `Solid`.
|
|
2112
2022
|
*
|
|
2113
|
-
* @since 1.109
|
|
2114
2023
|
* @experimental As of version 1.109.
|
|
2115
2024
|
*
|
|
2116
2025
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -2192,13 +2101,13 @@ declare namespace sap {
|
|
|
2192
2101
|
* ```
|
|
2193
2102
|
*
|
|
2194
2103
|
*
|
|
2104
|
+
* Disclaimer: this API might be removed when a permanent solution for flexibility changes is implemented.
|
|
2105
|
+
*
|
|
2195
2106
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2196
2107
|
*
|
|
2197
2108
|
* Default value is `[]`.
|
|
2198
2109
|
*
|
|
2199
|
-
* @
|
|
2200
|
-
* @experimental As of version 1.76. This API might be removed when a permanent solution for flexibility
|
|
2201
|
-
* changes is implemented.
|
|
2110
|
+
* @experimental As of version 1.76.
|
|
2202
2111
|
*
|
|
2203
2112
|
* @returns Reference to `this` in order to allow method chaining
|
|
2204
2113
|
*/
|
|
@@ -2220,7 +2129,6 @@ declare namespace sap {
|
|
|
2220
2129
|
*
|
|
2221
2130
|
* Default value is `Default`.
|
|
2222
2131
|
*
|
|
2223
|
-
* @since 1.133
|
|
2224
2132
|
* @experimental As of version 1.133.
|
|
2225
2133
|
*
|
|
2226
2134
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -2239,7 +2147,7 @@ declare namespace sap {
|
|
|
2239
2147
|
*
|
|
2240
2148
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2241
2149
|
*
|
|
2242
|
-
* @experimental As of version 1.65.
|
|
2150
|
+
* @experimental As of version 1.65.
|
|
2243
2151
|
*
|
|
2244
2152
|
* @returns Reference to `this` in order to allow method chaining
|
|
2245
2153
|
*/
|
|
@@ -2263,7 +2171,6 @@ declare namespace sap {
|
|
|
2263
2171
|
*
|
|
2264
2172
|
* Default value is `Off`.
|
|
2265
2173
|
*
|
|
2266
|
-
* @since 1.112
|
|
2267
2174
|
* @experimental As of version 1.112.
|
|
2268
2175
|
*
|
|
2269
2176
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -2303,7 +2210,6 @@ declare namespace sap {
|
|
|
2303
2210
|
*
|
|
2304
2211
|
* Default value is `false`.
|
|
2305
2212
|
*
|
|
2306
|
-
* @since 1.127
|
|
2307
2213
|
* @experimental As of version 1.127.
|
|
2308
2214
|
*
|
|
2309
2215
|
* @returns Reference to `this` in order to allow method chaining
|
|
@@ -2398,11 +2304,11 @@ declare namespace sap {
|
|
|
2398
2304
|
}
|
|
2399
2305
|
): void;
|
|
2400
2306
|
/**
|
|
2401
|
-
* Causes all
|
|
2307
|
+
* Causes all the controls within the Card that support validation to validate their data.
|
|
2402
2308
|
*
|
|
2403
|
-
* @experimental
|
|
2309
|
+
* @experimental As of version 1.106.
|
|
2404
2310
|
*
|
|
2405
|
-
* @returns if all
|
|
2311
|
+
* @returns if all the controls validated successfully; otherwise, false
|
|
2406
2312
|
*/
|
|
2407
2313
|
validateControls(): boolean;
|
|
2408
2314
|
}
|
|
@@ -2410,8 +2316,7 @@ declare namespace sap {
|
|
|
2410
2316
|
/**
|
|
2411
2317
|
* Event object of the Card#action event.
|
|
2412
2318
|
*
|
|
2413
|
-
* @experimental As of version 1.64.
|
|
2414
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2319
|
+
* @experimental As of version 1.64.
|
|
2415
2320
|
*/
|
|
2416
2321
|
type Card$ActionEvent = sap.ui.base.Event<
|
|
2417
2322
|
Card$ActionEventParameters,
|
|
@@ -2459,8 +2364,7 @@ declare namespace sap {
|
|
|
2459
2364
|
/**
|
|
2460
2365
|
* Describes the settings that can be provided to the ActionDefinition constructor.
|
|
2461
2366
|
*
|
|
2462
|
-
* @experimental As of version 1.85.
|
|
2463
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2367
|
+
* @experimental As of version 1.85.
|
|
2464
2368
|
*/
|
|
2465
2369
|
interface $ActionDefinitionSettings extends sap.ui.core.$ElementSettings {
|
|
2466
2370
|
/**
|
|
@@ -2547,8 +2451,6 @@ declare namespace sap {
|
|
|
2547
2451
|
|
|
2548
2452
|
/**
|
|
2549
2453
|
* Describes the settings that can be provided to the Designtime constructor.
|
|
2550
|
-
*
|
|
2551
|
-
* @experimental As of version 1.75.
|
|
2552
2454
|
*/
|
|
2553
2455
|
interface $DesigntimeSettings
|
|
2554
2456
|
extends sap.ui.base.$ManagedObjectSettings {}
|
|
@@ -2561,8 +2463,6 @@ declare namespace sap {
|
|
|
2561
2463
|
* The actions configuration.
|
|
2562
2464
|
*
|
|
2563
2465
|
* @deprecated As of version 1.85. This property is replaced by the `actions` aggregation of the card;
|
|
2564
|
-
* @experimental As of version 1.75. Disclaimer: this property is in a beta state - incompatible API changes
|
|
2565
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2566
2466
|
*/
|
|
2567
2467
|
actions?:
|
|
2568
2468
|
| sap.ui.integration.CardMenuAction[]
|
|
@@ -2586,8 +2486,7 @@ declare namespace sap {
|
|
|
2586
2486
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
2587
2487
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
2588
2488
|
*
|
|
2589
|
-
* @experimental As of version 1.75.
|
|
2590
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2489
|
+
* @experimental As of version 1.75.
|
|
2591
2490
|
*/
|
|
2592
2491
|
action?: (oEvent: Extension$ActionEvent) => void;
|
|
2593
2492
|
}
|
|
@@ -2599,8 +2498,7 @@ declare namespace sap {
|
|
|
2599
2498
|
/**
|
|
2600
2499
|
* The actions configuration.
|
|
2601
2500
|
*
|
|
2602
|
-
* @experimental As of version 1.75.
|
|
2603
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2501
|
+
* @experimental As of version 1.75.
|
|
2604
2502
|
*/
|
|
2605
2503
|
actions?:
|
|
2606
2504
|
| sap.ui.integration.CardMenuAction[]
|
|
@@ -2630,8 +2528,7 @@ declare namespace sap {
|
|
|
2630
2528
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
2631
2529
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
2632
2530
|
*
|
|
2633
|
-
* @experimental As of version 1.75.
|
|
2634
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2531
|
+
* @experimental As of version 1.75.
|
|
2635
2532
|
*/
|
|
2636
2533
|
action?: (oEvent: Host$ActionEvent) => void;
|
|
2637
2534
|
|
|
@@ -2677,8 +2574,7 @@ declare namespace sap {
|
|
|
2677
2574
|
/**
|
|
2678
2575
|
* Parameters of the Extension#action event.
|
|
2679
2576
|
*
|
|
2680
|
-
* @experimental As of version 1.75.
|
|
2681
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2577
|
+
* @experimental As of version 1.75.
|
|
2682
2578
|
*/
|
|
2683
2579
|
interface Extension$ActionEventParameters {
|
|
2684
2580
|
/**
|
|
@@ -2722,8 +2618,7 @@ declare namespace sap {
|
|
|
2722
2618
|
/**
|
|
2723
2619
|
* Parameters of the Host#action event.
|
|
2724
2620
|
*
|
|
2725
|
-
* @experimental As of version 1.75.
|
|
2726
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2621
|
+
* @experimental As of version 1.75.
|
|
2727
2622
|
*/
|
|
2728
2623
|
interface Host$ActionEventParameters {
|
|
2729
2624
|
/**
|
|
@@ -2827,9 +2722,7 @@ declare namespace sap {
|
|
|
2827
2722
|
* Represents an action, which appears in the header of {@link sap.ui.integration.widgets.Card}. Useful
|
|
2828
2723
|
* in `Component` card and `Extension`.
|
|
2829
2724
|
*
|
|
2830
|
-
* @
|
|
2831
|
-
* @experimental As of version 1.85. Disclaimer: this class is in a beta state - incompatible API changes
|
|
2832
|
-
* may be done before its official public release. Use at your own discretion.
|
|
2725
|
+
* @experimental As of version 1.85.
|
|
2833
2726
|
*/
|
|
2834
2727
|
class ActionDefinition extends sap.ui.core.Element {
|
|
2835
2728
|
/**
|
|
@@ -3286,7 +3179,6 @@ declare namespace sap {
|
|
|
3286
3179
|
* be implemented.
|
|
3287
3180
|
*
|
|
3288
3181
|
* @since 1.75
|
|
3289
|
-
* @experimental As of version 1.75.
|
|
3290
3182
|
*/
|
|
3291
3183
|
class Designtime extends sap.ui.base.ManagedObject {
|
|
3292
3184
|
/**
|
|
@@ -3446,8 +3338,7 @@ declare namespace sap {
|
|
|
3446
3338
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3447
3339
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3448
3340
|
*
|
|
3449
|
-
* @experimental As of version 1.75.
|
|
3450
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3341
|
+
* @experimental As of version 1.75.
|
|
3451
3342
|
*
|
|
3452
3343
|
* @returns Reference to `this` in order to allow method chaining
|
|
3453
3344
|
*/
|
|
@@ -3478,8 +3369,7 @@ declare namespace sap {
|
|
|
3478
3369
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3479
3370
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3480
3371
|
*
|
|
3481
|
-
* @experimental As of version 1.75.
|
|
3482
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3372
|
+
* @experimental As of version 1.75.
|
|
3483
3373
|
*
|
|
3484
3374
|
* @returns Reference to `this` in order to allow method chaining
|
|
3485
3375
|
*/
|
|
@@ -3498,8 +3388,7 @@ declare namespace sap {
|
|
|
3498
3388
|
*
|
|
3499
3389
|
* The passed function and listener object must match the ones used for event registration.
|
|
3500
3390
|
*
|
|
3501
|
-
* @experimental As of version 1.75.
|
|
3502
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3391
|
+
* @experimental As of version 1.75.
|
|
3503
3392
|
*
|
|
3504
3393
|
* @returns Reference to `this` in order to allow method chaining
|
|
3505
3394
|
*/
|
|
@@ -3518,7 +3407,7 @@ declare namespace sap {
|
|
|
3518
3407
|
* the response is available. Use this method to override the default behavior when fetching network resources.
|
|
3519
3408
|
* Mimics the browser native Fetch API.
|
|
3520
3409
|
*
|
|
3521
|
-
* @experimental As of version 1.113.
|
|
3410
|
+
* @experimental As of version 1.113.
|
|
3522
3411
|
*
|
|
3523
3412
|
* @returns A `Promise` that resolves to a `Response` object.
|
|
3524
3413
|
*/
|
|
@@ -3543,8 +3432,7 @@ declare namespace sap {
|
|
|
3543
3432
|
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
3544
3433
|
* event object. The return value of this method indicates whether the default action should be executed.
|
|
3545
3434
|
*
|
|
3546
|
-
* @experimental As of version 1.75.
|
|
3547
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3435
|
+
* @experimental As of version 1.75.
|
|
3548
3436
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3549
3437
|
*
|
|
3550
3438
|
* @returns Whether or not to prevent the default action
|
|
@@ -3561,8 +3449,6 @@ declare namespace sap {
|
|
|
3561
3449
|
* The actions configuration.
|
|
3562
3450
|
*
|
|
3563
3451
|
* @deprecated As of version 1.85. This property is replaced by the `actions` aggregation of the card;
|
|
3564
|
-
* @experimental As of version 1.75. Disclaimer: this property is in a beta state - incompatible API changes
|
|
3565
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3566
3452
|
*
|
|
3567
3453
|
* @returns Value of property `actions`
|
|
3568
3454
|
*/
|
|
@@ -3604,8 +3490,6 @@ declare namespace sap {
|
|
|
3604
3490
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3605
3491
|
*
|
|
3606
3492
|
* @deprecated As of version 1.85. This property is replaced by the `actions` aggregation of the card;
|
|
3607
|
-
* @experimental As of version 1.75. Disclaimer: this property is in a beta state - incompatible API changes
|
|
3608
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3609
3493
|
*
|
|
3610
3494
|
* @returns Reference to `this` in order to allow method chaining
|
|
3611
3495
|
*/
|
|
@@ -3713,8 +3597,7 @@ declare namespace sap {
|
|
|
3713
3597
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3714
3598
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3715
3599
|
*
|
|
3716
|
-
* @experimental As of version 1.75.
|
|
3717
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3600
|
+
* @experimental As of version 1.75.
|
|
3718
3601
|
*
|
|
3719
3602
|
* @returns Reference to `this` in order to allow method chaining
|
|
3720
3603
|
*/
|
|
@@ -3745,8 +3628,7 @@ declare namespace sap {
|
|
|
3745
3628
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3746
3629
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3747
3630
|
*
|
|
3748
|
-
* @experimental As of version 1.75.
|
|
3749
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3631
|
+
* @experimental As of version 1.75.
|
|
3750
3632
|
*
|
|
3751
3633
|
* @returns Reference to `this` in order to allow method chaining
|
|
3752
3634
|
*/
|
|
@@ -3972,7 +3854,6 @@ declare namespace sap {
|
|
|
3972
3854
|
* This function is called when a CSRF token has expired.
|
|
3973
3855
|
*
|
|
3974
3856
|
* @deprecated As of version 1.120.0. the concept has been discarded.
|
|
3975
|
-
* @experimental As of version 1.97.
|
|
3976
3857
|
*/
|
|
3977
3858
|
csrfTokenExpired(
|
|
3978
3859
|
/**
|
|
@@ -3986,7 +3867,6 @@ declare namespace sap {
|
|
|
3986
3867
|
* This function is called when a CSRF token is fetched.
|
|
3987
3868
|
*
|
|
3988
3869
|
* @deprecated As of version 1.120.0. the concept has been discarded.
|
|
3989
|
-
* @experimental As of version 1.97.
|
|
3990
3870
|
*/
|
|
3991
3871
|
csrfTokenFetched(
|
|
3992
3872
|
/**
|
|
@@ -4005,8 +3885,7 @@ declare namespace sap {
|
|
|
4005
3885
|
*
|
|
4006
3886
|
* The passed function and listener object must match the ones used for event registration.
|
|
4007
3887
|
*
|
|
4008
|
-
* @experimental As of version 1.75.
|
|
4009
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3888
|
+
* @experimental As of version 1.75.
|
|
4010
3889
|
*
|
|
4011
3890
|
* @returns Reference to `this` in order to allow method chaining
|
|
4012
3891
|
*/
|
|
@@ -4105,8 +3984,7 @@ declare namespace sap {
|
|
|
4105
3984
|
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
4106
3985
|
* event object. The return value of this method indicates whether the default action should be executed.
|
|
4107
3986
|
*
|
|
4108
|
-
* @experimental As of version 1.75.
|
|
4109
|
-
* may be done before its official public release. Use at your own discretion.
|
|
3987
|
+
* @experimental As of version 1.75.
|
|
4110
3988
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
4111
3989
|
*
|
|
4112
3990
|
* @returns Whether or not to prevent the default action
|
|
@@ -4178,8 +4056,7 @@ declare namespace sap {
|
|
|
4178
4056
|
*
|
|
4179
4057
|
* The actions configuration.
|
|
4180
4058
|
*
|
|
4181
|
-
* @experimental As of version 1.75.
|
|
4182
|
-
* may be done before its official public release. Use at your own discretion.
|
|
4059
|
+
* @experimental As of version 1.75.
|
|
4183
4060
|
*
|
|
4184
4061
|
* @returns Value of property `actions`
|
|
4185
4062
|
*/
|
|
@@ -4196,7 +4073,6 @@ declare namespace sap {
|
|
|
4196
4073
|
* The context information and texts should be translated as they appear in the design-time UI of the Card
|
|
4197
4074
|
* Editor.
|
|
4198
4075
|
*
|
|
4199
|
-
* @since 1.83
|
|
4200
4076
|
* @experimental As of version 1.143.
|
|
4201
4077
|
*
|
|
4202
4078
|
* @returns A promise which contains the context structure.
|
|
@@ -4213,7 +4089,6 @@ declare namespace sap {
|
|
|
4213
4089
|
* Example path to the current user id of the context sPath = "sap.workzone/currentUser/id" parameter: {
|
|
4214
4090
|
* userId: { value: "{context>sap.workzone/currentUser/id}" resolves to UserId } }
|
|
4215
4091
|
*
|
|
4216
|
-
* @since 1.83
|
|
4217
4092
|
* @experimental As of version 1.143.
|
|
4218
4093
|
*
|
|
4219
4094
|
* @returns A promise which resolves with the value of this context.
|
|
@@ -4224,24 +4099,6 @@ declare namespace sap {
|
|
|
4224
4099
|
*/
|
|
4225
4100
|
sPath: string
|
|
4226
4101
|
): Promise<null>;
|
|
4227
|
-
/**
|
|
4228
|
-
* Resolves the value of a CSRF token. Subclasses of Host can override this method to take over the default
|
|
4229
|
-
* CSRF token resolving. Applications must not call this method directly, it is called by the framework.
|
|
4230
|
-
*
|
|
4231
|
-
* @deprecated As of version 1.120.0. the concept has been discarded.
|
|
4232
|
-
* @experimental As of version 1.97.
|
|
4233
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
4234
|
-
*
|
|
4235
|
-
* @returns A promise which resolves the CSRF token to its value.
|
|
4236
|
-
*/
|
|
4237
|
-
getCsrfToken(
|
|
4238
|
-
/**
|
|
4239
|
-
* The CSRF token configuration.
|
|
4240
|
-
*/
|
|
4241
|
-
csrfTokenConfig: {
|
|
4242
|
-
data: object;
|
|
4243
|
-
}
|
|
4244
|
-
): Promise<string>;
|
|
4245
4102
|
/**
|
|
4246
4103
|
* Resolves the destination and returns its URL.
|
|
4247
4104
|
*
|
|
@@ -4296,8 +4153,7 @@ declare namespace sap {
|
|
|
4296
4153
|
*
|
|
4297
4154
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4298
4155
|
*
|
|
4299
|
-
* @experimental As of version 1.75.
|
|
4300
|
-
* may be done before its official public release. Use at your own discretion.
|
|
4156
|
+
* @experimental As of version 1.75.
|
|
4301
4157
|
*
|
|
4302
4158
|
* @returns Reference to `this` in order to allow method chaining
|
|
4303
4159
|
*/
|
|
@@ -4355,8 +4211,7 @@ declare namespace sap {
|
|
|
4355
4211
|
* This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
|
|
4356
4212
|
* 'CardActionType'.
|
|
4357
4213
|
*
|
|
4358
|
-
* @experimental As of version 1.64.
|
|
4359
|
-
* may be done before its official public release. Use at your own discretion.
|
|
4214
|
+
* @experimental As of version 1.64.
|
|
4360
4215
|
*/
|
|
4361
4216
|
enum CardActionType {
|
|
4362
4217
|
/**
|
|
@@ -4448,7 +4303,6 @@ declare namespace sap {
|
|
|
4448
4303
|
* This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
|
|
4449
4304
|
* 'CardDataMode'.
|
|
4450
4305
|
*
|
|
4451
|
-
* @since 1.65
|
|
4452
4306
|
* @experimental As of version 1.65.
|
|
4453
4307
|
*/
|
|
4454
4308
|
enum CardDataMode {
|
|
@@ -4471,7 +4325,6 @@ declare namespace sap {
|
|
|
4471
4325
|
* This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
|
|
4472
4326
|
* 'CardDesign'.
|
|
4473
4327
|
*
|
|
4474
|
-
* @since 1.109
|
|
4475
4328
|
* @experimental As of version 1.109.
|
|
4476
4329
|
*/
|
|
4477
4330
|
enum CardDesign {
|
|
@@ -4484,57 +4337,6 @@ declare namespace sap {
|
|
|
4484
4337
|
*/
|
|
4485
4338
|
Transparent = "Transparent",
|
|
4486
4339
|
}
|
|
4487
|
-
/**
|
|
4488
|
-
* Possible variants for `{@link sap.ui.integration.widgets.Card}` rendering and behavior.
|
|
4489
|
-
*
|
|
4490
|
-
* This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
|
|
4491
|
-
* 'CardDisplayVariant'.
|
|
4492
|
-
*
|
|
4493
|
-
* @since 1.118
|
|
4494
|
-
* @experimental As of version 1.118. For usage only by Work Zone.
|
|
4495
|
-
*/
|
|
4496
|
-
enum CardDisplayVariant {
|
|
4497
|
-
/**
|
|
4498
|
-
* The CompactHeader card variant.
|
|
4499
|
-
*/
|
|
4500
|
-
CompactHeader = "CompactHeader",
|
|
4501
|
-
/**
|
|
4502
|
-
* The large card variant.
|
|
4503
|
-
*/
|
|
4504
|
-
Large = "Large",
|
|
4505
|
-
/**
|
|
4506
|
-
* The small card variant.
|
|
4507
|
-
*/
|
|
4508
|
-
Small = "Small",
|
|
4509
|
-
/**
|
|
4510
|
-
* The SmallHeader card variant.
|
|
4511
|
-
*/
|
|
4512
|
-
SmallHeader = "SmallHeader",
|
|
4513
|
-
/**
|
|
4514
|
-
* The standard card variant.
|
|
4515
|
-
*/
|
|
4516
|
-
Standard = "Standard",
|
|
4517
|
-
/**
|
|
4518
|
-
* The SmallHeader card variant.
|
|
4519
|
-
*/
|
|
4520
|
-
StandardHeader = "StandardHeader",
|
|
4521
|
-
/**
|
|
4522
|
-
* Card renders and behaves like a tile of size 2x1.
|
|
4523
|
-
*/
|
|
4524
|
-
TileFlat = "TileFlat",
|
|
4525
|
-
/**
|
|
4526
|
-
* Card renders and behaves like a tile of size 4x1.
|
|
4527
|
-
*/
|
|
4528
|
-
TileFlatWide = "TileFlatWide",
|
|
4529
|
-
/**
|
|
4530
|
-
* Card renders and behaves like a tile of size 2x2.
|
|
4531
|
-
*/
|
|
4532
|
-
TileStandard = "TileStandard",
|
|
4533
|
-
/**
|
|
4534
|
-
* Card renders and behaves like a tile of size 4x2.
|
|
4535
|
-
*/
|
|
4536
|
-
TileStandardWide = "TileStandardWide",
|
|
4537
|
-
}
|
|
4538
4340
|
/**
|
|
4539
4341
|
* Card message strip types.
|
|
4540
4342
|
*
|
|
@@ -4580,7 +4382,6 @@ declare namespace sap {
|
|
|
4580
4382
|
* This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
|
|
4581
4383
|
* 'CardOverflow'.
|
|
4582
4384
|
*
|
|
4583
|
-
* @since 1.133
|
|
4584
4385
|
* @experimental As of version 1.133.
|
|
4585
4386
|
*/
|
|
4586
4387
|
enum CardOverflow {
|
|
@@ -4610,7 +4411,6 @@ declare namespace sap {
|
|
|
4610
4411
|
* This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
|
|
4611
4412
|
* 'CardPreviewMode'.
|
|
4612
4413
|
*
|
|
4613
|
-
* @since 1.112
|
|
4614
4414
|
* @experimental As of version 1.112.
|
|
4615
4415
|
*/
|
|
4616
4416
|
enum CardPreviewMode {
|
|
@@ -4754,8 +4554,7 @@ declare namespace sap {
|
|
|
4754
4554
|
/**
|
|
4755
4555
|
* Event object of the Extension#action event.
|
|
4756
4556
|
*
|
|
4757
|
-
* @experimental As of version 1.75.
|
|
4758
|
-
* may be done before its official public release. Use at your own discretion.
|
|
4557
|
+
* @experimental As of version 1.75.
|
|
4759
4558
|
*/
|
|
4760
4559
|
type Extension$ActionEvent = sap.ui.base.Event<
|
|
4761
4560
|
Extension$ActionEventParameters,
|
|
@@ -4765,8 +4564,7 @@ declare namespace sap {
|
|
|
4765
4564
|
/**
|
|
4766
4565
|
* Event object of the Host#action event.
|
|
4767
4566
|
*
|
|
4768
|
-
* @experimental As of version 1.75.
|
|
4769
|
-
* may be done before its official public release. Use at your own discretion.
|
|
4567
|
+
* @experimental As of version 1.75.
|
|
4770
4568
|
*/
|
|
4771
4569
|
type Host$ActionEvent = sap.ui.base.Event<
|
|
4772
4570
|
Host$ActionEventParameters,
|