@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 +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.gantt.d.ts +1 -1
- package/types/sap.m.d.ts +5 -5
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +62 -36
- package/types/sap.suite.ui.generic.template.d.ts +1 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1 -1
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +3 -3
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -6
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -3
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
package/package.json
CHANGED
package/types/sap.chart.d.ts
CHANGED
package/types/sap.f.d.ts
CHANGED
package/types/sap.gantt.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.90.
|
|
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 `
|
|
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 `
|
|
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 `
|
|
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 `
|
|
106258
|
+
* Default value is `Post`.
|
|
106259
106259
|
*/
|
|
106260
106260
|
setHttpRequestMethod(
|
|
106261
106261
|
/**
|
package/types/sap.makit.d.ts
CHANGED
package/types/sap.me.d.ts
CHANGED
package/types/sap.ndc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.90.
|
|
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
|
-
*
|
|
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
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
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
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
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
|
|
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
|
*/
|
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.comp.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.90.
|
|
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.
|
|
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.
|
|
222
|
+
* version: '1.90.13',
|
|
223
223
|
* title: 'Some random title',
|
|
224
224
|
* modifiedBy: 'John Doe',
|
|
225
225
|
* metaSheetName: 'Custom metadata',
|
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// For Library Version: 1.90.
|
|
1
|
+
// For Library Version: 1.90.13
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/support/library" {
|
|
4
4
|
/**
|
|
5
|
-
* @SINCE 1.90.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
113
|
+
* @SINCE 1.90.13
|
|
114
114
|
*
|
|
115
115
|
* Contains the available system presets.
|
|
116
116
|
*/
|
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.ui.vbm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.90.
|
|
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 {
|
package/types/sap.ui.vk.d.ts
CHANGED
package/types/sap.ushell.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED
package/types/sap.viz.d.ts
CHANGED