@sapui5/ts-types-esm 1.90.11 → 1.90.14

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": "@sapui5/ts-types-esm",
3
- "version": "1.90.11",
3
+ "version": "1.90.14",
4
4
  "description": "SAPUI5 TypeScript Definitions - ES Modules",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.5
1
+ // For Library Version: 1.90.7
2
2
 
3
3
  declare module "sap/gantt/library" {
4
4
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -104754,7 +104754,7 @@ declare module "sap/m/upload/Uploader" {
104754
104754
  *
104755
104755
  * HTTP request method chosen for file upload.
104756
104756
  *
104757
- * Default value is `HttpRequestMethod.Post`.
104757
+ * Default value is `Post`.
104758
104758
  */
104759
104759
  getHttpRequestMethod(): UploaderHttpRequestMethod;
104760
104760
  /**
@@ -104789,7 +104789,7 @@ declare module "sap/m/upload/Uploader" {
104789
104789
  *
104790
104790
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
104791
104791
  *
104792
- * Default value is `HttpRequestMethod.Post`.
104792
+ * Default value is `Post`.
104793
104793
  */
104794
104794
  setHttpRequestMethod(
104795
104795
  /**
@@ -105995,7 +105995,7 @@ declare module "sap/m/upload/UploadSet" {
105995
105995
  *
105996
105996
  * HTTP request method chosen for file upload.
105997
105997
  *
105998
- * Default value is `HttpRequestMethod.Post`.
105998
+ * Default value is `Post`.
105999
105999
  */
106000
106000
  getHttpRequestMethod(): UploaderHttpRequestMethod;
106001
106001
  /**
@@ -106255,7 +106255,7 @@ declare module "sap/m/upload/UploadSet" {
106255
106255
  *
106256
106256
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
106257
106257
  *
106258
- * Default value is `HttpRequestMethod.Post`.
106258
+ * Default value is `Post`.
106259
106259
  */
106260
106260
  setHttpRequestMethod(
106261
106261
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/makit/library" {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/me/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ndc/library" {}
4
4
 
@@ -8,18 +8,16 @@ declare module "sap/ndc/BarcodeScanner" {
8
8
  /**
9
9
  * @SINCE 1.28.0
10
10
  *
11
- * TODO: description
12
- *
13
- * As `BarcodeScanner` is a static class, a `jQuery.sap.require("sap.ndc.BarcodeScanner");` statement must
14
- * be explicitly executed before the class can be used. Example: *
11
+ * Here is an example of how to trigger the scan function of BarcodeScanner:
15
12
  * ```javascript
16
13
  *
17
- * jQuery.sap.require("sap.ndc.BarcodeScanner");
18
- * sap.ndc.BarcodeScanner.scan(
19
- * function (oResult) { / * process scan result * / },
20
- * function (oError) { / * handle scan error * / },
21
- * function (oResult) { / * handle input dialog change * / }
22
- * );
14
+ * sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
15
+ * BarcodeScanner.scan(
16
+ * function (oResult) { / * process scan result * / },
17
+ * function (oError) { / * handle scan error * / },
18
+ * function (oResult) { / * handle input dialog change * / }
19
+ * );
20
+ * });
23
21
  * ```
24
22
  */
25
23
  interface BarcodeScanner {
@@ -39,13 +37,6 @@ declare module "sap/ndc/BarcodeScanner" {
39
37
  * Starts the bar code scanning process either showing the live input from the camera or displaying a dialog
40
38
  * to enter the value directly if the bar code scanning feature is not available.
41
39
  *
42
- *
43
- * ```javascript
44
- *
45
- * sap.ndc.BarcodeScanner.scan(fnSuccess, fnFail, fnLiveUpdate, dialogTitle)
46
- * ```
47
- *
48
- *
49
40
  * The bar code scanning is done asynchronously. When it is triggered, this function returns without waiting
50
41
  * for the scanning process to finish. The applications have to provide callback functions to react to the
51
42
  * events of a successful scanning, an error during scanning, and the live input on the dialog.
@@ -58,21 +49,24 @@ declare module "sap/ndc/BarcodeScanner" {
58
49
  *
59
50
  * ```javascript
60
51
  *
61
- * sap.ndc.BarcodeScanner.scan(
62
- * function (mResult) {
63
- * alert("We got a bar code\n" +
64
- * "Result: " + mResult.text + "\n" +
65
- * "Format: " + mResult.format + "\n" +
66
- * "Cancelled: " + mResult.cancelled);
67
- * },
68
- * function (Error) {
69
- * alert("Scanning failed: " + Error);
70
- * },
71
- * function (mParams) {
72
- * alert("Value entered: " + mParams.newValue);
73
- * },
74
- * "Enter Product Bar Code"
75
- * );
52
+ * sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
53
+ * BarcodeScanner.scan(
54
+ * function (mResult) {
55
+ * alert("We got a bar code\n" +
56
+ * "Result: " + mResult.text + "\n" +
57
+ * "Format: " + mResult.format + "\n" +
58
+ * "Cancelled: " + mResult.cancelled);
59
+ * },
60
+ * function (Error) {
61
+ * alert("Scanning failed: " + Error);
62
+ * },
63
+ * function (mParams) {
64
+ * alert("Value entered: " + mParams.newValue);
65
+ * },
66
+ * "Enter Product Bar Code",
67
+ * true
68
+ * );
69
+ * });
76
70
  * ```
77
71
  */
78
72
  scan(
@@ -91,7 +85,11 @@ declare module "sap/ndc/BarcodeScanner" {
91
85
  /**
92
86
  * Defines the bar code input dialog title. If unset, a predefined title will be used.
93
87
  */
94
- dialogTitle?: string
88
+ dialogTitle?: string,
89
+ /**
90
+ * Flag, which defines whether the front or back camera should be used.
91
+ */
92
+ preferFrontCamera?: boolean
95
93
  ): void;
96
94
  }
97
95
  const BarcodeScanner: BarcodeScanner;
@@ -109,8 +107,8 @@ declare module "sap/ndc/BarcodeScannerButton" {
109
107
 
110
108
  /**
111
109
  * A button control (displaying a bar code icon) to start the bar code scanning process. If the native scanning
112
- * feature is not available, the button is either hidden or it provides a fallback by opening a dialog with
113
- * an input field where the bar code can be entered manually.
110
+ * feature is not available or camera capability is not granted, the button is either hidden or it provides
111
+ * a fallback by opening a dialog with an input field where the bar code can be entered manually.
114
112
  */
115
113
  export default class BarcodeScannerButton extends Control {
116
114
  /**
@@ -336,6 +334,14 @@ declare module "sap/ndc/BarcodeScannerButton" {
336
334
  * Returns a metadata object for class sap.ndc.BarcodeScannerButton.
337
335
  */
338
336
  static getMetadata(): ElementMetadata;
337
+ /**
338
+ * Gets current value of property {@link #getPreferFrontCamera preferFrontCamera}.
339
+ *
340
+ * If set to true, the front camera will be used to decode.
341
+ *
342
+ * Default value is `false`.
343
+ */
344
+ getPreferFrontCamera(): boolean;
339
345
  /**
340
346
  * Gets current value of property {@link #getProvideFallback provideFallback}.
341
347
  *
@@ -373,6 +379,21 @@ declare module "sap/ndc/BarcodeScannerButton" {
373
379
  */
374
380
  sDialogTitle?: string
375
381
  ): this;
382
+ /**
383
+ * Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
384
+ *
385
+ * If set to true, the front camera will be used to decode.
386
+ *
387
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
388
+ *
389
+ * Default value is `false`.
390
+ */
391
+ setPreferFrontCamera(
392
+ /**
393
+ * New value for property `preferFrontCamera`
394
+ */
395
+ bPreferFrontCamera?: boolean
396
+ ): this;
376
397
  /**
377
398
  * Sets a new value for property {@link #getProvideFallback provideFallback}.
378
399
  *
@@ -498,6 +519,11 @@ declare module "sap/ndc/BarcodeScannerButton" {
498
519
  */
499
520
  dialogTitle?: string | PropertyBindingInfo;
500
521
 
522
+ /**
523
+ * If set to true, the front camera will be used to decode.
524
+ */
525
+ preferFrontCamera?: boolean | PropertyBindingInfo;
526
+
501
527
  /**
502
528
  * Event is fired when the scanning is finished or cancelled
503
529
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.8
1
+ // For Library Version: 1.90.11
2
2
 
3
3
  declare module "sap/suite/ui/generic/template/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/suite/ui/microchart/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/comp/library" {
4
4
  /**
@@ -37,7 +37,7 @@ declare namespace QUnit {
37
37
  export type Assert = typeof QUnit.assert;
38
38
  }
39
39
 
40
- // For Library Version: 1.90.10
40
+ // For Library Version: 1.90.13
41
41
 
42
42
  declare module "sap/base/assert" {
43
43
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/export/library" {
4
4
  /**
@@ -133,7 +133,7 @@ declare module "sap/ui/export/Spreadsheet" {
133
133
  * - `workbook.context` - Context object that will be applied to the generated file. It may contain the
134
134
  * following fields:
135
135
  * - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
136
- * - `version` (string) - Application version that creates the XLSX document (default: "1.90.10")
136
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.90.13")
137
137
  * - `title` (string) - Title of the XLSX document (NOT the filename)
138
138
  * - `modifiedBy` (string) - User context for the XLSX document
139
139
  * - `sheetName` (string) - The label of the data sheet
@@ -219,7 +219,7 @@ declare module "sap/ui/export/Spreadsheet" {
219
219
  * columns: aColumns,
220
220
  * context: {
221
221
  * application: 'Debug Test Application',
222
- * version: '1.90.10',
222
+ * version: '1.90.13',
223
223
  * title: 'Some random title',
224
224
  * modifiedBy: 'John Doe',
225
225
  * metaSheetName: 'Custom metadata',
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
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.90.10
1
+ // For Library Version: 1.90.13
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.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/richtexteditor/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  import UI5Element from "sap/ui/core/Element";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,8 +1,8 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
5
- * @SINCE 1.90.10
5
+ * @SINCE 1.90.13
6
6
  *
7
7
  * Defines the Audiences.
8
8
  */
@@ -21,7 +21,7 @@ declare module "sap/ui/support/library" {
21
21
  Internal = "Internal",
22
22
  }
23
23
  /**
24
- * @SINCE 1.90.10
24
+ * @SINCE 1.90.13
25
25
  *
26
26
  * Issue Categories.
27
27
  */
@@ -76,7 +76,7 @@ declare module "sap/ui/support/library" {
76
76
  Usage = "Usage",
77
77
  }
78
78
  /**
79
- * @SINCE 1.90.10
79
+ * @SINCE 1.90.13
80
80
  *
81
81
  * Analysis history formats.
82
82
  */
@@ -91,7 +91,7 @@ declare module "sap/ui/support/library" {
91
91
  String = "String",
92
92
  }
93
93
  /**
94
- * @SINCE 1.90.10
94
+ * @SINCE 1.90.13
95
95
  *
96
96
  * Defines severity types.
97
97
  */
@@ -110,7 +110,7 @@ declare module "sap/ui/support/library" {
110
110
  Medium = "Medium",
111
111
  }
112
112
  /**
113
- * @SINCE 1.90.10
113
+ * @SINCE 1.90.13
114
114
  *
115
115
  * Contains the available system presets.
116
116
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
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.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.1
1
+ // For Library Version: 1.90.3
2
2
 
3
3
  declare module "sap/ui/vbm/library" {
4
4
  /**
@@ -88,8 +88,6 @@ declare module "sap/ui/vbm/Adapter" {
88
88
  import GeoMap from "sap/ui/vbm/GeoMap";
89
89
 
90
90
  /**
91
- * @EXPERIMENTAL (since 1.48.0)
92
- *
93
91
  * Provides the ability to load VBI JSON into {@link sap.ui.vbm.GeoMap sap.ui.vbm.GeoMap} control.
94
92
  */
95
93
  export default class Adapter extends UI5Element {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.3
1
+ // For Library Version: 1.90.4
2
2
 
3
3
  declare module "sap/ui/vk/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/uiext/inbox/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ushell/components/factsheet/controls/PictureTile" {
4
4
  import { default as CustomTile, $CustomTileSettings } from "sap/m/CustomTile";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/ui2/srvc/ODataService" {
4
4
  import ODataWrapper from "sap/ui2/srvc/ODataWrapper";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.90.10
1
+ // For Library Version: 1.90.13
2
2
 
3
3
  declare module "sap/viz/library" {
4
4
  export namespace ui5 {