@openui5/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/types",
3
- "version": "1.136.6",
3
+ "version": "1.136.8",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript",
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 module "sap/tnt/library" {
4
4
  export interface IToolHeader {
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 module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -23508,7 +23508,16 @@ declare module "sap/m/Dialog" {
23508
23508
  /**
23509
23509
  * Escape handler for sap.m.Dialog control.
23510
23510
  */
23511
- export type EscapeHandler = (oHandlers: object) => void;
23511
+ export type EscapeHandler = (oHandlers: {
23512
+ /**
23513
+ * Call this function if the dialog should be closed.
23514
+ */
23515
+ resolve: () => void;
23516
+ /**
23517
+ * Call this function if the dialog should not be closed.
23518
+ */
23519
+ reject: () => void;
23520
+ }) => void;
23512
23521
 
23513
23522
  /**
23514
23523
  * Describes the settings that can be provided to the Dialog constructor.
@@ -61430,8 +61439,8 @@ declare module "sap/m/MessageToast" {
61430
61439
  * sap.m.MessageToast.show("This message should appear in the message toast", {
61431
61440
  * duration: 3000, // default
61432
61441
  * width: "15em", // default
61433
- * my: "center bottom", // default
61434
- * at: "center bottom", // default
61442
+ * my: "CenterBottom", // default
61443
+ * at: "CenterBottom", // default
61435
61444
  * of: window, // default
61436
61445
  * offset: "0 0", // default
61437
61446
  * collision: "fit fit", // default
@@ -87593,6 +87602,11 @@ declare module "sap/m/PDFViewer" {
87593
87602
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
87594
87603
  * when this event is fired, call the preventDefault() method inside the event handler.
87595
87604
  *
87605
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
87606
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
87607
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
87608
+ *
87609
+ * @deprecated As of version 1.136.9. with no replacement.
87596
87610
  *
87597
87611
  * @returns Reference to `this` in order to allow method chaining
87598
87612
  */
@@ -87623,6 +87637,11 @@ declare module "sap/m/PDFViewer" {
87623
87637
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
87624
87638
  * when this event is fired, call the preventDefault() method inside the event handler.
87625
87639
  *
87640
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
87641
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
87642
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
87643
+ *
87644
+ * @deprecated As of version 1.136.9. with no replacement.
87626
87645
  *
87627
87646
  * @returns Reference to `this` in order to allow method chaining
87628
87647
  */
@@ -87692,6 +87711,7 @@ declare module "sap/m/PDFViewer" {
87692
87711
  *
87693
87712
  * The passed function and listener object must match the ones used for event registration.
87694
87713
  *
87714
+ * @deprecated As of version 1.136.9. with no replacement.
87695
87715
  *
87696
87716
  * @returns Reference to `this` in order to allow method chaining
87697
87717
  */
@@ -87738,6 +87758,7 @@ declare module "sap/m/PDFViewer" {
87738
87758
  /**
87739
87759
  * Fires event {@link #event:sourceValidationFailed sourceValidationFailed} to attached listeners.
87740
87760
  *
87761
+ * @deprecated As of version 1.136.9. with no replacement.
87741
87762
  * @ui5-protected Do not call from applications (only from related classes in the framework)
87742
87763
  *
87743
87764
  * @returns Reference to `this` in order to allow method chaining
@@ -88269,6 +88290,12 @@ declare module "sap/m/PDFViewer" {
88269
88290
  * configuration of the Mozilla Firefox browser may not allow checking the loaded content. This may also
88270
88291
  * happen when the source PDF file is stored in a different domain. If you want no error message to be displayed
88271
88292
  * when this event is fired, call the preventDefault() method inside the event handler.
88293
+ *
88294
+ * Modern browsers implement strict policies for validating external resources loaded within an iframe.
88295
+ * PDFViewer cannot determine whether the resource inside the iframe is a valid PDF by itself. As the validation
88296
+ * cannot be performed the sourceValidationFailed event cannot be triggered.
88297
+ *
88298
+ * @deprecated As of version 1.136.9. with no replacement.
88272
88299
  */
88273
88300
  sourceValidationFailed?: (oEvent: Event) => void;
88274
88301
  }
@@ -88306,11 +88333,15 @@ declare module "sap/m/PDFViewer" {
88306
88333
 
88307
88334
  /**
88308
88335
  * Parameters of the PDFViewer#sourceValidationFailed event.
88336
+ *
88337
+ * @deprecated As of version 1.136.9. with no replacement.
88309
88338
  */
88310
88339
  export interface PDFViewer$SourceValidationFailedEventParameters {}
88311
88340
 
88312
88341
  /**
88313
88342
  * Event object of the PDFViewer#sourceValidationFailed event.
88343
+ *
88344
+ * @deprecated As of version 1.136.9. with no replacement.
88314
88345
  */
88315
88346
  export type PDFViewer$SourceValidationFailedEvent = Event<
88316
88347
  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 module "sap/tnt/library" {
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 module "sap/ui/codeeditor/library" {}
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 module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -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
  /**
@@ -84580,11 +84580,11 @@ declare module "sap/ui/test/Opa5" {
84580
84580
  * whether a function is used as arrangement or action. Each function typically contains one or multiple
84581
84581
  * `waitFor` statements.
84582
84582
  */
84583
- actions?: Record<string, () => void> | Function;
84583
+ actions?: Record<string, Function> | Function;
84584
84584
  /**
84585
84585
  * A map or a class of functions that can be used as assertions in Opa tests.
84586
84586
  */
84587
- assertions?: Record<string, () => void> | Function;
84587
+ assertions?: Record<string, Function> | Function;
84588
84588
  };
84589
84589
  }
84590
84590
 
@@ -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 module "sap/ui/fl/library" {}
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 module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -3706,7 +3706,7 @@ declare module "sap/ui/integration/Extension" {
3706
3706
  *
3707
3707
  * @returns Value of property `formatters`
3708
3708
  */
3709
- getFormatters(): Record<string, () => void> | undefined;
3709
+ getFormatters(): Record<string, Function> | undefined;
3710
3710
  /**
3711
3711
  * Override this method to lazy load dependencies for the extension.
3712
3712
  *
@@ -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/layout/library" {
4
4
  import Control from "sap/ui/core/Control";
@@ -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
  import Control from "sap/ui/core/Control";
@@ -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/suite/library" {
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 module "sap/ui/support/library" {
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 module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -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/testrecorder/library" {}
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 module "sap/ui/unified/library" {
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 module "sap/ui/ux3/library" {
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 module "sap/ui/webc/common/library" {}
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 module "sap/ui/webc/fiori/library" {
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 module "sap/ui/webc/main/library" {
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 module "sap/uxap/library" {
4
4
  /**