@openui5/types 1.120.3 → 1.120.4

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.120.3",
3
+ "version": "1.120.4",
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.120.3
1
+ // For Library Version: 1.120.4
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.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -79344,6 +79344,24 @@ declare module "sap/m/PDFViewer" {
79344
79344
  * @returns Value of property `height`
79345
79345
  */
79346
79346
  getHeight(): CSSSize;
79347
+ /**
79348
+ * @since 1.121.0
79349
+ *
79350
+ * Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
79351
+ *
79352
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
79353
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
79354
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
79355
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
79356
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
79357
+ * desktop devices, which overrides any configuration that has been provided by the application for the
79358
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
79359
+ *
79360
+ * Default value is `false`.
79361
+ *
79362
+ * @returns Value of property `isTrustedSource`
79363
+ */
79364
+ getIsTrustedSource(): boolean;
79347
79365
  /**
79348
79366
  * Gets content of aggregation {@link #getPopupButtons popupButtons}.
79349
79367
  *
@@ -79550,6 +79568,31 @@ declare module "sap/m/PDFViewer" {
79550
79568
  */
79551
79569
  sHeight?: CSSSize
79552
79570
  ): this;
79571
+ /**
79572
+ * @since 1.121.0
79573
+ *
79574
+ * Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
79575
+ *
79576
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
79577
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
79578
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
79579
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
79580
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
79581
+ * desktop devices, which overrides any configuration that has been provided by the application for the
79582
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
79583
+ *
79584
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
79585
+ *
79586
+ * Default value is `false`.
79587
+ *
79588
+ * @returns Reference to `this` in order to allow method chaining
79589
+ */
79590
+ setIsTrustedSource(
79591
+ /**
79592
+ * New value for property `isTrustedSource`
79593
+ */
79594
+ bIsTrustedSource?: boolean
79595
+ ): this;
79553
79596
  /**
79554
79597
  * @deprecated (since 1.50.0) - replaced by {@link sap.m.PDFViewer#getTitle}.
79555
79598
  *
@@ -79706,6 +79749,19 @@ declare module "sap/m/PDFViewer" {
79706
79749
  | PropertyBindingInfo
79707
79750
  | `{${string}}`;
79708
79751
 
79752
+ /**
79753
+ * @since 1.121.0
79754
+ *
79755
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
79756
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
79757
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
79758
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
79759
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
79760
+ * desktop devices, which overrides any configuration that has been provided by the application for the
79761
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
79762
+ */
79763
+ isTrustedSource?: boolean | PropertyBindingInfo | `{${string}}`;
79764
+
79709
79765
  /**
79710
79766
  * A custom control that can be used instead of the error message specified by the errorPlaceholderMessage
79711
79767
  * property.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -280,7 +280,7 @@ declare namespace sap {
280
280
  }
281
281
  }
282
282
 
283
- // For Library Version: 1.120.3
283
+ // For Library Version: 1.120.4
284
284
 
285
285
  declare module "sap/base/assert" {
286
286
  /**
@@ -1399,7 +1399,7 @@ declare module "sap/base/i18n/ResourceBundle" {
1399
1399
  * An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
1400
1400
  * or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
1401
1401
  * also be used when requesting a file from the server. If the `locale` contains a legacy language code
1402
- * like "sh" and the `supportedLocales` contains [...,"sr",...], "sr" will be used in the URL. This mapping
1402
+ * like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
1403
1403
  * works in both directions.
1404
1404
  */
1405
1405
  supportedLocales?: string[];
@@ -1528,7 +1528,7 @@ declare module "sap/base/i18n/ResourceBundle" {
1528
1528
  * An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
1529
1529
  * or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
1530
1530
  * also be used when requesting a file from the server. If the `locale` contains a legacy language code
1531
- * like "sh" and the `supportedLocales` contains [...,"sr",...], "sr" will be used in the URL. This mapping
1531
+ * like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
1532
1532
  * works in both directions.
1533
1533
  */
1534
1534
  supportedLocales?: string[];
@@ -1575,7 +1575,7 @@ declare module "sap/base/i18n/ResourceBundle" {
1575
1575
  * An empty string (`""`) represents the 'raw' bundle. **Note:** The given language tags can use modern
1576
1576
  * or legacy ISO639 language codes. Whatever language code is used in the list of supported locales will
1577
1577
  * also be used when requesting a file from the server. If the `locale` contains a legacy language code
1578
- * like "sh" and the `supportedLocales` contains [...,"sr",...], "sr" will be used in the URL. This mapping
1578
+ * like "iw" and the `supportedLocales` contains [...,"he",...], "he" will be used in the URL. This mapping
1579
1579
  * works in both directions.
1580
1580
  */
1581
1581
  supportedLocales?: string[];
@@ -16145,7 +16145,7 @@ declare module "sap/ui/core/Configuration" {
16145
16145
  *
16146
16146
  * The return value of config method is especially useful for an HTTP `Accept-Language` header.
16147
16147
  *
16148
- * Retrieves the modern locale, e.g. sr-Latn (Serbian (Cyrillic)), he (Hebrew), yi (Yiddish)
16148
+ * Retrieves the modern locale, e.g. sr-Latn (Serbian (Latin)), he (Hebrew), yi (Yiddish)
16149
16149
  *
16150
16150
  * @returns The language tag for the current language, conforming to BCP47
16151
16151
  */
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
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.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -11728,7 +11728,7 @@ declare module "sap/ui/mdc/filterbar/vh/FilterBar" {
11728
11728
  *
11729
11729
  * **Note:** This must only be used by the corresponding value help, not from outside.
11730
11730
  *
11731
- * @returns {sap.ui.mdc.filterbar.vh.FilterBar}Reference to `this` to allow method chaining
11731
+ * @returns Reference to `this` to allow method chaining
11732
11732
  */
11733
11733
  destroyCollectiveSearch(): this;
11734
11734
  /**
@@ -11793,7 +11793,7 @@ declare module "sap/ui/mdc/filterbar/vh/FilterBar" {
11793
11793
  * Instance of the {@link sap.ui.mdc.filterbar.vh.CollectiveSearchSelect CollectiveSearchSelect} control
11794
11794
  */
11795
11795
  oCollectiveSearch: /* was: sap.ui.mdc.filterbar.vh.CollectiveSearchSelect */ any
11796
- ): FilterBar;
11796
+ ): this;
11797
11797
  /**
11798
11798
  * @experimental
11799
11799
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
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.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
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.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.4
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**