@sapui5/ts-types 1.84.31 → 1.84.32
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 +28 -1
- package/types/sap.m.d.ts +82 -19
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +148 -28
- package/types/sap.suite.ui.commons.d.ts +1 -1
- 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 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +1 -1
- package/types/sap.uxap.d.ts +6 -7
- 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/package.json
CHANGED
package/types/sap.chart.d.ts
CHANGED
package/types/sap.f.d.ts
CHANGED
package/types/sap.gantt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.84.
|
|
1
|
+
// For Library Version: 1.84.21
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -13166,6 +13166,12 @@ declare namespace sap {
|
|
|
13166
13166
|
*/
|
|
13167
13167
|
mouseWheelZoomType?: sap.gantt.MouseWheelZoomType;
|
|
13168
13168
|
|
|
13169
|
+
/**
|
|
13170
|
+
* If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
|
|
13171
|
+
* global configuration is used.
|
|
13172
|
+
*/
|
|
13173
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13174
|
+
|
|
13169
13175
|
/**
|
|
13170
13176
|
* Entire time span Gantt Chart can display in the chart area We recommend that you set the type of this
|
|
13171
13177
|
* argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function properly.
|
|
@@ -13345,6 +13351,13 @@ declare namespace sap {
|
|
|
13345
13351
|
* Default value is `sap.ui.core.CalendarType.Gregorian`.
|
|
13346
13352
|
*/
|
|
13347
13353
|
getCalendarType(): string;
|
|
13354
|
+
/**
|
|
13355
|
+
* Gets current value of property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
|
|
13356
|
+
*
|
|
13357
|
+
* If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
|
|
13358
|
+
* global configuration is used.
|
|
13359
|
+
*/
|
|
13360
|
+
getCalendarWeekNumbering(): sap.ui.core.date.CalendarWeekNumbering;
|
|
13348
13361
|
/**
|
|
13349
13362
|
* Gets current value of property {@link #getCoarsestTimeLineOption coarsestTimeLineOption}.
|
|
13350
13363
|
*
|
|
@@ -13526,6 +13539,20 @@ declare namespace sap {
|
|
|
13526
13539
|
*/
|
|
13527
13540
|
sCalendarType?: string
|
|
13528
13541
|
): sap.gantt.axistime.AxisTimeStrategyBase;
|
|
13542
|
+
/**
|
|
13543
|
+
* Sets a new value for property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
|
|
13544
|
+
*
|
|
13545
|
+
* If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
|
|
13546
|
+
* global configuration is used.
|
|
13547
|
+
*
|
|
13548
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
13549
|
+
*/
|
|
13550
|
+
setCalendarWeekNumbering(
|
|
13551
|
+
/**
|
|
13552
|
+
* New value for property `calendarWeekNumbering`
|
|
13553
|
+
*/
|
|
13554
|
+
sCalendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering
|
|
13555
|
+
): sap.gantt.axistime.AxisTimeStrategyBase;
|
|
13529
13556
|
/**
|
|
13530
13557
|
* Sets a new value for property {@link #getCoarsestTimeLineOption coarsestTimeLineOption}.
|
|
13531
13558
|
*
|
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.84.
|
|
1
|
+
// For Library Version: 1.84.32
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -15714,6 +15714,13 @@ declare namespace sap {
|
|
|
15714
15714
|
*/
|
|
15715
15715
|
textDirection?: sap.ui.core.TextDirection;
|
|
15716
15716
|
|
|
15717
|
+
/**
|
|
15718
|
+
* @SINCE 1.110
|
|
15719
|
+
*
|
|
15720
|
+
* Еnables overriding of the default state announcement.
|
|
15721
|
+
*/
|
|
15722
|
+
stateAnnouncementText?: string;
|
|
15723
|
+
|
|
15717
15724
|
/**
|
|
15718
15725
|
* @SINCE 1.54
|
|
15719
15726
|
*
|
|
@@ -15723,6 +15730,8 @@ declare namespace sap {
|
|
|
15723
15730
|
|
|
15724
15731
|
/**
|
|
15725
15732
|
* Association to controls / IDs, which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
15733
|
+
*
|
|
15734
|
+
* **Note:** The additional description will take effect only if `active` property is set to `true`.
|
|
15726
15735
|
*/
|
|
15727
15736
|
ariaDescribedBy?: sap.ui.core.Control[] | string[];
|
|
15728
15737
|
}
|
|
@@ -24641,7 +24650,7 @@ declare namespace sap {
|
|
|
24641
24650
|
*/
|
|
24642
24651
|
class Breadcrumbs
|
|
24643
24652
|
extends sap.ui.core.Control
|
|
24644
|
-
implements sap.m.IBreadcrumbs {
|
|
24653
|
+
implements sap.m.IBreadcrumbs, sap.m.IToolbarInteractiveControl {
|
|
24645
24654
|
/**
|
|
24646
24655
|
* Constructor for a new `Breadcrumbs`.
|
|
24647
24656
|
*
|
|
@@ -25545,7 +25554,7 @@ declare namespace sap {
|
|
|
25545
25554
|
*/
|
|
25546
25555
|
class Button
|
|
25547
25556
|
extends sap.ui.core.Control
|
|
25548
|
-
implements sap.ui.core.IFormContent {
|
|
25557
|
+
implements sap.ui.core.IFormContent, sap.m.IToolbarInteractiveControl {
|
|
25549
25558
|
/**
|
|
25550
25559
|
* Constructor for a new `Button`.
|
|
25551
25560
|
*
|
|
@@ -26868,7 +26877,7 @@ declare namespace sap {
|
|
|
26868
26877
|
*/
|
|
26869
26878
|
class CheckBox
|
|
26870
26879
|
extends sap.ui.core.Control
|
|
26871
|
-
implements sap.ui.core.IFormContent {
|
|
26880
|
+
implements sap.ui.core.IFormContent, sap.m.IToolbarInteractiveControl {
|
|
26872
26881
|
/**
|
|
26873
26882
|
* Constructor for a new `CheckBox`.
|
|
26874
26883
|
*
|
|
@@ -28784,7 +28793,9 @@ declare namespace sap {
|
|
|
28784
28793
|
* truncated.
|
|
28785
28794
|
* - On phone devices the combo box option list opens a dialog.
|
|
28786
28795
|
*/
|
|
28787
|
-
class ComboBox
|
|
28796
|
+
class ComboBox
|
|
28797
|
+
extends sap.m.ComboBoxBase
|
|
28798
|
+
implements sap.m.IToolbarInteractiveControl {
|
|
28788
28799
|
/**
|
|
28789
28800
|
* Constructor for a new ComboBox.
|
|
28790
28801
|
*
|
|
@@ -31235,7 +31246,9 @@ declare namespace sap {
|
|
|
31235
31246
|
* **Note:** This control should not be used any longer, instead please use the dedicated `sap.m.DatePicker`,
|
|
31236
31247
|
* `sap.m.TimePicker` or `sap.m.DateTimePicker` control.
|
|
31237
31248
|
*/
|
|
31238
|
-
class DateTimeInput
|
|
31249
|
+
class DateTimeInput
|
|
31250
|
+
extends sap.ui.core.Control
|
|
31251
|
+
implements sap.m.IToolbarInteractiveControl {
|
|
31239
31252
|
/**
|
|
31240
31253
|
* Constructor for a new DateTimeInput.
|
|
31241
31254
|
*
|
|
@@ -37089,7 +37102,9 @@ declare namespace sap {
|
|
|
37089
37102
|
*/
|
|
37090
37103
|
class GenericTag
|
|
37091
37104
|
extends sap.ui.core.Control
|
|
37092
|
-
implements
|
|
37105
|
+
implements
|
|
37106
|
+
sap.m.IOverflowToolbarContent,
|
|
37107
|
+
sap.m.IToolbarInteractiveControl {
|
|
37093
37108
|
/**
|
|
37094
37109
|
* Constructor for a new `sap.m.GenericTag`.
|
|
37095
37110
|
*
|
|
@@ -41810,7 +41825,9 @@ declare namespace sap {
|
|
|
41810
41825
|
* - If a `selectedKey` is bound and the user types before the data is loaded, the user's input will
|
|
41811
41826
|
* be overwritten by the binding update.
|
|
41812
41827
|
*/
|
|
41813
|
-
class Input
|
|
41828
|
+
class Input
|
|
41829
|
+
extends sap.m.InputBase
|
|
41830
|
+
implements sap.m.IToolbarInteractiveControl {
|
|
41814
41831
|
/**
|
|
41815
41832
|
* Constructor for a new `Input`.
|
|
41816
41833
|
*
|
|
@@ -44311,7 +44328,8 @@ declare namespace sap {
|
|
|
44311
44328
|
implements
|
|
44312
44329
|
sap.ui.core.Label,
|
|
44313
44330
|
sap.ui.core.IShrinkable,
|
|
44314
|
-
sap.m.IOverflowToolbarContent
|
|
44331
|
+
sap.m.IOverflowToolbarContent,
|
|
44332
|
+
sap.m.IToolbarInteractiveControl {
|
|
44315
44333
|
/**
|
|
44316
44334
|
* Constructor for a new Label.
|
|
44317
44335
|
*
|
|
@@ -44991,7 +45009,10 @@ declare namespace sap {
|
|
|
44991
45009
|
*/
|
|
44992
45010
|
class Link
|
|
44993
45011
|
extends sap.ui.core.Control
|
|
44994
|
-
implements
|
|
45012
|
+
implements
|
|
45013
|
+
sap.ui.core.IShrinkable,
|
|
45014
|
+
sap.ui.core.IFormContent,
|
|
45015
|
+
sap.m.IToolbarInteractiveControl {
|
|
44995
45016
|
/**
|
|
44996
45017
|
* Constructor for a new `Link`.
|
|
44997
45018
|
*
|
|
@@ -48681,7 +48702,9 @@ declare namespace sap {
|
|
|
48681
48702
|
/**
|
|
48682
48703
|
* The `sap.m.MenuButton` control enables the user to show a hierarchical menu.
|
|
48683
48704
|
*/
|
|
48684
|
-
class MenuButton
|
|
48705
|
+
class MenuButton
|
|
48706
|
+
extends sap.ui.core.Control
|
|
48707
|
+
implements sap.m.IToolbarInteractiveControl {
|
|
48685
48708
|
/**
|
|
48686
48709
|
* Constructor for a new MenuButton.
|
|
48687
48710
|
*
|
|
@@ -59298,6 +59321,14 @@ declare namespace sap {
|
|
|
59298
59321
|
* Default value is `ValueState.None`.
|
|
59299
59322
|
*/
|
|
59300
59323
|
getState(): string;
|
|
59324
|
+
/**
|
|
59325
|
+
* @SINCE 1.110
|
|
59326
|
+
*
|
|
59327
|
+
* Gets current value of property {@link #getStateAnnouncementText stateAnnouncementText}.
|
|
59328
|
+
*
|
|
59329
|
+
* Еnables overriding of the default state announcement.
|
|
59330
|
+
*/
|
|
59331
|
+
getStateAnnouncementText(): string;
|
|
59301
59332
|
/**
|
|
59302
59333
|
* Gets current value of property {@link #getText text}.
|
|
59303
59334
|
*
|
|
@@ -59409,6 +59440,21 @@ declare namespace sap {
|
|
|
59409
59440
|
*/
|
|
59410
59441
|
sValue: string
|
|
59411
59442
|
): sap.m.ObjectStatus;
|
|
59443
|
+
/**
|
|
59444
|
+
* @SINCE 1.110
|
|
59445
|
+
*
|
|
59446
|
+
* Sets a new value for property {@link #getStateAnnouncementText stateAnnouncementText}.
|
|
59447
|
+
*
|
|
59448
|
+
* Еnables overriding of the default state announcement.
|
|
59449
|
+
*
|
|
59450
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
59451
|
+
*/
|
|
59452
|
+
setStateAnnouncementText(
|
|
59453
|
+
/**
|
|
59454
|
+
* New value for property `stateAnnouncementText`
|
|
59455
|
+
*/
|
|
59456
|
+
sStateAnnouncementText: string
|
|
59457
|
+
): sap.m.ObjectStatus;
|
|
59412
59458
|
/**
|
|
59413
59459
|
* Sets a new value for property {@link #getText text}.
|
|
59414
59460
|
*
|
|
@@ -59634,7 +59680,7 @@ declare namespace sap {
|
|
|
59634
59680
|
*/
|
|
59635
59681
|
class OverflowToolbarButton
|
|
59636
59682
|
extends sap.m.Button
|
|
59637
|
-
implements sap.f.IShellBar {
|
|
59683
|
+
implements sap.f.IShellBar, sap.m.IToolbarInteractiveControl {
|
|
59638
59684
|
/**
|
|
59639
59685
|
* Constructor for a new `OverflowToolbarButton`.
|
|
59640
59686
|
*/
|
|
@@ -73523,7 +73569,7 @@ declare namespace sap {
|
|
|
73523
73569
|
*/
|
|
73524
73570
|
class RadioButton
|
|
73525
73571
|
extends sap.ui.core.Control
|
|
73526
|
-
implements sap.ui.core.IFormContent {
|
|
73572
|
+
implements sap.ui.core.IFormContent, sap.m.IToolbarInteractiveControl {
|
|
73527
73573
|
/**
|
|
73528
73574
|
* Constructor for a new RadioButton.
|
|
73529
73575
|
*
|
|
@@ -76419,7 +76465,10 @@ declare namespace sap {
|
|
|
76419
76465
|
*/
|
|
76420
76466
|
class SearchField
|
|
76421
76467
|
extends sap.ui.core.Control
|
|
76422
|
-
implements
|
|
76468
|
+
implements
|
|
76469
|
+
sap.ui.core.IFormContent,
|
|
76470
|
+
sap.f.IShellBar,
|
|
76471
|
+
sap.m.IToolbarInteractiveControl {
|
|
76423
76472
|
/**
|
|
76424
76473
|
* Constructor for a new SearchField.
|
|
76425
76474
|
*
|
|
@@ -77269,7 +77318,10 @@ declare namespace sap {
|
|
|
77269
77318
|
*/
|
|
77270
77319
|
class SegmentedButton
|
|
77271
77320
|
extends sap.ui.core.Control
|
|
77272
|
-
implements
|
|
77321
|
+
implements
|
|
77322
|
+
sap.ui.core.IFormContent,
|
|
77323
|
+
sap.m.IOverflowToolbarContent,
|
|
77324
|
+
sap.m.IToolbarInteractiveControl {
|
|
77273
77325
|
/**
|
|
77274
77326
|
* Constructor for a new `SegmentedButton`.
|
|
77275
77327
|
*
|
|
@@ -78052,6 +78104,7 @@ declare namespace sap {
|
|
|
78052
78104
|
implements
|
|
78053
78105
|
sap.ui.core.IFormContent,
|
|
78054
78106
|
sap.m.IOverflowToolbarContent,
|
|
78107
|
+
sap.m.IToolbarInteractiveControl,
|
|
78055
78108
|
sap.f.IShellBar {
|
|
78056
78109
|
/**
|
|
78057
78110
|
* Constructor for a new `sap.m.Select`.
|
|
@@ -88488,7 +88541,10 @@ declare namespace sap {
|
|
|
88488
88541
|
*/
|
|
88489
88542
|
class Switch
|
|
88490
88543
|
extends sap.ui.core.Control
|
|
88491
|
-
implements
|
|
88544
|
+
implements
|
|
88545
|
+
sap.ui.core.IFormContent,
|
|
88546
|
+
sap.m.IOverflowToolbarContent,
|
|
88547
|
+
sap.m.IToolbarInteractiveControl {
|
|
88492
88548
|
/**
|
|
88493
88549
|
* Constructor for a new Switch.
|
|
88494
88550
|
*
|
|
@@ -91976,7 +92032,10 @@ declare namespace sap {
|
|
|
91976
92032
|
*/
|
|
91977
92033
|
class Text
|
|
91978
92034
|
extends sap.ui.core.Control
|
|
91979
|
-
implements
|
|
92035
|
+
implements
|
|
92036
|
+
sap.ui.core.IShrinkable,
|
|
92037
|
+
sap.ui.core.IFormContent,
|
|
92038
|
+
sap.m.IToolbarInteractiveControl {
|
|
91980
92039
|
/**
|
|
91981
92040
|
* Constructor for a new Text.
|
|
91982
92041
|
*
|
|
@@ -94403,7 +94462,9 @@ declare namespace sap {
|
|
|
94403
94462
|
* - If the text is inside a text block.
|
|
94404
94463
|
* - If The text is inside a form element.
|
|
94405
94464
|
*/
|
|
94406
|
-
class Title
|
|
94465
|
+
class Title
|
|
94466
|
+
extends sap.ui.core.Control
|
|
94467
|
+
implements sap.ui.core.IShrinkable, sap.m.IToolbarInteractiveControl {
|
|
94407
94468
|
/**
|
|
94408
94469
|
* Constructor for a new Title control.
|
|
94409
94470
|
*
|
|
@@ -94671,7 +94732,9 @@ declare namespace sap {
|
|
|
94671
94732
|
* Clicking or tapping a `ToggleButton` changes its state to `pressed`. The button returns to its initial
|
|
94672
94733
|
* state when the user clicks or taps it again.
|
|
94673
94734
|
*/
|
|
94674
|
-
class ToggleButton
|
|
94735
|
+
class ToggleButton
|
|
94736
|
+
extends sap.m.Button
|
|
94737
|
+
implements sap.m.IToolbarInteractiveControl {
|
|
94675
94738
|
/**
|
|
94676
94739
|
* Constructor for a new `ToggleButton`.
|
|
94677
94740
|
*
|
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.32
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -9,7 +9,7 @@ declare namespace sap {
|
|
|
9
9
|
* @SINCE 1.28.0
|
|
10
10
|
*
|
|
11
11
|
* Please refer to SAP
|
|
12
|
-
* Note 2402585 for information on
|
|
12
|
+
* Note 2402585 for information on Barcode Scanner support in native iOS and Android browsers.
|
|
13
13
|
*
|
|
14
14
|
* Here is an example of how to trigger the scan function of BarcodeScanner:
|
|
15
15
|
* ```javascript
|
|
@@ -22,30 +22,80 @@ declare namespace sap {
|
|
|
22
22
|
* );
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* The Barcode Scanner control integrates with the laser scanner when the page is loaded in the Enterprise
|
|
28
|
+
* Browser on a Zebra device. To enable laser scanning with a Zebra device, two JavaScript files (ebapi.js
|
|
29
|
+
* and eb.barcode.js) need to be loaded during runtime by the Enterprise Browser.
|
|
30
|
+
* - Your company admin / IT should configure the Barcode API settings in the Enterprise Browser config.xml
|
|
31
|
+
* file using mobile device management (MDM). Refer to CustomDOMElements
|
|
32
|
+
* for detailed information (recommended).
|
|
33
|
+
* - Developers can load these files directly into an HTML file. Refer to Enabling the API for detailed
|
|
34
|
+
* information.
|
|
25
35
|
*/
|
|
26
36
|
namespace BarcodeScanner {
|
|
27
37
|
/**
|
|
28
|
-
* Closes the
|
|
38
|
+
* Closes the barcode input dialog. It can be used to close the dialog before the user presses the OK or
|
|
29
39
|
* the Cancel button (e.g. in the fnLiveUpdate callback function of the {@link sap.ndc.BarcodeScanner.scan}
|
|
30
40
|
* method.)
|
|
31
41
|
*/
|
|
32
42
|
function closeScanDialog(): void;
|
|
33
43
|
/**
|
|
34
|
-
* Returns the
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
* Returns the scanner API info that will be used to scan the barcode.
|
|
45
|
+
*/
|
|
46
|
+
function getScanAPIInfo(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the status model of the Barcode Scanner. It is a JSON model which contains below properties:
|
|
49
|
+
*
|
|
50
|
+
* ```javascript
|
|
51
|
+
*
|
|
52
|
+
* {
|
|
53
|
+
* scannerAPI: "ZXingCPP",
|
|
54
|
+
* available: true,
|
|
55
|
+
* deviceId: undefined,
|
|
56
|
+
* devices: [],
|
|
57
|
+
* apis: [
|
|
58
|
+
* {
|
|
59
|
+
* key: "ZebraEnterpriseBrowser",
|
|
60
|
+
* status: "UnAvailable"
|
|
61
|
+
* },
|
|
62
|
+
* {
|
|
63
|
+
* key: "Cordova",
|
|
64
|
+
* status: "UnAvailable"
|
|
65
|
+
* },
|
|
66
|
+
* {
|
|
67
|
+
* key: "ZXingCPP",
|
|
68
|
+
* status: "Available"
|
|
69
|
+
* },
|
|
70
|
+
* {
|
|
71
|
+
* key: "ZXing",
|
|
72
|
+
* status: "Initial"
|
|
73
|
+
* }
|
|
74
|
+
* ]
|
|
75
|
+
* }
|
|
76
|
+
* ```
|
|
77
|
+
* '`scannerAPI`' shows the current scanner API used to scan the Barcode. '`available`' indicating whether
|
|
78
|
+
* or not the Barcode Scanner feature is available. It can be used to bind to the `visible` property of
|
|
79
|
+
* UI controls which have to be hidden in case the feature is unavailable. '`deviceId`' lists the current
|
|
80
|
+
* used camera id of current device. Not working for iOS devices since do not support to get all the cameras.
|
|
81
|
+
* '`devices`' lists all the cameras of current device. Not working for iOS devices since do not support
|
|
82
|
+
* to get all the cameras. '`apis`' lists scanner APIs with status value. Status value can be: "Initial",
|
|
83
|
+
* "Loading", "Available" or "UnAvailable".
|
|
84
|
+
*
|
|
85
|
+
* IMPORTANT: This model just shows current status of Barcode Scanner. Any change to it will not impact
|
|
86
|
+
* Barcode Scanner.
|
|
37
87
|
*/
|
|
38
88
|
function getStatusModel(): sap.ui.model.json.JSONModel;
|
|
39
89
|
/**
|
|
40
|
-
* Starts the
|
|
41
|
-
* to enter the value directly if the
|
|
90
|
+
* Starts the barcode scanning process either showing the live input from the camera or displaying a dialog
|
|
91
|
+
* to enter the value directly if the barcode scanning feature is unavailable.
|
|
42
92
|
*
|
|
43
|
-
* The
|
|
93
|
+
* The barcode scanning is done asynchronously. When it is triggered, this function returns without waiting
|
|
44
94
|
* for the scanning process to finish. The applications have to provide callback functions to react to the
|
|
45
95
|
* events of a successful scanning, an error during scanning, and the live input on the dialog.
|
|
46
96
|
*
|
|
47
97
|
* `fnSuccess` is passed an object with text, format and cancelled properties. Text is the text representation
|
|
48
|
-
* of the
|
|
98
|
+
* of the barcode data, format is the type of the barcode detected, and cancelled is whether or not the
|
|
49
99
|
* user cancelled the scan. `fnError` is given the error, `fnLiveUpdate` is passed the new value entered
|
|
50
100
|
* in the dialog's input field. An example:
|
|
51
101
|
*
|
|
@@ -55,7 +105,7 @@ declare namespace sap {
|
|
|
55
105
|
* sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
|
|
56
106
|
* BarcodeScanner.scan(
|
|
57
107
|
* function (mResult) {
|
|
58
|
-
* alert("We got a
|
|
108
|
+
* alert("We got a barcode\n" +
|
|
59
109
|
* "Result: " + mResult.text + "\n" +
|
|
60
110
|
* "Format: " + mResult.format + "\n" +
|
|
61
111
|
* "Cancelled: " + mResult.cancelled);
|
|
@@ -66,10 +116,11 @@ declare namespace sap {
|
|
|
66
116
|
* function (mParams) {
|
|
67
117
|
* alert("Value entered: " + mParams.newValue);
|
|
68
118
|
* },
|
|
69
|
-
* "Enter Product
|
|
119
|
+
* "Enter Product Barcode",
|
|
70
120
|
* true,
|
|
71
121
|
* 30,
|
|
72
|
-
* 1
|
|
122
|
+
* 1,
|
|
123
|
+
* false
|
|
73
124
|
* );
|
|
74
125
|
* });
|
|
75
126
|
* ```
|
|
@@ -88,7 +139,7 @@ declare namespace sap {
|
|
|
88
139
|
*/
|
|
89
140
|
fnLiveUpdate?: Function,
|
|
90
141
|
/**
|
|
91
|
-
* Defines the
|
|
142
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
92
143
|
*/
|
|
93
144
|
dialogTitle?: string,
|
|
94
145
|
/**
|
|
@@ -102,20 +153,61 @@ declare namespace sap {
|
|
|
102
153
|
/**
|
|
103
154
|
* Defines the zoom of the camera. This parameter is not supported on iOS.
|
|
104
155
|
*/
|
|
105
|
-
zoom?: number
|
|
156
|
+
zoom?: number,
|
|
157
|
+
/**
|
|
158
|
+
* Flag, which defines whether the camera should be used for scanning in Zebra Enterprise Browser.
|
|
159
|
+
*/
|
|
160
|
+
keepCameraScan?: boolean
|
|
106
161
|
): void;
|
|
162
|
+
/**
|
|
163
|
+
* Set the configs of the control Barcode Scanner.
|
|
164
|
+
*/
|
|
165
|
+
function setConfig(
|
|
166
|
+
/**
|
|
167
|
+
* The options are the configs that will be used to scan. It is a object which contains below key and value:
|
|
168
|
+
* { "enableGS1Header": true, //If set to true, add the symbology identifier (GS1 specification 5.4.3.7.
|
|
169
|
+
* and 5.4.6.4.) as prefix into the result text "deviceId": "string" // The specific camera id to scan the
|
|
170
|
+
* Barcode. If set to "", Barcode Scanner will use default camera. This option is not working for iOS devices
|
|
171
|
+
* since do not support to get all the cameras. }
|
|
172
|
+
*/
|
|
173
|
+
options?: object
|
|
174
|
+
): void;
|
|
175
|
+
/**
|
|
176
|
+
* Set the callback function for the physical scan button.
|
|
177
|
+
*/
|
|
178
|
+
function setPhysicalScan(
|
|
179
|
+
/**
|
|
180
|
+
* Function to be called when the scanning is done by pressing physical scan button.
|
|
181
|
+
*/
|
|
182
|
+
fnPhysicalScan?: Function
|
|
183
|
+
): void;
|
|
184
|
+
/**
|
|
185
|
+
* Set the scanner API info that will be used to scan the barcode.
|
|
186
|
+
*
|
|
187
|
+
* IMPORTANT: The status of the scanner API must be **"Available"**(for ZXingCPP and ZXing, status is **NOT
|
|
188
|
+
* "UnAvailable"**), or will return False. Scanner APIs with status value can be got by using {@link #getStatusModel}.
|
|
189
|
+
* By default, Barcode Scanner will select the scanner API(Available) with priority: ZebraEnterpriseBrowser
|
|
190
|
+
* > Cordova > ZXingCPP > ZXing.
|
|
191
|
+
*/
|
|
192
|
+
function setScanAPIInfo(
|
|
193
|
+
/**
|
|
194
|
+
* Defines the scanner API to scan the barcode. Scanner API can be "ZebraEnterpriseBrowser", "Cordova",
|
|
195
|
+
* "ZXingCPP" or "ZXing".
|
|
196
|
+
*/
|
|
197
|
+
scannerAPI?: string
|
|
198
|
+
): boolean;
|
|
107
199
|
}
|
|
108
200
|
|
|
109
201
|
interface $BarcodeScannerButtonSettings
|
|
110
202
|
extends sap.ui.core.$ControlSettings {
|
|
111
203
|
/**
|
|
112
204
|
* If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
|
|
113
|
-
*
|
|
205
|
+
* barcode.
|
|
114
206
|
*/
|
|
115
207
|
provideFallback?: boolean;
|
|
116
208
|
|
|
117
209
|
/**
|
|
118
|
-
* The invisible
|
|
210
|
+
* The invisible barcode scanner button is not rendered regardless of the availability of the native scan
|
|
119
211
|
* feature.
|
|
120
212
|
*/
|
|
121
213
|
visible?: boolean;
|
|
@@ -126,7 +218,7 @@ declare namespace sap {
|
|
|
126
218
|
width?: sap.ui.core.CSSSize;
|
|
127
219
|
|
|
128
220
|
/**
|
|
129
|
-
* Defines the
|
|
221
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
130
222
|
*/
|
|
131
223
|
dialogTitle?: string;
|
|
132
224
|
|
|
@@ -145,6 +237,11 @@ declare namespace sap {
|
|
|
145
237
|
*/
|
|
146
238
|
zoom?: number;
|
|
147
239
|
|
|
240
|
+
/**
|
|
241
|
+
* If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
|
|
242
|
+
*/
|
|
243
|
+
keepCameraScan?: boolean;
|
|
244
|
+
|
|
148
245
|
/**
|
|
149
246
|
* Event is fired when the scanning is finished or cancelled
|
|
150
247
|
*/
|
|
@@ -161,9 +258,9 @@ declare namespace sap {
|
|
|
161
258
|
inputLiveUpdate?: Function;
|
|
162
259
|
}
|
|
163
260
|
/**
|
|
164
|
-
* A button control (displaying a
|
|
261
|
+
* A button control (displaying a barcode icon) to start the barcode scanning process. If the native scanning
|
|
165
262
|
* feature is not available or camera capability is not granted, the button is either hidden or it provides
|
|
166
|
-
* a fallback by opening a dialog with an input field where the
|
|
263
|
+
* a fallback by opening a dialog with an input field where the barcode can be entered manually.
|
|
167
264
|
*/
|
|
168
265
|
class BarcodeScannerButton extends sap.ui.core.Control {
|
|
169
266
|
/**
|
|
@@ -354,11 +451,11 @@ declare namespace sap {
|
|
|
354
451
|
*/
|
|
355
452
|
mParameters?: {
|
|
356
453
|
/**
|
|
357
|
-
* The the text representation of the
|
|
454
|
+
* The the text representation of the barcode data.
|
|
358
455
|
*/
|
|
359
456
|
text?: string;
|
|
360
457
|
/**
|
|
361
|
-
* The type of the
|
|
458
|
+
* The type of the barcode detected.
|
|
362
459
|
*/
|
|
363
460
|
format?: string;
|
|
364
461
|
/**
|
|
@@ -370,7 +467,7 @@ declare namespace sap {
|
|
|
370
467
|
/**
|
|
371
468
|
* Gets current value of property {@link #getDialogTitle dialogTitle}.
|
|
372
469
|
*
|
|
373
|
-
* Defines the
|
|
470
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
374
471
|
*/
|
|
375
472
|
getDialogTitle(): string;
|
|
376
473
|
/**
|
|
@@ -379,6 +476,14 @@ declare namespace sap {
|
|
|
379
476
|
* Defines the frame rate of the camera.
|
|
380
477
|
*/
|
|
381
478
|
getFrameRate(): number;
|
|
479
|
+
/**
|
|
480
|
+
* Gets current value of property {@link #getKeepCameraScan keepCameraScan}.
|
|
481
|
+
*
|
|
482
|
+
* If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
|
|
483
|
+
*
|
|
484
|
+
* Default value is `false`.
|
|
485
|
+
*/
|
|
486
|
+
getKeepCameraScan(): boolean;
|
|
382
487
|
/**
|
|
383
488
|
* Returns a metadata object for class sap.ndc.BarcodeScannerButton.
|
|
384
489
|
*/
|
|
@@ -396,7 +501,7 @@ declare namespace sap {
|
|
|
396
501
|
* Gets current value of property {@link #getProvideFallback provideFallback}.
|
|
397
502
|
*
|
|
398
503
|
* If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
|
|
399
|
-
*
|
|
504
|
+
* barcode.
|
|
400
505
|
*
|
|
401
506
|
* Default value is `true`.
|
|
402
507
|
*/
|
|
@@ -404,7 +509,7 @@ declare namespace sap {
|
|
|
404
509
|
/**
|
|
405
510
|
* Gets current value of property {@link #getVisible visible}.
|
|
406
511
|
*
|
|
407
|
-
* The invisible
|
|
512
|
+
* The invisible barcode scanner button is not rendered regardless of the availability of the native scan
|
|
408
513
|
* feature.
|
|
409
514
|
*
|
|
410
515
|
* Default value is `true`.
|
|
@@ -426,7 +531,7 @@ declare namespace sap {
|
|
|
426
531
|
/**
|
|
427
532
|
* Sets a new value for property {@link #getDialogTitle dialogTitle}.
|
|
428
533
|
*
|
|
429
|
-
* Defines the
|
|
534
|
+
* Defines the barcode input dialog title. If unset, a predefined title will be used.
|
|
430
535
|
*
|
|
431
536
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
432
537
|
*/
|
|
@@ -449,6 +554,21 @@ declare namespace sap {
|
|
|
449
554
|
*/
|
|
450
555
|
fFrameRate: number
|
|
451
556
|
): sap.ndc.BarcodeScannerButton;
|
|
557
|
+
/**
|
|
558
|
+
* Sets a new value for property {@link #getKeepCameraScan keepCameraScan}.
|
|
559
|
+
*
|
|
560
|
+
* If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
|
|
561
|
+
*
|
|
562
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
563
|
+
*
|
|
564
|
+
* Default value is `false`.
|
|
565
|
+
*/
|
|
566
|
+
setKeepCameraScan(
|
|
567
|
+
/**
|
|
568
|
+
* New value for property `keepCameraScan`
|
|
569
|
+
*/
|
|
570
|
+
bKeepCameraScan?: boolean
|
|
571
|
+
): sap.ndc.BarcodeScannerButton;
|
|
452
572
|
/**
|
|
453
573
|
* Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
|
|
454
574
|
*
|
|
@@ -468,7 +588,7 @@ declare namespace sap {
|
|
|
468
588
|
* Sets a new value for property {@link #getProvideFallback provideFallback}.
|
|
469
589
|
*
|
|
470
590
|
* If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
|
|
471
|
-
*
|
|
591
|
+
* barcode.
|
|
472
592
|
*
|
|
473
593
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
474
594
|
*
|
|
@@ -483,7 +603,7 @@ declare namespace sap {
|
|
|
483
603
|
/**
|
|
484
604
|
* Sets a new value for property {@link #getVisible visible}.
|
|
485
605
|
*
|
|
486
|
-
* The invisible
|
|
606
|
+
* The invisible barcode scanner button is not rendered regardless of the availability of the native scan
|
|
487
607
|
* feature.
|
|
488
608
|
*
|
|
489
609
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.comp.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare module "sap/base/util/Version";
|
|
|
18
18
|
declare module "sap/ui/performance/Measurement.Entry";
|
|
19
19
|
|
|
20
20
|
declare module "sap/ui/util/Storage.Type";
|
|
21
|
-
// For Library Version: 1.84.
|
|
21
|
+
// For Library Version: 1.84.32
|
|
22
22
|
/**
|
|
23
23
|
* Root namespace for JavaScript functionality provided by SAP SE.
|
|
24
24
|
*
|
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.84.
|
|
1
|
+
// For Library Version: 1.84.32
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
|
|
@@ -75,7 +75,7 @@ class Spreadsheet{
|
|
|
75
75
|
* - `workbook.context` - Context object that will be applied to the generated file. It may contain the
|
|
76
76
|
* following fields:
|
|
77
77
|
* - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
|
|
78
|
-
* - `version` (string) - Application version that creates the XLSX document (default: "1.84.
|
|
78
|
+
* - `version` (string) - Application version that creates the XLSX document (default: "1.84.32")
|
|
79
79
|
* - `title` (string) - Title of the XLSX document (NOT the filename)
|
|
80
80
|
* - `modifiedBy` (string) - User context for the XLSX document
|
|
81
81
|
* - `sheetName` (string) - The label of the data sheet
|
|
@@ -161,7 +161,7 @@ class Spreadsheet{
|
|
|
161
161
|
* columns: aColumns,
|
|
162
162
|
* context: {
|
|
163
163
|
* application: 'Debug Test Application',
|
|
164
|
-
* version: '1.84.
|
|
164
|
+
* version: '1.84.32',
|
|
165
165
|
* title: 'Some random title',
|
|
166
166
|
* modifiedBy: 'John Doe',
|
|
167
167
|
* 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.84.
|
|
1
|
+
// For Library Version: 1.84.32
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -237,7 +237,7 @@ declare namespace sap {
|
|
|
237
237
|
static getType(): string;
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
|
-
* @SINCE 1.84.
|
|
240
|
+
* @SINCE 1.84.32
|
|
241
241
|
*
|
|
242
242
|
* Defines the Audiences.
|
|
243
243
|
*/
|
|
@@ -256,7 +256,7 @@ declare namespace sap {
|
|
|
256
256
|
Internal,
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
|
-
* @SINCE 1.84.
|
|
259
|
+
* @SINCE 1.84.32
|
|
260
260
|
*
|
|
261
261
|
* Issue Categories.
|
|
262
262
|
*/
|
|
@@ -311,7 +311,7 @@ declare namespace sap {
|
|
|
311
311
|
Usage,
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
314
|
-
* @SINCE 1.84.
|
|
314
|
+
* @SINCE 1.84.32
|
|
315
315
|
*
|
|
316
316
|
* Analysis history formats.
|
|
317
317
|
*/
|
|
@@ -326,7 +326,7 @@ declare namespace sap {
|
|
|
326
326
|
String,
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
|
-
* @SINCE 1.84.
|
|
329
|
+
* @SINCE 1.84.32
|
|
330
330
|
*
|
|
331
331
|
* Defines severity types.
|
|
332
332
|
*/
|
|
@@ -345,7 +345,7 @@ declare namespace sap {
|
|
|
345
345
|
Medium,
|
|
346
346
|
}
|
|
347
347
|
/**
|
|
348
|
-
* @SINCE 1.84.
|
|
348
|
+
* @SINCE 1.84.32
|
|
349
349
|
*
|
|
350
350
|
* Contains the available system presets.
|
|
351
351
|
*/
|
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.ui.vbm.d.ts
CHANGED
package/types/sap.ushell.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.84.
|
|
1
|
+
// For Library Version: 1.84.32
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -5529,12 +5529,6 @@ declare namespace sap {
|
|
|
5529
5529
|
*/
|
|
5530
5530
|
sImportance?: sap.uxap.Importance
|
|
5531
5531
|
): sap.uxap.ObjectPageSectionBase;
|
|
5532
|
-
/**
|
|
5533
|
-
* Returns the DOM Element that should get the focus.
|
|
5534
|
-
*
|
|
5535
|
-
* To be overwritten by the specific control method.
|
|
5536
|
-
*/
|
|
5537
|
-
setInvisibleTextLabelValue(): sap.uxap.ObjectPageSectionBase;
|
|
5538
5532
|
/**
|
|
5539
5533
|
* Sets a new value for property {@link #getTitle title}.
|
|
5540
5534
|
*
|
|
@@ -5591,6 +5585,11 @@ declare namespace sap {
|
|
|
5591
5585
|
*/
|
|
5592
5586
|
bVisible?: boolean
|
|
5593
5587
|
): sap.uxap.ObjectPageSectionBase;
|
|
5588
|
+
/**
|
|
5589
|
+
* Performs the update of the invisible text label. This method is called for example when the section title
|
|
5590
|
+
* is changed.
|
|
5591
|
+
*/
|
|
5592
|
+
updateInvisibleTextLabelValue(): sap.uxap.ObjectPageSectionBase;
|
|
5594
5593
|
}
|
|
5595
5594
|
/**
|
|
5596
5595
|
* @SINCE 1.26
|
package/types/sap.viz.d.ts
CHANGED
package/types/sap.zen.dsh.d.ts
CHANGED