@openui5/ts-types 1.136.6 → 1.136.8

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.136.6",
3
+ "version": "1.136.8",
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.136.6
1
+ // For Library Version: 1.136.8
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.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -2489,7 +2489,16 @@ declare namespace sap {
2489
2489
  /**
2490
2490
  * Escape handler for sap.m.Dialog control.
2491
2491
  */
2492
- type EscapeHandler = (oHandlers: object) => void;
2492
+ type EscapeHandler = (oHandlers: {
2493
+ /**
2494
+ * Call this function if the dialog should be closed.
2495
+ */
2496
+ resolve: () => void;
2497
+ /**
2498
+ * Call this function if the dialog should not be closed.
2499
+ */
2500
+ reject: () => void;
2501
+ }) => void;
2493
2502
  }
2494
2503
 
2495
2504
  namespace MessageBox {
@@ -37524,6 +37533,12 @@ declare namespace sap {
37524
37533
  * configuration of the Mozilla Firefox browser may not allow checking the loaded content. This may also
37525
37534
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
37526
37535
  * when this event is fired, call the preventDefault() method inside the event handler.
37536
+ *
37537
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
37538
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
37539
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
37540
+ *
37541
+ * @deprecated As of version 1.136.9. with no replacement.
37527
37542
  */
37528
37543
  sourceValidationFailed?: (oEvent: sap.ui.base.Event) => void;
37529
37544
  }
@@ -47397,6 +47412,8 @@ declare namespace sap {
47397
47412
 
47398
47413
  /**
47399
47414
  * Parameters of the PDFViewer#sourceValidationFailed event.
47415
+ *
47416
+ * @deprecated As of version 1.136.9. with no replacement.
47400
47417
  */
47401
47418
  interface PDFViewer$SourceValidationFailedEventParameters {}
47402
47419
 
@@ -51741,8 +51758,8 @@ declare namespace sap {
51741
51758
  * sap.m.MessageToast.show("This message should appear in the message toast", {
51742
51759
  * duration: 3000, // default
51743
51760
  * width: "15em", // default
51744
- * my: "center bottom", // default
51745
- * at: "center bottom", // default
51761
+ * my: "CenterBottom", // default
51762
+ * at: "CenterBottom", // default
51746
51763
  * of: window, // default
51747
51764
  * offset: "0 0", // default
51748
51765
  * collision: "fit fit", // default
@@ -114941,6 +114958,11 @@ declare namespace sap {
114941
114958
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
114942
114959
  * when this event is fired, call the preventDefault() method inside the event handler.
114943
114960
  *
114961
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
114962
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
114963
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
114964
+ *
114965
+ * @deprecated As of version 1.136.9. with no replacement.
114944
114966
  *
114945
114967
  * @returns Reference to `this` in order to allow method chaining
114946
114968
  */
@@ -114971,6 +114993,11 @@ declare namespace sap {
114971
114993
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
114972
114994
  * when this event is fired, call the preventDefault() method inside the event handler.
114973
114995
  *
114996
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
114997
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
114998
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
114999
+ *
115000
+ * @deprecated As of version 1.136.9. with no replacement.
114974
115001
  *
114975
115002
  * @returns Reference to `this` in order to allow method chaining
114976
115003
  */
@@ -115040,6 +115067,7 @@ declare namespace sap {
115040
115067
  *
115041
115068
  * The passed function and listener object must match the ones used for event registration.
115042
115069
  *
115070
+ * @deprecated As of version 1.136.9. with no replacement.
115043
115071
  *
115044
115072
  * @returns Reference to `this` in order to allow method chaining
115045
115073
  */
@@ -115086,6 +115114,7 @@ declare namespace sap {
115086
115114
  /**
115087
115115
  * Fires event {@link #event:sourceValidationFailed sourceValidationFailed} to attached listeners.
115088
115116
  *
115117
+ * @deprecated As of version 1.136.9. with no replacement.
115089
115118
  * @ui5-protected Do not call from applications (only from related classes in the framework)
115090
115119
  *
115091
115120
  * @returns Reference to `this` in order to allow method chaining
@@ -168864,6 +168893,8 @@ declare namespace sap {
168864
168893
 
168865
168894
  /**
168866
168895
  * Event object of the PDFViewer#sourceValidationFailed event.
168896
+ *
168897
+ * @deprecated As of version 1.136.9. with no replacement.
168867
168898
  */
168868
168899
  type PDFViewer$SourceValidationFailedEvent = sap.ui.base.Event<
168869
168900
  PDFViewer$SourceValidationFailedEventParameters,
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -279,7 +279,7 @@ declare namespace sap {
279
279
  "sap/ui/thirdparty/qunit-2": undefined;
280
280
  }
281
281
  }
282
- // For Library Version: 1.136.6
282
+ // For Library Version: 1.136.8
283
283
 
284
284
  declare module "sap/base/assert" {
285
285
  /**
@@ -85950,11 +85950,11 @@ declare namespace sap {
85950
85950
  * whether a function is used as arrangement or action. Each function typically contains one or multiple
85951
85951
  * `waitFor` statements.
85952
85952
  */
85953
- actions?: Record<string, () => void> | Function;
85953
+ actions?: Record<string, Function> | Function;
85954
85954
  /**
85955
85955
  * A map or a class of functions that can be used as assertions in Opa tests.
85956
85956
  */
85957
- assertions?: Record<string, () => void> | Function;
85957
+ assertions?: Record<string, Function> | Function;
85958
85958
  };
85959
85959
  }
85960
85960
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -3513,7 +3513,7 @@ declare namespace sap {
3513
3513
  *
3514
3514
  * @returns Value of property `formatters`
3515
3515
  */
3516
- getFormatters(): Record<string, () => void> | undefined;
3516
+ getFormatters(): Record<string, Function> | undefined;
3517
3517
  /**
3518
3518
  * Override this method to lazy load dependencies for the extension.
3519
3519
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
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.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.136.6
1
+ // For Library Version: 1.136.8
2
2
 
3
3
  declare namespace sap {
4
4
  /**