@openui5/ts-types 1.106.0 → 1.107.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.
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1318,6 +1318,8 @@ declare namespace sap {
1318
1318
 
1319
1319
  "sap/ui/fl/write/api/connectors/ObjectStorageConnector": undefined;
1320
1320
 
1321
+ "sap/ui/fl/write/api/ContextBasedAdaptationsAPI": undefined;
1322
+
1321
1323
  "sap/ui/fl/write/api/ContextSharingAPI": undefined;
1322
1324
 
1323
1325
  "sap/ui/fl/write/api/ControlPersonalizationWriteAPI": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -851,6 +851,14 @@ declare namespace sap {
851
851
  * Note: The card's content may not be available yet because it may depend on other resources to load.
852
852
  */
853
853
  manifestApplied?: (oEvent: sap.ui.base.Event) => void;
854
+
855
+ /**
856
+ * @EXPERIMENTAL (since 1.107)
857
+ *
858
+ * Fired when the state of the card is changed. For example - the card is ready, new page is selected, a
859
+ * filter is changed or data is refreshed.
860
+ */
861
+ stateChanged?: (oEvent: sap.ui.base.Event) => void;
854
862
  }
855
863
 
856
864
  /**
@@ -1178,6 +1186,57 @@ declare namespace sap {
1178
1186
  */
1179
1187
  oListener?: object
1180
1188
  ): this;
1189
+ /**
1190
+ * @EXPERIMENTAL (since 1.107)
1191
+ *
1192
+ * Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.integration.widgets.Card`.
1193
+ *
1194
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1195
+ * otherwise it will be bound to this `sap.ui.integration.widgets.Card` itself.
1196
+ *
1197
+ * Fired when the state of the card is changed. For example - the card is ready, new page is selected, a
1198
+ * filter is changed or data is refreshed.
1199
+ *
1200
+ * @returns Reference to `this` in order to allow method chaining
1201
+ */
1202
+ attachStateChanged(
1203
+ /**
1204
+ * An application-specific payload object that will be passed to the event handler along with the event
1205
+ * object when firing the event
1206
+ */
1207
+ oData: object,
1208
+ /**
1209
+ * The function to be called when the event occurs
1210
+ */
1211
+ fnFunction: (p1: sap.ui.base.Event) => void,
1212
+ /**
1213
+ * Context object to call the event handler with. Defaults to this `sap.ui.integration.widgets.Card` itself
1214
+ */
1215
+ oListener?: object
1216
+ ): this;
1217
+ /**
1218
+ * @EXPERIMENTAL (since 1.107)
1219
+ *
1220
+ * Attaches event handler `fnFunction` to the {@link #event:stateChanged stateChanged} event of this `sap.ui.integration.widgets.Card`.
1221
+ *
1222
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
1223
+ * otherwise it will be bound to this `sap.ui.integration.widgets.Card` itself.
1224
+ *
1225
+ * Fired when the state of the card is changed. For example - the card is ready, new page is selected, a
1226
+ * filter is changed or data is refreshed.
1227
+ *
1228
+ * @returns Reference to `this` in order to allow method chaining
1229
+ */
1230
+ attachStateChanged(
1231
+ /**
1232
+ * The function to be called when the event occurs
1233
+ */
1234
+ fnFunction: (p1: sap.ui.base.Event) => void,
1235
+ /**
1236
+ * Context object to call the event handler with. Defaults to this `sap.ui.integration.widgets.Card` itself
1237
+ */
1238
+ oListener?: object
1239
+ ): this;
1181
1240
  /**
1182
1241
  * @SINCE 1.85
1183
1242
  * @EXPERIMENTAL (since 1.85)
@@ -1264,6 +1323,25 @@ declare namespace sap {
1264
1323
  */
1265
1324
  oListener?: object
1266
1325
  ): this;
1326
+ /**
1327
+ * @EXPERIMENTAL (since 1.107)
1328
+ *
1329
+ * Detaches event handler `fnFunction` from the {@link #event:stateChanged stateChanged} event of this `sap.ui.integration.widgets.Card`.
1330
+ *
1331
+ * The passed function and listener object must match the ones used for event registration.
1332
+ *
1333
+ * @returns Reference to `this` in order to allow method chaining
1334
+ */
1335
+ detachStateChanged(
1336
+ /**
1337
+ * The function to be called, when the event occurs
1338
+ */
1339
+ fnFunction: (p1: sap.ui.base.Event) => void,
1340
+ /**
1341
+ * Context object on which the given function had to be called
1342
+ */
1343
+ oListener?: object
1344
+ ): this;
1267
1345
  /**
1268
1346
  * @EXPERIMENTAL (since 1.64)
1269
1347
  *
@@ -1348,6 +1426,19 @@ declare namespace sap {
1348
1426
  */
1349
1427
  mParameters?: object
1350
1428
  ): this;
1429
+ /**
1430
+ * @EXPERIMENTAL (since 1.107)
1431
+ *
1432
+ * Fires event {@link #event:stateChanged stateChanged} to attached listeners.
1433
+ *
1434
+ * @returns Reference to `this` in order to allow method chaining
1435
+ */
1436
+ fireStateChanged(
1437
+ /**
1438
+ * Parameters to pass along with the event
1439
+ */
1440
+ mParameters?: object
1441
+ ): this;
1351
1442
  /**
1352
1443
  * @SINCE 1.85
1353
1444
  * @EXPERIMENTAL (since 1.85)
@@ -1370,24 +1461,6 @@ declare namespace sap {
1370
1461
  * @returns Value of property `baseUrl`
1371
1462
  */
1372
1463
  getBaseUrl(): sap.ui.core.URI;
1373
- /**
1374
- * Implements sap.f.ICard interface.
1375
- *
1376
- * @returns The content of the card
1377
- */
1378
- getCardContent(): sap.ui.core.Control;
1379
- /**
1380
- * Implements sap.f.ICard interface.
1381
- *
1382
- * @returns The header of the card
1383
- */
1384
- getCardHeader(): sap.f.cards.IHeader;
1385
- /**
1386
- * Implements sap.f.ICard interface.
1387
- *
1388
- * @returns The position of the header of the card.
1389
- */
1390
- getCardHeaderPosition(): sap.f.cards.HeaderPosition;
1391
1464
  /**
1392
1465
  * @EXPERIMENTAL (since 1.77)
1393
1466
  *
@@ -2045,6 +2118,14 @@ declare namespace sap {
2045
2118
  */
2046
2119
  cardConfigurationChange?: (oEvent: sap.ui.base.Event) => void;
2047
2120
 
2121
+ /**
2122
+ * @EXPERIMENTAL (since 1.107)
2123
+ *
2124
+ * Fired when the state of a card is changed. For example - the card is ready, new page is selected inside
2125
+ * the card, a filter is changed or data is refreshed.
2126
+ */
2127
+ cardStateChanged?: (oEvent: sap.ui.base.Event) => void;
2128
+
2048
2129
  /**
2049
2130
  * @EXPERIMENTAL (since 1.91)
2050
2131
  *
@@ -2832,6 +2913,59 @@ declare namespace sap {
2832
2913
  */
2833
2914
  oListener?: object
2834
2915
  ): this;
2916
+ /**
2917
+ * @EXPERIMENTAL (since 1.107)
2918
+ *
2919
+ * Attaches event handler `fnFunction` to the {@link #event:cardStateChanged cardStateChanged} event of
2920
+ * this `sap.ui.integration.Host`.
2921
+ *
2922
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
2923
+ * otherwise it will be bound to this `sap.ui.integration.Host` itself.
2924
+ *
2925
+ * Fired when the state of a card is changed. For example - the card is ready, new page is selected inside
2926
+ * the card, a filter is changed or data is refreshed.
2927
+ *
2928
+ * @returns Reference to `this` in order to allow method chaining
2929
+ */
2930
+ attachCardStateChanged(
2931
+ /**
2932
+ * An application-specific payload object that will be passed to the event handler along with the event
2933
+ * object when firing the event
2934
+ */
2935
+ oData: object,
2936
+ /**
2937
+ * The function to be called when the event occurs
2938
+ */
2939
+ fnFunction: (p1: sap.ui.base.Event) => void,
2940
+ /**
2941
+ * Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
2942
+ */
2943
+ oListener?: object
2944
+ ): this;
2945
+ /**
2946
+ * @EXPERIMENTAL (since 1.107)
2947
+ *
2948
+ * Attaches event handler `fnFunction` to the {@link #event:cardStateChanged cardStateChanged} event of
2949
+ * this `sap.ui.integration.Host`.
2950
+ *
2951
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
2952
+ * otherwise it will be bound to this `sap.ui.integration.Host` itself.
2953
+ *
2954
+ * Fired when the state of a card is changed. For example - the card is ready, new page is selected inside
2955
+ * the card, a filter is changed or data is refreshed.
2956
+ *
2957
+ * @returns Reference to `this` in order to allow method chaining
2958
+ */
2959
+ attachCardStateChanged(
2960
+ /**
2961
+ * The function to be called when the event occurs
2962
+ */
2963
+ fnFunction: (p1: sap.ui.base.Event) => void,
2964
+ /**
2965
+ * Context object to call the event handler with. Defaults to this `sap.ui.integration.Host` itself
2966
+ */
2967
+ oListener?: object
2968
+ ): this;
2835
2969
  /**
2836
2970
  * @EXPERIMENTAL (since 1.91)
2837
2971
  *
@@ -2946,6 +3080,26 @@ declare namespace sap {
2946
3080
  */
2947
3081
  oListener?: object
2948
3082
  ): this;
3083
+ /**
3084
+ * @EXPERIMENTAL (since 1.107)
3085
+ *
3086
+ * Detaches event handler `fnFunction` from the {@link #event:cardStateChanged cardStateChanged} event of
3087
+ * this `sap.ui.integration.Host`.
3088
+ *
3089
+ * The passed function and listener object must match the ones used for event registration.
3090
+ *
3091
+ * @returns Reference to `this` in order to allow method chaining
3092
+ */
3093
+ detachCardStateChanged(
3094
+ /**
3095
+ * The function to be called, when the event occurs
3096
+ */
3097
+ fnFunction: (p1: sap.ui.base.Event) => void,
3098
+ /**
3099
+ * Context object on which the given function had to be called
3100
+ */
3101
+ oListener?: object
3102
+ ): this;
2949
3103
  /**
2950
3104
  * @EXPERIMENTAL (since 1.91)
2951
3105
  *
@@ -3033,6 +3187,24 @@ declare namespace sap {
3033
3187
  changes?: object;
3034
3188
  }
3035
3189
  ): this;
3190
+ /**
3191
+ * @EXPERIMENTAL (since 1.107)
3192
+ *
3193
+ * Fires event {@link #event:cardStateChanged cardStateChanged} to attached listeners.
3194
+ *
3195
+ * @returns Reference to `this` in order to allow method chaining
3196
+ */
3197
+ fireCardStateChanged(
3198
+ /**
3199
+ * Parameters to pass along with the event
3200
+ */
3201
+ mParameters?: {
3202
+ /**
3203
+ * The card the changes are fired from.
3204
+ */
3205
+ card?: sap.ui.core.Control;
3206
+ }
3207
+ ): this;
3036
3208
  /**
3037
3209
  * @EXPERIMENTAL (since 1.91)
3038
3210
  *
@@ -3388,6 +3560,8 @@ declare namespace sap {
3388
3560
 
3389
3561
  "sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor": undefined;
3390
3562
 
3563
+ "sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor": undefined;
3564
+
3391
3565
  "sap/ui/integration/designtime/baseEditor/PropertyEditors": undefined;
3392
3566
 
3393
3567
  "sap/ui/integration/designtime/baseEditor/util/unset": undefined;
@@ -3446,6 +3620,8 @@ declare namespace sap {
3446
3620
 
3447
3621
  "sap/ui/integration/editor/fields/fragment/Controller": undefined;
3448
3622
 
3623
+ "sap/ui/integration/editor/fields/GroupField": undefined;
3624
+
3449
3625
  "sap/ui/integration/editor/fields/IntegerField": undefined;
3450
3626
 
3451
3627
  "sap/ui/integration/editor/fields/NumberField": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -54,6 +54,8 @@ declare namespace sap {
54
54
 
55
55
  "sap/ui/mdc/enum/PersistenceMode": undefined;
56
56
 
57
+ "sap/ui/mdc/enum/ProcessingStrategy": undefined;
58
+
57
59
  "sap/ui/mdc/enum/PropagationReason": undefined;
58
60
 
59
61
  "sap/ui/mdc/enum/SelectType": undefined;
@@ -172,6 +174,8 @@ declare namespace sap {
172
174
 
173
175
  "sap/ui/mdc/p13n/modules/DefaultProviderRegistry": undefined;
174
176
 
177
+ "sap/ui/mdc/p13n/panels/FilterPanel": undefined;
178
+
175
179
  "sap/ui/mdc/p13n/StateUtil": undefined;
176
180
 
177
181
  "sap/ui/mdc/p13n/subcontroller/BaseController": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -644,7 +644,7 @@ declare namespace sap {
644
644
  * If the column is grouped, this formatter is used to format the value in the group header
645
645
  */
646
646
  groupHeaderFormatter?:
647
- | any
647
+ | Function
648
648
  | sap.ui.base.ManagedObject.PropertyBindingInfo
649
649
  | `{${string}}`;
650
650
  }
@@ -1876,7 +1876,7 @@ declare namespace sap {
1876
1876
  *
1877
1877
  * Setting collapseRecursive to true means, that when collapsing a node all subsequent child nodes will
1878
1878
  * also be collapsed. This property is only supported with sap.ui.model.odata.v2.ODataModel. **Note:** collapseRecursive
1879
- * is currently **not** supported if your OData service exposes the hierarchy annotation `hierarchy-descendant-count-for`.
1879
+ * is currently **not** supported if your OData service exposes the hierarchy annotation `hierarchy-node-descendant-count-for`.
1880
1880
  * In this case the value of the collapseRecursive property is ignored. For more information about the OData
1881
1881
  * hierarchy annotations, please see the **SAP Annotations for OData Version 2.0** specification.
1882
1882
  *
@@ -2000,7 +2000,7 @@ declare namespace sap {
2000
2000
  *
2001
2001
  * @returns Value of property `groupHeaderFormatter`
2002
2002
  */
2003
- getGroupHeaderFormatter(): any;
2003
+ getGroupHeaderFormatter(): Function;
2004
2004
  /**
2005
2005
  * Gets current value of property {@link #getInResult inResult}.
2006
2006
  *
@@ -2055,7 +2055,7 @@ declare namespace sap {
2055
2055
  /**
2056
2056
  * New value for property `groupHeaderFormatter`
2057
2057
  */
2058
- oGroupHeaderFormatter?: any
2058
+ fnGroupHeaderFormatter?: Function
2059
2059
  ): this;
2060
2060
  /**
2061
2061
  * Sets a new value for property {@link #getInResult inResult}.
@@ -8615,7 +8615,7 @@ declare namespace sap {
8615
8615
  *
8616
8616
  * Setting collapseRecursive to true means, that when collapsing a node all subsequent child nodes will
8617
8617
  * also be collapsed. This property is only supported with sap.ui.model.odata.v2.ODataModel. **Note:** collapseRecursive
8618
- * is currently **not** supported if your OData service exposes the hierarchy annotation `hierarchy-descendant-count-for`.
8618
+ * is currently **not** supported if your OData service exposes the hierarchy annotation `hierarchy-node-descendant-count-for`.
8619
8619
  * In this case the value of the collapseRecursive property is ignored. For more information about the OData
8620
8620
  * hierarchy annotations, please see the **SAP Annotations for OData Version 2.0** specification.
8621
8621
  *
@@ -8777,7 +8777,7 @@ declare namespace sap {
8777
8777
  *
8778
8778
  * Setting collapseRecursive to true means, that when collapsing a node all subsequent child nodes will
8779
8779
  * also be collapsed. This property is only supported with sap.ui.model.odata.v2.ODataModel. **Note:** collapseRecursive
8780
- * is currently **not** supported if your OData service exposes the hierarchy annotation `hierarchy-descendant-count-for`.
8780
+ * is currently **not** supported if your OData service exposes the hierarchy annotation `hierarchy-node-descendant-count-for`.
8781
8781
  * In this case the value of the collapseRecursive property is ignored. For more information about the OData
8782
8782
  * hierarchy annotations, please see the **SAP Annotations for OData Version 2.0** specification.
8783
8783
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.106.0
1
+ // For Library Version: 1.107.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1047,6 +1047,14 @@ declare namespace sap {
1047
1047
  | sap.ui.base.ManagedObject.PropertyBindingInfo
1048
1048
  | `{${string}}`;
1049
1049
 
1050
+ /**
1051
+ * Determines whether the Section title wraps on multiple lines, when the available space is not enough.
1052
+ */
1053
+ wrapTitle?:
1054
+ | boolean
1055
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
1056
+ | `{${string}}`;
1057
+
1050
1058
  /**
1051
1059
  * The list of Subsections.
1052
1060
  */
@@ -6565,6 +6573,16 @@ declare namespace sap {
6565
6573
  * @returns Value of property `titleUppercase`
6566
6574
  */
6567
6575
  getTitleUppercase(): boolean;
6576
+ /**
6577
+ * Gets current value of property {@link #getWrapTitle wrapTitle}.
6578
+ *
6579
+ * Determines whether the Section title wraps on multiple lines, when the available space is not enough.
6580
+ *
6581
+ * Default value is `false`.
6582
+ *
6583
+ * @returns Value of property `wrapTitle`
6584
+ */
6585
+ getWrapTitle(): boolean;
6568
6586
  /**
6569
6587
  * Checks for the provided `sap.uxap.ObjectPageSubSection` in the aggregation {@link #getSubSections subSections}.
6570
6588
  * and returns its index if found or -1 otherwise.
@@ -6672,6 +6690,23 @@ declare namespace sap {
6672
6690
  */
6673
6691
  bTitleUppercase?: boolean
6674
6692
  ): this;
6693
+ /**
6694
+ * Sets a new value for property {@link #getWrapTitle wrapTitle}.
6695
+ *
6696
+ * Determines whether the Section title wraps on multiple lines, when the available space is not enough.
6697
+ *
6698
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
6699
+ *
6700
+ * Default value is `false`.
6701
+ *
6702
+ * @returns Reference to `this` in order to allow method chaining
6703
+ */
6704
+ setWrapTitle(
6705
+ /**
6706
+ * New value for property `wrapTitle`
6707
+ */
6708
+ bWrapTitle?: boolean
6709
+ ): this;
6675
6710
  }
6676
6711
  /**
6677
6712
  * @SINCE 1.26