@sapui5/ts-types 1.134.1 → 1.136.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.cux.home.d.ts +80 -0
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +106 -3
- 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 +34 -6
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1706 -820
- 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 +6 -4
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +152 -21
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +767 -72
- 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 +355 -1389
- package/types/sap.suite.ui.commons.d.ts +86 -1
- package/types/sap.suite.ui.generic.template.d.ts +13 -3
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +215 -15
- 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 +3859 -690
- package/types/sap.ui.core.d.ts +274 -147
- 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 +10 -2
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +2 -2
- package/types/sap.ui.layout.d.ts +11 -10
- package/types/sap.ui.mdc.d.ts +152 -13
- package/types/sap.ui.richtexteditor.d.ts +39 -1
- package/types/sap.ui.rta.d.ts +31 -5
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +22 -16
- package/types/sap.ui.table.d.ts +16 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +42 -31
- 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 +305 -97
- 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 +62 -49
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +11 -21
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.136.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
4
4
|
/**
|
|
@@ -25,6 +25,31 @@ declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
|
25
25
|
*/
|
|
26
26
|
oParams: object
|
|
27
27
|
): Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* Opens a Popup that helps to share content to teams, mail.
|
|
30
|
+
*/
|
|
31
|
+
getCollaborationPopover(
|
|
32
|
+
/**
|
|
33
|
+
* Optional argument in case consumer wants to influence the options, otherwise pass as undefined
|
|
34
|
+
*/
|
|
35
|
+
oParams: object,
|
|
36
|
+
/**
|
|
37
|
+
* Title and data to share
|
|
38
|
+
*/
|
|
39
|
+
oData: object,
|
|
40
|
+
/**
|
|
41
|
+
* The source to which the popover is rendered.
|
|
42
|
+
*/
|
|
43
|
+
oSource: string,
|
|
44
|
+
/**
|
|
45
|
+
* Indicates the data is a URL or not.
|
|
46
|
+
*/
|
|
47
|
+
isLink: boolean,
|
|
48
|
+
/**
|
|
49
|
+
* All the options for the Collaboration
|
|
50
|
+
*/
|
|
51
|
+
oCollaborationOptionsConfig: object
|
|
52
|
+
): void;
|
|
28
53
|
/**
|
|
29
54
|
* Provides a list of all collaboration options
|
|
30
55
|
*
|
|
@@ -57,6 +82,18 @@ declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
|
57
82
|
* @returns Returns promise which has the options for teams collaboration
|
|
58
83
|
*/
|
|
59
84
|
getTeamsContactCollabOptions(): Promise<any>;
|
|
85
|
+
/**
|
|
86
|
+
* Provide Teams status for the contact
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @returns Returns promise which has the status of the contact
|
|
90
|
+
*/
|
|
91
|
+
getTeamsContactStatus(
|
|
92
|
+
/**
|
|
93
|
+
* email of the contact
|
|
94
|
+
*/
|
|
95
|
+
sEmail: string
|
|
96
|
+
): Promise<any>;
|
|
60
97
|
/**
|
|
61
98
|
* Checks if collaboration with contacts is supported in Microsoft Teams
|
|
62
99
|
*
|
|
@@ -5580,6 +5617,14 @@ declare namespace sap {
|
|
|
5580
5617
|
*/
|
|
5581
5618
|
altText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
5582
5619
|
|
|
5620
|
+
/**
|
|
5621
|
+
* Adds a background to the circulat node titles with an opacity of 0.9.
|
|
5622
|
+
*/
|
|
5623
|
+
nodeTitleBackground?:
|
|
5624
|
+
| boolean
|
|
5625
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
5626
|
+
| `{${string}}`;
|
|
5627
|
+
|
|
5583
5628
|
/**
|
|
5584
5629
|
* A list of links to be shown in the links area. A link may point to any UI5 control. It's up to the caller
|
|
5585
5630
|
* to set up all necessary callback functions.
|
|
@@ -7870,6 +7915,17 @@ declare namespace sap {
|
|
|
7870
7915
|
* Returns `true` if the graph is in full screen mode.
|
|
7871
7916
|
*/
|
|
7872
7917
|
isFullScreen(): void;
|
|
7918
|
+
/**
|
|
7919
|
+
* If you call this method with `true` parameter, no invalidation will be triggered until you call it with
|
|
7920
|
+
* `false`. This can be useful when changing properties before rendering that can trigger unwanted invalidation
|
|
7921
|
+
* and force an infinite loop.
|
|
7922
|
+
*/
|
|
7923
|
+
preventInvalidation(
|
|
7924
|
+
/**
|
|
7925
|
+
* True for preventing graph invalidation
|
|
7926
|
+
*/
|
|
7927
|
+
bPreventInvalidation: boolean
|
|
7928
|
+
): void;
|
|
7873
7929
|
/**
|
|
7874
7930
|
* Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
7875
7931
|
*
|
|
@@ -10363,6 +10419,17 @@ declare namespace sap {
|
|
|
10363
10419
|
* @returns Value of property `maxWidth`
|
|
10364
10420
|
*/
|
|
10365
10421
|
getMaxWidth(): int;
|
|
10422
|
+
/**
|
|
10423
|
+
* Gets current value of property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
10424
|
+
*
|
|
10425
|
+
* Adds a background to the circulat node titles with an opacity of 0.9.
|
|
10426
|
+
*
|
|
10427
|
+
* Default value is `false`.
|
|
10428
|
+
*
|
|
10429
|
+
*
|
|
10430
|
+
* @returns Value of property `nodeTitleBackground`
|
|
10431
|
+
*/
|
|
10432
|
+
getNodeTitleBackground(): boolean;
|
|
10366
10433
|
/**
|
|
10367
10434
|
* Returns all lines connected to the parent nodes.
|
|
10368
10435
|
*
|
|
@@ -11030,6 +11097,24 @@ declare namespace sap {
|
|
|
11030
11097
|
*/
|
|
11031
11098
|
iMaxWidth?: int
|
|
11032
11099
|
): this;
|
|
11100
|
+
/**
|
|
11101
|
+
* Sets a new value for property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
11102
|
+
*
|
|
11103
|
+
* Adds a background to the circulat node titles with an opacity of 0.9.
|
|
11104
|
+
*
|
|
11105
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
11106
|
+
*
|
|
11107
|
+
* Default value is `false`.
|
|
11108
|
+
*
|
|
11109
|
+
*
|
|
11110
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
11111
|
+
*/
|
|
11112
|
+
setNodeTitleBackground(
|
|
11113
|
+
/**
|
|
11114
|
+
* New value for property `nodeTitleBackground`
|
|
11115
|
+
*/
|
|
11116
|
+
bNodeTitleBackground?: boolean
|
|
11117
|
+
): this;
|
|
11033
11118
|
/**
|
|
11034
11119
|
* Sets a new value for property {@link #getSelected selected}.
|
|
11035
11120
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.136.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace suite {
|
|
@@ -783,8 +783,14 @@ declare namespace sap {
|
|
|
783
783
|
* Call this method to indicate that the state of custom controls has changed. This is only necessary when
|
|
784
784
|
* methods `stGetCurrentState` and `stApplyState` have been implemented by the reuse component in the Canvas
|
|
785
785
|
* page, such that the corresponding state can be stored and restored.
|
|
786
|
+
* See:
|
|
787
|
+
* {@link https://ui5.sap.com/#/topic/89fa878945294931b15a581a99043005 Custom State Handling for Extended Apps}
|
|
788
|
+
*
|
|
789
|
+
*
|
|
790
|
+
* @returns A `Promise` that is resolved when the changed state is transferred to the URL and the corresponding
|
|
791
|
+
* busy session is ended.
|
|
786
792
|
*/
|
|
787
|
-
onCustomStateChange():
|
|
793
|
+
onCustomStateChange(): Promise<any>;
|
|
788
794
|
/**
|
|
789
795
|
* Allow parent components to be refreshed on next activation
|
|
790
796
|
*/
|
|
@@ -1210,7 +1216,11 @@ declare namespace sap {
|
|
|
1210
1216
|
/**
|
|
1211
1217
|
* Smart Templates Application Component
|
|
1212
1218
|
*/
|
|
1213
|
-
abstract class AppComponent
|
|
1219
|
+
abstract class AppComponent
|
|
1220
|
+
extends sap.ui.core.UIComponent
|
|
1221
|
+
implements sap.ui.core.IAsyncContentCreation
|
|
1222
|
+
{
|
|
1223
|
+
__implements__sap_ui_core_IAsyncContentCreation: boolean;
|
|
1214
1224
|
/**
|
|
1215
1225
|
* Main class used for Smart Template(Fiori elements V2) Application Component
|
|
1216
1226
|
*
|
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.136.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -11,6 +11,8 @@ declare namespace sap {
|
|
|
11
11
|
* Interface for controls suitable for the `header` aggregation of {@link sap.tnt.ToolPage}.
|
|
12
12
|
*
|
|
13
13
|
* @since 1.68
|
|
14
|
+
* @deprecated As of version 1.135. This interface is not needed anymore. The `ToolPage` now accepts any
|
|
15
|
+
* control as a header or subheader.
|
|
14
16
|
*/
|
|
15
17
|
interface IToolHeader {
|
|
16
18
|
__implements__sap_tnt_IToolHeader: boolean;
|
|
@@ -142,6 +144,11 @@ declare namespace sap {
|
|
|
142
144
|
* Fired when an item is selected.
|
|
143
145
|
*/
|
|
144
146
|
itemSelect?: (oEvent: NavigationList$ItemSelectEvent) => void;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Fired when an item is pressed.
|
|
150
|
+
*/
|
|
151
|
+
itemPress?: (oEvent: NavigationList$ItemPressEvent) => void;
|
|
145
152
|
}
|
|
146
153
|
|
|
147
154
|
/**
|
|
@@ -347,7 +354,7 @@ declare namespace sap {
|
|
|
347
354
|
* to achieve a Side Navigation Overlay Mode.
|
|
348
355
|
*
|
|
349
356
|
* @since 1.134
|
|
350
|
-
* @experimental
|
|
357
|
+
* @experimental As of version 1.134.
|
|
351
358
|
*/
|
|
352
359
|
design?:
|
|
353
360
|
| sap.tnt.SideNavigationDesign
|
|
@@ -382,6 +389,11 @@ declare namespace sap {
|
|
|
382
389
|
* Fired when an item is selected.
|
|
383
390
|
*/
|
|
384
391
|
itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Fired when an item is pressed.
|
|
395
|
+
*/
|
|
396
|
+
itemPress?: (oEvent: SideNavigation$ItemPressEvent) => void;
|
|
385
397
|
}
|
|
386
398
|
|
|
387
399
|
/**
|
|
@@ -420,14 +432,14 @@ declare namespace sap {
|
|
|
420
432
|
/**
|
|
421
433
|
* The control to appear in the header area.
|
|
422
434
|
*/
|
|
423
|
-
header?: sap.
|
|
435
|
+
header?: sap.ui.core.Control;
|
|
424
436
|
|
|
425
437
|
/**
|
|
426
438
|
* The control to appear in the subheader area.
|
|
427
439
|
*
|
|
428
440
|
* @since 1.93
|
|
429
441
|
*/
|
|
430
|
-
subHeader?: sap.
|
|
442
|
+
subHeader?: sap.ui.core.Control;
|
|
431
443
|
|
|
432
444
|
/**
|
|
433
445
|
* The side menu of the layout.
|
|
@@ -444,6 +456,16 @@ declare namespace sap {
|
|
|
444
456
|
| `{${string}}`;
|
|
445
457
|
}
|
|
446
458
|
|
|
459
|
+
/**
|
|
460
|
+
* Parameters of the NavigationList#itemPress event.
|
|
461
|
+
*/
|
|
462
|
+
interface NavigationList$ItemPressEventParameters {
|
|
463
|
+
/**
|
|
464
|
+
* The pressed item.
|
|
465
|
+
*/
|
|
466
|
+
item?: sap.ui.core.Item;
|
|
467
|
+
}
|
|
468
|
+
|
|
447
469
|
/**
|
|
448
470
|
* Parameters of the NavigationList#itemSelect event.
|
|
449
471
|
*/
|
|
@@ -474,6 +496,16 @@ declare namespace sap {
|
|
|
474
496
|
item?: sap.ui.core.Item;
|
|
475
497
|
}
|
|
476
498
|
|
|
499
|
+
/**
|
|
500
|
+
* Parameters of the SideNavigation#itemPress event.
|
|
501
|
+
*/
|
|
502
|
+
interface SideNavigation$ItemPressEventParameters {
|
|
503
|
+
/**
|
|
504
|
+
* The pressed item.
|
|
505
|
+
*/
|
|
506
|
+
item?: sap.ui.core.Item;
|
|
507
|
+
}
|
|
508
|
+
|
|
477
509
|
/**
|
|
478
510
|
* Parameters of the SideNavigation#itemSelect event.
|
|
479
511
|
*/
|
|
@@ -922,6 +954,53 @@ declare namespace sap {
|
|
|
922
954
|
*/
|
|
923
955
|
oItem: sap.tnt.NavigationListItemBase
|
|
924
956
|
): this;
|
|
957
|
+
/**
|
|
958
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.NavigationList`.
|
|
959
|
+
*
|
|
960
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
961
|
+
* otherwise it will be bound to this `sap.tnt.NavigationList` itself.
|
|
962
|
+
*
|
|
963
|
+
* Fired when an item is pressed.
|
|
964
|
+
*
|
|
965
|
+
*
|
|
966
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
967
|
+
*/
|
|
968
|
+
attachItemPress(
|
|
969
|
+
/**
|
|
970
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
971
|
+
* object when firing the event
|
|
972
|
+
*/
|
|
973
|
+
oData: object,
|
|
974
|
+
/**
|
|
975
|
+
* The function to be called when the event occurs
|
|
976
|
+
*/
|
|
977
|
+
fnFunction: (p1: NavigationList$ItemPressEvent) => void,
|
|
978
|
+
/**
|
|
979
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
|
|
980
|
+
*/
|
|
981
|
+
oListener?: object
|
|
982
|
+
): this;
|
|
983
|
+
/**
|
|
984
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.NavigationList`.
|
|
985
|
+
*
|
|
986
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
987
|
+
* otherwise it will be bound to this `sap.tnt.NavigationList` itself.
|
|
988
|
+
*
|
|
989
|
+
* Fired when an item is pressed.
|
|
990
|
+
*
|
|
991
|
+
*
|
|
992
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
993
|
+
*/
|
|
994
|
+
attachItemPress(
|
|
995
|
+
/**
|
|
996
|
+
* The function to be called when the event occurs
|
|
997
|
+
*/
|
|
998
|
+
fnFunction: (p1: NavigationList$ItemPressEvent) => void,
|
|
999
|
+
/**
|
|
1000
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
|
|
1001
|
+
*/
|
|
1002
|
+
oListener?: object
|
|
1003
|
+
): this;
|
|
925
1004
|
/**
|
|
926
1005
|
* Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
|
|
927
1006
|
*
|
|
@@ -976,6 +1055,24 @@ declare namespace sap {
|
|
|
976
1055
|
* @returns Reference to `this` in order to allow method chaining
|
|
977
1056
|
*/
|
|
978
1057
|
destroyItems(): this;
|
|
1058
|
+
/**
|
|
1059
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.tnt.NavigationList`.
|
|
1060
|
+
*
|
|
1061
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
1062
|
+
*
|
|
1063
|
+
*
|
|
1064
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1065
|
+
*/
|
|
1066
|
+
detachItemPress(
|
|
1067
|
+
/**
|
|
1068
|
+
* The function to be called, when the event occurs
|
|
1069
|
+
*/
|
|
1070
|
+
fnFunction: (p1: NavigationList$ItemPressEvent) => void,
|
|
1071
|
+
/**
|
|
1072
|
+
* Context object on which the given function had to be called
|
|
1073
|
+
*/
|
|
1074
|
+
oListener?: object
|
|
1075
|
+
): this;
|
|
979
1076
|
/**
|
|
980
1077
|
* Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
|
|
981
1078
|
*
|
|
@@ -994,6 +1091,19 @@ declare namespace sap {
|
|
|
994
1091
|
*/
|
|
995
1092
|
oListener?: object
|
|
996
1093
|
): this;
|
|
1094
|
+
/**
|
|
1095
|
+
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
1096
|
+
*
|
|
1097
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1098
|
+
*
|
|
1099
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1100
|
+
*/
|
|
1101
|
+
fireItemPress(
|
|
1102
|
+
/**
|
|
1103
|
+
* Parameters to pass along with the event
|
|
1104
|
+
*/
|
|
1105
|
+
mParameters?: sap.tnt.NavigationList$ItemPressEventParameters
|
|
1106
|
+
): this;
|
|
997
1107
|
/**
|
|
998
1108
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
999
1109
|
*
|
|
@@ -2153,6 +2263,53 @@ declare namespace sap {
|
|
|
2153
2263
|
* @returns Metadata object describing this class
|
|
2154
2264
|
*/
|
|
2155
2265
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
2266
|
+
/**
|
|
2267
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.SideNavigation`.
|
|
2268
|
+
*
|
|
2269
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2270
|
+
* otherwise it will be bound to this `sap.tnt.SideNavigation` itself.
|
|
2271
|
+
*
|
|
2272
|
+
* Fired when an item is pressed.
|
|
2273
|
+
*
|
|
2274
|
+
*
|
|
2275
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2276
|
+
*/
|
|
2277
|
+
attachItemPress(
|
|
2278
|
+
/**
|
|
2279
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2280
|
+
* object when firing the event
|
|
2281
|
+
*/
|
|
2282
|
+
oData: object,
|
|
2283
|
+
/**
|
|
2284
|
+
* The function to be called when the event occurs
|
|
2285
|
+
*/
|
|
2286
|
+
fnFunction: (p1: SideNavigation$ItemPressEvent) => void,
|
|
2287
|
+
/**
|
|
2288
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
|
|
2289
|
+
*/
|
|
2290
|
+
oListener?: object
|
|
2291
|
+
): this;
|
|
2292
|
+
/**
|
|
2293
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.SideNavigation`.
|
|
2294
|
+
*
|
|
2295
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2296
|
+
* otherwise it will be bound to this `sap.tnt.SideNavigation` itself.
|
|
2297
|
+
*
|
|
2298
|
+
* Fired when an item is pressed.
|
|
2299
|
+
*
|
|
2300
|
+
*
|
|
2301
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2302
|
+
*/
|
|
2303
|
+
attachItemPress(
|
|
2304
|
+
/**
|
|
2305
|
+
* The function to be called when the event occurs
|
|
2306
|
+
*/
|
|
2307
|
+
fnFunction: (p1: SideNavigation$ItemPressEvent) => void,
|
|
2308
|
+
/**
|
|
2309
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
|
|
2310
|
+
*/
|
|
2311
|
+
oListener?: object
|
|
2312
|
+
): this;
|
|
2156
2313
|
/**
|
|
2157
2314
|
* Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
|
|
2158
2315
|
*
|
|
@@ -2237,6 +2394,24 @@ declare namespace sap {
|
|
|
2237
2394
|
* @returns Reference to `this` in order to allow method chaining
|
|
2238
2395
|
*/
|
|
2239
2396
|
destroyItem(): this;
|
|
2397
|
+
/**
|
|
2398
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.tnt.SideNavigation`.
|
|
2399
|
+
*
|
|
2400
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
2401
|
+
*
|
|
2402
|
+
*
|
|
2403
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2404
|
+
*/
|
|
2405
|
+
detachItemPress(
|
|
2406
|
+
/**
|
|
2407
|
+
* The function to be called, when the event occurs
|
|
2408
|
+
*/
|
|
2409
|
+
fnFunction: (p1: SideNavigation$ItemPressEvent) => void,
|
|
2410
|
+
/**
|
|
2411
|
+
* Context object on which the given function had to be called
|
|
2412
|
+
*/
|
|
2413
|
+
oListener?: object
|
|
2414
|
+
): this;
|
|
2240
2415
|
/**
|
|
2241
2416
|
* Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
|
|
2242
2417
|
*
|
|
@@ -2255,6 +2430,19 @@ declare namespace sap {
|
|
|
2255
2430
|
*/
|
|
2256
2431
|
oListener?: object
|
|
2257
2432
|
): this;
|
|
2433
|
+
/**
|
|
2434
|
+
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
2435
|
+
*
|
|
2436
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2437
|
+
*
|
|
2438
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2439
|
+
*/
|
|
2440
|
+
fireItemPress(
|
|
2441
|
+
/**
|
|
2442
|
+
* Parameters to pass along with the event
|
|
2443
|
+
*/
|
|
2444
|
+
mParameters?: sap.tnt.SideNavigation$ItemPressEventParameters
|
|
2445
|
+
): this;
|
|
2258
2446
|
/**
|
|
2259
2447
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
2260
2448
|
*
|
|
@@ -2288,7 +2476,7 @@ declare namespace sap {
|
|
|
2288
2476
|
* Default value is `Decorated`.
|
|
2289
2477
|
*
|
|
2290
2478
|
* @since 1.134
|
|
2291
|
-
* @experimental
|
|
2479
|
+
* @experimental As of version 1.134.
|
|
2292
2480
|
*
|
|
2293
2481
|
* @returns Value of property `design`
|
|
2294
2482
|
*/
|
|
@@ -2383,7 +2571,7 @@ declare namespace sap {
|
|
|
2383
2571
|
* Default value is `Decorated`.
|
|
2384
2572
|
*
|
|
2385
2573
|
* @since 1.134
|
|
2386
|
-
* @experimental
|
|
2574
|
+
* @experimental As of version 1.134.
|
|
2387
2575
|
*
|
|
2388
2576
|
* @returns Reference to `this` in order to allow method chaining
|
|
2389
2577
|
*/
|
|
@@ -2532,11 +2720,7 @@ declare namespace sap {
|
|
|
2532
2720
|
*
|
|
2533
2721
|
* @since 1.34
|
|
2534
2722
|
*/
|
|
2535
|
-
class ToolHeader
|
|
2536
|
-
extends sap.m.OverflowToolbar
|
|
2537
|
-
implements sap.tnt.IToolHeader
|
|
2538
|
-
{
|
|
2539
|
-
__implements__sap_tnt_IToolHeader: boolean;
|
|
2723
|
+
class ToolHeader extends sap.m.OverflowToolbar {
|
|
2540
2724
|
/**
|
|
2541
2725
|
* Constructor for a new ToolHeader.
|
|
2542
2726
|
*
|
|
@@ -2812,7 +2996,7 @@ declare namespace sap {
|
|
|
2812
2996
|
*
|
|
2813
2997
|
* The control to appear in the header area.
|
|
2814
2998
|
*/
|
|
2815
|
-
getHeader(): sap.
|
|
2999
|
+
getHeader(): sap.ui.core.Control;
|
|
2816
3000
|
/**
|
|
2817
3001
|
* Gets content of aggregation {@link #getMainContents mainContents}.
|
|
2818
3002
|
*
|
|
@@ -2843,7 +3027,7 @@ declare namespace sap {
|
|
|
2843
3027
|
*
|
|
2844
3028
|
* @since 1.93
|
|
2845
3029
|
*/
|
|
2846
|
-
getSubHeader(): sap.
|
|
3030
|
+
getSubHeader(): sap.ui.core.Control;
|
|
2847
3031
|
/**
|
|
2848
3032
|
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getMainContents mainContents}.
|
|
2849
3033
|
* and returns its index if found or -1 otherwise.
|
|
@@ -2925,7 +3109,7 @@ declare namespace sap {
|
|
|
2925
3109
|
/**
|
|
2926
3110
|
* The header to set
|
|
2927
3111
|
*/
|
|
2928
|
-
oHeader: sap.
|
|
3112
|
+
oHeader: sap.ui.core.Control
|
|
2929
3113
|
): this;
|
|
2930
3114
|
/**
|
|
2931
3115
|
* Sets the aggregated {@link #getSideContent sideContent}.
|
|
@@ -2962,7 +3146,7 @@ declare namespace sap {
|
|
|
2962
3146
|
/**
|
|
2963
3147
|
* The subHeader to set
|
|
2964
3148
|
*/
|
|
2965
|
-
oSubHeader: sap.
|
|
3149
|
+
oSubHeader: sap.ui.core.Control
|
|
2966
3150
|
): this;
|
|
2967
3151
|
/**
|
|
2968
3152
|
* Toggles the expand/collapse state of the SideContent.
|
|
@@ -3210,6 +3394,14 @@ declare namespace sap {
|
|
|
3210
3394
|
*/
|
|
3211
3395
|
Plain = "Plain",
|
|
3212
3396
|
}
|
|
3397
|
+
/**
|
|
3398
|
+
* Event object of the NavigationList#itemPress event.
|
|
3399
|
+
*/
|
|
3400
|
+
type NavigationList$ItemPressEvent = sap.ui.base.Event<
|
|
3401
|
+
NavigationList$ItemPressEventParameters,
|
|
3402
|
+
NavigationList
|
|
3403
|
+
>;
|
|
3404
|
+
|
|
3213
3405
|
/**
|
|
3214
3406
|
* Event object of the NavigationList#itemSelect event.
|
|
3215
3407
|
*/
|
|
@@ -3234,6 +3426,14 @@ declare namespace sap {
|
|
|
3234
3426
|
NavigationListItemBase
|
|
3235
3427
|
>;
|
|
3236
3428
|
|
|
3429
|
+
/**
|
|
3430
|
+
* Event object of the SideNavigation#itemPress event.
|
|
3431
|
+
*/
|
|
3432
|
+
type SideNavigation$ItemPressEvent = sap.ui.base.Event<
|
|
3433
|
+
SideNavigation$ItemPressEventParameters,
|
|
3434
|
+
SideNavigation
|
|
3435
|
+
>;
|
|
3436
|
+
|
|
3237
3437
|
/**
|
|
3238
3438
|
* Event object of the SideNavigation#itemSelect event.
|
|
3239
3439
|
*/
|