@sapui5/ts-types-esm 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 +82 -0
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +102 -8
- 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 +31 -7
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1289 -386
- 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 -22
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +837 -111
- 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 +249 -1230
- package/types/sap.suite.ui.commons.d.ts +83 -1
- package/types/sap.suite.ui.generic.template.d.ts +15 -3
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +215 -19
- 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 +3643 -505
- package/types/sap.ui.core.d.ts +272 -155
- 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 +21 -7
- 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 +14 -13
- package/types/sap.ui.mdc.d.ts +160 -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 +30 -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 +45 -32
- package/types/sap.ui.ux3.d.ts +3 -3
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +320 -110
- 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 +63 -52
- 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
|
*
|
|
@@ -21606,6 +21643,17 @@ declare module "sap/suite/ui/commons/networkgraph/Graph" {
|
|
|
21606
21643
|
* Returns `true` if the graph is in full screen mode.
|
|
21607
21644
|
*/
|
|
21608
21645
|
isFullScreen(): void;
|
|
21646
|
+
/**
|
|
21647
|
+
* If you call this method with `true` parameter, no invalidation will be triggered until you call it with
|
|
21648
|
+
* `false`. This can be useful when changing properties before rendering that can trigger unwanted invalidation
|
|
21649
|
+
* and force an infinite loop.
|
|
21650
|
+
*/
|
|
21651
|
+
preventInvalidation(
|
|
21652
|
+
/**
|
|
21653
|
+
* True for preventing graph invalidation
|
|
21654
|
+
*/
|
|
21655
|
+
bPreventInvalidation: boolean
|
|
21656
|
+
): void;
|
|
21609
21657
|
/**
|
|
21610
21658
|
* Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
21611
21659
|
*
|
|
@@ -25859,6 +25907,17 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
25859
25907
|
* @returns Value of property `maxWidth`
|
|
25860
25908
|
*/
|
|
25861
25909
|
getMaxWidth(): int;
|
|
25910
|
+
/**
|
|
25911
|
+
* Gets current value of property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
25912
|
+
*
|
|
25913
|
+
* Adds a background to the circulat node titles with an opacity of 0.9.
|
|
25914
|
+
*
|
|
25915
|
+
* Default value is `false`.
|
|
25916
|
+
*
|
|
25917
|
+
*
|
|
25918
|
+
* @returns Value of property `nodeTitleBackground`
|
|
25919
|
+
*/
|
|
25920
|
+
getNodeTitleBackground(): boolean;
|
|
25862
25921
|
/**
|
|
25863
25922
|
* Returns all lines connected to the parent nodes.
|
|
25864
25923
|
*
|
|
@@ -26525,6 +26584,24 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26525
26584
|
*/
|
|
26526
26585
|
iMaxWidth?: int
|
|
26527
26586
|
): this;
|
|
26587
|
+
/**
|
|
26588
|
+
* Sets a new value for property {@link #getNodeTitleBackground nodeTitleBackground}.
|
|
26589
|
+
*
|
|
26590
|
+
* Adds a background to the circulat node titles with an opacity of 0.9.
|
|
26591
|
+
*
|
|
26592
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
26593
|
+
*
|
|
26594
|
+
* Default value is `false`.
|
|
26595
|
+
*
|
|
26596
|
+
*
|
|
26597
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
26598
|
+
*/
|
|
26599
|
+
setNodeTitleBackground(
|
|
26600
|
+
/**
|
|
26601
|
+
* New value for property `nodeTitleBackground`
|
|
26602
|
+
*/
|
|
26603
|
+
bNodeTitleBackground?: boolean
|
|
26604
|
+
): this;
|
|
26528
26605
|
/**
|
|
26529
26606
|
* Sets a new value for property {@link #getSelected selected}.
|
|
26530
26607
|
*
|
|
@@ -26905,6 +26982,11 @@ declare module "sap/suite/ui/commons/networkgraph/Node" {
|
|
|
26905
26982
|
*/
|
|
26906
26983
|
altText?: string | PropertyBindingInfo;
|
|
26907
26984
|
|
|
26985
|
+
/**
|
|
26986
|
+
* Adds a background to the circulat node titles with an opacity of 0.9.
|
|
26987
|
+
*/
|
|
26988
|
+
nodeTitleBackground?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
26989
|
+
|
|
26908
26990
|
/**
|
|
26909
26991
|
* 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
|
|
26910
26992
|
* to set up all necessary callback functions.
|
|
@@ -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/generic/template/library" {
|
|
4
4
|
/**
|
|
@@ -838,8 +838,14 @@ declare module "sap/suite/ui/generic/template/Canvas/extensionAPI/ExtensionAPI"
|
|
|
838
838
|
* Call this method to indicate that the state of custom controls has changed. This is only necessary when
|
|
839
839
|
* methods `stGetCurrentState` and `stApplyState` have been implemented by the reuse component in the Canvas
|
|
840
840
|
* page, such that the corresponding state can be stored and restored.
|
|
841
|
+
* See:
|
|
842
|
+
* {@link https://ui5.sap.com/#/topic/89fa878945294931b15a581a99043005 Custom State Handling for Extended Apps}
|
|
843
|
+
*
|
|
844
|
+
*
|
|
845
|
+
* @returns A `Promise` that is resolved when the changed state is transferred to the URL and the corresponding
|
|
846
|
+
* busy session is ended.
|
|
841
847
|
*/
|
|
842
|
-
onCustomStateChange():
|
|
848
|
+
onCustomStateChange(): Promise<any>;
|
|
843
849
|
/**
|
|
844
850
|
* Allow parent components to be refreshed on next activation
|
|
845
851
|
*/
|
|
@@ -1186,6 +1192,8 @@ declare module "sap/suite/ui/generic/template/lib/AppComponent" {
|
|
|
1186
1192
|
$UIComponentSettings,
|
|
1187
1193
|
} from "sap/ui/core/UIComponent";
|
|
1188
1194
|
|
|
1195
|
+
import { IAsyncContentCreation } from "sap/ui/core/library";
|
|
1196
|
+
|
|
1189
1197
|
import Event from "sap/ui/base/Event";
|
|
1190
1198
|
|
|
1191
1199
|
import ComponentMetadata from "sap/ui/core/ComponentMetadata";
|
|
@@ -1195,7 +1203,11 @@ declare module "sap/suite/ui/generic/template/lib/AppComponent" {
|
|
|
1195
1203
|
/**
|
|
1196
1204
|
* Smart Templates Application Component
|
|
1197
1205
|
*/
|
|
1198
|
-
export default abstract class AppComponent
|
|
1206
|
+
export default abstract class AppComponent
|
|
1207
|
+
extends UIComponent
|
|
1208
|
+
implements IAsyncContentCreation
|
|
1209
|
+
{
|
|
1210
|
+
__implements__sap_ui_core_IAsyncContentCreation: boolean;
|
|
1199
1211
|
/**
|
|
1200
1212
|
* Main class used for Smart Template(Fiori elements V2) Application Component
|
|
1201
1213
|
*
|
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.136.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
/**
|
|
5
5
|
* Interface for controls suitable for the `header` aggregation of {@link sap.tnt.ToolPage}.
|
|
6
6
|
*
|
|
7
7
|
* @since 1.68
|
|
8
|
+
* @deprecated As of version 1.135. This interface is not needed anymore. The `ToolPage` now accepts any
|
|
9
|
+
* control as a header or subheader.
|
|
8
10
|
*/
|
|
9
11
|
export interface IToolHeader {
|
|
10
12
|
__implements__sap_tnt_IToolHeader: boolean;
|
|
@@ -783,6 +785,53 @@ declare module "sap/tnt/NavigationList" {
|
|
|
783
785
|
*/
|
|
784
786
|
oItem: NavigationListItemBase
|
|
785
787
|
): this;
|
|
788
|
+
/**
|
|
789
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.NavigationList`.
|
|
790
|
+
*
|
|
791
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
792
|
+
* otherwise it will be bound to this `sap.tnt.NavigationList` itself.
|
|
793
|
+
*
|
|
794
|
+
* Fired when an item is pressed.
|
|
795
|
+
*
|
|
796
|
+
*
|
|
797
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
798
|
+
*/
|
|
799
|
+
attachItemPress(
|
|
800
|
+
/**
|
|
801
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
802
|
+
* object when firing the event
|
|
803
|
+
*/
|
|
804
|
+
oData: object,
|
|
805
|
+
/**
|
|
806
|
+
* The function to be called when the event occurs
|
|
807
|
+
*/
|
|
808
|
+
fnFunction: (p1: NavigationList$ItemPressEvent) => void,
|
|
809
|
+
/**
|
|
810
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
|
|
811
|
+
*/
|
|
812
|
+
oListener?: object
|
|
813
|
+
): this;
|
|
814
|
+
/**
|
|
815
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.NavigationList`.
|
|
816
|
+
*
|
|
817
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
818
|
+
* otherwise it will be bound to this `sap.tnt.NavigationList` itself.
|
|
819
|
+
*
|
|
820
|
+
* Fired when an item is pressed.
|
|
821
|
+
*
|
|
822
|
+
*
|
|
823
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
824
|
+
*/
|
|
825
|
+
attachItemPress(
|
|
826
|
+
/**
|
|
827
|
+
* The function to be called when the event occurs
|
|
828
|
+
*/
|
|
829
|
+
fnFunction: (p1: NavigationList$ItemPressEvent) => void,
|
|
830
|
+
/**
|
|
831
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
|
|
832
|
+
*/
|
|
833
|
+
oListener?: object
|
|
834
|
+
): this;
|
|
786
835
|
/**
|
|
787
836
|
* Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
|
|
788
837
|
*
|
|
@@ -837,6 +886,24 @@ declare module "sap/tnt/NavigationList" {
|
|
|
837
886
|
* @returns Reference to `this` in order to allow method chaining
|
|
838
887
|
*/
|
|
839
888
|
destroyItems(): this;
|
|
889
|
+
/**
|
|
890
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.tnt.NavigationList`.
|
|
891
|
+
*
|
|
892
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
893
|
+
*
|
|
894
|
+
*
|
|
895
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
896
|
+
*/
|
|
897
|
+
detachItemPress(
|
|
898
|
+
/**
|
|
899
|
+
* The function to be called, when the event occurs
|
|
900
|
+
*/
|
|
901
|
+
fnFunction: (p1: NavigationList$ItemPressEvent) => void,
|
|
902
|
+
/**
|
|
903
|
+
* Context object on which the given function had to be called
|
|
904
|
+
*/
|
|
905
|
+
oListener?: object
|
|
906
|
+
): this;
|
|
840
907
|
/**
|
|
841
908
|
* Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
|
|
842
909
|
*
|
|
@@ -855,6 +922,19 @@ declare module "sap/tnt/NavigationList" {
|
|
|
855
922
|
*/
|
|
856
923
|
oListener?: object
|
|
857
924
|
): this;
|
|
925
|
+
/**
|
|
926
|
+
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
927
|
+
*
|
|
928
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
929
|
+
*
|
|
930
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
931
|
+
*/
|
|
932
|
+
fireItemPress(
|
|
933
|
+
/**
|
|
934
|
+
* Parameters to pass along with the event
|
|
935
|
+
*/
|
|
936
|
+
mParameters?: NavigationList$ItemPressEventParameters
|
|
937
|
+
): this;
|
|
858
938
|
/**
|
|
859
939
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
860
940
|
*
|
|
@@ -1119,8 +1199,31 @@ declare module "sap/tnt/NavigationList" {
|
|
|
1119
1199
|
* Fired when an item is selected.
|
|
1120
1200
|
*/
|
|
1121
1201
|
itemSelect?: (oEvent: NavigationList$ItemSelectEvent) => void;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Fired when an item is pressed.
|
|
1205
|
+
*/
|
|
1206
|
+
itemPress?: (oEvent: NavigationList$ItemPressEvent) => void;
|
|
1122
1207
|
}
|
|
1123
1208
|
|
|
1209
|
+
/**
|
|
1210
|
+
* Parameters of the NavigationList#itemPress event.
|
|
1211
|
+
*/
|
|
1212
|
+
export interface NavigationList$ItemPressEventParameters {
|
|
1213
|
+
/**
|
|
1214
|
+
* The pressed item.
|
|
1215
|
+
*/
|
|
1216
|
+
item?: Item;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* Event object of the NavigationList#itemPress event.
|
|
1221
|
+
*/
|
|
1222
|
+
export type NavigationList$ItemPressEvent = Event<
|
|
1223
|
+
NavigationList$ItemPressEventParameters,
|
|
1224
|
+
NavigationList
|
|
1225
|
+
>;
|
|
1226
|
+
|
|
1124
1227
|
/**
|
|
1125
1228
|
* Parameters of the NavigationList#itemSelect event.
|
|
1126
1229
|
*/
|
|
@@ -2325,6 +2428,53 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2325
2428
|
* @returns Metadata object describing this class
|
|
2326
2429
|
*/
|
|
2327
2430
|
static getMetadata(): ElementMetadata;
|
|
2431
|
+
/**
|
|
2432
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.SideNavigation`.
|
|
2433
|
+
*
|
|
2434
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2435
|
+
* otherwise it will be bound to this `sap.tnt.SideNavigation` itself.
|
|
2436
|
+
*
|
|
2437
|
+
* Fired when an item is pressed.
|
|
2438
|
+
*
|
|
2439
|
+
*
|
|
2440
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2441
|
+
*/
|
|
2442
|
+
attachItemPress(
|
|
2443
|
+
/**
|
|
2444
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2445
|
+
* object when firing the event
|
|
2446
|
+
*/
|
|
2447
|
+
oData: object,
|
|
2448
|
+
/**
|
|
2449
|
+
* The function to be called when the event occurs
|
|
2450
|
+
*/
|
|
2451
|
+
fnFunction: (p1: SideNavigation$ItemPressEvent) => void,
|
|
2452
|
+
/**
|
|
2453
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
|
|
2454
|
+
*/
|
|
2455
|
+
oListener?: object
|
|
2456
|
+
): this;
|
|
2457
|
+
/**
|
|
2458
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemPress itemPress} event of this `sap.tnt.SideNavigation`.
|
|
2459
|
+
*
|
|
2460
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2461
|
+
* otherwise it will be bound to this `sap.tnt.SideNavigation` itself.
|
|
2462
|
+
*
|
|
2463
|
+
* Fired when an item is pressed.
|
|
2464
|
+
*
|
|
2465
|
+
*
|
|
2466
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2467
|
+
*/
|
|
2468
|
+
attachItemPress(
|
|
2469
|
+
/**
|
|
2470
|
+
* The function to be called when the event occurs
|
|
2471
|
+
*/
|
|
2472
|
+
fnFunction: (p1: SideNavigation$ItemPressEvent) => void,
|
|
2473
|
+
/**
|
|
2474
|
+
* Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
|
|
2475
|
+
*/
|
|
2476
|
+
oListener?: object
|
|
2477
|
+
): this;
|
|
2328
2478
|
/**
|
|
2329
2479
|
* Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
|
|
2330
2480
|
*
|
|
@@ -2409,6 +2559,24 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2409
2559
|
* @returns Reference to `this` in order to allow method chaining
|
|
2410
2560
|
*/
|
|
2411
2561
|
destroyItem(): this;
|
|
2562
|
+
/**
|
|
2563
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemPress itemPress} event of this `sap.tnt.SideNavigation`.
|
|
2564
|
+
*
|
|
2565
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
2566
|
+
*
|
|
2567
|
+
*
|
|
2568
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2569
|
+
*/
|
|
2570
|
+
detachItemPress(
|
|
2571
|
+
/**
|
|
2572
|
+
* The function to be called, when the event occurs
|
|
2573
|
+
*/
|
|
2574
|
+
fnFunction: (p1: SideNavigation$ItemPressEvent) => void,
|
|
2575
|
+
/**
|
|
2576
|
+
* Context object on which the given function had to be called
|
|
2577
|
+
*/
|
|
2578
|
+
oListener?: object
|
|
2579
|
+
): this;
|
|
2412
2580
|
/**
|
|
2413
2581
|
* Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
|
|
2414
2582
|
*
|
|
@@ -2427,6 +2595,19 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2427
2595
|
*/
|
|
2428
2596
|
oListener?: object
|
|
2429
2597
|
): this;
|
|
2598
|
+
/**
|
|
2599
|
+
* Fires event {@link #event:itemPress itemPress} to attached listeners.
|
|
2600
|
+
*
|
|
2601
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2602
|
+
*
|
|
2603
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2604
|
+
*/
|
|
2605
|
+
fireItemPress(
|
|
2606
|
+
/**
|
|
2607
|
+
* Parameters to pass along with the event
|
|
2608
|
+
*/
|
|
2609
|
+
mParameters?: SideNavigation$ItemPressEventParameters
|
|
2610
|
+
): this;
|
|
2430
2611
|
/**
|
|
2431
2612
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
2432
2613
|
*
|
|
@@ -2460,7 +2641,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2460
2641
|
* Default value is `Decorated`.
|
|
2461
2642
|
*
|
|
2462
2643
|
* @since 1.134
|
|
2463
|
-
* @experimental
|
|
2644
|
+
* @experimental As of version 1.134.
|
|
2464
2645
|
*
|
|
2465
2646
|
* @returns Value of property `design`
|
|
2466
2647
|
*/
|
|
@@ -2555,7 +2736,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2555
2736
|
* Default value is `Decorated`.
|
|
2556
2737
|
*
|
|
2557
2738
|
* @since 1.134
|
|
2558
|
-
* @experimental
|
|
2739
|
+
* @experimental As of version 1.134.
|
|
2559
2740
|
*
|
|
2560
2741
|
* @returns Reference to `this` in order to allow method chaining
|
|
2561
2742
|
*/
|
|
@@ -2705,7 +2886,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2705
2886
|
* to achieve a Side Navigation Overlay Mode.
|
|
2706
2887
|
*
|
|
2707
2888
|
* @since 1.134
|
|
2708
|
-
* @experimental
|
|
2889
|
+
* @experimental As of version 1.134.
|
|
2709
2890
|
*/
|
|
2710
2891
|
design?:
|
|
2711
2892
|
| (SideNavigationDesign | keyof typeof SideNavigationDesign)
|
|
@@ -2740,8 +2921,31 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2740
2921
|
* Fired when an item is selected.
|
|
2741
2922
|
*/
|
|
2742
2923
|
itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
|
|
2924
|
+
|
|
2925
|
+
/**
|
|
2926
|
+
* Fired when an item is pressed.
|
|
2927
|
+
*/
|
|
2928
|
+
itemPress?: (oEvent: SideNavigation$ItemPressEvent) => void;
|
|
2743
2929
|
}
|
|
2744
2930
|
|
|
2931
|
+
/**
|
|
2932
|
+
* Parameters of the SideNavigation#itemPress event.
|
|
2933
|
+
*/
|
|
2934
|
+
export interface SideNavigation$ItemPressEventParameters {
|
|
2935
|
+
/**
|
|
2936
|
+
* The pressed item.
|
|
2937
|
+
*/
|
|
2938
|
+
item?: Item;
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* Event object of the SideNavigation#itemPress event.
|
|
2943
|
+
*/
|
|
2944
|
+
export type SideNavigation$ItemPressEvent = Event<
|
|
2945
|
+
SideNavigation$ItemPressEventParameters,
|
|
2946
|
+
SideNavigation
|
|
2947
|
+
>;
|
|
2948
|
+
|
|
2745
2949
|
/**
|
|
2746
2950
|
* Parameters of the SideNavigation#itemSelect event.
|
|
2747
2951
|
*/
|
|
@@ -2767,8 +2971,6 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
2767
2971
|
$OverflowToolbarSettings,
|
|
2768
2972
|
} from "sap/m/OverflowToolbar";
|
|
2769
2973
|
|
|
2770
|
-
import { IToolHeader } from "sap/tnt/library";
|
|
2771
|
-
|
|
2772
2974
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2773
2975
|
|
|
2774
2976
|
/**
|
|
@@ -2809,11 +3011,7 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
2809
3011
|
*
|
|
2810
3012
|
* @since 1.34
|
|
2811
3013
|
*/
|
|
2812
|
-
export default class ToolHeader
|
|
2813
|
-
extends OverflowToolbar
|
|
2814
|
-
implements IToolHeader
|
|
2815
|
-
{
|
|
2816
|
-
__implements__sap_tnt_IToolHeader: boolean;
|
|
3014
|
+
export default class ToolHeader extends OverflowToolbar {
|
|
2817
3015
|
/**
|
|
2818
3016
|
* Constructor for a new ToolHeader.
|
|
2819
3017
|
*
|
|
@@ -2982,8 +3180,6 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2982
3180
|
|
|
2983
3181
|
import { PageBackgroundDesign } from "sap/m/library";
|
|
2984
3182
|
|
|
2985
|
-
import { IToolHeader } from "sap/tnt/library";
|
|
2986
|
-
|
|
2987
3183
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2988
3184
|
|
|
2989
3185
|
import SideNavigation from "sap/tnt/SideNavigation";
|
|
@@ -3123,7 +3319,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3123
3319
|
*
|
|
3124
3320
|
* The control to appear in the header area.
|
|
3125
3321
|
*/
|
|
3126
|
-
getHeader():
|
|
3322
|
+
getHeader(): Control;
|
|
3127
3323
|
/**
|
|
3128
3324
|
* Gets content of aggregation {@link #getMainContents mainContents}.
|
|
3129
3325
|
*
|
|
@@ -3154,7 +3350,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3154
3350
|
*
|
|
3155
3351
|
* @since 1.93
|
|
3156
3352
|
*/
|
|
3157
|
-
getSubHeader():
|
|
3353
|
+
getSubHeader(): Control;
|
|
3158
3354
|
/**
|
|
3159
3355
|
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getMainContents mainContents}.
|
|
3160
3356
|
* and returns its index if found or -1 otherwise.
|
|
@@ -3238,7 +3434,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3238
3434
|
/**
|
|
3239
3435
|
* The header to set
|
|
3240
3436
|
*/
|
|
3241
|
-
oHeader:
|
|
3437
|
+
oHeader: Control
|
|
3242
3438
|
): this;
|
|
3243
3439
|
/**
|
|
3244
3440
|
* Sets the aggregated {@link #getSideContent sideContent}.
|
|
@@ -3275,7 +3471,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3275
3471
|
/**
|
|
3276
3472
|
* The subHeader to set
|
|
3277
3473
|
*/
|
|
3278
|
-
oSubHeader:
|
|
3474
|
+
oSubHeader: Control
|
|
3279
3475
|
): this;
|
|
3280
3476
|
/**
|
|
3281
3477
|
* Toggles the expand/collapse state of the SideContent.
|
|
@@ -3307,14 +3503,14 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3307
3503
|
/**
|
|
3308
3504
|
* The control to appear in the header area.
|
|
3309
3505
|
*/
|
|
3310
|
-
header?:
|
|
3506
|
+
header?: Control;
|
|
3311
3507
|
|
|
3312
3508
|
/**
|
|
3313
3509
|
* The control to appear in the subheader area.
|
|
3314
3510
|
*
|
|
3315
3511
|
* @since 1.93
|
|
3316
3512
|
*/
|
|
3317
|
-
subHeader?:
|
|
3513
|
+
subHeader?: Control;
|
|
3318
3514
|
|
|
3319
3515
|
/**
|
|
3320
3516
|
* The side menu of the layout.
|