@sapui5/ts-types 1.108.4 → 1.108.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 +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +3 -3
- package/types/sap.fe.navigation.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.gantt.d.ts +35 -1
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +115 -19
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +95 -29
- package/types/sap.ovp.d.ts +125 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +51 -1
- package/types/sap.suite.ui.generic.template.d.ts +479 -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 +1 -1
- package/types/sap.ui.fl.d.ts +5 -2
- 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 +19 -10
- 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 +1 -1
- 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.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.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/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ndc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.108.
|
|
1
|
+
// For Library Version: 1.108.3
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -9,7 +9,7 @@ declare namespace sap {
|
|
|
9
9
|
extends sap.ui.core.$ControlSettings {
|
|
10
10
|
/**
|
|
11
11
|
* If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
|
|
12
|
-
*
|
|
12
|
+
* barcode.
|
|
13
13
|
*/
|
|
14
14
|
provideFallback?:
|
|
15
15
|
| boolean
|
|
@@ -17,7 +17,7 @@ declare namespace sap {
|
|
|
17
17
|
| `{${string}}`;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* The invisible
|
|
20
|
+
* The invisible barcode scanner button is not rendered regardless of the availability of the native scan
|
|
21
21
|
* feature.
|
|
22
22
|
*/
|
|
23
23
|
visible?:
|
|
@@ -34,7 +34,7 @@ declare namespace sap {
|
|
|
34
34
|
| `{${string}}`;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Defines the
|
|
37
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
38
38
|
*/
|
|
39
39
|
dialogTitle?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
40
40
|
|
|
@@ -90,7 +90,7 @@ declare namespace sap {
|
|
|
90
90
|
* @SINCE 1.28.0
|
|
91
91
|
*
|
|
92
92
|
* Please refer to SAP
|
|
93
|
-
* Note 2402585 for information on
|
|
93
|
+
* Note 2402585 for information on Barcode Scanner support in native iOS and Android browsers.
|
|
94
94
|
*
|
|
95
95
|
* Here is an example of how to trigger the scan function of BarcodeScanner:
|
|
96
96
|
* ```javascript
|
|
@@ -116,35 +116,71 @@ declare namespace sap {
|
|
|
116
116
|
*/
|
|
117
117
|
interface BarcodeScanner {
|
|
118
118
|
/**
|
|
119
|
-
* Closes the
|
|
119
|
+
* Closes the barcode input dialog. It can be used to close the dialog before the user presses the OK or
|
|
120
120
|
* the Cancel button (e.g. in the fnLiveUpdate callback function of the {@link sap.ndc.BarcodeScanner.scan}
|
|
121
121
|
* method.)
|
|
122
122
|
*/
|
|
123
123
|
closeScanDialog(): void;
|
|
124
124
|
/**
|
|
125
|
-
* Returns the API info that will be used to scan.
|
|
125
|
+
* Returns the scanner API info that will be used to scan the barcode.
|
|
126
126
|
*
|
|
127
|
-
* @returns The Barcode Scanner API info. (e.g. ZebraEnterpriseBrowser, Cordova, ZXing or unknown)
|
|
127
|
+
* @returns The Barcode Scanner API info. (e.g. ZebraEnterpriseBrowser, Cordova, ZXingCPP, ZXing or unknown)
|
|
128
128
|
*/
|
|
129
129
|
getScanAPIInfo(): string;
|
|
130
130
|
/**
|
|
131
|
-
* Returns the status model of the
|
|
132
|
-
* '`available`' indicating whether or not the bar code scanner feature is available. It can be used to
|
|
133
|
-
* bind to the `visible` property of UI controls which have to be hidden in case the feature is unavailable.
|
|
131
|
+
* Returns the status model of the Barcode Scanner. It is a JSON model which contains below properties:
|
|
134
132
|
*
|
|
135
|
-
*
|
|
133
|
+
* ```javascript
|
|
134
|
+
*
|
|
135
|
+
* {
|
|
136
|
+
* scannerAPI: "ZXingCPP",
|
|
137
|
+
* available: true,
|
|
138
|
+
* deviceId: undefined,
|
|
139
|
+
* devices: [],
|
|
140
|
+
* apis: [
|
|
141
|
+
* {
|
|
142
|
+
* key: "ZebraEnterpriseBrowser",
|
|
143
|
+
* status: "UnAvailable"
|
|
144
|
+
* },
|
|
145
|
+
* {
|
|
146
|
+
* key: "Cordova",
|
|
147
|
+
* status: "UnAvailable"
|
|
148
|
+
* },
|
|
149
|
+
* {
|
|
150
|
+
* key: "ZXingCPP",
|
|
151
|
+
* status: "Available"
|
|
152
|
+
* },
|
|
153
|
+
* {
|
|
154
|
+
* key: "ZXing",
|
|
155
|
+
* status: "Initial"
|
|
156
|
+
* }
|
|
157
|
+
* ]
|
|
158
|
+
* }
|
|
159
|
+
* ```
|
|
160
|
+
* '`scannerAPI`' shows the current scanner API used to scan the Barcode. '`available`' indicating whether
|
|
161
|
+
* or not the Barcode Scanner feature is available. It can be used to bind to the `visible` property of
|
|
162
|
+
* UI controls which have to be hidden in case the feature is unavailable. '`deviceId`' lists the current
|
|
163
|
+
* used camera id of current device. Not working for iOS devices since do not support to get all the cameras.
|
|
164
|
+
* '`devices`' lists all the cameras of current device. Not working for iOS devices since do not support
|
|
165
|
+
* to get all the cameras. '`apis`' lists scanner APIs with status value. Status value can be: "Initial",
|
|
166
|
+
* "Loading", "Available" or "UnAvailable".
|
|
167
|
+
*
|
|
168
|
+
* IMPORTANT: This model just shows current status of Barcode Scanner. Any change to it will not impact
|
|
169
|
+
* Barcode Scanner.
|
|
170
|
+
*
|
|
171
|
+
* @returns The Barcode Scanner Status Model
|
|
136
172
|
*/
|
|
137
173
|
getStatusModel(): sap.ui.model.json.JSONModel;
|
|
138
174
|
/**
|
|
139
|
-
* Starts the
|
|
140
|
-
* to enter the value directly if the
|
|
175
|
+
* Starts the barcode scanning process either showing the live input from the camera or displaying a dialog
|
|
176
|
+
* to enter the value directly if the barcode scanning feature is unavailable.
|
|
141
177
|
*
|
|
142
|
-
* The
|
|
178
|
+
* The barcode scanning is done asynchronously. When it is triggered, this function returns without waiting
|
|
143
179
|
* for the scanning process to finish. The applications have to provide callback functions to react to the
|
|
144
180
|
* events of a successful scanning, an error during scanning, and the live input on the dialog.
|
|
145
181
|
*
|
|
146
182
|
* `fnSuccess` is passed an object with text, format and cancelled properties. Text is the text representation
|
|
147
|
-
* of the
|
|
183
|
+
* of the barcode data, format is the type of the barcode detected, and cancelled is whether or not the
|
|
148
184
|
* user cancelled the scan. `fnError` is given the error, `fnLiveUpdate` is passed the new value entered
|
|
149
185
|
* in the dialog's input field. An example:
|
|
150
186
|
*
|
|
@@ -154,7 +190,7 @@ declare namespace sap {
|
|
|
154
190
|
* sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
|
|
155
191
|
* BarcodeScanner.scan(
|
|
156
192
|
* function (mResult) {
|
|
157
|
-
* alert("We got a
|
|
193
|
+
* alert("We got a barcode\n" +
|
|
158
194
|
* "Result: " + mResult.text + "\n" +
|
|
159
195
|
* "Format: " + mResult.format + "\n" +
|
|
160
196
|
* "Cancelled: " + mResult.cancelled);
|
|
@@ -165,7 +201,7 @@ declare namespace sap {
|
|
|
165
201
|
* function (mParams) {
|
|
166
202
|
* alert("Value entered: " + mParams.newValue);
|
|
167
203
|
* },
|
|
168
|
-
* "Enter Product
|
|
204
|
+
* "Enter Product Barcode",
|
|
169
205
|
* true,
|
|
170
206
|
* 30,
|
|
171
207
|
* 1,
|
|
@@ -188,7 +224,7 @@ declare namespace sap {
|
|
|
188
224
|
*/
|
|
189
225
|
fnLiveUpdate?: Function,
|
|
190
226
|
/**
|
|
191
|
-
* Defines the
|
|
227
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
192
228
|
*/
|
|
193
229
|
dialogTitle?: string,
|
|
194
230
|
/**
|
|
@@ -208,6 +244,19 @@ declare namespace sap {
|
|
|
208
244
|
*/
|
|
209
245
|
keepCameraScan?: boolean
|
|
210
246
|
): void;
|
|
247
|
+
/**
|
|
248
|
+
* Set the configs of the control Barcode Scanner.
|
|
249
|
+
*/
|
|
250
|
+
setConfig(
|
|
251
|
+
/**
|
|
252
|
+
* The options are the configs that will be used to scan. It is a object which contains below key and value:
|
|
253
|
+
* { "enableGS1Header": true, //If set to true, add the symbology identifier (GS1 specification 5.4.3.7.
|
|
254
|
+
* and 5.4.6.4.) as prefix into the result text "deviceId": "string" // The specific camera id to scan the
|
|
255
|
+
* Barcode. If set to "", Barcode Scanner will use default camera. This option is not working for iOS devices
|
|
256
|
+
* since do not support to get all the cameras. }
|
|
257
|
+
*/
|
|
258
|
+
options?: object
|
|
259
|
+
): void;
|
|
211
260
|
/**
|
|
212
261
|
* Set the callback function for the physical scan button.
|
|
213
262
|
*/
|
|
@@ -217,13 +266,30 @@ declare namespace sap {
|
|
|
217
266
|
*/
|
|
218
267
|
fnPhysicalScan?: Function
|
|
219
268
|
): void;
|
|
269
|
+
/**
|
|
270
|
+
* Set the scanner API info that will be used to scan the barcode.
|
|
271
|
+
*
|
|
272
|
+
* IMPORTANT: The status of the scanner API must be **"Available"**(for ZXingCPP and ZXing, status is **NOT
|
|
273
|
+
* "UnAvailable"**), or will return False. Scanner APIs with status value can be got by using {@link #getStatusModel}.
|
|
274
|
+
* By default, Barcode Scanner will select the scanner API(Available) with priority: ZebraEnterpriseBrowser
|
|
275
|
+
* > Cordova > ZXingCPP > ZXing.
|
|
276
|
+
*
|
|
277
|
+
* @returns Return True if set success.
|
|
278
|
+
*/
|
|
279
|
+
setScanAPIInfo(
|
|
280
|
+
/**
|
|
281
|
+
* Defines the scanner API to scan the barcode. Scanner API can be "ZebraEnterpriseBrowser", "Cordova",
|
|
282
|
+
* "ZXingCPP" or "ZXing".
|
|
283
|
+
*/
|
|
284
|
+
scannerAPI?: string
|
|
285
|
+
): boolean;
|
|
220
286
|
}
|
|
221
287
|
const BarcodeScanner: BarcodeScanner;
|
|
222
288
|
|
|
223
289
|
/**
|
|
224
|
-
* A button control (displaying a
|
|
290
|
+
* A button control (displaying a barcode icon) to start the barcode scanning process. If the native scanning
|
|
225
291
|
* feature is not available or camera capability is not granted, the button is either hidden or it provides
|
|
226
|
-
* a fallback by opening a dialog with an input field where the
|
|
292
|
+
* a fallback by opening a dialog with an input field where the barcode can be entered manually.
|
|
227
293
|
*/
|
|
228
294
|
class BarcodeScannerButton extends sap.ui.core.Control {
|
|
229
295
|
/**
|
|
@@ -513,11 +579,11 @@ declare namespace sap {
|
|
|
513
579
|
*/
|
|
514
580
|
mParameters?: {
|
|
515
581
|
/**
|
|
516
|
-
* The the text representation of the
|
|
582
|
+
* The the text representation of the barcode data.
|
|
517
583
|
*/
|
|
518
584
|
text?: string;
|
|
519
585
|
/**
|
|
520
|
-
* The type of the
|
|
586
|
+
* The type of the barcode detected.
|
|
521
587
|
*/
|
|
522
588
|
format?: string;
|
|
523
589
|
/**
|
|
@@ -529,7 +595,7 @@ declare namespace sap {
|
|
|
529
595
|
/**
|
|
530
596
|
* Gets current value of property {@link #getDialogTitle dialogTitle}.
|
|
531
597
|
*
|
|
532
|
-
* Defines the
|
|
598
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
533
599
|
*
|
|
534
600
|
* @returns Value of property `dialogTitle`
|
|
535
601
|
*/
|
|
@@ -566,7 +632,7 @@ declare namespace sap {
|
|
|
566
632
|
* Gets current value of property {@link #getProvideFallback provideFallback}.
|
|
567
633
|
*
|
|
568
634
|
* If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
|
|
569
|
-
*
|
|
635
|
+
* barcode.
|
|
570
636
|
*
|
|
571
637
|
* Default value is `true`.
|
|
572
638
|
*
|
|
@@ -576,7 +642,7 @@ declare namespace sap {
|
|
|
576
642
|
/**
|
|
577
643
|
* Gets current value of property {@link #getVisible visible}.
|
|
578
644
|
*
|
|
579
|
-
* The invisible
|
|
645
|
+
* The invisible barcode scanner button is not rendered regardless of the availability of the native scan
|
|
580
646
|
* feature.
|
|
581
647
|
*
|
|
582
648
|
* Default value is `true`.
|
|
@@ -603,7 +669,7 @@ declare namespace sap {
|
|
|
603
669
|
/**
|
|
604
670
|
* Sets a new value for property {@link #getDialogTitle dialogTitle}.
|
|
605
671
|
*
|
|
606
|
-
* Defines the
|
|
672
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
607
673
|
*
|
|
608
674
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
609
675
|
*
|
|
@@ -668,7 +734,7 @@ declare namespace sap {
|
|
|
668
734
|
* Sets a new value for property {@link #getProvideFallback provideFallback}.
|
|
669
735
|
*
|
|
670
736
|
* If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
|
|
671
|
-
*
|
|
737
|
+
* barcode.
|
|
672
738
|
*
|
|
673
739
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
674
740
|
*
|
|
@@ -685,7 +751,7 @@ declare namespace sap {
|
|
|
685
751
|
/**
|
|
686
752
|
* Sets a new value for property {@link #getVisible visible}.
|
|
687
753
|
*
|
|
688
|
-
* The invisible
|
|
754
|
+
* The invisible barcode scanner button is not rendered regardless of the availability of the native scan
|
|
689
755
|
* feature.
|
|
690
756
|
*
|
|
691
757
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
package/types/sap.ovp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.108.
|
|
1
|
+
// For Library Version: 1.108.2
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -6,6 +6,19 @@ declare namespace sap {
|
|
|
6
6
|
*/
|
|
7
7
|
namespace ovp {
|
|
8
8
|
namespace app {
|
|
9
|
+
interface $ComponentSettings extends sap.fe.core.$AppComponentSettings {
|
|
10
|
+
cardContainerFragment?:
|
|
11
|
+
| string
|
|
12
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
13
|
+
|
|
14
|
+
dashboardLayoutUtil?: /* was: sap.ovp.ui.DashboardLayoutUtil */
|
|
15
|
+
| any
|
|
16
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
17
|
+
| `{${string}}`;
|
|
18
|
+
|
|
19
|
+
designtimePath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
20
|
+
}
|
|
21
|
+
|
|
9
22
|
/**
|
|
10
23
|
* This class contains all extension functions that can be implemented by the application developers in
|
|
11
24
|
* their extension code. Application developers must not override any methods that are not mentioned in
|
|
@@ -43,10 +56,121 @@ declare namespace sap {
|
|
|
43
56
|
getMetadata(): sap.ui.base.Metadata;
|
|
44
57
|
}
|
|
45
58
|
const TemplateBaseExtension: TemplateBaseExtension;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Overview Page Application Component
|
|
62
|
+
*/
|
|
63
|
+
class Component extends sap.fe.core.AppComponent {
|
|
64
|
+
/**
|
|
65
|
+
* Main class used for Overview Page Application Component
|
|
66
|
+
*
|
|
67
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
68
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
69
|
+
* of the syntax of the settings object.
|
|
70
|
+
*/
|
|
71
|
+
constructor();
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Creates a new subclass of class sap.ovp.app.Component with name `sClassName` and enriches it with the
|
|
75
|
+
* information contained in `oClassInfo`.
|
|
76
|
+
*
|
|
77
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.fe.core.AppComponent.extend}.
|
|
78
|
+
*
|
|
79
|
+
* @returns Created class / constructor function
|
|
80
|
+
*/
|
|
81
|
+
static extend<T extends Record<string, unknown>>(
|
|
82
|
+
/**
|
|
83
|
+
* Name of the class being created
|
|
84
|
+
*/
|
|
85
|
+
sClassName: string,
|
|
86
|
+
/**
|
|
87
|
+
* Object literal with information about the class
|
|
88
|
+
*/
|
|
89
|
+
oClassInfo?: sap.ClassInfo<T, sap.ovp.app.Component>,
|
|
90
|
+
/**
|
|
91
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
92
|
+
* used by this class
|
|
93
|
+
*/
|
|
94
|
+
FNMetaImpl?: Function
|
|
95
|
+
): Function;
|
|
96
|
+
/**
|
|
97
|
+
* Returns a metadata object for class sap.ovp.app.Component.
|
|
98
|
+
*
|
|
99
|
+
* @returns Metadata object describing this class
|
|
100
|
+
*/
|
|
101
|
+
static getMetadata(): sap.ui.core.ComponentMetadata;
|
|
102
|
+
/**
|
|
103
|
+
* Gets current value of property {@link #getCardContainerFragment cardContainerFragment}.
|
|
104
|
+
*
|
|
105
|
+
* Default value is `"sap.ovp.app.CardContainer"`.
|
|
106
|
+
*
|
|
107
|
+
* @returns Value of property `cardContainerFragment`
|
|
108
|
+
*/
|
|
109
|
+
getCardContainerFragment(): string;
|
|
110
|
+
/**
|
|
111
|
+
* Gets current value of property {@link #getDashboardLayoutUtil dashboardLayoutUtil}.
|
|
112
|
+
*
|
|
113
|
+
* @returns Value of property `dashboardLayoutUtil`
|
|
114
|
+
*/
|
|
115
|
+
getDashboardLayoutUtil(): /* was: sap.ovp.ui.DashboardLayoutUtil */ any;
|
|
116
|
+
/**
|
|
117
|
+
* Gets current value of property {@link #getDesigntimePath designtimePath}.
|
|
118
|
+
*
|
|
119
|
+
* Default value is `"sap/ovp/ui/OVPWrapper.designtime"`.
|
|
120
|
+
*
|
|
121
|
+
* @returns Value of property `designtimePath`
|
|
122
|
+
*/
|
|
123
|
+
getDesigntimePath(): string;
|
|
124
|
+
/**
|
|
125
|
+
* Sets a new value for property {@link #getCardContainerFragment cardContainerFragment}.
|
|
126
|
+
*
|
|
127
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
128
|
+
*
|
|
129
|
+
* Default value is `"sap.ovp.app.CardContainer"`.
|
|
130
|
+
*
|
|
131
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
132
|
+
*/
|
|
133
|
+
setCardContainerFragment(
|
|
134
|
+
/**
|
|
135
|
+
* New value for property `cardContainerFragment`
|
|
136
|
+
*/
|
|
137
|
+
sCardContainerFragment?: string
|
|
138
|
+
): this;
|
|
139
|
+
/**
|
|
140
|
+
* Sets a new value for property {@link #getDashboardLayoutUtil dashboardLayoutUtil}.
|
|
141
|
+
*
|
|
142
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
143
|
+
*
|
|
144
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
145
|
+
*/
|
|
146
|
+
setDashboardLayoutUtil(
|
|
147
|
+
/**
|
|
148
|
+
* New value for property `dashboardLayoutUtil`
|
|
149
|
+
*/
|
|
150
|
+
sDashboardLayoutUtil: /* was: sap.ovp.ui.DashboardLayoutUtil */ any
|
|
151
|
+
): this;
|
|
152
|
+
/**
|
|
153
|
+
* Sets a new value for property {@link #getDesigntimePath designtimePath}.
|
|
154
|
+
*
|
|
155
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
156
|
+
*
|
|
157
|
+
* Default value is `"sap/ovp/ui/OVPWrapper.designtime"`.
|
|
158
|
+
*
|
|
159
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
160
|
+
*/
|
|
161
|
+
setDesigntimePath(
|
|
162
|
+
/**
|
|
163
|
+
* New value for property `designtimePath`
|
|
164
|
+
*/
|
|
165
|
+
sDesigntimePath?: string
|
|
166
|
+
): this;
|
|
167
|
+
}
|
|
46
168
|
}
|
|
47
169
|
}
|
|
48
170
|
|
|
49
171
|
interface IUI5DefineDependencyNames {
|
|
172
|
+
"sap/ovp/app/Component": undefined;
|
|
173
|
+
|
|
50
174
|
"sap/ovp/app/TemplateBaseExtension": undefined;
|
|
51
175
|
|
|
52
176
|
"sap/ovp/library": undefined;
|
package/types/sap.rules.ui.d.ts
CHANGED
package/types/sap.sac.df.d.ts
CHANGED
package/types/sap.sac.grid.d.ts
CHANGED
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
// For Library Version: 1.108.
|
|
1
|
+
// For Library Version: 1.108.2
|
|
2
|
+
|
|
3
|
+
declare module "sap/suite/ui/commons/collaboration/CollaborationHelper" {
|
|
4
|
+
/**
|
|
5
|
+
* @SINCE 1.108
|
|
6
|
+
*
|
|
7
|
+
* CollaborationHelper for collaboration-related functionalities
|
|
8
|
+
*/
|
|
9
|
+
interface CollaborationHelper {
|
|
10
|
+
/**
|
|
11
|
+
* Determines whether the app is running in the Microsoft Teams application. If the URL parameter "sap-collaboration-teams"
|
|
12
|
+
* is set to true and if the appState is set to lean, the method ensures that the application runs in the
|
|
13
|
+
* Microsoft Teams environment
|
|
14
|
+
*
|
|
15
|
+
* @returns Return the resolved promise with the data if the conditions are met with 'true', else 'false'
|
|
16
|
+
*/
|
|
17
|
+
isTeamsModeActive(): Promise<any>;
|
|
18
|
+
/**
|
|
19
|
+
* Method that checks whether the application is running in the Microsoft Teams environment. If yes, the
|
|
20
|
+
* method disables the Avatar icon on the shell. This is done synchronously. The Method returns a promise.
|
|
21
|
+
* The promise is resolved immediately if the URL is not compact. In case of a compact hash, the method
|
|
22
|
+
* retrieves the original or complete hash and replaces it in the window. The method then resolves the promise.
|
|
23
|
+
*
|
|
24
|
+
* @returns Return the resolved promise when the redirection of the URL is done.
|
|
25
|
+
*/
|
|
26
|
+
processAndExpandHash(): Promise<any>;
|
|
27
|
+
}
|
|
28
|
+
const CollaborationHelper: CollaborationHelper;
|
|
29
|
+
export default CollaborationHelper;
|
|
30
|
+
}
|
|
2
31
|
|
|
3
32
|
declare namespace sap {
|
|
4
33
|
namespace suite {
|
|
@@ -7,6 +36,25 @@ declare namespace sap {
|
|
|
7
36
|
* SAP UI library: sap.suite.ui.commons
|
|
8
37
|
*/
|
|
9
38
|
namespace commons {
|
|
39
|
+
namespace collaboration {
|
|
40
|
+
/**
|
|
41
|
+
* @SINCE 1.108
|
|
42
|
+
*
|
|
43
|
+
* Service container to get the collaboration type.
|
|
44
|
+
*/
|
|
45
|
+
interface ServiceContainer {
|
|
46
|
+
/**
|
|
47
|
+
* Method that returns the collaboration service object as 'active' on the system. Microsoft Teams is supported
|
|
48
|
+
* as a collaboration option and must be enabled using the communication service SAP_COM_0860. The type
|
|
49
|
+
* definition and class are only available internally and are not intended for external consumers.
|
|
50
|
+
*
|
|
51
|
+
* @returns Returns the promise that is resolved to the instance of the collaboration service.
|
|
52
|
+
*/
|
|
53
|
+
getServiceAsync(): Promise<any>;
|
|
54
|
+
}
|
|
55
|
+
const ServiceContainer: ServiceContainer;
|
|
56
|
+
}
|
|
57
|
+
|
|
10
58
|
namespace imageeditor {
|
|
11
59
|
interface $CustomSizeItemSettings
|
|
12
60
|
extends sap.ui.core.$ElementSettings {
|
|
@@ -45807,6 +45855,8 @@ declare namespace sap {
|
|
|
45807
45855
|
|
|
45808
45856
|
"sap/suite/ui/commons/collaboration/CollaborationHelper": undefined;
|
|
45809
45857
|
|
|
45858
|
+
"sap/suite/ui/commons/collaboration/ServiceContainer": undefined;
|
|
45859
|
+
|
|
45810
45860
|
"sap/suite/ui/commons/collaboration/TeamsHelperService": undefined;
|
|
45811
45861
|
|
|
45812
45862
|
"sap/suite/ui/commons/ColumnData": undefined;
|