@openui5/types 1.115.0 → 1.115.1
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 +860 -754
- package/types/sap.m.d.ts +8300 -6415
- package/types/sap.tnt.d.ts +81 -74
- package/types/sap.ui.codeeditor.d.ts +40 -25
- package/types/sap.ui.commons.d.ts +991 -672
- package/types/sap.ui.core.d.ts +2853 -2263
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +85 -47
- package/types/sap.ui.integration.d.ts +355 -280
- package/types/sap.ui.layout.d.ts +399 -416
- package/types/sap.ui.mdc.d.ts +1016 -792
- package/types/sap.ui.rta.d.ts +7 -7
- package/types/sap.ui.suite.d.ts +25 -11
- package/types/sap.ui.support.d.ts +12 -13
- package/types/sap.ui.table.d.ts +498 -354
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1228 -894
- package/types/sap.ui.ux3.d.ts +1023 -613
- package/types/sap.ui.webc.common.d.ts +7 -9
- package/types/sap.ui.webc.fiori.d.ts +578 -408
- package/types/sap.ui.webc.main.d.ts +1521 -878
- package/types/sap.uxap.d.ts +304 -267
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.115.
|
|
1
|
+
// For Library Version: 1.115.1
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/integration/library" {
|
|
4
4
|
import { URI } from "sap/ui/core/library";
|
|
@@ -6,7 +6,7 @@ declare module "sap/ui/integration/library" {
|
|
|
6
6
|
import { ButtonType } from "sap/m/library";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
9
|
+
* @since 1.96
|
|
10
10
|
*
|
|
11
11
|
* Defines the layout type of the List card attributes.
|
|
12
12
|
*/
|
|
@@ -21,32 +21,32 @@ declare module "sap/ui/integration/library" {
|
|
|
21
21
|
TwoColumns = "TwoColumns",
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* @
|
|
24
|
+
* @experimental (since 1.64) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
25
25
|
* may be done before its official public release. Use at your own discretion.
|
|
26
26
|
*
|
|
27
27
|
* Enumeration of possible card action types.
|
|
28
28
|
*/
|
|
29
29
|
export enum CardActionType {
|
|
30
30
|
/**
|
|
31
|
-
* @
|
|
31
|
+
* @experimental (since 1.76)
|
|
32
32
|
*
|
|
33
33
|
* Used for custom actions.
|
|
34
34
|
*/
|
|
35
35
|
Custom = "Custom",
|
|
36
36
|
/**
|
|
37
|
-
* @
|
|
37
|
+
* @experimental (since 1.87)
|
|
38
38
|
*
|
|
39
39
|
* Date selection. Available only for Calendar cards.
|
|
40
40
|
*/
|
|
41
41
|
DateChange = "DateChange",
|
|
42
42
|
/**
|
|
43
|
-
* @
|
|
43
|
+
* @experimental (since 1.100)
|
|
44
44
|
*
|
|
45
45
|
* Used for hiding the appeared details about the card.
|
|
46
46
|
*/
|
|
47
47
|
HideCard = "HideCard",
|
|
48
48
|
/**
|
|
49
|
-
* @
|
|
49
|
+
* @experimental (since 1.87)
|
|
50
50
|
*
|
|
51
51
|
* Month selection. Available only for Calendar cards.
|
|
52
52
|
*/
|
|
@@ -56,7 +56,7 @@ declare module "sap/ui/integration/library" {
|
|
|
56
56
|
*/
|
|
57
57
|
Navigation = "Navigation",
|
|
58
58
|
/**
|
|
59
|
-
* @
|
|
59
|
+
* @experimental (since 1.100)
|
|
60
60
|
*
|
|
61
61
|
* Used for showing more details about the card.
|
|
62
62
|
*/
|
|
@@ -67,7 +67,7 @@ declare module "sap/ui/integration/library" {
|
|
|
67
67
|
Submit = "Submit",
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
* @
|
|
70
|
+
* @since 1.86
|
|
71
71
|
*
|
|
72
72
|
* Defines the areas in a card.
|
|
73
73
|
*/
|
|
@@ -86,7 +86,7 @@ declare module "sap/ui/integration/library" {
|
|
|
86
86
|
Header = "Header",
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* @
|
|
89
|
+
* @experimental (since 1.114)
|
|
90
90
|
*
|
|
91
91
|
* Card blocking message types.
|
|
92
92
|
*/
|
|
@@ -105,8 +105,8 @@ declare module "sap/ui/integration/library" {
|
|
|
105
105
|
NoData = "NoData",
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* @
|
|
109
|
-
* @
|
|
108
|
+
* @since 1.65
|
|
109
|
+
* @experimental (since 1.65)
|
|
110
110
|
*
|
|
111
111
|
* Possible data modes for `{@link sap.ui.integration.widgets.Card}`.
|
|
112
112
|
*/
|
|
@@ -125,8 +125,8 @@ declare module "sap/ui/integration/library" {
|
|
|
125
125
|
Inactive = "Inactive",
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* @
|
|
128
|
+
* @since 1.109
|
|
129
|
+
* @experimental (since 1.109)
|
|
130
130
|
*
|
|
131
131
|
* Possible designs for `{@link sap.ui.integration.widgets.Card}`.
|
|
132
132
|
*/
|
|
@@ -141,7 +141,7 @@ declare module "sap/ui/integration/library" {
|
|
|
141
141
|
Transparent = "Transparent",
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
|
-
* @
|
|
144
|
+
* @experimental (since 1.79)
|
|
145
145
|
*
|
|
146
146
|
* An object type that represents card menu action properties.
|
|
147
147
|
*/
|
|
@@ -185,8 +185,8 @@ declare module "sap/ui/integration/library" {
|
|
|
185
185
|
};
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* @
|
|
189
|
-
* @
|
|
188
|
+
* @since 1.112
|
|
189
|
+
* @experimental (since 1.112)
|
|
190
190
|
*
|
|
191
191
|
* Preview modes for `{@link sap.ui.integration.widgets.Card}`. Helpful in scenarios when the end user is
|
|
192
192
|
* choosing or configuring a card.
|
|
@@ -223,14 +223,14 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
223
223
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
|
-
* @
|
|
227
|
-
* @
|
|
226
|
+
* @since 1.85
|
|
227
|
+
* @experimental (since 1.85) - Disclaimer: this class is in a beta state - incompatible API changes may
|
|
228
228
|
* be done before its official public release. Use at your own discretion.
|
|
229
229
|
*
|
|
230
230
|
* Represents an action, which appears in the header of {@link sap.ui.integration.widgets.Card}. Useful
|
|
231
231
|
* in `Component` card and `Extension`.
|
|
232
232
|
*/
|
|
233
|
-
class ActionDefinition extends UI5Element {
|
|
233
|
+
export default class ActionDefinition extends UI5Element {
|
|
234
234
|
/**
|
|
235
235
|
* Constructor for a new `ActionDefinition`.
|
|
236
236
|
*
|
|
@@ -356,7 +356,7 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
356
356
|
oListener?: object
|
|
357
357
|
): this;
|
|
358
358
|
/**
|
|
359
|
-
* @
|
|
359
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
360
360
|
*
|
|
361
361
|
* Fires event {@link #event:press press} to attached listeners.
|
|
362
362
|
*
|
|
@@ -548,7 +548,6 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
548
548
|
bVisible?: boolean
|
|
549
549
|
): this;
|
|
550
550
|
}
|
|
551
|
-
export default ActionDefinition;
|
|
552
551
|
|
|
553
552
|
export interface $ActionDefinitionSettings extends $ElementSettings {
|
|
554
553
|
/**
|
|
@@ -599,7 +598,15 @@ declare module "sap/ui/integration/ActionDefinition" {
|
|
|
599
598
|
press?: (oEvent: Event) => void;
|
|
600
599
|
}
|
|
601
600
|
|
|
602
|
-
export interface $
|
|
601
|
+
export interface ActionDefinition$PressEventParameters {}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'ActionDefinition$PressEventParameters'
|
|
605
|
+
* in 1.115.1 and any later releases.
|
|
606
|
+
*/
|
|
607
|
+
export type $ActionDefinitionPressEventParameters = ActionDefinition$PressEventParameters;
|
|
608
|
+
|
|
609
|
+
export type ActionDefinition$PressEvent = Event<ActionDefinition$PressEventParameters>;
|
|
603
610
|
}
|
|
604
611
|
|
|
605
612
|
declare module "sap/ui/integration/widgets/Card" {
|
|
@@ -636,7 +643,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
636
643
|
} from "sap/ui/base/ManagedObject";
|
|
637
644
|
|
|
638
645
|
/**
|
|
639
|
-
* @
|
|
646
|
+
* @experimental (since 1.114)
|
|
640
647
|
*
|
|
641
648
|
* Settings for blocking message that ocurred in a {@link sap.ui.integration.widgets.Card}
|
|
642
649
|
*/
|
|
@@ -670,7 +677,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
670
677
|
};
|
|
671
678
|
|
|
672
679
|
/**
|
|
673
|
-
* @
|
|
680
|
+
* @since 1.62
|
|
674
681
|
*
|
|
675
682
|
* A control that represents a container with a header and content.
|
|
676
683
|
*
|
|
@@ -710,7 +717,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
710
717
|
* - When you have to use an application model. For such cases, use: {@link sap.f.Card sap.f.Card}.
|
|
711
718
|
* - When you need complex behavior. For such cases, use: {@link sap.f.Card sap.f.Card}.
|
|
712
719
|
*/
|
|
713
|
-
class Card extends CardBase {
|
|
720
|
+
export default class Card extends CardBase {
|
|
714
721
|
/**
|
|
715
722
|
* Constructor for a new `Card`.
|
|
716
723
|
*
|
|
@@ -776,8 +783,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
776
783
|
*/
|
|
777
784
|
static getMetadata(): ElementMetadata;
|
|
778
785
|
/**
|
|
779
|
-
* @
|
|
780
|
-
* @
|
|
786
|
+
* @since 1.85
|
|
787
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
781
788
|
* may be done before its official public release. Use at your own discretion.
|
|
782
789
|
*
|
|
783
790
|
* Adds some actionDefinition to the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -791,7 +798,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
791
798
|
oActionDefinition: ActionDefinition
|
|
792
799
|
): this;
|
|
793
800
|
/**
|
|
794
|
-
* @
|
|
801
|
+
* @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
795
802
|
* be done before its official public release. Use at your own discretion.
|
|
796
803
|
*
|
|
797
804
|
* Attaches event handler `fnFunction` to the {@link #event:action action} event of this `sap.ui.integration.widgets.Card`.
|
|
@@ -816,14 +823,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
816
823
|
/**
|
|
817
824
|
* The function to be called when the event occurs
|
|
818
825
|
*/
|
|
819
|
-
fnFunction: (p1:
|
|
826
|
+
fnFunction: (p1: Card$ActionEvent) => void,
|
|
820
827
|
/**
|
|
821
828
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.widgets.Card` itself
|
|
822
829
|
*/
|
|
823
830
|
oListener?: object
|
|
824
831
|
): this;
|
|
825
832
|
/**
|
|
826
|
-
* @
|
|
833
|
+
* @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
827
834
|
* be done before its official public release. Use at your own discretion.
|
|
828
835
|
*
|
|
829
836
|
* Attaches event handler `fnFunction` to the {@link #event:action action} event of this `sap.ui.integration.widgets.Card`.
|
|
@@ -843,14 +850,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
843
850
|
/**
|
|
844
851
|
* The function to be called when the event occurs
|
|
845
852
|
*/
|
|
846
|
-
fnFunction: (p1:
|
|
853
|
+
fnFunction: (p1: Card$ActionEvent) => void,
|
|
847
854
|
/**
|
|
848
855
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.widgets.Card` itself
|
|
849
856
|
*/
|
|
850
857
|
oListener?: object
|
|
851
858
|
): this;
|
|
852
859
|
/**
|
|
853
|
-
* @
|
|
860
|
+
* @experimental (since 1.96)
|
|
854
861
|
*
|
|
855
862
|
* Attaches event handler `fnFunction` to the {@link #event:configurationChange configurationChange} event
|
|
856
863
|
* of this `sap.ui.integration.widgets.Card`.
|
|
@@ -872,14 +879,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
872
879
|
/**
|
|
873
880
|
* The function to be called when the event occurs
|
|
874
881
|
*/
|
|
875
|
-
fnFunction: (p1:
|
|
882
|
+
fnFunction: (p1: Card$ConfigurationChangeEvent) => void,
|
|
876
883
|
/**
|
|
877
884
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.widgets.Card` itself
|
|
878
885
|
*/
|
|
879
886
|
oListener?: object
|
|
880
887
|
): this;
|
|
881
888
|
/**
|
|
882
|
-
* @
|
|
889
|
+
* @experimental (since 1.96)
|
|
883
890
|
*
|
|
884
891
|
* Attaches event handler `fnFunction` to the {@link #event:configurationChange configurationChange} event
|
|
885
892
|
* of this `sap.ui.integration.widgets.Card`.
|
|
@@ -896,7 +903,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
896
903
|
/**
|
|
897
904
|
* The function to be called when the event occurs
|
|
898
905
|
*/
|
|
899
|
-
fnFunction: (p1:
|
|
906
|
+
fnFunction: (p1: Card$ConfigurationChangeEvent) => void,
|
|
900
907
|
/**
|
|
901
908
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.widgets.Card` itself
|
|
902
909
|
*/
|
|
@@ -956,7 +963,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
956
963
|
oListener?: object
|
|
957
964
|
): this;
|
|
958
965
|
/**
|
|
959
|
-
* @
|
|
966
|
+
* @experimental (since 1.72)
|
|
960
967
|
*
|
|
961
968
|
* Attaches event handler `fnFunction` to the {@link #event:manifestReady manifestReady} event of this `sap.ui.integration.widgets.Card`.
|
|
962
969
|
*
|
|
@@ -983,7 +990,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
983
990
|
oListener?: object
|
|
984
991
|
): this;
|
|
985
992
|
/**
|
|
986
|
-
* @
|
|
993
|
+
* @experimental (since 1.72)
|
|
987
994
|
*
|
|
988
995
|
* Attaches event handler `fnFunction` to the {@link #event:manifestReady manifestReady} event of this `sap.ui.integration.widgets.Card`.
|
|
989
996
|
*
|
|
@@ -1005,7 +1012,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1005
1012
|
oListener?: object
|
|
1006
1013
|
): this;
|
|
1007
1014
|
/**
|
|
1008
|
-
* @
|
|
1015
|
+
* @experimental (since 1.107)
|
|
1009
1016
|
*
|
|
1010
1017
|
* Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.integration.widgets.Card`.
|
|
1011
1018
|
*
|
|
@@ -1033,7 +1040,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1033
1040
|
oListener?: object
|
|
1034
1041
|
): this;
|
|
1035
1042
|
/**
|
|
1036
|
-
* @
|
|
1043
|
+
* @experimental (since 1.107)
|
|
1037
1044
|
*
|
|
1038
1045
|
* Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.integration.widgets.Card`.
|
|
1039
1046
|
*
|
|
@@ -1056,8 +1063,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1056
1063
|
oListener?: object
|
|
1057
1064
|
): this;
|
|
1058
1065
|
/**
|
|
1059
|
-
* @
|
|
1060
|
-
* @
|
|
1066
|
+
* @since 1.85
|
|
1067
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1061
1068
|
* may be done before its official public release. Use at your own discretion.
|
|
1062
1069
|
*
|
|
1063
1070
|
* Destroys all the actionDefinitions in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1066,7 +1073,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1066
1073
|
*/
|
|
1067
1074
|
destroyActionDefinitions(): this;
|
|
1068
1075
|
/**
|
|
1069
|
-
* @
|
|
1076
|
+
* @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
1070
1077
|
* be done before its official public release. Use at your own discretion.
|
|
1071
1078
|
*
|
|
1072
1079
|
* Detaches event handler `fnFunction` from the {@link #event:action action} event of this `sap.ui.integration.widgets.Card`.
|
|
@@ -1079,14 +1086,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1079
1086
|
/**
|
|
1080
1087
|
* The function to be called, when the event occurs
|
|
1081
1088
|
*/
|
|
1082
|
-
fnFunction: (p1:
|
|
1089
|
+
fnFunction: (p1: Card$ActionEvent) => void,
|
|
1083
1090
|
/**
|
|
1084
1091
|
* Context object on which the given function had to be called
|
|
1085
1092
|
*/
|
|
1086
1093
|
oListener?: object
|
|
1087
1094
|
): this;
|
|
1088
1095
|
/**
|
|
1089
|
-
* @
|
|
1096
|
+
* @experimental (since 1.96)
|
|
1090
1097
|
*
|
|
1091
1098
|
* Detaches event handler `fnFunction` from the {@link #event:configurationChange configurationChange} event
|
|
1092
1099
|
* of this `sap.ui.integration.widgets.Card`.
|
|
@@ -1099,7 +1106,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1099
1106
|
/**
|
|
1100
1107
|
* The function to be called, when the event occurs
|
|
1101
1108
|
*/
|
|
1102
|
-
fnFunction: (p1:
|
|
1109
|
+
fnFunction: (p1: Card$ConfigurationChangeEvent) => void,
|
|
1103
1110
|
/**
|
|
1104
1111
|
* Context object on which the given function had to be called
|
|
1105
1112
|
*/
|
|
@@ -1124,7 +1131,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1124
1131
|
oListener?: object
|
|
1125
1132
|
): this;
|
|
1126
1133
|
/**
|
|
1127
|
-
* @
|
|
1134
|
+
* @experimental (since 1.72)
|
|
1128
1135
|
*
|
|
1129
1136
|
* Detaches event handler `fnFunction` from the {@link #event:manifestReady manifestReady} event of this
|
|
1130
1137
|
* `sap.ui.integration.widgets.Card`.
|
|
@@ -1144,7 +1151,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1144
1151
|
oListener?: object
|
|
1145
1152
|
): this;
|
|
1146
1153
|
/**
|
|
1147
|
-
* @
|
|
1154
|
+
* @experimental (since 1.107)
|
|
1148
1155
|
*
|
|
1149
1156
|
* Detaches event handler `fnFunction` from the {@link #event:stateChanged stateChanged} event of this `sap.ui.integration.widgets.Card`.
|
|
1150
1157
|
*
|
|
@@ -1163,9 +1170,9 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1163
1170
|
oListener?: object
|
|
1164
1171
|
): this;
|
|
1165
1172
|
/**
|
|
1166
|
-
* @
|
|
1173
|
+
* @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
1167
1174
|
* be done before its official public release. Use at your own discretion.
|
|
1168
|
-
* @
|
|
1175
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1169
1176
|
*
|
|
1170
1177
|
* Fires event {@link #event:action action} to attached listeners.
|
|
1171
1178
|
*
|
|
@@ -1178,11 +1185,11 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1178
1185
|
/**
|
|
1179
1186
|
* Parameters to pass along with the event
|
|
1180
1187
|
*/
|
|
1181
|
-
mParameters?: $
|
|
1188
|
+
mParameters?: Card$ActionEventParameters
|
|
1182
1189
|
): boolean;
|
|
1183
1190
|
/**
|
|
1184
|
-
* @
|
|
1185
|
-
* @
|
|
1191
|
+
* @experimental (since 1.96)
|
|
1192
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1186
1193
|
*
|
|
1187
1194
|
* Fires event {@link #event:configurationChange configurationChange} to attached listeners.
|
|
1188
1195
|
*
|
|
@@ -1192,10 +1199,10 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1192
1199
|
/**
|
|
1193
1200
|
* Parameters to pass along with the event
|
|
1194
1201
|
*/
|
|
1195
|
-
mParameters?: $
|
|
1202
|
+
mParameters?: Card$ConfigurationChangeEventParameters
|
|
1196
1203
|
): this;
|
|
1197
1204
|
/**
|
|
1198
|
-
* @
|
|
1205
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1199
1206
|
*
|
|
1200
1207
|
* Fires event {@link #event:manifestApplied manifestApplied} to attached listeners.
|
|
1201
1208
|
*
|
|
@@ -1208,8 +1215,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1208
1215
|
mParameters?: object
|
|
1209
1216
|
): this;
|
|
1210
1217
|
/**
|
|
1211
|
-
* @
|
|
1212
|
-
* @
|
|
1218
|
+
* @experimental (since 1.72)
|
|
1219
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1213
1220
|
*
|
|
1214
1221
|
* Fires event {@link #event:manifestReady manifestReady} to attached listeners.
|
|
1215
1222
|
*
|
|
@@ -1222,8 +1229,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1222
1229
|
mParameters?: object
|
|
1223
1230
|
): this;
|
|
1224
1231
|
/**
|
|
1225
|
-
* @
|
|
1226
|
-
* @
|
|
1232
|
+
* @experimental (since 1.107)
|
|
1233
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1227
1234
|
*
|
|
1228
1235
|
* Fires event {@link #event:stateChanged stateChanged} to attached listeners.
|
|
1229
1236
|
*
|
|
@@ -1236,8 +1243,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1236
1243
|
mParameters?: object
|
|
1237
1244
|
): this;
|
|
1238
1245
|
/**
|
|
1239
|
-
* @
|
|
1240
|
-
* @
|
|
1246
|
+
* @since 1.85
|
|
1247
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1241
1248
|
* may be done before its official public release. Use at your own discretion.
|
|
1242
1249
|
*
|
|
1243
1250
|
* Gets content of aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1247,8 +1254,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1247
1254
|
*/
|
|
1248
1255
|
getActionDefinitions(): ActionDefinition[];
|
|
1249
1256
|
/**
|
|
1250
|
-
* @
|
|
1251
|
-
* @
|
|
1257
|
+
* @since 1.70
|
|
1258
|
+
* @experimental (since 1.70)
|
|
1252
1259
|
*
|
|
1253
1260
|
* Gets current value of property {@link #getBaseUrl baseUrl}.
|
|
1254
1261
|
*
|
|
@@ -1259,7 +1266,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1259
1266
|
*/
|
|
1260
1267
|
getBaseUrl(): URI;
|
|
1261
1268
|
/**
|
|
1262
|
-
* @
|
|
1269
|
+
* @experimental (since 1.114)
|
|
1263
1270
|
*
|
|
1264
1271
|
* Get information about the blocking message in the card.
|
|
1265
1272
|
*
|
|
@@ -1267,7 +1274,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1267
1274
|
*/
|
|
1268
1275
|
getBlockingMessage(): BlockingMessageSettings | null;
|
|
1269
1276
|
/**
|
|
1270
|
-
* @
|
|
1277
|
+
* @experimental (since 1.77)
|
|
1271
1278
|
*
|
|
1272
1279
|
* Gets values of manifest parameters combined with the parameters from `parameters` property.
|
|
1273
1280
|
*
|
|
@@ -1281,8 +1288,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1281
1288
|
*/
|
|
1282
1289
|
getCombinedParameters(): Record<string, any>;
|
|
1283
1290
|
/**
|
|
1284
|
-
* @
|
|
1285
|
-
* @
|
|
1291
|
+
* @since 1.65
|
|
1292
|
+
* @experimental (since 1.65)
|
|
1286
1293
|
*
|
|
1287
1294
|
* Gets current value of property {@link #getDataMode dataMode}.
|
|
1288
1295
|
*
|
|
@@ -1294,8 +1301,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1294
1301
|
*/
|
|
1295
1302
|
getDataMode(): CardDataMode | keyof typeof CardDataMode;
|
|
1296
1303
|
/**
|
|
1297
|
-
* @
|
|
1298
|
-
* @
|
|
1304
|
+
* @since 1.109
|
|
1305
|
+
* @experimental (since 1.109)
|
|
1299
1306
|
*
|
|
1300
1307
|
* Gets current value of property {@link #getDesign design}.
|
|
1301
1308
|
*
|
|
@@ -1307,7 +1314,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1307
1314
|
*/
|
|
1308
1315
|
getDesign(): CardDesign | keyof typeof CardDesign;
|
|
1309
1316
|
/**
|
|
1310
|
-
* @
|
|
1317
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
1311
1318
|
*
|
|
1312
1319
|
* Returns the DOM Element that should get the focus.
|
|
1313
1320
|
*
|
|
@@ -1319,7 +1326,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1319
1326
|
*/
|
|
1320
1327
|
getHost(): ID;
|
|
1321
1328
|
/**
|
|
1322
|
-
* @
|
|
1329
|
+
* @experimental (since 1.77)
|
|
1323
1330
|
*
|
|
1324
1331
|
* Gets the instance of the `host` association.
|
|
1325
1332
|
*
|
|
@@ -1333,8 +1340,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1333
1340
|
*/
|
|
1334
1341
|
getManifest(): string | Object;
|
|
1335
1342
|
/**
|
|
1336
|
-
* @
|
|
1337
|
-
* @
|
|
1343
|
+
* @since 1.76
|
|
1344
|
+
* @experimental (since 1.76) - This API might be removed when a permanent solution for flexibility changes
|
|
1338
1345
|
* is implemented.
|
|
1339
1346
|
*
|
|
1340
1347
|
* Gets current value of property {@link #getManifestChanges manifestChanges}.
|
|
@@ -1380,7 +1387,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1380
1387
|
*/
|
|
1381
1388
|
getManifestChanges(): object[];
|
|
1382
1389
|
/**
|
|
1383
|
-
* @
|
|
1390
|
+
* @experimental (since 1.77)
|
|
1384
1391
|
*
|
|
1385
1392
|
* Returns a value from the Manifest based on the specified path.
|
|
1386
1393
|
*
|
|
@@ -1395,8 +1402,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1395
1402
|
sPath: string
|
|
1396
1403
|
): any;
|
|
1397
1404
|
/**
|
|
1398
|
-
* @
|
|
1399
|
-
* @
|
|
1405
|
+
* @since 1.112
|
|
1406
|
+
* @experimental (since 1.112)
|
|
1400
1407
|
*
|
|
1401
1408
|
* Gets current value of property {@link #getPreviewMode previewMode}.
|
|
1402
1409
|
*
|
|
@@ -1424,7 +1431,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1424
1431
|
*/
|
|
1425
1432
|
getReferenceId(): string;
|
|
1426
1433
|
/**
|
|
1427
|
-
* @
|
|
1434
|
+
* @experimental (since 1.83) - The API might change.
|
|
1428
1435
|
*
|
|
1429
1436
|
* Gets translated text from the i18n properties files configured for this card.
|
|
1430
1437
|
*
|
|
@@ -1452,7 +1459,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1452
1459
|
bIgnoreKeyFallback?: boolean
|
|
1453
1460
|
): string;
|
|
1454
1461
|
/**
|
|
1455
|
-
* @
|
|
1462
|
+
* @experimental (since 1.114)
|
|
1456
1463
|
*
|
|
1457
1464
|
* Hide the blocking message that is shown in the card by `showBlockingMessage` call.
|
|
1458
1465
|
*/
|
|
@@ -1468,8 +1475,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1468
1475
|
eCardArea?: CardArea | keyof typeof CardArea
|
|
1469
1476
|
): void;
|
|
1470
1477
|
/**
|
|
1471
|
-
* @
|
|
1472
|
-
* @
|
|
1478
|
+
* @since 1.85
|
|
1479
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1473
1480
|
* may be done before its official public release. Use at your own discretion.
|
|
1474
1481
|
*
|
|
1475
1482
|
* Checks for the provided `sap.ui.integration.ActionDefinition` in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1484,8 +1491,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1484
1491
|
oActionDefinition: ActionDefinition
|
|
1485
1492
|
): int;
|
|
1486
1493
|
/**
|
|
1487
|
-
* @
|
|
1488
|
-
* @
|
|
1494
|
+
* @since 1.85
|
|
1495
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1489
1496
|
* may be done before its official public release. Use at your own discretion.
|
|
1490
1497
|
*
|
|
1491
1498
|
* Inserts a actionDefinition into the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1505,14 +1512,14 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1505
1512
|
iIndex: int
|
|
1506
1513
|
): this;
|
|
1507
1514
|
/**
|
|
1508
|
-
* @
|
|
1515
|
+
* @experimental (since 1.65) - The API might change.
|
|
1509
1516
|
*
|
|
1510
1517
|
*
|
|
1511
1518
|
* @returns If the card is ready or not.
|
|
1512
1519
|
*/
|
|
1513
1520
|
isReady(): boolean;
|
|
1514
1521
|
/**
|
|
1515
|
-
* @
|
|
1522
|
+
* @experimental (since 1.73)
|
|
1516
1523
|
*
|
|
1517
1524
|
* Loads the module designtime/Card.designtime or the module given in "sap.card": { "designtime": "designtime/Own.designtime"
|
|
1518
1525
|
* } This file should contain the designtime configuration for the card.
|
|
@@ -1525,20 +1532,20 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1525
1532
|
*/
|
|
1526
1533
|
loadDesigntime(): Promise<object>;
|
|
1527
1534
|
/**
|
|
1528
|
-
* @
|
|
1535
|
+
* @experimental (since 1.65) - The API might change.
|
|
1529
1536
|
*
|
|
1530
1537
|
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
1531
1538
|
*/
|
|
1532
1539
|
refresh(): void;
|
|
1533
1540
|
/**
|
|
1534
|
-
* @
|
|
1541
|
+
* @since 1.95
|
|
1535
1542
|
*
|
|
1536
1543
|
* Refreshes the card data by triggering all data requests.
|
|
1537
1544
|
*/
|
|
1538
1545
|
refreshData(): void;
|
|
1539
1546
|
/**
|
|
1540
|
-
* @
|
|
1541
|
-
* @
|
|
1547
|
+
* @since 1.85
|
|
1548
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1542
1549
|
* may be done before its official public release. Use at your own discretion.
|
|
1543
1550
|
*
|
|
1544
1551
|
* Removes a actionDefinition from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1552,8 +1559,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1552
1559
|
vActionDefinition: int | string | ActionDefinition
|
|
1553
1560
|
): ActionDefinition | null;
|
|
1554
1561
|
/**
|
|
1555
|
-
* @
|
|
1556
|
-
* @
|
|
1562
|
+
* @since 1.85
|
|
1563
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1557
1564
|
* may be done before its official public release. Use at your own discretion.
|
|
1558
1565
|
*
|
|
1559
1566
|
* Removes all the controls from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1564,7 +1571,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1564
1571
|
*/
|
|
1565
1572
|
removeAllActionDefinitions(): ActionDefinition[];
|
|
1566
1573
|
/**
|
|
1567
|
-
* @
|
|
1574
|
+
* @experimental (since 1.79)
|
|
1568
1575
|
*
|
|
1569
1576
|
* Performs an HTTP request using the given configuration.
|
|
1570
1577
|
*
|
|
@@ -1618,8 +1625,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1618
1625
|
sKey: string
|
|
1619
1626
|
): Promise<string>;
|
|
1620
1627
|
/**
|
|
1621
|
-
* @
|
|
1622
|
-
* @
|
|
1628
|
+
* @since 1.70
|
|
1629
|
+
* @experimental (since 1.70)
|
|
1623
1630
|
*
|
|
1624
1631
|
* Sets a new value for property {@link #getBaseUrl baseUrl}.
|
|
1625
1632
|
*
|
|
@@ -1637,8 +1644,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1637
1644
|
sBaseUrl?: URI
|
|
1638
1645
|
): this;
|
|
1639
1646
|
/**
|
|
1640
|
-
* @
|
|
1641
|
-
* @
|
|
1647
|
+
* @since 1.65
|
|
1648
|
+
* @experimental (since 1.65) - API might change.
|
|
1642
1649
|
*
|
|
1643
1650
|
* Sets a new value for the `dataMode` property.
|
|
1644
1651
|
*
|
|
@@ -1651,8 +1658,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1651
1658
|
sMode: CardDataMode | keyof typeof CardDataMode
|
|
1652
1659
|
): this;
|
|
1653
1660
|
/**
|
|
1654
|
-
* @
|
|
1655
|
-
* @
|
|
1661
|
+
* @since 1.109
|
|
1662
|
+
* @experimental (since 1.109)
|
|
1656
1663
|
*
|
|
1657
1664
|
* Sets a new value for property {@link #getDesign design}.
|
|
1658
1665
|
*
|
|
@@ -1700,8 +1707,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1700
1707
|
oManifest?: any
|
|
1701
1708
|
): this;
|
|
1702
1709
|
/**
|
|
1703
|
-
* @
|
|
1704
|
-
* @
|
|
1710
|
+
* @since 1.76
|
|
1711
|
+
* @experimental (since 1.76) - This API might be removed when a permanent solution for flexibility changes
|
|
1705
1712
|
* is implemented.
|
|
1706
1713
|
*
|
|
1707
1714
|
* Sets a new value for property {@link #getManifestChanges manifestChanges}.
|
|
@@ -1754,8 +1761,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1754
1761
|
sManifestChanges: object[]
|
|
1755
1762
|
): this;
|
|
1756
1763
|
/**
|
|
1757
|
-
* @
|
|
1758
|
-
* @
|
|
1764
|
+
* @since 1.112
|
|
1765
|
+
* @experimental (since 1.112)
|
|
1759
1766
|
*
|
|
1760
1767
|
* Sets a new value for property {@link #getPreviewMode previewMode}.
|
|
1761
1768
|
*
|
|
@@ -1797,7 +1804,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1797
1804
|
sReferenceId?: string
|
|
1798
1805
|
): this;
|
|
1799
1806
|
/**
|
|
1800
|
-
* @
|
|
1807
|
+
* @experimental (since 1.114)
|
|
1801
1808
|
*
|
|
1802
1809
|
* Show blocking message in the card's content area. Should be used after the `manifestApplied` event or
|
|
1803
1810
|
* after the `cardReady` lifecycle hook in Component cards and Extensions.
|
|
@@ -1820,7 +1827,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1820
1827
|
eCardArea?: CardArea | keyof typeof CardArea
|
|
1821
1828
|
): void;
|
|
1822
1829
|
/**
|
|
1823
|
-
* @
|
|
1830
|
+
* @experimental (since 1.81)
|
|
1824
1831
|
*
|
|
1825
1832
|
* Displays a message strip above the content with the given text. There can be only 1 message displayed.
|
|
1826
1833
|
* If there is a previous message, it is removed. Can be used only after the `manifestApplied` event is
|
|
@@ -1837,7 +1844,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1837
1844
|
sType: MessageType | keyof typeof MessageType
|
|
1838
1845
|
): void;
|
|
1839
1846
|
/**
|
|
1840
|
-
* @
|
|
1847
|
+
* @experimental (since 1.84)
|
|
1841
1848
|
*
|
|
1842
1849
|
* Triggers an action inside the card.
|
|
1843
1850
|
*
|
|
@@ -1874,7 +1881,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1874
1881
|
}
|
|
1875
1882
|
): void;
|
|
1876
1883
|
/**
|
|
1877
|
-
* @
|
|
1884
|
+
* @experimental
|
|
1878
1885
|
*
|
|
1879
1886
|
* Causes all of the controls within the Card that support validation to validate their data.
|
|
1880
1887
|
*
|
|
@@ -1882,10 +1889,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1882
1889
|
*/
|
|
1883
1890
|
validateControls(): boolean;
|
|
1884
1891
|
}
|
|
1885
|
-
export default Card;
|
|
1886
|
-
|
|
1887
1892
|
/**
|
|
1888
|
-
* @
|
|
1893
|
+
* @experimental (since 1.79)
|
|
1889
1894
|
*
|
|
1890
1895
|
* Facade of the {@link sap.ui.integration.widgets.Card} control.
|
|
1891
1896
|
*/
|
|
@@ -1893,8 +1898,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1893
1898
|
__implements__sap_ui_integration_widgets_CardFacade: boolean;
|
|
1894
1899
|
|
|
1895
1900
|
/**
|
|
1896
|
-
* @
|
|
1897
|
-
* @
|
|
1901
|
+
* @since 1.85
|
|
1902
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
1898
1903
|
* may be done before its official public release. Use at your own discretion.
|
|
1899
1904
|
*
|
|
1900
1905
|
* Adds some actionDefinition to the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -1908,8 +1913,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1908
1913
|
oActionDefinition: ActionDefinition
|
|
1909
1914
|
): this;
|
|
1910
1915
|
/**
|
|
1911
|
-
* @
|
|
1912
|
-
* @
|
|
1916
|
+
* @since 1.70
|
|
1917
|
+
* @experimental (since 1.70)
|
|
1913
1918
|
*
|
|
1914
1919
|
* Gets current value of property {@link #getBaseUrl baseUrl}.
|
|
1915
1920
|
*
|
|
@@ -1920,7 +1925,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1920
1925
|
*/
|
|
1921
1926
|
getBaseUrl(): URI;
|
|
1922
1927
|
/**
|
|
1923
|
-
* @
|
|
1928
|
+
* @experimental (since 1.114)
|
|
1924
1929
|
*
|
|
1925
1930
|
* Get information about the blocking message in the card.
|
|
1926
1931
|
*
|
|
@@ -1928,7 +1933,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1928
1933
|
*/
|
|
1929
1934
|
getBlockingMessage(): BlockingMessageSettings | null;
|
|
1930
1935
|
/**
|
|
1931
|
-
* @
|
|
1936
|
+
* @experimental (since 1.77)
|
|
1932
1937
|
*
|
|
1933
1938
|
* Gets values of manifest parameters combined with the parameters from `parameters` property.
|
|
1934
1939
|
*
|
|
@@ -1942,7 +1947,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1942
1947
|
*/
|
|
1943
1948
|
getCombinedParameters(): Record<string, any>;
|
|
1944
1949
|
/**
|
|
1945
|
-
* @
|
|
1950
|
+
* @experimental (since 1.77)
|
|
1946
1951
|
*
|
|
1947
1952
|
* Returns a value from the Manifest based on the specified path.
|
|
1948
1953
|
*
|
|
@@ -1957,7 +1962,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1957
1962
|
sPath: string
|
|
1958
1963
|
): any;
|
|
1959
1964
|
/**
|
|
1960
|
-
* @
|
|
1965
|
+
* @experimental (since 1.65) - This property might be changed in future.
|
|
1961
1966
|
*
|
|
1962
1967
|
* Gets current value of property {@link #getParameters parameters}.
|
|
1963
1968
|
*
|
|
@@ -1968,7 +1973,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1968
1973
|
*/
|
|
1969
1974
|
getParameters(): object;
|
|
1970
1975
|
/**
|
|
1971
|
-
* @
|
|
1976
|
+
* @experimental (since 1.83) - The API might change.
|
|
1972
1977
|
*
|
|
1973
1978
|
* Gets translated text from the i18n properties files configured for this card.
|
|
1974
1979
|
*
|
|
@@ -1996,7 +2001,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
1996
2001
|
bIgnoreKeyFallback?: boolean
|
|
1997
2002
|
): string;
|
|
1998
2003
|
/**
|
|
1999
|
-
* @
|
|
2004
|
+
* @experimental (since 1.114)
|
|
2000
2005
|
*
|
|
2001
2006
|
* Hide the blocking message that is shown in the card by `showBlockingMessage` call.
|
|
2002
2007
|
*/
|
|
@@ -2012,8 +2017,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2012
2017
|
eCardArea?: CardArea | keyof typeof CardArea
|
|
2013
2018
|
): void;
|
|
2014
2019
|
/**
|
|
2015
|
-
* @
|
|
2016
|
-
* @
|
|
2020
|
+
* @since 1.85
|
|
2021
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
2017
2022
|
* may be done before its official public release. Use at your own discretion.
|
|
2018
2023
|
*
|
|
2019
2024
|
* Checks for the provided `sap.ui.integration.ActionDefinition` in the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -2028,8 +2033,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2028
2033
|
oActionDefinition: ActionDefinition
|
|
2029
2034
|
): int;
|
|
2030
2035
|
/**
|
|
2031
|
-
* @
|
|
2032
|
-
* @
|
|
2036
|
+
* @since 1.85
|
|
2037
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
2033
2038
|
* may be done before its official public release. Use at your own discretion.
|
|
2034
2039
|
*
|
|
2035
2040
|
* Inserts a actionDefinition into the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -2049,20 +2054,20 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2049
2054
|
iIndex: int
|
|
2050
2055
|
): this;
|
|
2051
2056
|
/**
|
|
2052
|
-
* @
|
|
2057
|
+
* @experimental (since 1.65) - The API might change.
|
|
2053
2058
|
*
|
|
2054
2059
|
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
2055
2060
|
*/
|
|
2056
2061
|
refresh(): void;
|
|
2057
2062
|
/**
|
|
2058
|
-
* @
|
|
2063
|
+
* @since 1.95
|
|
2059
2064
|
*
|
|
2060
2065
|
* Refreshes the card data by triggering all data requests.
|
|
2061
2066
|
*/
|
|
2062
2067
|
refreshData(): void;
|
|
2063
2068
|
/**
|
|
2064
|
-
* @
|
|
2065
|
-
* @
|
|
2069
|
+
* @since 1.85
|
|
2070
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
2066
2071
|
* may be done before its official public release. Use at your own discretion.
|
|
2067
2072
|
*
|
|
2068
2073
|
* Removes a actionDefinition from the aggregation {@link #getActionDefinitions actionDefinitions}.
|
|
@@ -2076,7 +2081,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2076
2081
|
vActionDefinition: int | string | ActionDefinition
|
|
2077
2082
|
): ActionDefinition | null;
|
|
2078
2083
|
/**
|
|
2079
|
-
* @
|
|
2084
|
+
* @experimental (since 1.79)
|
|
2080
2085
|
*
|
|
2081
2086
|
* Performs an HTTP request using the given configuration.
|
|
2082
2087
|
*
|
|
@@ -2130,7 +2135,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2130
2135
|
sKey: string
|
|
2131
2136
|
): Promise<string>;
|
|
2132
2137
|
/**
|
|
2133
|
-
* @
|
|
2138
|
+
* @experimental (since 1.114)
|
|
2134
2139
|
*
|
|
2135
2140
|
* Show blocking message in the card's content area. Should be used after the `manifestApplied` event or
|
|
2136
2141
|
* after the `cardReady` lifecycle hook in Component cards and Extensions.
|
|
@@ -2153,7 +2158,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2153
2158
|
eCardArea?: CardArea | keyof typeof CardArea
|
|
2154
2159
|
): void;
|
|
2155
2160
|
/**
|
|
2156
|
-
* @
|
|
2161
|
+
* @experimental (since 1.81)
|
|
2157
2162
|
*
|
|
2158
2163
|
* Displays a message strip above the content with the given text. There can be only 1 message displayed.
|
|
2159
2164
|
* If there is a previous message, it is removed. Can be used only after the `manifestApplied` event is
|
|
@@ -2170,7 +2175,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2170
2175
|
sType: MessageType | keyof typeof MessageType
|
|
2171
2176
|
): void;
|
|
2172
2177
|
/**
|
|
2173
|
-
* @
|
|
2178
|
+
* @experimental (since 1.84)
|
|
2174
2179
|
*
|
|
2175
2180
|
* Triggers an action inside the card.
|
|
2176
2181
|
*
|
|
@@ -2207,7 +2212,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2207
2212
|
}
|
|
2208
2213
|
): void;
|
|
2209
2214
|
/**
|
|
2210
|
-
* @
|
|
2215
|
+
* @experimental
|
|
2211
2216
|
*
|
|
2212
2217
|
* Causes all of the controls within the Card that support validation to validate their data.
|
|
2213
2218
|
*
|
|
@@ -2229,7 +2234,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2229
2234
|
manifest?: any | PropertyBindingInfo | `{${string}}`;
|
|
2230
2235
|
|
|
2231
2236
|
/**
|
|
2232
|
-
* @
|
|
2237
|
+
* @experimental (since 1.65) - This property might be changed in future.
|
|
2233
2238
|
*
|
|
2234
2239
|
* Overrides the default values of the parameters, which are defined in the manifest. The value is an object
|
|
2235
2240
|
* containing parameters in format `{parameterKey: parameterValue}`.
|
|
@@ -2237,8 +2242,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2237
2242
|
parameters?: object | PropertyBindingInfo | `{${string}}`;
|
|
2238
2243
|
|
|
2239
2244
|
/**
|
|
2240
|
-
* @
|
|
2241
|
-
* @
|
|
2245
|
+
* @since 1.65
|
|
2246
|
+
* @experimental (since 1.65)
|
|
2242
2247
|
*
|
|
2243
2248
|
* Defines the state of the `Card`. When set to `Inactive`, the `Card` doesn't make requests.
|
|
2244
2249
|
*/
|
|
@@ -2248,8 +2253,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2248
2253
|
| `{${string}}`;
|
|
2249
2254
|
|
|
2250
2255
|
/**
|
|
2251
|
-
* @
|
|
2252
|
-
* @
|
|
2256
|
+
* @since 1.70
|
|
2257
|
+
* @experimental (since 1.70)
|
|
2253
2258
|
*
|
|
2254
2259
|
* Defines the base URL of the Card Manifest. It should be used when manifest property is an object instead
|
|
2255
2260
|
* of a URL.
|
|
@@ -2257,8 +2262,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2257
2262
|
baseUrl?: URI | PropertyBindingInfo | `{${string}}`;
|
|
2258
2263
|
|
|
2259
2264
|
/**
|
|
2260
|
-
* @
|
|
2261
|
-
* @
|
|
2265
|
+
* @since 1.76
|
|
2266
|
+
* @experimental (since 1.76) - This API might be removed when a permanent solution for flexibility changes
|
|
2262
2267
|
* is implemented.
|
|
2263
2268
|
*
|
|
2264
2269
|
* Defines a list of configuration settings, which will be merged into the original manifest.
|
|
@@ -2300,8 +2305,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2300
2305
|
manifestChanges?: object[] | PropertyBindingInfo | `{${string}}`;
|
|
2301
2306
|
|
|
2302
2307
|
/**
|
|
2303
|
-
* @
|
|
2304
|
-
* @
|
|
2308
|
+
* @since 1.109
|
|
2309
|
+
* @experimental (since 1.109)
|
|
2305
2310
|
*
|
|
2306
2311
|
* Defines the design of the `Card`.
|
|
2307
2312
|
*/
|
|
@@ -2311,8 +2316,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2311
2316
|
| `{${string}}`;
|
|
2312
2317
|
|
|
2313
2318
|
/**
|
|
2314
|
-
* @
|
|
2315
|
-
* @
|
|
2319
|
+
* @since 1.112
|
|
2320
|
+
* @experimental (since 1.112)
|
|
2316
2321
|
*
|
|
2317
2322
|
* Preview mode of the `Card`. Helpful in scenarios when the end user is choosing or configuring a card.
|
|
2318
2323
|
*
|
|
@@ -2327,8 +2332,8 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2327
2332
|
| `{${string}}`;
|
|
2328
2333
|
|
|
2329
2334
|
/**
|
|
2330
|
-
* @
|
|
2331
|
-
* @
|
|
2335
|
+
* @since 1.85
|
|
2336
|
+
* @experimental (since 1.85) - Disclaimer: this aggregation is in a beta state - incompatible API changes
|
|
2332
2337
|
* may be done before its official public release. Use at your own discretion.
|
|
2333
2338
|
*
|
|
2334
2339
|
* Actions definitions from which actions in the header menu of the card are created. **Note**: This aggregation
|
|
@@ -2346,7 +2351,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2346
2351
|
host?: Control | string;
|
|
2347
2352
|
|
|
2348
2353
|
/**
|
|
2349
|
-
* @
|
|
2354
|
+
* @experimental (since 1.64) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
2350
2355
|
* be done before its official public release. Use at your own discretion.
|
|
2351
2356
|
*
|
|
2352
2357
|
* Fired when an action is triggered on the card.
|
|
@@ -2355,20 +2360,20 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2355
2360
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
2356
2361
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
2357
2362
|
*/
|
|
2358
|
-
action?: (oEvent: Event
|
|
2363
|
+
action?: (oEvent: Event<Card$ActionEventParameters>) => void;
|
|
2359
2364
|
|
|
2360
2365
|
/**
|
|
2361
|
-
* @
|
|
2366
|
+
* @experimental (since 1.96)
|
|
2362
2367
|
*
|
|
2363
2368
|
* Fired when some configuration settings are changed as a result of user interaction. For example - filter
|
|
2364
2369
|
* value is changed.
|
|
2365
2370
|
*/
|
|
2366
2371
|
configurationChange?: (
|
|
2367
|
-
oEvent: Event
|
|
2372
|
+
oEvent: Event<Card$ConfigurationChangeEventParameters>
|
|
2368
2373
|
) => void;
|
|
2369
2374
|
|
|
2370
2375
|
/**
|
|
2371
|
-
* @
|
|
2376
|
+
* @experimental (since 1.72)
|
|
2372
2377
|
*
|
|
2373
2378
|
* Fired when the manifest is loaded.
|
|
2374
2379
|
*/
|
|
@@ -2383,7 +2388,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2383
2388
|
manifestApplied?: (oEvent: Event) => void;
|
|
2384
2389
|
|
|
2385
2390
|
/**
|
|
2386
|
-
* @
|
|
2391
|
+
* @experimental (since 1.107)
|
|
2387
2392
|
*
|
|
2388
2393
|
* Fired when the state of the card is changed. For example - the card is ready, new page is selected, a
|
|
2389
2394
|
* filter is changed or data is refreshed.
|
|
@@ -2391,7 +2396,7 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2391
2396
|
stateChanged?: (oEvent: Event) => void;
|
|
2392
2397
|
}
|
|
2393
2398
|
|
|
2394
|
-
export interface $
|
|
2399
|
+
export interface Card$ActionEventParameters {
|
|
2395
2400
|
/**
|
|
2396
2401
|
* The action source.
|
|
2397
2402
|
*/
|
|
@@ -2413,7 +2418,15 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2413
2418
|
type?: CardActionType | keyof typeof CardActionType;
|
|
2414
2419
|
}
|
|
2415
2420
|
|
|
2416
|
-
|
|
2421
|
+
/**
|
|
2422
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Card$ActionEventParameters'
|
|
2423
|
+
* in 1.115.1 and any later releases.
|
|
2424
|
+
*/
|
|
2425
|
+
export type $CardActionEventParameters = Card$ActionEventParameters;
|
|
2426
|
+
|
|
2427
|
+
export type Card$ActionEvent = Event<Card$ActionEventParameters>;
|
|
2428
|
+
|
|
2429
|
+
export interface Card$ConfigurationChangeEventParameters {
|
|
2417
2430
|
/**
|
|
2418
2431
|
* Changed configuration settings.
|
|
2419
2432
|
*
|
|
@@ -2429,11 +2442,43 @@ declare module "sap/ui/integration/widgets/Card" {
|
|
|
2429
2442
|
changes?: object;
|
|
2430
2443
|
}
|
|
2431
2444
|
|
|
2432
|
-
|
|
2445
|
+
/**
|
|
2446
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Card$ConfigurationChangeEventParameters'
|
|
2447
|
+
* in 1.115.1 and any later releases.
|
|
2448
|
+
*/
|
|
2449
|
+
export type $CardConfigurationChangeEventParameters = Card$ConfigurationChangeEventParameters;
|
|
2433
2450
|
|
|
2434
|
-
export
|
|
2451
|
+
export type Card$ConfigurationChangeEvent = Event<Card$ConfigurationChangeEventParameters>;
|
|
2435
2452
|
|
|
2436
|
-
export interface $
|
|
2453
|
+
export interface Card$ManifestAppliedEventParameters {}
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Card$ManifestAppliedEventParameters'
|
|
2457
|
+
* in 1.115.1 and any later releases.
|
|
2458
|
+
*/
|
|
2459
|
+
export type $CardManifestAppliedEventParameters = Card$ManifestAppliedEventParameters;
|
|
2460
|
+
|
|
2461
|
+
export type Card$ManifestAppliedEvent = Event<Card$ManifestAppliedEventParameters>;
|
|
2462
|
+
|
|
2463
|
+
export interface Card$ManifestReadyEventParameters {}
|
|
2464
|
+
|
|
2465
|
+
/**
|
|
2466
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Card$ManifestReadyEventParameters'
|
|
2467
|
+
* in 1.115.1 and any later releases.
|
|
2468
|
+
*/
|
|
2469
|
+
export type $CardManifestReadyEventParameters = Card$ManifestReadyEventParameters;
|
|
2470
|
+
|
|
2471
|
+
export type Card$ManifestReadyEvent = Event<Card$ManifestReadyEventParameters>;
|
|
2472
|
+
|
|
2473
|
+
export interface Card$StateChangedEventParameters {}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Card$StateChangedEventParameters'
|
|
2477
|
+
* in 1.115.1 and any later releases.
|
|
2478
|
+
*/
|
|
2479
|
+
export type $CardStateChangedEventParameters = Card$StateChangedEventParameters;
|
|
2480
|
+
|
|
2481
|
+
export type Card$StateChangedEvent = Event<Card$StateChangedEventParameters>;
|
|
2437
2482
|
}
|
|
2438
2483
|
|
|
2439
2484
|
declare module "sap/ui/integration/Designtime" {
|
|
@@ -2447,13 +2492,13 @@ declare module "sap/ui/integration/Designtime" {
|
|
|
2447
2492
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
2448
2493
|
|
|
2449
2494
|
/**
|
|
2450
|
-
* @
|
|
2451
|
-
* @
|
|
2495
|
+
* @since 1.75
|
|
2496
|
+
* @experimental (since 1.75)
|
|
2452
2497
|
*
|
|
2453
2498
|
* Brings JavaScript capabilities for an {@link sap.ui.integration.widgets.Card} where custom logic can
|
|
2454
2499
|
* be implemented.
|
|
2455
2500
|
*/
|
|
2456
|
-
class Designtime extends ManagedObject {
|
|
2501
|
+
export default class Designtime extends ManagedObject {
|
|
2457
2502
|
/**
|
|
2458
2503
|
* Constructor for a new `Designtime`.
|
|
2459
2504
|
*
|
|
@@ -2527,15 +2572,14 @@ declare module "sap/ui/integration/Designtime" {
|
|
|
2527
2572
|
*/
|
|
2528
2573
|
getCard(): CardFacade;
|
|
2529
2574
|
}
|
|
2530
|
-
export default Designtime;
|
|
2531
2575
|
|
|
2532
2576
|
export interface $DesigntimeSettings extends $ManagedObjectSettings {}
|
|
2533
2577
|
}
|
|
2534
2578
|
|
|
2535
2579
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsBoolean" {
|
|
2536
2580
|
/**
|
|
2537
|
-
* @
|
|
2538
|
-
* @
|
|
2581
|
+
* @since 1.81
|
|
2582
|
+
* @experimental - 1.81
|
|
2539
2583
|
*
|
|
2540
2584
|
* Validates if the provided value is a boolean or binding string.
|
|
2541
2585
|
*/
|
|
@@ -2558,8 +2602,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsBoolean" {
|
|
|
2558
2602
|
|
|
2559
2603
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsDate" {
|
|
2560
2604
|
/**
|
|
2561
|
-
* @
|
|
2562
|
-
* @
|
|
2605
|
+
* @since 1.81
|
|
2606
|
+
* @experimental - 1.81
|
|
2563
2607
|
*
|
|
2564
2608
|
* Validates if the provided value can be parsed to a valid date.
|
|
2565
2609
|
*/
|
|
@@ -2582,8 +2626,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsDate" {
|
|
|
2582
2626
|
|
|
2583
2627
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsInteger" {
|
|
2584
2628
|
/**
|
|
2585
|
-
* @
|
|
2586
|
-
* @
|
|
2629
|
+
* @since 1.81
|
|
2630
|
+
* @experimental - 1.81
|
|
2587
2631
|
*
|
|
2588
2632
|
* Validates if the provided value is an integer or binding string.
|
|
2589
2633
|
*/
|
|
@@ -2606,8 +2650,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsInteger" {
|
|
|
2606
2650
|
|
|
2607
2651
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsNumber" {
|
|
2608
2652
|
/**
|
|
2609
|
-
* @
|
|
2610
|
-
* @
|
|
2653
|
+
* @since 1.81
|
|
2654
|
+
* @experimental - 1.81
|
|
2611
2655
|
*
|
|
2612
2656
|
* Validates if the provided value is a number or binding string.
|
|
2613
2657
|
*/
|
|
@@ -2630,8 +2674,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsNumber" {
|
|
|
2630
2674
|
|
|
2631
2675
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey" {
|
|
2632
2676
|
/**
|
|
2633
|
-
* @
|
|
2634
|
-
* @
|
|
2677
|
+
* @since 1.81
|
|
2678
|
+
* @experimental - 1.81
|
|
2635
2679
|
*
|
|
2636
2680
|
* Validates if the provided value is one of the given keys.
|
|
2637
2681
|
*/
|
|
@@ -2663,8 +2707,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey
|
|
|
2663
2707
|
|
|
2664
2708
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsStringList" {
|
|
2665
2709
|
/**
|
|
2666
|
-
* @
|
|
2667
|
-
* @
|
|
2710
|
+
* @since 1.81
|
|
2711
|
+
* @experimental - 1.81
|
|
2668
2712
|
*
|
|
2669
2713
|
* Validates if none of the provided values is an invalid binding.
|
|
2670
2714
|
*/
|
|
@@ -2687,8 +2731,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsStringList"
|
|
|
2687
2731
|
|
|
2688
2732
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey" {
|
|
2689
2733
|
/**
|
|
2690
|
-
* @
|
|
2691
|
-
* @
|
|
2734
|
+
* @since 1.81
|
|
2735
|
+
* @experimental - 1.81
|
|
2692
2736
|
*
|
|
2693
2737
|
* Validates if the provided key is unique in a list of given keys.
|
|
2694
2738
|
*/
|
|
@@ -2724,8 +2768,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey"
|
|
|
2724
2768
|
|
|
2725
2769
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueList" {
|
|
2726
2770
|
/**
|
|
2727
|
-
* @
|
|
2728
|
-
* @
|
|
2771
|
+
* @since 1.81
|
|
2772
|
+
* @experimental - 1.81
|
|
2729
2773
|
*
|
|
2730
2774
|
* Validates if the provided list contains no duplicates.
|
|
2731
2775
|
*/
|
|
@@ -2748,8 +2792,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsUniqueList"
|
|
|
2748
2792
|
|
|
2749
2793
|
declare module "sap/ui/integration/designtime/baseEditor/validator/IsValidBinding" {
|
|
2750
2794
|
/**
|
|
2751
|
-
* @
|
|
2752
|
-
* @
|
|
2795
|
+
* @since 1.81
|
|
2796
|
+
* @experimental - 1.81
|
|
2753
2797
|
*
|
|
2754
2798
|
* Validates if the provided value is a valid binding.
|
|
2755
2799
|
*/
|
|
@@ -2781,8 +2825,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/IsValidBindin
|
|
|
2781
2825
|
|
|
2782
2826
|
declare module "sap/ui/integration/designtime/baseEditor/validator/MaxLength" {
|
|
2783
2827
|
/**
|
|
2784
|
-
* @
|
|
2785
|
-
* @
|
|
2828
|
+
* @since 1.81
|
|
2829
|
+
* @experimental - 1.81
|
|
2786
2830
|
*
|
|
2787
2831
|
* Validates if the provided value doesn't exceed the maximum length.
|
|
2788
2832
|
*/
|
|
@@ -2805,8 +2849,8 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/MaxLength" {
|
|
|
2805
2849
|
|
|
2806
2850
|
declare module "sap/ui/integration/designtime/baseEditor/validator/NotABinding" {
|
|
2807
2851
|
/**
|
|
2808
|
-
* @
|
|
2809
|
-
* @
|
|
2852
|
+
* @since 1.81
|
|
2853
|
+
* @experimental - 1.81
|
|
2810
2854
|
*
|
|
2811
2855
|
* Validates if the provided value doesn't contain a binding.
|
|
2812
2856
|
*/
|
|
@@ -2829,7 +2873,7 @@ declare module "sap/ui/integration/designtime/baseEditor/validator/NotABinding"
|
|
|
2829
2873
|
|
|
2830
2874
|
declare module "sap/ui/integration/editor/Editor" {
|
|
2831
2875
|
/**
|
|
2832
|
-
* @
|
|
2876
|
+
* @experimental (since 1.94)
|
|
2833
2877
|
*
|
|
2834
2878
|
* Facade of the {@link sap.ui.integration.editor.Editor} control.
|
|
2835
2879
|
*/
|
|
@@ -2837,7 +2881,7 @@ declare module "sap/ui/integration/editor/Editor" {
|
|
|
2837
2881
|
__implements__sap_ui_integration_editor_EditorFacade: boolean;
|
|
2838
2882
|
|
|
2839
2883
|
/**
|
|
2840
|
-
* @
|
|
2884
|
+
* @experimental (since 1.94)
|
|
2841
2885
|
*
|
|
2842
2886
|
* Performs an HTTP request using the given configuration.
|
|
2843
2887
|
*
|
|
@@ -2893,12 +2937,12 @@ declare module "sap/ui/integration/editor/Extension" {
|
|
|
2893
2937
|
import { CardFacade } from "sap/ui/integration/widgets/Card";
|
|
2894
2938
|
|
|
2895
2939
|
/**
|
|
2896
|
-
* @
|
|
2940
|
+
* @since 1.94
|
|
2897
2941
|
*
|
|
2898
2942
|
* Brings JavaScript capabilities for an {@link sap.ui.integration.editor.Editor} where custom logic can
|
|
2899
2943
|
* be implemented.
|
|
2900
2944
|
*/
|
|
2901
|
-
class Extension extends Extension1 {
|
|
2945
|
+
export default class Extension extends Extension1 {
|
|
2902
2946
|
/**
|
|
2903
2947
|
* Constructor for a new `Extension`.
|
|
2904
2948
|
*/
|
|
@@ -2933,7 +2977,6 @@ declare module "sap/ui/integration/editor/Extension" {
|
|
|
2933
2977
|
*/
|
|
2934
2978
|
onEditorReady(): void;
|
|
2935
2979
|
}
|
|
2936
|
-
export default Extension;
|
|
2937
2980
|
|
|
2938
2981
|
export interface $ExtensionSettings extends $ExtensionSettings1 {}
|
|
2939
2982
|
}
|
|
@@ -2945,23 +2988,23 @@ declare module "sap/ui/integration/Extension" {
|
|
|
2945
2988
|
PropertyBindingInfo,
|
|
2946
2989
|
} from "sap/ui/base/ManagedObject";
|
|
2947
2990
|
|
|
2948
|
-
import Event from "sap/ui/base/Event";
|
|
2949
|
-
|
|
2950
2991
|
import { CardMenuAction, CardActionType } from "sap/ui/integration/library";
|
|
2951
2992
|
|
|
2952
2993
|
import { CardFacade } from "sap/ui/integration/widgets/Card";
|
|
2953
2994
|
|
|
2954
2995
|
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
2955
2996
|
|
|
2997
|
+
import Event from "sap/ui/base/Event";
|
|
2998
|
+
|
|
2956
2999
|
import Control from "sap/ui/core/Control";
|
|
2957
3000
|
|
|
2958
3001
|
/**
|
|
2959
|
-
* @
|
|
3002
|
+
* @since 1.75
|
|
2960
3003
|
*
|
|
2961
3004
|
* Brings JavaScript capabilities for an {@link sap.ui.integration.widgets.Card} where custom logic can
|
|
2962
3005
|
* be implemented.
|
|
2963
3006
|
*/
|
|
2964
|
-
class Extension extends ManagedObject {
|
|
3007
|
+
export default class Extension extends ManagedObject {
|
|
2965
3008
|
/**
|
|
2966
3009
|
* Constructor for a new `Extension`.
|
|
2967
3010
|
*
|
|
@@ -3023,7 +3066,7 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3023
3066
|
*/
|
|
3024
3067
|
static getMetadata(): ManagedObjectMetadata;
|
|
3025
3068
|
/**
|
|
3026
|
-
* @
|
|
3069
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3027
3070
|
* be done before its official public release. Use at your own discretion.
|
|
3028
3071
|
*
|
|
3029
3072
|
* Attaches event handler `fnFunction` to the {@link #event:action action} event of this `sap.ui.integration.Extension`.
|
|
@@ -3048,14 +3091,14 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3048
3091
|
/**
|
|
3049
3092
|
* The function to be called when the event occurs
|
|
3050
3093
|
*/
|
|
3051
|
-
fnFunction: (p1:
|
|
3094
|
+
fnFunction: (p1: Extension$ActionEvent) => void,
|
|
3052
3095
|
/**
|
|
3053
3096
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Extension` itself
|
|
3054
3097
|
*/
|
|
3055
3098
|
oListener?: object
|
|
3056
3099
|
): this;
|
|
3057
3100
|
/**
|
|
3058
|
-
* @
|
|
3101
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3059
3102
|
* be done before its official public release. Use at your own discretion.
|
|
3060
3103
|
*
|
|
3061
3104
|
* Attaches event handler `fnFunction` to the {@link #event:action action} event of this `sap.ui.integration.Extension`.
|
|
@@ -3075,14 +3118,14 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3075
3118
|
/**
|
|
3076
3119
|
* The function to be called when the event occurs
|
|
3077
3120
|
*/
|
|
3078
|
-
fnFunction: (p1:
|
|
3121
|
+
fnFunction: (p1: Extension$ActionEvent) => void,
|
|
3079
3122
|
/**
|
|
3080
3123
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Extension` itself
|
|
3081
3124
|
*/
|
|
3082
3125
|
oListener?: object
|
|
3083
3126
|
): this;
|
|
3084
3127
|
/**
|
|
3085
|
-
* @
|
|
3128
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3086
3129
|
* be done before its official public release. Use at your own discretion.
|
|
3087
3130
|
*
|
|
3088
3131
|
* Detaches event handler `fnFunction` from the {@link #event:action action} event of this `sap.ui.integration.Extension`.
|
|
@@ -3095,14 +3138,14 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3095
3138
|
/**
|
|
3096
3139
|
* The function to be called, when the event occurs
|
|
3097
3140
|
*/
|
|
3098
|
-
fnFunction: (p1:
|
|
3141
|
+
fnFunction: (p1: Extension$ActionEvent) => void,
|
|
3099
3142
|
/**
|
|
3100
3143
|
* Context object on which the given function had to be called
|
|
3101
3144
|
*/
|
|
3102
3145
|
oListener?: object
|
|
3103
3146
|
): this;
|
|
3104
3147
|
/**
|
|
3105
|
-
* @
|
|
3148
|
+
* @experimental (since 1.113) - The API might change.
|
|
3106
3149
|
*
|
|
3107
3150
|
* Starts the process of fetching a resource from the network, returning a promise that is fulfilled once
|
|
3108
3151
|
* the response is available. Use this method to override the default behavior when fetching network resources.
|
|
@@ -3126,9 +3169,9 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3126
3169
|
mRequestSettings: object
|
|
3127
3170
|
): Promise<Response>;
|
|
3128
3171
|
/**
|
|
3129
|
-
* @
|
|
3172
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3130
3173
|
* be done before its official public release. Use at your own discretion.
|
|
3131
|
-
* @
|
|
3174
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3132
3175
|
*
|
|
3133
3176
|
* Fires event {@link #event:action action} to attached listeners.
|
|
3134
3177
|
*
|
|
@@ -3141,11 +3184,11 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3141
3184
|
/**
|
|
3142
3185
|
* Parameters to pass along with the event
|
|
3143
3186
|
*/
|
|
3144
|
-
mParameters?: $
|
|
3187
|
+
mParameters?: Extension$ActionEventParameters
|
|
3145
3188
|
): boolean;
|
|
3146
3189
|
/**
|
|
3147
3190
|
* @deprecated (since 1.85) - This property is replaced by the `actions` aggregation of the card;
|
|
3148
|
-
* @
|
|
3191
|
+
* @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3149
3192
|
* may be done before its official public release. Use at your own discretion.
|
|
3150
3193
|
*
|
|
3151
3194
|
* Gets current value of property {@link #getActions actions}.
|
|
@@ -3170,7 +3213,7 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3170
3213
|
*/
|
|
3171
3214
|
getFormatters(): Record<string, () => void> | undefined;
|
|
3172
3215
|
/**
|
|
3173
|
-
* @
|
|
3216
|
+
* @experimental (since 1.108)
|
|
3174
3217
|
*
|
|
3175
3218
|
* Override this method to lazy load dependencies for the extension.
|
|
3176
3219
|
*
|
|
@@ -3197,12 +3240,11 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3197
3240
|
aFormatters?: Record<string, Function>
|
|
3198
3241
|
): this;
|
|
3199
3242
|
}
|
|
3200
|
-
export default Extension;
|
|
3201
3243
|
|
|
3202
3244
|
export interface $ExtensionSettings extends $ManagedObjectSettings {
|
|
3203
3245
|
/**
|
|
3204
3246
|
* @deprecated (since 1.85) - This property is replaced by the `actions` aggregation of the card;
|
|
3205
|
-
* @
|
|
3247
|
+
* @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3206
3248
|
* may be done before its official public release. Use at your own discretion.
|
|
3207
3249
|
*
|
|
3208
3250
|
* The actions configuration.
|
|
@@ -3210,14 +3252,14 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3210
3252
|
actions?: CardMenuAction[] | PropertyBindingInfo | `{${string}}`;
|
|
3211
3253
|
|
|
3212
3254
|
/**
|
|
3213
|
-
* @
|
|
3255
|
+
* @experimental (since 1.79)
|
|
3214
3256
|
*
|
|
3215
3257
|
* The formatters that can be used in the manifest.
|
|
3216
3258
|
*/
|
|
3217
3259
|
formatters?: object | PropertyBindingInfo | `{${string}}`;
|
|
3218
3260
|
|
|
3219
3261
|
/**
|
|
3220
|
-
* @
|
|
3262
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3221
3263
|
* be done before its official public release. Use at your own discretion.
|
|
3222
3264
|
*
|
|
3223
3265
|
* Fired when an action is triggered in the card.
|
|
@@ -3226,10 +3268,10 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3226
3268
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3227
3269
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3228
3270
|
*/
|
|
3229
|
-
action?: (oEvent: Event
|
|
3271
|
+
action?: (oEvent: Event<Extension$ActionEventParameters>) => void;
|
|
3230
3272
|
}
|
|
3231
3273
|
|
|
3232
|
-
export interface $
|
|
3274
|
+
export interface Extension$ActionEventParameters {
|
|
3233
3275
|
/**
|
|
3234
3276
|
* The card the action is fired from.
|
|
3235
3277
|
*/
|
|
@@ -3255,13 +3297,19 @@ declare module "sap/ui/integration/Extension" {
|
|
|
3255
3297
|
*/
|
|
3256
3298
|
type?: CardActionType | keyof typeof CardActionType;
|
|
3257
3299
|
}
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Extension$ActionEventParameters'
|
|
3303
|
+
* in 1.115.1 and any later releases.
|
|
3304
|
+
*/
|
|
3305
|
+
export type $ExtensionActionEventParameters = Extension$ActionEventParameters;
|
|
3306
|
+
|
|
3307
|
+
export type Extension$ActionEvent = Event<Extension$ActionEventParameters>;
|
|
3258
3308
|
}
|
|
3259
3309
|
|
|
3260
3310
|
declare module "sap/ui/integration/Host" {
|
|
3261
3311
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
3262
3312
|
|
|
3263
|
-
import Event from "sap/ui/base/Event";
|
|
3264
|
-
|
|
3265
3313
|
import { CardMenuAction, CardActionType } from "sap/ui/integration/library";
|
|
3266
3314
|
|
|
3267
3315
|
import Card from "sap/ui/integration/widgets/Card";
|
|
@@ -3270,17 +3318,19 @@ declare module "sap/ui/integration/Host" {
|
|
|
3270
3318
|
|
|
3271
3319
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
3272
3320
|
|
|
3321
|
+
import Event from "sap/ui/base/Event";
|
|
3322
|
+
|
|
3273
3323
|
import Control from "sap/ui/core/Control";
|
|
3274
3324
|
|
|
3275
3325
|
/**
|
|
3276
|
-
* @
|
|
3277
|
-
* @
|
|
3326
|
+
* @since 1.75
|
|
3327
|
+
* @experimental (since 1.75)
|
|
3278
3328
|
*
|
|
3279
3329
|
* Provides application-level functions and services to an integration card.
|
|
3280
3330
|
*
|
|
3281
3331
|
* Examples may include, but are not limited to options like: share a card, remove a card.
|
|
3282
3332
|
*/
|
|
3283
|
-
class Host extends UI5Element {
|
|
3333
|
+
export default class Host extends UI5Element {
|
|
3284
3334
|
/**
|
|
3285
3335
|
* Constructor for a new `Host`.
|
|
3286
3336
|
*
|
|
@@ -3342,7 +3392,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3342
3392
|
*/
|
|
3343
3393
|
static getMetadata(): ElementMetadata;
|
|
3344
3394
|
/**
|
|
3345
|
-
* @
|
|
3395
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3346
3396
|
* be done before its official public release. Use at your own discretion.
|
|
3347
3397
|
*
|
|
3348
3398
|
* Attaches event handler `fnFunction` to the {@link #event:action action} event of this `sap.ui.integration.Host`.
|
|
@@ -3367,14 +3417,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3367
3417
|
/**
|
|
3368
3418
|
* The function to be called when the event occurs
|
|
3369
3419
|
*/
|
|
3370
|
-
fnFunction: (p1:
|
|
3420
|
+
fnFunction: (p1: Host$ActionEvent) => void,
|
|
3371
3421
|
/**
|
|
3372
3422
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3373
3423
|
*/
|
|
3374
3424
|
oListener?: object
|
|
3375
3425
|
): this;
|
|
3376
3426
|
/**
|
|
3377
|
-
* @
|
|
3427
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3378
3428
|
* be done before its official public release. Use at your own discretion.
|
|
3379
3429
|
*
|
|
3380
3430
|
* Attaches event handler `fnFunction` to the {@link #event:action action} event of this `sap.ui.integration.Host`.
|
|
@@ -3394,14 +3444,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3394
3444
|
/**
|
|
3395
3445
|
* The function to be called when the event occurs
|
|
3396
3446
|
*/
|
|
3397
|
-
fnFunction: (p1:
|
|
3447
|
+
fnFunction: (p1: Host$ActionEvent) => void,
|
|
3398
3448
|
/**
|
|
3399
3449
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3400
3450
|
*/
|
|
3401
3451
|
oListener?: object
|
|
3402
3452
|
): this;
|
|
3403
3453
|
/**
|
|
3404
|
-
* @
|
|
3454
|
+
* @experimental (since 1.96)
|
|
3405
3455
|
*
|
|
3406
3456
|
* Attaches event handler `fnFunction` to the {@link #event:cardConfigurationChange cardConfigurationChange }
|
|
3407
3457
|
* event of this `sap.ui.integration.Host`.
|
|
@@ -3423,16 +3473,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3423
3473
|
/**
|
|
3424
3474
|
* The function to be called when the event occurs
|
|
3425
3475
|
*/
|
|
3426
|
-
fnFunction: (
|
|
3427
|
-
p1: Event<$HostCardConfigurationChangeEventParameters>
|
|
3428
|
-
) => void,
|
|
3476
|
+
fnFunction: (p1: Host$CardConfigurationChangeEvent) => void,
|
|
3429
3477
|
/**
|
|
3430
3478
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3431
3479
|
*/
|
|
3432
3480
|
oListener?: object
|
|
3433
3481
|
): this;
|
|
3434
3482
|
/**
|
|
3435
|
-
* @
|
|
3483
|
+
* @experimental (since 1.96)
|
|
3436
3484
|
*
|
|
3437
3485
|
* Attaches event handler `fnFunction` to the {@link #event:cardConfigurationChange cardConfigurationChange }
|
|
3438
3486
|
* event of this `sap.ui.integration.Host`.
|
|
@@ -3449,16 +3497,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3449
3497
|
/**
|
|
3450
3498
|
* The function to be called when the event occurs
|
|
3451
3499
|
*/
|
|
3452
|
-
fnFunction: (
|
|
3453
|
-
p1: Event<$HostCardConfigurationChangeEventParameters>
|
|
3454
|
-
) => void,
|
|
3500
|
+
fnFunction: (p1: Host$CardConfigurationChangeEvent) => void,
|
|
3455
3501
|
/**
|
|
3456
3502
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3457
3503
|
*/
|
|
3458
3504
|
oListener?: object
|
|
3459
3505
|
): this;
|
|
3460
3506
|
/**
|
|
3461
|
-
* @
|
|
3507
|
+
* @experimental (since 1.107)
|
|
3462
3508
|
*
|
|
3463
3509
|
* Attaches event handler `fnFunction` to the {@link #event:cardStateChanged cardStateChanged} event of
|
|
3464
3510
|
* this `sap.ui.integration.Host`.
|
|
@@ -3480,14 +3526,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3480
3526
|
/**
|
|
3481
3527
|
* The function to be called when the event occurs
|
|
3482
3528
|
*/
|
|
3483
|
-
fnFunction: (p1:
|
|
3529
|
+
fnFunction: (p1: Host$CardStateChangedEvent) => void,
|
|
3484
3530
|
/**
|
|
3485
3531
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3486
3532
|
*/
|
|
3487
3533
|
oListener?: object
|
|
3488
3534
|
): this;
|
|
3489
3535
|
/**
|
|
3490
|
-
* @
|
|
3536
|
+
* @experimental (since 1.107)
|
|
3491
3537
|
*
|
|
3492
3538
|
* Attaches event handler `fnFunction` to the {@link #event:cardStateChanged cardStateChanged} event of
|
|
3493
3539
|
* this `sap.ui.integration.Host`.
|
|
@@ -3504,14 +3550,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3504
3550
|
/**
|
|
3505
3551
|
* The function to be called when the event occurs
|
|
3506
3552
|
*/
|
|
3507
|
-
fnFunction: (p1:
|
|
3553
|
+
fnFunction: (p1: Host$CardStateChangedEvent) => void,
|
|
3508
3554
|
/**
|
|
3509
3555
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3510
3556
|
*/
|
|
3511
3557
|
oListener?: object
|
|
3512
3558
|
): this;
|
|
3513
3559
|
/**
|
|
3514
|
-
* @
|
|
3560
|
+
* @experimental (since 1.91)
|
|
3515
3561
|
*
|
|
3516
3562
|
* Attaches event handler `fnFunction` to the {@link #event:message message} event of this `sap.ui.integration.Host`.
|
|
3517
3563
|
*
|
|
@@ -3531,14 +3577,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3531
3577
|
/**
|
|
3532
3578
|
* The function to be called when the event occurs
|
|
3533
3579
|
*/
|
|
3534
|
-
fnFunction: (p1:
|
|
3580
|
+
fnFunction: (p1: Host$MessageEvent) => void,
|
|
3535
3581
|
/**
|
|
3536
3582
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3537
3583
|
*/
|
|
3538
3584
|
oListener?: object
|
|
3539
3585
|
): this;
|
|
3540
3586
|
/**
|
|
3541
|
-
* @
|
|
3587
|
+
* @experimental (since 1.91)
|
|
3542
3588
|
*
|
|
3543
3589
|
* Attaches event handler `fnFunction` to the {@link #event:message message} event of this `sap.ui.integration.Host`.
|
|
3544
3590
|
*
|
|
@@ -3553,14 +3599,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3553
3599
|
/**
|
|
3554
3600
|
* The function to be called when the event occurs
|
|
3555
3601
|
*/
|
|
3556
|
-
fnFunction: (p1:
|
|
3602
|
+
fnFunction: (p1: Host$MessageEvent) => void,
|
|
3557
3603
|
/**
|
|
3558
3604
|
* Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
|
|
3559
3605
|
*/
|
|
3560
3606
|
oListener?: object
|
|
3561
3607
|
): this;
|
|
3562
3608
|
/**
|
|
3563
|
-
* @
|
|
3609
|
+
* @experimental (since 1.97)
|
|
3564
3610
|
*
|
|
3565
3611
|
* This function is called when a CSRF token has expired.
|
|
3566
3612
|
*/
|
|
@@ -3573,7 +3619,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3573
3619
|
}
|
|
3574
3620
|
): void;
|
|
3575
3621
|
/**
|
|
3576
|
-
* @
|
|
3622
|
+
* @experimental (since 1.97)
|
|
3577
3623
|
*
|
|
3578
3624
|
* This function is called when a CSRF token is fetched.
|
|
3579
3625
|
*/
|
|
@@ -3590,7 +3636,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3590
3636
|
pCSRFTokenValuePromise: Promise<string>
|
|
3591
3637
|
): void;
|
|
3592
3638
|
/**
|
|
3593
|
-
* @
|
|
3639
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3594
3640
|
* be done before its official public release. Use at your own discretion.
|
|
3595
3641
|
*
|
|
3596
3642
|
* Detaches event handler `fnFunction` from the {@link #event:action action} event of this `sap.ui.integration.Host`.
|
|
@@ -3603,14 +3649,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3603
3649
|
/**
|
|
3604
3650
|
* The function to be called, when the event occurs
|
|
3605
3651
|
*/
|
|
3606
|
-
fnFunction: (p1:
|
|
3652
|
+
fnFunction: (p1: Host$ActionEvent) => void,
|
|
3607
3653
|
/**
|
|
3608
3654
|
* Context object on which the given function had to be called
|
|
3609
3655
|
*/
|
|
3610
3656
|
oListener?: object
|
|
3611
3657
|
): this;
|
|
3612
3658
|
/**
|
|
3613
|
-
* @
|
|
3659
|
+
* @experimental (since 1.96)
|
|
3614
3660
|
*
|
|
3615
3661
|
* Detaches event handler `fnFunction` from the {@link #event:cardConfigurationChange cardConfigurationChange }
|
|
3616
3662
|
* event of this `sap.ui.integration.Host`.
|
|
@@ -3623,16 +3669,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3623
3669
|
/**
|
|
3624
3670
|
* The function to be called, when the event occurs
|
|
3625
3671
|
*/
|
|
3626
|
-
fnFunction: (
|
|
3627
|
-
p1: Event<$HostCardConfigurationChangeEventParameters>
|
|
3628
|
-
) => void,
|
|
3672
|
+
fnFunction: (p1: Host$CardConfigurationChangeEvent) => void,
|
|
3629
3673
|
/**
|
|
3630
3674
|
* Context object on which the given function had to be called
|
|
3631
3675
|
*/
|
|
3632
3676
|
oListener?: object
|
|
3633
3677
|
): this;
|
|
3634
3678
|
/**
|
|
3635
|
-
* @
|
|
3679
|
+
* @experimental (since 1.107)
|
|
3636
3680
|
*
|
|
3637
3681
|
* Detaches event handler `fnFunction` from the {@link #event:cardStateChanged cardStateChanged} event of
|
|
3638
3682
|
* this `sap.ui.integration.Host`.
|
|
@@ -3645,14 +3689,14 @@ declare module "sap/ui/integration/Host" {
|
|
|
3645
3689
|
/**
|
|
3646
3690
|
* The function to be called, when the event occurs
|
|
3647
3691
|
*/
|
|
3648
|
-
fnFunction: (p1:
|
|
3692
|
+
fnFunction: (p1: Host$CardStateChangedEvent) => void,
|
|
3649
3693
|
/**
|
|
3650
3694
|
* Context object on which the given function had to be called
|
|
3651
3695
|
*/
|
|
3652
3696
|
oListener?: object
|
|
3653
3697
|
): this;
|
|
3654
3698
|
/**
|
|
3655
|
-
* @
|
|
3699
|
+
* @experimental (since 1.91)
|
|
3656
3700
|
*
|
|
3657
3701
|
* Detaches event handler `fnFunction` from the {@link #event:message message} event of this `sap.ui.integration.Host`.
|
|
3658
3702
|
*
|
|
@@ -3664,16 +3708,16 @@ declare module "sap/ui/integration/Host" {
|
|
|
3664
3708
|
/**
|
|
3665
3709
|
* The function to be called, when the event occurs
|
|
3666
3710
|
*/
|
|
3667
|
-
fnFunction: (p1:
|
|
3711
|
+
fnFunction: (p1: Host$MessageEvent) => void,
|
|
3668
3712
|
/**
|
|
3669
3713
|
* Context object on which the given function had to be called
|
|
3670
3714
|
*/
|
|
3671
3715
|
oListener?: object
|
|
3672
3716
|
): this;
|
|
3673
3717
|
/**
|
|
3674
|
-
* @
|
|
3718
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3675
3719
|
* be done before its official public release. Use at your own discretion.
|
|
3676
|
-
* @
|
|
3720
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3677
3721
|
*
|
|
3678
3722
|
* Fires event {@link #event:action action} to attached listeners.
|
|
3679
3723
|
*
|
|
@@ -3686,11 +3730,11 @@ declare module "sap/ui/integration/Host" {
|
|
|
3686
3730
|
/**
|
|
3687
3731
|
* Parameters to pass along with the event
|
|
3688
3732
|
*/
|
|
3689
|
-
mParameters?: $
|
|
3733
|
+
mParameters?: Host$ActionEventParameters
|
|
3690
3734
|
): boolean;
|
|
3691
3735
|
/**
|
|
3692
|
-
* @
|
|
3693
|
-
* @
|
|
3736
|
+
* @experimental (since 1.96)
|
|
3737
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3694
3738
|
*
|
|
3695
3739
|
* Fires event {@link #event:cardConfigurationChange cardConfigurationChange} to attached listeners.
|
|
3696
3740
|
*
|
|
@@ -3700,11 +3744,11 @@ declare module "sap/ui/integration/Host" {
|
|
|
3700
3744
|
/**
|
|
3701
3745
|
* Parameters to pass along with the event
|
|
3702
3746
|
*/
|
|
3703
|
-
mParameters?: $
|
|
3747
|
+
mParameters?: Host$CardConfigurationChangeEventParameters
|
|
3704
3748
|
): this;
|
|
3705
3749
|
/**
|
|
3706
|
-
* @
|
|
3707
|
-
* @
|
|
3750
|
+
* @experimental (since 1.107)
|
|
3751
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3708
3752
|
*
|
|
3709
3753
|
* Fires event {@link #event:cardStateChanged cardStateChanged} to attached listeners.
|
|
3710
3754
|
*
|
|
@@ -3714,11 +3758,11 @@ declare module "sap/ui/integration/Host" {
|
|
|
3714
3758
|
/**
|
|
3715
3759
|
* Parameters to pass along with the event
|
|
3716
3760
|
*/
|
|
3717
|
-
mParameters?: $
|
|
3761
|
+
mParameters?: Host$CardStateChangedEventParameters
|
|
3718
3762
|
): this;
|
|
3719
3763
|
/**
|
|
3720
|
-
* @
|
|
3721
|
-
* @
|
|
3764
|
+
* @experimental (since 1.91)
|
|
3765
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3722
3766
|
*
|
|
3723
3767
|
* Fires event {@link #event:message message} to attached listeners.
|
|
3724
3768
|
*
|
|
@@ -3728,10 +3772,10 @@ declare module "sap/ui/integration/Host" {
|
|
|
3728
3772
|
/**
|
|
3729
3773
|
* Parameters to pass along with the event
|
|
3730
3774
|
*/
|
|
3731
|
-
mParameters?: $
|
|
3775
|
+
mParameters?: Host$MessageEventParameters
|
|
3732
3776
|
): this;
|
|
3733
3777
|
/**
|
|
3734
|
-
* @
|
|
3778
|
+
* @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3735
3779
|
* may be done before its official public release. Use at your own discretion.
|
|
3736
3780
|
*
|
|
3737
3781
|
* Gets current value of property {@link #getActions actions}.
|
|
@@ -3742,7 +3786,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3742
3786
|
*/
|
|
3743
3787
|
getActions(): CardMenuAction[];
|
|
3744
3788
|
/**
|
|
3745
|
-
* @
|
|
3789
|
+
* @since 1.83
|
|
3746
3790
|
*
|
|
3747
3791
|
* Returns the context object for the Card Editor design-time environment Contexts can be used to configure
|
|
3748
3792
|
* Cards with information available in the host environment. Each entry in the list should contain design-time
|
|
@@ -3759,7 +3803,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3759
3803
|
*/
|
|
3760
3804
|
getContexts(): Promise<object>;
|
|
3761
3805
|
/**
|
|
3762
|
-
* @
|
|
3806
|
+
* @since 1.83
|
|
3763
3807
|
*
|
|
3764
3808
|
* Resolves the value for a given path in the context of the host Contexts can be used to configure Cards
|
|
3765
3809
|
* with information available in the host environment.
|
|
@@ -3780,7 +3824,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3780
3824
|
sPath: string
|
|
3781
3825
|
): Promise<null>;
|
|
3782
3826
|
/**
|
|
3783
|
-
* @
|
|
3827
|
+
* @experimental (since 1.97)
|
|
3784
3828
|
*
|
|
3785
3829
|
* Resolves the CSRF token and returns a Promise with its value.
|
|
3786
3830
|
*
|
|
@@ -3810,7 +3854,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3810
3854
|
oCard: Card
|
|
3811
3855
|
): Promise<string>;
|
|
3812
3856
|
/**
|
|
3813
|
-
* @
|
|
3857
|
+
* @since 1.83
|
|
3814
3858
|
*
|
|
3815
3859
|
* Returns the list of destinations for the Card Editor design-time environment List entries are objects
|
|
3816
3860
|
* that contain at least the name. { "name": "DestinationName" }
|
|
@@ -3837,7 +3881,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3837
3881
|
| ((p1: string, p2: Card) => string | Promise<string>)
|
|
3838
3882
|
| undefined;
|
|
3839
3883
|
/**
|
|
3840
|
-
* @
|
|
3884
|
+
* @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3841
3885
|
* may be done before its official public release. Use at your own discretion.
|
|
3842
3886
|
*
|
|
3843
3887
|
* Sets a new value for property {@link #getActions actions}.
|
|
@@ -3874,11 +3918,10 @@ declare module "sap/ui/integration/Host" {
|
|
|
3874
3918
|
fnResolveDestination?: (p1: string, p2: Card) => string | Promise<string>
|
|
3875
3919
|
): this;
|
|
3876
3920
|
}
|
|
3877
|
-
export default Host;
|
|
3878
3921
|
|
|
3879
3922
|
export interface $HostSettings extends $ElementSettings {
|
|
3880
3923
|
/**
|
|
3881
|
-
* @
|
|
3924
|
+
* @experimental (since 1.75) - Disclaimer: this property is in a beta state - incompatible API changes
|
|
3882
3925
|
* may be done before its official public release. Use at your own discretion.
|
|
3883
3926
|
*
|
|
3884
3927
|
* The actions configuration.
|
|
@@ -3899,7 +3942,7 @@ declare module "sap/ui/integration/Host" {
|
|
|
3899
3942
|
resolveDestination?: Function | PropertyBindingInfo | `{${string}}`;
|
|
3900
3943
|
|
|
3901
3944
|
/**
|
|
3902
|
-
* @
|
|
3945
|
+
* @experimental (since 1.75) - Disclaimer: this event is in a beta state - incompatible API changes may
|
|
3903
3946
|
* be done before its official public release. Use at your own discretion.
|
|
3904
3947
|
*
|
|
3905
3948
|
* Fired when an action is triggered.
|
|
@@ -3908,37 +3951,37 @@ declare module "sap/ui/integration/Host" {
|
|
|
3908
3951
|
* In consecutive order those places are: `Extension`, `Card`, `Host`. Each of them can prevent the next
|
|
3909
3952
|
* one to handle the action by calling `oEvent.preventDefault()`.
|
|
3910
3953
|
*/
|
|
3911
|
-
action?: (oEvent: Event
|
|
3954
|
+
action?: (oEvent: Event<Host$ActionEventParameters>) => void;
|
|
3912
3955
|
|
|
3913
3956
|
/**
|
|
3914
|
-
* @
|
|
3957
|
+
* @experimental (since 1.96)
|
|
3915
3958
|
*
|
|
3916
3959
|
* Fired when some card configuration settings are changed as a result of user interaction. For example
|
|
3917
3960
|
* - filter value is changed.
|
|
3918
3961
|
*/
|
|
3919
3962
|
cardConfigurationChange?: (
|
|
3920
|
-
oEvent: Event
|
|
3963
|
+
oEvent: Event<Host$CardConfigurationChangeEventParameters>
|
|
3921
3964
|
) => void;
|
|
3922
3965
|
|
|
3923
3966
|
/**
|
|
3924
|
-
* @
|
|
3967
|
+
* @experimental (since 1.107)
|
|
3925
3968
|
*
|
|
3926
3969
|
* Fired when the state of a card is changed. For example - the card is ready, new page is selected inside
|
|
3927
3970
|
* the card, a filter is changed or data is refreshed.
|
|
3928
3971
|
*/
|
|
3929
3972
|
cardStateChanged?: (
|
|
3930
|
-
oEvent: Event
|
|
3973
|
+
oEvent: Event<Host$CardStateChangedEventParameters>
|
|
3931
3974
|
) => void;
|
|
3932
3975
|
|
|
3933
3976
|
/**
|
|
3934
|
-
* @
|
|
3977
|
+
* @experimental (since 1.91)
|
|
3935
3978
|
*
|
|
3936
3979
|
* Fired when a message from channels like navigator.serviceWorker is received.
|
|
3937
3980
|
*/
|
|
3938
|
-
message?: (oEvent: Event
|
|
3981
|
+
message?: (oEvent: Event<Host$MessageEventParameters>) => void;
|
|
3939
3982
|
}
|
|
3940
3983
|
|
|
3941
|
-
export interface $
|
|
3984
|
+
export interface Host$ActionEventParameters {
|
|
3942
3985
|
/**
|
|
3943
3986
|
* The card the action is fired from.
|
|
3944
3987
|
*/
|
|
@@ -3965,7 +4008,15 @@ declare module "sap/ui/integration/Host" {
|
|
|
3965
4008
|
type?: CardActionType | keyof typeof CardActionType;
|
|
3966
4009
|
}
|
|
3967
4010
|
|
|
3968
|
-
|
|
4011
|
+
/**
|
|
4012
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Host$ActionEventParameters'
|
|
4013
|
+
* in 1.115.1 and any later releases.
|
|
4014
|
+
*/
|
|
4015
|
+
export type $HostActionEventParameters = Host$ActionEventParameters;
|
|
4016
|
+
|
|
4017
|
+
export type Host$ActionEvent = Event<Host$ActionEventParameters>;
|
|
4018
|
+
|
|
4019
|
+
export interface Host$CardConfigurationChangeEventParameters {
|
|
3969
4020
|
/**
|
|
3970
4021
|
* The card the changes are fired from.
|
|
3971
4022
|
*/
|
|
@@ -3986,22 +4037,46 @@ declare module "sap/ui/integration/Host" {
|
|
|
3986
4037
|
changes?: object;
|
|
3987
4038
|
}
|
|
3988
4039
|
|
|
3989
|
-
|
|
4040
|
+
/**
|
|
4041
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Host$CardConfigurationChangeEventParameters'
|
|
4042
|
+
* in 1.115.1 and any later releases.
|
|
4043
|
+
*/
|
|
4044
|
+
export type $HostCardConfigurationChangeEventParameters = Host$CardConfigurationChangeEventParameters;
|
|
4045
|
+
|
|
4046
|
+
export type Host$CardConfigurationChangeEvent = Event<Host$CardConfigurationChangeEventParameters>;
|
|
4047
|
+
|
|
4048
|
+
export interface Host$CardStateChangedEventParameters {
|
|
3990
4049
|
/**
|
|
3991
4050
|
* The card the changes are fired from.
|
|
3992
4051
|
*/
|
|
3993
4052
|
card?: Control;
|
|
3994
4053
|
}
|
|
3995
4054
|
|
|
3996
|
-
|
|
4055
|
+
/**
|
|
4056
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Host$CardStateChangedEventParameters'
|
|
4057
|
+
* in 1.115.1 and any later releases.
|
|
4058
|
+
*/
|
|
4059
|
+
export type $HostCardStateChangedEventParameters = Host$CardStateChangedEventParameters;
|
|
4060
|
+
|
|
4061
|
+
export type Host$CardStateChangedEvent = Event<Host$CardStateChangedEventParameters>;
|
|
4062
|
+
|
|
4063
|
+
export interface Host$MessageEventParameters {
|
|
3997
4064
|
data?: object;
|
|
3998
4065
|
}
|
|
4066
|
+
|
|
4067
|
+
/**
|
|
4068
|
+
* @deprecated (since 1.115.1) - This name was introduced in 1.115.0, but will be 'Host$MessageEventParameters'
|
|
4069
|
+
* in 1.115.1 and any later releases.
|
|
4070
|
+
*/
|
|
4071
|
+
export type $HostMessageEventParameters = Host$MessageEventParameters;
|
|
4072
|
+
|
|
4073
|
+
export type Host$MessageEvent = Event<Host$MessageEventParameters>;
|
|
3999
4074
|
}
|
|
4000
4075
|
|
|
4001
4076
|
declare namespace sap {
|
|
4002
4077
|
namespace ui {
|
|
4003
4078
|
/**
|
|
4004
|
-
* @
|
|
4079
|
+
* @since 1.62
|
|
4005
4080
|
*
|
|
4006
4081
|
* SAPUI5 library with controls specialized for SAP Fiori apps.
|
|
4007
4082
|
*/
|
|
@@ -4011,8 +4086,8 @@ declare namespace sap {
|
|
|
4011
4086
|
namespace propertyEditor {
|
|
4012
4087
|
namespace iconEditor {
|
|
4013
4088
|
/**
|
|
4014
|
-
* @
|
|
4015
|
-
* @
|
|
4089
|
+
* @since 1.81
|
|
4090
|
+
* @experimental - 1.81
|
|
4016
4091
|
*
|
|
4017
4092
|
* Validates if the provided value belongs to the icon pool.
|
|
4018
4093
|
*/
|