@sapui5/ts-types 1.84.19 → 1.84.23

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 (46) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.chart.d.ts +1 -1
  4. package/types/sap.f.d.ts +197 -1
  5. package/types/sap.fe.core.d.ts +1 -1
  6. package/types/sap.fe.macros.d.ts +1 -1
  7. package/types/sap.fe.plugins.d.ts +1 -1
  8. package/types/sap.fe.templates.d.ts +1 -1
  9. package/types/sap.fe.test.d.ts +1 -1
  10. package/types/sap.fe.tools.d.ts +1 -1
  11. package/types/sap.gantt.d.ts +1 -1
  12. package/types/sap.m.d.ts +57 -9
  13. package/types/sap.makit.d.ts +1 -1
  14. package/types/sap.me.d.ts +1 -1
  15. package/types/sap.ndc.d.ts +49 -29
  16. package/types/sap.ovp.d.ts +1 -1
  17. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  18. package/types/sap.suite.ui.microchart.d.ts +1 -1
  19. package/types/sap.tnt.d.ts +31 -1
  20. package/types/sap.ui.codeeditor.d.ts +1 -1
  21. package/types/sap.ui.commons.d.ts +1 -1
  22. package/types/sap.ui.comp.d.ts +1 -1
  23. package/types/sap.ui.core.d.ts +3 -3
  24. package/types/sap.ui.dt.d.ts +1 -1
  25. package/types/sap.ui.export.d.ts +3 -3
  26. package/types/sap.ui.fl.d.ts +1 -1
  27. package/types/sap.ui.integration.d.ts +1 -1
  28. package/types/sap.ui.layout.d.ts +1 -1
  29. package/types/sap.ui.mdc.d.ts +1 -1
  30. package/types/sap.ui.richtexteditor.d.ts +1 -1
  31. package/types/sap.ui.rta.d.ts +1 -1
  32. package/types/sap.ui.suite.d.ts +1 -1
  33. package/types/sap.ui.support.d.ts +6 -6
  34. package/types/sap.ui.table.d.ts +1 -1
  35. package/types/sap.ui.testrecorder.d.ts +1 -1
  36. package/types/sap.ui.unified.d.ts +1 -1
  37. package/types/sap.ui.ux3.d.ts +1 -1
  38. package/types/sap.ui.vbm.d.ts +1 -3
  39. package/types/sap.ui.vk.d.ts +1 -1
  40. package/types/sap.uiext.inbox.d.ts +1 -1
  41. package/types/sap.ushell.d.ts +1 -1
  42. package/types/sap.uxap.d.ts +1 -1
  43. package/types/sap.viz.d.ts +1 -1
  44. package/types/sap.zen.commons.d.ts +1 -1
  45. package/types/sap.zen.crosstab.d.ts +1 -1
  46. 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.19",
3
+ "version": "1.84.23",
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.4
1
+ // For Library Version: 1.84.5
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
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.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -5723,6 +5723,15 @@ declare namespace sap {
5723
5723
  */
5724
5724
  endColumnPages?: sap.ui.core.Control[] | sap.ui.core.Control;
5725
5725
 
5726
+ /**
5727
+ * @SINCE 1.84.22
5728
+ *
5729
+ * Accessible landmark settings to be applied on the containers of the `sap.f.FlexibleColumnLayout` control.
5730
+ *
5731
+ * If not set, no landmarks will be written. Note: This is a downported feature introduced in version 1.95.0.
5732
+ */
5733
+ landmarkInfo?: sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo;
5734
+
5726
5735
  /**
5727
5736
  * Sets the initial `Begin` column page, which is displayed on application launch.
5728
5737
  */
@@ -5739,6 +5748,33 @@ declare namespace sap {
5739
5748
  initialEndColumnPage?: sap.ui.core.Control | string;
5740
5749
  }
5741
5750
 
5751
+ interface $FlexibleColumnLayoutAccessibleLandmarkInfoSettings
5752
+ extends sap.ui.core.$ElementSettings {
5753
+ /**
5754
+ * Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
5755
+ * control.
5756
+ *
5757
+ * If not set, a predefined text is used.
5758
+ */
5759
+ firstColumnLabel?: string;
5760
+
5761
+ /**
5762
+ * Text that describes the landmark of the middle column of the corresponding `sap.f.FlexibleColumnLayout`
5763
+ * control.
5764
+ *
5765
+ * If not set, a predefined text is used.
5766
+ */
5767
+ middleColumnLabel?: string;
5768
+
5769
+ /**
5770
+ * Text that describes the landmark of the last column of the corresponding `sap.f.FlexibleColumnLayout`
5771
+ * control.
5772
+ *
5773
+ * If not set, a predefined text is used.
5774
+ */
5775
+ lastColumnLabel?: string;
5776
+ }
5777
+
5742
5778
  interface $GridContainerSettings extends sap.ui.core.$ControlSettings {
5743
5779
  /**
5744
5780
  * Defines the width of the control.
@@ -9002,6 +9038,12 @@ declare namespace sap {
9002
9038
  * Destroys all the endColumnPages in the aggregation {@link #getEndColumnPages endColumnPages}.
9003
9039
  */
9004
9040
  destroyEndColumnPages(): sap.f.FlexibleColumnLayout;
9041
+ /**
9042
+ * @SINCE 1.84.22
9043
+ *
9044
+ * Destroys the landmarkInfo in the aggregation {@link #getLandmarkInfo landmarkInfo}.
9045
+ */
9046
+ destroyLandmarkInfo(): sap.f.FlexibleColumnLayout;
9005
9047
  /**
9006
9048
  * Destroys all the midColumnPages in the aggregation {@link #getMidColumnPages midColumnPages}.
9007
9049
  */
@@ -9628,6 +9670,16 @@ declare namespace sap {
9628
9670
  * or `null`.
9629
9671
  */
9630
9672
  getInitialMidColumnPage(): sap.ui.core.ID;
9673
+ /**
9674
+ * @SINCE 1.84.22
9675
+ *
9676
+ * Gets content of aggregation {@link #getLandmarkInfo landmarkInfo}.
9677
+ *
9678
+ * Accessible landmark settings to be applied on the containers of the `sap.f.FlexibleColumnLayout` control.
9679
+ *
9680
+ * If not set, no landmarks will be written. Note: This is a downported feature introduced in version 1.95.0.
9681
+ */
9682
+ getLandmarkInfo(): sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo;
9631
9683
  /**
9632
9684
  * Gets current value of property {@link #getLayout layout}.
9633
9685
  *
@@ -9907,6 +9959,17 @@ declare namespace sap {
9907
9959
  */
9908
9960
  oInitialMidColumnPage: sap.ui.core.ID | sap.ui.core.Control
9909
9961
  ): sap.f.FlexibleColumnLayout;
9962
+ /**
9963
+ * @SINCE 1.84.22
9964
+ *
9965
+ * Sets the aggregated {@link #getLandmarkInfo landmarkInfo}.
9966
+ */
9967
+ setLandmarkInfo(
9968
+ /**
9969
+ * The landmarkInfo to set
9970
+ */
9971
+ oLandmarkInfo: sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo
9972
+ ): sap.f.FlexibleColumnLayout;
9910
9973
  /**
9911
9974
  * Sets a new value for property {@link #getLayout layout}.
9912
9975
  *
@@ -10410,6 +10473,137 @@ declare namespace sap {
10410
10473
  oTransitionParameters: object
10411
10474
  ): sap.f.FlexibleColumnLayout;
10412
10475
  }
10476
+ /**
10477
+ * @SINCE 1.95
10478
+ *
10479
+ * Settings for accessible landmarks which can be applied to the container elements of a `sap.f.FlexibleColumnLayout`
10480
+ * control. For example, these landmarks are used by assistive technologies (such as screen readers) to
10481
+ * provide a meaningful columns overview.
10482
+ */
10483
+ class FlexibleColumnLayoutAccessibleLandmarkInfo extends sap.ui.core
10484
+ .Element {
10485
+ /**
10486
+ * Constructor for a new `sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo` element.
10487
+ *
10488
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
10489
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
10490
+ * of the syntax of the settings object.
10491
+ */
10492
+ constructor(
10493
+ /**
10494
+ * ID for the new element, generated automatically if no ID is given
10495
+ */
10496
+ sId?: string,
10497
+ /**
10498
+ * Initial settings for the new element
10499
+ */
10500
+ mSettings?: $FlexibleColumnLayoutAccessibleLandmarkInfoSettings
10501
+ );
10502
+
10503
+ /**
10504
+ * Creates a new subclass of class sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo with name `sClassName`
10505
+ * and enriches it with the information contained in `oClassInfo`.
10506
+ *
10507
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
10508
+ */
10509
+ // @ts-ignore
10510
+ static extend<T extends Record<string, unknown>>(
10511
+ /**
10512
+ * Name of the class being created
10513
+ */
10514
+ sClassName: string,
10515
+ /**
10516
+ * Object literal with information about the class
10517
+ */
10518
+ oClassInfo?: T &
10519
+ ThisType<T & sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo>,
10520
+ /**
10521
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
10522
+ * used by this class
10523
+ */
10524
+ FNMetaImpl?: Function
10525
+ ): Function;
10526
+ /**
10527
+ * Gets current value of property {@link #getFirstColumnLabel firstColumnLabel}.
10528
+ *
10529
+ * Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
10530
+ * control.
10531
+ *
10532
+ * If not set, a predefined text is used.
10533
+ */
10534
+ getFirstColumnLabel(): string;
10535
+ /**
10536
+ * Gets current value of property {@link #getLastColumnLabel lastColumnLabel}.
10537
+ *
10538
+ * Text that describes the landmark of the last column of the corresponding `sap.f.FlexibleColumnLayout`
10539
+ * control.
10540
+ *
10541
+ * If not set, a predefined text is used.
10542
+ */
10543
+ getLastColumnLabel(): string;
10544
+ /**
10545
+ * Returns a metadata object for class sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo.
10546
+ */
10547
+ // @ts-ignore
10548
+ static getMetadata(): sap.ui.core.ElementMetadata;
10549
+ /**
10550
+ * Gets current value of property {@link #getMiddleColumnLabel middleColumnLabel}.
10551
+ *
10552
+ * Text that describes the landmark of the middle column of the corresponding `sap.f.FlexibleColumnLayout`
10553
+ * control.
10554
+ *
10555
+ * If not set, a predefined text is used.
10556
+ */
10557
+ getMiddleColumnLabel(): string;
10558
+ /**
10559
+ * Sets a new value for property {@link #getFirstColumnLabel firstColumnLabel}.
10560
+ *
10561
+ * Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
10562
+ * control.
10563
+ *
10564
+ * If not set, a predefined text is used.
10565
+ *
10566
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10567
+ */
10568
+ setFirstColumnLabel(
10569
+ /**
10570
+ * New value for property `firstColumnLabel`
10571
+ */
10572
+ sFirstColumnLabel?: string
10573
+ ): sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo;
10574
+ /**
10575
+ * Sets a new value for property {@link #getLastColumnLabel lastColumnLabel}.
10576
+ *
10577
+ * Text that describes the landmark of the last column of the corresponding `sap.f.FlexibleColumnLayout`
10578
+ * control.
10579
+ *
10580
+ * If not set, a predefined text is used.
10581
+ *
10582
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10583
+ */
10584
+ setLastColumnLabel(
10585
+ /**
10586
+ * New value for property `lastColumnLabel`
10587
+ */
10588
+ sLastColumnLabel?: string
10589
+ ): sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo;
10590
+ /**
10591
+ * Sets a new value for property {@link #getMiddleColumnLabel middleColumnLabel}.
10592
+ *
10593
+ * Text that describes the landmark of the middle column of the corresponding `sap.f.FlexibleColumnLayout`
10594
+ * control.
10595
+ *
10596
+ * If not set, a predefined text is used.
10597
+ *
10598
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
10599
+ */
10600
+ setMiddleColumnLabel(
10601
+ /**
10602
+ * New value for property `middleColumnLabel`
10603
+ */
10604
+ sMiddleColumnLabel?: string
10605
+ ): sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo;
10606
+ }
10413
10607
  /**
10414
10608
  * @SINCE 1.46.0
10415
10609
  *
@@ -14065,6 +14259,8 @@ declare namespace sap {
14065
14259
 
14066
14260
  "sap/f/FlexibleColumnLayout": undefined;
14067
14261
 
14262
+ "sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo": undefined;
14263
+
14068
14264
  "sap/f/FlexibleColumnLayoutSemanticHelper": undefined;
14069
14265
 
14070
14266
  "sap/f/GridContainer": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -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
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -12183,6 +12183,14 @@ declare namespace sap {
12183
12183
  * Numeric value rendered by the control.
12184
12184
  */
12185
12185
  value?: sap.m.ObjectNumber;
12186
+
12187
+ /**
12188
+ * @SINCE 1.84.22
12189
+ *
12190
+ * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy). Note:
12191
+ * This is a downported feature introduced in version 1.97.0.
12192
+ */
12193
+ ariaLabelledBy?: sap.ui.core.Control[] | string[];
12186
12194
  }
12187
12195
 
12188
12196
  interface $GenericTileSettings extends sap.ui.core.$ControlSettings {
@@ -15057,6 +15065,9 @@ declare namespace sap {
15057
15065
  /**
15058
15066
  * Determines the alternative text of the `ObjectHeader` icon. The text is displayed if the image for the
15059
15067
  * icon is not available, or cannot be displayed.
15068
+ *
15069
+ * **Note:** Provide an empty string value for the `iconAlt` property in case you want to use the icon for
15070
+ * decoration only.
15060
15071
  */
15061
15072
  iconAlt?: string;
15062
15073
 
@@ -37064,6 +37075,17 @@ declare namespace sap {
37064
37075
  mSettings?: $GenericTagSettings
37065
37076
  );
37066
37077
 
37078
+ /**
37079
+ * @SINCE 1.84.22
37080
+ *
37081
+ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
37082
+ */
37083
+ addAriaLabelledBy(
37084
+ /**
37085
+ * The ariaLabelledBy to add; if empty, nothing is inserted
37086
+ */
37087
+ vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
37088
+ ): sap.m.GenericTag;
37067
37089
  /**
37068
37090
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.GenericTag`.
37069
37091
  *
@@ -37137,6 +37159,13 @@ declare namespace sap {
37137
37159
  */
37138
37160
  mParameters?: object
37139
37161
  ): sap.m.GenericTag;
37162
+ /**
37163
+ * @SINCE 1.84.22
37164
+ *
37165
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
37166
+ * ariaLabelledBy}.
37167
+ */
37168
+ getAriaLabelledBy(): sap.ui.core.ID[];
37140
37169
  /**
37141
37170
  * Gets current value of property {@link #getDesign design}.
37142
37171
  *
@@ -37188,6 +37217,23 @@ declare namespace sap {
37188
37217
  * Default value is `None`.
37189
37218
  */
37190
37219
  getValueState(): sap.m.GenericTagValueState;
37220
+ /**
37221
+ * @SINCE 1.84.22
37222
+ *
37223
+ * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
37224
+ */
37225
+ removeAllAriaLabelledBy(): sap.ui.core.ID[];
37226
+ /**
37227
+ * @SINCE 1.84.22
37228
+ *
37229
+ * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
37230
+ */
37231
+ removeAriaLabelledBy(
37232
+ /**
37233
+ * The ariaLabelledBy to be removed or its index or ID
37234
+ */
37235
+ vAriaLabelledBy: number | sap.ui.core.ID | sap.ui.core.Control
37236
+ ): sap.ui.core.ID;
37191
37237
  /**
37192
37238
  * Sets a new value for property {@link #getDesign design}.
37193
37239
  *
@@ -43663,6 +43709,10 @@ declare namespace sap {
43663
43709
  * Defines the value of the control.
43664
43710
  */
43665
43711
  getValue(): string;
43712
+ /**
43713
+ * Gets the value of the accessibility description info field.
43714
+ */
43715
+ getValueDescriptionInfo(): string;
43666
43716
  /**
43667
43717
  * Gets current value of property {@link #getValueState valueState}.
43668
43718
  *
@@ -56581,6 +56631,9 @@ declare namespace sap {
56581
56631
  *
56582
56632
  * Determines the alternative text of the `ObjectHeader` icon. The text is displayed if the image for the
56583
56633
  * icon is not available, or cannot be displayed.
56634
+ *
56635
+ * **Note:** Provide an empty string value for the `iconAlt` property in case you want to use the icon for
56636
+ * decoration only.
56584
56637
  */
56585
56638
  getIconAlt(): string;
56586
56639
  /**
@@ -57174,18 +57227,13 @@ declare namespace sap {
57174
57227
  bIconActive?: boolean
57175
57228
  ): sap.m.ObjectHeader;
57176
57229
  /**
57177
- * Sets a new value for property {@link #getIconAlt iconAlt}.
57178
- *
57179
- * Determines the alternative text of the `ObjectHeader` icon. The text is displayed if the image for the
57180
- * icon is not available, or cannot be displayed.
57181
- *
57182
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
57230
+ * Sets the alternative text of the `ObjectHeader` icon.
57183
57231
  */
57184
57232
  setIconAlt(
57185
57233
  /**
57186
- * New value for property `iconAlt`
57234
+ * the alternative icon text
57187
57235
  */
57188
- sIconAlt?: string
57236
+ sIconAlt: boolean
57189
57237
  ): sap.m.ObjectHeader;
57190
57238
  /**
57191
57239
  * Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
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.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -8,14 +8,11 @@ declare namespace sap {
8
8
  /**
9
9
  * @SINCE 1.28.0
10
10
  *
11
- * TODO: description
12
- *
13
- * As `BarcodeScanner` is a static class, a `sap.ui.define();` statement must be explicitly executed before
14
- * the class can be used. Example: *
11
+ * Here is an example of how to trigger the scan function of BarcodeScanner:
15
12
  * ```javascript
16
13
  *
17
- * sap.ui.define(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
18
- * sap.ndc.BarcodeScanner.scan(
14
+ * sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
15
+ * BarcodeScanner.scan(
19
16
  * function (oResult) { / * process scan result * / },
20
17
  * function (oError) { / * handle scan error * / },
21
18
  * function (oResult) { / * handle input dialog change * / }
@@ -40,13 +37,6 @@ declare namespace sap {
40
37
  * Starts the bar code scanning process either showing the live input from the camera or displaying a dialog
41
38
  * to enter the value directly if the bar code scanning feature is not available.
42
39
  *
43
- *
44
- * ```javascript
45
- *
46
- * sap.ndc.BarcodeScanner.scan(fnSuccess, fnFail, fnLiveUpdate, dialogTitle)
47
- * ```
48
- *
49
- *
50
40
  * The bar code scanning is done asynchronously. When it is triggered, this function returns without waiting
51
41
  * for the scanning process to finish. The applications have to provide callback functions to react to the
52
42
  * events of a successful scanning, an error during scanning, and the live input on the dialog.
@@ -59,21 +49,23 @@ declare namespace sap {
59
49
  *
60
50
  * ```javascript
61
51
  *
62
- * sap.ndc.BarcodeScanner.scan(
63
- * function (mResult) {
64
- * alert("We got a bar code\n" +
65
- * "Result: " + mResult.text + "\n" +
66
- * "Format: " + mResult.format + "\n" +
67
- * "Cancelled: " + mResult.cancelled);
68
- * },
69
- * function (Error) {
70
- * alert("Scanning failed: " + Error);
71
- * },
72
- * function (mParams) {
73
- * alert("Value entered: " + mParams.newValue);
74
- * },
75
- * "Enter Product Bar Code"
76
- * );
52
+ * sap.ui.require(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
53
+ * BarcodeScanner.scan(
54
+ * function (mResult) {
55
+ * alert("We got a bar code\n" +
56
+ * "Result: " + mResult.text + "\n" +
57
+ * "Format: " + mResult.format + "\n" +
58
+ * "Cancelled: " + mResult.cancelled);
59
+ * },
60
+ * function (Error) {
61
+ * alert("Scanning failed: " + Error);
62
+ * },
63
+ * function (mParams) {
64
+ * alert("Value entered: " + mParams.newValue);
65
+ * },
66
+ * "Enter Product Bar Code"
67
+ * );
68
+ * });
77
69
  * ```
78
70
  */
79
71
  function scan(
@@ -120,6 +112,11 @@ declare namespace sap {
120
112
  */
121
113
  dialogTitle?: string;
122
114
 
115
+ /**
116
+ * If set to true, the front camera will be used to decode.
117
+ */
118
+ preferFrontCamera?: boolean;
119
+
123
120
  /**
124
121
  * Event is fired when the scanning is finished or cancelled
125
122
  */
@@ -353,6 +350,14 @@ declare namespace sap {
353
350
  */
354
351
  // @ts-ignore
355
352
  static getMetadata(): sap.ui.core.ElementMetadata;
353
+ /**
354
+ * Gets current value of property {@link #getPreferFrontCamera preferFrontCamera}.
355
+ *
356
+ * If set to true, the front camera will be used to decode.
357
+ *
358
+ * Default value is `false`.
359
+ */
360
+ getPreferFrontCamera(): boolean;
356
361
  /**
357
362
  * Gets current value of property {@link #getProvideFallback provideFallback}.
358
363
  *
@@ -391,6 +396,21 @@ declare namespace sap {
391
396
  */
392
397
  sDialogTitle?: string
393
398
  ): sap.ndc.BarcodeScannerButton;
399
+ /**
400
+ * Sets a new value for property {@link #getPreferFrontCamera preferFrontCamera}.
401
+ *
402
+ * If set to true, the front camera will be used to decode.
403
+ *
404
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
405
+ *
406
+ * Default value is `false`.
407
+ */
408
+ setPreferFrontCamera(
409
+ /**
410
+ * New value for property `preferFrontCamera`
411
+ */
412
+ bPreferFrontCamera?: boolean
413
+ ): sap.ndc.BarcodeScannerButton;
394
414
  /**
395
415
  * Sets a new value for property {@link #getProvideFallback provideFallback}.
396
416
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.9
1
+ // For Library Version: 1.84.11
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.13
1
+ // For Library Version: 1.84.17
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -167,6 +167,13 @@ declare namespace sap {
167
167
  */
168
168
  selectedKey?: string;
169
169
 
170
+ /**
171
+ * @SINCE 1.84.22
172
+ *
173
+ * Specifies an optional aria-label that can be used by the screen readers.
174
+ */
175
+ ariaLabel?: string;
176
+
170
177
  /**
171
178
  * Fired when an item is selected.
172
179
  */
@@ -1250,6 +1257,14 @@ declare namespace sap {
1250
1257
  item?: sap.ui.core.Item;
1251
1258
  }
1252
1259
  ): sap.tnt.SideNavigation;
1260
+ /**
1261
+ * @SINCE 1.84.22
1262
+ *
1263
+ * Gets current value of property {@link #getAriaLabel ariaLabel}.
1264
+ *
1265
+ * Specifies an optional aria-label that can be used by the screen readers.
1266
+ */
1267
+ getAriaLabel(): string;
1253
1268
  /**
1254
1269
  * Gets current value of property {@link #getExpanded expanded}.
1255
1270
  *
@@ -1296,6 +1311,21 @@ declare namespace sap {
1296
1311
  * Specifies the currently selected key.
1297
1312
  */
1298
1313
  getSelectedKey(): string;
1314
+ /**
1315
+ * @SINCE 1.84.22
1316
+ *
1317
+ * Sets a new value for property {@link #getAriaLabel ariaLabel}.
1318
+ *
1319
+ * Specifies an optional aria-label that can be used by the screen readers.
1320
+ *
1321
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
1322
+ */
1323
+ setAriaLabel(
1324
+ /**
1325
+ * New value for property `ariaLabel`
1326
+ */
1327
+ sAriaLabel?: string
1328
+ ): sap.tnt.SideNavigation;
1299
1329
  /**
1300
1330
  * Sets if the control is in expanded or collapsed mode.
1301
1331
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
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.18
21
+ // For Library Version: 1.84.22
22
22
  /**
23
23
  * Root namespace for JavaScript functionality provided by SAP SE.
24
24
  *
@@ -39894,8 +39894,8 @@ declare namespace sap {
39894
39894
  */
39895
39895
  read(
39896
39896
  /**
39897
- * A string containing the path to the data which should be retrieved. The path is concatenated to the service
39898
- * URL which was specified in the model constructor.
39897
+ * An absolute path or a path relative to the context given in `mParameters.context`; if the path contains
39898
+ * a query string, the query string is ignored, use `mParameters.urlParameters` instead
39899
39899
  */
39900
39900
  sPath: string,
39901
39901
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
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.18")
78
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.84.22")
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.18',
164
+ * version: '1.84.22',
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.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
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.18
240
+ * @SINCE 1.84.22
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.18
259
+ * @SINCE 1.84.22
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.18
314
+ * @SINCE 1.84.22
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.18
329
+ * @SINCE 1.84.22
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.18
348
+ * @SINCE 1.84.22
349
349
  *
350
350
  * Contains the available system presets.
351
351
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.6
1
+ // For Library Version: 1.84.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1468,8 +1468,6 @@ declare namespace sap {
1468
1468
  drop?: Function;
1469
1469
  }
1470
1470
  /**
1471
- * @EXPERIMENTAL (since 1.48.0)
1472
- *
1473
1471
  * Provides the ability to load VBI JSON into {@link sap.ui.vbm.GeoMap sap.ui.vbm.GeoMap} control.
1474
1472
  */
1475
1473
  class Adapter extends sap.ui.core.Element {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.8
1
+ // For Library Version: 1.84.10
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.18
1
+ // For Library Version: 1.84.22
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.11
1
+ // For Library Version: 1.84.12
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.11
1
+ // For Library Version: 1.84.12
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.84.11
1
+ // For Library Version: 1.84.12
2
2
 
3
3
  declare namespace sap {
4
4
  namespace zen {