@sapui5/ts-types 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 +64 -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 namespace sap {
|
|
4
4
|
/**
|
|
@@ -7023,7 +7023,7 @@ declare namespace sap {
|
|
|
7023
7023
|
*
|
|
7024
7024
|
* HTTP request method chosen for file upload.
|
|
7025
7025
|
*
|
|
7026
|
-
* Default value is `
|
|
7026
|
+
* Default value is `Post`.
|
|
7027
7027
|
*/
|
|
7028
7028
|
getHttpRequestMethod(): sap.m.upload.UploaderHttpRequestMethod;
|
|
7029
7029
|
/**
|
|
@@ -7058,7 +7058,7 @@ declare namespace sap {
|
|
|
7058
7058
|
*
|
|
7059
7059
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7060
7060
|
*
|
|
7061
|
-
* Default value is `
|
|
7061
|
+
* Default value is `Post`.
|
|
7062
7062
|
*/
|
|
7063
7063
|
setHttpRequestMethod(
|
|
7064
7064
|
/**
|
|
@@ -8180,7 +8180,7 @@ declare namespace sap {
|
|
|
8180
8180
|
*
|
|
8181
8181
|
* HTTP request method chosen for file upload.
|
|
8182
8182
|
*
|
|
8183
|
-
* Default value is `
|
|
8183
|
+
* Default value is `Post`.
|
|
8184
8184
|
*/
|
|
8185
8185
|
getHttpRequestMethod(): sap.m.upload.UploaderHttpRequestMethod;
|
|
8186
8186
|
/**
|
|
@@ -8440,7 +8440,7 @@ declare namespace sap {
|
|
|
8440
8440
|
*
|
|
8441
8441
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
8442
8442
|
*
|
|
8443
|
-
* Default value is `
|
|
8443
|
+
* Default value is `Post`.
|
|
8444
8444
|
*/
|
|
8445
8445
|
setHttpRequestMethod(
|
|
8446
8446
|
/**
|
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 namespace sap {
|
|
4
4
|
/**
|
|
@@ -31,6 +31,13 @@ declare namespace sap {
|
|
|
31
31
|
*/
|
|
32
32
|
dialogTitle?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* If set to true, the front camera will be used to decode.
|
|
36
|
+
*/
|
|
37
|
+
preferFrontCamera?:
|
|
38
|
+
| boolean
|
|
39
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
40
|
+
|
|
34
41
|
/**
|
|
35
42
|
* Event is fired when the scanning is finished or cancelled
|
|
36
43
|
*/
|
|
@@ -50,18 +57,16 @@ declare namespace sap {
|
|
|
50
57
|
/**
|
|
51
58
|
* @SINCE 1.28.0
|
|
52
59
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* As `BarcodeScanner` is a static class, a `jQuery.sap.require("sap.ndc.BarcodeScanner");` statement must
|
|
56
|
-
* be explicitly executed before the class can be used. Example: *
|
|
60
|
+
* Here is an example of how to trigger the scan function of BarcodeScanner:
|
|
57
61
|
* ```javascript
|
|
58
62
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
63
|
+
* sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
|
|
64
|
+
* BarcodeScanner.scan(
|
|
65
|
+
* function (oResult) { / * process scan result * / },
|
|
66
|
+
* function (oError) { / * handle scan error * / },
|
|
67
|
+
* function (oResult) { / * handle input dialog change * / }
|
|
68
|
+
* );
|
|
69
|
+
* });
|
|
65
70
|
* ```
|
|
66
71
|
*/
|
|
67
72
|
interface BarcodeScanner {
|
|
@@ -81,13 +86,6 @@ declare namespace sap {
|
|
|
81
86
|
* Starts the bar code scanning process either showing the live input from the camera or displaying a dialog
|
|
82
87
|
* to enter the value directly if the bar code scanning feature is not available.
|
|
83
88
|
*
|
|
84
|
-
*
|
|
85
|
-
* ```javascript
|
|
86
|
-
*
|
|
87
|
-
* sap.ndc.BarcodeScanner.scan(fnSuccess, fnFail, fnLiveUpdate, dialogTitle)
|
|
88
|
-
* ```
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
89
|
* The bar code scanning is done asynchronously. When it is triggered, this function returns without waiting
|
|
92
90
|
* for the scanning process to finish. The applications have to provide callback functions to react to the
|
|
93
91
|
* events of a successful scanning, an error during scanning, and the live input on the dialog.
|
|
@@ -100,21 +98,24 @@ declare namespace sap {
|
|
|
100
98
|
*
|
|
101
99
|
* ```javascript
|
|
102
100
|
*
|
|
103
|
-
* sap.ndc
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
101
|
+
* sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
|
|
102
|
+
* BarcodeScanner.scan(
|
|
103
|
+
* function (mResult) {
|
|
104
|
+
* alert("We got a bar code\n" +
|
|
105
|
+
* "Result: " + mResult.text + "\n" +
|
|
106
|
+
* "Format: " + mResult.format + "\n" +
|
|
107
|
+
* "Cancelled: " + mResult.cancelled);
|
|
108
|
+
* },
|
|
109
|
+
* function (Error) {
|
|
110
|
+
* alert("Scanning failed: " + Error);
|
|
111
|
+
* },
|
|
112
|
+
* function (mParams) {
|
|
113
|
+
* alert("Value entered: " + mParams.newValue);
|
|
114
|
+
* },
|
|
115
|
+
* "Enter Product Bar Code",
|
|
116
|
+
* true
|
|
117
|
+
* );
|
|
118
|
+
* });
|
|
118
119
|
* ```
|
|
119
120
|
*/
|
|
120
121
|
scan(
|
|
@@ -133,15 +134,19 @@ declare namespace sap {
|
|
|
133
134
|
/**
|
|
134
135
|
* Defines the bar code input dialog title. If unset, a predefined title will be used.
|
|
135
136
|
*/
|
|
136
|
-
dialogTitle?: string
|
|
137
|
+
dialogTitle?: string,
|
|
138
|
+
/**
|
|
139
|
+
* Flag, which defines whether the front or back camera should be used.
|
|
140
|
+
*/
|
|
141
|
+
preferFrontCamera?: boolean
|
|
137
142
|
): void;
|
|
138
143
|
}
|
|
139
144
|
const BarcodeScanner: BarcodeScanner;
|
|
140
145
|
|
|
141
146
|
/**
|
|
142
147
|
* A button control (displaying a bar code icon) to start the bar code scanning process. If the native scanning
|
|
143
|
-
* feature is not available, the button is either hidden or it provides
|
|
144
|
-
* an input field where the bar code can be entered manually.
|
|
148
|
+
* feature is not available or camera capability is not granted, the button is either hidden or it provides
|
|
149
|
+
* a fallback by opening a dialog with an input field where the bar code can be entered manually.
|
|
145
150
|
*/
|
|
146
151
|
class BarcodeScannerButton extends sap.ui.core.Control {
|
|
147
152
|
/**
|
|
@@ -367,6 +372,14 @@ declare namespace sap {
|
|
|
367
372
|
* Returns a metadata object for class sap.ndc.BarcodeScannerButton.
|
|
368
373
|
*/
|
|
369
374
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
375
|
+
/**
|
|
376
|
+
* Gets current value of property {@link #getPreferFrontCamera preferFrontCamera}.
|
|
377
|
+
*
|
|
378
|
+
* If set to true, the front camera will be used to decode.
|
|
379
|
+
*
|
|
380
|
+
* Default value is `false`.
|
|
381
|
+
*/
|
|
382
|
+
getPreferFrontCamera(): boolean;
|
|
370
383
|
/**
|
|
371
384
|
* Gets current value of property {@link #getProvideFallback provideFallback}.
|
|
372
385
|
*
|
|
@@ -404,6 +417,21 @@ declare namespace sap {
|
|
|
404
417
|
*/
|
|
405
418
|
sDialogTitle?: string
|
|
406
419
|
): this;
|
|
420
|
+
/**
|
|
421
|
+
* Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
|
|
422
|
+
*
|
|
423
|
+
* If set to true, the front camera will be used to decode.
|
|
424
|
+
*
|
|
425
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
426
|
+
*
|
|
427
|
+
* Default value is `false`.
|
|
428
|
+
*/
|
|
429
|
+
setPreferFrontCamera(
|
|
430
|
+
/**
|
|
431
|
+
* New value for property `preferFrontCamera`
|
|
432
|
+
*/
|
|
433
|
+
bPreferFrontCamera?: boolean
|
|
434
|
+
): this;
|
|
407
435
|
/**
|
|
408
436
|
* Sets a new value for property {@link #getProvideFallback provideFallback}.
|
|
409
437
|
*
|
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 namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -66,7 +66,7 @@ declare namespace sap {
|
|
|
66
66
|
* - `workbook.context` - Context object that will be applied to the generated file. It may contain the
|
|
67
67
|
* following fields:
|
|
68
68
|
* - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
|
|
69
|
-
* - `version` (string) - Application version that creates the XLSX document (default: "1.90.
|
|
69
|
+
* - `version` (string) - Application version that creates the XLSX document (default: "1.90.13")
|
|
70
70
|
* - `title` (string) - Title of the XLSX document (NOT the filename)
|
|
71
71
|
* - `modifiedBy` (string) - User context for the XLSX document
|
|
72
72
|
* - `sheetName` (string) - The label of the data sheet
|
|
@@ -152,7 +152,7 @@ declare namespace sap {
|
|
|
152
152
|
* columns: aColumns,
|
|
153
153
|
* context: {
|
|
154
154
|
* application: 'Debug Test Application',
|
|
155
|
-
* version: '1.90.
|
|
155
|
+
* version: '1.90.13',
|
|
156
156
|
* title: 'Some random title',
|
|
157
157
|
* modifiedBy: 'John Doe',
|
|
158
158
|
* 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,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.90.
|
|
1
|
+
// For Library Version: 1.90.13
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -238,7 +238,7 @@ declare namespace sap {
|
|
|
238
238
|
static getType(): string;
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
* @SINCE 1.90.
|
|
241
|
+
* @SINCE 1.90.13
|
|
242
242
|
*
|
|
243
243
|
* Defines the Audiences.
|
|
244
244
|
*/
|
|
@@ -257,7 +257,7 @@ declare namespace sap {
|
|
|
257
257
|
Internal = "Internal",
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
|
-
* @SINCE 1.90.
|
|
260
|
+
* @SINCE 1.90.13
|
|
261
261
|
*
|
|
262
262
|
* Issue Categories.
|
|
263
263
|
*/
|
|
@@ -312,7 +312,7 @@ declare namespace sap {
|
|
|
312
312
|
Usage = "Usage",
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
|
-
* @SINCE 1.90.
|
|
315
|
+
* @SINCE 1.90.13
|
|
316
316
|
*
|
|
317
317
|
* Analysis history formats.
|
|
318
318
|
*/
|
|
@@ -327,7 +327,7 @@ declare namespace sap {
|
|
|
327
327
|
String = "String",
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
|
-
* @SINCE 1.90.
|
|
330
|
+
* @SINCE 1.90.13
|
|
331
331
|
*
|
|
332
332
|
* Defines severity types.
|
|
333
333
|
*/
|
|
@@ -346,7 +346,7 @@ declare namespace sap {
|
|
|
346
346
|
Medium = "Medium",
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
|
-
* @SINCE 1.90.
|
|
349
|
+
* @SINCE 1.90.13
|
|
350
350
|
*
|
|
351
351
|
* Contains the available system presets.
|
|
352
352
|
*/
|
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 namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -1655,8 +1655,6 @@ declare namespace sap {
|
|
|
1655
1655
|
}
|
|
1656
1656
|
|
|
1657
1657
|
/**
|
|
1658
|
-
* @EXPERIMENTAL (since 1.48.0)
|
|
1659
|
-
*
|
|
1660
1658
|
* Provides the ability to load VBI JSON into {@link sap.ui.vbm.GeoMap sap.ui.vbm.GeoMap} control.
|
|
1661
1659
|
*/
|
|
1662
1660
|
class Adapter extends sap.ui.core.Element {
|
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