@openui5/ts-types 1.100.0 → 1.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.100.0",
3
+ "version": "1.101.0",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.100.0
1
+ // For Library Version: 1.101.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -46,11 +46,25 @@ declare namespace sap {
46
46
  */
47
47
  title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
48
48
 
49
+ /**
50
+ * @EXPERIMENTAL (since 1.101)
51
+ *
52
+ * Limits the number of lines for the title.
53
+ */
54
+ titleMaxLines?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
55
+
49
56
  /**
50
57
  * Defines the subtitle.
51
58
  */
52
59
  subtitle?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
53
60
 
61
+ /**
62
+ * @EXPERIMENTAL (since 1.101)
63
+ *
64
+ * Limits the number of lines for the subtitle.
65
+ */
66
+ subtitleMaxLines?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
67
+
54
68
  /**
55
69
  * Defines the status text.
56
70
  */
@@ -103,11 +117,25 @@ declare namespace sap {
103
117
  */
104
118
  title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
105
119
 
120
+ /**
121
+ * @EXPERIMENTAL (since 1.101)
122
+ *
123
+ * Limits the number of lines for the title.
124
+ */
125
+ titleMaxLines?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
126
+
106
127
  /**
107
128
  * The subtitle of the card
108
129
  */
109
130
  subtitle?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
110
131
 
132
+ /**
133
+ * @EXPERIMENTAL (since 1.101)
134
+ *
135
+ * Limits the number of lines for the subtitle.
136
+ */
137
+ subtitleMaxLines?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
138
+
111
139
  /**
112
140
  * Defines the status text.
113
141
  */
@@ -154,6 +182,13 @@ declare namespace sap {
154
182
  */
155
183
  details?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
156
184
 
185
+ /**
186
+ * @EXPERIMENTAL (since 1.101)
187
+ *
188
+ * Limits the number of lines for the details.
189
+ */
190
+ detailsMaxLines?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
191
+
157
192
  /**
158
193
  * The alignment of the side indicators.
159
194
  */
@@ -505,6 +540,16 @@ declare namespace sap {
505
540
  * Default value is `empty string`.
506
541
  */
507
542
  getSubtitle(): string;
543
+ /**
544
+ * @EXPERIMENTAL (since 1.101)
545
+ *
546
+ * Gets current value of property {@link #getSubtitleMaxLines subtitleMaxLines}.
547
+ *
548
+ * Limits the number of lines for the subtitle.
549
+ *
550
+ * Default value is `2`.
551
+ */
552
+ getSubtitleMaxLines(): int;
508
553
  /**
509
554
  * Gets current value of property {@link #getTitle title}.
510
555
  *
@@ -513,6 +558,16 @@ declare namespace sap {
513
558
  * Default value is `empty string`.
514
559
  */
515
560
  getTitle(): string;
561
+ /**
562
+ * @EXPERIMENTAL (since 1.101)
563
+ *
564
+ * Gets current value of property {@link #getTitleMaxLines titleMaxLines}.
565
+ *
566
+ * Limits the number of lines for the title.
567
+ *
568
+ * Default value is `3`.
569
+ */
570
+ getTitleMaxLines(): int;
516
571
  /**
517
572
  * @EXPERIMENTAL (since 1.81)
518
573
  *
@@ -622,6 +677,23 @@ declare namespace sap {
622
677
  */
623
678
  sSubtitle?: string
624
679
  ): this;
680
+ /**
681
+ * @EXPERIMENTAL (since 1.101)
682
+ *
683
+ * Sets a new value for property {@link #getSubtitleMaxLines subtitleMaxLines}.
684
+ *
685
+ * Limits the number of lines for the subtitle.
686
+ *
687
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
688
+ *
689
+ * Default value is `2`.
690
+ */
691
+ setSubtitleMaxLines(
692
+ /**
693
+ * New value for property `subtitleMaxLines`
694
+ */
695
+ iSubtitleMaxLines?: int
696
+ ): this;
625
697
  /**
626
698
  * Sets a new value for property {@link #getTitle title}.
627
699
  *
@@ -637,6 +709,23 @@ declare namespace sap {
637
709
  */
638
710
  sTitle?: string
639
711
  ): this;
712
+ /**
713
+ * @EXPERIMENTAL (since 1.101)
714
+ *
715
+ * Sets a new value for property {@link #getTitleMaxLines titleMaxLines}.
716
+ *
717
+ * Limits the number of lines for the title.
718
+ *
719
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
720
+ *
721
+ * Default value is `3`.
722
+ */
723
+ setTitleMaxLines(
724
+ /**
725
+ * New value for property `titleMaxLines`
726
+ */
727
+ iTitleMaxLines?: int
728
+ ): this;
640
729
  }
641
730
  /**
642
731
  * @SINCE 1.64
@@ -796,6 +885,16 @@ declare namespace sap {
796
885
  * Additional text which adds more details to what is shown in the numeric header.
797
886
  */
798
887
  getDetails(): string;
888
+ /**
889
+ * @EXPERIMENTAL (since 1.101)
890
+ *
891
+ * Gets current value of property {@link #getDetailsMaxLines detailsMaxLines}.
892
+ *
893
+ * Limits the number of lines for the details.
894
+ *
895
+ * Default value is `1`.
896
+ */
897
+ getDetailsMaxLines(): int;
799
898
  /**
800
899
  * Gets current value of property {@link #getNumber number}.
801
900
  *
@@ -850,12 +949,32 @@ declare namespace sap {
850
949
  * The subtitle of the card
851
950
  */
852
951
  getSubtitle(): string;
952
+ /**
953
+ * @EXPERIMENTAL (since 1.101)
954
+ *
955
+ * Gets current value of property {@link #getSubtitleMaxLines subtitleMaxLines}.
956
+ *
957
+ * Limits the number of lines for the subtitle.
958
+ *
959
+ * Default value is `2`.
960
+ */
961
+ getSubtitleMaxLines(): int;
853
962
  /**
854
963
  * Gets current value of property {@link #getTitle title}.
855
964
  *
856
965
  * The title of the card
857
966
  */
858
967
  getTitle(): string;
968
+ /**
969
+ * @EXPERIMENTAL (since 1.101)
970
+ *
971
+ * Gets current value of property {@link #getTitleMaxLines titleMaxLines}.
972
+ *
973
+ * Limits the number of lines for the title.
974
+ *
975
+ * Default value is `3`.
976
+ */
977
+ getTitleMaxLines(): int;
859
978
  /**
860
979
  * Gets current value of property {@link #getTrend trend}.
861
980
  *
@@ -911,31 +1030,63 @@ declare namespace sap {
911
1030
  vSideIndicator: int | string | sap.f.cards.NumericSideIndicator
912
1031
  ): sap.f.cards.NumericSideIndicator;
913
1032
  /**
914
- * Sets additional text which adds more details to what is shown in the numeric header.
1033
+ * Sets a new value for property {@link #getDetails details}.
1034
+ *
1035
+ * Additional text which adds more details to what is shown in the numeric header.
1036
+ *
1037
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
915
1038
  */
916
1039
  setDetails(
917
1040
  /**
918
- * The text of the details
1041
+ * New value for property `details`
919
1042
  */
920
- sValue: string
1043
+ sDetails: string
1044
+ ): this;
1045
+ /**
1046
+ * @EXPERIMENTAL (since 1.101)
1047
+ *
1048
+ * Sets a new value for property {@link #getDetailsMaxLines detailsMaxLines}.
1049
+ *
1050
+ * Limits the number of lines for the details.
1051
+ *
1052
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1053
+ *
1054
+ * Default value is `1`.
1055
+ */
1056
+ setDetailsMaxLines(
1057
+ /**
1058
+ * New value for property `detailsMaxLines`
1059
+ */
1060
+ iDetailsMaxLines?: int
921
1061
  ): this;
922
1062
  /**
923
- * Sets the value of the main number indicator.
1063
+ * Sets a new value for property {@link #getNumber number}.
1064
+ *
1065
+ * The numeric value of the main number indicator. If the value contains more than five characters, only
1066
+ * the first five are displayed. Without rounding the number.
1067
+ *
1068
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
924
1069
  */
925
1070
  setNumber(
926
1071
  /**
927
- * A string representation of the number
1072
+ * New value for property `number`
928
1073
  */
929
- sValue: string
1074
+ sNumber: string
930
1075
  ): this;
931
1076
  /**
932
- * Sets the unit of measurement (scaling prefix) for the main indicator.
1077
+ * Sets a new value for property {@link #getScale scale}.
1078
+ *
1079
+ * Defines the unit of measurement (scaling prefix) for the main indicator. Financial characters can be
1080
+ * used for currencies and counters. The International System of Units (SI) prefixes can be used. If the
1081
+ * unit contains more than three characters, only the first three characters are displayed.
1082
+ *
1083
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
933
1084
  */
934
1085
  setScale(
935
1086
  /**
936
- * The text of the title
1087
+ * New value for property `scale`
937
1088
  */
938
- sValue: string
1089
+ sScale: string
939
1090
  ): this;
940
1091
  /**
941
1092
  * Sets a new value for property {@link #getSideIndicatorsAlignment sideIndicatorsAlignment}.
@@ -953,13 +1104,21 @@ declare namespace sap {
953
1104
  sSideIndicatorsAlignment?: sap.f.cards.NumericHeaderSideIndicatorsAlignment
954
1105
  ): this;
955
1106
  /**
956
- * Sets the semantic color which represents the state of the main number indicator.
1107
+ * @EXPERIMENTAL (since 1.64)
1108
+ *
1109
+ * Sets a new value for property {@link #getState state}.
1110
+ *
1111
+ * The semantic color which represents the state of the main number indicator.
1112
+ *
1113
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1114
+ *
1115
+ * Default value is `"Neutral"`.
957
1116
  */
958
1117
  setState(
959
1118
  /**
960
- * The semantic color which represents the state
1119
+ * New value for property `state`
961
1120
  */
962
- sValue: sap.m.ValueColor
1121
+ sState?: sap.m.ValueColor
963
1122
  ): this;
964
1123
  /**
965
1124
  * Sets a new value for property {@link #getStatusText statusText}.
@@ -977,40 +1136,92 @@ declare namespace sap {
977
1136
  sStatusText?: string
978
1137
  ): this;
979
1138
  /**
980
- * Sets the subtitle.
1139
+ * Sets a new value for property {@link #getSubtitle subtitle}.
1140
+ *
1141
+ * The subtitle of the card
1142
+ *
1143
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
981
1144
  */
982
1145
  setSubtitle(
983
1146
  /**
984
- * The text of the subtitle
1147
+ * New value for property `subtitle`
985
1148
  */
986
- sValue: string
1149
+ sSubtitle: string
987
1150
  ): this;
988
1151
  /**
989
- * Sets the title.
1152
+ * @EXPERIMENTAL (since 1.101)
1153
+ *
1154
+ * Sets a new value for property {@link #getSubtitleMaxLines subtitleMaxLines}.
1155
+ *
1156
+ * Limits the number of lines for the subtitle.
1157
+ *
1158
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1159
+ *
1160
+ * Default value is `2`.
1161
+ */
1162
+ setSubtitleMaxLines(
1163
+ /**
1164
+ * New value for property `subtitleMaxLines`
1165
+ */
1166
+ iSubtitleMaxLines?: int
1167
+ ): this;
1168
+ /**
1169
+ * Sets a new value for property {@link #getTitle title}.
1170
+ *
1171
+ * The title of the card
1172
+ *
1173
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
990
1174
  */
991
1175
  setTitle(
992
1176
  /**
993
- * The text of the title
1177
+ * New value for property `title`
994
1178
  */
995
- sValue: string
1179
+ sTitle: string
1180
+ ): this;
1181
+ /**
1182
+ * @EXPERIMENTAL (since 1.101)
1183
+ *
1184
+ * Sets a new value for property {@link #getTitleMaxLines titleMaxLines}.
1185
+ *
1186
+ * Limits the number of lines for the title.
1187
+ *
1188
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1189
+ *
1190
+ * Default value is `3`.
1191
+ */
1192
+ setTitleMaxLines(
1193
+ /**
1194
+ * New value for property `titleMaxLines`
1195
+ */
1196
+ iTitleMaxLines?: int
996
1197
  ): this;
997
1198
  /**
998
- * Sets the direction of the trend arrow.
1199
+ * Sets a new value for property {@link #getTrend trend}.
1200
+ *
1201
+ * The direction of the trend arrow. Shows deviation for the value of the main number indicator.
1202
+ *
1203
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1204
+ *
1205
+ * Default value is `"None"`.
999
1206
  */
1000
1207
  setTrend(
1001
1208
  /**
1002
- * The direction of the trend arrow
1209
+ * New value for property `trend`
1003
1210
  */
1004
- sValue: sap.m.DeviationIndicator
1211
+ sTrend?: sap.m.DeviationIndicator
1005
1212
  ): this;
1006
1213
  /**
1007
- * Sets the general unit of measurement for the header. Displayed as side information to the subtitle.
1214
+ * Sets a new value for property {@link #getUnitOfMeasurement unitOfMeasurement}.
1215
+ *
1216
+ * General unit of measurement for the header. Displayed as side information to the subtitle.
1217
+ *
1218
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1008
1219
  */
1009
1220
  setUnitOfMeasurement(
1010
1221
  /**
1011
- * The value of the unit of measurement
1222
+ * New value for property `unitOfMeasurement`
1012
1223
  */
1013
- sValue: string
1224
+ sUnitOfMeasurement: string
1014
1225
  ): this;
1015
1226
  }
1016
1227
  /**