@sapui5/ts-types 1.96.16 → 1.96.17

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 (48) hide show
  1. package/package.json +1 -1
  2. package/types/sap.chart.d.ts +1 -1
  3. package/types/sap.esh.search.ui.d.ts +1 -1
  4. package/types/sap.f.d.ts +1 -1
  5. package/types/sap.fe.common.d.ts +1 -1
  6. package/types/sap.fe.core.d.ts +1 -1
  7. package/types/sap.fe.navigation.d.ts +1 -1
  8. package/types/sap.fe.plugins.d.ts +1 -1
  9. package/types/sap.fe.semantics.d.ts +1 -1
  10. package/types/sap.fe.templates.d.ts +1 -1
  11. package/types/sap.fe.test.d.ts +1 -1
  12. package/types/sap.fe.tools.d.ts +1 -1
  13. package/types/sap.gantt.d.ts +30 -1
  14. package/types/sap.m.d.ts +111 -19
  15. package/types/sap.makit.d.ts +1 -1
  16. package/types/sap.me.d.ts +1 -1
  17. package/types/sap.ndc.d.ts +148 -28
  18. package/types/sap.sac.grid.d.ts +1 -1
  19. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  20. package/types/sap.suite.ui.microchart.d.ts +1 -1
  21. package/types/sap.tnt.d.ts +1 -1
  22. package/types/sap.ui.codeeditor.d.ts +1 -1
  23. package/types/sap.ui.commons.d.ts +1 -1
  24. package/types/sap.ui.comp.d.ts +1 -1
  25. package/types/sap.ui.core.d.ts +1 -1
  26. package/types/sap.ui.dt.d.ts +1 -1
  27. package/types/sap.ui.export.d.ts +3 -3
  28. package/types/sap.ui.fl.d.ts +1 -1
  29. package/types/sap.ui.integration.d.ts +1 -1
  30. package/types/sap.ui.layout.d.ts +1 -1
  31. package/types/sap.ui.mdc.d.ts +1 -1
  32. package/types/sap.ui.richtexteditor.d.ts +1 -1
  33. package/types/sap.ui.rta.d.ts +1 -1
  34. package/types/sap.ui.suite.d.ts +1 -1
  35. package/types/sap.ui.support.d.ts +6 -6
  36. package/types/sap.ui.table.d.ts +1 -1
  37. package/types/sap.ui.testrecorder.d.ts +1 -1
  38. package/types/sap.ui.unified.d.ts +1 -1
  39. package/types/sap.ui.ux3.d.ts +1 -1
  40. package/types/sap.ui.vbm.d.ts +1 -1
  41. package/types/sap.uiext.inbox.d.ts +1 -1
  42. package/types/sap.ushell.d.ts +1 -1
  43. package/types/sap.ushell_abap.d.ts +1 -1
  44. package/types/sap.uxap.d.ts +1 -1
  45. package/types/sap.viz.d.ts +1 -1
  46. package/types/sap.zen.commons.d.ts +1 -1
  47. package/types/sap.zen.crosstab.d.ts +1 -1
  48. 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.96.16",
3
+ "version": "1.96.17",
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.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.2
1
+ // For Library Version: 1.96.3
2
2
 
3
3
  declare namespace sap {
4
4
  namespace esh {
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {}
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.10
1
+ // For Library Version: 1.96.11
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -13906,6 +13906,14 @@ declare namespace sap {
13906
13906
  | sap.gantt.MouseWheelZoomType
13907
13907
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
13908
13908
 
13909
+ /**
13910
+ * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
13911
+ * global configuration is used.
13912
+ */
13913
+ calendarWeekNumbering?:
13914
+ | sap.ui.core.date.CalendarWeekNumbering
13915
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
13916
+
13909
13917
  /**
13910
13918
  * Entire time span Gantt Chart can display in the chart area We recommend that you set the type of this
13911
13919
  * argument to `sap.gantt.config.TimeHorizon`. Otherwise some properties you set may not function properly.
@@ -14104,6 +14112,13 @@ declare namespace sap {
14104
14112
  * Default value is `sap.ui.core.CalendarType.Gregorian`.
14105
14113
  */
14106
14114
  getCalendarType(): string;
14115
+ /**
14116
+ * Gets current value of property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
14117
+ *
14118
+ * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
14119
+ * global configuration is used.
14120
+ */
14121
+ getCalendarWeekNumbering(): sap.ui.core.date.CalendarWeekNumbering;
14107
14122
  /**
14108
14123
  * Gets current value of property {@link #getCoarsestTimeLineOption coarsestTimeLineOption}.
14109
14124
  *
@@ -14280,6 +14295,20 @@ declare namespace sap {
14280
14295
  */
14281
14296
  sCalendarType?: string
14282
14297
  ): this;
14298
+ /**
14299
+ * Sets a new value for property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
14300
+ *
14301
+ * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
14302
+ * global configuration is used.
14303
+ *
14304
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
14305
+ */
14306
+ setCalendarWeekNumbering(
14307
+ /**
14308
+ * New value for property `calendarWeekNumbering`
14309
+ */
14310
+ sCalendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering
14311
+ ): this;
14283
14312
  /**
14284
14313
  * Sets a new value for property {@link #getCoarsestTimeLineOption coarsestTimeLineOption}.
14285
14314
  *
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -17966,6 +17966,15 @@ declare namespace sap {
17966
17966
  | sap.m.EmptyIndicatorMode
17967
17967
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
17968
17968
 
17969
+ /**
17970
+ * @SINCE 1.110
17971
+ *
17972
+ * Еnables overriding of the default state announcement.
17973
+ */
17974
+ stateAnnouncementText?:
17975
+ | string
17976
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
17977
+
17969
17978
  /**
17970
17979
  * Association to controls / IDs, which describe this control (see WAI-ARIA attribute aria-describedby).
17971
17980
  */
@@ -29007,8 +29016,11 @@ declare namespace sap {
29007
29016
  */
29008
29017
  class Breadcrumbs
29009
29018
  extends sap.ui.core.Control
29010
- implements sap.m.IBreadcrumbs {
29019
+ implements
29020
+ sap.m.IBreadcrumbs,
29021
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
29011
29022
  __implements__sap_m_IBreadcrumbs: boolean;
29023
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
29012
29024
  /**
29013
29025
  * Constructor for a new `Breadcrumbs`.
29014
29026
  *
@@ -29983,8 +29995,11 @@ declare namespace sap {
29983
29995
  */
29984
29996
  class Button
29985
29997
  extends sap.ui.core.Control
29986
- implements sap.ui.core.IFormContent {
29998
+ implements
29999
+ sap.ui.core.IFormContent,
30000
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
29987
30001
  __implements__sap_ui_core_IFormContent: boolean;
30002
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
29988
30003
  /**
29989
30004
  * Constructor for a new `Button`.
29990
30005
  *
@@ -31353,9 +31368,13 @@ declare namespace sap {
31353
31368
  */
31354
31369
  class CheckBox
31355
31370
  extends sap.ui.core.Control
31356
- implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent {
31371
+ implements
31372
+ sap.ui.core.IFormContent,
31373
+ sap.ui.core.ISemanticFormContent,
31374
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
31357
31375
  __implements__sap_ui_core_IFormContent: boolean;
31358
31376
  __implements__sap_ui_core_ISemanticFormContent: boolean;
31377
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
31359
31378
  /**
31360
31379
  * Constructor for a new `CheckBox`.
31361
31380
  *
@@ -33562,7 +33581,10 @@ declare namespace sap {
33562
33581
  * truncated.
33563
33582
  * - On phone devices the combo box option list opens a dialog.
33564
33583
  */
33565
- class ComboBox extends sap.m.ComboBoxBase {
33584
+ class ComboBox
33585
+ extends sap.m.ComboBoxBase
33586
+ implements /* was: sap.m.IToolbarInteractiveControl */ Object {
33587
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
33566
33588
  /**
33567
33589
  * Constructor for a new ComboBox.
33568
33590
  *
@@ -36439,7 +36461,10 @@ declare namespace sap {
36439
36461
  * **Note:** This control should not be used any longer, instead please use the dedicated `sap.m.DatePicker`,
36440
36462
  * `sap.m.TimePicker` or `sap.m.DateTimePicker` control.
36441
36463
  */
36442
- class DateTimeInput extends sap.ui.core.Control {
36464
+ class DateTimeInput
36465
+ extends sap.ui.core.Control
36466
+ implements /* was: sap.m.IToolbarInteractiveControl */ Object {
36467
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
36443
36468
  /**
36444
36469
  * Constructor for a new DateTimeInput.
36445
36470
  *
@@ -44105,8 +44130,11 @@ declare namespace sap {
44105
44130
  */
44106
44131
  class GenericTag
44107
44132
  extends sap.ui.core.Control
44108
- implements sap.m.IOverflowToolbarContent {
44133
+ implements
44134
+ sap.m.IOverflowToolbarContent,
44135
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
44109
44136
  __implements__sap_m_IOverflowToolbarContent: boolean;
44137
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
44110
44138
  /**
44111
44139
  * Constructor for a new `sap.m.GenericTag`.
44112
44140
  *
@@ -49391,7 +49419,10 @@ declare namespace sap {
49391
49419
  * - If a `selectedKey` is bound and the user types before the data is loaded, the user's input will
49392
49420
  * be overwritten by the binding update.
49393
49421
  */
49394
- class Input extends sap.m.InputBase {
49422
+ class Input
49423
+ extends sap.m.InputBase
49424
+ implements /* was: sap.m.IToolbarInteractiveControl */ Object {
49425
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
49395
49426
  /**
49396
49427
  * Constructor for a new `Input`.
49397
49428
  *
@@ -52046,10 +52077,12 @@ declare namespace sap {
52046
52077
  implements
52047
52078
  sap.ui.core.Label,
52048
52079
  sap.ui.core.IShrinkable,
52049
- sap.m.IOverflowToolbarContent {
52080
+ sap.m.IOverflowToolbarContent,
52081
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
52050
52082
  __implements__sap_ui_core_Label: boolean;
52051
52083
  __implements__sap_ui_core_IShrinkable: boolean;
52052
52084
  __implements__sap_m_IOverflowToolbarContent: boolean;
52085
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
52053
52086
  /**
52054
52087
  * Constructor for a new Label.
52055
52088
  *
@@ -52764,10 +52797,12 @@ declare namespace sap {
52764
52797
  implements
52765
52798
  sap.ui.core.IShrinkable,
52766
52799
  sap.ui.core.IFormContent,
52767
- sap.ui.core.ITitleContent {
52800
+ sap.ui.core.ITitleContent,
52801
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
52768
52802
  __implements__sap_ui_core_IShrinkable: boolean;
52769
52803
  __implements__sap_ui_core_IFormContent: boolean;
52770
52804
  __implements__sap_ui_core_ITitleContent: boolean;
52805
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
52771
52806
  /**
52772
52807
  * Constructor for a new `Link`.
52773
52808
  *
@@ -56665,7 +56700,10 @@ declare namespace sap {
56665
56700
  /**
56666
56701
  * The `sap.m.MenuButton` control enables the user to show a hierarchical menu.
56667
56702
  */
56668
- class MenuButton extends sap.ui.core.Control {
56703
+ class MenuButton
56704
+ extends sap.ui.core.Control
56705
+ implements /* was: sap.m.IToolbarInteractiveControl */ Object {
56706
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
56669
56707
  /**
56670
56708
  * Constructor for a new MenuButton.
56671
56709
  *
@@ -67931,6 +67969,14 @@ declare namespace sap {
67931
67969
  * Default value is `ValueState.None`.
67932
67970
  */
67933
67971
  getState(): string;
67972
+ /**
67973
+ * @SINCE 1.110
67974
+ *
67975
+ * Gets current value of property {@link #getStateAnnouncementText stateAnnouncementText}.
67976
+ *
67977
+ * Еnables overriding of the default state announcement.
67978
+ */
67979
+ getStateAnnouncementText(): string;
67934
67980
  /**
67935
67981
  * Gets current value of property {@link #getText text}.
67936
67982
  *
@@ -68059,6 +68105,21 @@ declare namespace sap {
68059
68105
  */
68060
68106
  sValue: string
68061
68107
  ): this;
68108
+ /**
68109
+ * @SINCE 1.110
68110
+ *
68111
+ * Sets a new value for property {@link #getStateAnnouncementText stateAnnouncementText}.
68112
+ *
68113
+ * Еnables overriding of the default state announcement.
68114
+ *
68115
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
68116
+ */
68117
+ setStateAnnouncementText(
68118
+ /**
68119
+ * New value for property `stateAnnouncementText`
68120
+ */
68121
+ sStateAnnouncementText: string
68122
+ ): this;
68062
68123
  /**
68063
68124
  * Sets a new value for property {@link #getText text}.
68064
68125
  *
@@ -68280,9 +68341,13 @@ declare namespace sap {
68280
68341
  */
68281
68342
  class OverflowToolbarButton
68282
68343
  extends sap.m.Button
68283
- implements sap.f.IShellBar, sap.m.IOverflowToolbarContent {
68344
+ implements
68345
+ sap.f.IShellBar,
68346
+ sap.m.IOverflowToolbarContent,
68347
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
68284
68348
  __implements__sap_f_IShellBar: boolean;
68285
68349
  __implements__sap_m_IOverflowToolbarContent: boolean;
68350
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
68286
68351
  /**
68287
68352
  * Constructor for a new `OverflowToolbarButton`.
68288
68353
  */
@@ -82754,8 +82819,11 @@ declare namespace sap {
82754
82819
  */
82755
82820
  class RadioButton
82756
82821
  extends sap.ui.core.Control
82757
- implements sap.ui.core.IFormContent {
82822
+ implements
82823
+ sap.ui.core.IFormContent,
82824
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
82758
82825
  __implements__sap_ui_core_IFormContent: boolean;
82826
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
82759
82827
  /**
82760
82828
  * Constructor for a new RadioButton.
82761
82829
  *
@@ -85753,9 +85821,13 @@ declare namespace sap {
85753
85821
  */
85754
85822
  class SearchField
85755
85823
  extends sap.ui.core.Control
85756
- implements sap.ui.core.IFormContent, sap.f.IShellBar {
85824
+ implements
85825
+ sap.ui.core.IFormContent,
85826
+ sap.f.IShellBar,
85827
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
85757
85828
  __implements__sap_ui_core_IFormContent: boolean;
85758
85829
  __implements__sap_f_IShellBar: boolean;
85830
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
85759
85831
  /**
85760
85832
  * Constructor for a new SearchField.
85761
85833
  *
@@ -86626,9 +86698,13 @@ declare namespace sap {
86626
86698
  */
86627
86699
  class SegmentedButton
86628
86700
  extends sap.ui.core.Control
86629
- implements sap.ui.core.IFormContent, sap.m.IOverflowToolbarContent {
86701
+ implements
86702
+ sap.ui.core.IFormContent,
86703
+ sap.m.IOverflowToolbarContent,
86704
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
86630
86705
  __implements__sap_ui_core_IFormContent: boolean;
86631
86706
  __implements__sap_m_IOverflowToolbarContent: boolean;
86707
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
86632
86708
  /**
86633
86709
  * Constructor for a new `SegmentedButton`.
86634
86710
  *
@@ -87436,10 +87512,12 @@ declare namespace sap {
87436
87512
  sap.ui.core.IFormContent,
87437
87513
  sap.ui.core.ISemanticFormContent,
87438
87514
  sap.m.IOverflowToolbarContent,
87515
+ /* was: sap.m.IToolbarInteractiveControl */ Object,
87439
87516
  sap.f.IShellBar {
87440
87517
  __implements__sap_ui_core_IFormContent: boolean;
87441
87518
  __implements__sap_ui_core_ISemanticFormContent: boolean;
87442
87519
  __implements__sap_m_IOverflowToolbarContent: boolean;
87520
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
87443
87521
  __implements__sap_f_IShellBar: boolean;
87444
87522
  /**
87445
87523
  * Constructor for a new `sap.m.Select`.
@@ -98785,9 +98863,13 @@ declare namespace sap {
98785
98863
  */
98786
98864
  class Switch
98787
98865
  extends sap.ui.core.Control
98788
- implements sap.ui.core.IFormContent, sap.m.IOverflowToolbarContent {
98866
+ implements
98867
+ sap.ui.core.IFormContent,
98868
+ sap.m.IOverflowToolbarContent,
98869
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
98789
98870
  __implements__sap_ui_core_IFormContent: boolean;
98790
98871
  __implements__sap_m_IOverflowToolbarContent: boolean;
98872
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
98791
98873
  /**
98792
98874
  * Constructor for a new Switch.
98793
98875
  *
@@ -102489,10 +102571,12 @@ declare namespace sap {
102489
102571
  implements
102490
102572
  sap.ui.core.IShrinkable,
102491
102573
  sap.ui.core.IFormContent,
102492
- sap.ui.core.ISemanticFormContent {
102574
+ sap.ui.core.ISemanticFormContent,
102575
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
102493
102576
  __implements__sap_ui_core_IShrinkable: boolean;
102494
102577
  __implements__sap_ui_core_IFormContent: boolean;
102495
102578
  __implements__sap_ui_core_ISemanticFormContent: boolean;
102579
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
102496
102580
  /**
102497
102581
  * Constructor for a new Text.
102498
102582
  *
@@ -105225,8 +105309,13 @@ declare namespace sap {
105225
105309
  * - If the text is inside a text block.
105226
105310
  * - If The text is inside a form element.
105227
105311
  */
105228
- class Title extends sap.ui.core.Control implements sap.ui.core.IShrinkable {
105312
+ class Title
105313
+ extends sap.ui.core.Control
105314
+ implements
105315
+ sap.ui.core.IShrinkable,
105316
+ /* was: sap.m.IToolbarInteractiveControl */ Object {
105229
105317
  __implements__sap_ui_core_IShrinkable: boolean;
105318
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
105230
105319
  /**
105231
105320
  * Constructor for a new Title control.
105232
105321
  *
@@ -105577,7 +105666,10 @@ declare namespace sap {
105577
105666
  * Clicking or tapping a `ToggleButton` changes its state to `pressed`. The button returns to its initial
105578
105667
  * state when the user clicks or taps it again.
105579
105668
  */
105580
- class ToggleButton extends sap.m.Button {
105669
+ class ToggleButton
105670
+ extends sap.m.Button
105671
+ implements /* was: sap.m.IToolbarInteractiveControl */ Object {
105672
+ __implements__sap_m_IToolbarInteractiveControl: boolean;
105581
105673
  /**
105582
105674
  * Constructor for a new `ToggleButton`.
105583
105675
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
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.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -9,12 +9,12 @@ 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
- * bar code.
12
+ * barcode.
13
13
  */
14
14
  provideFallback?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
15
15
 
16
16
  /**
17
- * The invisible bar code scanner button is not rendered regardless of the availability of the native scan
17
+ * The invisible barcode scanner button is not rendered regardless of the availability of the native scan
18
18
  * feature.
19
19
  */
20
20
  visible?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
@@ -27,7 +27,7 @@ declare namespace sap {
27
27
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
28
28
 
29
29
  /**
30
- * Defines the bar code input dialog title. If unset, a predefined title will be used.
30
+ * Defines the barcode input dialog title. If unset, a predefined title will be used.
31
31
  */
32
32
  dialogTitle?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
33
33
 
@@ -48,6 +48,11 @@ declare namespace sap {
48
48
  */
49
49
  zoom?: float | sap.ui.base.ManagedObject.PropertyBindingInfo;
50
50
 
51
+ /**
52
+ * If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
53
+ */
54
+ keepCameraScan?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
55
+
51
56
  /**
52
57
  * Event is fired when the scanning is finished or cancelled
53
58
  */
@@ -68,7 +73,7 @@ declare namespace sap {
68
73
  * @SINCE 1.28.0
69
74
  *
70
75
  * Please refer to SAP
71
- * Note 2402585 for information on barcode scanner support in native iOS and Android browsers.
76
+ * Note 2402585 for information on Barcode Scanner support in native iOS and Android browsers.
72
77
  *
73
78
  * Here is an example of how to trigger the scan function of BarcodeScanner:
74
79
  * ```javascript
@@ -81,30 +86,80 @@ declare namespace sap {
81
86
  * );
82
87
  * });
83
88
  * ```
89
+ *
90
+ *
91
+ * The Barcode Scanner control integrates with the laser scanner when the page is loaded in the Enterprise
92
+ * Browser on a Zebra device. To enable laser scanning with a Zebra device, two JavaScript files (ebapi.js
93
+ * and eb.barcode.js) need to be loaded during runtime by the Enterprise Browser.
94
+ * - Your company admin / IT should configure the Barcode API settings in the Enterprise Browser config.xml
95
+ * file using mobile device management (MDM). Refer to CustomDOMElements
96
+ * for detailed information (recommended).
97
+ * - Developers can load these files directly into an HTML file. Refer to Enabling the API for detailed
98
+ * information.
84
99
  */
85
100
  interface BarcodeScanner {
86
101
  /**
87
- * Closes the bar code input dialog. It can be used to close the dialog before the user presses the OK or
102
+ * Closes the barcode input dialog. It can be used to close the dialog before the user presses the OK or
88
103
  * the Cancel button (e.g. in the fnLiveUpdate callback function of the {@link sap.ndc.BarcodeScanner.scan}
89
104
  * method.)
90
105
  */
91
106
  closeScanDialog(): void;
92
107
  /**
93
- * Returns the status model of the BarcodeScanner. It is a JSON model which contains a single boolean property
94
- * '`available`' indicating whether or not the bar code scanner feature is available. It can be used to
95
- * bind to the `visible` property of UI controls which have to be hidden in case the feature is unavailable.
108
+ * Returns the scanner API info that will be used to scan the barcode.
109
+ */
110
+ getScanAPIInfo(): string;
111
+ /**
112
+ * Returns the status model of the Barcode Scanner. It is a JSON model which contains below properties:
113
+ *
114
+ * ```javascript
115
+ *
116
+ * {
117
+ * scannerAPI: "ZXingCPP",
118
+ * available: true,
119
+ * deviceId: undefined,
120
+ * devices: [],
121
+ * apis: [
122
+ * {
123
+ * key: "ZebraEnterpriseBrowser",
124
+ * status: "UnAvailable"
125
+ * },
126
+ * {
127
+ * key: "Cordova",
128
+ * status: "UnAvailable"
129
+ * },
130
+ * {
131
+ * key: "ZXingCPP",
132
+ * status: "Available"
133
+ * },
134
+ * {
135
+ * key: "ZXing",
136
+ * status: "Initial"
137
+ * }
138
+ * ]
139
+ * }
140
+ * ```
141
+ * '`scannerAPI`' shows the current scanner API used to scan the Barcode. '`available`' indicating whether
142
+ * or not the Barcode Scanner feature is available. It can be used to bind to the `visible` property of
143
+ * UI controls which have to be hidden in case the feature is unavailable. '`deviceId`' lists the current
144
+ * used camera id of current device. Not working for iOS devices since do not support to get all the cameras.
145
+ * '`devices`' lists all the cameras of current device. Not working for iOS devices since do not support
146
+ * to get all the cameras. '`apis`' lists scanner APIs with status value. Status value can be: "Initial",
147
+ * "Loading", "Available" or "UnAvailable".
148
+ *
149
+ * IMPORTANT: This model just shows current status of Barcode Scanner. Any change to it will not impact
150
+ * Barcode Scanner.
96
151
  */
97
152
  getStatusModel(): sap.ui.model.json.JSONModel;
98
153
  /**
99
- * Starts the bar code scanning process either showing the live input from the camera or displaying a dialog
100
- * to enter the value directly if the bar code scanning feature is not available.
154
+ * Starts the barcode scanning process either showing the live input from the camera or displaying a dialog
155
+ * to enter the value directly if the barcode scanning feature is unavailable.
101
156
  *
102
- * The bar code scanning is done asynchronously. When it is triggered, this function returns without waiting
157
+ * The barcode scanning is done asynchronously. When it is triggered, this function returns without waiting
103
158
  * for the scanning process to finish. The applications have to provide callback functions to react to the
104
159
  * events of a successful scanning, an error during scanning, and the live input on the dialog.
105
160
  *
106
161
  * `fnSuccess` is passed an object with text, format and cancelled properties. Text is the text representation
107
- * of the bar code data, format is the type of the bar code detected, and cancelled is whether or not the
162
+ * of the barcode data, format is the type of the barcode detected, and cancelled is whether or not the
108
163
  * user cancelled the scan. `fnError` is given the error, `fnLiveUpdate` is passed the new value entered
109
164
  * in the dialog's input field. An example:
110
165
  *
@@ -114,7 +169,7 @@ declare namespace sap {
114
169
  * sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
115
170
  * BarcodeScanner.scan(
116
171
  * function (mResult) {
117
- * alert("We got a bar code\n" +
172
+ * alert("We got a barcode\n" +
118
173
  * "Result: " + mResult.text + "\n" +
119
174
  * "Format: " + mResult.format + "\n" +
120
175
  * "Cancelled: " + mResult.cancelled);
@@ -125,10 +180,11 @@ declare namespace sap {
125
180
  * function (mParams) {
126
181
  * alert("Value entered: " + mParams.newValue);
127
182
  * },
128
- * "Enter Product Bar Code",
183
+ * "Enter Product Barcode",
129
184
  * true,
130
185
  * 30,
131
- * 1
186
+ * 1,
187
+ * false
132
188
  * );
133
189
  * });
134
190
  * ```
@@ -147,7 +203,7 @@ declare namespace sap {
147
203
  */
148
204
  fnLiveUpdate?: Function,
149
205
  /**
150
- * Defines the bar code input dialog title. If unset, a predefined title will be used.
206
+ * Defines the barcode input dialog title. If unset, a predefined title will be used.
151
207
  */
152
208
  dialogTitle?: string,
153
209
  /**
@@ -161,15 +217,56 @@ declare namespace sap {
161
217
  /**
162
218
  * Defines the zoom of the camera. This parameter is not supported on iOS.
163
219
  */
164
- zoom?: float
220
+ zoom?: float,
221
+ /**
222
+ * Flag, which defines whether the camera should be used for scanning in Zebra Enterprise Browser.
223
+ */
224
+ keepCameraScan?: boolean
225
+ ): void;
226
+ /**
227
+ * Set the configs of the control Barcode Scanner.
228
+ */
229
+ setConfig(
230
+ /**
231
+ * The options are the configs that will be used to scan. It is a object which contains below key and value:
232
+ * { "enableGS1Header": true, //If set to true, add the symbology identifier (GS1 specification 5.4.3.7.
233
+ * and 5.4.6.4.) as prefix into the result text "deviceId": "string" // The specific camera id to scan the
234
+ * Barcode. If set to "", Barcode Scanner will use default camera. This option is not working for iOS devices
235
+ * since do not support to get all the cameras. }
236
+ */
237
+ options?: object
238
+ ): void;
239
+ /**
240
+ * Set the callback function for the physical scan button.
241
+ */
242
+ setPhysicalScan(
243
+ /**
244
+ * Function to be called when the scanning is done by pressing physical scan button.
245
+ */
246
+ fnPhysicalScan?: Function
165
247
  ): void;
248
+ /**
249
+ * Set the scanner API info that will be used to scan the barcode.
250
+ *
251
+ * IMPORTANT: The status of the scanner API must be **"Available"**(for ZXingCPP and ZXing, status is **NOT
252
+ * "UnAvailable"**), or will return False. Scanner APIs with status value can be got by using {@link #getStatusModel}.
253
+ * By default, Barcode Scanner will select the scanner API(Available) with priority: ZebraEnterpriseBrowser
254
+ * > Cordova > ZXingCPP > ZXing.
255
+ */
256
+ setScanAPIInfo(
257
+ /**
258
+ * Defines the scanner API to scan the barcode. Scanner API can be "ZebraEnterpriseBrowser", "Cordova",
259
+ * "ZXingCPP" or "ZXing".
260
+ */
261
+ scannerAPI?: string
262
+ ): boolean;
166
263
  }
167
264
  const BarcodeScanner: BarcodeScanner;
168
265
 
169
266
  /**
170
- * A button control (displaying a bar code icon) to start the bar code scanning process. If the native scanning
267
+ * A button control (displaying a barcode icon) to start the barcode scanning process. If the native scanning
171
268
  * feature is not available or camera capability is not granted, the button is either hidden or it provides
172
- * a fallback by opening a dialog with an input field where the bar code can be entered manually.
269
+ * a fallback by opening a dialog with an input field where the barcode can be entered manually.
173
270
  */
174
271
  class BarcodeScannerButton extends sap.ui.core.Control {
175
272
  /**
@@ -431,11 +528,11 @@ declare namespace sap {
431
528
  */
432
529
  mParameters?: {
433
530
  /**
434
- * The the text representation of the bar code data.
531
+ * The the text representation of the barcode data.
435
532
  */
436
533
  text?: string;
437
534
  /**
438
- * The type of the bar code detected.
535
+ * The type of the barcode detected.
439
536
  */
440
537
  format?: string;
441
538
  /**
@@ -447,7 +544,7 @@ declare namespace sap {
447
544
  /**
448
545
  * Gets current value of property {@link #getDialogTitle dialogTitle}.
449
546
  *
450
- * Defines the bar code input dialog title. If unset, a predefined title will be used.
547
+ * Defines the barcode input dialog title. If unset, a predefined title will be used.
451
548
  */
452
549
  getDialogTitle(): string;
453
550
  /**
@@ -456,6 +553,14 @@ declare namespace sap {
456
553
  * Defines the frame rate of the camera.
457
554
  */
458
555
  getFrameRate(): float;
556
+ /**
557
+ * Gets current value of property {@link #getKeepCameraScan keepCameraScan}.
558
+ *
559
+ * If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
560
+ *
561
+ * Default value is `false`.
562
+ */
563
+ getKeepCameraScan(): boolean;
459
564
  /**
460
565
  * Gets current value of property {@link #getPreferFrontCamera preferFrontCamera}.
461
566
  *
@@ -468,7 +573,7 @@ declare namespace sap {
468
573
  * Gets current value of property {@link #getProvideFallback provideFallback}.
469
574
  *
470
575
  * If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
471
- * bar code.
576
+ * barcode.
472
577
  *
473
578
  * Default value is `true`.
474
579
  */
@@ -476,7 +581,7 @@ declare namespace sap {
476
581
  /**
477
582
  * Gets current value of property {@link #getVisible visible}.
478
583
  *
479
- * The invisible bar code scanner button is not rendered regardless of the availability of the native scan
584
+ * The invisible barcode scanner button is not rendered regardless of the availability of the native scan
480
585
  * feature.
481
586
  *
482
587
  * Default value is `true`.
@@ -497,7 +602,7 @@ declare namespace sap {
497
602
  /**
498
603
  * Sets a new value for property {@link #getDialogTitle dialogTitle}.
499
604
  *
500
- * Defines the bar code input dialog title. If unset, a predefined title will be used.
605
+ * Defines the barcode input dialog title. If unset, a predefined title will be used.
501
606
  *
502
607
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
503
608
  */
@@ -520,6 +625,21 @@ declare namespace sap {
520
625
  */
521
626
  fFrameRate: float
522
627
  ): this;
628
+ /**
629
+ * Sets a new value for property {@link #getKeepCameraScan keepCameraScan}.
630
+ *
631
+ * If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
632
+ *
633
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
634
+ *
635
+ * Default value is `false`.
636
+ */
637
+ setKeepCameraScan(
638
+ /**
639
+ * New value for property `keepCameraScan`
640
+ */
641
+ bKeepCameraScan?: boolean
642
+ ): this;
523
643
  /**
524
644
  * Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
525
645
  *
@@ -539,7 +659,7 @@ declare namespace sap {
539
659
  * Sets a new value for property {@link #getProvideFallback provideFallback}.
540
660
  *
541
661
  * If set to true, the button remains visible if the scanner is not available and triggers a dialog to enter
542
- * bar code.
662
+ * barcode.
543
663
  *
544
664
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
545
665
  *
@@ -554,7 +674,7 @@ declare namespace sap {
554
674
  /**
555
675
  * Sets a new value for property {@link #getVisible visible}.
556
676
  *
557
- * The invisible bar code scanner button is not rendered regardless of the availability of the native scan
677
+ * The invisible barcode scanner button is not rendered regardless of the availability of the native scan
558
678
  * feature.
559
679
  *
560
680
  * 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.96.4
1
+ // For Library Version: 1.96.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace sac {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.13
1
+ // For Library Version: 1.96.15
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
264
264
  ): jQuery;
265
265
  }
266
266
 
267
- // For Library Version: 1.96.14
267
+ // For Library Version: 1.96.16
268
268
 
269
269
  declare module "sap/base/assert" {
270
270
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -180,7 +180,7 @@ declare namespace sap {
180
180
  * - `workbook.context` - Context object that will be applied to the generated file. It may contain the
181
181
  * following fields:
182
182
  * - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
183
- * - `version` (string) - Application version that creates the XLSX document (default: "1.96.14")
183
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.96.16")
184
184
  * - `title` (string) - Title of the XLSX document (NOT the filename)
185
185
  * - `modifiedBy` (string) - User context for the XLSX document
186
186
  * - `sheetName` (string) - The label of the data sheet
@@ -266,7 +266,7 @@ declare namespace sap {
266
266
  * columns: aColumns,
267
267
  * context: {
268
268
  * application: 'Debug Test Application',
269
- * version: '1.96.14',
269
+ * version: '1.96.16',
270
270
  * title: 'Some random title',
271
271
  * modifiedBy: 'John Doe',
272
272
  * metaSheetName: 'Custom metadata',
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -238,7 +238,7 @@ declare namespace sap {
238
238
  static getType(): string;
239
239
  }
240
240
  /**
241
- * @SINCE 1.96.14
241
+ * @SINCE 1.96.16
242
242
  *
243
243
  * Defines the Audiences.
244
244
  */
@@ -257,7 +257,7 @@ declare namespace sap {
257
257
  Internal = "Internal",
258
258
  }
259
259
  /**
260
- * @SINCE 1.96.14
260
+ * @SINCE 1.96.16
261
261
  *
262
262
  * Issue Categories.
263
263
  */
@@ -312,7 +312,7 @@ declare namespace sap {
312
312
  Usage = "Usage",
313
313
  }
314
314
  /**
315
- * @SINCE 1.96.14
315
+ * @SINCE 1.96.16
316
316
  *
317
317
  * Analysis history formats.
318
318
  */
@@ -327,7 +327,7 @@ declare namespace sap {
327
327
  String = "String",
328
328
  }
329
329
  /**
330
- * @SINCE 1.96.14
330
+ * @SINCE 1.96.16
331
331
  *
332
332
  * Defines severity types.
333
333
  */
@@ -346,7 +346,7 @@ declare namespace sap {
346
346
  Medium = "Medium",
347
347
  }
348
348
  /**
349
- * @SINCE 1.96.14
349
+ * @SINCE 1.96.16
350
350
  *
351
351
  * Contains the available system presets.
352
352
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.6
1
+ // For Library Version: 1.96.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.15
1
+ // For Library Version: 1.96.18
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.15
1
+ // For Library Version: 1.96.18
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.14
1
+ // For Library Version: 1.96.16
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.4
1
+ // For Library Version: 1.96.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.4
1
+ // For Library Version: 1.96.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.96.4
1
+ // For Library Version: 1.96.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {