@openui5/types 1.124.1 → 1.125.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.
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.124.1
1
+ // For Library Version: 1.125.0
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -421,6 +421,29 @@ declare module "sap/m/library" {
421
421
  */
422
422
  PageIndicator = "PageIndicator",
423
423
  }
424
+ /**
425
+ * Types for the placement of the page indicator of the Carousel control.
426
+ *
427
+ * This enum is part of the 'sap/m/library' module export and must be accessed by the property 'CarouselPageIndicatorPlacementType'.
428
+ */
429
+ export enum CarouselPageIndicatorPlacementType {
430
+ /**
431
+ * Page indicator will be placed at the bottom of the Carousel.
432
+ */
433
+ Bottom = "Bottom",
434
+ /**
435
+ * Page indicator will be placed over the Carousel content, bottom aligned.
436
+ */
437
+ OverContentBottom = "OverContentBottom",
438
+ /**
439
+ * Page indicator will be placed over the Carousel content, top aligned.
440
+ */
441
+ OverContentTop = "OverContentTop",
442
+ /**
443
+ * Page indicator will be placed at the top of the Carousel.
444
+ */
445
+ Top = "Top",
446
+ }
424
447
  /**
425
448
  * Defines how pages will be scrolled, when clicking the arrow.
426
449
  *
@@ -5478,24 +5501,14 @@ declare module "sap/m/ActionTile" {
5478
5501
  bEnableDynamicHeight?: boolean
5479
5502
  ): this;
5480
5503
  /**
5481
- * Sets a new value for property {@link #getEnableIconFrame enableIconFrame}.
5482
- *
5483
- * Decides whether the headerImage should have a frame or not.
5484
- *
5485
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
5486
- *
5487
- * Default value is `false`.
5488
- *
5489
- * @experimental (since 1.124)
5490
- *
5491
- * @returns Reference to `this` in order to allow method chaining
5504
+ * Sets the enableIconFrame property of the ActionTile.
5492
5505
  */
5493
5506
  setEnableIconFrame(
5494
5507
  /**
5495
- * New value for property `enableIconFrame`
5508
+ * Determines whether the icon frame should be enabled or not.
5496
5509
  */
5497
- bEnableIconFrame?: boolean
5498
- ): this;
5510
+ bValue: boolean
5511
+ ): void;
5499
5512
  /**
5500
5513
  * Sets a new value for property {@link #getPriority priority}.
5501
5514
  *
@@ -11117,7 +11130,7 @@ declare module "sap/m/Carousel" {
11117
11130
  CarouselArrowsPlacement,
11118
11131
  BackgroundDesign,
11119
11132
  BorderDesign,
11120
- PlacementType,
11133
+ CarouselPageIndicatorPlacementType,
11121
11134
  } from "sap/m/library";
11122
11135
 
11123
11136
  import CarouselLayout from "sap/m/CarouselLayout";
@@ -11142,7 +11155,7 @@ declare module "sap/m/Carousel" {
11142
11155
  * - `showPageIndicator` - determines if the indicator is displayed.
11143
11156
  * - If the pages are less than 9, the page indicator is represented with bullets.
11144
11157
  * - If the pages are 9 or more, the page indicator is numeric.
11145
- * - `pageIndicatorPlacement` - determines where the indicator is located. Default (`sap.m.PlacementType.Bottom`)
11158
+ * - `pageIndicatorPlacement` - determines where the indicator is located. Default (`sap.m.CarouselPageIndicatorPlacementType.Bottom`)
11146
11159
  * - below the content. Additionally, you can also change the location of the navigation arrows. By
11147
11160
  * setting `arrowsPlacement` to `sap.m.CarouselArrowsPlacement.PageIndicator`, the arrows will be located
11148
11161
  * at the bottom by the paging indicator. Note: When the content is of type `sap.m.Image` add "Image" text
@@ -11223,6 +11236,19 @@ declare module "sap/m/Carousel" {
11223
11236
  * @returns Metadata object describing this class
11224
11237
  */
11225
11238
  static getMetadata(): ElementMetadata;
11239
+ /**
11240
+ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
11241
+ *
11242
+ * @since 1.125
11243
+ *
11244
+ * @returns Reference to `this` in order to allow method chaining
11245
+ */
11246
+ addAriaLabelledBy(
11247
+ /**
11248
+ * The ariaLabelledBy to add; if empty, nothing is inserted
11249
+ */
11250
+ vAriaLabelledBy: ID | Control
11251
+ ): this;
11226
11252
  /**
11227
11253
  * Adds some page to the aggregation {@link #getPages pages}.
11228
11254
  *
@@ -11584,6 +11610,12 @@ declare module "sap/m/Carousel" {
11584
11610
  * `null`.
11585
11611
  */
11586
11612
  getActivePage(): ID | null;
11613
+ /**
11614
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
11615
+ *
11616
+ * @since 1.125
11617
+ */
11618
+ getAriaLabelledBy(): ID[];
11587
11619
  /**
11588
11620
  * Gets current value of property {@link #getArrowsPlacement arrowsPlacement}.
11589
11621
  *
@@ -11674,16 +11706,25 @@ declare module "sap/m/Carousel" {
11674
11706
  /**
11675
11707
  * Gets current value of property {@link #getPageIndicatorPlacement pageIndicatorPlacement}.
11676
11708
  *
11677
- * Defines where the carousel's page indicator is displayed. Possible values are sap.m.PlacementType.Top,
11678
- * sap.m.PlacementType.Bottom. Other values are ignored and the default value will be applied. The default
11679
- * value is sap.m.PlacementType.Bottom.
11709
+ * Defines where the carousel's page indicator is displayed. Possible values are sap.m.CarouselPageIndicatorPlacementType.Top,
11710
+ * sap.m.CarouselPageIndicatorPlacementType.Bottom, CarouselPageIndicatorPlacementType.OverContentTop and
11711
+ * CarouselPageIndicatorPlacementType.OverContentBottom.
11712
+ *
11713
+ * **Note:** when the page indicator is placed over the carousel's content (values "OverContentBottom" and
11714
+ * "OverContentTop"), the properties `pageIndicatorBackgroundDesign` and `pageIndicatorBorderDesign` will
11715
+ * not take effect.
11716
+ *
11717
+ * **Note:** We recommend using a page indicator placed over the carousel's content (values "OverContentBottom"
11718
+ * and "OverContentTop") only if the content consists of images.
11680
11719
  *
11681
11720
  * Default value is `Bottom`.
11682
11721
  *
11683
11722
  *
11684
11723
  * @returns Value of property `pageIndicatorPlacement`
11685
11724
  */
11686
- getPageIndicatorPlacement(): PlacementType | keyof typeof PlacementType;
11725
+ getPageIndicatorPlacement():
11726
+ | CarouselPageIndicatorPlacementType
11727
+ | keyof typeof CarouselPageIndicatorPlacementType;
11687
11728
  /**
11688
11729
  * Gets content of aggregation {@link #getPages pages}.
11689
11730
  *
@@ -11771,6 +11812,14 @@ declare module "sap/m/Carousel" {
11771
11812
  * @returns Reference to `this` in order to allow method chaining
11772
11813
  */
11773
11814
  previous(): this;
11815
+ /**
11816
+ * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
11817
+ *
11818
+ * @since 1.125
11819
+ *
11820
+ * @returns An array of the removed elements (might be empty)
11821
+ */
11822
+ removeAllAriaLabelledBy(): ID[];
11774
11823
  /**
11775
11824
  * Removes all the controls from the aggregation {@link #getPages pages}.
11776
11825
  *
@@ -11780,6 +11829,19 @@ declare module "sap/m/Carousel" {
11780
11829
  * @returns An array of the removed elements (might be empty)
11781
11830
  */
11782
11831
  removeAllPages(): Control[];
11832
+ /**
11833
+ * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
11834
+ *
11835
+ * @since 1.125
11836
+ *
11837
+ * @returns The removed ariaLabelledBy or `null`
11838
+ */
11839
+ removeAriaLabelledBy(
11840
+ /**
11841
+ * The ariaLabelledBy to be removed or its index or ID
11842
+ */
11843
+ vAriaLabelledBy: int | ID | Control
11844
+ ): ID | null;
11783
11845
  /**
11784
11846
  * Removes a page from the aggregation {@link #getPages pages}.
11785
11847
  *
@@ -11940,9 +12002,16 @@ declare module "sap/m/Carousel" {
11940
12002
  /**
11941
12003
  * Sets a new value for property {@link #getPageIndicatorPlacement pageIndicatorPlacement}.
11942
12004
  *
11943
- * Defines where the carousel's page indicator is displayed. Possible values are sap.m.PlacementType.Top,
11944
- * sap.m.PlacementType.Bottom. Other values are ignored and the default value will be applied. The default
11945
- * value is sap.m.PlacementType.Bottom.
12005
+ * Defines where the carousel's page indicator is displayed. Possible values are sap.m.CarouselPageIndicatorPlacementType.Top,
12006
+ * sap.m.CarouselPageIndicatorPlacementType.Bottom, CarouselPageIndicatorPlacementType.OverContentTop and
12007
+ * CarouselPageIndicatorPlacementType.OverContentBottom.
12008
+ *
12009
+ * **Note:** when the page indicator is placed over the carousel's content (values "OverContentBottom" and
12010
+ * "OverContentTop"), the properties `pageIndicatorBackgroundDesign` and `pageIndicatorBorderDesign` will
12011
+ * not take effect.
12012
+ *
12013
+ * **Note:** We recommend using a page indicator placed over the carousel's content (values "OverContentBottom"
12014
+ * and "OverContentTop") only if the content consists of images.
11946
12015
  *
11947
12016
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
11948
12017
  *
@@ -11955,7 +12024,9 @@ declare module "sap/m/Carousel" {
11955
12024
  /**
11956
12025
  * New value for property `pageIndicatorPlacement`
11957
12026
  */
11958
- sPageIndicatorPlacement?: PlacementType | keyof typeof PlacementType
12027
+ sPageIndicatorPlacement?:
12028
+ | CarouselPageIndicatorPlacementType
12029
+ | keyof typeof CarouselPageIndicatorPlacementType
11959
12030
  ): this;
11960
12031
  /**
11961
12032
  * Sets a new value for property {@link #getShowBusyIndicator showBusyIndicator}.
@@ -12043,12 +12114,22 @@ declare module "sap/m/Carousel" {
12043
12114
  showPageIndicator?: boolean | PropertyBindingInfo | `{${string}}`;
12044
12115
 
12045
12116
  /**
12046
- * Defines where the carousel's page indicator is displayed. Possible values are sap.m.PlacementType.Top,
12047
- * sap.m.PlacementType.Bottom. Other values are ignored and the default value will be applied. The default
12048
- * value is sap.m.PlacementType.Bottom.
12117
+ * Defines where the carousel's page indicator is displayed. Possible values are sap.m.CarouselPageIndicatorPlacementType.Top,
12118
+ * sap.m.CarouselPageIndicatorPlacementType.Bottom, CarouselPageIndicatorPlacementType.OverContentTop and
12119
+ * CarouselPageIndicatorPlacementType.OverContentBottom.
12120
+ *
12121
+ * **Note:** when the page indicator is placed over the carousel's content (values "OverContentBottom" and
12122
+ * "OverContentTop"), the properties `pageIndicatorBackgroundDesign` and `pageIndicatorBorderDesign` will
12123
+ * not take effect.
12124
+ *
12125
+ * **Note:** We recommend using a page indicator placed over the carousel's content (values "OverContentBottom"
12126
+ * and "OverContentTop") only if the content consists of images.
12049
12127
  */
12050
12128
  pageIndicatorPlacement?:
12051
- | (PlacementType | keyof typeof PlacementType)
12129
+ | (
12130
+ | CarouselPageIndicatorPlacementType
12131
+ | keyof typeof CarouselPageIndicatorPlacementType
12132
+ )
12052
12133
  | PropertyBindingInfo
12053
12134
  | `{${string}}`;
12054
12135
 
@@ -12121,6 +12202,13 @@ declare module "sap/m/Carousel" {
12121
12202
  */
12122
12203
  activePage?: Control | string;
12123
12204
 
12205
+ /**
12206
+ * Association to controls / IDs which label this control (see WAI-ARIA attribute `aria-labelledby`).
12207
+ *
12208
+ * @since 1.125
12209
+ */
12210
+ ariaLabelledBy?: Array<Control | string>;
12211
+
12124
12212
  /**
12125
12213
  * Carousel requires a new page to be loaded. This event may be used to fill the content of that page
12126
12214
  *
@@ -38648,8 +38736,6 @@ declare module "sap/m/IconTabSeparator" {
38648
38736
  declare module "sap/m/IllustratedMessage" {
38649
38737
  import { default as Control, $ControlSettings } from "sap/ui/core/Control";
38650
38738
 
38651
- import Button from "sap/m/Button";
38652
-
38653
38739
  import { ID, TitleLevel } from "sap/ui/core/library";
38654
38740
 
38655
38741
  import IllustratedMessageSize from "sap/m/IllustratedMessageSize";
@@ -38765,7 +38851,7 @@ declare module "sap/m/IllustratedMessage" {
38765
38851
  /**
38766
38852
  * The additionalContent to add; if empty, nothing is inserted
38767
38853
  */
38768
- oAdditionalContent: Button
38854
+ oAdditionalContent: Control
38769
38855
  ): this;
38770
38856
  /**
38771
38857
  * Adds some illustrationAriaLabelledBy into the association {@link #getIllustrationAriaLabelledBy illustrationAriaLabelledBy}.
@@ -38819,7 +38905,7 @@ declare module "sap/m/IllustratedMessage" {
38819
38905
  *
38820
38906
  * @since 1.98
38821
38907
  */
38822
- getAdditionalContent(): Button[];
38908
+ getAdditionalContent(): Control[];
38823
38909
  /**
38824
38910
  * Gets current value of property {@link #getAriaTitleLevel ariaTitleLevel}.
38825
38911
  *
@@ -38951,7 +39037,7 @@ declare module "sap/m/IllustratedMessage" {
38951
39037
  */
38952
39038
  getTitle(): string;
38953
39039
  /**
38954
- * Checks for the provided `sap.m.Button` in the aggregation {@link #getAdditionalContent additionalContent}.
39040
+ * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getAdditionalContent additionalContent}.
38955
39041
  * and returns its index if found or -1 otherwise.
38956
39042
  *
38957
39043
  * @since 1.98
@@ -38962,7 +39048,7 @@ declare module "sap/m/IllustratedMessage" {
38962
39048
  /**
38963
39049
  * The additionalContent whose index is looked for
38964
39050
  */
38965
- oAdditionalContent: Button
39051
+ oAdditionalContent: Control
38966
39052
  ): int;
38967
39053
  /**
38968
39054
  * Inserts a additionalContent into the aggregation {@link #getAdditionalContent additionalContent}.
@@ -38975,7 +39061,7 @@ declare module "sap/m/IllustratedMessage" {
38975
39061
  /**
38976
39062
  * The additionalContent to insert; if empty, nothing is inserted
38977
39063
  */
38978
- oAdditionalContent: Button,
39064
+ oAdditionalContent: Control,
38979
39065
  /**
38980
39066
  * The `0`-based index the additionalContent should be inserted at; for a negative value of `iIndex`, the
38981
39067
  * additionalContent is inserted at position 0; for a value greater than the current size of the aggregation,
@@ -38994,8 +39080,8 @@ declare module "sap/m/IllustratedMessage" {
38994
39080
  /**
38995
39081
  * The additionalContent to remove or its index or id
38996
39082
  */
38997
- vAdditionalContent: int | string | Button
38998
- ): Button | null;
39083
+ vAdditionalContent: int | string | Control
39084
+ ): Control | null;
38999
39085
  /**
39000
39086
  * Removes all the controls from the aggregation {@link #getAdditionalContent additionalContent}.
39001
39087
  *
@@ -39005,7 +39091,7 @@ declare module "sap/m/IllustratedMessage" {
39005
39091
  *
39006
39092
  * @returns An array of the removed elements (might be empty)
39007
39093
  */
39008
- removeAllAdditionalContent(): Button[];
39094
+ removeAllAdditionalContent(): Control[];
39009
39095
  /**
39010
39096
  * Removes all the controls in the association named {@link #getIllustrationAriaLabelledBy illustrationAriaLabelledBy}.
39011
39097
  *
@@ -39314,8 +39400,8 @@ declare module "sap/m/IllustratedMessage" {
39314
39400
  * @since 1.98
39315
39401
  */
39316
39402
  additionalContent?:
39317
- | Button[]
39318
- | Button
39403
+ | Control[]
39404
+ | Control
39319
39405
  | AggregationBindingInfo
39320
39406
  | `{${string}}`;
39321
39407
 
@@ -67339,7 +67425,7 @@ declare module "sap/m/ObjectHeader" {
67339
67425
  * Default value is `false`.
67340
67426
  *
67341
67427
  * @since 1.16.0
67342
- * @deprecated (since 1.42.0) - replaced by `markers` aggregationv. This property is valid only if you are
67428
+ * @deprecated (since 1.42.0) - replaced by `markers` aggregation. This property is valid only if you are
67343
67429
  * using the already deprecated properties - `markFlagged` and `markFavorite`. If you are using `markers`,
67344
67430
  * the visibility of the markers depends on what is set in the aggregation itself.
67345
67431
  *
@@ -68387,7 +68473,7 @@ declare module "sap/m/ObjectHeader" {
68387
68473
  * If set to `true`, the `ObjectHeader` can be marked with icons such as favorite and flag.
68388
68474
  *
68389
68475
  * @since 1.16.0
68390
- * @deprecated (since 1.42.0) - replaced by `markers` aggregationv. This property is valid only if you are
68476
+ * @deprecated (since 1.42.0) - replaced by `markers` aggregation. This property is valid only if you are
68391
68477
  * using the already deprecated properties - `markFlagged` and `markFavorite`. If you are using `markers`,
68392
68478
  * the visibility of the markers depends on what is set in the aggregation itself.
68393
68479
  */
@@ -86586,6 +86672,14 @@ declare module "sap/m/PlanningCalendar" {
86586
86672
  */
86587
86673
  oListener?: object
86588
86674
  ): this;
86675
+ /**
86676
+ * Destroys the noData in the aggregation {@link #getNoData noData}.
86677
+ *
86678
+ * @since 1.125.0
86679
+ *
86680
+ * @returns Reference to `this` in order to allow method chaining
86681
+ */
86682
+ destroyNoData(): this;
86589
86683
  /**
86590
86684
  * Destroys all the rows in the aggregation {@link #getRows rows}.
86591
86685
  *
@@ -87013,33 +87107,19 @@ declare module "sap/m/PlanningCalendar" {
87013
87107
  */
87014
87108
  getLegend(): ID | null;
87015
87109
  /**
87016
- * Gets current value of property {@link #getMaxDate maxDate}.
87110
+ * Gets current value of property `maxDate`.
87017
87111
  *
87018
- * Defines the maximum date that can be displayed and selected in the `PlanningCalendar`. This must be a
87019
- * UI5Date or JavaScript Date object.
87020
87112
  *
87021
- * **Note:** If the `maxDate` is set to be before the current `minDate`, the `minDate` is set to the first
87022
- * date of the month in which the `maxDate` belongs.
87023
- *
87024
- * @since 1.38.0
87025
- *
87026
- * @returns Value of property `maxDate`
87113
+ * @returns The maxDate as a UI5Date or JavaScript Date object
87027
87114
  */
87028
- getMaxDate(): object;
87115
+ getMaxDate(): Date | UI5Date;
87029
87116
  /**
87030
- * Gets current value of property {@link #getMinDate minDate}.
87117
+ * Gets current value of property `minDate`.
87031
87118
  *
87032
- * Defines the minimum date that can be displayed and selected in the `PlanningCalendar`. This must be a
87033
- * UI5Date or JavaScript Date object.
87034
87119
  *
87035
- * **Note:** If the `minDate` is set to be after the current `maxDate`, the `maxDate` is set to the last
87036
- * date of the month in which the `minDate` belongs.
87037
- *
87038
- * @since 1.38.0
87039
- *
87040
- * @returns Value of property `minDate`
87120
+ * @returns The minDate as a UI5Date or JavaScript Date object
87041
87121
  */
87042
- getMinDate(): object;
87122
+ getMinDate(): Date | UI5Date;
87043
87123
  /**
87044
87124
  * Gets current value of property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
87045
87125
  *
@@ -87054,11 +87134,23 @@ declare module "sap/m/PlanningCalendar" {
87054
87134
  * @returns Value of property `multipleAppointmentsSelection`
87055
87135
  */
87056
87136
  getMultipleAppointmentsSelection(): boolean;
87137
+ /**
87138
+ * Gets content of aggregation {@link #getNoData noData}.
87139
+ *
87140
+ * Defines the custom visualization if there is no data available. **Note:** If both `noDataText` property
87141
+ * and `noData` aggregation are provided, the `noData` aggregation takes priority. If the `noData` aggregation
87142
+ * is undefined or set to null, the `noDataText` property is used instead.
87143
+ *
87144
+ * @since 1.125.0
87145
+ */
87146
+ getNoData(): Control | string;
87057
87147
  /**
87058
87148
  * Gets current value of property {@link #getNoDataText noDataText}.
87059
87149
  *
87060
87150
  * Defines the text that is displayed when no {@link sap.m.PlanningCalendarRow PlanningCalendarRows} are
87061
- * assigned.
87151
+ * assigned. **Note:** If both `noDataText` property and `noData` aggregation are provided, the `noData`
87152
+ * aggregation takes priority. If the `noData` aggregation is undefined or set to null, the `noDataText`
87153
+ * property is used instead.
87062
87154
  *
87063
87155
  *
87064
87156
  * @returns Value of property `noDataText`
@@ -87228,15 +87320,12 @@ declare module "sap/m/PlanningCalendar" {
87228
87320
  */
87229
87321
  getSpecialDates(): DateTypeRange[];
87230
87322
  /**
87231
- * Gets current value of property {@link #getStartDate startDate}.
87323
+ * Gets current value of property `startDate`.
87232
87324
  *
87233
- * Determines the start date of the row, as a UI5Date or JavaScript Date object. The current date is used
87234
- * as default.
87235
87325
  *
87236
- *
87237
- * @returns Value of property `startDate`
87326
+ * @returns The startDate as a UI5Date or JavaScript Date object
87238
87327
  */
87239
- getStartDate(): object;
87328
+ getStartDate(): Date | UI5Date;
87240
87329
  /**
87241
87330
  * Gets current value of property {@link #getStickyHeader stickyHeader}.
87242
87331
  *
@@ -87840,11 +87929,26 @@ declare module "sap/m/PlanningCalendar" {
87840
87929
  */
87841
87930
  bMultipleAppointmentsSelection?: boolean
87842
87931
  ): this;
87932
+ /**
87933
+ * Sets the aggregated {@link #getNoData noData}.
87934
+ *
87935
+ * @since 1.125.0
87936
+ *
87937
+ * @returns Reference to `this` in order to allow method chaining
87938
+ */
87939
+ setNoData(
87940
+ /**
87941
+ * The noData to set
87942
+ */
87943
+ vNoData: Control | string
87944
+ ): this;
87843
87945
  /**
87844
87946
  * Sets a new value for property {@link #getNoDataText noDataText}.
87845
87947
  *
87846
87948
  * Defines the text that is displayed when no {@link sap.m.PlanningCalendarRow PlanningCalendarRows} are
87847
- * assigned.
87949
+ * assigned. **Note:** If both `noDataText` property and `noData` aggregation are provided, the `noData`
87950
+ * aggregation takes priority. If the `noData` aggregation is undefined or set to null, the `noDataText`
87951
+ * property is used instead.
87848
87952
  *
87849
87953
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
87850
87954
  *
@@ -88136,7 +88240,9 @@ declare module "sap/m/PlanningCalendar" {
88136
88240
 
88137
88241
  /**
88138
88242
  * Defines the text that is displayed when no {@link sap.m.PlanningCalendarRow PlanningCalendarRows} are
88139
- * assigned.
88243
+ * assigned. **Note:** If both `noDataText` property and `noData` aggregation are provided, the `noData`
88244
+ * aggregation takes priority. If the `noData` aggregation is undefined or set to null, the `noDataText`
88245
+ * property is used instead.
88140
88246
  */
88141
88247
  noDataText?: string | PropertyBindingInfo;
88142
88248
 
@@ -88408,6 +88514,15 @@ declare module "sap/m/PlanningCalendar" {
88408
88514
  | AggregationBindingInfo
88409
88515
  | `{${string}}`;
88410
88516
 
88517
+ /**
88518
+ * Defines the custom visualization if there is no data available. **Note:** If both `noDataText` property
88519
+ * and `noData` aggregation are provided, the `noData` aggregation takes priority. If the `noData` aggregation
88520
+ * is undefined or set to null, the `noDataText` property is used instead.
88521
+ *
88522
+ * @since 1.125.0
88523
+ */
88524
+ noData?: string | Control | PropertyBindingInfo;
88525
+
88411
88526
  /**
88412
88527
  * Association to controls / IDs which label this control (see WAI-ARIA attribute aria-labelledby).
88413
88528
  *
@@ -123341,15 +123456,17 @@ declare module "sap/m/SinglePlanningCalendar" {
123341
123456
 
123342
123457
  import ElementMetadata from "sap/ui/core/ElementMetadata";
123343
123458
 
123344
- import PlanningCalendarLegend from "sap/m/PlanningCalendarLegend";
123345
-
123346
123459
  import UI5Date from "sap/ui/core/date/UI5Date";
123347
123460
 
123461
+ import PlanningCalendarLegend from "sap/m/PlanningCalendarLegend";
123462
+
123348
123463
  import {
123349
123464
  PropertyBindingInfo,
123350
123465
  AggregationBindingInfo,
123351
123466
  } from "sap/ui/base/ManagedObject";
123352
123467
 
123468
+ import Link from "sap/m/Link";
123469
+
123353
123470
  /**
123354
123471
  * Displays a calendar of a single entity (such as person, resource) for the selected time interval.
123355
123472
  *
@@ -124711,15 +124828,12 @@ declare module "sap/m/SinglePlanningCalendar" {
124711
124828
  */
124712
124829
  getSpecialDates(): DateTypeRange[];
124713
124830
  /**
124714
- * Gets current value of property {@link #getStartDate startDate}.
124831
+ * Gets current value of property `startDate`.
124715
124832
  *
124716
- * Determines the start date of the grid, as a UI5Date or JavaScript Date object. It is considered as a
124717
- * local date. The time part will be ignored. The current date is used as default.
124718
124833
  *
124719
- *
124720
- * @returns Value of property `startDate`
124834
+ * @returns The startDate as a UI5Date or JavaScript Date object
124721
124835
  */
124722
- getStartDate(): object;
124836
+ getStartDate(): Date | UI5Date;
124723
124837
  /**
124724
124838
  * Gets current value of property {@link #getStartHour startHour}.
124725
124839
  *
@@ -125866,6 +125980,11 @@ declare module "sap/m/SinglePlanningCalendar" {
125866
125980
  * The date as a UI5Date or JavaScript Date object of the cell with the pressed more link.
125867
125981
  */
125868
125982
  date?: object;
125983
+
125984
+ /**
125985
+ * The link that has been triggered
125986
+ */
125987
+ sourceLink?: Link;
125869
125988
  }
125870
125989
 
125871
125990
  /**
@@ -126209,13 +126328,16 @@ declare module "sap/m/SinglePlanningCalendarView" {
126209
126328
  /**
126210
126329
  * Should calculate the startDate which will be displayed in the `sap.m.SinglePlanningCalendar` based on
126211
126330
  * a given date.
126331
+ *
126332
+ *
126333
+ * @returns The startDate of the view
126212
126334
  */
126213
126335
  calculateStartDate(
126214
126336
  /**
126215
- * A date instance
126337
+ * The given date
126216
126338
  */
126217
126339
  oDate: Date | UI5Date
126218
- ): void;
126340
+ ): Date | UI5Date;
126219
126341
  /**
126220
126342
  * Gets current value of property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
126221
126343
  *
@@ -126229,8 +126351,11 @@ declare module "sap/m/SinglePlanningCalendarView" {
126229
126351
  getCalendarWeekNumbering(): CalendarWeekNumbering;
126230
126352
  /**
126231
126353
  * Should return the number of columns to be displayed in the grid of the `sap.m.SinglePlanningCalendar`.
126354
+ *
126355
+ *
126356
+ * @returns the number of columns to be displayed
126232
126357
  */
126233
- getEntityCount(): void;
126358
+ getEntityCount(): int;
126234
126359
  /**
126235
126360
  * Gets current value of property {@link #getFirstDayOfWeek firstDayOfWeek}.
126236
126361
  *
@@ -126261,8 +126386,11 @@ declare module "sap/m/SinglePlanningCalendarView" {
126261
126386
  * after navigating forward/backward with the arrows. For example, by pressing the forward button inside
126262
126387
  * the work week view, the next startDate of a work week will be 7 entities (days) away from the current
126263
126388
  * one.
126389
+ *
126390
+ *
126391
+ * @returns the number of entities to be skipped by scrolling
126264
126392
  */
126265
- getScrollEntityCount(): void;
126393
+ getScrollEntityCount(): int;
126266
126394
  /**
126267
126395
  * Gets current value of property {@link #getTitle title}.
126268
126396
  *
@@ -153750,6 +153878,20 @@ declare module "sap/m/upload/UploadItem" {
153750
153878
  * Header fields to be included in the header section of an XMLHttpRequest (XHR) request
153751
153879
  */
153752
153880
  getHeaderFields(): Item[];
153881
+ /**
153882
+ * Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
153883
+ *
153884
+ * This property is used in the {@link sap.m.upload.FilePreviewDialog FilePreviewDialog} to determine if
153885
+ * the file is from a trusted source before displaying. This property must be set to true if the file is
153886
+ * from a trusted source.
153887
+ *
153888
+ * Default value is `false`.
153889
+ *
153890
+ * @since 1.125
153891
+ *
153892
+ * @returns Value of property `isTrustedSource`
153893
+ */
153894
+ getIsTrustedSource(): boolean;
153753
153895
  /**
153754
153896
  * Gets current value of property {@link #getMediaType mediaType}.
153755
153897
  *
@@ -153891,6 +154033,27 @@ declare module "sap/m/upload/UploadItem" {
153891
154033
  */
153892
154034
  fFileSize?: float
153893
154035
  ): this;
154036
+ /**
154037
+ * Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
154038
+ *
154039
+ * This property is used in the {@link sap.m.upload.FilePreviewDialog FilePreviewDialog} to determine if
154040
+ * the file is from a trusted source before displaying. This property must be set to true if the file is
154041
+ * from a trusted source.
154042
+ *
154043
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
154044
+ *
154045
+ * Default value is `false`.
154046
+ *
154047
+ * @since 1.125
154048
+ *
154049
+ * @returns Reference to `this` in order to allow method chaining
154050
+ */
154051
+ setIsTrustedSource(
154052
+ /**
154053
+ * New value for property `isTrustedSource`
154054
+ */
154055
+ bIsTrustedSource?: boolean
154056
+ ): this;
153894
154057
  /**
153895
154058
  * Sets a new value for property {@link #getMediaType mediaType}.
153896
154059
  *
@@ -154018,6 +154181,15 @@ declare module "sap/m/upload/UploadItem" {
154018
154181
  */
154019
154182
  fileSize?: float | PropertyBindingInfo | `{${string}}`;
154020
154183
 
154184
+ /**
154185
+ * This property is used in the {@link sap.m.upload.FilePreviewDialog FilePreviewDialog} to determine if
154186
+ * the file is from a trusted source before displaying. This property must be set to true if the file is
154187
+ * from a trusted source.
154188
+ *
154189
+ * @since 1.125
154190
+ */
154191
+ isTrustedSource?: boolean | PropertyBindingInfo | `{${string}}`;
154192
+
154021
154193
  /**
154022
154194
  * Header fields to be included in the header section of an XMLHttpRequest (XHR) request
154023
154195
  */
@@ -154127,6 +154299,19 @@ declare module "sap/m/upload/UploadItemConfiguration" {
154127
154299
  * @returns Value of property `fileSizePath`
154128
154300
  */
154129
154301
  getFileSizePath(): string;
154302
+ /**
154303
+ * Gets current value of property {@link #getIsTrustedSourcePath isTrustedSourcePath}.
154304
+ *
154305
+ * Specifies the path in the model to confirm if the file is from a trusted source. This is used to determine
154306
+ * if the file is uploaded from a trusted source. If the file is uploaded from a trusted source, the file
154307
+ * can be previewed. Set this property to the path in the model that determines if the file is uploaded
154308
+ * from a trusted source.
154309
+ *
154310
+ * @since 1.125
154311
+ *
154312
+ * @returns Value of property `isTrustedSourcePath`
154313
+ */
154314
+ getIsTrustedSourcePath(): string;
154130
154315
  /**
154131
154316
  * Gets current value of property {@link #getMediaTypePath mediaTypePath}.
154132
154317
  *
@@ -154195,6 +154380,26 @@ declare module "sap/m/upload/UploadItemConfiguration" {
154195
154380
  */
154196
154381
  sFileSizePath?: string
154197
154382
  ): this;
154383
+ /**
154384
+ * Sets a new value for property {@link #getIsTrustedSourcePath isTrustedSourcePath}.
154385
+ *
154386
+ * Specifies the path in the model to confirm if the file is from a trusted source. This is used to determine
154387
+ * if the file is uploaded from a trusted source. If the file is uploaded from a trusted source, the file
154388
+ * can be previewed. Set this property to the path in the model that determines if the file is uploaded
154389
+ * from a trusted source.
154390
+ *
154391
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
154392
+ *
154393
+ * @since 1.125
154394
+ *
154395
+ * @returns Reference to `this` in order to allow method chaining
154396
+ */
154397
+ setIsTrustedSourcePath(
154398
+ /**
154399
+ * New value for property `isTrustedSourcePath`
154400
+ */
154401
+ sIsTrustedSourcePath?: string
154402
+ ): this;
154198
154403
  /**
154199
154404
  * Sets a new value for property {@link #getMediaTypePath mediaTypePath}.
154200
154405
  *
@@ -154295,6 +154500,16 @@ declare module "sap/m/upload/UploadItemConfiguration" {
154295
154500
  * Specifies path in the model to the file size.
154296
154501
  */
154297
154502
  fileSizePath?: string | PropertyBindingInfo;
154503
+
154504
+ /**
154505
+ * Specifies the path in the model to confirm if the file is from a trusted source. This is used to determine
154506
+ * if the file is uploaded from a trusted source. If the file is uploaded from a trusted source, the file
154507
+ * can be previewed. Set this property to the path in the model that determines if the file is uploaded
154508
+ * from a trusted source.
154509
+ *
154510
+ * @since 1.125
154511
+ */
154512
+ isTrustedSourcePath?: string | PropertyBindingInfo;
154298
154513
  }
154299
154514
  }
154300
154515
 
@@ -160709,7 +160924,7 @@ declare module "sap/m/upload/UploadSetwithTable" {
160709
160924
  /**
160710
160925
  * Item info object sent as paramter to {@link sap.m.upload.UploadSetwithTable.itemValidationHandler itemValidationHandler callback}
160711
160926
  *
160712
- * @deprecated (since 1.124)
160927
+ * @deprecated (since 1.124) - replaced by {@link sap.m.plugins.UploadSetwithTable.ItemInfo}
160713
160928
  */
160714
160929
  export type ItemInfo = {
160715
160930
  /**
@@ -160730,7 +160945,7 @@ declare module "sap/m/upload/UploadSetwithTable" {
160730
160945
  * Callback function to perform additional validations or configurations for the item queued up for upload
160731
160946
  * and to finally trigger the upload.
160732
160947
  *
160733
- * @deprecated (since 1.124)
160948
+ * @deprecated (since 1.124) - replaced by {@link sap.m.plugins.UploadSetwithTable.itemValidationHandler}
160734
160949
  */
160735
160950
  export type itemValidationHandler = (
160736
160951
  oItemInfo: ItemInfo
@@ -164003,7 +164218,7 @@ declare module "sap/m/UploadCollectionItem" {
164003
164218
  * Defines a structure of the element of the 'items' aggregation.
164004
164219
  *
164005
164220
  * @since 1.26.0
164006
- * @deprecated (since 1.88)
164221
+ * @deprecated (since 1.88) - replaced by {@link sap.m.upload.UploadSetItem}.
164007
164222
  */
164008
164223
  export default class UploadCollectionItem extends UI5Element {
164009
164224
  /**
@@ -165006,7 +165221,7 @@ declare module "sap/m/UploadCollectionItem" {
165006
165221
  /**
165007
165222
  * Describes the settings that can be provided to the UploadCollectionItem constructor.
165008
165223
  *
165009
- * @deprecated (since 1.88)
165224
+ * @deprecated (since 1.88) - replaced by {@link sap.m.upload.UploadSetItem}.
165010
165225
  */
165011
165226
  export interface $UploadCollectionItemSettings extends $ElementSettings {
165012
165227
  /**
@@ -165199,7 +165414,7 @@ declare module "sap/m/UploadCollectionParameter" {
165199
165414
  /**
165200
165415
  * Defines a structure of the element of the 'parameters' aggregation.
165201
165416
  *
165202
- * @deprecated (since 1.88)
165417
+ * @deprecated (since 1.88) - the concept has been discarded.
165203
165418
  */
165204
165419
  export default class UploadCollectionParameter extends UI5Element {
165205
165420
  /**
@@ -165322,7 +165537,7 @@ declare module "sap/m/UploadCollectionParameter" {
165322
165537
  /**
165323
165538
  * Describes the settings that can be provided to the UploadCollectionParameter constructor.
165324
165539
  *
165325
- * @deprecated (since 1.88)
165540
+ * @deprecated (since 1.88) - the concept has been discarded.
165326
165541
  */
165327
165542
  export interface $UploadCollectionParameterSettings extends $ElementSettings {
165328
165543
  /**
@@ -165351,7 +165566,7 @@ declare module "sap/m/UploadCollectionToolbarPlaceholder" {
165351
165566
  * the toolbar and will be placed by the application.
165352
165567
  *
165353
165568
  * @since 1.34.0
165354
- * @deprecated (since 1.88)
165569
+ * @deprecated (since 1.88) - replaced by {@link sap.m.upload.UploadSetToolbarPlaceholder}.
165355
165570
  */
165356
165571
  export default class UploadCollectionToolbarPlaceholder extends Control {
165357
165572
  /**
@@ -165426,7 +165641,7 @@ declare module "sap/m/UploadCollectionToolbarPlaceholder" {
165426
165641
  /**
165427
165642
  * Describes the settings that can be provided to the UploadCollectionToolbarPlaceholder constructor.
165428
165643
  *
165429
- * @deprecated (since 1.88)
165644
+ * @deprecated (since 1.88) - replaced by {@link sap.m.upload.UploadSetToolbarPlaceholder}.
165430
165645
  */
165431
165646
  export interface $UploadCollectionToolbarPlaceholderSettings
165432
165647
  extends $ControlSettings {}