@sapui5/ts-types 1.84.31 → 1.84.33

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/types/sap.chart.d.ts +1 -1
  3. package/types/sap.f.d.ts +1 -1
  4. package/types/sap.fe.core.d.ts +1 -1
  5. package/types/sap.fe.macros.d.ts +1 -1
  6. package/types/sap.fe.plugins.d.ts +1 -1
  7. package/types/sap.fe.templates.d.ts +1 -1
  8. package/types/sap.fe.test.d.ts +1 -1
  9. package/types/sap.fe.tools.d.ts +1 -1
  10. package/types/sap.gantt.d.ts +28 -1
  11. package/types/sap.m.d.ts +83 -23
  12. package/types/sap.makit.d.ts +1 -1
  13. package/types/sap.me.d.ts +1 -1
  14. package/types/sap.ndc.d.ts +148 -28
  15. package/types/sap.suite.ui.commons.d.ts +1 -1
  16. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  17. package/types/sap.suite.ui.microchart.d.ts +1 -1
  18. package/types/sap.tnt.d.ts +1 -1
  19. package/types/sap.ui.codeeditor.d.ts +1 -1
  20. package/types/sap.ui.commons.d.ts +1 -1
  21. package/types/sap.ui.comp.d.ts +1 -1
  22. package/types/sap.ui.core.d.ts +1 -1
  23. package/types/sap.ui.dt.d.ts +1 -1
  24. package/types/sap.ui.export.d.ts +3 -3
  25. package/types/sap.ui.fl.d.ts +1 -1
  26. package/types/sap.ui.integration.d.ts +1 -1
  27. package/types/sap.ui.layout.d.ts +1 -1
  28. package/types/sap.ui.mdc.d.ts +1 -1
  29. package/types/sap.ui.richtexteditor.d.ts +1 -1
  30. package/types/sap.ui.rta.d.ts +1 -1
  31. package/types/sap.ui.suite.d.ts +1 -1
  32. package/types/sap.ui.support.d.ts +6 -6
  33. package/types/sap.ui.table.d.ts +1 -1
  34. package/types/sap.ui.testrecorder.d.ts +1 -1
  35. package/types/sap.ui.unified.d.ts +1 -1
  36. package/types/sap.ui.ux3.d.ts +1 -1
  37. package/types/sap.ui.vbm.d.ts +1 -1
  38. package/types/sap.ui.vk.d.ts +1 -1
  39. package/types/sap.uiext.inbox.d.ts +1 -1
  40. package/types/sap.ushell.d.ts +1 -1
  41. package/types/sap.uxap.d.ts +6 -7
  42. package/types/sap.viz.d.ts +1 -1
  43. package/types/sap.zen.commons.d.ts +1 -1
  44. package/types/sap.zen.crosstab.d.ts +1 -1
  45. package/types/sap.zen.dsh.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types",
3
- "version": "1.84.31",
3
+ "version": "1.84.33",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.10
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.10
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.10
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.10
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.10
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.10
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.20
1
+ // For Library Version: 1.84.22
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.31
1
+ // For Library Version: 1.84.34
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
  }
@@ -22312,10 +22321,7 @@ declare namespace sap {
22312
22321
  sURL: string,
22313
22322
  /**
22314
22323
  * Opens URL in a new browser window or tab. Please note that, opening a new window/tab can be ignored by
22315
- * browsers (e.g. on Windows Phone) or by popup blockers. NOTE: On Windows Phone the URL will be enforced
22316
- * to open in the same window if opening in a new window/tab fails (because of a known system restriction
22317
- * on cross-window communications). Use sap.m.Link instead (with blank target) if you necessarily need to
22318
- * open URL in a new window.
22324
+ * browsers (e.g. on Windows Phone) or by popup blockers.
22319
22325
  */
22320
22326
  bNewWindow?: boolean
22321
22327
  ): void;
@@ -24641,7 +24647,7 @@ declare namespace sap {
24641
24647
  */
24642
24648
  class Breadcrumbs
24643
24649
  extends sap.ui.core.Control
24644
- implements sap.m.IBreadcrumbs {
24650
+ implements sap.m.IBreadcrumbs, sap.m.IToolbarInteractiveControl {
24645
24651
  /**
24646
24652
  * Constructor for a new `Breadcrumbs`.
24647
24653
  *
@@ -25545,7 +25551,7 @@ declare namespace sap {
25545
25551
  */
25546
25552
  class Button
25547
25553
  extends sap.ui.core.Control
25548
- implements sap.ui.core.IFormContent {
25554
+ implements sap.ui.core.IFormContent, sap.m.IToolbarInteractiveControl {
25549
25555
  /**
25550
25556
  * Constructor for a new `Button`.
25551
25557
  *
@@ -26868,7 +26874,7 @@ declare namespace sap {
26868
26874
  */
26869
26875
  class CheckBox
26870
26876
  extends sap.ui.core.Control
26871
- implements sap.ui.core.IFormContent {
26877
+ implements sap.ui.core.IFormContent, sap.m.IToolbarInteractiveControl {
26872
26878
  /**
26873
26879
  * Constructor for a new `CheckBox`.
26874
26880
  *
@@ -28784,7 +28790,9 @@ declare namespace sap {
28784
28790
  * truncated.
28785
28791
  * - On phone devices the combo box option list opens a dialog.
28786
28792
  */
28787
- class ComboBox extends sap.m.ComboBoxBase {
28793
+ class ComboBox
28794
+ extends sap.m.ComboBoxBase
28795
+ implements sap.m.IToolbarInteractiveControl {
28788
28796
  /**
28789
28797
  * Constructor for a new ComboBox.
28790
28798
  *
@@ -31235,7 +31243,9 @@ declare namespace sap {
31235
31243
  * **Note:** This control should not be used any longer, instead please use the dedicated `sap.m.DatePicker`,
31236
31244
  * `sap.m.TimePicker` or `sap.m.DateTimePicker` control.
31237
31245
  */
31238
- class DateTimeInput extends sap.ui.core.Control {
31246
+ class DateTimeInput
31247
+ extends sap.ui.core.Control
31248
+ implements sap.m.IToolbarInteractiveControl {
31239
31249
  /**
31240
31250
  * Constructor for a new DateTimeInput.
31241
31251
  *
@@ -37089,7 +37099,9 @@ declare namespace sap {
37089
37099
  */
37090
37100
  class GenericTag
37091
37101
  extends sap.ui.core.Control
37092
- implements sap.m.IOverflowToolbarContent {
37102
+ implements
37103
+ sap.m.IOverflowToolbarContent,
37104
+ sap.m.IToolbarInteractiveControl {
37093
37105
  /**
37094
37106
  * Constructor for a new `sap.m.GenericTag`.
37095
37107
  *
@@ -41810,7 +41822,9 @@ declare namespace sap {
41810
41822
  * - If a `selectedKey` is bound and the user types before the data is loaded, the user's input will
41811
41823
  * be overwritten by the binding update.
41812
41824
  */
41813
- class Input extends sap.m.InputBase {
41825
+ class Input
41826
+ extends sap.m.InputBase
41827
+ implements sap.m.IToolbarInteractiveControl {
41814
41828
  /**
41815
41829
  * Constructor for a new `Input`.
41816
41830
  *
@@ -44311,7 +44325,8 @@ declare namespace sap {
44311
44325
  implements
44312
44326
  sap.ui.core.Label,
44313
44327
  sap.ui.core.IShrinkable,
44314
- sap.m.IOverflowToolbarContent {
44328
+ sap.m.IOverflowToolbarContent,
44329
+ sap.m.IToolbarInteractiveControl {
44315
44330
  /**
44316
44331
  * Constructor for a new Label.
44317
44332
  *
@@ -44991,7 +45006,10 @@ declare namespace sap {
44991
45006
  */
44992
45007
  class Link
44993
45008
  extends sap.ui.core.Control
44994
- implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent {
45009
+ implements
45010
+ sap.ui.core.IShrinkable,
45011
+ sap.ui.core.IFormContent,
45012
+ sap.m.IToolbarInteractiveControl {
44995
45013
  /**
44996
45014
  * Constructor for a new `Link`.
44997
45015
  *
@@ -48681,7 +48699,9 @@ declare namespace sap {
48681
48699
  /**
48682
48700
  * The `sap.m.MenuButton` control enables the user to show a hierarchical menu.
48683
48701
  */
48684
- class MenuButton extends sap.ui.core.Control {
48702
+ class MenuButton
48703
+ extends sap.ui.core.Control
48704
+ implements sap.m.IToolbarInteractiveControl {
48685
48705
  /**
48686
48706
  * Constructor for a new MenuButton.
48687
48707
  *
@@ -59298,6 +59318,14 @@ declare namespace sap {
59298
59318
  * Default value is `ValueState.None`.
59299
59319
  */
59300
59320
  getState(): string;
59321
+ /**
59322
+ * @SINCE 1.110
59323
+ *
59324
+ * Gets current value of property {@link #getStateAnnouncementText stateAnnouncementText}.
59325
+ *
59326
+ * Еnables overriding of the default state announcement.
59327
+ */
59328
+ getStateAnnouncementText(): string;
59301
59329
  /**
59302
59330
  * Gets current value of property {@link #getText text}.
59303
59331
  *
@@ -59409,6 +59437,21 @@ declare namespace sap {
59409
59437
  */
59410
59438
  sValue: string
59411
59439
  ): sap.m.ObjectStatus;
59440
+ /**
59441
+ * @SINCE 1.110
59442
+ *
59443
+ * Sets a new value for property {@link #getStateAnnouncementText stateAnnouncementText}.
59444
+ *
59445
+ * Еnables overriding of the default state announcement.
59446
+ *
59447
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
59448
+ */
59449
+ setStateAnnouncementText(
59450
+ /**
59451
+ * New value for property `stateAnnouncementText`
59452
+ */
59453
+ sStateAnnouncementText: string
59454
+ ): sap.m.ObjectStatus;
59412
59455
  /**
59413
59456
  * Sets a new value for property {@link #getText text}.
59414
59457
  *
@@ -59634,7 +59677,7 @@ declare namespace sap {
59634
59677
  */
59635
59678
  class OverflowToolbarButton
59636
59679
  extends sap.m.Button
59637
- implements sap.f.IShellBar {
59680
+ implements sap.f.IShellBar, sap.m.IToolbarInteractiveControl {
59638
59681
  /**
59639
59682
  * Constructor for a new `OverflowToolbarButton`.
59640
59683
  */
@@ -73523,7 +73566,7 @@ declare namespace sap {
73523
73566
  */
73524
73567
  class RadioButton
73525
73568
  extends sap.ui.core.Control
73526
- implements sap.ui.core.IFormContent {
73569
+ implements sap.ui.core.IFormContent, sap.m.IToolbarInteractiveControl {
73527
73570
  /**
73528
73571
  * Constructor for a new RadioButton.
73529
73572
  *
@@ -76419,7 +76462,10 @@ declare namespace sap {
76419
76462
  */
76420
76463
  class SearchField
76421
76464
  extends sap.ui.core.Control
76422
- implements sap.ui.core.IFormContent, sap.f.IShellBar {
76465
+ implements
76466
+ sap.ui.core.IFormContent,
76467
+ sap.f.IShellBar,
76468
+ sap.m.IToolbarInteractiveControl {
76423
76469
  /**
76424
76470
  * Constructor for a new SearchField.
76425
76471
  *
@@ -77269,7 +77315,10 @@ declare namespace sap {
77269
77315
  */
77270
77316
  class SegmentedButton
77271
77317
  extends sap.ui.core.Control
77272
- implements sap.ui.core.IFormContent, sap.m.IOverflowToolbarContent {
77318
+ implements
77319
+ sap.ui.core.IFormContent,
77320
+ sap.m.IOverflowToolbarContent,
77321
+ sap.m.IToolbarInteractiveControl {
77273
77322
  /**
77274
77323
  * Constructor for a new `SegmentedButton`.
77275
77324
  *
@@ -78052,6 +78101,7 @@ declare namespace sap {
78052
78101
  implements
78053
78102
  sap.ui.core.IFormContent,
78054
78103
  sap.m.IOverflowToolbarContent,
78104
+ sap.m.IToolbarInteractiveControl,
78055
78105
  sap.f.IShellBar {
78056
78106
  /**
78057
78107
  * Constructor for a new `sap.m.Select`.
@@ -88488,7 +88538,10 @@ declare namespace sap {
88488
88538
  */
88489
88539
  class Switch
88490
88540
  extends sap.ui.core.Control
88491
- implements sap.ui.core.IFormContent, sap.m.IOverflowToolbarContent {
88541
+ implements
88542
+ sap.ui.core.IFormContent,
88543
+ sap.m.IOverflowToolbarContent,
88544
+ sap.m.IToolbarInteractiveControl {
88492
88545
  /**
88493
88546
  * Constructor for a new Switch.
88494
88547
  *
@@ -91976,7 +92029,10 @@ declare namespace sap {
91976
92029
  */
91977
92030
  class Text
91978
92031
  extends sap.ui.core.Control
91979
- implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent {
92032
+ implements
92033
+ sap.ui.core.IShrinkable,
92034
+ sap.ui.core.IFormContent,
92035
+ sap.m.IToolbarInteractiveControl {
91980
92036
  /**
91981
92037
  * Constructor for a new Text.
91982
92038
  *
@@ -94403,7 +94459,9 @@ declare namespace sap {
94403
94459
  * - If the text is inside a text block.
94404
94460
  * - If The text is inside a form element.
94405
94461
  */
94406
- class Title extends sap.ui.core.Control implements sap.ui.core.IShrinkable {
94462
+ class Title
94463
+ extends sap.ui.core.Control
94464
+ implements sap.ui.core.IShrinkable, sap.m.IToolbarInteractiveControl {
94407
94465
  /**
94408
94466
  * Constructor for a new Title control.
94409
94467
  *
@@ -94671,7 +94729,9 @@ declare namespace sap {
94671
94729
  * Clicking or tapping a `ToggleButton` changes its state to `pressed`. The button returns to its initial
94672
94730
  * state when the user clicks or taps it again.
94673
94731
  */
94674
- class ToggleButton extends sap.m.Button {
94732
+ class ToggleButton
94733
+ extends sap.m.Button
94734
+ implements sap.m.IToolbarInteractiveControl {
94675
94735
  /**
94676
94736
  * Constructor for a new `ToggleButton`.
94677
94737
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
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 barcode scanner support in native iOS and Android browsers.
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 bar code input dialog. It can be used to close the dialog before the user presses the OK or
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 status model of the BarcodeScanner. It is a JSON model which contains a single boolean property
35
- * '`available`' indicating whether or not the bar code scanner feature is available. It can be used to
36
- * bind to the `visible` property of UI controls which have to be hidden in case the feature is unavailable.
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 bar code scanning process either showing the live input from the camera or displaying a dialog
41
- * to enter the value directly if the bar code scanning feature is not available.
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 bar code scanning is done asynchronously. When it is triggered, this function returns without waiting
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 bar code data, format is the type of the bar code detected, and cancelled is whether or not 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 bar code\n" +
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 Bar Code",
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 bar code input dialog title. If unset, a predefined title will be used.
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
- * bar code.
205
+ * barcode.
114
206
  */
115
207
  provideFallback?: boolean;
116
208
 
117
209
  /**
118
- * The invisible bar code scanner button is not rendered regardless of the availability of the native scan
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 bar code input dialog title. If unset, a predefined title will be used.
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 bar code icon) to start the bar code scanning process. If the native scanning
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 bar code can be entered manually.
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 bar code data.
454
+ * The the text representation of the barcode data.
358
455
  */
359
456
  text?: string;
360
457
  /**
361
- * The type of the bar code detected.
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 bar code input dialog title. If unset, a predefined title will be used.
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
- * bar code.
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 bar code scanner button is not rendered regardless of the availability of the native scan
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 bar code input dialog title. If unset, a predefined title will be used.
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
- * bar code.
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 bar code scanner button is not rendered regardless of the availability of the native scan
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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.16
1
+ // For Library Version: 1.84.18
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.25
1
+ // For Library Version: 1.84.27
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -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.31
21
+ // For Library Version: 1.84.34
22
22
  /**
23
23
  * Root namespace for JavaScript functionality provided by SAP SE.
24
24
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
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.31")
78
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.84.34")
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.31',
164
+ * version: '1.84.34',
165
165
  * title: 'Some random title',
166
166
  * modifiedBy: 'John Doe',
167
167
  * metaSheetName: 'Custom metadata',
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
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.31
240
+ * @SINCE 1.84.34
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.31
259
+ * @SINCE 1.84.34
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.31
314
+ * @SINCE 1.84.34
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.31
329
+ * @SINCE 1.84.34
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.31
348
+ * @SINCE 1.84.34
349
349
  *
350
350
  * Contains the available system presets.
351
351
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.12
1
+ // For Library Version: 1.84.15
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.12
1
+ // For Library Version: 1.84.13
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.30
1
+ // For Library Version: 1.84.32
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
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
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.31
1
+ // For Library Version: 1.84.34
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.23
1
+ // For Library Version: 1.84.25
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.23
1
+ // For Library Version: 1.84.25
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.23
1
+ // For Library Version: 1.84.25
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {