@openui5/ts-types 1.144.0 → 1.146.0

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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -4675,6 +4675,10 @@ declare namespace sap {
4675
4675
  * @returns Value of property `collapseRecursive`
4676
4676
  */
4677
4677
  getCollapseRecursive(): boolean;
4678
+ /**
4679
+ * Returns the Columns of the AnalyticalTable.
4680
+ */
4681
+ getColumns(): sap.ui.table.AnalyticalColumn[];
4678
4682
  /**
4679
4683
  * Gets current value of property {@link #getColumnVisibilityMenuSorter columnVisibilityMenuSorter}.
4680
4684
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -595,6 +595,16 @@ declare namespace sap {
595
595
  | sap.ui.base.ManagedObject.PropertyBindingInfo
596
596
  | `{${string}}`;
597
597
 
598
+ /**
599
+ * Determines if the week numbers are displayed.
600
+ *
601
+ * @since 1.145.0
602
+ */
603
+ showWeekNumbers?:
604
+ | boolean
605
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
606
+ | `{${string}}`;
607
+
598
608
  /**
599
609
  * Date ranges for selected dates. If `singleSelection` is set, only the first entry is used.
600
610
  *
@@ -4127,6 +4137,18 @@ declare namespace sap {
4127
4137
  * @returns Value of property `showHeader`
4128
4138
  */
4129
4139
  getShowHeader(): boolean;
4140
+ /**
4141
+ * Gets current value of property {@link #getShowWeekNumbers showWeekNumbers}.
4142
+ *
4143
+ * Determines if the week numbers are displayed.
4144
+ *
4145
+ * Default value is `false`.
4146
+ *
4147
+ * @since 1.145.0
4148
+ *
4149
+ * @returns Value of property `showWeekNumbers`
4150
+ */
4151
+ getShowWeekNumbers(): boolean;
4130
4152
  /**
4131
4153
  * Gets current value of property {@link #getSingleSelection singleSelection}.
4132
4154
  *
@@ -4363,6 +4385,25 @@ declare namespace sap {
4363
4385
  */
4364
4386
  bShowHeader?: boolean
4365
4387
  ): this;
4388
+ /**
4389
+ * Sets a new value for property {@link #getShowWeekNumbers showWeekNumbers}.
4390
+ *
4391
+ * Determines if the week numbers are displayed.
4392
+ *
4393
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4394
+ *
4395
+ * Default value is `false`.
4396
+ *
4397
+ * @since 1.145.0
4398
+ *
4399
+ * @returns Reference to `this` in order to allow method chaining
4400
+ */
4401
+ setShowWeekNumbers(
4402
+ /**
4403
+ * New value for property `showWeekNumbers`
4404
+ */
4405
+ bShowWeekNumbers?: boolean
4406
+ ): this;
4366
4407
  /**
4367
4408
  * Sets a new value for property {@link #getSingleSelection singleSelection}.
4368
4409
  *
@@ -7413,6 +7454,9 @@ declare namespace sap {
7413
7454
  /**
7414
7455
  * Allows users to upload all files from a given directory and its corresponding subdirectories.
7415
7456
  *
7457
+ * **Note:** This feature is supported on all WebKit-based browsers as well as Microsoft Edge and Firefox
7458
+ * after version 50. **Note:** Multiple directory selection is not supported.
7459
+ *
7416
7460
  * @since 1.105.0
7417
7461
  */
7418
7462
  directory?:
@@ -7423,6 +7467,10 @@ declare namespace sap {
7423
7467
  /**
7424
7468
  * Indicates whether the file uploader is required.
7425
7469
  *
7470
+ * **Note:** The control can be marked as required either by setting this property to `true` or by using
7471
+ * the legacy approach of setting the `required` property to `true` on a `sap.m.Label` that has its `labelFor`
7472
+ * property pointing to this control.
7473
+ *
7426
7474
  * @since 1.144
7427
7475
  */
7428
7476
  required?:
@@ -16912,6 +16960,9 @@ declare namespace sap {
16912
16960
  *
16913
16961
  * Allows users to upload all files from a given directory and its corresponding subdirectories.
16914
16962
  *
16963
+ * **Note:** This feature is supported on all WebKit-based browsers as well as Microsoft Edge and Firefox
16964
+ * after version 50. **Note:** Multiple directory selection is not supported.
16965
+ *
16915
16966
  * Default value is `false`.
16916
16967
  *
16917
16968
  * @since 1.105.0
@@ -16954,7 +17005,7 @@ declare namespace sap {
16954
17005
  *
16955
17006
  * Chosen HTTP request method for file upload.
16956
17007
  *
16957
- * Default value is `Post`.
17008
+ * Default value is `POST`.
16958
17009
  *
16959
17010
  * @since 1.81.0
16960
17011
  *
@@ -17143,6 +17194,10 @@ declare namespace sap {
17143
17194
  *
17144
17195
  * Indicates whether the file uploader is required.
17145
17196
  *
17197
+ * **Note:** The control can be marked as required either by setting this property to `true` or by using
17198
+ * the legacy approach of setting the `required` property to `true` on a `sap.m.Label` that has its `labelFor`
17199
+ * property pointing to this control.
17200
+ *
17146
17201
  * Default value is `false`.
17147
17202
  *
17148
17203
  * @since 1.144
@@ -17485,6 +17540,9 @@ declare namespace sap {
17485
17540
  *
17486
17541
  * Allows users to upload all files from a given directory and its corresponding subdirectories.
17487
17542
  *
17543
+ * **Note:** This feature is supported on all WebKit-based browsers as well as Microsoft Edge and Firefox
17544
+ * after version 50. **Note:** Multiple directory selection is not supported.
17545
+ *
17488
17546
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
17489
17547
  *
17490
17548
  * Default value is `false`.
@@ -17544,7 +17602,7 @@ declare namespace sap {
17544
17602
  *
17545
17603
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
17546
17604
  *
17547
- * Default value is `Post`.
17605
+ * Default value is `POST`.
17548
17606
  *
17549
17607
  * @since 1.81.0
17550
17608
  *
@@ -17779,6 +17837,10 @@ declare namespace sap {
17779
17837
  *
17780
17838
  * Indicates whether the file uploader is required.
17781
17839
  *
17840
+ * **Note:** The control can be marked as required either by setting this property to `true` or by using
17841
+ * the legacy approach of setting the `required` property to `true` on a `sap.m.Label` that has its `labelFor`
17842
+ * property pointing to this control.
17843
+ *
17782
17844
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
17783
17845
  *
17784
17846
  * Default value is `false`.
@@ -22912,10 +22974,22 @@ declare namespace sap {
22912
22974
  /**
22913
22975
  * HTTP request POST method.
22914
22976
  */
22977
+ POST = "POST",
22978
+ /**
22979
+ * HTTP request POST method.
22980
+ *
22981
+ * @deprecated As of version 1.145.0. use {@link sap.ui.unified.FileUploaderHttpRequestMethod.POST} instead
22982
+ */
22915
22983
  Post = "POST",
22916
22984
  /**
22917
22985
  * HTTP request PUT method.
22918
22986
  */
22987
+ PUT = "PUT",
22988
+ /**
22989
+ * HTTP request PUT method.
22990
+ *
22991
+ * @deprecated As of version 1.145.0. use {@link sap.ui.unified.FileUploaderHttpRequestMethod.PUT} instead
22992
+ */
22919
22993
  Put = "PUT",
22920
22994
  }
22921
22995
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.144.0
1
+ // For Library Version: 1.146.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1140,8 +1140,7 @@ declare namespace sap {
1140
1140
  /**
1141
1141
  * The list of Subsections.
1142
1142
  *
1143
- * Note: If multiple subsections are used, it is highly recommended to set a title for the section for accessibility
1144
- * reasons.
1143
+ * **Note:** If you use multiple subsections, set a `title` for each subsection to avoid accessibility violations.
1145
1144
  */
1146
1145
  subSections?:
1147
1146
  | sap.uxap.ObjectPageSubSection[]
@@ -1173,8 +1172,12 @@ declare namespace sap {
1173
1172
  * Defines the title of the respective section/subsection.
1174
1173
  *
1175
1174
  * **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
1176
- * instead of the section title. This behavior is true even if the `showTitle` propeprty of {@link sap.uxap.ObjectPageSubSection }
1175
+ * instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
1177
1176
  * is set to `false`.
1177
+ *
1178
+ * **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
1179
+ * especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
1180
+ * bar button popover will appear empty, which will lead to accessibility violations.
1178
1181
  */
1179
1182
  title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
1180
1183
 
@@ -7099,8 +7102,7 @@ declare namespace sap {
7099
7102
  *
7100
7103
  * The list of Subsections.
7101
7104
  *
7102
- * Note: If multiple subsections are used, it is highly recommended to set a title for the section for accessibility
7103
- * reasons.
7105
+ * **Note:** If you use multiple subsections, set a `title` for each subsection to avoid accessibility violations.
7104
7106
  */
7105
7107
  getSubSections(): sap.uxap.ObjectPageSubSection[];
7106
7108
  /**
@@ -7396,9 +7398,13 @@ declare namespace sap {
7396
7398
  * Defines the title of the respective section/subsection.
7397
7399
  *
7398
7400
  * **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
7399
- * instead of the section title. This behavior is true even if the `showTitle` propeprty of {@link sap.uxap.ObjectPageSubSection }
7401
+ * instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
7400
7402
  * is set to `false`.
7401
7403
  *
7404
+ * **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
7405
+ * especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
7406
+ * bar button popover will appear empty, which will lead to accessibility violations.
7407
+ *
7402
7408
  *
7403
7409
  * @returns Value of property `title`
7404
7410
  */
@@ -7486,9 +7492,13 @@ declare namespace sap {
7486
7492
  * Defines the title of the respective section/subsection.
7487
7493
  *
7488
7494
  * **Note:** If a subsection is the only one (or the only one visible) within a section, its title is displayed
7489
- * instead of the section title. This behavior is true even if the `showTitle` propeprty of {@link sap.uxap.ObjectPageSubSection }
7495
+ * instead of the section title. This behavior is true even if the `showTitle` property of {@link sap.uxap.ObjectPageSubSection }
7490
7496
  * is set to `false`.
7491
7497
  *
7498
+ * **Note:** To avoid accessibility issues, always set a `title` on {@link sap.uxap.ObjectPageSubSection},
7499
+ * especially when a section contains multiple subsections. If no `title` is set on a subsection, the anchor
7500
+ * bar button popover will appear empty, which will lead to accessibility violations.
7501
+ *
7492
7502
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
7493
7503
  *
7494
7504
  *