@openui5/ts-types 1.120.33 → 1.120.35

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.120.33",
3
+ "version": "1.120.35",
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.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -34841,6 +34841,12 @@ declare namespace sap {
34841
34841
  * configuration of the Mozilla Firefox browser may not allow checking the loaded content. This may also
34842
34842
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
34843
34843
  * when this event is fired, call the preventDefault() method inside the event handler.
34844
+ *
34845
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
34846
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
34847
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
34848
+ *
34849
+ * @deprecated (since 1.120.36) - with no replacement.
34844
34850
  */
34845
34851
  sourceValidationFailed?: (oEvent: sap.ui.base.Event) => void;
34846
34852
  }
@@ -44353,6 +44359,8 @@ declare namespace sap {
44353
44359
 
44354
44360
  /**
44355
44361
  * Parameters of the PDFViewer#sourceValidationFailed event.
44362
+ *
44363
+ * @deprecated (since 1.120.36) - with no replacement.
44356
44364
  */
44357
44365
  interface PDFViewer$SourceValidationFailedEventParameters {}
44358
44366
 
@@ -108875,6 +108883,11 @@ declare namespace sap {
108875
108883
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
108876
108884
  * when this event is fired, call the preventDefault() method inside the event handler.
108877
108885
  *
108886
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
108887
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
108888
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
108889
+ *
108890
+ * @deprecated (since 1.120.36) - with no replacement.
108878
108891
  *
108879
108892
  * @returns Reference to `this` in order to allow method chaining
108880
108893
  */
@@ -108905,6 +108918,11 @@ declare namespace sap {
108905
108918
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
108906
108919
  * when this event is fired, call the preventDefault() method inside the event handler.
108907
108920
  *
108921
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
108922
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
108923
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
108924
+ *
108925
+ * @deprecated (since 1.120.36) - with no replacement.
108908
108926
  *
108909
108927
  * @returns Reference to `this` in order to allow method chaining
108910
108928
  */
@@ -108974,6 +108992,7 @@ declare namespace sap {
108974
108992
  *
108975
108993
  * The passed function and listener object must match the ones used for event registration.
108976
108994
  *
108995
+ * @deprecated (since 1.120.36) - with no replacement.
108977
108996
  *
108978
108997
  * @returns Reference to `this` in order to allow method chaining
108979
108998
  */
@@ -109020,6 +109039,7 @@ declare namespace sap {
109020
109039
  /**
109021
109040
  * Fires event {@link #event:sourceValidationFailed sourceValidationFailed} to attached listeners.
109022
109041
  *
109042
+ * @deprecated (since 1.120.36) - with no replacement.
109023
109043
  * @ui5-protected Do not call from applications (only from related classes in the framework)
109024
109044
  *
109025
109045
  * @returns Reference to `this` in order to allow method chaining
@@ -160837,6 +160857,8 @@ declare namespace sap {
160837
160857
 
160838
160858
  /**
160839
160859
  * Event object of the PDFViewer#sourceValidationFailed event.
160860
+ *
160861
+ * @deprecated (since 1.120.36) - with no replacement.
160840
160862
  */
160841
160863
  type PDFViewer$SourceValidationFailedEvent = sap.ui.base.Event<
160842
160864
  PDFViewer$SourceValidationFailedEventParameters,
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -280,7 +280,7 @@ declare namespace sap {
280
280
  }
281
281
  }
282
282
 
283
- // For Library Version: 1.120.33
283
+ // For Library Version: 1.120.35
284
284
 
285
285
  declare module "sap/base/assert" {
286
286
  /**
@@ -17828,12 +17828,12 @@ declare namespace sap {
17828
17828
  */
17829
17829
  preserveDecimals?: boolean;
17830
17830
  /**
17831
- * specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
17832
- * maxFractionDigits. Rounding will only be applied if the passed value is of type `number`. This can be
17833
- * assigned
17831
+ * Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
17832
+ * `maxFractionDigits`. This can be assigned
17834
17833
  * - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
17835
17834
  * - via a function that is used for rounding the number and takes two parameters: the number itself,
17836
- * and the number of decimal digits that should be reserved.
17835
+ * and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.120**;
17836
+ * string based numbers are not rounded via this custom function.
17837
17837
  */
17838
17838
  roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
17839
17839
  /**
@@ -18005,12 +18005,12 @@ declare namespace sap {
18005
18005
  */
18006
18006
  preserveDecimals?: boolean;
18007
18007
  /**
18008
- * specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18009
- * maxFractionDigits. Rounding will only be applied if the passed value is of type `number`. This can be
18010
- * assigned
18008
+ * Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18009
+ * `maxFractionDigits`. This can be assigned
18011
18010
  * - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
18012
18011
  * - via a function that is used for rounding the number and takes two parameters: the number itself,
18013
- * and the number of decimal digits that should be reserved.
18012
+ * and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.120**;
18013
+ * string based numbers are not rounded via this custom function.
18014
18014
  */
18015
18015
  roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
18016
18016
  /**
@@ -18164,12 +18164,12 @@ declare namespace sap {
18164
18164
  */
18165
18165
  preserveDecimals?: boolean;
18166
18166
  /**
18167
- * specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18168
- * maxFractionDigits. Rounding will only be applied if the passed value is of type `number`. This can be
18169
- * assigned
18167
+ * Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18168
+ * `maxFractionDigits`. This can be assigned
18170
18169
  * - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
18171
18170
  * - via a function that is used for rounding the number and takes two parameters: the number itself,
18172
- * and the number of decimal digits that should be reserved.
18171
+ * and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.120**;
18172
+ * string based numbers are not rounded via this custom function.
18173
18173
  */
18174
18174
  roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
18175
18175
  /**
@@ -18321,12 +18321,12 @@ declare namespace sap {
18321
18321
  */
18322
18322
  preserveDecimals?: boolean;
18323
18323
  /**
18324
- * specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18325
- * maxFractionDigits. Rounding will only be applied if the passed value is of type `number`. This can be
18326
- * assigned
18324
+ * Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18325
+ * `maxFractionDigits`. This can be assigned
18327
18326
  * - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
18328
18327
  * - via a function that is used for rounding the number and takes two parameters: the number itself,
18329
- * and the number of decimal digits that should be reserved.
18328
+ * and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.120**;
18329
+ * string based numbers are not rounded via this custom function.
18330
18330
  */
18331
18331
  roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
18332
18332
  /**
@@ -18477,12 +18477,12 @@ declare namespace sap {
18477
18477
  */
18478
18478
  preserveDecimals?: boolean;
18479
18479
  /**
18480
- * specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18481
- * maxFractionDigits. Rounding will only be applied if the passed value is of type `number`. This can be
18482
- * assigned
18480
+ * Specifies the rounding behavior for discarding the digits after the maximum fraction digits defined by
18481
+ * `maxFractionDigits`. This can be assigned
18483
18482
  * - by value in {@link sap.ui.core.format.NumberFormat.RoundingMode RoundingMode},
18484
18483
  * - via a function that is used for rounding the number and takes two parameters: the number itself,
18485
- * and the number of decimal digits that should be reserved.
18484
+ * and the number of decimal digits that should be reserved. **Using a function is deprecated since 1.120**;
18485
+ * string based numbers are not rounded via this custom function.
18486
18486
  */
18487
18487
  roundingMode?: sap.ui.core.format.NumberFormat.RoundingMode;
18488
18488
  /**
@@ -53231,6 +53231,43 @@ declare namespace sap {
53231
53231
  */
53232
53232
  mParameters?: object
53233
53233
  );
53234
+
53235
+ /**
53236
+ * Creates a new subclass of class sap.ui.model.json.JSONPropertyBinding with name `sClassName` and enriches
53237
+ * it with the information contained in `oClassInfo`.
53238
+ *
53239
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.model.ClientPropertyBinding.extend}.
53240
+ *
53241
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
53242
+ *
53243
+ * @returns Created class / constructor function
53244
+ */
53245
+ static extend<T extends Record<string, unknown>>(
53246
+ /**
53247
+ * Name of the class being created
53248
+ */
53249
+ sClassName: string,
53250
+ /**
53251
+ * Object literal with information about the class
53252
+ */
53253
+ oClassInfo?: sap.ClassInfo<
53254
+ T,
53255
+ sap.ui.model.json.JSONPropertyBinding
53256
+ >,
53257
+ /**
53258
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
53259
+ * used by this class
53260
+ */
53261
+ FNMetaImpl?: Function
53262
+ ): Function;
53263
+ /**
53264
+ * Returns a metadata object for class sap.ui.model.json.JSONPropertyBinding.
53265
+ *
53266
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
53267
+ *
53268
+ * @returns Metadata object describing this class
53269
+ */
53270
+ static getMetadata(): sap.ui.base.Metadata;
53234
53271
  }
53235
53272
  /**
53236
53273
  * Tree binding implementation for JSON format.
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.33
1
+ // For Library Version: 1.120.35
2
2
 
3
3
  declare namespace sap {
4
4
  /**