@openui5/ts-types 1.94.0 → 1.97.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.94.0
1
+ // For Library Version: 1.97.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -8,13 +8,6 @@ declare namespace sap {
8
8
  * browsers.
9
9
  */
10
10
  namespace m {
11
- /**
12
- * @EXPERIMENTAL (since 1.92)
13
- *
14
- * A utility class for working with the DynamicDateOption instances.
15
- */
16
- export const DynamicDateUtil: undefined;
17
-
18
11
  /**
19
12
  * @EXPERIMENTAL (since 1.92)
20
13
  *
@@ -1497,8 +1490,11 @@ declare namespace sap {
1497
1490
  * Used for closing dialogs and showing transitions in `NavContainers` when targets are displayed.
1498
1491
  *
1499
1492
  * **Note:** You should not create an own instance of this class. It is created when using `{@link sap.m.routing.Router}`
1500
- * or `{@link sap.m.routing.Targets}`. You may use the `{@link #setCloseDialogs}` function to specify if
1501
- * dialogs should be closed on displaying other views.
1493
+ * or `{@link sap.m.routing.Targets}`.
1494
+ *
1495
+ * **Note:** You may use the `{@link #setCloseDialogs}` function to specify if dialogs should be closed
1496
+ * on displaying other views. The dialogs are closed when a different target is displayed than the previously
1497
+ * displayed one, otherwise the dialogs are kept open.
1502
1498
  */
1503
1499
  class TargetHandler extends sap.ui.base.Object {
1504
1500
  /**
@@ -1506,8 +1502,8 @@ declare namespace sap {
1506
1502
  */
1507
1503
  constructor(
1508
1504
  /**
1509
- * Closes all open dialogs before navigating, if set to `true` (default). If set to `false`, it will just
1510
- * navigate without closing dialogs.
1505
+ * Closes all open dialogs before navigating to a different target, if set to `true` (default). If set to
1506
+ * `false`, it will just navigate without closing dialogs.
1511
1507
  */
1512
1508
  closeDialogs: boolean
1513
1509
  );
@@ -1543,6 +1539,9 @@ declare namespace sap {
1543
1539
  getCloseDialogs(): boolean;
1544
1540
  /**
1545
1541
  * Sets if a navigation should close dialogs.
1542
+ *
1543
+ * **Note:** The dialogs are closed when a different target is displayed than the previous one, otherwise
1544
+ * the dialogs are kept open even when `bCloseDialogs` is `true`.
1546
1545
  */
1547
1546
  setCloseDialogs(
1548
1547
  /**
@@ -10883,6 +10882,15 @@ declare namespace sap {
10883
10882
  */
10884
10883
  badgeTooltip?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
10885
10884
 
10885
+ /**
10886
+ * @SINCE 1.97
10887
+ *
10888
+ * Defines whether the `sap.m.Avatar` is used for decorative purposes and is ignored by accessibility tools.
10889
+ *
10890
+ * **Note:** This property doesn't take effect if `sap.m.Avatar` has a `press` handler.
10891
+ */
10892
+ decorative?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
10893
+
10886
10894
  /**
10887
10895
  * A `sap.m.LightBox` instance, that will be opened automatically when the user interacts with the `Avatar`
10888
10896
  * control.
@@ -11887,6 +11895,14 @@ declare namespace sap {
11887
11895
  */
11888
11896
  open?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
11889
11897
 
11898
+ /**
11899
+ * @SINCE 1.96
11900
+ *
11901
+ * Specifies whether clear icon is shown. Pressing the icon will clear input's value and fire the change
11902
+ * and liveChange events.
11903
+ */
11904
+ showClearIcon?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
11905
+
11890
11906
  /**
11891
11907
  * Defines the items contained within this control. **Note:** Disabled items are not visualized in the list
11892
11908
  * with the available options, however they can still be accessed through the aggregation.
@@ -12089,6 +12105,33 @@ declare namespace sap {
12089
12105
  */
12090
12106
  showFooter?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
12091
12107
 
12108
+ /**
12109
+ * @SINCE 1.95
12110
+ *
12111
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
12112
+ * view, the calendar navigates to Day picker view.
12113
+ *
12114
+ * Note: The Current date button appears if the `displayFormat` property allows entering day.
12115
+ */
12116
+ showCurrentDateButton?:
12117
+ | boolean
12118
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
12119
+
12120
+ /**
12121
+ * @SINCE 1.97
12122
+ *
12123
+ * Determines whether the input field of the picker is hidden or visible. When set to `true`, the input
12124
+ * field becomes invisible and there is no way to open the picker popover. In that case it can be opened
12125
+ * by another control through calling of picker's `openBy` method, and the opening control's DOM reference
12126
+ * must be provided as parameter.
12127
+ *
12128
+ * Note: Since the picker is not responsible for accessibility attributes of the control which opens its
12129
+ * popover, those attributes should be added by the application developer. The following is recommended
12130
+ * to be added to the opening control: a text or tooltip that describes the action (example: "Open Date
12131
+ * Picker"), and also aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
12132
+ */
12133
+ hideInput?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
12134
+
12092
12135
  /**
12093
12136
  * @SINCE 1.38.5
12094
12137
  *
@@ -12316,16 +12359,16 @@ declare namespace sap {
12316
12359
  /**
12317
12360
  * @SINCE 1.56
12318
12361
  *
12319
- * Sets the minutes slider step. If the step is less than 1, it will be automatically converted back to
12320
- * 1. The minutes slider is populated only by multiples of the step.
12362
+ * Sets the minutes step. If the step is less than 1, it will be automatically converted back to 1. The
12363
+ * minutes clock is populated only by multiples of the step.
12321
12364
  */
12322
12365
  minutesStep?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
12323
12366
 
12324
12367
  /**
12325
12368
  * @SINCE 1.56
12326
12369
  *
12327
- * Sets the seconds slider step. If the step is less than 1, it will be automatically converted back to
12328
- * 1. The seconds slider is populated only by multiples of the step.
12370
+ * Sets the seconds step. If the step is less than 1, it will be automatically converted back to 1. The
12371
+ * seconds clock is populated only by multiples of the step.
12329
12372
  */
12330
12373
  secondsStep?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
12331
12374
  }
@@ -12373,7 +12416,7 @@ declare namespace sap {
12373
12416
  * @SINCE 1.11.2
12374
12417
  * @deprecated (since 1.13.1) - Please use the new stretch property instead. This enables a stretched Dialog
12375
12418
  * even on tablet and desktop. If you want to achieve the same effect as `stretchOnPhone`, please set the
12376
- * stretch with jQuery.device.is.phone, then the Dialog is only stretched when it runs on a phone.
12419
+ * stretch with `Device.system.phone`, then the Dialog is only stretched when it runs on a phone.
12377
12420
  *
12378
12421
  * Determines whether the Dialog will be displayed on full screen on a phone.
12379
12422
  */
@@ -13753,6 +13796,13 @@ declare namespace sap {
13753
13796
  */
13754
13797
  value?: sap.m.ObjectNumber;
13755
13798
 
13799
+ /**
13800
+ * @SINCE 1.97.0
13801
+ *
13802
+ * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy).
13803
+ */
13804
+ ariaLabelledBy?: Array<sap.ui.core.Control | string>;
13805
+
13756
13806
  /**
13757
13807
  * Fired when the user clicks/taps on the control.
13758
13808
  */
@@ -13887,6 +13937,32 @@ declare namespace sap {
13887
13937
  */
13888
13938
  url?: sap.ui.core.URI | sap.ui.base.ManagedObject.PropertyBindingInfo;
13889
13939
 
13940
+ /**
13941
+ * @EXPERIMENTAL (since 1.96)
13942
+ *
13943
+ * Renders the given link as a button, enabling the option of opening the link in new tab/window functionality.
13944
+ * Works only in ArticleMode.
13945
+ */
13946
+ enableNavigationButton?:
13947
+ | boolean
13948
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
13949
+
13950
+ /**
13951
+ * @EXPERIMENTAL (since 1.96)
13952
+ *
13953
+ * Disables press event for the tile control.
13954
+ */
13955
+ pressEnabled?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
13956
+
13957
+ /**
13958
+ * @EXPERIMENTAL (since 1.96)
13959
+ *
13960
+ * Text for navigate action button. Default Value is "Read More". Works only in ArticleMode.
13961
+ */
13962
+ navigationButtonText?:
13963
+ | string
13964
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
13965
+
13890
13966
  /**
13891
13967
  * @SINCE 1.60
13892
13968
  *
@@ -13914,6 +13990,36 @@ declare namespace sap {
13914
13990
  | string
13915
13991
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
13916
13992
 
13993
+ /**
13994
+ * @SINCE 1.96
13995
+ * @EXPERIMENTAL (since 1.96)
13996
+ *
13997
+ * Icon of the GenericTile. Only applicable for IconMode.
13998
+ */
13999
+ tileIcon?:
14000
+ | sap.ui.core.URI
14001
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
14002
+
14003
+ /**
14004
+ * @SINCE 1.96
14005
+ * @EXPERIMENTAL (since 1.96)
14006
+ *
14007
+ * Background color of the GenericTile. Only applicable for IconMode.
14008
+ */
14009
+ backgroundColor?:
14010
+ | sap.ui.core.CSSColor
14011
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
14012
+
14013
+ /**
14014
+ * @SINCE 1.95
14015
+ * @EXPERIMENTAL
14016
+ *
14017
+ * The semantic color of the value.
14018
+ */
14019
+ valueColor?:
14020
+ | sap.m.ValueColor
14021
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
14022
+
13917
14023
  /**
13918
14024
  * The content of the tile.
13919
14025
  */
@@ -13931,6 +14037,16 @@ declare namespace sap {
13931
14037
  */
13932
14038
  icon?: sap.ui.core.Control;
13933
14039
 
14040
+ /**
14041
+ * @EXPERIMENTAL (since 1.96)
14042
+ *
14043
+ * Action buttons added in ActionMode.
14044
+ */
14045
+ actionButtons?:
14046
+ | sap.m.Button[]
14047
+ | sap.m.Button
14048
+ | sap.ui.base.ManagedObject.AggregationBindingInfo;
14049
+
13934
14050
  /**
13935
14051
  * The event is triggered when the user presses the tile.
13936
14052
  */
@@ -15893,6 +16009,14 @@ declare namespace sap {
15893
16009
  */
15894
16010
  mask?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
15895
16011
 
16012
+ /**
16013
+ * @SINCE 1.96
16014
+ *
16015
+ * Specifies whether a clear icon is shown. Pressing the icon will clear input's value and fire the change
16016
+ * event.
16017
+ */
16018
+ showClearIcon?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
16019
+
15896
16020
  /**
15897
16021
  * A list of validation rules (one rule per mask character).
15898
16022
  */
@@ -16177,6 +16301,17 @@ declare namespace sap {
16177
16301
  */
16178
16302
  title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
16179
16303
 
16304
+ /**
16305
+ * @SINCE 1.97
16306
+ *
16307
+ * Defines the semantic level of the title. When using `Auto`, no explicit level information is written.
16308
+ *
16309
+ * **Note:** Used for accessibility purposes only.
16310
+ */
16311
+ titleLevel?:
16312
+ | sap.ui.core.TitleLevel
16313
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
16314
+
16180
16315
  /**
16181
16316
  * Determines the visibility of the MessagePage header. Can be used to hide the header of the MessagePage
16182
16317
  * when it's embedded in another page.
@@ -16511,6 +16646,11 @@ declare namespace sap {
16511
16646
  */
16512
16647
  selectedKeys?: string[] | sap.ui.base.ManagedObject.PropertyBindingInfo;
16513
16648
 
16649
+ /**
16650
+ * Determines if the select all checkbox is visible on top of suggestions.
16651
+ */
16652
+ showSelectAll?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
16653
+
16514
16654
  /**
16515
16655
  * Provides getter and setter for the selected items from the aggregation named items.
16516
16656
  */
@@ -19225,8 +19365,8 @@ declare namespace sap {
19225
19365
  * @SINCE 1.81.0
19226
19366
  * @EXPERIMENTAL (since 1.81.0)
19227
19367
  *
19228
- * Defines rounding of the width CalendarAppoinment **Note:** This property is applied, when
19229
- * the calendar interval type is day and the view shows more than 20 days
19368
+ * Defines rounding of the width `CalendarAppoinment` **Note:** This property is applied, when the calendar
19369
+ * interval type is day and the view shows more than 20 days
19230
19370
  */
19231
19371
  appointmentRoundWidth?:
19232
19372
  | sap.ui.unified.CalendarAppointmentRoundWidth
@@ -19329,6 +19469,17 @@ declare namespace sap {
19329
19469
  */
19330
19470
  firstDayOfWeek?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
19331
19471
 
19472
+ /**
19473
+ * @SINCE 1.97
19474
+ *
19475
+ * Determines whether the selection of multiple appointments is enabled.
19476
+ *
19477
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
19478
+ */
19479
+ multipleAppointmentsSelection?:
19480
+ | boolean
19481
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
19482
+
19332
19483
  /**
19333
19484
  * Rows of the `PlanningCalendar`.
19334
19485
  */
@@ -22252,6 +22403,16 @@ declare namespace sap {
22252
22403
  | sap.ui.core.CSSSize
22253
22404
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
22254
22405
 
22406
+ /**
22407
+ * @SINCE 1.96
22408
+ * @EXPERIMENTAL
22409
+ *
22410
+ * Height of the control.
22411
+ */
22412
+ height?:
22413
+ | sap.ui.core.CSSSize
22414
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
22415
+
22255
22416
  /**
22256
22417
  * The set of Generic Tiles to be shown in the control.
22257
22418
  */
@@ -22518,7 +22679,9 @@ declare namespace sap {
22518
22679
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
22519
22680
 
22520
22681
  /**
22521
- * Defines an additional information text.
22682
+ * Defines an additional information text. **Note:** A wrapping of the information text is also supported
22683
+ * as of version 1.95, if `wrapping=true`. Although long strings are supported for the information text,
22684
+ * it is recommended to use short strings. For more details, see {@link #getWrapping wrapping}.
22522
22685
  */
22523
22686
  info?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
22524
22687
 
@@ -22567,6 +22730,9 @@ declare namespace sap {
22567
22730
  *
22568
22731
  * In the desktop mode, initial rendering of the control contains 300 characters along with a button to
22569
22732
  * expand and collapse the text whereas in the phone mode, the character limit is set to 100 characters.
22733
+ * A wrapping of the information text is supported as of 1.95. But expanding and collapsing the information
22734
+ * text is not possible. A wrapping of the information text is disabled if `infoStateInverted` is set to
22735
+ * `true`.
22570
22736
  */
22571
22737
  wrapping?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
22572
22738
 
@@ -23558,7 +23724,7 @@ declare namespace sap {
23558
23724
  * @SINCE 1.38.0
23559
23725
  *
23560
23726
  * Indicates the ability of the control to automatically grow and shrink dynamically with its content. **Note:**
23561
- * The `height` property is ignored, if this property set to `true`.
23727
+ * This property should not be used when the `height` property is set.
23562
23728
  */
23563
23729
  growing?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
23564
23730
 
@@ -23678,6 +23844,15 @@ declare namespace sap {
23678
23844
  | sap.m.FrameType
23679
23845
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
23680
23846
 
23847
+ /**
23848
+ * @EXPERIMENTAL (since 1.96)
23849
+ *
23850
+ * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
23851
+ */
23852
+ priority?:
23853
+ | sap.ui.core.Priority
23854
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
23855
+
23681
23856
  /**
23682
23857
  * The switchable view that depends on the tile type.
23683
23858
  */
@@ -23758,6 +23933,21 @@ declare namespace sap {
23758
23933
  */
23759
23934
  support2400?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
23760
23935
 
23936
+ /**
23937
+ * @SINCE 1.97
23938
+ *
23939
+ * Determines whether the input field of the picker is hidden or visible. When set to `true`, the input
23940
+ * field becomes invisible and there is no way to open the picker popover. In that case it can be opened
23941
+ * by another control through calling of picker's `openBy` method, and the opening control's DOM reference
23942
+ * must be provided as parameter.
23943
+ *
23944
+ * Note: Since the picker is not responsible for accessibility attributes of the control which opens its
23945
+ * popover, those attributes should be added by the application developer. The following is recommended
23946
+ * to be added to the opening control: a text or tooltip that describes the action (example: "Open Time
23947
+ * Picker"), and also aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
23948
+ */
23949
+ hideInput?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
23950
+
23761
23951
  /**
23762
23952
  * A list of validation rules (one rule per mask character).
23763
23953
  */
@@ -25073,6 +25263,63 @@ declare namespace sap {
25073
25263
  activate?: (oEvent: sap.ui.base.Event) => void;
25074
25264
  }
25075
25265
 
25266
+ /**
25267
+ * @EXPERIMENTAL (since 1.92)
25268
+ *
25269
+ * The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
25270
+ */
25271
+ interface DynamicDateUtil {
25272
+ /**
25273
+ * Adds an option to be reused as a global object.
25274
+ */
25275
+ addOption(
25276
+ /**
25277
+ * The option to be added
25278
+ */
25279
+ option: sap.m.DynamicDateOption
25280
+ ): void;
25281
+ /**
25282
+ * Gets all available standard and custom dynamic date option keys.
25283
+ */
25284
+ getAllOptionKeys(): string[];
25285
+ /**
25286
+ * Gets an option by its key.
25287
+ */
25288
+ getOption(
25289
+ /**
25290
+ * The option key
25291
+ */
25292
+ sKey: string
25293
+ ): sap.m.DynamicDateOption;
25294
+ /**
25295
+ * Parses a string to an array of objects in the DynamicDateRange's value format. Uses the provided formatter.
25296
+ */
25297
+ parse(
25298
+ /**
25299
+ * The string to be parsed
25300
+ */
25301
+ sValue: string,
25302
+ /**
25303
+ * A dynamic date formatter
25304
+ */
25305
+ oFormatter: sap.m.DynamicDateFormat,
25306
+ /**
25307
+ * array of option names
25308
+ */
25309
+ aOptionKeys: any[]
25310
+ ): object[];
25311
+ /**
25312
+ * Calculates a date range from a provided object in the format of the DynamicDateRange's value.
25313
+ */
25314
+ toDates(
25315
+ /**
25316
+ * The provided value
25317
+ */
25318
+ oValue: string
25319
+ ): /* was: sap.ui.core.date.UniversalDate */ any[];
25320
+ }
25321
+ const DynamicDateUtil: DynamicDateUtil;
25322
+
25076
25323
  /**
25077
25324
  * @SINCE 1.9.2
25078
25325
  *
@@ -27966,6 +28213,18 @@ declare namespace sap {
27966
28213
  * Default value is `"1.125rem"`.
27967
28214
  */
27968
28215
  getCustomFontSize(): sap.ui.core.CSSSize;
28216
+ /**
28217
+ * @SINCE 1.97
28218
+ *
28219
+ * Gets current value of property {@link #getDecorative decorative}.
28220
+ *
28221
+ * Defines whether the `sap.m.Avatar` is used for decorative purposes and is ignored by accessibility tools.
28222
+ *
28223
+ * **Note:** This property doesn't take effect if `sap.m.Avatar` has a `press` handler.
28224
+ *
28225
+ * Default value is `false`.
28226
+ */
28227
+ getDecorative(): boolean;
27969
28228
  /**
27970
28229
  * Gets content of aggregation {@link #getDetailBox detailBox}.
27971
28230
  *
@@ -28145,6 +28404,25 @@ declare namespace sap {
28145
28404
  */
28146
28405
  sCustomFontSize?: sap.ui.core.CSSSize
28147
28406
  ): this;
28407
+ /**
28408
+ * @SINCE 1.97
28409
+ *
28410
+ * Sets a new value for property {@link #getDecorative decorative}.
28411
+ *
28412
+ * Defines whether the `sap.m.Avatar` is used for decorative purposes and is ignored by accessibility tools.
28413
+ *
28414
+ * **Note:** This property doesn't take effect if `sap.m.Avatar` has a `press` handler.
28415
+ *
28416
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
28417
+ *
28418
+ * Default value is `false`.
28419
+ */
28420
+ setDecorative(
28421
+ /**
28422
+ * New value for property `decorative`
28423
+ */
28424
+ bDecorative?: boolean
28425
+ ): this;
28148
28426
  /**
28149
28427
  * Sets the `detailBox` aggregation.
28150
28428
  */
@@ -31830,11 +32108,13 @@ declare namespace sap {
31830
32108
  * See:
31831
32109
  * {@link sap.m.ColorPalettePopover}
31832
32110
  *
31833
- * **Note:** The {@link sap.ui.unified.ColorPicker} is used internally only if the `ColorPicker`
32111
+ * **Note:** The application developers should add dependency to `sap.ui.unified` library
32112
+ * on application level to ensure that the library is loaded before the module dependencies will be required.
32113
+ * The {@link sap.ui.unified.ColorPicker} is used internally only if the `ColorPicker`
31834
32114
  * is opened (not used for the initial rendering). If the `sap.ui.unified` library is not loaded
31835
- * before the `ColorPicker` is opened, it will be loaded upon opening. This could lead to a waiting
31836
- * time when the `ColorPicker` is opened for the first time. To prevent this, apps using the
31837
- * `ColorPalette` should also load the `sap.ui.unified` library.
32115
+ * before the `ColorPicker` is opened, it will be loaded upon opening. This could lead to CSP compliance
32116
+ * issues and adds an additional waiting time when the `ColorPicker` is opened for the first time.
32117
+ * To prevent this, apps using the `ColorPalette` should also load the `sap.ui.unified` library in advance.
31838
32118
  */
31839
32119
  constructor(
31840
32120
  /**
@@ -31851,11 +32131,13 @@ declare namespace sap {
31851
32131
  * See:
31852
32132
  * {@link sap.m.ColorPalettePopover}
31853
32133
  *
31854
- * **Note:** The {@link sap.ui.unified.ColorPicker} is used internally only if the `ColorPicker`
32134
+ * **Note:** The application developers should add dependency to `sap.ui.unified` library
32135
+ * on application level to ensure that the library is loaded before the module dependencies will be required.
32136
+ * The {@link sap.ui.unified.ColorPicker} is used internally only if the `ColorPicker`
31855
32137
  * is opened (not used for the initial rendering). If the `sap.ui.unified` library is not loaded
31856
- * before the `ColorPicker` is opened, it will be loaded upon opening. This could lead to a waiting
31857
- * time when the `ColorPicker` is opened for the first time. To prevent this, apps using the
31858
- * `ColorPalette` should also load the `sap.ui.unified` library.
32138
+ * before the `ColorPicker` is opened, it will be loaded upon opening. This could lead to CSP compliance
32139
+ * issues and adds an additional waiting time when the `ColorPicker` is opened for the first time.
32140
+ * To prevent this, apps using the `ColorPalette` should also load the `sap.ui.unified` library in advance.
31859
32141
  */
31860
32142
  constructor(
31861
32143
  /**
@@ -34118,7 +34400,18 @@ declare namespace sap {
34118
34400
  /**
34119
34401
  * Gets the flag indicating whether the list items should be recreated
34120
34402
  */
34121
- getRecreateItems(): void;
34403
+ getRecreateItems(): boolean;
34404
+ /**
34405
+ * @SINCE 1.96
34406
+ *
34407
+ * Gets current value of property {@link #getShowClearIcon showClearIcon}.
34408
+ *
34409
+ * Specifies whether clear icon is shown. Pressing the icon will clear input's value and fire the change
34410
+ * and liveChange events.
34411
+ *
34412
+ * Default value is `false`.
34413
+ */
34414
+ getShowClearIcon(): boolean;
34122
34415
  /**
34123
34416
  * @SINCE 1.60
34124
34417
  *
@@ -34131,13 +34424,23 @@ declare namespace sap {
34131
34424
  */
34132
34425
  getShowSecondaryValues(): boolean;
34133
34426
  /**
34134
- * Fires when an object gets inserted in the items aggregation
34427
+ * Fires when an object gets inserted in the items aggregation.
34135
34428
  */
34136
- handleItemInsertion(): void;
34429
+ handleItemInsertion(
34430
+ /**
34431
+ * The item that should be inserted
34432
+ */
34433
+ oItem: sap.ui.core.Item
34434
+ ): void;
34137
34435
  /**
34138
- * Fires when an object gets removed from the items aggregation
34436
+ * Fires when an object gets removed from the items aggregation.
34139
34437
  */
34140
- handleItemRemoval(): void;
34438
+ handleItemRemoval(
34439
+ /**
34440
+ * The item that should be removed
34441
+ */
34442
+ oItem: sap.ui.core.Item
34443
+ ): void;
34141
34444
  /**
34142
34445
  * Determines whether the control has content or not.
34143
34446
  */
@@ -34274,9 +34577,14 @@ declare namespace sap {
34274
34577
  sPickerType: string
34275
34578
  ): void;
34276
34579
  /**
34277
- * Sets whether the list items should be recreated
34580
+ * Sets whether the list items should be recreated.
34278
34581
  */
34279
- setRecreateItems(): void;
34582
+ setRecreateItems(
34583
+ /**
34584
+ * True if the list items should be recreated
34585
+ */
34586
+ bRecreate: boolean
34587
+ ): void;
34280
34588
  /**
34281
34589
  * Sets the selectable property of `sap.ui.core.Item`
34282
34590
  */
@@ -34290,6 +34598,24 @@ declare namespace sap {
34290
34598
  */
34291
34599
  bSelectable: boolean
34292
34600
  ): void;
34601
+ /**
34602
+ * @SINCE 1.96
34603
+ *
34604
+ * Sets a new value for property {@link #getShowClearIcon showClearIcon}.
34605
+ *
34606
+ * Specifies whether clear icon is shown. Pressing the icon will clear input's value and fire the change
34607
+ * and liveChange events.
34608
+ *
34609
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
34610
+ *
34611
+ * Default value is `false`.
34612
+ */
34613
+ setShowClearIcon(
34614
+ /**
34615
+ * New value for property `showClearIcon`
34616
+ */
34617
+ bShowClearIcon?: boolean
34618
+ ): this;
34293
34619
  /**
34294
34620
  * @SINCE 1.60
34295
34621
  *
@@ -34317,6 +34643,15 @@ declare namespace sap {
34317
34643
  */
34318
34644
  oTextField: sap.m.ComboBoxTextField | sap.m.Input
34319
34645
  ): void;
34646
+ /**
34647
+ * Sets the value property of the control.
34648
+ */
34649
+ setValue(
34650
+ /**
34651
+ * The new value
34652
+ */
34653
+ sValue: string
34654
+ ): this;
34320
34655
  /**
34321
34656
  * @SINCE 1.64
34322
34657
  * @EXPERIMENTAL (since 1.64)
@@ -34374,6 +34709,12 @@ declare namespace sap {
34374
34709
  */
34375
34710
  mSettings?: sap.m.$ComboBoxTextFieldSettings
34376
34711
  );
34712
+ /**
34713
+ * Returns the arrow icon
34714
+ *
34715
+ * Left for backward compatibility.
34716
+ */
34717
+ getIcon: undefined;
34377
34718
 
34378
34719
  /**
34379
34720
  * Creates a new subclass of class sap.m.ComboBoxTextField with name `sClassName` and enriches it with the
@@ -34400,10 +34741,6 @@ declare namespace sap {
34400
34741
  * Returns a metadata object for class sap.m.ComboBoxTextField.
34401
34742
  */
34402
34743
  static getMetadata(): sap.ui.core.ElementMetadata;
34403
- /**
34404
- * Returns the arrow icon
34405
- */
34406
- getIcon(): sap.ui.core.Icon;
34407
34744
  /**
34408
34745
  * Gets current value of property {@link #getMaxWidth maxWidth}.
34409
34746
  *
@@ -35154,11 +35491,13 @@ declare namespace sap {
35154
35491
  * The `DatePicker` lets the users select a localized date using touch, mouse, or keyboard input. It consists
35155
35492
  * of two parts: the date input field and the date picker.
35156
35493
  *
35157
- * **Note:** The {@link sap.ui.unified.Calendar} is used internally only if the `DatePicker` is opened (not
35158
- * used for the initial rendering). If the `sap.ui.unified` library is not loaded before the `DatePicker`
35159
- * is opened, it will be loaded upon opening. This could lead to a waiting time when the `DatePicker` is
35160
- * opened for the first time. To prevent this, apps using the `DatePicker` should also load the `sap.ui.unified`
35161
- * library.
35494
+ * **Note:** The application developer should add dependency to `sap.ui.unified` library on application
35495
+ * level to ensure that the library is loaded before the module dependencies will be required. The {@link
35496
+ * sap.ui.unified.Calendar} is used internally only if the `DatePicker` is opened (not used for the initial
35497
+ * rendering). If the `sap.ui.unified` library is not loaded before the `DatePicker` is opened, it will
35498
+ * be loaded upon opening. This could lead to CSP compliance issues and adds an additional waiting time
35499
+ * when the `DatePicker` is opened for the first time. To prevent this, apps using the `DatePicker` should
35500
+ * also load the `sap.ui.unified` library in advance.
35162
35501
  *
35163
35502
  * Usage:
35164
35503
  *
@@ -35410,6 +35749,24 @@ declare namespace sap {
35410
35749
  * Default value is `empty string`.
35411
35750
  */
35412
35751
  getDisplayFormatType(): string;
35752
+ /**
35753
+ * @SINCE 1.97
35754
+ *
35755
+ * Gets current value of property {@link #getHideInput hideInput}.
35756
+ *
35757
+ * Determines whether the input field of the picker is hidden or visible. When set to `true`, the input
35758
+ * field becomes invisible and there is no way to open the picker popover. In that case it can be opened
35759
+ * by another control through calling of picker's `openBy` method, and the opening control's DOM reference
35760
+ * must be provided as parameter.
35761
+ *
35762
+ * Note: Since the picker is not responsible for accessibility attributes of the control which opens its
35763
+ * popover, those attributes should be added by the application developer. The following is recommended
35764
+ * to be added to the opening control: a text or tooltip that describes the action (example: "Open Date
35765
+ * Picker"), and also aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
35766
+ *
35767
+ * Default value is `false`.
35768
+ */
35769
+ getHideInput(): boolean;
35413
35770
  /**
35414
35771
  * @SINCE 1.38.5
35415
35772
  *
@@ -35447,6 +35804,19 @@ declare namespace sap {
35447
35804
  * are only displayed in the primary calendar type
35448
35805
  */
35449
35806
  getSecondaryCalendarType(): sap.ui.core.CalendarType;
35807
+ /**
35808
+ * @SINCE 1.95
35809
+ *
35810
+ * Gets current value of property {@link #getShowCurrentDateButton showCurrentDateButton}.
35811
+ *
35812
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
35813
+ * view, the calendar navigates to Day picker view.
35814
+ *
35815
+ * Note: The Current date button appears if the `displayFormat` property allows entering day.
35816
+ *
35817
+ * Default value is `false`.
35818
+ */
35819
+ getShowCurrentDateButton(): boolean;
35450
35820
  /**
35451
35821
  * @SINCE 1.70
35452
35822
  *
@@ -35534,6 +35904,26 @@ declare namespace sap {
35534
35904
  * Returns if the last entered value is valid.
35535
35905
  */
35536
35906
  isValidValue(): boolean;
35907
+ /**
35908
+ * @SINCE 1.97
35909
+ *
35910
+ * Opens the picker popover. The popover is positioned relatively to the control given as `oDomRef` parameter
35911
+ * on tablet or desktop and is full screen on phone. Therefore the control parameter is only used on tablet
35912
+ * or desktop and is ignored on phone.
35913
+ *
35914
+ * Note: use this method to open the picker popover only when the `hideInput` property is set to `true`.
35915
+ * Please consider opening of the picker popover by another control only in scenarios that comply with Fiori
35916
+ * guidelines. For example, opening the picker popover by another popover is not recommended. The application
35917
+ * developer should implement the following accessibility attributes to the opening control: a text or tooltip
35918
+ * that describes the action (example: "Open Date Picker"), and aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
35919
+ */
35920
+ openBy(
35921
+ /**
35922
+ * DOM reference of the opening control. On tablet or desktop, the popover is positioned relatively to this
35923
+ * control.
35924
+ */
35925
+ oDomRef: HTMLElement
35926
+ ): void;
35537
35927
  /**
35538
35928
  * @SINCE 1.38.5
35539
35929
  *
@@ -35582,6 +35972,31 @@ declare namespace sap {
35582
35972
  */
35583
35973
  sDisplayFormatType?: string
35584
35974
  ): this;
35975
+ /**
35976
+ * @SINCE 1.97
35977
+ *
35978
+ * Sets a new value for property {@link #getHideInput hideInput}.
35979
+ *
35980
+ * Determines whether the input field of the picker is hidden or visible. When set to `true`, the input
35981
+ * field becomes invisible and there is no way to open the picker popover. In that case it can be opened
35982
+ * by another control through calling of picker's `openBy` method, and the opening control's DOM reference
35983
+ * must be provided as parameter.
35984
+ *
35985
+ * Note: Since the picker is not responsible for accessibility attributes of the control which opens its
35986
+ * popover, those attributes should be added by the application developer. The following is recommended
35987
+ * to be added to the opening control: a text or tooltip that describes the action (example: "Open Date
35988
+ * Picker"), and also aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
35989
+ *
35990
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35991
+ *
35992
+ * Default value is `false`.
35993
+ */
35994
+ setHideInput(
35995
+ /**
35996
+ * New value for property `hideInput`
35997
+ */
35998
+ bHideInput?: boolean
35999
+ ): this;
35585
36000
  /**
35586
36001
  * @SINCE 1.38.5
35587
36002
  *
@@ -35646,6 +36061,26 @@ declare namespace sap {
35646
36061
  */
35647
36062
  sSecondaryCalendarType?: sap.ui.core.CalendarType
35648
36063
  ): this;
36064
+ /**
36065
+ * @SINCE 1.95
36066
+ *
36067
+ * Sets a new value for property {@link #getShowCurrentDateButton showCurrentDateButton}.
36068
+ *
36069
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or Year-range picker
36070
+ * view, the calendar navigates to Day picker view.
36071
+ *
36072
+ * Note: The Current date button appears if the `displayFormat` property allows entering day.
36073
+ *
36074
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
36075
+ *
36076
+ * Default value is `false`.
36077
+ */
36078
+ setShowCurrentDateButton(
36079
+ /**
36080
+ * New value for property `showCurrentDateButton`
36081
+ */
36082
+ bShowCurrentDateButton?: boolean
36083
+ ): this;
35649
36084
  /**
35650
36085
  * @SINCE 1.70
35651
36086
  *
@@ -35701,11 +36136,13 @@ declare namespace sap {
35701
36136
  * **Note:** The control is not UTC aware and the selected date range starts from 00:00:00:000 of the first
35702
36137
  * date and ends in 23:59:59:999 on the second date.
35703
36138
  *
35704
- * The {@link sap.ui.unified.Calendar} is used internally only if the `DateRangeSelection` is opened (not
35705
- * used for the initial rendering). If the `sap.ui.unified` library is not loaded before the `DateRangeSelection`
35706
- * is opened, it will be loaded upon opening. This could lead to a waiting time when the `DateRangeSelection`
36139
+ * The application developer should add dependency to `sap.ui.unified` library on application level to ensure
36140
+ * that the library is loaded before the module dependencies will be required. The {@link sap.ui.unified.Calendar}
36141
+ * is used internally only if the `DateRangeSelection` is opened (not used for the initial rendering). If
36142
+ * the `sap.ui.unified` library is not loaded before the `DateRangeSelection` is opened, it will be loaded
36143
+ * upon opening. This could lead to CSP compliance issues and adds an additional waiting time when the `DateRangeSelection`
35707
36144
  * is opened for the first time. To prevent this, apps using the `DateRangeSelection` should also load the
35708
- * `sap.ui.unified` library.
36145
+ * `sap.ui.unified` library in advance.
35709
36146
  *
35710
36147
  * Usage:
35711
36148
  *
@@ -36732,11 +37169,13 @@ declare namespace sap {
36732
37169
  *
36733
37170
  * The `DateTimePicker` control consists of two parts: the input field and the date/time picker.
36734
37171
  *
36735
- * **Note:** The {@link sap.ui.unified.Calendar} is used internally only if the `DateTimePicker` is opened
36736
- * (not used for the initial rendering). If the `sap.ui.unified` library is not loaded before the `DateTimePicker`
36737
- * is opened, it will be loaded upon opening. This could lead to a waiting time when the `DateTimePicker`
36738
- * is opened for the first time. To prevent this, apps using the `DateTimePicker` should also load the `sap.ui.unified`
36739
- * library.
37172
+ * **Note:** The application developer should add dependency to `sap.ui.unified` library on application
37173
+ * level to ensure that the library is loaded before the module dependencies will be required. The {@link
37174
+ * sap.ui.unified.Calendar} is used internally only if the `DateTimePicker` is opened (not used for the
37175
+ * initial rendering). If the `sap.ui.unified` library is not loaded before the `DateTimePicker` is opened,
37176
+ * it will be loaded upon opening. This could lead to CSP compliance issues and adds an additional waiting
37177
+ * time when the `DateTimePicker` is opened for the first time. To prevent this, apps using the `DateTimePicker`
37178
+ * should also load the `sap.ui.unified` library in advance.
36740
37179
  *
36741
37180
  * Usage:
36742
37181
  *
@@ -36861,8 +37300,8 @@ declare namespace sap {
36861
37300
  *
36862
37301
  * Gets current value of property {@link #getMinutesStep minutesStep}.
36863
37302
  *
36864
- * Sets the minutes slider step. If the step is less than 1, it will be automatically converted back to
36865
- * 1. The minutes slider is populated only by multiples of the step.
37303
+ * Sets the minutes step. If the step is less than 1, it will be automatically converted back to 1. The
37304
+ * minutes clock is populated only by multiples of the step.
36866
37305
  *
36867
37306
  * Default value is `1`.
36868
37307
  */
@@ -36872,8 +37311,8 @@ declare namespace sap {
36872
37311
  *
36873
37312
  * Gets current value of property {@link #getSecondsStep secondsStep}.
36874
37313
  *
36875
- * Sets the seconds slider step. If the step is less than 1, it will be automatically converted back to
36876
- * 1. The seconds slider is populated only by multiples of the step.
37314
+ * Sets the seconds step. If the step is less than 1, it will be automatically converted back to 1. The
37315
+ * seconds clock is populated only by multiples of the step.
36877
37316
  *
36878
37317
  * Default value is `1`.
36879
37318
  */
@@ -36883,8 +37322,8 @@ declare namespace sap {
36883
37322
  *
36884
37323
  * Sets a new value for property {@link #getMinutesStep minutesStep}.
36885
37324
  *
36886
- * Sets the minutes slider step. If the step is less than 1, it will be automatically converted back to
36887
- * 1. The minutes slider is populated only by multiples of the step.
37325
+ * Sets the minutes step. If the step is less than 1, it will be automatically converted back to 1. The
37326
+ * minutes clock is populated only by multiples of the step.
36888
37327
  *
36889
37328
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
36890
37329
  *
@@ -36901,8 +37340,8 @@ declare namespace sap {
36901
37340
  *
36902
37341
  * Sets a new value for property {@link #getSecondsStep secondsStep}.
36903
37342
  *
36904
- * Sets the seconds slider step. If the step is less than 1, it will be automatically converted back to
36905
- * 1. The seconds slider is populated only by multiples of the step.
37343
+ * Sets the seconds step. If the step is less than 1, it will be automatically converted back to 1. The
37344
+ * seconds clock is populated only by multiples of the step.
36906
37345
  *
36907
37346
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
36908
37347
  *
@@ -37597,7 +38036,7 @@ declare namespace sap {
37597
38036
  * @SINCE 1.11.2
37598
38037
  * @deprecated (since 1.13.1) - Please use the new stretch property instead. This enables a stretched Dialog
37599
38038
  * even on tablet and desktop. If you want to achieve the same effect as `stretchOnPhone`, please set the
37600
- * stretch with jQuery.device.is.phone, then the Dialog is only stretched when it runs on a phone.
38039
+ * stretch with `Device.system.phone`, then the Dialog is only stretched when it runs on a phone.
37601
38040
  *
37602
38041
  * Gets current value of property {@link #getStretchOnPhone stretchOnPhone}.
37603
38042
  *
@@ -38059,7 +38498,7 @@ declare namespace sap {
38059
38498
  * @SINCE 1.11.2
38060
38499
  * @deprecated (since 1.13.1) - Please use the new stretch property instead. This enables a stretched Dialog
38061
38500
  * even on tablet and desktop. If you want to achieve the same effect as `stretchOnPhone`, please set the
38062
- * stretch with jQuery.device.is.phone, then the Dialog is only stretched when it runs on a phone.
38501
+ * stretch with `Device.system.phone`, then the Dialog is only stretched when it runs on a phone.
38063
38502
  *
38064
38503
  * Sets a new value for property {@link #getStretchOnPhone stretchOnPhone}.
38065
38504
  *
@@ -43892,6 +44331,17 @@ declare namespace sap {
43892
44331
  * Returns a metadata object for class sap.m.GenericTag.
43893
44332
  */
43894
44333
  static getMetadata(): sap.ui.core.ElementMetadata;
44334
+ /**
44335
+ * @SINCE 1.97.0
44336
+ *
44337
+ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
44338
+ */
44339
+ addAriaLabelledBy(
44340
+ /**
44341
+ * The ariaLabelledBy to add; if empty, nothing is inserted
44342
+ */
44343
+ vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
44344
+ ): this;
43895
44345
  /**
43896
44346
  * Attaches event handler `fnFunction` to the {@link #event:press press} event of this `sap.m.GenericTag`.
43897
44347
  *
@@ -43961,6 +44411,13 @@ declare namespace sap {
43961
44411
  */
43962
44412
  mParameters?: object
43963
44413
  ): this;
44414
+ /**
44415
+ * @SINCE 1.97.0
44416
+ *
44417
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
44418
+ * ariaLabelledBy}.
44419
+ */
44420
+ getAriaLabelledBy(): sap.ui.core.ID[];
43964
44421
  /**
43965
44422
  * Gets current value of property {@link #getDesign design}.
43966
44423
  *
@@ -44007,6 +44464,23 @@ declare namespace sap {
44007
44464
  * Default value is `None`.
44008
44465
  */
44009
44466
  getValueState(): sap.m.GenericTagValueState;
44467
+ /**
44468
+ * @SINCE 1.97.0
44469
+ *
44470
+ * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
44471
+ */
44472
+ removeAllAriaLabelledBy(): sap.ui.core.ID[];
44473
+ /**
44474
+ * @SINCE 1.97.0
44475
+ *
44476
+ * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
44477
+ */
44478
+ removeAriaLabelledBy(
44479
+ /**
44480
+ * The ariaLabelledBy to be removed or its index or ID
44481
+ */
44482
+ vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
44483
+ ): sap.ui.core.ID;
44010
44484
  /**
44011
44485
  * Sets a new value for property {@link #getDesign design}.
44012
44486
  *
@@ -44139,6 +44613,17 @@ declare namespace sap {
44139
44613
  * Returns a metadata object for class sap.m.GenericTile.
44140
44614
  */
44141
44615
  static getMetadata(): sap.ui.core.ElementMetadata;
44616
+ /**
44617
+ * @EXPERIMENTAL (since 1.96)
44618
+ *
44619
+ * Adds some actionButton to the aggregation {@link #getActionButtons actionButtons}.
44620
+ */
44621
+ addActionButton(
44622
+ /**
44623
+ * The actionButton to add; if empty, nothing is inserted
44624
+ */
44625
+ oActionButton: sap.m.Button
44626
+ ): this;
44142
44627
  /**
44143
44628
  * Adds some tileContent to the aggregation {@link #getTileContent tileContent}.
44144
44629
  */
@@ -44189,6 +44674,20 @@ declare namespace sap {
44189
44674
  */
44190
44675
  oListener?: object
44191
44676
  ): this;
44677
+ /**
44678
+ * @EXPERIMENTAL (since 1.96)
44679
+ *
44680
+ * Binds aggregation {@link #getActionButtons actionButtons} to model data.
44681
+ *
44682
+ * See {@link sap.ui.base.ManagedObject#bindAggregation ManagedObject.bindAggregation} for a detailed description
44683
+ * of the possible properties of `oBindingInfo`.
44684
+ */
44685
+ bindActionButtons(
44686
+ /**
44687
+ * The binding information
44688
+ */
44689
+ oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
44690
+ ): this;
44192
44691
  /**
44193
44692
  * Binds aggregation {@link #getTileContent tileContent} to model data.
44194
44693
  *
@@ -44201,6 +44700,12 @@ declare namespace sap {
44201
44700
  */
44202
44701
  oBindingInfo: sap.ui.base.ManagedObject.AggregationBindingInfo
44203
44702
  ): this;
44703
+ /**
44704
+ * @EXPERIMENTAL (since 1.96)
44705
+ *
44706
+ * Destroys all the actionButtons in the aggregation {@link #getActionButtons actionButtons}.
44707
+ */
44708
+ destroyActionButtons(): this;
44204
44709
  /**
44205
44710
  * @deprecated (since 1.36.0) - This aggregation is deprecated, use sap.m.ImageContent control to display
44206
44711
  * an icon instead.
@@ -44252,6 +44757,14 @@ declare namespace sap {
44252
44757
  domRef?: any;
44253
44758
  }
44254
44759
  ): this;
44760
+ /**
44761
+ * @EXPERIMENTAL (since 1.96)
44762
+ *
44763
+ * Gets content of aggregation {@link #getActionButtons actionButtons}.
44764
+ *
44765
+ * Action buttons added in ActionMode.
44766
+ */
44767
+ getActionButtons(): sap.m.Button[];
44255
44768
  /**
44256
44769
  * @SINCE 1.82
44257
44770
  *
@@ -44293,6 +44806,15 @@ declare namespace sap {
44293
44806
  * Additional description for aria-roledescription.
44294
44807
  */
44295
44808
  getAriaRoleDescription(): string;
44809
+ /**
44810
+ * @SINCE 1.96
44811
+ * @EXPERIMENTAL (since 1.96)
44812
+ *
44813
+ * Gets current value of property {@link #getBackgroundColor backgroundColor}.
44814
+ *
44815
+ * Background color of the GenericTile. Only applicable for IconMode.
44816
+ */
44817
+ getBackgroundColor(): sap.ui.core.CSSColor;
44296
44818
  /**
44297
44819
  * Gets current value of property {@link #getBackgroundImage backgroundImage}.
44298
44820
  *
@@ -44305,6 +44827,17 @@ declare namespace sap {
44305
44827
  * Provides an interface to the tile's layout information consistent in all modes and content densities.
44306
44828
  */
44307
44829
  getBoundingRects(): object[];
44830
+ /**
44831
+ * @EXPERIMENTAL (since 1.96)
44832
+ *
44833
+ * Gets current value of property {@link #getEnableNavigationButton enableNavigationButton}.
44834
+ *
44835
+ * Renders the given link as a button, enabling the option of opening the link in new tab/window functionality.
44836
+ * Works only in ArticleMode.
44837
+ *
44838
+ * Default value is `false`.
44839
+ */
44840
+ getEnableNavigationButton(): boolean;
44308
44841
  /**
44309
44842
  * Gets current value of property {@link #getFailedText failedText}.
44310
44843
  *
@@ -44357,6 +44890,24 @@ declare namespace sap {
44357
44890
  * Default value is `ContentMode`.
44358
44891
  */
44359
44892
  getMode(): sap.m.GenericTileMode;
44893
+ /**
44894
+ * @EXPERIMENTAL (since 1.96)
44895
+ *
44896
+ * Gets current value of property {@link #getNavigationButtonText navigationButtonText}.
44897
+ *
44898
+ * Text for navigate action button. Default Value is "Read More". Works only in ArticleMode.
44899
+ */
44900
+ getNavigationButtonText(): string;
44901
+ /**
44902
+ * @EXPERIMENTAL (since 1.96)
44903
+ *
44904
+ * Gets current value of property {@link #getPressEnabled pressEnabled}.
44905
+ *
44906
+ * Disables press event for the tile control.
44907
+ *
44908
+ * Default value is `true`.
44909
+ */
44910
+ getPressEnabled(): boolean;
44360
44911
  /**
44361
44912
  * @SINCE 1.46.0
44362
44913
  *
@@ -44417,6 +44968,15 @@ declare namespace sap {
44417
44968
  * The content of the tile.
44418
44969
  */
44419
44970
  getTileContent(): sap.m.TileContent[];
44971
+ /**
44972
+ * @SINCE 1.96
44973
+ * @EXPERIMENTAL (since 1.96)
44974
+ *
44975
+ * Gets current value of property {@link #getTileIcon tileIcon}.
44976
+ *
44977
+ * Icon of the GenericTile. Only applicable for IconMode.
44978
+ */
44979
+ getTileIcon(): sap.ui.core.URI;
44420
44980
  /**
44421
44981
  * @SINCE 1.76
44422
44982
  *
@@ -44425,6 +44985,17 @@ declare namespace sap {
44425
44985
  * Renders the given link as root element and therefore enables the open in new tab / window functionality
44426
44986
  */
44427
44987
  getUrl(): sap.ui.core.URI;
44988
+ /**
44989
+ * @SINCE 1.95
44990
+ * @EXPERIMENTAL
44991
+ *
44992
+ * Gets current value of property {@link #getValueColor valueColor}.
44993
+ *
44994
+ * The semantic color of the value.
44995
+ *
44996
+ * Default value is `"None"`.
44997
+ */
44998
+ getValueColor(): sap.m.ValueColor;
44428
44999
  /**
44429
45000
  * @SINCE 1.72
44430
45001
  *
@@ -44443,6 +45014,18 @@ declare namespace sap {
44443
45014
  * Default value is `Normal`.
44444
45015
  */
44445
45016
  getWrappingType(): sap.m.WrappingType;
45017
+ /**
45018
+ * @EXPERIMENTAL (since 1.96)
45019
+ *
45020
+ * Checks for the provided `sap.m.Button` in the aggregation {@link #getActionButtons actionButtons}. and
45021
+ * returns its index if found or -1 otherwise.
45022
+ */
45023
+ indexOfActionButton(
45024
+ /**
45025
+ * The actionButton whose index is looked for
45026
+ */
45027
+ oActionButton: sap.m.Button
45028
+ ): int;
44446
45029
  /**
44447
45030
  * Checks for the provided `sap.m.TileContent` in the aggregation {@link #getTileContent tileContent}. and
44448
45031
  * returns its index if found or -1 otherwise.
@@ -44453,6 +45036,23 @@ declare namespace sap {
44453
45036
  */
44454
45037
  oTileContent: sap.m.TileContent
44455
45038
  ): int;
45039
+ /**
45040
+ * @EXPERIMENTAL (since 1.96)
45041
+ *
45042
+ * Inserts a actionButton into the aggregation {@link #getActionButtons actionButtons}.
45043
+ */
45044
+ insertActionButton(
45045
+ /**
45046
+ * The actionButton to insert; if empty, nothing is inserted
45047
+ */
45048
+ oActionButton: sap.m.Button,
45049
+ /**
45050
+ * The `0`-based index the actionButton should be inserted at; for a negative value of `iIndex`, the actionButton
45051
+ * is inserted at position 0; for a value greater than the current size of the aggregation, the actionButton
45052
+ * is inserted at the last position
45053
+ */
45054
+ iIndex: int
45055
+ ): this;
44456
45056
  /**
44457
45057
  * Inserts a tileContent into the aggregation {@link #getTileContent tileContent}.
44458
45058
  */
@@ -44468,6 +45068,25 @@ declare namespace sap {
44468
45068
  */
44469
45069
  iIndex: int
44470
45070
  ): this;
45071
+ /**
45072
+ * @EXPERIMENTAL (since 1.96)
45073
+ *
45074
+ * Removes a actionButton from the aggregation {@link #getActionButtons actionButtons}.
45075
+ */
45076
+ removeActionButton(
45077
+ /**
45078
+ * The actionButton to remove or its index or id
45079
+ */
45080
+ vActionButton: int | string | sap.m.Button
45081
+ ): sap.m.Button;
45082
+ /**
45083
+ * @EXPERIMENTAL (since 1.96)
45084
+ *
45085
+ * Removes all the controls from the aggregation {@link #getActionButtons actionButtons}.
45086
+ *
45087
+ * Additionally, it unregisters them from the hosting UIArea.
45088
+ */
45089
+ removeAllActionButtons(): sap.m.Button[];
44471
45090
  /**
44472
45091
  * Removes all the controls from the aggregation {@link #getTileContent tileContent}.
44473
45092
  *
@@ -44559,6 +45178,22 @@ declare namespace sap {
44559
45178
  */
44560
45179
  sAriaRoleDescription?: string
44561
45180
  ): this;
45181
+ /**
45182
+ * @SINCE 1.96
45183
+ * @EXPERIMENTAL (since 1.96)
45184
+ *
45185
+ * Sets a new value for property {@link #getBackgroundColor backgroundColor}.
45186
+ *
45187
+ * Background color of the GenericTile. Only applicable for IconMode.
45188
+ *
45189
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
45190
+ */
45191
+ setBackgroundColor(
45192
+ /**
45193
+ * New value for property `backgroundColor`
45194
+ */
45195
+ sBackgroundColor: sap.ui.core.CSSColor
45196
+ ): this;
44562
45197
  /**
44563
45198
  * Sets a new value for property {@link #getBackgroundImage backgroundImage}.
44564
45199
  *
@@ -44572,6 +45207,24 @@ declare namespace sap {
44572
45207
  */
44573
45208
  sBackgroundImage?: sap.ui.core.URI
44574
45209
  ): this;
45210
+ /**
45211
+ * @EXPERIMENTAL (since 1.96)
45212
+ *
45213
+ * Sets a new value for property {@link #getEnableNavigationButton enableNavigationButton}.
45214
+ *
45215
+ * Renders the given link as a button, enabling the option of opening the link in new tab/window functionality.
45216
+ * Works only in ArticleMode.
45217
+ *
45218
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
45219
+ *
45220
+ * Default value is `false`.
45221
+ */
45222
+ setEnableNavigationButton(
45223
+ /**
45224
+ * New value for property `enableNavigationButton`
45225
+ */
45226
+ bEnableNavigationButton?: boolean
45227
+ ): this;
44575
45228
  /**
44576
45229
  * Sets a new value for property {@link #getFailedText failedText}.
44577
45230
  *
@@ -44668,6 +45321,21 @@ declare namespace sap {
44668
45321
  */
44669
45322
  sMode?: sap.m.GenericTileMode
44670
45323
  ): this;
45324
+ /**
45325
+ * @EXPERIMENTAL (since 1.96)
45326
+ *
45327
+ * Sets a new value for property {@link #getNavigationButtonText navigationButtonText}.
45328
+ *
45329
+ * Text for navigate action button. Default Value is "Read More". Works only in ArticleMode.
45330
+ *
45331
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
45332
+ */
45333
+ setNavigationButtonText(
45334
+ /**
45335
+ * New value for property `navigationButtonText`
45336
+ */
45337
+ sNavigationButtonText?: string
45338
+ ): this;
44671
45339
  /**
44672
45340
  * @SINCE 1.46
44673
45341
  *
@@ -44775,6 +45443,22 @@ declare namespace sap {
44775
45443
  */
44776
45444
  sSystemInfo?: string
44777
45445
  ): this;
45446
+ /**
45447
+ * @SINCE 1.96
45448
+ * @EXPERIMENTAL (since 1.96)
45449
+ *
45450
+ * Sets a new value for property {@link #getTileIcon tileIcon}.
45451
+ *
45452
+ * Icon of the GenericTile. Only applicable for IconMode.
45453
+ *
45454
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
45455
+ */
45456
+ setTileIcon(
45457
+ /**
45458
+ * New value for property `tileIcon`
45459
+ */
45460
+ sTileIcon: sap.ui.core.URI
45461
+ ): this;
44778
45462
  /**
44779
45463
  * @SINCE 1.76
44780
45464
  *
@@ -44790,6 +45474,24 @@ declare namespace sap {
44790
45474
  */
44791
45475
  sUrl?: sap.ui.core.URI
44792
45476
  ): this;
45477
+ /**
45478
+ * @SINCE 1.95
45479
+ * @EXPERIMENTAL
45480
+ *
45481
+ * Sets a new value for property {@link #getValueColor valueColor}.
45482
+ *
45483
+ * The semantic color of the value.
45484
+ *
45485
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
45486
+ *
45487
+ * Default value is `"None"`.
45488
+ */
45489
+ setValueColor(
45490
+ /**
45491
+ * New value for property `valueColor`
45492
+ */
45493
+ sValueColor?: sap.m.ValueColor
45494
+ ): this;
44793
45495
  /**
44794
45496
  * @SINCE 1.72
44795
45497
  *
@@ -44834,6 +45536,12 @@ declare namespace sap {
44834
45536
  */
44835
45537
  value: boolean
44836
45538
  ): void;
45539
+ /**
45540
+ * @EXPERIMENTAL (since 1.96)
45541
+ *
45542
+ * Unbinds aggregation {@link #getActionButtons actionButtons} from model data.
45543
+ */
45544
+ unbindActionButtons(): this;
44837
45545
  /**
44838
45546
  * Unbinds aggregation {@link #getTileContent tileContent} from model data.
44839
45547
  */
@@ -46021,6 +46729,10 @@ declare namespace sap {
46021
46729
  * The key of the selected item
46022
46730
  */
46023
46731
  key?: string;
46732
+ /**
46733
+ * The key of the previous selected item
46734
+ */
46735
+ previousKey?: string;
46024
46736
  /**
46025
46737
  * The selected item
46026
46738
  */
@@ -47123,6 +47835,10 @@ declare namespace sap {
47123
47835
  * The key of the selected item
47124
47836
  */
47125
47837
  key?: string;
47838
+ /**
47839
+ * The key of the previous selected item
47840
+ */
47841
+ previousKey?: string;
47126
47842
  }
47127
47843
  ): this;
47128
47844
  /**
@@ -50927,6 +51643,10 @@ declare namespace sap {
50927
51643
  * Defines the value of the control.
50928
51644
  */
50929
51645
  getValue(): string;
51646
+ /**
51647
+ * Gets the value of the accessibility description info field.
51648
+ */
51649
+ getValueDescriptionInfo(): string;
50930
51650
  /**
50931
51651
  * Gets current value of property {@link #getValueState valueState}.
50932
51652
  *
@@ -55553,6 +56273,17 @@ declare namespace sap {
55553
56273
  * A list of validation rules (one rule per mask character).
55554
56274
  */
55555
56275
  getRules(): sap.m.MaskInputRule[];
56276
+ /**
56277
+ * @SINCE 1.96
56278
+ *
56279
+ * Gets current value of property {@link #getShowClearIcon showClearIcon}.
56280
+ *
56281
+ * Specifies whether a clear icon is shown. Pressing the icon will clear input's value and fire the change
56282
+ * event.
56283
+ *
56284
+ * Default value is `false`.
56285
+ */
56286
+ getShowClearIcon(): boolean;
55556
56287
  /**
55557
56288
  * Checks for the provided `sap.m.MaskInputRule` in the aggregation {@link #getRules rules}. and returns
55558
56289
  * its index if found or -1 otherwise.
@@ -55628,6 +56359,24 @@ declare namespace sap {
55628
56359
  */
55629
56360
  sPlaceholderSymbol?: string
55630
56361
  ): this;
56362
+ /**
56363
+ * @SINCE 1.96
56364
+ *
56365
+ * Sets a new value for property {@link #getShowClearIcon showClearIcon}.
56366
+ *
56367
+ * Specifies whether a clear icon is shown. Pressing the icon will clear input's value and fire the change
56368
+ * event.
56369
+ *
56370
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
56371
+ *
56372
+ * Default value is `false`.
56373
+ */
56374
+ setShowClearIcon(
56375
+ /**
56376
+ * New value for property `showClearIcon`
56377
+ */
56378
+ bShowClearIcon?: boolean
56379
+ ): this;
55631
56380
  }
55632
56381
  /**
55633
56382
  * @SINCE 1.34.0
@@ -55742,6 +56491,11 @@ declare namespace sap {
55742
56491
  /**
55743
56492
  * The `sap.m.Menu` control represents a hierarchical menu. When opened on mobile devices it occupies the
55744
56493
  * whole screen.
56494
+ *
56495
+ * **Note:** The application developer should add dependency to `sap.ui.unified` library on application
56496
+ * level to ensure that the library is loaded before the module dependencies will be required. If the `sap.ui.unified`
56497
+ * library is not loaded in advance, this could lead to CSP compliance issues and adds an additional waiting
56498
+ * time. To prevent this, ensure that the `sap.ui.unified` library is loaded in advance.
55745
56499
  */
55746
56500
  class Menu extends sap.ui.core.Control implements sap.ui.core.IContextMenu {
55747
56501
  __implements__sap_ui_core_IContextMenu: boolean;
@@ -57672,6 +58426,18 @@ declare namespace sap {
57672
58426
  * Determines the title in the header of MessagePage.
57673
58427
  */
57674
58428
  getTitle(): string;
58429
+ /**
58430
+ * @SINCE 1.97
58431
+ *
58432
+ * Gets current value of property {@link #getTitleLevel titleLevel}.
58433
+ *
58434
+ * Defines the semantic level of the title. When using `Auto`, no explicit level information is written.
58435
+ *
58436
+ * **Note:** Used for accessibility purposes only.
58437
+ *
58438
+ * Default value is `Auto`.
58439
+ */
58440
+ getTitleLevel(): sap.ui.core.TitleLevel;
57675
58441
  /**
57676
58442
  * @SINCE 1.54
57677
58443
  *
@@ -57903,6 +58669,25 @@ declare namespace sap {
57903
58669
  */
57904
58670
  sTitle?: string
57905
58671
  ): this;
58672
+ /**
58673
+ * @SINCE 1.97
58674
+ *
58675
+ * Sets a new value for property {@link #getTitleLevel titleLevel}.
58676
+ *
58677
+ * Defines the semantic level of the title. When using `Auto`, no explicit level information is written.
58678
+ *
58679
+ * **Note:** Used for accessibility purposes only.
58680
+ *
58681
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
58682
+ *
58683
+ * Default value is `Auto`.
58684
+ */
58685
+ setTitleLevel(
58686
+ /**
58687
+ * New value for property `titleLevel`
58688
+ */
58689
+ sTitleLevel?: sap.ui.core.TitleLevel
58690
+ ): this;
57906
58691
  }
57907
58692
  /**
57908
58693
  * @SINCE 1.28
@@ -60332,6 +61117,14 @@ declare namespace sap {
60332
61117
  * Default value is `[]`.
60333
61118
  */
60334
61119
  getSelectedKeys(): string[];
61120
+ /**
61121
+ * Gets current value of property {@link #getShowSelectAll showSelectAll}.
61122
+ *
61123
+ * Determines if the select all checkbox is visible on top of suggestions.
61124
+ *
61125
+ * Default value is `false`.
61126
+ */
61127
+ getShowSelectAll(): boolean;
60335
61128
  /**
60336
61129
  * Checks whether an item is selected.
60337
61130
  */
@@ -60349,10 +61142,6 @@ declare namespace sap {
60349
61142
  * This hook method is called before the MultiComboBox is rendered.
60350
61143
  */
60351
61144
  onBeforeRendering(): void;
60352
- /**
60353
- * This hook method is called before the MultiComboBox's Pop-up is rendered.
60354
- */
60355
- onBeforeRenderingPicker(): void;
60356
61145
  /**
60357
61146
  * Handles control click event.
60358
61147
  */
@@ -60406,6 +61195,21 @@ declare namespace sap {
60406
61195
  */
60407
61196
  aKeys: string[]
60408
61197
  ): this;
61198
+ /**
61199
+ * Sets a new value for property {@link #getShowSelectAll showSelectAll}.
61200
+ *
61201
+ * Determines if the select all checkbox is visible on top of suggestions.
61202
+ *
61203
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
61204
+ *
61205
+ * Default value is `false`.
61206
+ */
61207
+ setShowSelectAll(
61208
+ /**
61209
+ * New value for property `showSelectAll`
61210
+ */
61211
+ bShowSelectAll?: boolean
61212
+ ): this;
60409
61213
  /**
60410
61214
  * Creates picker if doesn't exist yet and sync with Control items
60411
61215
  */
@@ -60455,7 +61259,10 @@ declare namespace sap {
60455
61259
  * - You can review the tokens by pressing the right or left arrows on the keyboard.
60456
61260
  * - You can select single tokens or a range of tokens and you can copy/cut/delete them.
60457
61261
  */
60458
- class MultiInput extends sap.m.Input {
61262
+ class MultiInput
61263
+ extends sap.m.Input
61264
+ implements sap.ui.core.ISemanticFormContent {
61265
+ __implements__sap_ui_core_ISemanticFormContent: boolean;
60459
61266
  /**
60460
61267
  * Constructor for a new MultiInput.
60461
61268
  *
@@ -61603,12 +62410,6 @@ declare namespace sap {
61603
62410
  * Default value is `'100%'`.
61604
62411
  */
61605
62412
  getWidth(): sap.ui.core.CSSSize;
61606
- /**
61607
- * @SINCE 1.91
61608
- *
61609
- * Hides the placeholder and removes the 'onAfterRendering' placeholder delegate.
61610
- */
61611
- hidePlaceholder(): void;
61612
62413
  /**
61613
62414
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getPages pages}. and returns
61614
62415
  * its index if found or -1 otherwise.
@@ -61805,23 +62606,6 @@ declare namespace sap {
61805
62606
  */
61806
62607
  sWidth?: sap.ui.core.CSSSize
61807
62608
  ): this;
61808
- /**
61809
- * @SINCE 1.91
61810
- *
61811
- * Shows the placeholder if NavContainer is rendered. Otherwise, registers the 'onAfterRendering' delegate
61812
- * which shows the placeholder.
61813
- */
61814
- showPlaceholder(
61815
- /**
61816
- * Object containing the placeholder instance
61817
- */
61818
- mSettings: {
61819
- /**
61820
- * The placeholder instance
61821
- */
61822
- placeholder: /* was: sap.ui.core.Placeholder */ any;
61823
- }
61824
- ): Promise<any>;
61825
62609
  /**
61826
62610
  * Navigates to the next page (with drill-down semantic) with the given (or default) animation. This creates
61827
62611
  * a new history item inside the NavContainer and allows going back.
@@ -75120,7 +75904,12 @@ declare namespace sap {
75120
75904
  /**
75121
75905
  * Parameters to pass along with the event
75122
75906
  */
75123
- mParameters?: object
75907
+ mParameters?: {
75908
+ /**
75909
+ * The iframe element.
75910
+ */
75911
+ target?: any;
75912
+ }
75124
75913
  ): this;
75125
75914
  /**
75126
75915
  * Fires event {@link #event:loaded loaded} to attached listeners.
@@ -75459,10 +76248,12 @@ declare namespace sap {
75459
76248
  * and even a whole week/month. The available navigation allows the user to select a specific interval using
75460
76249
  * a picker, or move to the previous/next interval using arrows.
75461
76250
  *
75462
- * **Note:** The `PlanningCalendar` uses parts of the `sap.ui.unified` library. This library will be loaded
75463
- * after the `PlanningCalendar`, if it wasn't loaded first. This could lead to a waiting time when a `PlanningCalendar`
75464
- * is used for the first time. To prevent this, apps that use the `PlanningCalendar` should also load the
75465
- * `sap.ui.unified` library.
76251
+ * **Note:** The application developer should add dependency to `sap.ui.unified` library on application
76252
+ * level to ensure that the library is loaded before the module dependencies will be required. The `PlanningCalendar`
76253
+ * uses parts of the `sap.ui.unified` library. This library will be loaded after the `PlanningCalendar`,
76254
+ * if it wasn't loaded first. This could lead to CSP compliance issues and adds an additional waiting time
76255
+ * when a `PlanningCalendar` is used for the first time. To prevent this, apps that use the `PlanningCalendar`
76256
+ * should also load the `sap.ui.unified` library in advance.
75466
76257
  *
75467
76258
  * Usage:
75468
76259
  *
@@ -76103,8 +76894,8 @@ declare namespace sap {
76103
76894
  *
76104
76895
  * Gets current value of property {@link #getAppointmentRoundWidth appointmentRoundWidth}.
76105
76896
  *
76106
- * Defines rounding of the width CalendarAppoinment **Note:** This property is applied, when
76107
- * the calendar interval type is day and the view shows more than 20 days
76897
+ * Defines rounding of the width `CalendarAppoinment` **Note:** This property is applied, when the calendar
76898
+ * interval type is day and the view shows more than 20 days
76108
76899
  *
76109
76900
  * Default value is `None`.
76110
76901
  */
@@ -76230,6 +77021,18 @@ declare namespace sap {
76230
77021
  * date of the month in which the `minDate` belongs.
76231
77022
  */
76232
77023
  getMinDate(): object;
77024
+ /**
77025
+ * @SINCE 1.97
77026
+ *
77027
+ * Gets current value of property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
77028
+ *
77029
+ * Determines whether the selection of multiple appointments is enabled.
77030
+ *
77031
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
77032
+ *
77033
+ * Default value is `false`.
77034
+ */
77035
+ getMultipleAppointmentsSelection(): boolean;
76233
77036
  /**
76234
77037
  * Gets current value of property {@link #getNoDataText noDataText}.
76235
77038
  *
@@ -76606,8 +77409,8 @@ declare namespace sap {
76606
77409
  *
76607
77410
  * Sets a new value for property {@link #getAppointmentRoundWidth appointmentRoundWidth}.
76608
77411
  *
76609
- * Defines rounding of the width CalendarAppoinment **Note:** This property is applied, when
76610
- * the calendar interval type is day and the view shows more than 20 days
77412
+ * Defines rounding of the width `CalendarAppoinment` **Note:** This property is applied, when the calendar
77413
+ * interval type is day and the view shows more than 20 days
76611
77414
  *
76612
77415
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
76613
77416
  *
@@ -76794,6 +77597,25 @@ declare namespace sap {
76794
77597
  */
76795
77598
  oMinDate?: object
76796
77599
  ): this;
77600
+ /**
77601
+ * @SINCE 1.97
77602
+ *
77603
+ * Sets a new value for property {@link #getMultipleAppointmentsSelection multipleAppointmentsSelection}.
77604
+ *
77605
+ * Determines whether the selection of multiple appointments is enabled.
77606
+ *
77607
+ * Note: selection of multiple appointments is possible using CTRL key regardless of the value of this property.
77608
+ *
77609
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
77610
+ *
77611
+ * Default value is `false`.
77612
+ */
77613
+ setMultipleAppointmentsSelection(
77614
+ /**
77615
+ * New value for property `multipleAppointmentsSelection`
77616
+ */
77617
+ bMultipleAppointmentsSelection?: boolean
77618
+ ): this;
76797
77619
  /**
76798
77620
  * Sets a new value for property {@link #getNoDataText noDataText}.
76799
77621
  *
@@ -77051,16 +77873,12 @@ declare namespace sap {
77051
77873
  *
77052
77874
  * Defines the text displayed in the header of the appointment items list. It is commonly related to the
77053
77875
  * calendar appointments.
77054
- *
77055
- * Default value is `"Appointments"`.
77056
77876
  */
77057
77877
  getAppointmentItemsHeader(): string;
77058
77878
  /**
77059
77879
  * Gets current value of property {@link #getItemsHeader itemsHeader}.
77060
77880
  *
77061
77881
  * Defines the text displayed in the header of the items list. It is commonly related to the calendar days.
77062
- *
77063
- * Default value is `"Calendar"`.
77064
77882
  */
77065
77883
  getItemsHeader(): string;
77066
77884
  /**
@@ -77110,14 +77928,12 @@ declare namespace sap {
77110
77928
  * calendar appointments.
77111
77929
  *
77112
77930
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
77113
- *
77114
- * Default value is `"Appointments"`.
77115
77931
  */
77116
77932
  setAppointmentItemsHeader(
77117
77933
  /**
77118
77934
  * New value for property `appointmentItemsHeader`
77119
77935
  */
77120
- sAppointmentItemsHeader?: string
77936
+ sAppointmentItemsHeader: string
77121
77937
  ): this;
77122
77938
  /**
77123
77939
  * Sets a new value for property {@link #getItemsHeader itemsHeader}.
@@ -77125,14 +77941,12 @@ declare namespace sap {
77125
77941
  * Defines the text displayed in the header of the items list. It is commonly related to the calendar days.
77126
77942
  *
77127
77943
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
77128
- *
77129
- * Default value is `"Calendar"`.
77130
77944
  */
77131
77945
  setItemsHeader(
77132
77946
  /**
77133
77947
  * New value for property `itemsHeader`
77134
77948
  */
77135
- sItemsHeader?: string
77949
+ sItemsHeader: string
77136
77950
  ): this;
77137
77951
  }
77138
77952
  /**
@@ -86366,6 +87180,11 @@ declare namespace sap {
86366
87180
  item?: sap.m.SegmentedButtonItem;
86367
87181
  }
86368
87182
  ): this;
87183
+ /**
87184
+ * See:
87185
+ * sap.ui.core.Control#getAccessibilityInfo
87186
+ */
87187
+ getAccessibilityInfo(): object;
86369
87188
  /**
86370
87189
  * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
86371
87190
  * ariaDescribedBy}.
@@ -87034,6 +87853,10 @@ declare namespace sap {
87034
87853
  * The selected item.
87035
87854
  */
87036
87855
  selectedItem?: sap.ui.core.Item;
87856
+ /**
87857
+ * The previous selected item.
87858
+ */
87859
+ previousSelectedItem?: sap.ui.core.Item;
87037
87860
  }
87038
87861
  ): this;
87039
87862
  /**
@@ -91397,10 +92220,12 @@ declare namespace sap {
91397
92220
  *
91398
92221
  * Overview:
91399
92222
  *
91400
- * **Note:** The `SinglePlanningCalendar` uses parts of the `sap.ui.unified` library. This library will
91401
- * be loaded after the `SinglePlanningCalendar`, if it wasn't previously loaded. This could lead to a waiting
92223
+ * **Note:** The application developer should add dependency to `sap.ui.unified` library on application
92224
+ * level to ensure that the library is loaded before the module dependencies will be required. The `SinglePlanningCalendar`
92225
+ * uses parts of the `sap.ui.unified` library. This library will be loaded after the `SinglePlanningCalendar`,
92226
+ * if it wasn't previously loaded. This could lead to CSP compliance issues and adds an additional waiting
91402
92227
  * time when a `SinglePlanningCalendar` is used for the first time. To prevent this, apps using the `SinglePlanningCalendar`
91403
- * must also load the `sap.ui.unified` library.
92228
+ * must also load the `sap.ui.unified` library in advance.
91404
92229
  *
91405
92230
  * The `SinglePlanningCalendar` has the following structure:
91406
92231
  *
@@ -94233,6 +95058,15 @@ declare namespace sap {
94233
95058
  * Default value is `5000`.
94234
95059
  */
94235
95060
  getDisplayTime(): int;
95061
+ /**
95062
+ * @SINCE 1.96
95063
+ * @EXPERIMENTAL
95064
+ *
95065
+ * Gets current value of property {@link #getHeight height}.
95066
+ *
95067
+ * Height of the control.
95068
+ */
95069
+ getHeight(): sap.ui.core.CSSSize;
94236
95070
  /**
94237
95071
  * @SINCE 1.46.0
94238
95072
  *
@@ -94331,6 +95165,22 @@ declare namespace sap {
94331
95165
  */
94332
95166
  iDisplayTime?: int
94333
95167
  ): this;
95168
+ /**
95169
+ * @SINCE 1.96
95170
+ * @EXPERIMENTAL
95171
+ *
95172
+ * Sets a new value for property {@link #getHeight height}.
95173
+ *
95174
+ * Height of the control.
95175
+ *
95176
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
95177
+ */
95178
+ setHeight(
95179
+ /**
95180
+ * New value for property `height`
95181
+ */
95182
+ sHeight: sap.ui.core.CSSSize
95183
+ ): this;
94334
95184
  /**
94335
95185
  * @SINCE 1.46.0
94336
95186
  *
@@ -95919,22 +96769,6 @@ declare namespace sap {
95919
96769
  * Used to hide the master page when in ShowHideMode and the device is in portrait mode.
95920
96770
  */
95921
96771
  hideMaster(): this;
95922
- /**
95923
- * @SINCE 1.91
95924
- *
95925
- * Hides the placeholder on the corresponding column for the provided aggregation name.
95926
- */
95927
- hidePlaceholder(
95928
- /**
95929
- * Object containing the aggregation name
95930
- */
95931
- mSettings: {
95932
- /**
95933
- * The aggregation name to decide on which column/container the placeholder should be hidden
95934
- */
95935
- aggregation: string;
95936
- }
95937
- ): void;
95938
96772
  /**
95939
96773
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getDetailPages detailPages}.
95940
96774
  * and returns its index if found or -1 otherwise.
@@ -96253,22 +97087,6 @@ declare namespace sap {
96253
97087
  * Used to make the master page visible when in ShowHideMode and the device is in portrait mode.
96254
97088
  */
96255
97089
  showMaster(): this;
96256
- /**
96257
- * @SINCE 1.91
96258
- *
96259
- * Shows the placeholder on the corresponding column for the provided aggregation name.
96260
- */
96261
- showPlaceholder(
96262
- /**
96263
- * Object containing the aggregation name
96264
- */
96265
- mSettings: {
96266
- /**
96267
- * The aggregation name to decide on which column/container the placeholder should be shown
96268
- */
96269
- aggregation: string;
96270
- }
96271
- ): void;
96272
97090
  /**
96273
97091
  * @SINCE 1.10.0
96274
97092
  *
@@ -96623,7 +97441,9 @@ declare namespace sap {
96623
97441
  /**
96624
97442
  * Gets current value of property {@link #getInfo info}.
96625
97443
  *
96626
- * Defines an additional information text.
97444
+ * Defines an additional information text. **Note:** A wrapping of the information text is also supported
97445
+ * as of version 1.95, if `wrapping=true`. Although long strings are supported for the information text,
97446
+ * it is recommended to use short strings. For more details, see {@link #getWrapping wrapping}.
96627
97447
  */
96628
97448
  getInfo(): string;
96629
97449
  /**
@@ -96702,6 +97522,9 @@ declare namespace sap {
96702
97522
  *
96703
97523
  * In the desktop mode, initial rendering of the control contains 300 characters along with a button to
96704
97524
  * expand and collapse the text whereas in the phone mode, the character limit is set to 100 characters.
97525
+ * A wrapping of the information text is supported as of 1.95. But expanding and collapsing the information
97526
+ * text is not possible. A wrapping of the information text is disabled if `infoStateInverted` is set to
97527
+ * `true`.
96705
97528
  *
96706
97529
  * Default value is `false`.
96707
97530
  */
@@ -96801,7 +97624,9 @@ declare namespace sap {
96801
97624
  /**
96802
97625
  * Sets a new value for property {@link #getInfo info}.
96803
97626
  *
96804
- * Defines an additional information text.
97627
+ * Defines an additional information text. **Note:** A wrapping of the information text is also supported
97628
+ * as of version 1.95, if `wrapping=true`. Although long strings are supported for the information text,
97629
+ * it is recommended to use short strings. For more details, see {@link #getWrapping wrapping}.
96805
97630
  *
96806
97631
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
96807
97632
  */
@@ -96929,6 +97754,9 @@ declare namespace sap {
96929
97754
  *
96930
97755
  * In the desktop mode, initial rendering of the control contains 300 characters along with a button to
96931
97756
  * expand and collapse the text whereas in the phone mode, the character limit is set to 100 characters.
97757
+ * A wrapping of the information text is supported as of 1.95. But expanding and collapsing the information
97758
+ * text is not possible. A wrapping of the information text is disabled if `infoStateInverted` is set to
97759
+ * `true`.
96932
97760
  *
96933
97761
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
96934
97762
  *
@@ -102516,7 +103344,7 @@ declare namespace sap {
102516
103344
  * Gets current value of property {@link #getGrowing growing}.
102517
103345
  *
102518
103346
  * Indicates the ability of the control to automatically grow and shrink dynamically with its content. **Note:**
102519
- * The `height` property is ignored, if this property set to `true`.
103347
+ * This property should not be used when the `height` property is set.
102520
103348
  *
102521
103349
  * Default value is `false`.
102522
103350
  */
@@ -102610,7 +103438,7 @@ declare namespace sap {
102610
103438
  * Sets a new value for property {@link #getGrowing growing}.
102611
103439
  *
102612
103440
  * Indicates the ability of the control to automatically grow and shrink dynamically with its content. **Note:**
102613
- * The `height` property is ignored, if this property set to `true`.
103441
+ * This property should not be used when the `height` property is set.
102614
103442
  *
102615
103443
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
102616
103444
  *
@@ -103475,6 +104303,16 @@ declare namespace sap {
103475
104303
  * Default value is `"Auto"`.
103476
104304
  */
103477
104305
  getFrameType(): sap.m.FrameType;
104306
+ /**
104307
+ * @EXPERIMENTAL (since 1.96)
104308
+ *
104309
+ * Gets current value of property {@link #getPriority priority}.
104310
+ *
104311
+ * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
104312
+ *
104313
+ * Default value is `None`.
104314
+ */
104315
+ getPriority(): sap.ui.core.Priority;
103478
104316
  /**
103479
104317
  * @deprecated (since 1.38.0) - The TileContent control has now a fixed size, depending on the used media
103480
104318
  * (desktop, tablet or phone).
@@ -103562,6 +104400,23 @@ declare namespace sap {
103562
104400
  */
103563
104401
  sFrameType?: sap.m.FrameType
103564
104402
  ): this;
104403
+ /**
104404
+ * @EXPERIMENTAL (since 1.96)
104405
+ *
104406
+ * Sets a new value for property {@link #getPriority priority}.
104407
+ *
104408
+ * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
104409
+ *
104410
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
104411
+ *
104412
+ * Default value is `None`.
104413
+ */
104414
+ setPriority(
104415
+ /**
104416
+ * New value for property `priority`
104417
+ */
104418
+ sPriority?: sap.ui.core.Priority
104419
+ ): this;
103565
104420
  /**
103566
104421
  * Setter for protected property to enable or disable content rendering. This function does not invalidate
103567
104422
  * the control.
@@ -103798,6 +104653,24 @@ declare namespace sap {
103798
104653
  * the binding itself.
103799
104654
  */
103800
104655
  getDisplayFormat(): string;
104656
+ /**
104657
+ * @SINCE 1.97
104658
+ *
104659
+ * Gets current value of property {@link #getHideInput hideInput}.
104660
+ *
104661
+ * Determines whether the input field of the picker is hidden or visible. When set to `true`, the input
104662
+ * field becomes invisible and there is no way to open the picker popover. In that case it can be opened
104663
+ * by another control through calling of picker's `openBy` method, and the opening control's DOM reference
104664
+ * must be provided as parameter.
104665
+ *
104666
+ * Note: Since the picker is not responsible for accessibility attributes of the control which opens its
104667
+ * popover, those attributes should be added by the application developer. The following is recommended
104668
+ * to be added to the opening control: a text or tooltip that describes the action (example: "Open Time
104669
+ * Picker"), and also aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
104670
+ *
104671
+ * Default value is `false`.
104672
+ */
104673
+ getHideInput(): boolean;
103801
104674
  /**
103802
104675
  * Gets current value of property {@link #getLocaleId localeId}.
103803
104676
  *
@@ -103945,6 +104818,26 @@ declare namespace sap {
103945
104818
  * Called before the clock picker appears.
103946
104819
  */
103947
104820
  onBeforeOpen(): void;
104821
+ /**
104822
+ * @SINCE 1.97
104823
+ *
104824
+ * Opens the picker popover. The popover is positioned relatively to the control given as `oDomRef` parameter
104825
+ * on tablet or desktop and is full screen on phone. Therefore the control parameter is only used on tablet
104826
+ * or desktop and is ignored on phone.
104827
+ *
104828
+ * Note: use this method to open the picker popover only when the `hideInput` property is set to `true`.
104829
+ * Please consider opening of the picker popover by another control only in scenarios that comply with Fiori
104830
+ * guidelines. For example, opening the picker popover by another popover is not recommended. The application
104831
+ * developer should implement the following accessibility attributes to the opening control: a text or tooltip
104832
+ * that describes the action (example: "Open Time Picker"), and aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
104833
+ */
104834
+ openBy(
104835
+ /**
104836
+ * DOM reference of the opening control. On tablet or desktop, the popover is positioned relatively to this
104837
+ * control.
104838
+ */
104839
+ oDomRef: HTMLElement
104840
+ ): void;
103948
104841
  /**
103949
104842
  * Removes all the controls from the aggregation {@link #getRules rules}.
103950
104843
  *
@@ -103978,6 +104871,31 @@ declare namespace sap {
103978
104871
  */
103979
104872
  sDisplayFormat: string
103980
104873
  ): this;
104874
+ /**
104875
+ * @SINCE 1.97
104876
+ *
104877
+ * Sets a new value for property {@link #getHideInput hideInput}.
104878
+ *
104879
+ * Determines whether the input field of the picker is hidden or visible. When set to `true`, the input
104880
+ * field becomes invisible and there is no way to open the picker popover. In that case it can be opened
104881
+ * by another control through calling of picker's `openBy` method, and the opening control's DOM reference
104882
+ * must be provided as parameter.
104883
+ *
104884
+ * Note: Since the picker is not responsible for accessibility attributes of the control which opens its
104885
+ * popover, those attributes should be added by the application developer. The following is recommended
104886
+ * to be added to the opening control: a text or tooltip that describes the action (example: "Open Time
104887
+ * Picker"), and also aria-haspopup attribute with value of `sap.ui.core.aria.HasPopup.Dialog`.
104888
+ *
104889
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
104890
+ *
104891
+ * Default value is `false`.
104892
+ */
104893
+ setHideInput(
104894
+ /**
104895
+ * New value for property `hideInput`
104896
+ */
104897
+ bHideInput?: boolean
104898
+ ): this;
103981
104899
  /**
103982
104900
  * Sets the locale of the control.
103983
104901
  *
@@ -112768,14 +113686,15 @@ declare namespace sap {
112768
113686
  * - Steps can be branching depending on choices the user made in their input - this is set by the `enableBranching`
112769
113687
  * property.
112770
113688
  * - Steps can have different visual representations - numbers or icons. You can add labels for better
112771
- * readability Content: The content occupies the main part of the page. It can hold any type of input
112772
- * controls. The content is kept in {@link sap.m.WizardStep wizard steps}. Next Step Button: The next step
112773
- * button is displayed below the content. It can be hidden by setting `showNextButton` to `false` and displayed,
112774
- * for example, only after the user has filled all mandatory fields. Usage: When to use:: When the user
112775
- * has to accomplish a long or unfamiliar task. When not to use:: When the user has to accomplish a routine
112776
- * task that is clear and familiar. When the task has only two steps or less. Responsive Behavior: On mobile
112777
- * devices the steps in the StepNavigator are grouped together and overlap. Tapping on them will show a
112778
- * popover to select the step to navigate to.
113689
+ * readability **Note:** Dynamic step insertion is not supported. Even if branching steps are used,
113690
+ * the steps should be known in advance. Content: The content occupies the main part of the page. It can
113691
+ * hold any type of input controls. The content is kept in {@link sap.m.WizardStep wizard steps}. Next Step
113692
+ * Button: The next step button is displayed below the content. It can be hidden by setting `showNextButton`
113693
+ * to `false` and displayed, for example, only after the user has filled all mandatory fields. Usage: When
113694
+ * to use:: When the user has to accomplish a long or unfamiliar task. When not to use:: When the user has
113695
+ * to accomplish a routine task that is clear and familiar. When the task has only two steps or less. Responsive
113696
+ * Behavior: On mobile devices the steps in the StepNavigator are grouped together and overlap. Tapping
113697
+ * on them will show a popover to select the step to navigate to.
112779
113698
  *
112780
113699
  * When using the sap.m.Wizard in SAP Quartz theme, the breakpoints and layout paddings could be determined
112781
113700
  * by the container's width. To enable this concept and add responsive paddings to the navigation area and
@@ -114482,6 +115401,22 @@ declare namespace sap {
114482
115401
  * Defines the mode of GenericTile.
114483
115402
  */
114484
115403
  enum GenericTileMode {
115404
+ /**
115405
+ * @EXPERIMENTAL (since 1.96)
115406
+ *
115407
+ * Action Mode (Two lines for the header).
115408
+ *
115409
+ * Generic Tile renders buttons that are specified under 'actionButtons' aggregation
115410
+ */
115411
+ ActionMode = "ActionMode",
115412
+ /**
115413
+ * @EXPERIMENTAL (since 1.96)
115414
+ *
115415
+ * Article Mode (Two lines for the header and one line for the subtitle).
115416
+ *
115417
+ * Enables Article Mode.
115418
+ */
115419
+ ArticleMode = "ArticleMode",
114485
115420
  /**
114486
115421
  * Default mode (Two lines for the header and one line for the subtitle).
114487
115422
  */
@@ -114490,6 +115425,15 @@ declare namespace sap {
114490
115425
  * Header mode (Four lines for the header and one line for the subtitle).
114491
115426
  */
114492
115427
  HeaderMode = "HeaderMode",
115428
+ /**
115429
+ * @EXPERIMENTAL (since 1.96)
115430
+ *
115431
+ * Icon mode.
115432
+ *
115433
+ * GenericTile displays a combination of icon and header title. It is applicable only for the OneByOne FrameType
115434
+ * and TwoByHalf FrameType.
115435
+ */
115436
+ IconMode = "IconMode",
114493
115437
  /**
114494
115438
  * @SINCE 1.44.0
114495
115439
  *
@@ -115163,6 +116107,19 @@ declare namespace sap {
115163
116107
  */
115164
116108
  sort = "sort",
115165
116109
  }
116110
+ /**
116111
+ * Type of popup used in the `sap.m.p13n.Popup`.
116112
+ */
116113
+ enum P13nPopupMode {
116114
+ /**
116115
+ * Dialog type as popup type.
116116
+ */
116117
+ Dialog = "Dialog",
116118
+ /**
116119
+ * ResponsivePopover type as popup type.
116120
+ */
116121
+ ResponsivePopover = "ResponsivePopover",
116122
+ }
115166
116123
  /**
115167
116124
  * Available Page Background Design.
115168
116125
  */
@@ -115871,7 +116828,7 @@ declare namespace sap {
115871
116828
  */
115872
116829
  Auto = "Auto",
115873
116830
  /**
115874
- * Explicitly sets the alignment to the start (left or right depending on LTR/RTL)
116831
+ * Explicitly sets the alignment to the center
115875
116832
  */
115876
116833
  Center = "Center",
115877
116834
  /**
@@ -116174,6 +117131,8 @@ declare namespace sap {
116174
117131
 
116175
117132
  "sap/m/DynamicDateRange": undefined;
116176
117133
 
117134
+ "sap/m/DynamicDateUtil": undefined;
117135
+
116177
117136
  "sap/m/DynamicDateValueHelpUIType": undefined;
116178
117137
 
116179
117138
  "sap/m/ExpandableText": undefined;
@@ -116316,6 +117275,20 @@ declare namespace sap {
116316
117275
 
116317
117276
  "sap/m/OverflowToolbarToggleButton": undefined;
116318
117277
 
117278
+ "sap/m/p13n/BasePanel": undefined;
117279
+
117280
+ "sap/m/p13n/Container": undefined;
117281
+
117282
+ "sap/m/p13n/GroupPanel": undefined;
117283
+
117284
+ "sap/m/p13n/Popup": undefined;
117285
+
117286
+ "sap/m/p13n/QueryPanel": undefined;
117287
+
117288
+ "sap/m/p13n/SelectionPanel": undefined;
117289
+
117290
+ "sap/m/p13n/SortPanel": undefined;
117291
+
116319
117292
  "sap/m/P13nColumnsItem": undefined;
116320
117293
 
116321
117294
  "sap/m/P13nColumnsPanel": undefined;