@openui5/types 1.115.0 → 1.116.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/README.md +6 -5
- package/package.json +1 -1
- package/types/index.d.ts +9 -3
- package/types/sap.f.d.ts +718 -786
- package/types/sap.m.d.ts +6504 -6706
- package/types/sap.tnt.d.ts +119 -86
- package/types/sap.ui.codeeditor.d.ts +28 -25
- package/types/sap.ui.commons.d.ts +691 -684
- package/types/sap.ui.core.d.ts +2434 -2444
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +55 -82
- package/types/sap.ui.integration.d.ts +401 -292
- package/types/sap.ui.layout.d.ts +369 -420
- package/types/sap.ui.mdc.d.ts +1557 -1344
- package/types/sap.ui.rta.d.ts +7 -7
- package/types/sap.ui.suite.d.ts +13 -11
- package/types/sap.ui.support.d.ts +12 -13
- package/types/sap.ui.table.d.ts +366 -368
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +961 -1007
- package/types/sap.ui.ux3.d.ts +663 -653
- package/types/sap.ui.webc.common.d.ts +7 -9
- package/types/sap.ui.webc.fiori.d.ts +1099 -509
- package/types/sap.ui.webc.main.d.ts +4937 -1323
- package/types/sap.uxap.d.ts +244 -277
package/types/sap.tnt.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.116.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* @since 1.68
|
|
6
6
|
*
|
|
7
7
|
* Interface for controls suitable for the `header` aggregation of {@link sap.tnt.ToolPage}.
|
|
8
8
|
*/
|
|
@@ -42,7 +42,7 @@ declare module "sap/tnt/InfoLabel" {
|
|
|
42
42
|
import { RenderMode } from "sap/tnt/library";
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* @
|
|
45
|
+
* @since 1.54
|
|
46
46
|
*
|
|
47
47
|
* The `InfoLabel` is a small non-interactive control which contains text information and non-semantic color
|
|
48
48
|
* chosen from a list of predefined color schemes. It serves the purpose to attract the user attention to
|
|
@@ -66,7 +66,7 @@ declare module "sap/tnt/InfoLabel" {
|
|
|
66
66
|
*
|
|
67
67
|
* - The control shows plain text only, formatting is not visualized.
|
|
68
68
|
*/
|
|
69
|
-
class InfoLabel extends Control implements IFormContent {
|
|
69
|
+
export default class InfoLabel extends Control implements IFormContent {
|
|
70
70
|
__implements__sap_ui_core_IFormContent: boolean;
|
|
71
71
|
/**
|
|
72
72
|
* Constructor for a new `InfoLabel`.
|
|
@@ -167,7 +167,7 @@ declare module "sap/tnt/InfoLabel" {
|
|
|
167
167
|
*/
|
|
168
168
|
getDisplayOnly(): boolean;
|
|
169
169
|
/**
|
|
170
|
-
* @
|
|
170
|
+
* @since 1.74
|
|
171
171
|
*
|
|
172
172
|
* Gets current value of property {@link #getIcon icon}.
|
|
173
173
|
*
|
|
@@ -259,7 +259,7 @@ declare module "sap/tnt/InfoLabel" {
|
|
|
259
259
|
bDisplayOnly?: boolean
|
|
260
260
|
): this;
|
|
261
261
|
/**
|
|
262
|
-
* @
|
|
262
|
+
* @since 1.74
|
|
263
263
|
*
|
|
264
264
|
* Sets a new value for property {@link #getIcon icon}.
|
|
265
265
|
*
|
|
@@ -354,7 +354,6 @@ declare module "sap/tnt/InfoLabel" {
|
|
|
354
354
|
*/
|
|
355
355
|
unbindText(): this;
|
|
356
356
|
}
|
|
357
|
-
export default InfoLabel;
|
|
358
357
|
|
|
359
358
|
export interface $InfoLabelSettings extends $ControlSettings {
|
|
360
359
|
/**
|
|
@@ -401,7 +400,7 @@ declare module "sap/tnt/InfoLabel" {
|
|
|
401
400
|
| `{${string}}`;
|
|
402
401
|
|
|
403
402
|
/**
|
|
404
|
-
* @
|
|
403
|
+
* @since 1.74
|
|
405
404
|
*
|
|
406
405
|
* Defines the icon to be displayed as graphical element within the `InfoLabel`. It can be an icon from
|
|
407
406
|
* the icon font.
|
|
@@ -417,8 +416,6 @@ declare module "sap/tnt/NavigationList" {
|
|
|
417
416
|
|
|
418
417
|
import NavigationListItem from "sap/tnt/NavigationListItem";
|
|
419
418
|
|
|
420
|
-
import Event from "sap/ui/base/Event";
|
|
421
|
-
|
|
422
419
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
423
420
|
|
|
424
421
|
import {
|
|
@@ -428,13 +425,15 @@ declare module "sap/tnt/NavigationList" {
|
|
|
428
425
|
|
|
429
426
|
import Item from "sap/ui/core/Item";
|
|
430
427
|
|
|
428
|
+
import Event from "sap/ui/base/Event";
|
|
429
|
+
|
|
431
430
|
/**
|
|
432
|
-
* @
|
|
431
|
+
* @since 1.34
|
|
433
432
|
*
|
|
434
433
|
* The NavigationList control is an interactive control, which provides a choice of different items, ordered
|
|
435
434
|
* as a list.
|
|
436
435
|
*/
|
|
437
|
-
class NavigationList extends Control {
|
|
436
|
+
export default class NavigationList extends Control {
|
|
438
437
|
/**
|
|
439
438
|
* Constructor for a new NavigationList.
|
|
440
439
|
*
|
|
@@ -547,7 +546,7 @@ declare module "sap/tnt/NavigationList" {
|
|
|
547
546
|
/**
|
|
548
547
|
* The function to be called when the event occurs
|
|
549
548
|
*/
|
|
550
|
-
fnFunction: (p1:
|
|
549
|
+
fnFunction: (p1: NavigationList$ItemSelectEvent) => void,
|
|
551
550
|
/**
|
|
552
551
|
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
|
|
553
552
|
*/
|
|
@@ -567,7 +566,7 @@ declare module "sap/tnt/NavigationList" {
|
|
|
567
566
|
/**
|
|
568
567
|
* The function to be called when the event occurs
|
|
569
568
|
*/
|
|
570
|
-
fnFunction: (p1:
|
|
569
|
+
fnFunction: (p1: NavigationList$ItemSelectEvent) => void,
|
|
571
570
|
/**
|
|
572
571
|
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationList` itself
|
|
573
572
|
*/
|
|
@@ -590,14 +589,14 @@ declare module "sap/tnt/NavigationList" {
|
|
|
590
589
|
/**
|
|
591
590
|
* The function to be called, when the event occurs
|
|
592
591
|
*/
|
|
593
|
-
fnFunction: (p1:
|
|
592
|
+
fnFunction: (p1: NavigationList$ItemSelectEvent) => void,
|
|
594
593
|
/**
|
|
595
594
|
* Context object on which the given function had to be called
|
|
596
595
|
*/
|
|
597
596
|
oListener?: object
|
|
598
597
|
): this;
|
|
599
598
|
/**
|
|
600
|
-
* @
|
|
599
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
601
600
|
*
|
|
602
601
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
603
602
|
*
|
|
@@ -607,7 +606,7 @@ declare module "sap/tnt/NavigationList" {
|
|
|
607
606
|
/**
|
|
608
607
|
* Parameters to pass along with the event
|
|
609
608
|
*/
|
|
610
|
-
mParameters?: $
|
|
609
|
+
mParameters?: NavigationList$ItemSelectEventParameters
|
|
611
610
|
): this;
|
|
612
611
|
/**
|
|
613
612
|
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
@@ -640,7 +639,7 @@ declare module "sap/tnt/NavigationList" {
|
|
|
640
639
|
*/
|
|
641
640
|
getSelectedItem(): NavigationListItem | null;
|
|
642
641
|
/**
|
|
643
|
-
* @
|
|
642
|
+
* @since 1.62.0
|
|
644
643
|
*
|
|
645
644
|
* Gets current value of property {@link #getSelectedKey selectedKey}.
|
|
646
645
|
*
|
|
@@ -794,7 +793,6 @@ declare module "sap/tnt/NavigationList" {
|
|
|
794
793
|
sWidth: CSSSize
|
|
795
794
|
): this;
|
|
796
795
|
}
|
|
797
|
-
export default NavigationList;
|
|
798
796
|
|
|
799
797
|
export interface $NavigationListSettings extends $ControlSettings {
|
|
800
798
|
/**
|
|
@@ -808,7 +806,7 @@ declare module "sap/tnt/NavigationList" {
|
|
|
808
806
|
expanded?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
809
807
|
|
|
810
808
|
/**
|
|
811
|
-
* @
|
|
809
|
+
* @since 1.62.0
|
|
812
810
|
*
|
|
813
811
|
* Specifies the currently selected key.
|
|
814
812
|
*/
|
|
@@ -834,7 +832,7 @@ declare module "sap/tnt/NavigationList" {
|
|
|
834
832
|
ariaLabelledBy?: Array<Control | string>;
|
|
835
833
|
|
|
836
834
|
/**
|
|
837
|
-
* @
|
|
835
|
+
* @since 1.52.0
|
|
838
836
|
*
|
|
839
837
|
* The currently selected `NavigationListItem`.
|
|
840
838
|
*/
|
|
@@ -843,24 +841,22 @@ declare module "sap/tnt/NavigationList" {
|
|
|
843
841
|
/**
|
|
844
842
|
* Fired when an item is selected.
|
|
845
843
|
*/
|
|
846
|
-
itemSelect?: (
|
|
847
|
-
oEvent: Event<$NavigationListItemSelectEventParameters>
|
|
848
|
-
) => void;
|
|
844
|
+
itemSelect?: (oEvent: NavigationList$ItemSelectEvent) => void;
|
|
849
845
|
}
|
|
850
846
|
|
|
851
|
-
export interface $
|
|
847
|
+
export interface NavigationList$ItemSelectEventParameters {
|
|
852
848
|
/**
|
|
853
849
|
* The selected item.
|
|
854
850
|
*/
|
|
855
851
|
item?: Item;
|
|
856
852
|
}
|
|
853
|
+
|
|
854
|
+
export type NavigationList$ItemSelectEvent = Event<NavigationList$ItemSelectEventParameters>;
|
|
857
855
|
}
|
|
858
856
|
|
|
859
857
|
declare module "sap/tnt/NavigationListItem" {
|
|
860
858
|
import { default as Item, $ItemSettings } from "sap/ui/core/Item";
|
|
861
859
|
|
|
862
|
-
import Event from "sap/ui/base/Event";
|
|
863
|
-
|
|
864
860
|
import { URI } from "sap/ui/core/library";
|
|
865
861
|
|
|
866
862
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -870,13 +866,15 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
870
866
|
AggregationBindingInfo,
|
|
871
867
|
} from "sap/ui/base/ManagedObject";
|
|
872
868
|
|
|
869
|
+
import Event from "sap/ui/base/Event";
|
|
870
|
+
|
|
873
871
|
/**
|
|
874
|
-
* @
|
|
872
|
+
* @since 1.34
|
|
875
873
|
*
|
|
876
874
|
* The NavigationListItem control represents an action, which can be selected by the user. It can provide
|
|
877
875
|
* sub items.
|
|
878
876
|
*/
|
|
879
|
-
class NavigationListItem extends Item {
|
|
877
|
+
export default class NavigationListItem extends Item {
|
|
880
878
|
/**
|
|
881
879
|
* Constructor for a new NavigationListItem.
|
|
882
880
|
*
|
|
@@ -967,7 +965,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
967
965
|
/**
|
|
968
966
|
* The function to be called when the event occurs
|
|
969
967
|
*/
|
|
970
|
-
fnFunction: (p1:
|
|
968
|
+
fnFunction: (p1: NavigationListItem$SelectEvent) => void,
|
|
971
969
|
/**
|
|
972
970
|
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationListItem` itself
|
|
973
971
|
*/
|
|
@@ -987,7 +985,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
987
985
|
/**
|
|
988
986
|
* The function to be called when the event occurs
|
|
989
987
|
*/
|
|
990
|
-
fnFunction: (p1:
|
|
988
|
+
fnFunction: (p1: NavigationListItem$SelectEvent) => void,
|
|
991
989
|
/**
|
|
992
990
|
* Context object to call the event handler with. Defaults to this `sap.tnt.NavigationListItem` itself
|
|
993
991
|
*/
|
|
@@ -1010,14 +1008,14 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1010
1008
|
/**
|
|
1011
1009
|
* The function to be called, when the event occurs
|
|
1012
1010
|
*/
|
|
1013
|
-
fnFunction: (p1:
|
|
1011
|
+
fnFunction: (p1: NavigationListItem$SelectEvent) => void,
|
|
1014
1012
|
/**
|
|
1015
1013
|
* Context object on which the given function had to be called
|
|
1016
1014
|
*/
|
|
1017
1015
|
oListener?: object
|
|
1018
1016
|
): this;
|
|
1019
1017
|
/**
|
|
1020
|
-
* @
|
|
1018
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1021
1019
|
*
|
|
1022
1020
|
* Fires event {@link #event:select select} to attached listeners.
|
|
1023
1021
|
*
|
|
@@ -1027,7 +1025,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1027
1025
|
/**
|
|
1028
1026
|
* Parameters to pass along with the event
|
|
1029
1027
|
*/
|
|
1030
|
-
mParameters?: $
|
|
1028
|
+
mParameters?: NavigationListItem$SelectEventParameters
|
|
1031
1029
|
): this;
|
|
1032
1030
|
/**
|
|
1033
1031
|
* Gets current value of property {@link #getExpanded expanded}.
|
|
@@ -1040,7 +1038,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1040
1038
|
*/
|
|
1041
1039
|
getExpanded(): boolean;
|
|
1042
1040
|
/**
|
|
1043
|
-
* @
|
|
1041
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1044
1042
|
*
|
|
1045
1043
|
* Returns the DOM Element that should get the focus.
|
|
1046
1044
|
*
|
|
@@ -1082,6 +1080,20 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1082
1080
|
* The sub items.
|
|
1083
1081
|
*/
|
|
1084
1082
|
getItems(): NavigationListItem[];
|
|
1083
|
+
/**
|
|
1084
|
+
* @since 1.116
|
|
1085
|
+
* @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
1086
|
+
* may be done before its official public release.
|
|
1087
|
+
*
|
|
1088
|
+
* Gets current value of property {@link #getSelectable selectable}.
|
|
1089
|
+
*
|
|
1090
|
+
* Specifies if the item can be selected.
|
|
1091
|
+
*
|
|
1092
|
+
* Default value is `true`.
|
|
1093
|
+
*
|
|
1094
|
+
* @returns Value of property `selectable`
|
|
1095
|
+
*/
|
|
1096
|
+
getSelectable(): boolean;
|
|
1085
1097
|
/**
|
|
1086
1098
|
* Gets current value of property {@link #getTarget target}.
|
|
1087
1099
|
*
|
|
@@ -1095,7 +1107,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1095
1107
|
*/
|
|
1096
1108
|
getTarget(): string;
|
|
1097
1109
|
/**
|
|
1098
|
-
* @
|
|
1110
|
+
* @since 1.52
|
|
1099
1111
|
*
|
|
1100
1112
|
* Gets current value of property {@link #getVisible visible}.
|
|
1101
1113
|
*
|
|
@@ -1221,6 +1233,27 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1221
1233
|
*/
|
|
1222
1234
|
sIcon?: URI
|
|
1223
1235
|
): this;
|
|
1236
|
+
/**
|
|
1237
|
+
* @since 1.116
|
|
1238
|
+
* @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
1239
|
+
* may be done before its official public release.
|
|
1240
|
+
*
|
|
1241
|
+
* Sets a new value for property {@link #getSelectable selectable}.
|
|
1242
|
+
*
|
|
1243
|
+
* Specifies if the item can be selected.
|
|
1244
|
+
*
|
|
1245
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1246
|
+
*
|
|
1247
|
+
* Default value is `true`.
|
|
1248
|
+
*
|
|
1249
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1250
|
+
*/
|
|
1251
|
+
setSelectable(
|
|
1252
|
+
/**
|
|
1253
|
+
* New value for property `selectable`
|
|
1254
|
+
*/
|
|
1255
|
+
bSelectable?: boolean
|
|
1256
|
+
): this;
|
|
1224
1257
|
/**
|
|
1225
1258
|
* Sets a new value for property {@link #getTarget target}.
|
|
1226
1259
|
*
|
|
@@ -1241,7 +1274,7 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1241
1274
|
sTarget?: string
|
|
1242
1275
|
): this;
|
|
1243
1276
|
/**
|
|
1244
|
-
* @
|
|
1277
|
+
* @since 1.52
|
|
1245
1278
|
*
|
|
1246
1279
|
* Sets a new value for property {@link #getVisible visible}.
|
|
1247
1280
|
*
|
|
@@ -1260,7 +1293,6 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1260
1293
|
bVisible?: boolean
|
|
1261
1294
|
): this;
|
|
1262
1295
|
}
|
|
1263
|
-
export default NavigationListItem;
|
|
1264
1296
|
|
|
1265
1297
|
export interface $NavigationListItemSettings extends $ItemSettings {
|
|
1266
1298
|
/**
|
|
@@ -1279,12 +1311,21 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1279
1311
|
hasExpander?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1280
1312
|
|
|
1281
1313
|
/**
|
|
1282
|
-
* @
|
|
1314
|
+
* @since 1.52
|
|
1283
1315
|
*
|
|
1284
1316
|
* Specifies if the item should be shown.
|
|
1285
1317
|
*/
|
|
1286
1318
|
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1287
1319
|
|
|
1320
|
+
/**
|
|
1321
|
+
* @since 1.116
|
|
1322
|
+
* @experimental (since 1.116) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
1323
|
+
* may be done before its official public release.
|
|
1324
|
+
*
|
|
1325
|
+
* Specifies if the item can be selected.
|
|
1326
|
+
*/
|
|
1327
|
+
selectable?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1328
|
+
|
|
1288
1329
|
/**
|
|
1289
1330
|
* Defines the link target URI. Supports standard hyperlink behavior. If a JavaScript action should be triggered,
|
|
1290
1331
|
* this should not be set, but instead an event handler for the `select` event should be registered.
|
|
@@ -1312,22 +1353,22 @@ declare module "sap/tnt/NavigationListItem" {
|
|
|
1312
1353
|
/**
|
|
1313
1354
|
* Fired when this item is selected.
|
|
1314
1355
|
*/
|
|
1315
|
-
select?: (oEvent:
|
|
1356
|
+
select?: (oEvent: NavigationListItem$SelectEvent) => void;
|
|
1316
1357
|
}
|
|
1317
1358
|
|
|
1318
|
-
export interface $
|
|
1359
|
+
export interface NavigationListItem$SelectEventParameters {
|
|
1319
1360
|
/**
|
|
1320
1361
|
* The selected item.
|
|
1321
1362
|
*/
|
|
1322
1363
|
item?: Item;
|
|
1323
1364
|
}
|
|
1365
|
+
|
|
1366
|
+
export type NavigationListItem$SelectEvent = Event<NavigationListItem$SelectEventParameters>;
|
|
1324
1367
|
}
|
|
1325
1368
|
|
|
1326
1369
|
declare module "sap/tnt/SideNavigation" {
|
|
1327
1370
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
1328
1371
|
|
|
1329
|
-
import Event from "sap/ui/base/Event";
|
|
1330
|
-
|
|
1331
1372
|
import {
|
|
1332
1373
|
AggregationBindingInfo,
|
|
1333
1374
|
PropertyBindingInfo,
|
|
@@ -1343,8 +1384,10 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1343
1384
|
|
|
1344
1385
|
import Item from "sap/ui/core/Item";
|
|
1345
1386
|
|
|
1387
|
+
import Event from "sap/ui/base/Event";
|
|
1388
|
+
|
|
1346
1389
|
/**
|
|
1347
|
-
* @
|
|
1390
|
+
* @since 1.34
|
|
1348
1391
|
*
|
|
1349
1392
|
* The SideNavigation control is a container, which consists of flexible and fixed parts on top of each
|
|
1350
1393
|
* other. Responsive Behavior:
|
|
@@ -1352,15 +1395,13 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1352
1395
|
* - The flexible part has a scrollbar when the content is larger than the available space. **Note:**
|
|
1353
1396
|
* In order for the SideNavigation to stretch properly, its parent layout control should only be the sap.tnt.ToolPage.
|
|
1354
1397
|
*/
|
|
1355
|
-
class SideNavigation extends Control {
|
|
1398
|
+
export default class SideNavigation extends Control {
|
|
1356
1399
|
/**
|
|
1357
1400
|
* Constructor for a new SideNavigation.
|
|
1358
1401
|
*
|
|
1359
1402
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
1360
1403
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
1361
1404
|
* of the syntax of the settings object.
|
|
1362
|
-
* See:
|
|
1363
|
-
* {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
|
|
1364
1405
|
*/
|
|
1365
1406
|
constructor(
|
|
1366
1407
|
/**
|
|
@@ -1374,8 +1415,6 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1374
1415
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
1375
1416
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
1376
1417
|
* of the syntax of the settings object.
|
|
1377
|
-
* See:
|
|
1378
|
-
* {@link fiori:https://experience.sap.com/fiori-design-web/side-navigation/ Side Navigation}
|
|
1379
1418
|
*/
|
|
1380
1419
|
constructor(
|
|
1381
1420
|
/**
|
|
@@ -1436,7 +1475,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1436
1475
|
/**
|
|
1437
1476
|
* The function to be called when the event occurs
|
|
1438
1477
|
*/
|
|
1439
|
-
fnFunction: (p1:
|
|
1478
|
+
fnFunction: (p1: SideNavigation$ItemSelectEvent) => void,
|
|
1440
1479
|
/**
|
|
1441
1480
|
* Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
|
|
1442
1481
|
*/
|
|
@@ -1456,7 +1495,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1456
1495
|
/**
|
|
1457
1496
|
* The function to be called when the event occurs
|
|
1458
1497
|
*/
|
|
1459
|
-
fnFunction: (p1:
|
|
1498
|
+
fnFunction: (p1: SideNavigation$ItemSelectEvent) => void,
|
|
1460
1499
|
/**
|
|
1461
1500
|
* Context object to call the event handler with. Defaults to this `sap.tnt.SideNavigation` itself
|
|
1462
1501
|
*/
|
|
@@ -1505,14 +1544,14 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1505
1544
|
/**
|
|
1506
1545
|
* The function to be called, when the event occurs
|
|
1507
1546
|
*/
|
|
1508
|
-
fnFunction: (p1:
|
|
1547
|
+
fnFunction: (p1: SideNavigation$ItemSelectEvent) => void,
|
|
1509
1548
|
/**
|
|
1510
1549
|
* Context object on which the given function had to be called
|
|
1511
1550
|
*/
|
|
1512
1551
|
oListener?: object
|
|
1513
1552
|
): this;
|
|
1514
1553
|
/**
|
|
1515
|
-
* @
|
|
1554
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1516
1555
|
*
|
|
1517
1556
|
* Fires event {@link #event:itemSelect itemSelect} to attached listeners.
|
|
1518
1557
|
*
|
|
@@ -1522,10 +1561,10 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1522
1561
|
/**
|
|
1523
1562
|
* Parameters to pass along with the event
|
|
1524
1563
|
*/
|
|
1525
|
-
mParameters?: $
|
|
1564
|
+
mParameters?: SideNavigation$ItemSelectEventParameters
|
|
1526
1565
|
): this;
|
|
1527
1566
|
/**
|
|
1528
|
-
* @
|
|
1567
|
+
* @since 1.98
|
|
1529
1568
|
*
|
|
1530
1569
|
* Gets current value of property {@link #getAriaLabel ariaLabel}.
|
|
1531
1570
|
*
|
|
@@ -1563,14 +1602,14 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1563
1602
|
*/
|
|
1564
1603
|
getItem(): NavigationList;
|
|
1565
1604
|
/**
|
|
1566
|
-
* @
|
|
1605
|
+
* @since 1.52.0
|
|
1567
1606
|
*
|
|
1568
1607
|
* ID of the element which is the current target of the association {@link #getSelectedItem selectedItem},
|
|
1569
1608
|
* or `null`.
|
|
1570
1609
|
*/
|
|
1571
1610
|
getSelectedItem(): ID;
|
|
1572
1611
|
/**
|
|
1573
|
-
* @
|
|
1612
|
+
* @since 1.62.0
|
|
1574
1613
|
*
|
|
1575
1614
|
* Gets current value of property {@link #getSelectedKey selectedKey}.
|
|
1576
1615
|
*
|
|
@@ -1580,7 +1619,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1580
1619
|
*/
|
|
1581
1620
|
getSelectedKey(): string;
|
|
1582
1621
|
/**
|
|
1583
|
-
* @
|
|
1622
|
+
* @since 1.98
|
|
1584
1623
|
*
|
|
1585
1624
|
* Sets a new value for property {@link #getAriaLabel ariaLabel}.
|
|
1586
1625
|
*
|
|
@@ -1669,7 +1708,6 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1669
1708
|
*/
|
|
1670
1709
|
unbindItem(): this;
|
|
1671
1710
|
}
|
|
1672
|
-
export default SideNavigation;
|
|
1673
1711
|
|
|
1674
1712
|
export interface $SideNavigationSettings extends $ControlSettings {
|
|
1675
1713
|
/**
|
|
@@ -1678,14 +1716,14 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1678
1716
|
expanded?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1679
1717
|
|
|
1680
1718
|
/**
|
|
1681
|
-
* @
|
|
1719
|
+
* @since 1.62.0
|
|
1682
1720
|
*
|
|
1683
1721
|
* Specifies the currently selected key.
|
|
1684
1722
|
*/
|
|
1685
1723
|
selectedKey?: string | PropertyBindingInfo;
|
|
1686
1724
|
|
|
1687
1725
|
/**
|
|
1688
|
-
* @
|
|
1726
|
+
* @since 1.98
|
|
1689
1727
|
*
|
|
1690
1728
|
* Specifies an optional aria-label that can be used by the screen readers.
|
|
1691
1729
|
*/
|
|
@@ -1707,7 +1745,7 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1707
1745
|
footer?: NavigationList;
|
|
1708
1746
|
|
|
1709
1747
|
/**
|
|
1710
|
-
* @
|
|
1748
|
+
* @since 1.52.0
|
|
1711
1749
|
*
|
|
1712
1750
|
* The selected `NavigationListItem`.
|
|
1713
1751
|
*/
|
|
@@ -1716,17 +1754,17 @@ declare module "sap/tnt/SideNavigation" {
|
|
|
1716
1754
|
/**
|
|
1717
1755
|
* Fired when an item is selected.
|
|
1718
1756
|
*/
|
|
1719
|
-
itemSelect?: (
|
|
1720
|
-
oEvent: Event<$SideNavigationItemSelectEventParameters>
|
|
1721
|
-
) => void;
|
|
1757
|
+
itemSelect?: (oEvent: SideNavigation$ItemSelectEvent) => void;
|
|
1722
1758
|
}
|
|
1723
1759
|
|
|
1724
|
-
export interface $
|
|
1760
|
+
export interface SideNavigation$ItemSelectEventParameters {
|
|
1725
1761
|
/**
|
|
1726
1762
|
* The selected item.
|
|
1727
1763
|
*/
|
|
1728
1764
|
item?: Item;
|
|
1729
1765
|
}
|
|
1766
|
+
|
|
1767
|
+
export type SideNavigation$ItemSelectEvent = Event<SideNavigation$ItemSelectEventParameters>;
|
|
1730
1768
|
}
|
|
1731
1769
|
|
|
1732
1770
|
declare module "sap/tnt/ToolHeader" {
|
|
@@ -1740,7 +1778,7 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
1740
1778
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1741
1779
|
|
|
1742
1780
|
/**
|
|
1743
|
-
* @
|
|
1781
|
+
* @since 1.34
|
|
1744
1782
|
*
|
|
1745
1783
|
* The ToolHeader control is a horizontal container that is most commonly used to display buttons, texts,
|
|
1746
1784
|
* and other various input controls. Overview: The ToolHeader control is based on {@link sap.m.OverflowToolbar}.
|
|
@@ -1777,7 +1815,9 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
1777
1815
|
* Support for default (Accent 6) color. Image avatar. - sap.m.Image
|
|
1778
1816
|
* Primarily used for displaying the company logo. Interaction states
|
|
1779
1817
|
*/
|
|
1780
|
-
class ToolHeader
|
|
1818
|
+
export default class ToolHeader
|
|
1819
|
+
extends OverflowToolbar
|
|
1820
|
+
implements IToolHeader {
|
|
1781
1821
|
__implements__sap_tnt_IToolHeader: boolean;
|
|
1782
1822
|
/**
|
|
1783
1823
|
* Constructor for a new ToolHeader.
|
|
@@ -1788,8 +1828,6 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
1788
1828
|
*
|
|
1789
1829
|
* This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
|
|
1790
1830
|
* can be used.
|
|
1791
|
-
* See:
|
|
1792
|
-
* {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
|
|
1793
1831
|
*/
|
|
1794
1832
|
constructor(
|
|
1795
1833
|
/**
|
|
@@ -1806,8 +1844,6 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
1806
1844
|
*
|
|
1807
1845
|
* This class does not have its own settings, but all settings applicable to the base type {@link sap.m.OverflowToolbar#constructor sap.m.OverflowToolbar }
|
|
1808
1846
|
* can be used.
|
|
1809
|
-
* See:
|
|
1810
|
-
* {@link fiori:https://experience.sap.com/fiori-design-web/tool-header/ Tool Header}
|
|
1811
1847
|
*/
|
|
1812
1848
|
constructor(
|
|
1813
1849
|
/**
|
|
@@ -1850,7 +1886,6 @@ declare module "sap/tnt/ToolHeader" {
|
|
|
1850
1886
|
*/
|
|
1851
1887
|
static getMetadata(): ElementMetadata;
|
|
1852
1888
|
}
|
|
1853
|
-
export default ToolHeader;
|
|
1854
1889
|
|
|
1855
1890
|
export interface $ToolHeaderSettings extends $OverflowToolbarSettings {}
|
|
1856
1891
|
}
|
|
@@ -1861,12 +1896,12 @@ declare module "sap/tnt/ToolHeaderUtilitySeparator" {
|
|
|
1861
1896
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1862
1897
|
|
|
1863
1898
|
/**
|
|
1864
|
-
* @
|
|
1899
|
+
* @since 1.16
|
|
1865
1900
|
*
|
|
1866
1901
|
* The ToolHeaderUtilitySeparator control is used in the sap.tnt.ToolHeader control to specify where the
|
|
1867
1902
|
* overflow button is placed.
|
|
1868
1903
|
*/
|
|
1869
|
-
class ToolHeaderUtilitySeparator extends Control {
|
|
1904
|
+
export default class ToolHeaderUtilitySeparator extends Control {
|
|
1870
1905
|
/**
|
|
1871
1906
|
* Constructor for a new ToolHeaderUtilitySeparator.
|
|
1872
1907
|
*
|
|
@@ -1934,7 +1969,6 @@ declare module "sap/tnt/ToolHeaderUtilitySeparator" {
|
|
|
1934
1969
|
*/
|
|
1935
1970
|
static getMetadata(): ElementMetadata;
|
|
1936
1971
|
}
|
|
1937
|
-
export default ToolHeaderUtilitySeparator;
|
|
1938
1972
|
|
|
1939
1973
|
export interface $ToolHeaderUtilitySeparatorSettings
|
|
1940
1974
|
extends $ControlSettings {}
|
|
@@ -1957,7 +1991,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
1957
1991
|
} from "sap/ui/base/ManagedObject";
|
|
1958
1992
|
|
|
1959
1993
|
/**
|
|
1960
|
-
* @
|
|
1994
|
+
* @since 1.34
|
|
1961
1995
|
*
|
|
1962
1996
|
* The ToolPage is a layout control, used to create a basic tools app that has a header, side navigation
|
|
1963
1997
|
* and contents area. Overview: The control has three main areas - a header on top, navigation to the side
|
|
@@ -1965,7 +1999,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
1965
1999
|
* and {@link sap.tnt.SideNavigation}. Usage: The main usage of the sap.tnt controls is for scenarios in
|
|
1966
2000
|
* the tooling or administration space.
|
|
1967
2001
|
*/
|
|
1968
|
-
class ToolPage extends Control {
|
|
2002
|
+
export default class ToolPage extends Control {
|
|
1969
2003
|
/**
|
|
1970
2004
|
* Constructor for a new ToolPage.
|
|
1971
2005
|
*
|
|
@@ -2056,7 +2090,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2056
2090
|
*/
|
|
2057
2091
|
destroySideContent(): this;
|
|
2058
2092
|
/**
|
|
2059
|
-
* @
|
|
2093
|
+
* @since 1.93
|
|
2060
2094
|
*
|
|
2061
2095
|
* Destroys the subHeader in the aggregation {@link #getSubHeader subHeader}.
|
|
2062
2096
|
*
|
|
@@ -2064,7 +2098,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2064
2098
|
*/
|
|
2065
2099
|
destroySubHeader(): this;
|
|
2066
2100
|
/**
|
|
2067
|
-
* @
|
|
2101
|
+
* @since 1.115
|
|
2068
2102
|
*
|
|
2069
2103
|
* Gets current value of property {@link #getContentBackgroundDesign contentBackgroundDesign}.
|
|
2070
2104
|
*
|
|
@@ -2106,7 +2140,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2106
2140
|
*/
|
|
2107
2141
|
getSideExpanded(): boolean;
|
|
2108
2142
|
/**
|
|
2109
|
-
* @
|
|
2143
|
+
* @since 1.93
|
|
2110
2144
|
*
|
|
2111
2145
|
* Gets content of aggregation {@link #getSubHeader subHeader}.
|
|
2112
2146
|
*
|
|
@@ -2162,7 +2196,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2162
2196
|
vMainContent: int | string | Control
|
|
2163
2197
|
): Control | null;
|
|
2164
2198
|
/**
|
|
2165
|
-
* @
|
|
2199
|
+
* @since 1.115
|
|
2166
2200
|
*
|
|
2167
2201
|
* Sets a new value for property {@link #getContentBackgroundDesign contentBackgroundDesign}.
|
|
2168
2202
|
*
|
|
@@ -2216,7 +2250,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2216
2250
|
bSideExpanded: boolean
|
|
2217
2251
|
): this;
|
|
2218
2252
|
/**
|
|
2219
|
-
* @
|
|
2253
|
+
* @since 1.93
|
|
2220
2254
|
*
|
|
2221
2255
|
* Sets the aggregated {@link #getSubHeader subHeader}.
|
|
2222
2256
|
*
|
|
@@ -2235,7 +2269,6 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2235
2269
|
*/
|
|
2236
2270
|
toggleSideContentMode(): this;
|
|
2237
2271
|
}
|
|
2238
|
-
export default ToolPage;
|
|
2239
2272
|
|
|
2240
2273
|
export interface $ToolPageSettings extends $ControlSettings {
|
|
2241
2274
|
/**
|
|
@@ -2244,7 +2277,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2244
2277
|
sideExpanded?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2245
2278
|
|
|
2246
2279
|
/**
|
|
2247
|
-
* @
|
|
2280
|
+
* @since 1.115
|
|
2248
2281
|
*
|
|
2249
2282
|
* Specifies the content background design.
|
|
2250
2283
|
*/
|
|
@@ -2259,7 +2292,7 @@ declare module "sap/tnt/ToolPage" {
|
|
|
2259
2292
|
header?: IToolHeader;
|
|
2260
2293
|
|
|
2261
2294
|
/**
|
|
2262
|
-
* @
|
|
2295
|
+
* @since 1.93
|
|
2263
2296
|
*
|
|
2264
2297
|
* The control to appear in the subheader area.
|
|
2265
2298
|
*/
|