@sapui5/ts-types 1.84.17 → 1.84.21
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.apf.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1 -1
- package/types/sap.fe.plugins.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.gantt.d.ts +317 -281
- package/types/sap.m.d.ts +7 -2
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +57 -35
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +447 -316
- 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 +13 -6
- 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 -1
- package/types/sap.ui.vk.d.ts +77 -4
- package/types/sap.uiext.inbox.d.ts +2 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.84.
|
|
1
|
+
// For Library Version: 1.84.20
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -66676,7 +66676,12 @@ declare namespace sap {
|
|
|
66676
66676
|
/**
|
|
66677
66677
|
* Parameters to pass along with the event
|
|
66678
66678
|
*/
|
|
66679
|
-
mParameters?:
|
|
66679
|
+
mParameters?: {
|
|
66680
|
+
/**
|
|
66681
|
+
* The iframe element.
|
|
66682
|
+
*/
|
|
66683
|
+
target?: any;
|
|
66684
|
+
}
|
|
66680
66685
|
): sap.m.PDFViewer;
|
|
66681
66686
|
/**
|
|
66682
66687
|
* Fires event {@link #event:loaded loaded} to attached listeners.
|
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.84.
|
|
1
|
+
// For Library Version: 1.84.20
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -8,18 +8,16 @@ declare namespace sap {
|
|
|
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
|
namespace BarcodeScanner {
|
|
@@ -39,13 +37,6 @@ declare namespace sap {
|
|
|
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)
|
|
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,20 +49,23 @@ declare namespace sap {
|
|
|
58
49
|
*
|
|
59
50
|
* ```javascript
|
|
60
51
|
*
|
|
61
|
-
* sap.ndc
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
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
|
+
* );
|
|
68
|
+
* });
|
|
75
69
|
* ```
|
|
76
70
|
*/
|
|
77
71
|
function scan(
|
|
@@ -86,7 +80,11 @@ declare namespace sap {
|
|
|
86
80
|
/**
|
|
87
81
|
* Function to be called when value of the dialog's input is changed
|
|
88
82
|
*/
|
|
89
|
-
fnLiveUpdate?: Function
|
|
83
|
+
fnLiveUpdate?: Function,
|
|
84
|
+
/**
|
|
85
|
+
* Defines the bar code input dialog title. If unset, a predefined title will be used.
|
|
86
|
+
*/
|
|
87
|
+
dialogTitle?: string
|
|
90
88
|
): void;
|
|
91
89
|
}
|
|
92
90
|
|
|
@@ -109,6 +107,11 @@ declare namespace sap {
|
|
|
109
107
|
*/
|
|
110
108
|
width?: sap.ui.core.CSSSize;
|
|
111
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Defines the bar code input dialog title. If unset, a predefined title will be used.
|
|
112
|
+
*/
|
|
113
|
+
dialogTitle?: string;
|
|
114
|
+
|
|
112
115
|
/**
|
|
113
116
|
* Event is fired when the scanning is finished or cancelled
|
|
114
117
|
*/
|
|
@@ -126,8 +129,8 @@ declare namespace sap {
|
|
|
126
129
|
}
|
|
127
130
|
/**
|
|
128
131
|
* A button control (displaying a bar code icon) to start the bar code scanning process. If the native scanning
|
|
129
|
-
* feature is not available, the button is either hidden or it provides
|
|
130
|
-
* an input field where the bar code can be entered manually.
|
|
132
|
+
* feature is not available or camera capability is not granted, the button is either hidden or it provides
|
|
133
|
+
* a fallback by opening a dialog with an input field where the bar code can be entered manually.
|
|
131
134
|
*/
|
|
132
135
|
class BarcodeScannerButton extends sap.ui.core.Control {
|
|
133
136
|
/**
|
|
@@ -331,6 +334,12 @@ declare namespace sap {
|
|
|
331
334
|
cancelled?: boolean;
|
|
332
335
|
}
|
|
333
336
|
): sap.ndc.BarcodeScannerButton;
|
|
337
|
+
/**
|
|
338
|
+
* Gets current value of property {@link #getDialogTitle dialogTitle}.
|
|
339
|
+
*
|
|
340
|
+
* Defines the bar code input dialog title. If unset, a predefined title will be used.
|
|
341
|
+
*/
|
|
342
|
+
getDialogTitle(): string;
|
|
334
343
|
/**
|
|
335
344
|
* Returns a metadata object for class sap.ndc.BarcodeScannerButton.
|
|
336
345
|
*/
|
|
@@ -361,6 +370,19 @@ declare namespace sap {
|
|
|
361
370
|
* Defines the width of the scanner button.
|
|
362
371
|
*/
|
|
363
372
|
getWidth(): sap.ui.core.CSSSize;
|
|
373
|
+
/**
|
|
374
|
+
* Sets a new value for property {@link #getDialogTitle dialogTitle}.
|
|
375
|
+
*
|
|
376
|
+
* Defines the bar code input dialog title. If unset, a predefined title will be used.
|
|
377
|
+
*
|
|
378
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
379
|
+
*/
|
|
380
|
+
setDialogTitle(
|
|
381
|
+
/**
|
|
382
|
+
* New value for property `dialogTitle`
|
|
383
|
+
*/
|
|
384
|
+
sDialogTitle?: string
|
|
385
|
+
): sap.ndc.BarcodeScannerButton;
|
|
364
386
|
/**
|
|
365
387
|
* Sets a new value for property {@link #getProvideFallback provideFallback}.
|
|
366
388
|
*
|
package/types/sap.ovp.d.ts
CHANGED