@openui5/ts-types 1.120.3 → 1.120.5

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.3",
3
+ "version": "1.120.5",
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.3
1
+ // For Library Version: 1.120.5
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.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -32795,6 +32795,22 @@ declare namespace sap {
32795
32795
  | sap.ui.base.ManagedObject.PropertyBindingInfo
32796
32796
  | `{${string}}`;
32797
32797
 
32798
+ /**
32799
+ * @since 1.121.0
32800
+ *
32801
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
32802
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
32803
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
32804
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
32805
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
32806
+ * desktop devices, which overrides any configuration that has been provided by the application for the
32807
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
32808
+ */
32809
+ isTrustedSource?:
32810
+ | boolean
32811
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
32812
+ | `{${string}}`;
32813
+
32798
32814
  /**
32799
32815
  * A custom control that can be used instead of the error message specified by the errorPlaceholderMessage
32800
32816
  * property.
@@ -103696,6 +103712,24 @@ declare namespace sap {
103696
103712
  * @returns Value of property `height`
103697
103713
  */
103698
103714
  getHeight(): sap.ui.core.CSSSize;
103715
+ /**
103716
+ * @since 1.121.0
103717
+ *
103718
+ * Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
103719
+ *
103720
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
103721
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
103722
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
103723
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
103724
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
103725
+ * desktop devices, which overrides any configuration that has been provided by the application for the
103726
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
103727
+ *
103728
+ * Default value is `false`.
103729
+ *
103730
+ * @returns Value of property `isTrustedSource`
103731
+ */
103732
+ getIsTrustedSource(): boolean;
103699
103733
  /**
103700
103734
  * Gets content of aggregation {@link #getPopupButtons popupButtons}.
103701
103735
  *
@@ -103902,6 +103936,31 @@ declare namespace sap {
103902
103936
  */
103903
103937
  sHeight?: sap.ui.core.CSSSize
103904
103938
  ): this;
103939
+ /**
103940
+ * @since 1.121.0
103941
+ *
103942
+ * Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
103943
+ *
103944
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
103945
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
103946
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
103947
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
103948
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
103949
+ * desktop devices, which overrides any configuration that has been provided by the application for the
103950
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
103951
+ *
103952
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
103953
+ *
103954
+ * Default value is `false`.
103955
+ *
103956
+ * @returns Reference to `this` in order to allow method chaining
103957
+ */
103958
+ setIsTrustedSource(
103959
+ /**
103960
+ * New value for property `isTrustedSource`
103961
+ */
103962
+ bIsTrustedSource?: boolean
103963
+ ): this;
103905
103964
  /**
103906
103965
  * @deprecated (since 1.50.0) - replaced by {@link sap.m.PDFViewer#getTitle}.
103907
103966
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
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.3
283
+ // For Library Version: 1.120.5
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[];
@@ -32298,7 +32298,7 @@ declare namespace sap {
32298
32298
  *
32299
32299
  * The return value of config method is especially useful for an HTTP `Accept-Language` header.
32300
32300
  *
32301
- * Retrieves the modern locale, e.g. sr-Latn (Serbian (Cyrillic)), he (Hebrew), yi (Yiddish)
32301
+ * Retrieves the modern locale, e.g. sr-Latn (Serbian (Latin)), he (Hebrew), yi (Yiddish)
32302
32302
  *
32303
32303
  * @returns The language tag for the current language, conforming to BCP47
32304
32304
  */
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -7730,7 +7730,7 @@ declare namespace sap {
7730
7730
  *
7731
7731
  * **Note:** This must only be used by the corresponding value help, not from outside.
7732
7732
  *
7733
- * @returns {sap.ui.mdc.filterbar.vh.FilterBar}Reference to `this` to allow method chaining
7733
+ * @returns Reference to `this` to allow method chaining
7734
7734
  */
7735
7735
  destroyCollectiveSearch(): this;
7736
7736
  /**
@@ -7795,7 +7795,7 @@ declare namespace sap {
7795
7795
  * Instance of the {@link sap.ui.mdc.filterbar.vh.CollectiveSearchSelect CollectiveSearchSelect} control
7796
7796
  */
7797
7797
  oCollectiveSearch: /* was: sap.ui.mdc.filterbar.vh.CollectiveSearchSelect */ any
7798
- ): sap.ui.mdc.filterbar.vh.FilterBar;
7798
+ ): this;
7799
7799
  /**
7800
7800
  * @experimental
7801
7801
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.5
2
2
 
3
3
  declare namespace sap {
4
4
  /**