@openui5/types 1.133.1 → 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 +54 -16
- package/types/sap.m.d.ts +890 -159
- package/types/sap.tnt.d.ts +318 -22
- package/types/sap.ui.codeeditor.d.ts +9 -7
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +46891 -46482
- 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 -6
- package/types/sap.ui.layout.d.ts +17 -14
- package/types/sap.ui.mdc.d.ts +252 -17
- package/types/sap.ui.rta.d.ts +102 -1
- 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 +54 -29
- 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 +16 -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;
|
|
@@ -43,6 +45,24 @@ declare module "sap/tnt/library" {
|
|
|
43
45
|
*/
|
|
44
46
|
Narrow = "Narrow",
|
|
45
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Available options for the Side Navigation design.
|
|
50
|
+
*
|
|
51
|
+
* This enum is part of the 'sap/tnt/library' module export and must be accessed by the property 'SideNavigationDesign'.
|
|
52
|
+
*
|
|
53
|
+
* @since 1.134.0
|
|
54
|
+
* @experimental Behavior might change.
|
|
55
|
+
*/
|
|
56
|
+
export enum SideNavigationDesign {
|
|
57
|
+
/**
|
|
58
|
+
* Side Navigation has a shadow and border.
|
|
59
|
+
*/
|
|
60
|
+
Decorated = "Decorated",
|
|
61
|
+
/**
|
|
62
|
+
* Side Navigation without any shadow or border.
|
|
63
|
+
*/
|
|
64
|
+
Plain = "Plain",
|
|
65
|
+
}
|
|
46
66
|
}
|
|
47
67
|
|
|
48
68
|
declare module "sap/tnt/IllustratedMessageType" {
|
|
@@ -765,6 +785,53 @@ declare module "sap/tnt/NavigationList" {
|
|
|
765
785
|
*/
|
|
766
786
|
oItem: NavigationListItemBase
|
|
767
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;
|
|
768
835
|
/**
|
|
769
836
|
* Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
|
|
770
837
|
*
|
|
@@ -819,6 +886,24 @@ declare module "sap/tnt/NavigationList" {
|
|
|
819
886
|
* @returns Reference to `this` in order to allow method chaining
|
|
820
887
|
*/
|
|
821
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;
|
|
822
907
|
/**
|
|
823
908
|
* Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.tnt.NavigationList`.
|
|
824
909
|
*
|
|
@@ -837,6 +922,19 @@ declare module "sap/tnt/NavigationList" {
|
|
|
837
922
|
*/
|
|
838
923
|
oListener?: object
|
|
839
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;
|
|
840
938
|
/**
|
|
841
939
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
842
940
|
*
|
|
@@ -1101,8 +1199,31 @@ declare module "sap/tnt/NavigationList" {
|
|
|
1101
1199
|
* Fired when an item is selected.
|
|
1102
1200
|
*/
|
|
1103
1201
|
itemSelect?: (oEvent: NavigationList$ItemSelectEvent) => void;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Fired when an item is pressed.
|
|
1205
|
+
*/
|
|
1206
|
+
itemPress?: (oEvent: NavigationList$ItemPressEvent) => void;
|
|
1104
1207
|
}
|
|
1105
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
|
+
|
|
1106
1227
|
/**
|
|
1107
1228
|
* Parameters of the NavigationList#itemSelect event.
|
|
1108
1229
|
*/
|
|
@@ -1549,8 +1670,17 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1549
1670
|
/**
|
|
1550
1671
|
* Gets current value of property {@link #getSelectable selectable}.
|
|
1551
1672
|
*
|
|
1552
|
-
* Specifies if the item can be selected.
|
|
1553
|
-
*
|
|
1673
|
+
* Specifies if the item can be selected. By default all items are selectable.
|
|
1674
|
+
*
|
|
1675
|
+
* When a parent item's `selectable` property is set to `false`, selecting it will only expand or collapse
|
|
1676
|
+
* its sub-items.
|
|
1677
|
+
*
|
|
1678
|
+
* To improve user experience do not mix selectable parent items with not selectable parent items within
|
|
1679
|
+
* a single side navigation.
|
|
1680
|
+
*
|
|
1681
|
+
* **Guidelines:**
|
|
1682
|
+
* - External links should not be selectable.
|
|
1683
|
+
* - Items that trigger actions (with design "Action") should not be selectable.
|
|
1554
1684
|
*
|
|
1555
1685
|
* Default value is `true`.
|
|
1556
1686
|
*
|
|
@@ -1716,8 +1846,17 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1716
1846
|
/**
|
|
1717
1847
|
* Sets a new value for property {@link #getSelectable selectable}.
|
|
1718
1848
|
*
|
|
1719
|
-
* Specifies if the item can be selected.
|
|
1720
|
-
*
|
|
1849
|
+
* Specifies if the item can be selected. By default all items are selectable.
|
|
1850
|
+
*
|
|
1851
|
+
* When a parent item's `selectable` property is set to `false`, selecting it will only expand or collapse
|
|
1852
|
+
* its sub-items.
|
|
1853
|
+
*
|
|
1854
|
+
* To improve user experience do not mix selectable parent items with not selectable parent items within
|
|
1855
|
+
* a single side navigation.
|
|
1856
|
+
*
|
|
1857
|
+
* **Guidelines:**
|
|
1858
|
+
* - External links should not be selectable.
|
|
1859
|
+
* - Items that trigger actions (with design "Action") should not be selectable.
|
|
1721
1860
|
*
|
|
1722
1861
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1723
1862
|
*
|
|
@@ -1793,8 +1932,17 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1793
1932
|
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1794
1933
|
|
|
1795
1934
|
/**
|
|
1796
|
-
* Specifies if the item can be selected.
|
|
1797
|
-
*
|
|
1935
|
+
* Specifies if the item can be selected. By default all items are selectable.
|
|
1936
|
+
*
|
|
1937
|
+
* When a parent item's `selectable` property is set to `false`, selecting it will only expand or collapse
|
|
1938
|
+
* its sub-items.
|
|
1939
|
+
*
|
|
1940
|
+
* To improve user experience do not mix selectable parent items with not selectable parent items within
|
|
1941
|
+
* a single side navigation.
|
|
1942
|
+
*
|
|
1943
|
+
* **Guidelines:**
|
|
1944
|
+
* - External links should not be selectable.
|
|
1945
|
+
* - Items that trigger actions (with design "Action") should not be selectable.
|
|
1798
1946
|
*
|
|
1799
1947
|
* @since 1.116
|
|
1800
1948
|
* @experimental As of version 1.116. Disclaimer: this property is in a beta state - incompatible API changes
|
|
@@ -2191,6 +2339,8 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2191
2339
|
PropertyBindingInfo,
|
|
2192
2340
|
} from "sap/ui/base/ManagedObject";
|
|
2193
2341
|
|
|
2342
|
+
import { SideNavigationDesign } from "sap/tnt/library";
|
|
2343
|
+
|
|
2194
2344
|
import NavigationList from "sap/tnt/NavigationList";
|
|
2195
2345
|
|
|
2196
2346
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -2209,6 +2359,9 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2209
2359
|
* - The flexible part adapts its size to the fixed one.
|
|
2210
2360
|
* - The flexible part has a scrollbar when the content is larger than the available space. **Note:**
|
|
2211
2361
|
* In order for the `SideNavigation` to stretch properly, its parent layout control should only be the `sap.tnt.ToolPage`.
|
|
2362
|
+
* **Note:** If used outside the intended parent layout `sap.tnt.ToolPage`, for example inside a `sap.m.ResponsivePopover`
|
|
2363
|
+
* to achieve a Side Navigation Overlay Mode, the application developer should set the `design` property
|
|
2364
|
+
* to `Plain`.
|
|
2212
2365
|
*
|
|
2213
2366
|
* @since 1.34
|
|
2214
2367
|
*/
|
|
@@ -2275,6 +2428,53 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2275
2428
|
* @returns Metadata object describing this class
|
|
2276
2429
|
*/
|
|
2277
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;
|
|
2278
2478
|
/**
|
|
2279
2479
|
* Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
|
|
2280
2480
|
*
|
|
@@ -2359,6 +2559,24 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2359
2559
|
* @returns Reference to `this` in order to allow method chaining
|
|
2360
2560
|
*/
|
|
2361
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;
|
|
2362
2580
|
/**
|
|
2363
2581
|
* Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.tnt.SideNavigation`.
|
|
2364
2582
|
*
|
|
@@ -2377,6 +2595,19 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2377
2595
|
*/
|
|
2378
2596
|
oListener?: object
|
|
2379
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;
|
|
2380
2611
|
/**
|
|
2381
2612
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
2382
2613
|
*
|
|
@@ -2400,6 +2631,21 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2400
2631
|
* @returns Value of property `ariaLabel`
|
|
2401
2632
|
*/
|
|
2402
2633
|
getAriaLabel(): string;
|
|
2634
|
+
/**
|
|
2635
|
+
* Gets current value of property {@link #getDesign design}.
|
|
2636
|
+
*
|
|
2637
|
+
* Specifies whether the control should have own container styling, such as a box-shadow and border, or
|
|
2638
|
+
* not. **Note:** This property has to be set to `Plain` when the control is used inside a `sap.m.ResponsivePopover`
|
|
2639
|
+
* to achieve a Side Navigation Overlay Mode.
|
|
2640
|
+
*
|
|
2641
|
+
* Default value is `Decorated`.
|
|
2642
|
+
*
|
|
2643
|
+
* @since 1.134
|
|
2644
|
+
* @experimental As of version 1.134.
|
|
2645
|
+
*
|
|
2646
|
+
* @returns Value of property `design`
|
|
2647
|
+
*/
|
|
2648
|
+
getDesign(): SideNavigationDesign;
|
|
2403
2649
|
/**
|
|
2404
2650
|
* Gets current value of property {@link #getExpanded expanded}.
|
|
2405
2651
|
*
|
|
@@ -2478,6 +2724,28 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2478
2724
|
*/
|
|
2479
2725
|
sAriaLabel?: string
|
|
2480
2726
|
): this;
|
|
2727
|
+
/**
|
|
2728
|
+
* Sets a new value for property {@link #getDesign design}.
|
|
2729
|
+
*
|
|
2730
|
+
* Specifies whether the control should have own container styling, such as a box-shadow and border, or
|
|
2731
|
+
* not. **Note:** This property has to be set to `Plain` when the control is used inside a `sap.m.ResponsivePopover`
|
|
2732
|
+
* to achieve a Side Navigation Overlay Mode.
|
|
2733
|
+
*
|
|
2734
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2735
|
+
*
|
|
2736
|
+
* Default value is `Decorated`.
|
|
2737
|
+
*
|
|
2738
|
+
* @since 1.134
|
|
2739
|
+
* @experimental As of version 1.134.
|
|
2740
|
+
*
|
|
2741
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2742
|
+
*/
|
|
2743
|
+
setDesign(
|
|
2744
|
+
/**
|
|
2745
|
+
* New value for property `design`
|
|
2746
|
+
*/
|
|
2747
|
+
sDesign?: SideNavigationDesign | keyof typeof SideNavigationDesign
|
|
2748
|
+
): this;
|
|
2481
2749
|
/**
|
|
2482
2750
|
* Sets if the control is in expanded or collapsed mode.
|
|
2483
2751
|
*
|
|
@@ -2612,6 +2880,19 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2612
2880
|
*/
|
|
2613
2881
|
ariaLabel?: string | PropertyBindingInfo;
|
|
2614
2882
|
|
|
2883
|
+
/**
|
|
2884
|
+
* Specifies whether the control should have own container styling, such as a box-shadow and border, or
|
|
2885
|
+
* not. **Note:** This property has to be set to `Plain` when the control is used inside a `sap.m.ResponsivePopover`
|
|
2886
|
+
* to achieve a Side Navigation Overlay Mode.
|
|
2887
|
+
*
|
|
2888
|
+
* @since 1.134
|
|
2889
|
+
* @experimental As of version 1.134.
|
|
2890
|
+
*/
|
|
2891
|
+
design?:
|
|
2892
|
+
| (SideNavigationDesign | keyof typeof SideNavigationDesign)
|
|
2893
|
+
| PropertyBindingInfo
|
|
2894
|
+
| `{${string}}`;
|
|
2895
|
+
|
|
2615
2896
|
/**
|
|
2616
2897
|
* Defines the content inside the flexible part.
|
|
2617
2898
|
*/
|
|
@@ -2640,8 +2921,31 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
2640
2921
|
* Fired when an item is selected.
|
|
2641
2922
|
*/
|
|
2642
2923
|
itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
|
|
2924
|
+
|
|
2925
|
+
/**
|
|
2926
|
+
* Fired when an item is pressed.
|
|
2927
|
+
*/
|
|
2928
|
+
itemPress?: (oEvent: SideNavigation$ItemPressEvent) => void;
|
|
2643
2929
|
}
|
|
2644
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
|
+
|
|
2645
2949
|
/**
|
|
2646
2950
|
* Parameters of the SideNavigation#itemSelect event.
|
|
2647
2951
|
*/
|
|
@@ -2667,8 +2971,6 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
2667
2971
|
$OverflowToolbarSettings,
|
|
2668
2972
|
} from "sap/m/OverflowToolbar";
|
|
2669
2973
|
|
|
2670
|
-
import { IToolHeader } from "sap/tnt/library";
|
|
2671
|
-
|
|
2672
2974
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2673
2975
|
|
|
2674
2976
|
/**
|
|
@@ -2709,11 +3011,7 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
2709
3011
|
*
|
|
2710
3012
|
* @since 1.34
|
|
2711
3013
|
*/
|
|
2712
|
-
export default class ToolHeader
|
|
2713
|
-
extends OverflowToolbar
|
|
2714
|
-
implements IToolHeader
|
|
2715
|
-
{
|
|
2716
|
-
__implements__sap_tnt_IToolHeader: boolean;
|
|
3014
|
+
export default class ToolHeader extends OverflowToolbar {
|
|
2717
3015
|
/**
|
|
2718
3016
|
* Constructor for a new ToolHeader.
|
|
2719
3017
|
*
|
|
@@ -2882,8 +3180,6 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2882
3180
|
|
|
2883
3181
|
import { PageBackgroundDesign } from "sap/m/library";
|
|
2884
3182
|
|
|
2885
|
-
import { IToolHeader } from "sap/tnt/library";
|
|
2886
|
-
|
|
2887
3183
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
2888
3184
|
|
|
2889
3185
|
import SideNavigation from "sap/tnt/SideNavigation";
|
|
@@ -3023,7 +3319,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3023
3319
|
*
|
|
3024
3320
|
* The control to appear in the header area.
|
|
3025
3321
|
*/
|
|
3026
|
-
getHeader():
|
|
3322
|
+
getHeader(): Control;
|
|
3027
3323
|
/**
|
|
3028
3324
|
* Gets content of aggregation {@link #getMainContents mainContents}.
|
|
3029
3325
|
*
|
|
@@ -3054,7 +3350,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3054
3350
|
*
|
|
3055
3351
|
* @since 1.93
|
|
3056
3352
|
*/
|
|
3057
|
-
getSubHeader():
|
|
3353
|
+
getSubHeader(): Control;
|
|
3058
3354
|
/**
|
|
3059
3355
|
* Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getMainContents mainContents}.
|
|
3060
3356
|
* and returns its index if found or -1 otherwise.
|
|
@@ -3138,7 +3434,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3138
3434
|
/**
|
|
3139
3435
|
* The header to set
|
|
3140
3436
|
*/
|
|
3141
|
-
oHeader:
|
|
3437
|
+
oHeader: Control
|
|
3142
3438
|
): this;
|
|
3143
3439
|
/**
|
|
3144
3440
|
* Sets the aggregated {@link #getSideContent sideContent}.
|
|
@@ -3175,7 +3471,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3175
3471
|
/**
|
|
3176
3472
|
* The subHeader to set
|
|
3177
3473
|
*/
|
|
3178
|
-
oSubHeader:
|
|
3474
|
+
oSubHeader: Control
|
|
3179
3475
|
): this;
|
|
3180
3476
|
/**
|
|
3181
3477
|
* Toggles the expand/collapse state of the SideContent.
|
|
@@ -3207,14 +3503,14 @@ declare module "sap/tnt/ToolPage" {
|
|
|
3207
3503
|
/**
|
|
3208
3504
|
* The control to appear in the header area.
|
|
3209
3505
|
*/
|
|
3210
|
-
header?:
|
|
3506
|
+
header?: Control;
|
|
3211
3507
|
|
|
3212
3508
|
/**
|
|
3213
3509
|
* The control to appear in the subheader area.
|
|
3214
3510
|
*
|
|
3215
3511
|
* @since 1.93
|
|
3216
3512
|
*/
|
|
3217
|
-
subHeader?:
|
|
3513
|
+
subHeader?: Control;
|
|
3218
3514
|
|
|
3219
3515
|
/**
|
|
3220
3516
|
* The side menu of the layout.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.135.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/codeeditor/library" {}
|
|
4
4
|
|
|
@@ -270,12 +270,13 @@ declare module "sap/ui/codeeditor/CodeEditor" {
|
|
|
270
270
|
*
|
|
271
271
|
* Sets the editor color theme. Possible values are:
|
|
272
272
|
* - default: best fitting to the current UI5 theme
|
|
273
|
-
* - any light theme from the list: chrome, clouds, crimson_editor, dawn, dreamweaver, eclipse,
|
|
274
|
-
* iplastic, solarized_light, textmate, tomorrow, xcode, kuroir, katzenmilch, sqlserver
|
|
273
|
+
* - any light theme from the list: chrome, clouds, crimson_editor, dawn, dreamweaver, eclipse, github_light_default,
|
|
274
|
+
* github, iplastic, solarized_light, textmate, tomorrow, xcode, kuroir, katzenmilch, sqlserver, cloud_editor
|
|
275
|
+
*
|
|
275
276
|
* - any dark theme from the list: hcb, hcb_bright, hcb_blue, ambiance, chaos, clouds_midnight, dracula,
|
|
276
277
|
* cobalt, gruvbox, gob, idle_fingers, kr_theme, merbivore, merbivore_soft, mono_industrial, monokai, nord_dark,
|
|
277
278
|
* one_dark, pastel_on_dark, solarized_dark, terminal, tomorrow_night, tomorrow_night_blue, tomorrow_night_bright,
|
|
278
|
-
* tomorrow_night_eighties, twilight, vibrant_ink, github_dark
|
|
279
|
+
* tomorrow_night_eighties, twilight, vibrant_ink, github_dark, cloud_editor_dark
|
|
279
280
|
*
|
|
280
281
|
* Default value is `"default"`.
|
|
281
282
|
*
|
|
@@ -688,12 +689,13 @@ declare module "sap/ui/codeeditor/CodeEditor" {
|
|
|
688
689
|
/**
|
|
689
690
|
* Sets the editor color theme. Possible values are:
|
|
690
691
|
* - default: best fitting to the current UI5 theme
|
|
691
|
-
* - any light theme from the list: chrome, clouds, crimson_editor, dawn, dreamweaver, eclipse,
|
|
692
|
-
* iplastic, solarized_light, textmate, tomorrow, xcode, kuroir, katzenmilch, sqlserver
|
|
692
|
+
* - any light theme from the list: chrome, clouds, crimson_editor, dawn, dreamweaver, eclipse, github_light_default,
|
|
693
|
+
* github, iplastic, solarized_light, textmate, tomorrow, xcode, kuroir, katzenmilch, sqlserver, cloud_editor
|
|
694
|
+
*
|
|
693
695
|
* - any dark theme from the list: hcb, hcb_bright, hcb_blue, ambiance, chaos, clouds_midnight, dracula,
|
|
694
696
|
* cobalt, gruvbox, gob, idle_fingers, kr_theme, merbivore, merbivore_soft, mono_industrial, monokai, nord_dark,
|
|
695
697
|
* one_dark, pastel_on_dark, solarized_dark, terminal, tomorrow_night, tomorrow_night_blue, tomorrow_night_bright,
|
|
696
|
-
* tomorrow_night_eighties, twilight, vibrant_ink, github_dark
|
|
698
|
+
* tomorrow_night_eighties, twilight, vibrant_ink, github_dark, cloud_editor_dark
|
|
697
699
|
*/
|
|
698
700
|
colorTheme?: string | PropertyBindingInfo;
|
|
699
701
|
|