@sapui5/ts-types 1.120.7 → 1.121.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 -0
- package/types/sap.apf.d.ts +50 -18
- package/types/sap.ca.ui.d.ts +1114 -546
- package/types/sap.chart.d.ts +191 -43
- package/types/sap.collaboration.d.ts +185 -64
- package/types/sap.esh.search.ui.d.ts +2 -1960
- package/types/sap.f.d.ts +1607 -886
- package/types/sap.fe.core.d.ts +212 -191
- package/types/sap.fe.macros.d.ts +371 -531
- package/types/sap.fe.navigation.d.ts +59 -26
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +7 -0
- package/types/sap.fe.templates.d.ts +16 -11
- package/types/sap.fe.test.d.ts +333 -33
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +3947 -1754
- package/types/sap.insights.d.ts +162 -43
- package/types/sap.m.d.ts +14867 -8374
- package/types/sap.makit.d.ts +379 -187
- package/types/sap.me.d.ts +237 -37
- package/types/sap.ndc.d.ts +40 -9
- package/types/sap.ovp.d.ts +9 -7
- package/types/sap.rules.ui.d.ts +134 -75
- package/types/sap.sac.df.d.ts +272 -49
- package/types/sap.suite.ui.commons.d.ts +4231 -1008
- package/types/sap.suite.ui.generic.template.d.ts +236 -171
- package/types/sap.suite.ui.microchart.d.ts +1027 -388
- package/types/sap.tnt.d.ts +827 -247
- package/types/sap.ui.codeeditor.d.ts +57 -24
- package/types/sap.ui.commons.d.ts +2075 -673
- package/types/sap.ui.comp.d.ts +3908 -2995
- package/types/sap.ui.core.d.ts +5739 -3520
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +88 -67
- package/types/sap.ui.fl.d.ts +169 -104
- package/types/sap.ui.generic.app.d.ts +250 -193
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +494 -388
- package/types/sap.ui.layout.d.ts +1345 -668
- package/types/sap.ui.mdc.d.ts +3395 -2036
- package/types/sap.ui.richtexteditor.d.ts +115 -55
- package/types/sap.ui.rta.d.ts +7 -7
- package/types/sap.ui.suite.d.ts +46 -12
- package/types/sap.ui.support.d.ts +58 -26
- package/types/sap.ui.table.d.ts +963 -627
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1979 -1249
- package/types/sap.ui.ux3.d.ts +1311 -491
- package/types/sap.ui.vbm.d.ts +5300 -2517
- package/types/sap.ui.vk.d.ts +2742 -836
- package/types/sap.ui.vtm.d.ts +685 -215
- package/types/sap.ui.webc.common.d.ts +11 -9
- package/types/sap.ui.webc.fiori.d.ts +884 -213
- package/types/sap.ui.webc.main.d.ts +2815 -601
- package/types/sap.uiext.inbox.d.ts +207 -36
- package/types/sap.ushell.d.ts +1954 -1270
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +626 -321
- package/types/sap.viz.d.ts +4324 -2527
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +79 -18
- package/types/sap.zen.crosstab.d.ts +83 -15
- package/types/sap.zen.dsh.d.ts +194 -143
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
/// <reference path="./sap.fe.macros.d.ts"/>
|
|
45
45
|
/// <reference path="./sap.fe.navigation.d.ts"/>
|
|
46
46
|
/// <reference path="./sap.fe.placeholder.d.ts"/>
|
|
47
|
+
/// <reference path="./sap.fe.plugins.managecache.d.ts"/>
|
|
47
48
|
/// <reference path="./sap.fe.templates.d.ts"/>
|
|
48
49
|
/// <reference path="./sap.fe.test.d.ts"/>
|
|
49
50
|
/// <reference path="./sap.fe.tools.d.ts"/>
|
package/types/sap.apf.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.121.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -6,9 +6,9 @@ declare namespace sap {
|
|
|
6
6
|
*/
|
|
7
7
|
namespace apf {
|
|
8
8
|
/**
|
|
9
|
-
* @deprecated (since 1.23.1) - Use sap.apf.core.constants instead.
|
|
10
|
-
*
|
|
11
9
|
* Constants to be used by APF consumers.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated (since 1.23.1) - Use sap.apf.core.constants instead.
|
|
12
12
|
*/
|
|
13
13
|
export const constants: Object;
|
|
14
14
|
|
|
@@ -43,6 +43,7 @@ declare namespace sap {
|
|
|
43
43
|
/**
|
|
44
44
|
* Gets the previous message object.
|
|
45
45
|
*
|
|
46
|
+
*
|
|
46
47
|
* @returns || undefined
|
|
47
48
|
*/
|
|
48
49
|
getPrevious(): sap.apf.core.MessageObject;
|
|
@@ -77,12 +78,14 @@ declare namespace sap {
|
|
|
77
78
|
/**
|
|
78
79
|
* Sets the code, that classifies the message.
|
|
79
80
|
*
|
|
81
|
+
*
|
|
80
82
|
* @returns undefined
|
|
81
83
|
*/
|
|
82
84
|
setCode(code: string): undefined;
|
|
83
85
|
/**
|
|
84
86
|
* Sets the message text.
|
|
85
87
|
*
|
|
88
|
+
*
|
|
86
89
|
* @returns undefined
|
|
87
90
|
*/
|
|
88
91
|
setMessage(sTextMessage: string): undefined;
|
|
@@ -91,6 +94,7 @@ declare namespace sap {
|
|
|
91
94
|
* a previous message. The message in the previous message object will also be displayed in the log (as
|
|
92
95
|
* previous entry).
|
|
93
96
|
*
|
|
97
|
+
*
|
|
94
98
|
* @returns undefined
|
|
95
99
|
*/
|
|
96
100
|
setPrevious(
|
|
@@ -99,6 +103,7 @@ declare namespace sap {
|
|
|
99
103
|
/**
|
|
100
104
|
* Sets the severity , which classifies the message.
|
|
101
105
|
*
|
|
106
|
+
*
|
|
102
107
|
* @returns undefined
|
|
103
108
|
*/
|
|
104
109
|
setSeverity(
|
|
@@ -145,6 +150,7 @@ declare namespace sap {
|
|
|
145
150
|
/**
|
|
146
151
|
* Executes an OData request.
|
|
147
152
|
*
|
|
153
|
+
*
|
|
148
154
|
* @returns undefined
|
|
149
155
|
*/
|
|
150
156
|
send(
|
|
@@ -204,6 +210,7 @@ declare namespace sap {
|
|
|
204
210
|
/**
|
|
205
211
|
* Executes an OData request.
|
|
206
212
|
*
|
|
213
|
+
*
|
|
207
214
|
* @returns undefined
|
|
208
215
|
*/
|
|
209
216
|
send(
|
|
@@ -229,10 +236,10 @@ declare namespace sap {
|
|
|
229
236
|
namespace ui {
|
|
230
237
|
namespace representations {
|
|
231
238
|
/**
|
|
232
|
-
* @experimental - The complete interface is subject to ongoing work and not yet stable (as of Version 1.24.0).
|
|
233
|
-
*
|
|
234
239
|
* This is not a runtime class, but it describes the interface that a representation (chart) has to implement
|
|
235
240
|
* for to interact with the APF.
|
|
241
|
+
*
|
|
242
|
+
* @experimental - The complete interface is subject to ongoing work and not yet stable (as of Version 1.24.0).
|
|
236
243
|
*/
|
|
237
244
|
class representationInterface {
|
|
238
245
|
constructor(
|
|
@@ -273,12 +280,14 @@ declare namespace sap {
|
|
|
273
280
|
/**
|
|
274
281
|
* Returns the alternate representation of current step (i.e. list representation for the charts)
|
|
275
282
|
*
|
|
283
|
+
*
|
|
276
284
|
* @returns oAlternateRepresentation
|
|
277
285
|
*/
|
|
278
286
|
getAlternateRepresentation(): object | string;
|
|
279
287
|
/**
|
|
280
288
|
* Returns data for representation type
|
|
281
289
|
*
|
|
290
|
+
*
|
|
282
291
|
* @returns aDataResponse
|
|
283
292
|
*/
|
|
284
293
|
getData(): any[];
|
|
@@ -286,12 +295,14 @@ declare namespace sap {
|
|
|
286
295
|
* This method has to be implemented so that binding can determine which method has to be used for the filter
|
|
287
296
|
* retrieval from a representations.
|
|
288
297
|
*
|
|
298
|
+
*
|
|
289
299
|
* @returns The filter method type the representation supports
|
|
290
300
|
*/
|
|
291
301
|
getFilterMethodType(): /* was: sap.apf.constants.filterMethodTypes */ any;
|
|
292
302
|
/**
|
|
293
303
|
* This method holds the logic to draw the content to be shown on main representation area.
|
|
294
304
|
*
|
|
305
|
+
*
|
|
295
306
|
* @returns oUiObject The UI object that has to be shown in main representation area. Example: Line chart
|
|
296
307
|
* instance for a line chart representation.
|
|
297
308
|
*/
|
|
@@ -299,18 +310,21 @@ declare namespace sap {
|
|
|
299
310
|
/**
|
|
300
311
|
* Returns meta data for representation type
|
|
301
312
|
*
|
|
313
|
+
*
|
|
302
314
|
* @returns metadata
|
|
303
315
|
*/
|
|
304
316
|
getMetaData(): /* was: sap.apf.core.EntityTypeMetadata */ any;
|
|
305
317
|
/**
|
|
306
318
|
* The method returns the constructor arguments which will be used to create toggle representation.
|
|
307
319
|
*
|
|
320
|
+
*
|
|
308
321
|
* @returns oParameters
|
|
309
322
|
*/
|
|
310
323
|
getParameter(): object | string;
|
|
311
324
|
/**
|
|
312
325
|
* This method holds the logic to draw the content to be printed.
|
|
313
326
|
*
|
|
327
|
+
*
|
|
314
328
|
* @returns oUiObject The UI object that has to be printed. Example: Line chart instance for a line chart
|
|
315
329
|
* representation.
|
|
316
330
|
*/
|
|
@@ -336,6 +350,7 @@ declare namespace sap {
|
|
|
336
350
|
* is applied. **array** holding objects with properties 'property' and 'ascending' as described
|
|
337
351
|
* above.
|
|
338
352
|
*
|
|
353
|
+
*
|
|
339
354
|
* @returns Example:
|
|
340
355
|
* { paging : {
|
|
341
356
|
* top : 10,
|
|
@@ -356,6 +371,7 @@ declare namespace sap {
|
|
|
356
371
|
/**
|
|
357
372
|
* This is the basic method with which the step can detect data selected in the chart.
|
|
358
373
|
*
|
|
374
|
+
*
|
|
359
375
|
* @returns An array with indices is returned.
|
|
360
376
|
* E.g. if the first and the third line of the array aDataResponse have been selected, then aIndices = [0,
|
|
361
377
|
* 2]. Counting of indices start from 0. If all data has been selected, and aDataResponse.length == 4, then
|
|
@@ -368,6 +384,7 @@ declare namespace sap {
|
|
|
368
384
|
/**
|
|
369
385
|
* This method holds the logic to draw the content to be shown on thumbnail area.
|
|
370
386
|
*
|
|
387
|
+
*
|
|
371
388
|
* @returns oUiObject The UI object that has to be shown in thumbnail area. Example: Line chart instance
|
|
372
389
|
* for a line chart representation.
|
|
373
390
|
*/
|
|
@@ -377,6 +394,7 @@ declare namespace sap {
|
|
|
377
394
|
* inside a tooltip Popup when the thumbnail content overflows the thumbnail container area with a gradient
|
|
378
395
|
* effect to indicate that it is overflowing.
|
|
379
396
|
*
|
|
397
|
+
*
|
|
380
398
|
* @returns oUiObject The UI object that has to be shown as tooltip for a thumbnail. Example: Detailed content
|
|
381
399
|
* of a form representation.
|
|
382
400
|
*/
|
|
@@ -389,6 +407,7 @@ declare namespace sap {
|
|
|
389
407
|
* This method returns the selection for serialization. This is required for the Persisting selection of
|
|
390
408
|
* current representation. It includes selection mode and selections.
|
|
391
409
|
*
|
|
410
|
+
*
|
|
392
411
|
* @returns oSerializationInformation
|
|
393
412
|
*/
|
|
394
413
|
serialize(): object | string;
|
|
@@ -432,11 +451,11 @@ declare namespace sap {
|
|
|
432
451
|
): void;
|
|
433
452
|
}
|
|
434
453
|
/**
|
|
435
|
-
* @experimental - The complete interface is subject to ongoing work and not yet stable (as of Version 1.24.0).
|
|
436
|
-
*
|
|
437
454
|
* The interface proxy passed to a representation which provides access to required APF methods. This constructor
|
|
438
455
|
* is used by apf.api. It can be also used to build unit tests that need an interface proxy between APF
|
|
439
456
|
* and representations.
|
|
457
|
+
*
|
|
458
|
+
* @experimental - The complete interface is subject to ongoing work and not yet stable (as of Version 1.24.0).
|
|
440
459
|
*/
|
|
441
460
|
class RepresentationInterfaceProxy {
|
|
442
461
|
constructor(
|
|
@@ -518,6 +537,7 @@ declare namespace sap {
|
|
|
518
537
|
* object) or be a boolean expression (see the FilterExpression object). AND and OR terms are returned as
|
|
519
538
|
* arrays; boolean expressions are returned as objects.
|
|
520
539
|
*
|
|
540
|
+
*
|
|
521
541
|
* @returns Array of AND terms, OR terms and expressions.
|
|
522
542
|
*/
|
|
523
543
|
getExpressions(): object[];
|
|
@@ -533,6 +553,7 @@ declare namespace sap {
|
|
|
533
553
|
* Build the intersection of the this filter object with the supplied filter(s). The method does not change
|
|
534
554
|
* the "this"-instance.
|
|
535
555
|
*
|
|
556
|
+
*
|
|
536
557
|
* @returns new CoreFilter object {@link sap.apf.utils.Filter} for the intersected filters
|
|
537
558
|
*/
|
|
538
559
|
intersectWith(
|
|
@@ -545,6 +566,7 @@ declare namespace sap {
|
|
|
545
566
|
/**
|
|
546
567
|
* Updates an expression.
|
|
547
568
|
*
|
|
569
|
+
*
|
|
548
570
|
* @returns undefined
|
|
549
571
|
*/
|
|
550
572
|
updateExpression(
|
|
@@ -581,6 +603,7 @@ declare namespace sap {
|
|
|
581
603
|
/**
|
|
582
604
|
* Updates a value of an expression object.
|
|
583
605
|
*
|
|
606
|
+
*
|
|
584
607
|
* @returns undefined
|
|
585
608
|
*/
|
|
586
609
|
updateValue(
|
|
@@ -611,6 +634,7 @@ declare namespace sap {
|
|
|
611
634
|
/**
|
|
612
635
|
* Adds an expression object to this filter.
|
|
613
636
|
*
|
|
637
|
+
*
|
|
614
638
|
* @returns this to allow method chaining
|
|
615
639
|
*/
|
|
616
640
|
addExpression(
|
|
@@ -709,6 +733,7 @@ declare namespace sap {
|
|
|
709
733
|
/**
|
|
710
734
|
* Adds an expression object to this filter.
|
|
711
735
|
*
|
|
736
|
+
*
|
|
712
737
|
* @returns this to allow method chaining
|
|
713
738
|
*/
|
|
714
739
|
addExpression(
|
|
@@ -737,6 +762,7 @@ declare namespace sap {
|
|
|
737
762
|
/**
|
|
738
763
|
* Retrieves an ID of the term.
|
|
739
764
|
*
|
|
765
|
+
*
|
|
740
766
|
* @returns ID of the term.
|
|
741
767
|
*/
|
|
742
768
|
getId(): string;
|
|
@@ -781,11 +807,11 @@ declare namespace sap {
|
|
|
781
807
|
type: undefined;
|
|
782
808
|
|
|
783
809
|
/**
|
|
784
|
-
* @experimental - NOT FOR PRODUCTION USE
|
|
785
|
-
*
|
|
786
810
|
* The handling of the window.onerror by the message handler is either switched on or off. Per default the
|
|
787
811
|
* handling is deactivated.
|
|
788
812
|
*
|
|
813
|
+
* @experimental - NOT FOR PRODUCTION USE
|
|
814
|
+
*
|
|
789
815
|
* @returns undefined
|
|
790
816
|
*/
|
|
791
817
|
activateOnErrorHandling(
|
|
@@ -795,10 +821,10 @@ declare namespace sap {
|
|
|
795
821
|
bHandling: boolean
|
|
796
822
|
): undefined;
|
|
797
823
|
/**
|
|
824
|
+
* Adds an element to the footer area.
|
|
825
|
+
*
|
|
798
826
|
* @deprecated (since 1.23.1) - Remains in api in order to maintain downward compatibility to 3 Wave 5 apps.
|
|
799
827
|
* @experimental - NOT FOR PRODUCTION USE
|
|
800
|
-
*
|
|
801
|
-
* Adds an element to the footer area.
|
|
802
828
|
*/
|
|
803
829
|
addMasterFooterContent(
|
|
804
830
|
/**
|
|
@@ -812,6 +838,7 @@ declare namespace sap {
|
|
|
812
838
|
* is supported. Restriction: Only the operators EQ, LE (less equal than) and GE (greater equal than) are
|
|
813
839
|
* supported.
|
|
814
840
|
*
|
|
841
|
+
*
|
|
815
842
|
* @returns ID to be provided for later updates of the same filter via method updatePathFilter.
|
|
816
843
|
*/
|
|
817
844
|
addPathFilter(filter: sap.apf.utils.Filter): number;
|
|
@@ -872,6 +899,7 @@ declare namespace sap {
|
|
|
872
899
|
/**
|
|
873
900
|
* Gets a path filter fragment for the given identifier by fully replacing the existing one.
|
|
874
901
|
*
|
|
902
|
+
*
|
|
875
903
|
* @returns filter for id
|
|
876
904
|
*/
|
|
877
905
|
getPathFilter(
|
|
@@ -907,11 +935,11 @@ declare namespace sap {
|
|
|
907
935
|
aParameters: string[]
|
|
908
936
|
): string;
|
|
909
937
|
/**
|
|
910
|
-
* @deprecated (since 1.23.1)
|
|
911
|
-
* @experimental - NOT FOR PRODUCTION USE
|
|
912
|
-
*
|
|
913
938
|
* Loads a new application configuration in JSON format. When called many times, the file is loaded only
|
|
914
939
|
* the first time.
|
|
940
|
+
*
|
|
941
|
+
* @deprecated (since 1.23.1)
|
|
942
|
+
* @experimental - NOT FOR PRODUCTION USE
|
|
915
943
|
*/
|
|
916
944
|
loadApplicationConfig(
|
|
917
945
|
/**
|
|
@@ -924,6 +952,7 @@ declare namespace sap {
|
|
|
924
952
|
* A message is passed to the APF message handler for further processing. All message specific settings
|
|
925
953
|
* (e.g. message code or severity) need to be passed within an APF message object instance.
|
|
926
954
|
*
|
|
955
|
+
*
|
|
927
956
|
* @returns undefined
|
|
928
957
|
*/
|
|
929
958
|
putMessage(
|
|
@@ -933,11 +962,11 @@ declare namespace sap {
|
|
|
933
962
|
oMessage: sap.apf.core.MessageObject
|
|
934
963
|
): undefined;
|
|
935
964
|
/**
|
|
936
|
-
* @experimental - NOT FOR PRODUCTION USE
|
|
937
|
-
*
|
|
938
965
|
* Calls the sap.apf.core.instance#updatePath (also see {@link sap.apf.core.Path#update}) with proper callback
|
|
939
966
|
* for UI. It also refreshes the steps either from the active step or all the steps depending on the boolean
|
|
940
967
|
* value passed.
|
|
968
|
+
*
|
|
969
|
+
* @experimental - NOT FOR PRODUCTION USE
|
|
941
970
|
*/
|
|
942
971
|
selectionChanged(bRefreshAllSteps: boolean): void;
|
|
943
972
|
/**
|
|
@@ -961,11 +990,11 @@ declare namespace sap {
|
|
|
961
990
|
fnCallback: Function
|
|
962
991
|
): void;
|
|
963
992
|
/**
|
|
964
|
-
* @experimental - NOT FOR PRODUCTION USE
|
|
965
|
-
*
|
|
966
993
|
* Register the function callback to be executed on the given event type. fnCallback will be executed under
|
|
967
994
|
* a context and will be passed with arguments depending on the event type.
|
|
968
995
|
*
|
|
996
|
+
* @experimental - NOT FOR PRODUCTION USE
|
|
997
|
+
*
|
|
969
998
|
* @returns true or false based on success or failure of registering the listener.
|
|
970
999
|
*/
|
|
971
1000
|
setEventCallback(
|
|
@@ -984,6 +1013,7 @@ declare namespace sap {
|
|
|
984
1013
|
* true, when no fatal error occurred during startup phase. Startup phase includes the initialization +
|
|
985
1014
|
* startupApf
|
|
986
1015
|
*
|
|
1016
|
+
*
|
|
987
1017
|
* @returns success of startup
|
|
988
1018
|
*/
|
|
989
1019
|
startupSucceeded(): boolean;
|
|
@@ -1017,6 +1047,8 @@ declare namespace sap {
|
|
|
1017
1047
|
|
|
1018
1048
|
"sap/apf/library": undefined;
|
|
1019
1049
|
|
|
1050
|
+
"sap/apf/ui/instance": undefined;
|
|
1051
|
+
|
|
1020
1052
|
"sap/apf/ui/representations/representationInterface": undefined;
|
|
1021
1053
|
|
|
1022
1054
|
"sap/apf/ui/representations/RepresentationInterfaceProxy": undefined;
|