@openui5/types 1.134.0 → 1.135.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.f.d.ts +2 -8
- package/types/sap.m.d.ts +330 -83
- 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.core.d.ts +160 -40
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +14 -6
- package/types/sap.ui.integration.d.ts +2 -4
- package/types/sap.ui.layout.d.ts +14 -13
- package/types/sap.ui.mdc.d.ts +26 -6
- 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 +10 -18
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +32 -1
- package/types/sap.ui.ux3.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.uxap.d.ts +10 -1
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.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.
|