@openui5/types 1.113.0 → 1.114.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.113.0
1
+ // For Library Version: 1.114.0
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -21,10 +21,6 @@ declare module "sap/m/library" {
21
21
 
22
22
  import { CSSColor, URI } from "sap/ui/core/library";
23
23
 
24
- import Image from "sap/m/Image";
25
-
26
- import Icon from "sap/ui/core/Icon";
27
-
28
24
  import Event from "sap/ui/base/Event";
29
25
 
30
26
  import Slider from "sap/m/Slider";
@@ -283,6 +279,21 @@ declare module "sap/m/library" {
283
279
  */
284
280
  Slash = "Slash",
285
281
  }
282
+ /**
283
+ * @SINCE 1.114.0
284
+ *
285
+ * Enumeration for possible Button accessibility roles.
286
+ */
287
+ export enum ButtonAccessibleRole {
288
+ /**
289
+ * Default mode.
290
+ */
291
+ Default = "Default",
292
+ /**
293
+ * Button will receive `role="Link"` attibute.
294
+ */
295
+ Link = "Link",
296
+ }
286
297
  /**
287
298
  * Different predefined button types for the {@link sap.m.Button sap.m.Button}.
288
299
  */
@@ -1051,51 +1062,6 @@ declare module "sap/m/library" {
1051
1062
  */
1052
1063
  Standard = "Standard",
1053
1064
  }
1054
- /**
1055
- * @SINCE 1.12
1056
- * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1057
- *
1058
- * Helper for Images.
1059
- */
1060
- export interface ImageHelper {
1061
- /**
1062
- * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
1063
- *
1064
- * Creates or updates an image control.
1065
- *
1066
- * @returns The new or updated image control or icon
1067
- */
1068
- getImageControl(
1069
- /**
1070
- * UD of the image to be dealt with.
1071
- */
1072
- sImgId: string,
1073
- /**
1074
- * The image to update. If undefined, a new image will be created.
1075
- */
1076
- oImage: Image,
1077
- /**
1078
- * oImageControl's parentControl.
1079
- */
1080
- oParent: Control,
1081
- /**
1082
- * Settings for the image control; the `src` property MUST be contained; the keys of the object must be
1083
- * valid names of image settings
1084
- */
1085
- mProperties: object,
1086
- /**
1087
- * Array of CSS classes which will be added if the image needs to be created.
1088
- */
1089
- aCssClassesToAdd: string[],
1090
- /**
1091
- * All CSS classes that oImageControl has and which are contained in this array are removed before adding
1092
- * the CSS classes listed in aCssClassesToAdd.
1093
- */
1094
- aCssClassesToRemove: string[]
1095
- ): Image | Icon;
1096
- }
1097
- export const ImageHelper: ImageHelper;
1098
-
1099
1065
  /**
1100
1066
  * @SINCE 1.30.0
1101
1067
  *
@@ -2513,8 +2479,6 @@ declare module "sap/m/library" {
2513
2479
  StretchCompressMode = "StretchCompressMode",
2514
2480
  }
2515
2481
  /**
2516
- * @EXPERIMENTAL (since 1.92) - These keys are experimental. The API might be changed in future.
2517
- *
2518
2482
  * The option keys of all the standard options of a DynamicDateRange control.
2519
2483
  */
2520
2484
  export enum StandardDynamicDateRangeKeys {
@@ -8616,9 +8580,9 @@ declare module "sap/m/Button" {
8616
8580
 
8617
8581
  import Event from "sap/ui/base/Event";
8618
8582
 
8619
- import ElementMetadata from "sap/ui/core/ElementMetadata";
8583
+ import { ButtonAccessibleRole, ButtonType } from "sap/m/library";
8620
8584
 
8621
- import { ButtonType } from "sap/m/library";
8585
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
8622
8586
 
8623
8587
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
8624
8588
 
@@ -8903,6 +8867,26 @@ declare module "sap/m/Button" {
8903
8867
  * @returns Current accessibility state of the control
8904
8868
  */
8905
8869
  getAccessibilityInfo(): AccessibilityInfo;
8870
+ /**
8871
+ * @SINCE 1.114.0
8872
+ *
8873
+ * Gets current value of property {@link #getAccessibleRole accessibleRole}.
8874
+ *
8875
+ * Describes the accessibility role of the button:
8876
+ * `ButtonAccessibleRole.Default` - The accessibility semantics is derived from the button tag and no role
8877
+ * attribute is rendered. `ButtonAccessibleRole.Link` - The accessibility semantics is derived from
8878
+ * a custom role attribute with "link" value.
8879
+ *
8880
+ * NOTE: Use link role only with a press handler, which performs a navigation. In all other scenarios the
8881
+ * default button semantics is recommended.
8882
+ *
8883
+ * Default value is `Default`.
8884
+ *
8885
+ * @returns Value of property `accessibleRole`
8886
+ */
8887
+ getAccessibleRole():
8888
+ | ButtonAccessibleRole
8889
+ | keyof typeof ButtonAccessibleRole;
8906
8890
  /**
8907
8891
  * Gets current value of property {@link #getActiveIcon activeIcon}.
8908
8892
  *
@@ -9073,6 +9057,31 @@ declare module "sap/m/Button" {
9073
9057
  */
9074
9058
  vAriaLabelledBy: int | ID | Control
9075
9059
  ): ID | null;
9060
+ /**
9061
+ * @SINCE 1.114.0
9062
+ *
9063
+ * Sets a new value for property {@link #getAccessibleRole accessibleRole}.
9064
+ *
9065
+ * Describes the accessibility role of the button:
9066
+ * `ButtonAccessibleRole.Default` - The accessibility semantics is derived from the button tag and no role
9067
+ * attribute is rendered. `ButtonAccessibleRole.Link` - The accessibility semantics is derived from
9068
+ * a custom role attribute with "link" value.
9069
+ *
9070
+ * NOTE: Use link role only with a press handler, which performs a navigation. In all other scenarios the
9071
+ * default button semantics is recommended.
9072
+ *
9073
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
9074
+ *
9075
+ * Default value is `Default`.
9076
+ *
9077
+ * @returns Reference to `this` in order to allow method chaining
9078
+ */
9079
+ setAccessibleRole(
9080
+ /**
9081
+ * New value for property `accessibleRole`
9082
+ */
9083
+ sAccessibleRole?: ButtonAccessibleRole | keyof typeof ButtonAccessibleRole
9084
+ ): this;
9076
9085
  /**
9077
9086
  * Sets a new value for property {@link #getActiveIcon activeIcon}.
9078
9087
  *
@@ -9368,6 +9377,22 @@ declare module "sap/m/Button" {
9368
9377
  | PropertyBindingInfo
9369
9378
  | `{${string}}`;
9370
9379
 
9380
+ /**
9381
+ * @SINCE 1.114.0
9382
+ *
9383
+ * Describes the accessibility role of the button:
9384
+ * `ButtonAccessibleRole.Default` - The accessibility semantics is derived from the button tag and no role
9385
+ * attribute is rendered. `ButtonAccessibleRole.Link` - The accessibility semantics is derived from
9386
+ * a custom role attribute with "link" value.
9387
+ *
9388
+ * NOTE: Use link role only with a press handler, which performs a navigation. In all other scenarios the
9389
+ * default button semantics is recommended.
9390
+ */
9391
+ accessibleRole?:
9392
+ | (ButtonAccessibleRole | keyof typeof ButtonAccessibleRole)
9393
+ | PropertyBindingInfo
9394
+ | `{${string}}`;
9395
+
9371
9396
  /**
9372
9397
  * Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
9373
9398
  */
@@ -15076,410 +15101,6 @@ declare module "sap/m/ComboBoxTextField" {
15076
15101
  }
15077
15102
  }
15078
15103
 
15079
- declare module "sap/m/CustomDynamicDateOption" {
15080
- import {
15081
- default as DynamicDateOption,
15082
- $DynamicDateOptionSettings,
15083
- } from "sap/m/DynamicDateOption";
15084
-
15085
- import ElementMetadata from "sap/ui/core/ElementMetadata";
15086
-
15087
- import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
15088
-
15089
- /**
15090
- * @SINCE 1.92
15091
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
15092
- * the API might be changed in future.
15093
- *
15094
- * A custom option for the DynamicDateRange control.
15095
- */
15096
- export default class CustomDynamicDateOption extends DynamicDateOption {
15097
- /**
15098
- * Constructor for a new CustomDynamicDateOption.
15099
- *
15100
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
15101
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
15102
- * of the syntax of the settings object.
15103
- */
15104
- constructor(
15105
- /**
15106
- * initial settings for the new control
15107
- */
15108
- mSettings?: $CustomDynamicDateOptionSettings
15109
- );
15110
- /**
15111
- * Constructor for a new CustomDynamicDateOption.
15112
- *
15113
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
15114
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
15115
- * of the syntax of the settings object.
15116
- */
15117
- constructor(
15118
- /**
15119
- * id for the new control, generated automatically if no id is given
15120
- */
15121
- sId?: string,
15122
- /**
15123
- * initial settings for the new control
15124
- */
15125
- mSettings?: $CustomDynamicDateOptionSettings
15126
- );
15127
-
15128
- /**
15129
- * Creates a new subclass of class sap.m.CustomDynamicDateOption with name `sClassName` and enriches it
15130
- * with the information contained in `oClassInfo`.
15131
- *
15132
- * `oClassInfo` might contain the same kind of information as described in {@link sap.m.DynamicDateOption.extend}.
15133
- *
15134
- * @returns Created class / constructor function
15135
- */
15136
- static extend<T extends Record<string, unknown>>(
15137
- /**
15138
- * Name of the class being created
15139
- */
15140
- sClassName: string,
15141
- /**
15142
- * Object literal with information about the class
15143
- */
15144
- oClassInfo?: sap.ClassInfo<T, CustomDynamicDateOption>,
15145
- /**
15146
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
15147
- * used by this class
15148
- */
15149
- FNMetaImpl?: Function
15150
- ): Function;
15151
- /**
15152
- * Returns a metadata object for class sap.m.CustomDynamicDateOption.
15153
- *
15154
- * @returns Metadata object describing this class
15155
- */
15156
- static getMetadata(): ElementMetadata;
15157
- /**
15158
- * Gets current value of property {@link #getCreateValueHelpUI createValueHelpUI}.
15159
- *
15160
- * Defines a method that can create the option's value help UI. For custom scenarios where getValueHelpUITypes
15161
- * is not enough to define the UI.
15162
- *
15163
- * @returns Value of property `createValueHelpUI`
15164
- */
15165
- getCreateValueHelpUI(): Function;
15166
- /**
15167
- * Gets current value of property {@link #getEnhanceFormattedValue enhanceFormattedValue}.
15168
- *
15169
- * Defines a method that controls whether the formatted date range should be concatenated to the formatted
15170
- * value when displayed.
15171
- *
15172
- * @returns Value of property `enhanceFormattedValue`
15173
- */
15174
- getEnhanceFormattedValue(): Function;
15175
- /**
15176
- * Gets current value of property {@link #getFormat format}.
15177
- *
15178
- * Defines a method that formats the option's value to a string. See DynamicDateOption.format.
15179
- *
15180
- * @returns Value of property `format`
15181
- */
15182
- getFormat(): Function;
15183
- /**
15184
- * Gets current value of property {@link #getGetGroup getGroup}.
15185
- *
15186
- * Defines a method that provides the order index of the option's group. Used for grouping within the options
15187
- * list inside a DynamicDateRange's popup.
15188
- *
15189
- * @returns Value of property `getGroup`
15190
- */
15191
- getGetGroup(): Function;
15192
- /**
15193
- * Gets current value of property {@link #getGetGroupHeader getGroupHeader}.
15194
- *
15195
- * Defines a method that provides the option's group header text.
15196
- *
15197
- * @returns Value of property `getGroupHeader`
15198
- */
15199
- getGetGroupHeader(): Function;
15200
- /**
15201
- * Gets current value of property {@link #getGetText getText}.
15202
- *
15203
- * Defines a method that provides the option's label text.
15204
- *
15205
- * @returns Value of property `getText`
15206
- */
15207
- getGetText(): Function;
15208
- /**
15209
- * Gets current value of property {@link #getGetValueHelpOutput getValueHelpOutput}.
15210
- *
15211
- * Defines a method that can collect the value from the value help UI.
15212
- *
15213
- * @returns Value of property `getValueHelpOutput`
15214
- */
15215
- getGetValueHelpOutput(): Function;
15216
- /**
15217
- * Gets current value of property {@link #getGetValueHelpUITypes getValueHelpUITypes}.
15218
- *
15219
- * Defines a method that provides the option's value help UI types. Based on the types a functional value
15220
- * help dialog will be created. Types are DynamicDateValueHelpUIType instances.
15221
- *
15222
- * @returns Value of property `getValueHelpUITypes`
15223
- */
15224
- getGetValueHelpUITypes(): Function;
15225
- /**
15226
- * Gets current value of property {@link #getParse parse}.
15227
- *
15228
- * Defines a method that parses the option's value from a string. See DynamicDateOption.parse.
15229
- *
15230
- * @returns Value of property `parse`
15231
- */
15232
- getParse(): Function;
15233
- /**
15234
- * Gets current value of property {@link #getToDates toDates}.
15235
- *
15236
- * Defines a method that calculates an absolute date range from the options relative value. See DynamicDateOption.toDates.
15237
- *
15238
- * @returns Value of property `toDates`
15239
- */
15240
- getToDates(): Function;
15241
- /**
15242
- * Gets current value of property {@link #getValidateValueHelpUI validateValueHelpUI}.
15243
- *
15244
- * Defines a method that can validate all controls from the value help UI related to a given option.
15245
- *
15246
- * @returns Value of property `validateValueHelpUI`
15247
- */
15248
- getValidateValueHelpUI(): Function;
15249
- /**
15250
- * Sets a new value for property {@link #getCreateValueHelpUI createValueHelpUI}.
15251
- *
15252
- * Defines a method that can create the option's value help UI. For custom scenarios where getValueHelpUITypes
15253
- * is not enough to define the UI.
15254
- *
15255
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15256
- *
15257
- * @returns Reference to `this` in order to allow method chaining
15258
- */
15259
- setCreateValueHelpUI(
15260
- /**
15261
- * New value for property `createValueHelpUI`
15262
- */
15263
- fnCreateValueHelpUI: Function
15264
- ): this;
15265
- /**
15266
- * Sets a new value for property {@link #getEnhanceFormattedValue enhanceFormattedValue}.
15267
- *
15268
- * Defines a method that controls whether the formatted date range should be concatenated to the formatted
15269
- * value when displayed.
15270
- *
15271
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15272
- *
15273
- * @returns Reference to `this` in order to allow method chaining
15274
- */
15275
- setEnhanceFormattedValue(
15276
- /**
15277
- * New value for property `enhanceFormattedValue`
15278
- */
15279
- fnEnhanceFormattedValue: Function
15280
- ): this;
15281
- /**
15282
- * Sets a new value for property {@link #getFormat format}.
15283
- *
15284
- * Defines a method that formats the option's value to a string. See DynamicDateOption.format.
15285
- *
15286
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15287
- *
15288
- * @returns Reference to `this` in order to allow method chaining
15289
- */
15290
- setFormat(
15291
- /**
15292
- * New value for property `format`
15293
- */
15294
- fnFormat: Function
15295
- ): this;
15296
- /**
15297
- * Sets a new value for property {@link #getGetGroup getGroup}.
15298
- *
15299
- * Defines a method that provides the order index of the option's group. Used for grouping within the options
15300
- * list inside a DynamicDateRange's popup.
15301
- *
15302
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15303
- *
15304
- * @returns Reference to `this` in order to allow method chaining
15305
- */
15306
- setGetGroup(
15307
- /**
15308
- * New value for property `getGroup`
15309
- */
15310
- fnGetGroup: Function
15311
- ): this;
15312
- /**
15313
- * Sets a new value for property {@link #getGetGroupHeader getGroupHeader}.
15314
- *
15315
- * Defines a method that provides the option's group header text.
15316
- *
15317
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15318
- *
15319
- * @returns Reference to `this` in order to allow method chaining
15320
- */
15321
- setGetGroupHeader(
15322
- /**
15323
- * New value for property `getGroupHeader`
15324
- */
15325
- fnGetGroupHeader: Function
15326
- ): this;
15327
- /**
15328
- * Sets a new value for property {@link #getGetText getText}.
15329
- *
15330
- * Defines a method that provides the option's label text.
15331
- *
15332
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15333
- *
15334
- * @returns Reference to `this` in order to allow method chaining
15335
- */
15336
- setGetText(
15337
- /**
15338
- * New value for property `getText`
15339
- */
15340
- fnGetText: Function
15341
- ): this;
15342
- /**
15343
- * Sets a new value for property {@link #getGetValueHelpOutput getValueHelpOutput}.
15344
- *
15345
- * Defines a method that can collect the value from the value help UI.
15346
- *
15347
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15348
- *
15349
- * @returns Reference to `this` in order to allow method chaining
15350
- */
15351
- setGetValueHelpOutput(
15352
- /**
15353
- * New value for property `getValueHelpOutput`
15354
- */
15355
- fnGetValueHelpOutput: Function
15356
- ): this;
15357
- /**
15358
- * Sets a new value for property {@link #getGetValueHelpUITypes getValueHelpUITypes}.
15359
- *
15360
- * Defines a method that provides the option's value help UI types. Based on the types a functional value
15361
- * help dialog will be created. Types are DynamicDateValueHelpUIType instances.
15362
- *
15363
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15364
- *
15365
- * @returns Reference to `this` in order to allow method chaining
15366
- */
15367
- setGetValueHelpUITypes(
15368
- /**
15369
- * New value for property `getValueHelpUITypes`
15370
- */
15371
- fnGetValueHelpUITypes: Function
15372
- ): this;
15373
- /**
15374
- * Sets a new value for property {@link #getParse parse}.
15375
- *
15376
- * Defines a method that parses the option's value from a string. See DynamicDateOption.parse.
15377
- *
15378
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15379
- *
15380
- * @returns Reference to `this` in order to allow method chaining
15381
- */
15382
- setParse(
15383
- /**
15384
- * New value for property `parse`
15385
- */
15386
- fnParse: Function
15387
- ): this;
15388
- /**
15389
- * Sets a new value for property {@link #getToDates toDates}.
15390
- *
15391
- * Defines a method that calculates an absolute date range from the options relative value. See DynamicDateOption.toDates.
15392
- *
15393
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15394
- *
15395
- * @returns Reference to `this` in order to allow method chaining
15396
- */
15397
- setToDates(
15398
- /**
15399
- * New value for property `toDates`
15400
- */
15401
- fnToDates: Function
15402
- ): this;
15403
- /**
15404
- * Sets a new value for property {@link #getValidateValueHelpUI validateValueHelpUI}.
15405
- *
15406
- * Defines a method that can validate all controls from the value help UI related to a given option.
15407
- *
15408
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
15409
- *
15410
- * @returns Reference to `this` in order to allow method chaining
15411
- */
15412
- setValidateValueHelpUI(
15413
- /**
15414
- * New value for property `validateValueHelpUI`
15415
- */
15416
- fnValidateValueHelpUI: Function
15417
- ): this;
15418
- }
15419
-
15420
- export interface $CustomDynamicDateOptionSettings
15421
- extends $DynamicDateOptionSettings {
15422
- /**
15423
- * Defines a method that provides the option's label text.
15424
- */
15425
- getText?: Function | PropertyBindingInfo | `{${string}}`;
15426
-
15427
- /**
15428
- * Defines a method that provides the option's value help UI types. Based on the types a functional value
15429
- * help dialog will be created. Types are DynamicDateValueHelpUIType instances.
15430
- */
15431
- getValueHelpUITypes?: Function | PropertyBindingInfo | `{${string}}`;
15432
-
15433
- /**
15434
- * Defines a method that can create the option's value help UI. For custom scenarios where getValueHelpUITypes
15435
- * is not enough to define the UI.
15436
- */
15437
- createValueHelpUI?: Function | PropertyBindingInfo | `{${string}}`;
15438
-
15439
- /**
15440
- * Defines a method that can validate all controls from the value help UI related to a given option.
15441
- */
15442
- validateValueHelpUI?: Function | PropertyBindingInfo | `{${string}}`;
15443
-
15444
- /**
15445
- * Defines a method that can collect the value from the value help UI.
15446
- */
15447
- getValueHelpOutput?: Function | PropertyBindingInfo | `{${string}}`;
15448
-
15449
- /**
15450
- * Defines a method that provides the order index of the option's group. Used for grouping within the options
15451
- * list inside a DynamicDateRange's popup.
15452
- */
15453
- getGroup?: Function | PropertyBindingInfo | `{${string}}`;
15454
-
15455
- /**
15456
- * Defines a method that provides the option's group header text.
15457
- */
15458
- getGroupHeader?: Function | PropertyBindingInfo | `{${string}}`;
15459
-
15460
- /**
15461
- * Defines a method that formats the option's value to a string. See DynamicDateOption.format.
15462
- */
15463
- format?: Function | PropertyBindingInfo | `{${string}}`;
15464
-
15465
- /**
15466
- * Defines a method that parses the option's value from a string. See DynamicDateOption.parse.
15467
- */
15468
- parse?: Function | PropertyBindingInfo | `{${string}}`;
15469
-
15470
- /**
15471
- * Defines a method that calculates an absolute date range from the options relative value. See DynamicDateOption.toDates.
15472
- */
15473
- toDates?: Function | PropertyBindingInfo | `{${string}}`;
15474
-
15475
- /**
15476
- * Defines a method that controls whether the formatted date range should be concatenated to the formatted
15477
- * value when displayed.
15478
- */
15479
- enhanceFormattedValue?: Function | PropertyBindingInfo | `{${string}}`;
15480
- }
15481
- }
15482
-
15483
15104
  declare module "sap/m/CustomListItem" {
15484
15105
  import {
15485
15106
  default as ListItemBase,
@@ -16012,6 +15633,8 @@ declare module "sap/m/DatePicker" {
16012
15633
 
16013
15634
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
16014
15635
 
15636
+ import UI5Date from "sap/ui/core/date/UI5Date";
15637
+
16015
15638
  import ElementMetadata from "sap/ui/core/ElementMetadata";
16016
15639
 
16017
15640
  import CalendarType from "sap/ui/core/CalendarType";
@@ -16049,45 +15672,14 @@ declare module "sap/m/DatePicker" {
16049
15672
  *
16050
15673
  * The user can enter a date by:
16051
15674
  * - Using the calendar that opens in a popup
16052
- * - Typing it in directly in the input field
15675
+ * - Typing it directly in the input field
16053
15676
  *
16054
15677
  * On app level, there are two options to provide a date for the `DatePicker` - as a string to the `value`
16055
- * property or as a JavaScript Date object to the `dateValue` property (only one of these properties should
16056
- * be used at a time):
15678
+ * property or as a UI5Date or JavaScript Date object to the `dateValue` property (only one of these properties
15679
+ * should be used at a time):
16057
15680
  *
16058
15681
  *
16059
15682
  * - Use the `value` property if you want to bind the `DatePicker` to a model using the `sap.ui.model.type.Date`
16060
- *
16061
- * - Use the `value` property if the date is provided as a string from the backend or inside the app (for
16062
- * example, as ABAP type DATS field)
16063
- * - Use the `dateValue` property if the date is already provided as a JavaScript Date object or you want
16064
- * to work with a JavaScript Date object. Use `dateValue` as a helper property to easily obtain the day,
16065
- * month and year of the chosen date. Although possible to bind it, the recommendation is not to do it.
16066
- * When binding is needed, use `value` property instead
16067
- *
16068
- * Formatting:
16069
- *
16070
- * All formatting and parsing of dates from and to strings is done using the {@link sap.ui.core.format.DateFormat}.
16071
- * If a date is entered by typing it into the input field, it must fit to the used date format and locale.
16072
- *
16073
- * Supported format options are pattern-based on Unicode LDML Date Format notation. See {@link http://unicode.org/reports/tr35/#Date_Field_Symbol_Table}
16074
- *
16075
- * For example, if the `valueFormat` is "yyyy-MM-dd", the `displayFormat` is "MMM d, y", and the used locale
16076
- * is English, a valid value string is "2015-07-30", which leads to an output of "Jul 30, 2015".
16077
- *
16078
- * If no placeholder is set to the `DatePicker`, the used `displayFormat` is displayed as a placeholder.
16079
- * If another placeholder is needed, it must be set.
16080
- *
16081
- * **Note:** If the string does NOT match the `displayFormat` (from user input) or the `valueFormat` (on
16082
- * app level), the {@link sap.ui.core.format.DateFormat} makes an attempt to parse it based on the locale
16083
- * settings. For more information, see the respective documentation in the API Reference.
16084
- *
16085
- * Responsive behavior:
16086
- *
16087
- * The `DatePicker` is smaller in compact mode and provides a touch-friendly size in cozy mode.
16088
- *
16089
- * On mobile devices, one tap on the input field opens the `DatePicker` in full screen. To close the window,
16090
- * the user can select a date (which triggers the close event), or select Cancel.
16091
15683
  */
16092
15684
  export default class DatePicker extends DateTimeField {
16093
15685
  /**
@@ -16476,13 +16068,13 @@ declare module "sap/m/DatePicker" {
16476
16068
  | CalendarWeekNumbering
16477
16069
  | keyof typeof CalendarWeekNumbering;
16478
16070
  /**
16479
- * The date as JavaScript Date object. This is independent from any formatter.
16071
+ * The date instance. This is independent from any formatter.
16480
16072
  *
16481
16073
  * **Note:** If this property is used, the `value` property should not be changed from the caller.
16482
16074
  *
16483
16075
  * @returns the value of property `dateValue`
16484
16076
  */
16485
- getDateValue(): Date;
16077
+ getDateValue(): Date | UI5Date;
16486
16078
  /**
16487
16079
  * The date is displayed in the input field using this format. By default, the medium format of the used
16488
16080
  * locale is used.
@@ -16540,7 +16132,8 @@ declare module "sap/m/DatePicker" {
16540
16132
  *
16541
16133
  * Gets current value of property {@link #getMaxDate maxDate}.
16542
16134
  *
16543
- * Maximum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16135
+ * Maximum date that can be shown and selected in the `DatePicker`. This must be a UI5Date or JavaScript
16136
+ * Date object.
16544
16137
  *
16545
16138
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `maxDate` and the `minDate` are switched
16546
16139
  * before rendering.
@@ -16553,7 +16146,8 @@ declare module "sap/m/DatePicker" {
16553
16146
  *
16554
16147
  * Gets current value of property {@link #getMinDate minDate}.
16555
16148
  *
16556
- * Minimum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16149
+ * Minimum date that can be shown and selected in the `DatePicker`. This must be a UI5Date or JavaScript
16150
+ * Date object.
16557
16151
  *
16558
16152
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` and the `minDate` are switched
16559
16153
  * before rendering.
@@ -16824,26 +16418,26 @@ declare module "sap/m/DatePicker" {
16824
16418
  oLegend: ID | CalendarLegend
16825
16419
  ): this;
16826
16420
  /**
16827
- * Set maximum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16421
+ * Set maximum date that can be shown and selected in the `DatePicker`. This must be a date instance.
16828
16422
  *
16829
16423
  * @returns Reference to `this` for method chaining
16830
16424
  */
16831
16425
  setMaxDate(
16832
16426
  /**
16833
- * A JavaScript Date
16427
+ * A date instance
16834
16428
  */
16835
- oDate: Date
16429
+ oDate: Date | UI5Date
16836
16430
  ): this;
16837
16431
  /**
16838
- * Set minimum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16432
+ * Set minimum date that can be shown and selected in the `DatePicker`. This must be a date instance.
16839
16433
  *
16840
16434
  * @returns Reference to `this` for method chaining
16841
16435
  */
16842
16436
  setMinDate(
16843
16437
  /**
16844
- * A JavaScript Date
16438
+ * A date instance
16845
16439
  */
16846
- oDate: Date
16440
+ oDate: Date | UI5Date
16847
16441
  ): this;
16848
16442
  /**
16849
16443
  * @SINCE 1.34.1
@@ -16955,7 +16549,8 @@ declare module "sap/m/DatePicker" {
16955
16549
  /**
16956
16550
  * @SINCE 1.38.0
16957
16551
  *
16958
- * Minimum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16552
+ * Minimum date that can be shown and selected in the `DatePicker`. This must be a UI5Date or JavaScript
16553
+ * Date object.
16959
16554
  *
16960
16555
  * **Note:** If the `minDate` is set to be after the `maxDate`, the `maxDate` and the `minDate` are switched
16961
16556
  * before rendering.
@@ -16965,7 +16560,8 @@ declare module "sap/m/DatePicker" {
16965
16560
  /**
16966
16561
  * @SINCE 1.38.0
16967
16562
  *
16968
- * Maximum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16563
+ * Maximum date that can be shown and selected in the `DatePicker`. This must be a UI5Date or JavaScript
16564
+ * Date object.
16969
16565
  *
16970
16566
  * **Note:** If the `maxDate` is set to be before the `minDate`, the `maxDate` and the `minDate` are switched
16971
16567
  * before rendering.
@@ -17070,6 +16666,8 @@ declare module "sap/m/DateRangeSelection" {
17070
16666
 
17071
16667
  import { AccessibilityInfo } from "sap/ui/core/library";
17072
16668
 
16669
+ import UI5Date from "sap/ui/core/date/UI5Date";
16670
+
17073
16671
  import ElementMetadata from "sap/ui/core/ElementMetadata";
17074
16672
 
17075
16673
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
@@ -17113,39 +16711,14 @@ declare module "sap/m/DateRangeSelection" {
17113
16711
  *
17114
16712
  * The user can enter a date by:
17115
16713
  * - Using the calendar that opens in a popup
17116
- * - Typing it in directly in the input field
16714
+ * - Typing it directly in the input field
17117
16715
  *
17118
16716
  * On app level, there are two options to provide a date for the `DateRangeSelection` - date range as a
17119
- * string to the `value` property or JavaScript Date objects to the `dateValue` and `secondDateValue` properties
17120
- * (only one of these options should be used at a time):
16717
+ * string to the `value` property or UI5Date/JavaScript Date objects to the `dateValue` and `secondDateValue`
16718
+ * properties (only one of these options should be used at a time):
17121
16719
  *
17122
16720
  *
17123
16721
  * - Use the `value` property if the date range is already provided as a formatted string
17124
- * - Use the `dateValue` and `secondDateValue` properties if the date range is already provided as JavaScript
17125
- * Date objects or you want to work with JavaScript Date objects
17126
- *
17127
- * Formatting:
17128
- *
17129
- * All formatting and parsing of dates from and to strings is done using the {@link sap.ui.core.format.DateFormat}.
17130
- * If a date is entered by typing it into the input field, it must fit to the used date format and locale.
17131
- *
17132
- * Supported format options are pattern-based on Unicode LDML Date Format notation. See {@link http://unicode.org/reports/tr35/#Date_Field_Symbol_Table}
17133
- *
17134
- * For example, if the `displayFormat` is "MMM d, y", delimiter is "-", and the used locale is English,
17135
- * a valid value string is "Jul 29, 2015 - Jul 31, 2015" and it is displayed in the same way in the input
17136
- * field.
17137
- *
17138
- * If no placeholder is set to the `DateRangeSelection`, the used `displayFormat` is displayed as a placeholder.
17139
- * If another placeholder is needed, it must be set.
17140
- *
17141
- * **Note:** If the string does NOT match the `displayFormat` (from user input) or the `valueFormat` (on
17142
- * app level), the {@link sap.ui.core.format.DateFormat} makes an attempt to parse it based on the locale
17143
- * settings. For more information, see the respective documentation in the API Reference.
17144
- *
17145
- * Responsive behavior:
17146
- *
17147
- * The `DateRangeSelection` is fully responsive. It is smaller in compact mode and provides a touch-friendly
17148
- * size in cozy mode.
17149
16722
  */
17150
16723
  export default class DateRangeSelection extends DatePicker {
17151
16724
  /**
@@ -17239,13 +16812,13 @@ declare module "sap/m/DateRangeSelection" {
17239
16812
  /**
17240
16813
  * Getter for property `dateValue`.
17241
16814
  *
17242
- * The start date of the range as JavaScript Date object. This is independent from any formatter.
16815
+ * The start date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
17243
16816
  *
17244
16817
  * **Note:** If this property is used, the `value` property should not be changed from the caller.
17245
16818
  *
17246
16819
  * @returns the value of property `dateValue`
17247
16820
  */
17248
- getDateValue(): Date;
16821
+ getDateValue(): Date | UI5Date;
17249
16822
  /**
17250
16823
  * Gets current value of property {@link #getDelimiter delimiter}.
17251
16824
  *
@@ -17268,13 +16841,13 @@ declare module "sap/m/DateRangeSelection" {
17268
16841
  /**
17269
16842
  * Getter for property `secondDateValue`.
17270
16843
  *
17271
- * The end date of the range as JavaScript Date object. This is independent from any formatter.
16844
+ * The end date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
17272
16845
  *
17273
16846
  * **Note:** If this property is used, the `value` property should not be changed from the caller.
17274
16847
  *
17275
16848
  * @returns the value of property `secondDateValue`
17276
16849
  */
17277
- getSecondDateValue(): Date;
16850
+ getSecondDateValue(): Date | UI5Date;
17278
16851
  /**
17279
16852
  * @deprecated (since 1.22.0) - replaced by `secondDateValue` property
17280
16853
  *
@@ -17282,7 +16855,7 @@ declare module "sap/m/DateRangeSelection" {
17282
16855
  *
17283
16856
  * @returns the end date of the date range
17284
16857
  */
17285
- getTo(): Date;
16858
+ getTo(): Date | UI5Date;
17286
16859
  /**
17287
16860
  * Getter for property `value`.
17288
16861
  *
@@ -17306,7 +16879,7 @@ declare module "sap/m/DateRangeSelection" {
17306
16879
  /**
17307
16880
  * Setter for property `dateValue`.
17308
16881
  *
17309
- * The start date of the range as JavaScript Date object. This is independent from any formatter.
16882
+ * The start date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
17310
16883
  *
17311
16884
  * **Note:** If this property is used, the `value` property should not be changed from the caller.
17312
16885
  *
@@ -17316,7 +16889,7 @@ declare module "sap/m/DateRangeSelection" {
17316
16889
  /**
17317
16890
  * New value for property `dateValue`
17318
16891
  */
17319
- oDateValue: Date
16892
+ oDateValue: Date | UI5Date
17320
16893
  ): this;
17321
16894
  /**
17322
16895
  * Sets a new value for property {@link #getDelimiter delimiter}.
@@ -17356,36 +16929,38 @@ declare module "sap/m/DateRangeSelection" {
17356
16929
  */
17357
16930
  setFrom(
17358
16931
  /**
17359
- * A JavaScript Date
16932
+ * A date instance
17360
16933
  */
17361
- oFrom: Date
16934
+ oFrom: Date | UI5Date
17362
16935
  ): this;
17363
16936
  /**
17364
- * Set maximum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16937
+ * Set maximum date that can be shown and selected in the `DatePicker`. This must be a UI5Date or JavaScript
16938
+ * Date object.
17365
16939
  *
17366
16940
  * @returns Reference to `this` for method chaining
17367
16941
  */
17368
16942
  setMaxDate(
17369
16943
  /**
17370
- * A JavaScript Date
16944
+ * A date instance
17371
16945
  */
17372
- oDate: Date
16946
+ oDate: Date | UI5Date
17373
16947
  ): this;
17374
16948
  /**
17375
- * Set minimum date that can be shown and selected in the `DatePicker`. This must be a JavaScript date object.
16949
+ * Set minimum date that can be shown and selected in the `DatePicker`. This must be a UI5Date or JavaScript
16950
+ * Date object.
17376
16951
  *
17377
16952
  * @returns Reference to `this` for method chaining
17378
16953
  */
17379
16954
  setMinDate(
17380
16955
  /**
17381
- * A JavaScript Date
16956
+ * A date instance
17382
16957
  */
17383
- oDate: Date
16958
+ oDate: Date | UI5Date
17384
16959
  ): this;
17385
16960
  /**
17386
16961
  * Setter for property `secondDateValue`.
17387
16962
  *
17388
- * The start date of the range as JavaScript Date object. This is independent from any formatter.
16963
+ * The start date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
17389
16964
  *
17390
16965
  * **Note:** If this property is used, the `value` property should not be changed from the caller.
17391
16966
  *
@@ -17395,7 +16970,7 @@ declare module "sap/m/DateRangeSelection" {
17395
16970
  /**
17396
16971
  * New value for property `dateValue`
17397
16972
  */
17398
- oSecondDateValue: Date
16973
+ oSecondDateValue: Date | UI5Date
17399
16974
  ): this;
17400
16975
  /**
17401
16976
  * @deprecated (since 1.22.0) - replaced by `secondDateValue` property
@@ -17406,9 +16981,9 @@ declare module "sap/m/DateRangeSelection" {
17406
16981
  */
17407
16982
  setTo(
17408
16983
  /**
17409
- * A JavaScript Date
16984
+ * A date instance
17410
16985
  */
17411
- oTo: Date
16986
+ oTo: Date | UI5Date
17412
16987
  ): this;
17413
16988
  /**
17414
16989
  * Setter for property `value`.
@@ -17450,7 +17025,7 @@ declare module "sap/m/DateRangeSelection" {
17450
17025
  delimiter?: string | PropertyBindingInfo;
17451
17026
 
17452
17027
  /**
17453
- * The end date of the range as JavaScript Date object. This is independent from any formatter.
17028
+ * The end date of the range as UI5Date or JavaScript Date object. This is independent from any formatter.
17454
17029
  *
17455
17030
  * **Note:** If this property is used, the `value` property should not be changed from the caller.
17456
17031
  */
@@ -17479,6 +17054,8 @@ declare module "sap/m/DateTimeField" {
17479
17054
 
17480
17055
  import ElementMetadata from "sap/ui/core/ElementMetadata";
17481
17056
 
17057
+ import UI5Date from "sap/ui/core/date/UI5Date";
17058
+
17482
17059
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
17483
17060
 
17484
17061
  /**
@@ -17649,8 +17226,8 @@ declare module "sap/m/DateTimeField" {
17649
17226
  /**
17650
17227
  * Gets current value of property {@link #getDateValue dateValue}.
17651
17228
  *
17652
- * Holds a reference to a JavaScript Date Object. The `value` (string) property will be set according to
17653
- * it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
17229
+ * Holds a reference to a UI5Date or JavaScript Date object. The `value` (string) property will be set according
17230
+ * to it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
17654
17231
  * will be instantiated according to the parsed `value`. Use `dateValue` as a helper property to easily
17655
17232
  * obtain the day, month, year, hours, minutes and seconds of the chosen date and time. Although possible
17656
17233
  * to bind it, the recommendation is not to do it. When binding is needed, use `value` property instead.
@@ -17679,14 +17256,14 @@ declare module "sap/m/DateTimeField" {
17679
17256
  *
17680
17257
  * Gets current value of property {@link #getInitialFocusedDateValue initialFocusedDateValue}.
17681
17258
  *
17682
- * Holds a reference to a JavaScript Date Object to define the initially focused date/time when the picker
17683
- * popup is opened.
17259
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially focused date/time when
17260
+ * the picker popup is opened.
17684
17261
  *
17685
17262
  * **Notes:**
17686
17263
  * - Setting this property does not change the `value` property.
17687
17264
  * - Depending on the context this property is used in ({@link sap.m.TimePicker}, {@link sap.m.DatePicker}
17688
17265
  * or {@link sap.m.DateTimePicker}), it takes into account only the time part, only the date part or both
17689
- * parts of the JavaScript Date Object.
17266
+ * parts of the UI5Date or JavaScript Date object.
17690
17267
  *
17691
17268
  * @returns Value of property `initialFocusedDateValue`
17692
17269
  */
@@ -17711,15 +17288,15 @@ declare module "sap/m/DateTimeField" {
17711
17288
  /**
17712
17289
  * Setter for property `dateValue`.
17713
17290
  *
17714
- * The date and time in DateTimeField as JavaScript Date object.
17291
+ * The date and time in DateTimeField as UI5Date or JavaScript Date object.
17715
17292
  *
17716
17293
  * @returns Reference to `this` for method chaining
17717
17294
  */
17718
17295
  setDateValue(
17719
17296
  /**
17720
- * A JavaScript Date
17297
+ * A date instance
17721
17298
  */
17722
- oDate: Date
17299
+ oDate: Date | UI5Date
17723
17300
  ): this;
17724
17301
  /**
17725
17302
  * Sets a new value for property {@link #getDisplayFormat displayFormat}.
@@ -17741,14 +17318,14 @@ declare module "sap/m/DateTimeField" {
17741
17318
  *
17742
17319
  * Sets a new value for property {@link #getInitialFocusedDateValue initialFocusedDateValue}.
17743
17320
  *
17744
- * Holds a reference to a JavaScript Date Object to define the initially focused date/time when the picker
17745
- * popup is opened.
17321
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially focused date/time when
17322
+ * the picker popup is opened.
17746
17323
  *
17747
17324
  * **Notes:**
17748
17325
  * - Setting this property does not change the `value` property.
17749
17326
  * - Depending on the context this property is used in ({@link sap.m.TimePicker}, {@link sap.m.DatePicker}
17750
17327
  * or {@link sap.m.DateTimePicker}), it takes into account only the time part, only the date part or both
17751
- * parts of the JavaScript Date Object.
17328
+ * parts of the UI5Date or JavaScript Date object.
17752
17329
  *
17753
17330
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
17754
17331
  *
@@ -17789,8 +17366,8 @@ declare module "sap/m/DateTimeField" {
17789
17366
  valueFormat?: string | PropertyBindingInfo;
17790
17367
 
17791
17368
  /**
17792
- * Holds a reference to a JavaScript Date Object. The `value` (string) property will be set according to
17793
- * it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
17369
+ * Holds a reference to a UI5Date or JavaScript Date object. The `value` (string) property will be set according
17370
+ * to it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
17794
17371
  * will be instantiated according to the parsed `value`. Use `dateValue` as a helper property to easily
17795
17372
  * obtain the day, month, year, hours, minutes and seconds of the chosen date and time. Although possible
17796
17373
  * to bind it, the recommendation is not to do it. When binding is needed, use `value` property instead.
@@ -17800,14 +17377,14 @@ declare module "sap/m/DateTimeField" {
17800
17377
  /**
17801
17378
  * @SINCE 1.54
17802
17379
  *
17803
- * Holds a reference to a JavaScript Date Object to define the initially focused date/time when the picker
17804
- * popup is opened.
17380
+ * Holds a reference to a UI5Date or JavaScript Date object to define the initially focused date/time when
17381
+ * the picker popup is opened.
17805
17382
  *
17806
17383
  * **Notes:**
17807
17384
  * - Setting this property does not change the `value` property.
17808
17385
  * - Depending on the context this property is used in ({@link sap.m.TimePicker}, {@link sap.m.DatePicker}
17809
17386
  * or {@link sap.m.DateTimePicker}), it takes into account only the time part, only the date part or both
17810
- * parts of the JavaScript Date Object.
17387
+ * parts of the UI5Date or JavaScript Date object.
17811
17388
  */
17812
17389
  initialFocusedDateValue?: object | PropertyBindingInfo | `{${string}}`;
17813
17390
 
@@ -18624,6 +18201,8 @@ declare module "sap/m/DateTimePicker" {
18624
18201
 
18625
18202
  import { AccessibilityInfo } from "sap/ui/core/library";
18626
18203
 
18204
+ import UI5Date from "sap/ui/core/date/UI5Date";
18205
+
18627
18206
  import ElementMetadata from "sap/ui/core/ElementMetadata";
18628
18207
 
18629
18208
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
@@ -18657,41 +18236,11 @@ declare module "sap/m/DateTimePicker" {
18657
18236
  * - Typing it in directly in the input field
18658
18237
  *
18659
18238
  * On app level, there are two options to provide a date for the `DateTimePicker` - as a string to the `value`
18660
- * property or as a JavaScript Date object to the `dateValue` property (only one of these properties should
18661
- * be used at a time):
18239
+ * property or as a UI5Date or JavaScript Date object to the `dateValue` property (only one of these properties
18240
+ * should be used at a time):
18662
18241
  *
18663
18242
  *
18664
18243
  * - Use the `value` property if you want to bind the `DateTimePicker` to a model using the `sap.ui.model.type.DateTime`
18665
- *
18666
- * - Use the `value` property if the date is provided as a string from the backend or inside the app (for
18667
- * example, as ABAP type DATS field)
18668
- * - Use the `dateValue` property if the date is already provided as a JavaScript Date object or you want
18669
- * to work with a JavaScript Date object. Use `dateValue` as a helper property to easily obtain the day,
18670
- * month, year, hours, minutes and seconds of the chosen date and time. Although possible to bind it, the
18671
- * recommendation is not to do it. When binding is needed, use `value` property instead
18672
- *
18673
- * Formatting:
18674
- *
18675
- * All formatting and parsing of dates from and to strings is done using the {@link sap.ui.core.format.DateFormat}.
18676
- * If a date is entered by typing it into the input field, it must fit to the used date format and locale.
18677
- *
18678
- * Supported format options are pattern-based on Unicode LDML Date Format notation. See {@link http://unicode.org/reports/tr35/#Date_Field_Symbol_Table}
18679
- *
18680
- * For example, if the `valueFormat` is "yyyy-MM-dd-HH-mm-ss", the `displayFormat` is "MMM d, y, HH:mm:ss",
18681
- * and the used locale is English, a valid value string is "2015-07-30-10-30-15", which leads to an output
18682
- * of "Jul 30, 2015, 10:30:15".
18683
- *
18684
- * If no placeholder is set to the `DateTimePicker`, the used `displayFormat` is displayed as a placeholder.
18685
- * If another placeholder is needed, it must be set.
18686
- *
18687
- * **Note:** If the string does NOT match the `displayFormat` (from user input) or the `valueFormat` (on
18688
- * app level), the {@link sap.ui.core.format.DateFormat} makes an attempt to parse it based on the locale
18689
- * settings. For more information, see the respective documentation in the API Reference.
18690
- *
18691
- * Responsive behavior:
18692
- *
18693
- * The `DateTimePicker` is responsive and fully adapts to all devices. For larger screens, such as tablet
18694
- * or desktop, it opens as a popover. For mobile devices, it opens in full screen.
18695
18244
  */
18696
18245
  export default class DateTimePicker extends DatePicker {
18697
18246
  /**
@@ -18772,9 +18321,9 @@ declare module "sap/m/DateTimePicker" {
18772
18321
  *
18773
18322
  * This method should not be used because it could produce unpredictable results. Use `getValue()` instead.
18774
18323
  *
18775
- * @returns A JavaScript Date
18324
+ * @returns date instance
18776
18325
  */
18777
- getDateValue(): Date;
18326
+ getDateValue(): Date | UI5Date;
18778
18327
  /**
18779
18328
  * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
18780
18329
  *
@@ -18857,28 +18406,28 @@ declare module "sap/m/DateTimePicker" {
18857
18406
  */
18858
18407
  getTimezone(): string;
18859
18408
  /**
18860
- * Set maximum date that can be shown and selected in the `DateTimePicker`. This must be a JavaScript date
18861
- * object.
18409
+ * Set maximum date that can be shown and selected in the `DateTimePicker`. This must be a UI5Date or JavaScript
18410
+ * Date object.
18862
18411
  *
18863
18412
  * @returns Reference to `this` for method chaining
18864
18413
  */
18865
18414
  setMaxDate(
18866
18415
  /**
18867
- * A JavaScript Date
18416
+ * A date instance
18868
18417
  */
18869
- oDate: Date
18418
+ oDate: Date | UI5Date
18870
18419
  ): this;
18871
18420
  /**
18872
- * Set minimum date that can be shown and selected in the `DateTimePicker`. This must be a JavaScript date
18873
- * object.
18421
+ * Set minimum date that can be shown and selected in the `DateTimePicker`. This must be a UI5Date or JavaScript
18422
+ * Date object.
18874
18423
  *
18875
18424
  * @returns Reference to `this` for method chaining
18876
18425
  */
18877
18426
  setMinDate(
18878
18427
  /**
18879
- * A JavaScript Date
18428
+ * A date instance
18880
18429
  */
18881
- oDate: Date
18430
+ oDate: Date | UI5Date
18882
18431
  ): this;
18883
18432
  /**
18884
18433
  * @SINCE 1.56
@@ -21149,8 +20698,6 @@ declare module "sap/m/DynamicDate" {
21149
20698
 
21150
20699
  /**
21151
20700
  * @SINCE 1.92
21152
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
21153
- * the API might be changed in future.
21154
20701
  *
21155
20702
  * This class represents the dynamic date range type. Model values should be in the following format: {
21156
20703
  * operator: "KEY", values: [param1, param2] }. Where the supported parameters are timestamps, month indexes
@@ -21280,9 +20827,6 @@ declare module "sap/m/DynamicDateFormat" {
21280
20827
  import Locale from "sap/ui/core/Locale";
21281
20828
 
21282
20829
  /**
21283
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
21284
- * the API might be changed in future.
21285
- *
21286
20830
  * The DynamicDateFormat is a static class for formatting and parsing an array of strings in a locale-sensitive
21287
20831
  * manner according to a set of format options.
21288
20832
  */
@@ -21374,8 +20918,6 @@ declare module "sap/m/DynamicDateOption" {
21374
20918
 
21375
20919
  /**
21376
20920
  * @SINCE 1.92
21377
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
21378
- * the API might be changed in future.
21379
20921
  *
21380
20922
  * A base type for the options used by the DynamicDateRange control.
21381
20923
  */
@@ -21442,7 +20984,8 @@ declare module "sap/m/DynamicDateOption" {
21442
20984
  static getMetadata(): ElementMetadata;
21443
20985
  /**
21444
20986
  * Creates the option's value help UI. Mainly used for custom scenarios where getValueHelpUITypes is not
21445
- * enough to define the UI.
20987
+ * enough to define the UI. In custom options, you can create different controls that are used by the user
20988
+ * to input data via interaction.
21446
20989
  *
21447
20990
  * @returns An array with the option's value help UI controls
21448
20991
  */
@@ -21475,7 +21018,8 @@ declare module "sap/m/DynamicDateOption" {
21475
21018
  ): string;
21476
21019
  /**
21477
21020
  * Provides the order index of the option's group. Used for grouping within the options list inside a DynamicDateRange's
21478
- * popup. Standard options are arranged in 6 groups - from 1 to 6.
21021
+ * popup. Standard options are arranged in 6 groups - from 1 to 6. 1 - Single Dates 2 - Date Ranges 3 -
21022
+ * Weeks 4 - Months 5 - Quarters 6 - Years
21479
21023
  *
21480
21024
  * @returns A group index
21481
21025
  */
@@ -21520,8 +21064,8 @@ declare module "sap/m/DynamicDateOption" {
21520
21064
  /**
21521
21065
  * Defines the UI types of the option. They are used to create predefined UI for the DynamicDateRange's
21522
21066
  * value help dialog corresponding to this option. The types are DynamicDateValueHelpUIType instances. Their
21523
- * possible values are "date", "daterange", "month", "int". The created UI consists of Calendar or Input
21524
- * controls.
21067
+ * possible values are "date", "datetime", "daterange", "month", "int". The created UI consists of Calendar
21068
+ * or Input controls.
21525
21069
  *
21526
21070
  * @returns An array with the option's UI types
21527
21071
  */
@@ -21629,6 +21173,8 @@ declare module "sap/m/DynamicDateRange" {
21629
21173
 
21630
21174
  import { ID, ValueState, CSSSize } from "sap/ui/core/library";
21631
21175
 
21176
+ import DynamicDateOption from "sap/m/DynamicDateOption";
21177
+
21632
21178
  import Event from "sap/ui/base/Event";
21633
21179
 
21634
21180
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
@@ -21637,12 +21183,13 @@ declare module "sap/m/DynamicDateRange" {
21637
21183
 
21638
21184
  import { DynamicDateRangeValue } from "sap/m/library";
21639
21185
 
21640
- import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
21186
+ import {
21187
+ PropertyBindingInfo,
21188
+ AggregationBindingInfo,
21189
+ } from "sap/ui/base/ManagedObject";
21641
21190
 
21642
21191
  /**
21643
21192
  * @SINCE 1.92.0
21644
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
21645
- * the API might be changed in future.
21646
21193
  *
21647
21194
  * A control base type.
21648
21195
  *
@@ -21659,9 +21206,10 @@ declare module "sap/m/DynamicDateRange" {
21659
21206
  * of when you open the application)
21660
21207
  *
21661
21208
  * The `DynamicDateRange` control supports a number of standard options: see {@link sap.m.StandardDynamicDateRangeKeys}.
21662
- * A custom option could be defined by using the `sap.m.CustomDynamicDateOption` class and appending an
21663
- * instance of this class into the `sap.m.DynamicDateUtil` options. In order for a specific option to be
21664
- * used its key should be added into the `options` property of the control. No options are added by default.
21209
+ * A custom option could be defined by extending the `sap.m.DynamicDateOption` class and adding an instance
21210
+ * of this class into the `sap.m.DynamicDateRange` customOptions aggregation. In order for a specific option
21211
+ * to be used its key should be added into the `standardOptions` property of the control. No options are
21212
+ * added by default.
21665
21213
  *
21666
21214
  * Suggestions are available when the user types in the control input field.
21667
21215
  *
@@ -21772,12 +21320,23 @@ declare module "sap/m/DynamicDateRange" {
21772
21320
  */
21773
21321
  vAriaLabelledBy: ID | Control
21774
21322
  ): this;
21323
+ /**
21324
+ * Adds some customOption to the aggregation {@link #getCustomOptions customOptions}.
21325
+ *
21326
+ * @returns Reference to `this` in order to allow method chaining
21327
+ */
21328
+ addCustomOption(
21329
+ /**
21330
+ * The customOption to add; if empty, nothing is inserted
21331
+ */
21332
+ oCustomOption: DynamicDateOption
21333
+ ): this;
21775
21334
  /**
21776
21335
  * @SINCE 1.92
21777
21336
  *
21778
- * Appends an option key, identifying an additional option to be used by the control.
21337
+ * Appends an option key, identifying an additional standard option to be used by the control.
21779
21338
  */
21780
- addOption(
21339
+ addStandardOption(
21781
21340
  /**
21782
21341
  * option key
21783
21342
  */
@@ -21830,6 +21389,12 @@ declare module "sap/m/DynamicDateRange" {
21830
21389
  */
21831
21390
  oListener?: object
21832
21391
  ): this;
21392
+ /**
21393
+ * Destroys all the customOptions in the aggregation {@link #getCustomOptions customOptions}.
21394
+ *
21395
+ * @returns Reference to `this` in order to allow method chaining
21396
+ */
21397
+ destroyCustomOptions(): this;
21833
21398
  /**
21834
21399
  * Detaches event handler `fnFunction` from the {@link #event:change change} event of this `sap.m.DynamicDateRange`.
21835
21400
  *
@@ -21896,6 +21461,12 @@ declare module "sap/m/DynamicDateRange" {
21896
21461
  getCalendarWeekNumbering():
21897
21462
  | CalendarWeekNumbering
21898
21463
  | keyof typeof CalendarWeekNumbering;
21464
+ /**
21465
+ * Gets content of aggregation {@link #getCustomOptions customOptions}.
21466
+ *
21467
+ * Custom options for the `DynamicDateRange`.
21468
+ */
21469
+ getCustomOptions(): DynamicDateOption[];
21899
21470
  /**
21900
21471
  * @SINCE 1.92
21901
21472
  *
@@ -21934,17 +21505,6 @@ declare module "sap/m/DynamicDateRange" {
21934
21505
  * @returns Value of property `enableGroupHeaders`
21935
21506
  */
21936
21507
  getEnableGroupHeaders(): boolean;
21937
- /**
21938
- * @SINCE 1.92
21939
- *
21940
- * Gets current value of property {@link #getFormatter formatter}.
21941
- *
21942
- * An instance of sap.m.DynamicDateFormat or a user defined format object with the corresponding formatting
21943
- * and parsing functionality.
21944
- *
21945
- * @returns Value of property `formatter`
21946
- */
21947
- getFormatter(): object;
21948
21508
  /**
21949
21509
  * @SINCE 1.105
21950
21510
  *
@@ -21984,23 +21544,16 @@ declare module "sap/m/DynamicDateRange" {
21984
21544
  */
21985
21545
  getName(): string;
21986
21546
  /**
21987
- * @SINCE 1.92
21988
- *
21989
- * Gets current value of property {@link #getOptions options}.
21990
- *
21991
- * Array of standard and custom option keys
21992
- *
21993
- * Default value is `["DATE", "TODAY", "YESTERDAY", "TOMORROW", "FIRSTDAYWEEK", "LASTDAYWEEK", "FIRSTDAYMONTH",
21994
- * "LASTDAYMONTH", "FIRSTDAYQUARTER", "LASTDAYQUARTER", "FIRSTDAYYEAR", "LASTDAYYEAR", "DATERANGE", "DATETIMERANGE",
21995
- * "FROM", "TO", "FROMDATETIME", "TODATETIME", "YEARTODATE", "DATETOYEAR", "LASTMINUTES", "LASTHOURS", "LASTDAYS",
21996
- * "LASTWEEKS", "LASTMONTHS", "LASTQUARTERS", "LASTYEARS", "NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS",
21997
- * "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS", "TODAYFROMTO", "THISWEEK", "LASTWEEK", "NEXTWEEK", "SPECIFICMONTH",
21998
- * "SPECIFICMONTHINYEAR", "THISMONTH", "LASTMONTH", "NEXTMONTH", "THISQUARTER", "LASTQUARTER", "NEXTQUARTER",
21999
- * "QUARTER1", "QUARTER2", "QUARTER3", "QUARTER4", "THISYEAR", "LASTYEAR", "NEXTYEAR", "DATETIME"]`.
21547
+ * Gets an option object by its key.
22000
21548
  *
22001
- * @returns Value of property `options`
21549
+ * @returns The option
22002
21550
  */
22003
- getOptions(): string[];
21551
+ getOption(
21552
+ /**
21553
+ * The option key
21554
+ */
21555
+ sKey: string
21556
+ ): DynamicDateOption;
22004
21557
  /**
22005
21558
  * @SINCE 1.92
22006
21559
  *
@@ -22028,15 +21581,21 @@ declare module "sap/m/DynamicDateRange" {
22028
21581
  /**
22029
21582
  * @SINCE 1.92
22030
21583
  *
22031
- * Gets current value of property {@link #getValue value}.
21584
+ * Gets current value of property {@link #getStandardOptions standardOptions}.
22032
21585
  *
22033
- * Defines the control value. The object has two properties 'operator' - a string, the key of a DynamicDateOption
22034
- * and 'values' - an array of parameters for the same option. The control uses a special wrong-value object,
22035
- * when the input receives an unrecognized string - { operator: "PARSEERROR", values: [...]}
21586
+ * Array of standard option keys
22036
21587
  *
22037
- * @returns Value of property `value`
21588
+ * Default value is `["DATE", "TODAY", "YESTERDAY", "TOMORROW", "FIRSTDAYWEEK", "LASTDAYWEEK", "FIRSTDAYMONTH",
21589
+ * "LASTDAYMONTH", "FIRSTDAYQUARTER", "LASTDAYQUARTER", "FIRSTDAYYEAR", "LASTDAYYEAR", "DATERANGE", "DATETIMERANGE",
21590
+ * "FROM", "TO", "FROMDATETIME", "TODATETIME", "YEARTODATE", "DATETOYEAR", "LASTMINUTES", "LASTHOURS", "LASTDAYS",
21591
+ * "LASTWEEKS", "LASTMONTHS", "LASTQUARTERS", "LASTYEARS", "NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS",
21592
+ * "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS", "TODAYFROMTO", "THISWEEK", "LASTWEEK", "NEXTWEEK", "SPECIFICMONTH",
21593
+ * "SPECIFICMONTHINYEAR", "THISMONTH", "LASTMONTH", "NEXTMONTH", "THISQUARTER", "LASTQUARTER", "NEXTQUARTER",
21594
+ * "QUARTER1", "QUARTER2", "QUARTER3", "QUARTER4", "THISYEAR", "LASTYEAR", "NEXTYEAR", "DATETIME"]`.
21595
+ *
21596
+ * @returns Value of property `standardOptions`
22038
21597
  */
22039
- getValue(): object;
21598
+ getStandardOptions(): string[];
22040
21599
  /**
22041
21600
  * @SINCE 1.92
22042
21601
  *
@@ -22070,6 +21629,35 @@ declare module "sap/m/DynamicDateRange" {
22070
21629
  * @returns Value of property `width`
22071
21630
  */
22072
21631
  getWidth(): CSSSize;
21632
+ /**
21633
+ * Checks for the provided `sap.m.DynamicDateOption` in the aggregation {@link #getCustomOptions customOptions}.
21634
+ * and returns its index if found or -1 otherwise.
21635
+ *
21636
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
21637
+ */
21638
+ indexOfCustomOption(
21639
+ /**
21640
+ * The customOption whose index is looked for
21641
+ */
21642
+ oCustomOption: DynamicDateOption
21643
+ ): int;
21644
+ /**
21645
+ * Inserts a customOption into the aggregation {@link #getCustomOptions customOptions}.
21646
+ *
21647
+ * @returns Reference to `this` in order to allow method chaining
21648
+ */
21649
+ insertCustomOption(
21650
+ /**
21651
+ * The customOption to insert; if empty, nothing is inserted
21652
+ */
21653
+ oCustomOption: DynamicDateOption,
21654
+ /**
21655
+ * The `0`-based index the customOption should be inserted at; for a negative value of `iIndex`, the customOption
21656
+ * is inserted at position 0; for a value greater than the current size of the aggregation, the customOption
21657
+ * is inserted at the last position
21658
+ */
21659
+ iIndex: int
21660
+ ): this;
22073
21661
  /**
22074
21662
  * @SINCE 1.92
22075
21663
  *
@@ -22119,6 +21707,14 @@ declare module "sap/m/DynamicDateRange" {
22119
21707
  * @returns An array of the removed elements (might be empty)
22120
21708
  */
22121
21709
  removeAllAriaLabelledBy(): ID[];
21710
+ /**
21711
+ * Removes all the controls from the aggregation {@link #getCustomOptions customOptions}.
21712
+ *
21713
+ * Additionally, it unregisters them from the hosting UIArea.
21714
+ *
21715
+ * @returns An array of the removed elements (might be empty)
21716
+ */
21717
+ removeAllCustomOptions(): DynamicDateOption[];
22122
21718
  /**
22123
21719
  * @SINCE 1.92
22124
21720
  *
@@ -22145,6 +21741,17 @@ declare module "sap/m/DynamicDateRange" {
22145
21741
  */
22146
21742
  vAriaLabelledBy: int | ID | Control
22147
21743
  ): ID | null;
21744
+ /**
21745
+ * Removes a customOption from the aggregation {@link #getCustomOptions customOptions}.
21746
+ *
21747
+ * @returns The removed customOption or `null`
21748
+ */
21749
+ removeCustomOption(
21750
+ /**
21751
+ * The customOption to remove or its index or id
21752
+ */
21753
+ vCustomOption: int | string | DynamicDateOption
21754
+ ): DynamicDateOption | null;
22148
21755
  /**
22149
21756
  * @SINCE 1.111.0
22150
21757
  *
@@ -22224,24 +21831,6 @@ declare module "sap/m/DynamicDateRange" {
22224
21831
  */
22225
21832
  bEnableGroupHeaders?: boolean
22226
21833
  ): this;
22227
- /**
22228
- * @SINCE 1.92
22229
- *
22230
- * Sets a new value for property {@link #getFormatter formatter}.
22231
- *
22232
- * An instance of sap.m.DynamicDateFormat or a user defined format object with the corresponding formatting
22233
- * and parsing functionality.
22234
- *
22235
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22236
- *
22237
- * @returns Reference to `this` in order to allow method chaining
22238
- */
22239
- setFormatter(
22240
- /**
22241
- * New value for property `formatter`
22242
- */
22243
- oFormatter: object
22244
- ): this;
22245
21834
  /**
22246
21835
  * @SINCE 1.105
22247
21836
  *
@@ -22286,31 +21875,6 @@ declare module "sap/m/DynamicDateRange" {
22286
21875
  */
22287
21876
  sName?: string
22288
21877
  ): this;
22289
- /**
22290
- * @SINCE 1.92
22291
- *
22292
- * Sets a new value for property {@link #getOptions options}.
22293
- *
22294
- * Array of standard and custom option keys
22295
- *
22296
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22297
- *
22298
- * Default value is `["DATE", "TODAY", "YESTERDAY", "TOMORROW", "FIRSTDAYWEEK", "LASTDAYWEEK", "FIRSTDAYMONTH",
22299
- * "LASTDAYMONTH", "FIRSTDAYQUARTER", "LASTDAYQUARTER", "FIRSTDAYYEAR", "LASTDAYYEAR", "DATERANGE", "DATETIMERANGE",
22300
- * "FROM", "TO", "FROMDATETIME", "TODATETIME", "YEARTODATE", "DATETOYEAR", "LASTMINUTES", "LASTHOURS", "LASTDAYS",
22301
- * "LASTWEEKS", "LASTMONTHS", "LASTQUARTERS", "LASTYEARS", "NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS",
22302
- * "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS", "TODAYFROMTO", "THISWEEK", "LASTWEEK", "NEXTWEEK", "SPECIFICMONTH",
22303
- * "SPECIFICMONTHINYEAR", "THISMONTH", "LASTMONTH", "NEXTMONTH", "THISQUARTER", "LASTQUARTER", "NEXTQUARTER",
22304
- * "QUARTER1", "QUARTER2", "QUARTER3", "QUARTER4", "THISYEAR", "LASTYEAR", "NEXTYEAR", "DATETIME"]`.
22305
- *
22306
- * @returns Reference to `this` in order to allow method chaining
22307
- */
22308
- setOptions(
22309
- /**
22310
- * New value for property `options`
22311
- */
22312
- sOptions?: string[]
22313
- ): this;
22314
21878
  /**
22315
21879
  * @SINCE 1.92
22316
21880
  *
@@ -22349,6 +21913,31 @@ declare module "sap/m/DynamicDateRange" {
22349
21913
  */
22350
21914
  bRequired?: boolean
22351
21915
  ): this;
21916
+ /**
21917
+ * @SINCE 1.92
21918
+ *
21919
+ * Sets a new value for property {@link #getStandardOptions standardOptions}.
21920
+ *
21921
+ * Array of standard option keys
21922
+ *
21923
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
21924
+ *
21925
+ * Default value is `["DATE", "TODAY", "YESTERDAY", "TOMORROW", "FIRSTDAYWEEK", "LASTDAYWEEK", "FIRSTDAYMONTH",
21926
+ * "LASTDAYMONTH", "FIRSTDAYQUARTER", "LASTDAYQUARTER", "FIRSTDAYYEAR", "LASTDAYYEAR", "DATERANGE", "DATETIMERANGE",
21927
+ * "FROM", "TO", "FROMDATETIME", "TODATETIME", "YEARTODATE", "DATETOYEAR", "LASTMINUTES", "LASTHOURS", "LASTDAYS",
21928
+ * "LASTWEEKS", "LASTMONTHS", "LASTQUARTERS", "LASTYEARS", "NEXTMINUTES", "NEXTHOURS", "NEXTDAYS", "NEXTWEEKS",
21929
+ * "NEXTMONTHS", "NEXTQUARTERS", "NEXTYEARS", "TODAYFROMTO", "THISWEEK", "LASTWEEK", "NEXTWEEK", "SPECIFICMONTH",
21930
+ * "SPECIFICMONTHINYEAR", "THISMONTH", "LASTMONTH", "NEXTMONTH", "THISQUARTER", "LASTQUARTER", "NEXTQUARTER",
21931
+ * "QUARTER1", "QUARTER2", "QUARTER3", "QUARTER4", "THISYEAR", "LASTYEAR", "NEXTYEAR", "DATETIME"]`.
21932
+ *
21933
+ * @returns Reference to `this` in order to allow method chaining
21934
+ */
21935
+ setStandardOptions(
21936
+ /**
21937
+ * New value for property `standardOptions`
21938
+ */
21939
+ sStandardOptions?: string[]
21940
+ ): this;
22352
21941
  /**
22353
21942
  * @SINCE 1.92
22354
21943
  *
@@ -22403,6 +21992,17 @@ declare module "sap/m/DynamicDateRange" {
22403
21992
  */
22404
21993
  sWidth?: CSSSize
22405
21994
  ): this;
21995
+ /**
21996
+ * Calculates a date range from a provided object in the format of the DynamicDateRange's value.
21997
+ *
21998
+ * @returns An array of two date objects - start and end date
21999
+ */
22000
+ toDates(
22001
+ /**
22002
+ * The provided value
22003
+ */
22004
+ oValue: string
22005
+ ): /* was: sap.ui.core.date.UniversalDate */ any[];
22406
22006
  }
22407
22007
 
22408
22008
  export interface $DynamicDateRangeSettings extends $ControlSettings {
@@ -22497,9 +22097,9 @@ declare module "sap/m/DynamicDateRange" {
22497
22097
  /**
22498
22098
  * @SINCE 1.92
22499
22099
  *
22500
- * Array of standard and custom option keys
22100
+ * Array of standard option keys
22501
22101
  */
22502
- options?: string[] | PropertyBindingInfo | `{${string}}`;
22102
+ standardOptions?: string[] | PropertyBindingInfo | `{${string}}`;
22503
22103
 
22504
22104
  /**
22505
22105
  * @SINCE 1.105
@@ -22527,6 +22127,15 @@ declare module "sap/m/DynamicDateRange" {
22527
22127
  | PropertyBindingInfo
22528
22128
  | `{${string}}`;
22529
22129
 
22130
+ /**
22131
+ * Custom options for the `DynamicDateRange`.
22132
+ */
22133
+ customOptions?:
22134
+ | DynamicDateOption[]
22135
+ | DynamicDateOption
22136
+ | AggregationBindingInfo
22137
+ | `{${string}}`;
22138
+
22530
22139
  /**
22531
22140
  * @SINCE 1.92
22532
22141
  *
@@ -22557,8 +22166,7 @@ declare module "sap/m/DynamicDateUtil" {
22557
22166
  import { DynamicDateRangeValue } from "sap/m/library";
22558
22167
 
22559
22168
  /**
22560
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
22561
- * the API might be changed in future.
22169
+ * @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
22562
22170
  *
22563
22171
  * The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
22564
22172
  */
@@ -22654,8 +22262,6 @@ declare module "sap/m/DynamicDateValueHelpUIType" {
22654
22262
 
22655
22263
  /**
22656
22264
  * @SINCE 1.92
22657
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
22658
- * the API might be changed in future.
22659
22265
  *
22660
22266
  * A class that describes the predefined value help UI type of DynamicDateRange options.
22661
22267
  */
@@ -28606,9 +28212,10 @@ declare module "sap/m/FormattedText" {
28606
28212
  * - `dd`
28607
28213
  * - `ul`
28608
28214
  * - `ol`
28609
- * - `li` `class, style, dir,` and `target` attributes are allowed. If `target` is not set, links
28610
- * open in a new window by default. Only safe `href` attributes can be used. See {@link module:sap/base/security/URLListValidator
28611
- * URLListValidator}.
28215
+ * - `li` `style, dir` and `target` attributes are allowed. The `class` attribute is allowed,
28216
+ * but its value is sanitized to contain only supported CSS classes, see {@link topic:91a4946b0dcf4356aaaedc4e502864f4
28217
+ * List of Supported CSS Classes}. If `target` is not set, links open in a new window by default. Only
28218
+ * safe `href` attributes can be used. See {@link module:sap/base/security/URLListValidator URLListValidator}.
28612
28219
  *
28613
28220
  * **Note:** Keep in mind that not supported HTML tags and the content nested inside them are both not rendered
28614
28221
  * by the control.
@@ -28863,9 +28470,10 @@ declare module "sap/m/FormattedText" {
28863
28470
  * - `dd`
28864
28471
  * - `ul`
28865
28472
  * - `ol`
28866
- * - `li` `class, style, dir,` and `target` attributes are allowed. If `target` is not set, links
28867
- * open in a new window by default. Only safe `href` attributes can be used. See {@link module:sap/base/security/URLListValidator
28868
- * URLListValidator}.
28473
+ * - `li` `style, dir` and `target` attributes are allowed. The `class` attribute is allowed,
28474
+ * but its value is sanitized to contain only supported CSS classes, see {@link topic:91a4946b0dcf4356aaaedc4e502864f4
28475
+ * List of Supported CSS Classes}. If `target` is not set, links open in a new window by default. Only
28476
+ * safe `href` attributes can be used. See {@link module:sap/base/security/URLListValidator URLListValidator}.
28869
28477
  *
28870
28478
  * **Note:** Keep in mind that not supported HTML tags and the content nested inside them are both not rendered
28871
28479
  * by the control.
@@ -77935,6 +77543,8 @@ declare module "sap/m/PlanningCalendar" {
77935
77543
 
77936
77544
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
77937
77545
 
77546
+ import UI5Date from "sap/ui/core/date/UI5Date";
77547
+
77938
77548
  import ElementMetadata from "sap/ui/core/ElementMetadata";
77939
77549
 
77940
77550
  import CalendarType from "sap/ui/core/CalendarType";
@@ -78585,11 +78195,11 @@ declare module "sap/m/PlanningCalendar" {
78585
78195
  */
78586
78196
  mParameters?: {
78587
78197
  /**
78588
- * Start date of the selected interval, as a JavaScript date object.
78198
+ * Start date of the selected interval, as a UI5Date or JavaScript Date object.
78589
78199
  */
78590
78200
  startDate?: object;
78591
78201
  /**
78592
- * Interval end date as a JavaScript date object.
78202
+ * Interval end date as a UI5Date or JavaScript Date object.
78593
78203
  */
78594
78204
  endDate?: object;
78595
78205
  /**
@@ -78780,9 +78390,9 @@ declare module "sap/m/PlanningCalendar" {
78780
78390
  *
78781
78391
  * Getter for the end point in time of the shown interval
78782
78392
  *
78783
- * @returns JavaScript date object with the end date
78393
+ * @returns date instance with the end date
78784
78394
  */
78785
- getEndDate(): Date;
78395
+ getEndDate(): Date | UI5Date;
78786
78396
  /**
78787
78397
  * @SINCE 1.94
78788
78398
  *
@@ -78838,7 +78448,7 @@ declare module "sap/m/PlanningCalendar" {
78838
78448
  * Gets current value of property {@link #getMaxDate maxDate}.
78839
78449
  *
78840
78450
  * Defines the maximum date that can be displayed and selected in the `PlanningCalendar`. This must be a
78841
- * JavaScript date object.
78451
+ * UI5Date or JavaScript Date object.
78842
78452
  *
78843
78453
  * **Note:** If the `maxDate` is set to be before the current `minDate`, the `minDate` is set to the first
78844
78454
  * date of the month in which the `maxDate` belongs.
@@ -78852,7 +78462,7 @@ declare module "sap/m/PlanningCalendar" {
78852
78462
  * Gets current value of property {@link #getMinDate minDate}.
78853
78463
  *
78854
78464
  * Defines the minimum date that can be displayed and selected in the `PlanningCalendar`. This must be a
78855
- * JavaScript date object.
78465
+ * UI5Date or JavaScript Date object.
78856
78466
  *
78857
78467
  * **Note:** If the `minDate` is set to be after the current `maxDate`, the `maxDate` is set to the last
78858
78468
  * date of the month in which the `minDate` belongs.
@@ -79013,7 +78623,8 @@ declare module "sap/m/PlanningCalendar" {
79013
78623
  /**
79014
78624
  * Gets current value of property {@link #getStartDate startDate}.
79015
78625
  *
79016
- * Determines the start date of the row, as a JavaScript date object. The current date is used as default.
78626
+ * Determines the start date of the row, as a UI5Date or JavaScript Date object. The current date is used
78627
+ * as default.
79017
78628
  *
79018
78629
  * @returns Value of property `startDate`
79019
78630
  */
@@ -79538,28 +79149,28 @@ declare module "sap/m/PlanningCalendar" {
79538
79149
  oLegend: ID | CalendarLegend
79539
79150
  ): this;
79540
79151
  /**
79541
- * Set maximum date that can be shown and selected in the `PlanningCalendar`. This must be a JavaScript
79542
- * date object.
79152
+ * Set maximum date that can be shown and selected in the `PlanningCalendar`. This must be a UI5Date or
79153
+ * JavaScript Date object.
79543
79154
  *
79544
79155
  * @returns Reference to `this` for method chaining
79545
79156
  */
79546
79157
  setMaxDate(
79547
79158
  /**
79548
- * A JavaScript Date
79159
+ * A date instance
79549
79160
  */
79550
- oDate: Date
79161
+ oDate: Date | UI5Date
79551
79162
  ): this;
79552
79163
  /**
79553
- * Set minimum date that can be shown and selected in the `PlanningCalendar`. This must be a JavaScript
79554
- * date object.
79164
+ * Set minimum date that can be shown and selected in the `PlanningCalendar`. This must be a UI5Date or
79165
+ * JavaScript Date object.
79555
79166
  *
79556
79167
  * @returns Reference to `this` for method chaining
79557
79168
  */
79558
79169
  setMinDate(
79559
79170
  /**
79560
- * A JavaScript Date
79171
+ * A date instance
79561
79172
  */
79562
- oDate: Date
79173
+ oDate: Date | UI5Date
79563
79174
  ): this;
79564
79175
  /**
79565
79176
  * @SINCE 1.97
@@ -79807,7 +79418,8 @@ declare module "sap/m/PlanningCalendar" {
79807
79418
 
79808
79419
  export interface $PlanningCalendarSettings extends $ControlSettings {
79809
79420
  /**
79810
- * Determines the start date of the row, as a JavaScript date object. The current date is used as default.
79421
+ * Determines the start date of the row, as a UI5Date or JavaScript Date object. The current date is used
79422
+ * as default.
79811
79423
  */
79812
79424
  startDate?: object | PropertyBindingInfo | `{${string}}`;
79813
79425
 
@@ -79934,7 +79546,7 @@ declare module "sap/m/PlanningCalendar" {
79934
79546
  * @SINCE 1.38.0
79935
79547
  *
79936
79548
  * Defines the minimum date that can be displayed and selected in the `PlanningCalendar`. This must be a
79937
- * JavaScript date object.
79549
+ * UI5Date or JavaScript Date object.
79938
79550
  *
79939
79551
  * **Note:** If the `minDate` is set to be after the current `maxDate`, the `maxDate` is set to the last
79940
79552
  * date of the month in which the `minDate` belongs.
@@ -79945,7 +79557,7 @@ declare module "sap/m/PlanningCalendar" {
79945
79557
  * @SINCE 1.38.0
79946
79558
  *
79947
79559
  * Defines the maximum date that can be displayed and selected in the `PlanningCalendar`. This must be a
79948
- * JavaScript date object.
79560
+ * UI5Date or JavaScript Date object.
79949
79561
  *
79950
79562
  * **Note:** If the `maxDate` is set to be before the current `minDate`, the `minDate` is set to the first
79951
79563
  * date of the month in which the `maxDate` belongs.
@@ -80865,11 +80477,11 @@ declare module "sap/m/PlanningCalendarRow" {
80865
80477
  */
80866
80478
  mParameters?: {
80867
80479
  /**
80868
- * Start date of the created appointment, as a JavaScript date object.
80480
+ * Start date of the created appointment, as a UI5Date or JavaScript Date object.
80869
80481
  */
80870
80482
  startDate?: object;
80871
80483
  /**
80872
- * End date of the created appointment, as a JavaScript date object.
80484
+ * End date of the created appointment, as a UI5Date or JavaScript Date object.
80873
80485
  */
80874
80486
  endDate?: object;
80875
80487
  /**
@@ -80899,11 +80511,11 @@ declare module "sap/m/PlanningCalendarRow" {
80899
80511
  */
80900
80512
  appointment?: CalendarAppointment;
80901
80513
  /**
80902
- * Start date of the dropped appointment, as a JavaScript date object.
80514
+ * Start date of the dropped appointment, as a UI5Date or JavaScript Date object.
80903
80515
  */
80904
80516
  startDate?: object;
80905
80517
  /**
80906
- * Dropped appointment end date as a JavaScript date object.
80518
+ * Dropped appointment end date as a UI5Date or JavaScript Date object.
80907
80519
  */
80908
80520
  endDate?: object;
80909
80521
  /**
@@ -80930,11 +80542,11 @@ declare module "sap/m/PlanningCalendarRow" {
80930
80542
  */
80931
80543
  appointment?: CalendarAppointment;
80932
80544
  /**
80933
- * Start date of the dropped appointment, as a JavaScript date object.
80545
+ * Start date of the dropped appointment, as a UI5Date or JavaScript Date object.
80934
80546
  */
80935
80547
  startDate?: object;
80936
80548
  /**
80937
- * Dropped appointment end date as a JavaScript date object.
80549
+ * Dropped appointment end date as a UI5Date or JavaScript Date object.
80938
80550
  */
80939
80551
  endDate?: object;
80940
80552
  /**
@@ -80965,11 +80577,11 @@ declare module "sap/m/PlanningCalendarRow" {
80965
80577
  */
80966
80578
  appointment?: CalendarAppointment;
80967
80579
  /**
80968
- * Start date of the resized appointment, as a JavaScript date object.
80580
+ * Start date of the resized appointment, as a UI5Date or JavaScript Date object.
80969
80581
  */
80970
80582
  startDate?: object;
80971
80583
  /**
80972
- * End date of the resized appointment, as a JavaScript date object.
80584
+ * End date of the resized appointment, as a UI5Date or JavaScript Date object.
80973
80585
  */
80974
80586
  endDate?: object;
80975
80587
  }
@@ -81020,7 +80632,7 @@ declare module "sap/m/PlanningCalendarRow" {
81020
80632
  * Hours:
81021
80633
  * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
81022
80634
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
81023
- * containing the new start and end JavaScript date objects.
80635
+ * containing the new start and end UI5Date or JavaScript Date objects.
81024
80636
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
81025
80637
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
81026
80638
  * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
@@ -81030,12 +80642,14 @@ declare module "sap/m/PlanningCalendarRow" {
81030
80642
  * Days:
81031
80643
  * For views where intervals are days, the placeholder highlights the whole day and after the appointment
81032
80644
  * is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
81033
- * new start and end JavaScript date objects with changed date but the original time (hh:mm:ss) is preserved.
80645
+ * new start and end UI5Date or JavaScript Date objects with changed date but the original time (hh:mm:ss)
80646
+ * is preserved.
81034
80647
  *
81035
80648
  * Months:
81036
80649
  * For views where intervals are months, the placeholder highlights the whole month and after the appointment
81037
80650
  * is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
81038
- * new start and end JavaScript date objects with changed month but the original date and time is preserved.
80651
+ * new start and end UI5Date or JavaScript Date objects with changed month but the original date and time
80652
+ * is preserved.
81039
80653
  *
81040
80654
  * **Note:** In "One month" view, the appointments are not draggable on small screen (as there they are
81041
80655
  * displayed as a list below the dates). Group appointments are also not draggable.
@@ -81058,15 +80672,15 @@ declare module "sap/m/PlanningCalendarRow" {
81058
80672
  *
81059
80673
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
81060
80674
  * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
81061
- * is fired, containing the new start and end JavaScript date objects.
80675
+ * is fired, containing the new start and end UI5Date or JavaScript Date objects.
81062
80676
  *
81063
80677
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
81064
80678
  * is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing the new
81065
- * start and end JavaScript date objects. The `endDate` time is changed to 00:00:00
80679
+ * start and end UI5Date or JavaScript Date objects. The `endDate` time is changed to 00:00:00
81066
80680
  *
81067
80681
  * Months: For views where intervals are months, the appointment snaps to the end of the month. The {@link
81068
- * #event:appointmentResize appointmentResize} event is fired, containing the new start and end JavaScript
81069
- * date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
80682
+ * #event:appointmentResize appointmentResize} event is fired, containing the new start and end UI5Date
80683
+ * or JavaScript Date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
81070
80684
  *
81071
80685
  * **Notes:** In "One month" view, the appointments are not resizable on small screen (as there they are
81072
80686
  * displayed as a list below the dates). Group appointments are also not resizable
@@ -81452,7 +81066,7 @@ declare module "sap/m/PlanningCalendarRow" {
81452
81066
  * Hours:
81453
81067
  * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
81454
81068
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
81455
- * containing the new start and end JavaScript date objects.
81069
+ * containing the new start and end UI5Date or JavaScript Date objects.
81456
81070
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
81457
81071
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
81458
81072
  * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
@@ -81462,12 +81076,14 @@ declare module "sap/m/PlanningCalendarRow" {
81462
81076
  * Days:
81463
81077
  * For views where intervals are days, the placeholder highlights the whole day and after the appointment
81464
81078
  * is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
81465
- * new start and end JavaScript date objects with changed date but the original time (hh:mm:ss) is preserved.
81079
+ * new start and end UI5Date or JavaScript Date objects with changed date but the original time (hh:mm:ss)
81080
+ * is preserved.
81466
81081
  *
81467
81082
  * Months:
81468
81083
  * For views where intervals are months, the placeholder highlights the whole month and after the appointment
81469
81084
  * is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
81470
- * new start and end JavaScript date objects with changed month but the original date and time is preserved.
81085
+ * new start and end UI5Date or JavaScript Date objects with changed month but the original date and time
81086
+ * is preserved.
81471
81087
  *
81472
81088
  * **Note:** In "One month" view, the appointments are not draggable on small screen (as there they are
81473
81089
  * displayed as a list below the dates). Group appointments are also not draggable.
@@ -81497,15 +81113,15 @@ declare module "sap/m/PlanningCalendarRow" {
81497
81113
  *
81498
81114
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
81499
81115
  * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
81500
- * is fired, containing the new start and end JavaScript date objects.
81116
+ * is fired, containing the new start and end UI5Date or JavaScript Date objects.
81501
81117
  *
81502
81118
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
81503
81119
  * is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing the new
81504
- * start and end JavaScript date objects. The `endDate` time is changed to 00:00:00
81120
+ * start and end UI5Date or JavaScript Date objects. The `endDate` time is changed to 00:00:00
81505
81121
  *
81506
81122
  * Months: For views where intervals are months, the appointment snaps to the end of the month. The {@link
81507
- * #event:appointmentResize appointmentResize} event is fired, containing the new start and end JavaScript
81508
- * date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
81123
+ * #event:appointmentResize appointmentResize} event is fired, containing the new start and end UI5Date
81124
+ * or JavaScript Date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
81509
81125
  *
81510
81126
  * **Notes:** In "One month" view, the appointments are not resizable on small screen (as there they are
81511
81127
  * displayed as a list below the dates). Group appointments are also not resizable
@@ -81724,7 +81340,7 @@ declare module "sap/m/PlanningCalendarRow" {
81724
81340
  * Hours:
81725
81341
  * For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
81726
81342
  * After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
81727
- * containing the new start and end JavaScript date objects.
81343
+ * containing the new start and end UI5Date or JavaScript Date objects.
81728
81344
  * For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
81729
81345
  * lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
81730
81346
  * date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
@@ -81734,12 +81350,14 @@ declare module "sap/m/PlanningCalendarRow" {
81734
81350
  * Days:
81735
81351
  * For views where intervals are days, the placeholder highlights the whole day and after the appointment
81736
81352
  * is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
81737
- * new start and end JavaScript date objects with changed date but the original time (hh:mm:ss) is preserved.
81353
+ * new start and end UI5Date or JavaScript Date objects with changed date but the original time (hh:mm:ss)
81354
+ * is preserved.
81738
81355
  *
81739
81356
  * Months:
81740
81357
  * For views where intervals are months, the placeholder highlights the whole month and after the appointment
81741
81358
  * is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
81742
- * new start and end JavaScript date objects with changed month but the original date and time is preserved.
81359
+ * new start and end UI5Date or JavaScript Date objects with changed month but the original date and time
81360
+ * is preserved.
81743
81361
  *
81744
81362
  * **Note:** In "One month" view, the appointments are not draggable on small screen (as there they are
81745
81363
  * displayed as a list below the dates). Group appointments are also not draggable.
@@ -81760,15 +81378,15 @@ declare module "sap/m/PlanningCalendarRow" {
81760
81378
  *
81761
81379
  * Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
81762
81380
  * 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
81763
- * is fired, containing the new start and end JavaScript date objects.
81381
+ * is fired, containing the new start and end UI5Date or JavaScript Date objects.
81764
81382
  *
81765
81383
  * Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
81766
81384
  * is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing the new
81767
- * start and end JavaScript date objects. The `endDate` time is changed to 00:00:00
81385
+ * start and end UI5Date or JavaScript Date objects. The `endDate` time is changed to 00:00:00
81768
81386
  *
81769
81387
  * Months: For views where intervals are months, the appointment snaps to the end of the month. The {@link
81770
- * #event:appointmentResize appointmentResize} event is fired, containing the new start and end JavaScript
81771
- * date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
81388
+ * #event:appointmentResize appointmentResize} event is fired, containing the new start and end UI5Date
81389
+ * or JavaScript Date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
81772
81390
  *
81773
81391
  * **Notes:** In "One month" view, the appointments are not resizable on small screen (as there they are
81774
81392
  * displayed as a list below the dates). Group appointments are also not resizable
@@ -82589,6 +82207,8 @@ declare module "sap/m/plugins/CopyProvider" {
82589
82207
 
82590
82208
  import Event from "sap/ui/base/Event";
82591
82209
 
82210
+ import OverflowToolbarButton from "sap/m/OverflowToolbarButton";
82211
+
82592
82212
  import ElementMetadata from "sap/ui/core/ElementMetadata";
82593
82213
 
82594
82214
  import Context from "sap/ui/model/Context";
@@ -82781,6 +82401,20 @@ declare module "sap/m/plugins/CopyProvider" {
82781
82401
  data?: any[][];
82782
82402
  }
82783
82403
  ): boolean;
82404
+ /**
82405
+ * @SINCE 1.114
82406
+ *
82407
+ * Creates and returns a Copy button that can be used to trigger a copy action, for example, from the table
82408
+ * toolbar.
82409
+ *
82410
+ * @returns The button instance
82411
+ */
82412
+ getCopyButton(
82413
+ /**
82414
+ * The settings of the button control
82415
+ */
82416
+ mSettings?: object
82417
+ ): OverflowToolbarButton;
82784
82418
  /**
82785
82419
  * Gets current value of property {@link #getCopySparse copySparse}.
82786
82420
  *
@@ -82839,6 +82473,18 @@ declare module "sap/m/plugins/CopyProvider" {
82839
82473
  * @returns Two-dimensional extracted data from the selection.
82840
82474
  */
82841
82475
  getSelectionData(): any[][];
82476
+ /**
82477
+ * @SINCE 1.114
82478
+ *
82479
+ * Gets current value of property {@link #getVisible visible}.
82480
+ *
82481
+ * Defines the visibility of the Copy button created with the {@link #getCopyButton} API.
82482
+ *
82483
+ * Default value is `true`.
82484
+ *
82485
+ * @returns Value of property `visible`
82486
+ */
82487
+ getVisible(): boolean;
82842
82488
  /**
82843
82489
  * Sets a new value for property {@link #getCopySparse copySparse}.
82844
82490
  *
@@ -82910,6 +82556,25 @@ declare module "sap/m/plugins/CopyProvider" {
82910
82556
  */
82911
82557
  fnExtractData: Function
82912
82558
  ): this;
82559
+ /**
82560
+ * @SINCE 1.114
82561
+ *
82562
+ * Sets a new value for property {@link #getVisible visible}.
82563
+ *
82564
+ * Defines the visibility of the Copy button created with the {@link #getCopyButton} API.
82565
+ *
82566
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
82567
+ *
82568
+ * Default value is `true`.
82569
+ *
82570
+ * @returns Reference to `this` in order to allow method chaining
82571
+ */
82572
+ setVisible(
82573
+ /**
82574
+ * New value for property `visible`
82575
+ */
82576
+ bVisible?: boolean
82577
+ ): this;
82913
82578
  }
82914
82579
  /**
82915
82580
  * Callback function to exclude certain contexts from being copied to the clipboard.
@@ -82969,6 +82634,13 @@ declare module "sap/m/plugins/CopyProvider" {
82969
82634
  */
82970
82635
  excludeContext?: Function | PropertyBindingInfo | `{${string}}`;
82971
82636
 
82637
+ /**
82638
+ * @SINCE 1.114
82639
+ *
82640
+ * Defines the visibility of the Copy button created with the {@link #getCopyButton} API.
82641
+ */
82642
+ visible?: boolean | PropertyBindingInfo | `{${string}}`;
82643
+
82972
82644
  /**
82973
82645
  * This event is fired if there is a selection, and the user triggers the copy action.
82974
82646
  *
@@ -93990,6 +93662,10 @@ declare module "sap/m/SearchField" {
93990
93662
  * Indicates if the user pressed the clear icon.
93991
93663
  */
93992
93664
  clearButtonPressed?: boolean;
93665
+ /**
93666
+ * Indicates if the user pressed the search button.
93667
+ */
93668
+ searchButtonPressed?: boolean;
93993
93669
  }
93994
93670
  ): this;
93995
93671
  /**
@@ -109854,8 +109530,6 @@ declare module "sap/m/SinglePlanningCalendar" {
109854
109530
 
109855
109531
  import CalendarAppointment from "sap/ui/unified/CalendarAppointment";
109856
109532
 
109857
- import DateRange from "sap/ui/unified/DateRange";
109858
-
109859
109533
  import DateTypeRange from "sap/ui/unified/DateTypeRange";
109860
109534
 
109861
109535
  import SinglePlanningCalendarView from "sap/m/SinglePlanningCalendarView";
@@ -109873,8 +109547,12 @@ declare module "sap/m/SinglePlanningCalendar" {
109873
109547
 
109874
109548
  import ElementMetadata from "sap/ui/core/ElementMetadata";
109875
109549
 
109550
+ import DateRange from "sap/ui/unified/DateRange";
109551
+
109876
109552
  import PlanningCalendarLegend from "sap/m/PlanningCalendarLegend";
109877
109553
 
109554
+ import UI5Date from "sap/ui/core/date/UI5Date";
109555
+
109878
109556
  import {
109879
109557
  PropertyBindingInfo,
109880
109558
  AggregationBindingInfo,
@@ -110000,15 +109678,15 @@ declare module "sap/m/SinglePlanningCalendar" {
110000
109678
  oAppointment: CalendarAppointment
110001
109679
  ): this;
110002
109680
  /**
110003
- * Adds some selectedDate to the aggregation {@link #getSelectedDates selectedDates}.
109681
+ * Adds a selected date to the grid.
110004
109682
  *
110005
- * @returns Reference to `this` in order to allow method chaining
109683
+ * @returns Reference to `this` for method chaining
110006
109684
  */
110007
109685
  addSelectedDate(
110008
109686
  /**
110009
- * The selectedDate to add; if empty, nothing is inserted
109687
+ * A DateRange object
110010
109688
  */
110011
- oSelectedDate: DateRange
109689
+ oSelectedDate: object
110012
109690
  ): this;
110013
109691
  /**
110014
109692
  * @SINCE 1.66
@@ -110689,11 +110367,11 @@ declare module "sap/m/SinglePlanningCalendar" {
110689
110367
  */
110690
110368
  mParameters?: {
110691
110369
  /**
110692
- * Start date of the created appointment, as a JavaScript date object.
110370
+ * Start date of the created appointment, as a UI5Date or JavaScript Date object.
110693
110371
  */
110694
110372
  startDate?: object;
110695
110373
  /**
110696
- * End date of the created appointment, as a JavaScript date object.
110374
+ * End date of the created appointment, as a UI5Date or JavaScript Date object.
110697
110375
  */
110698
110376
  endDate?: object;
110699
110377
  }
@@ -110716,11 +110394,11 @@ declare module "sap/m/SinglePlanningCalendar" {
110716
110394
  */
110717
110395
  appointment?: CalendarAppointment;
110718
110396
  /**
110719
- * Start date of the dropped appointment, as a JavaScript date object.
110397
+ * Start date of the dropped appointment, as a UI5Date or JavaScript Date object.
110720
110398
  */
110721
110399
  startDate?: object;
110722
110400
  /**
110723
- * Dropped appointment end date as a JavaScript date object.
110401
+ * Dropped appointment end date as a UI5Date or JavaScript Date object.
110724
110402
  */
110725
110403
  endDate?: object;
110726
110404
  /**
@@ -110747,11 +110425,11 @@ declare module "sap/m/SinglePlanningCalendar" {
110747
110425
  */
110748
110426
  appointment?: CalendarAppointment;
110749
110427
  /**
110750
- * Start date of the resized appointment, as a JavaScript date object.
110428
+ * Start date of the resized appointment, as a UI5Date or JavaScript Date object.
110751
110429
  */
110752
110430
  startDate?: object;
110753
110431
  /**
110754
- * End date of the resized appointment, as a JavaScript date object.
110432
+ * End date of the resized appointment, as a UI5Date or JavaScript Date object.
110755
110433
  */
110756
110434
  endDate?: object;
110757
110435
  }
@@ -110792,11 +110470,11 @@ declare module "sap/m/SinglePlanningCalendar" {
110792
110470
  */
110793
110471
  mParameters?: {
110794
110472
  /**
110795
- * The start date as a JavaScript date object of the focused grid cell.
110473
+ * The start date as a UI5Date or JavaScript Date object of the focused grid cell.
110796
110474
  */
110797
110475
  startDate?: object;
110798
110476
  /**
110799
- * The end date as a JavaScript date object of the focused grid cell.
110477
+ * The end date as a UI5Date or JavaScript Date object of the focused grid cell.
110800
110478
  */
110801
110479
  endDate?: object;
110802
110480
  }
@@ -110814,7 +110492,7 @@ declare module "sap/m/SinglePlanningCalendar" {
110814
110492
  */
110815
110493
  mParameters?: {
110816
110494
  /**
110817
- * Date of the selected header, as a JavaScript date object. It is considered as a local date.
110495
+ * Date of the selected header, as a UI5Date or JavaScript Date object. It is considered as a local date.
110818
110496
  */
110819
110497
  date?: object;
110820
110498
  }
@@ -110832,7 +110510,7 @@ declare module "sap/m/SinglePlanningCalendar" {
110832
110510
  */
110833
110511
  mParameters?: {
110834
110512
  /**
110835
- * The date as a JavaScript date object of the cell with the pressed more link.
110513
+ * The date as a UI5Date or JavaScript Date object of the cell with the pressed more link.
110836
110514
  */
110837
110515
  date?: object;
110838
110516
  }
@@ -110850,7 +110528,7 @@ declare module "sap/m/SinglePlanningCalendar" {
110850
110528
  */
110851
110529
  mParameters?: {
110852
110530
  /**
110853
- * The new start date, as a JavaScript date object. It is considered as a local date.
110531
+ * The new start date, as a UI5Date or JavaScript Date object. It is considered as a local date.
110854
110532
  */
110855
110533
  date?: object;
110856
110534
  }
@@ -110952,7 +110630,7 @@ declare module "sap/m/SinglePlanningCalendar" {
110952
110630
  * The resize interaction is visualized by making the appointment transparent.
110953
110631
  *
110954
110632
  * The appointment snaps on every interval of 30 minutes. After the resize is finished, the {@link #event:appointmentResize
110955
- * appointmentResize} event is fired, containing the new start and end JavaScript date objects.
110633
+ * appointmentResize} event is fired, containing the new start and end UI5Date or JavaScript Date objects.
110956
110634
  *
110957
110635
  * Default value is `false`.
110958
110636
  *
@@ -111027,14 +110705,11 @@ declare module "sap/m/SinglePlanningCalendar" {
111027
110705
  */
111028
110706
  getSelectedAppointments(): CalendarAppointment[];
111029
110707
  /**
111030
- * Gets content of aggregation {@link #getSelectedDates selectedDates}.
110708
+ * Gets the selected dates of the grid.
111031
110709
  *
111032
- * Dates or date ranges for selected dates.
111033
- *
111034
- * To set a single date (instead of a range), set only the `startDate` property of the {@link sap.ui.unified.DateRange}
111035
- * class.
110710
+ * @returns An array of DateRange objects
111036
110711
  */
111037
- getSelectedDates(): DateRange[];
110712
+ getSelectedDates(): object;
111038
110713
  /**
111039
110714
  * ID of the element which is the current target of the association {@link #getSelectedView selectedView},
111040
110715
  * or `null`.
@@ -111053,8 +110728,8 @@ declare module "sap/m/SinglePlanningCalendar" {
111053
110728
  /**
111054
110729
  * Gets current value of property {@link #getStartDate startDate}.
111055
110730
  *
111056
- * Determines the start date of the grid, as a JavaScript date object. It is considered as a local date.
111057
- * The time part will be ignored. The current date is used as default.
110731
+ * Determines the start date of the grid, as a UI5Date or JavaScript Date object. It is considered as a
110732
+ * local date. The time part will be ignored. The current date is used as default.
111058
110733
  *
111059
110734
  * @returns Value of property `startDate`
111060
110735
  */
@@ -111298,13 +110973,11 @@ declare module "sap/m/SinglePlanningCalendar" {
111298
110973
  */
111299
110974
  removeAllAppointments(): CalendarAppointment[];
111300
110975
  /**
111301
- * Removes all the controls from the aggregation {@link #getSelectedDates selectedDates}.
110976
+ * Removes the selected dates of the grid.
111302
110977
  *
111303
- * Additionally, it unregisters them from the hosting UIArea.
111304
- *
111305
- * @returns An array of the removed elements (might be empty)
110978
+ * @returns An array of the removed DateRange objects
111306
110979
  */
111307
- removeAllSelectedDates(): DateRange[];
110980
+ removeAllSelectedDates(): object;
111308
110981
  /**
111309
110982
  * @SINCE 1.66
111310
110983
  *
@@ -111463,7 +111136,7 @@ declare module "sap/m/SinglePlanningCalendar" {
111463
111136
  * The resize interaction is visualized by making the appointment transparent.
111464
111137
  *
111465
111138
  * The appointment snaps on every interval of 30 minutes. After the resize is finished, the {@link #event:appointmentResize
111466
- * appointmentResize} event is fired, containing the new start and end JavaScript date objects.
111139
+ * appointmentResize} event is fired, containing the new start and end UI5Date or JavaScript Date objects.
111467
111140
  *
111468
111141
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
111469
111142
  *
@@ -111591,9 +111264,9 @@ declare module "sap/m/SinglePlanningCalendar" {
111591
111264
  */
111592
111265
  setStartDate(
111593
111266
  /**
111594
- * A JavaScript Date
111267
+ * A date instance
111595
111268
  */
111596
- oDate: Date
111269
+ oDate: Date | UI5Date
111597
111270
  ): this;
111598
111271
  /**
111599
111272
  * Sets a new value for property {@link #getStartHour startHour}.
@@ -111666,8 +111339,8 @@ declare module "sap/m/SinglePlanningCalendar" {
111666
111339
  title?: string | PropertyBindingInfo;
111667
111340
 
111668
111341
  /**
111669
- * Determines the start date of the grid, as a JavaScript date object. It is considered as a local date.
111670
- * The time part will be ignored. The current date is used as default.
111342
+ * Determines the start date of the grid, as a UI5Date or JavaScript Date object. It is considered as a
111343
+ * local date. The time part will be ignored. The current date is used as default.
111671
111344
  */
111672
111345
  startDate?: object | PropertyBindingInfo | `{${string}}`;
111673
111346
 
@@ -111735,7 +111408,7 @@ declare module "sap/m/SinglePlanningCalendar" {
111735
111408
  * The resize interaction is visualized by making the appointment transparent.
111736
111409
  *
111737
111410
  * The appointment snaps on every interval of 30 minutes. After the resize is finished, the {@link #event:appointmentResize
111738
- * appointmentResize} event is fired, containing the new start and end JavaScript date objects.
111411
+ * appointmentResize} event is fired, containing the new start and end UI5Date or JavaScript Date objects.
111739
111412
  */
111740
111413
  enableAppointmentsResize?: boolean | PropertyBindingInfo | `{${string}}`;
111741
111414
 
@@ -112088,6 +111761,8 @@ declare module "sap/m/SinglePlanningCalendarMonthView" {
112088
111761
  declare module "sap/m/SinglePlanningCalendarView" {
112089
111762
  import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
112090
111763
 
111764
+ import UI5Date from "sap/ui/core/date/UI5Date";
111765
+
112091
111766
  import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
112092
111767
 
112093
111768
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -112167,9 +111842,9 @@ declare module "sap/m/SinglePlanningCalendarView" {
112167
111842
  */
112168
111843
  calculateStartDate(
112169
111844
  /**
112170
- * A JavaScript Date
111845
+ * A date instance
112171
111846
  */
112172
- oDate: Date
111847
+ oDate: Date | UI5Date
112173
111848
  ): void;
112174
111849
  /**
112175
111850
  * @SINCE 1.110.0
@@ -116547,150 +116222,6 @@ declare module "sap/m/SplitContainer" {
116547
116222
  }
116548
116223
  }
116549
116224
 
116550
- declare module "sap/m/StandardDynamicDateOption" {
116551
- import {
116552
- default as DynamicDateOption,
116553
- $DynamicDateOptionSettings,
116554
- } from "sap/m/DynamicDateOption";
116555
-
116556
- import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
116557
-
116558
- import ElementMetadata from "sap/ui/core/ElementMetadata";
116559
-
116560
- import DynamicDateRange from "sap/m/DynamicDateRange";
116561
-
116562
- import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
116563
-
116564
- /**
116565
- * @EXPERIMENTAL (since 1.92) - This class is experimental and provides only limited functionality. Also
116566
- * the API might be changed in future.
116567
- *
116568
- * A control base type.
116569
- */
116570
- export default class StandardDynamicDateOption extends DynamicDateOption {
116571
- /**
116572
- * Constructor for a new StandardDynamicDateOption.
116573
- *
116574
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
116575
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
116576
- * of the syntax of the settings object.
116577
- */
116578
- constructor(
116579
- /**
116580
- * initial settings for the new control
116581
- */
116582
- mSettings?: $StandardDynamicDateOptionSettings
116583
- );
116584
- /**
116585
- * Constructor for a new StandardDynamicDateOption.
116586
- *
116587
- * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
116588
- * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
116589
- * of the syntax of the settings object.
116590
- */
116591
- constructor(
116592
- /**
116593
- * id for the new control, generated automatically if no id is given
116594
- */
116595
- sId?: string,
116596
- /**
116597
- * initial settings for the new control
116598
- */
116599
- mSettings?: $StandardDynamicDateOptionSettings
116600
- );
116601
-
116602
- /**
116603
- * Creates a new subclass of class sap.m.StandardDynamicDateOption with name `sClassName` and enriches it
116604
- * with the information contained in `oClassInfo`.
116605
- *
116606
- * `oClassInfo` might contain the same kind of information as described in {@link sap.m.DynamicDateOption.extend}.
116607
- *
116608
- * @returns Created class / constructor function
116609
- */
116610
- static extend<T extends Record<string, unknown>>(
116611
- /**
116612
- * Name of the class being created
116613
- */
116614
- sClassName: string,
116615
- /**
116616
- * Object literal with information about the class
116617
- */
116618
- oClassInfo?: sap.ClassInfo<T, StandardDynamicDateOption>,
116619
- /**
116620
- * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
116621
- * used by this class
116622
- */
116623
- FNMetaImpl?: Function
116624
- ): Function;
116625
- /**
116626
- * Returns a metadata object for class sap.m.StandardDynamicDateOption.
116627
- *
116628
- * @returns Metadata object describing this class
116629
- */
116630
- static getMetadata(): ElementMetadata;
116631
- /**
116632
- * @SINCE 1.111.0
116633
- *
116634
- * Gets current value of property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
116635
- *
116636
- * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
116637
- * global configuration is used.
116638
- *
116639
- * @returns Value of property `calendarWeekNumbering`
116640
- */
116641
- getCalendarWeekNumbering():
116642
- | CalendarWeekNumbering
116643
- | keyof typeof CalendarWeekNumbering;
116644
- /**
116645
- * @SINCE 1.111.0
116646
- *
116647
- * Sets a new value for property {@link #getCalendarWeekNumbering calendarWeekNumbering}.
116648
- *
116649
- * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
116650
- * global configuration is used.
116651
- *
116652
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
116653
- *
116654
- * @returns Reference to `this` in order to allow method chaining
116655
- */
116656
- setCalendarWeekNumbering(
116657
- /**
116658
- * New value for property `calendarWeekNumbering`
116659
- */
116660
- sCalendarWeekNumbering?:
116661
- | CalendarWeekNumbering
116662
- | keyof typeof CalendarWeekNumbering
116663
- ): this;
116664
- /**
116665
- * Validates all input controls in the value help UI related to the current option. If one of the input
116666
- * controls contains invalid value, then validation will return `false`. If all input controls contain valid
116667
- * value, then the validation will return `true`.
116668
- *
116669
- * @returns value help UI validity indicator
116670
- */
116671
- validateValueHelpUI(
116672
- /**
116673
- * The control instance
116674
- */
116675
- oControl: DynamicDateRange
116676
- ): boolean;
116677
- }
116678
-
116679
- export interface $StandardDynamicDateOptionSettings
116680
- extends $DynamicDateOptionSettings {
116681
- /**
116682
- * @SINCE 1.111.0
116683
- *
116684
- * If set, the calendar week numbering is used for display. If not set, the calendar week numbering of the
116685
- * global configuration is used.
116686
- */
116687
- calendarWeekNumbering?:
116688
- | (CalendarWeekNumbering | keyof typeof CalendarWeekNumbering)
116689
- | PropertyBindingInfo
116690
- | `{${string}}`;
116691
- }
116692
- }
116693
-
116694
116225
  declare module "sap/m/StandardListItem" {
116695
116226
  import {
116696
116227
  default as ListItemBase,
@@ -129631,6 +129162,8 @@ declare module "sap/m/TimePicker" {
129631
129162
 
129632
129163
  import { AccessibilityInfo } from "sap/ui/core/library";
129633
129164
 
129165
+ import UI5Date from "sap/ui/core/date/UI5Date";
129166
+
129634
129167
  import { TimePickerMaskMode } from "sap/m/library";
129635
129168
 
129636
129169
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -129663,41 +129196,11 @@ declare module "sap/m/TimePicker" {
129663
129196
  * device - in another input field that opens in a popup after tap.
129664
129197
  *
129665
129198
  * On app level, there are two options to provide value for the `TimePicker` - as a string to the `value`
129666
- * property or as a JavaScript Date object to the `dateValue` property (only one of these properties should
129667
- * be used at a time):
129199
+ * property or as a UI5Date or JavaScript Date object to the `dateValue` property (only one of these properties
129200
+ * should be used at a time):
129668
129201
  *
129669
129202
  *
129670
129203
  * - Use the `value` property if you want to bind the `TimePicker` to a model using the `sap.ui.model.type.Time`
129671
- *
129672
- * - Use the `value` property if the date is provided as a string from the backend or inside the app (for
129673
- * example, as ABAP type DATS field)
129674
- * - Use the `dateValue` property if the date is already provided as a JavaScript Date object or you want
129675
- * to work with a JavaScript Date object. Use `dateValue` as a helper property to easily obtain the hours,
129676
- * minutes and seconds of the chosen time. Although possible to bind it, the recommendation is to not to
129677
- * do it. When binding is needed, use `value` property instead
129678
- *
129679
- * Formatting:
129680
- *
129681
- * All formatting and parsing of values from and to strings is done using the {@link sap.ui.core.format.DateFormat}.
129682
- * If a value is entered by typing it into the input field, it must fit to the used time format and locale.
129683
- *
129684
- * Supported format options are pattern-based on Unicode LDML Date Format notation. See {@link http://unicode.org/reports/tr35/#Date_Field_Symbol_Table}
129685
- *
129686
- * A time format must be specified, otherwise the default "HH:mm:ss a" will be used. For example, if the
129687
- * `valueFormat` is "HH-mm-ss a", the `displayFormat` is "HH:mm:ss a", and the used locale is English, a
129688
- * valid value string is "10-30-15 AM", which leads to an output of "10:30:15 AM".
129689
- *
129690
- * If no placeholder is set to the `TimePicker`, the used `displayFormat` is displayed as a placeholder.
129691
- * If another placeholder is needed, it must be set.
129692
- *
129693
- * **Note:** If the string does NOT match the `displayFormat` (from user input) or the `valueFormat` (on
129694
- * app level), the {@link sap.ui.core.format.DateFormat} makes an attempt to parse it based on the locale
129695
- * settings. For more information, see the respective documentation in the API Reference.
129696
- *
129697
- * Responsive behavior:
129698
- *
129699
- * The `TimePicker` is responsive and fully adapts to all device types. For larger screens, such as tablet
129700
- * or desktop, it opens as a popover. For mobile devices, it opens in full screen.
129701
129204
  */
129702
129205
  export default class TimePicker extends DateTimeField {
129703
129206
  /**
@@ -130090,13 +129593,13 @@ declare module "sap/m/TimePicker" {
130090
129593
  */
130091
129594
  getAccessibilityInfo(): AccessibilityInfo;
130092
129595
  /**
130093
- * Holds a reference to a JavaScript Date Object. The `value` (string) property will be set according to
130094
- * it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
129596
+ * Holds a reference to a UI5Date or JavaScript Date object. The `value` (string) property will be set according
129597
+ * to it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
130095
129598
  * will be instantiated according to the parsed `value`.
130096
129599
  *
130097
129600
  * @returns the value of property `dateValue`
130098
129601
  */
130099
- getDateValue(): Date;
129602
+ getDateValue(): Date | UI5Date;
130100
129603
  /**
130101
129604
  * Determines the format, displayed in the input field and the picker clocks/numeric inputs.
130102
129605
  *
@@ -130351,9 +129854,9 @@ declare module "sap/m/TimePicker" {
130351
129854
  */
130352
129855
  setDateValue(
130353
129856
  /**
130354
- * A JavaScript date
129857
+ * A date instance
130355
129858
  */
130356
- oDate: Date
129859
+ oDate: Date | UI5Date
130357
129860
  ): this;
130358
129861
  /**
130359
129862
  * Sets the display format.
@@ -130656,6 +130159,8 @@ declare module "sap/m/TimePickerClocks" {
130656
130159
 
130657
130160
  import ElementMetadata from "sap/ui/core/ElementMetadata";
130658
130161
 
130162
+ import UI5Date from "sap/ui/core/date/UI5Date";
130163
+
130659
130164
  /**
130660
130165
  * @SINCE 1.90
130661
130166
  *
@@ -130725,9 +130230,9 @@ declare module "sap/m/TimePickerClocks" {
130725
130230
  /**
130726
130231
  * Gets the time values from the clocks, as a date object.
130727
130232
  *
130728
- * @returns A JavaScript date object
130233
+ * @returns A date instance
130729
130234
  */
130730
- getTimeValues(): Date;
130235
+ getTimeValues(): Date | UI5Date;
130731
130236
  /**
130732
130237
  * Initializes the control.
130733
130238
  */
@@ -130759,6 +130264,8 @@ declare module "sap/m/TimePickerInputs" {
130759
130264
 
130760
130265
  import ElementMetadata from "sap/ui/core/ElementMetadata";
130761
130266
 
130267
+ import UI5Date from "sap/ui/core/date/UI5Date";
130268
+
130762
130269
  /**
130763
130270
  * @SINCE 1.90
130764
130271
  *
@@ -130828,9 +130335,9 @@ declare module "sap/m/TimePickerInputs" {
130828
130335
  /**
130829
130336
  * Gets the time values from the clocks, as a date object.
130830
130337
  *
130831
- * @returns A JavaScript date object
130338
+ * @returns A date instance
130832
130339
  */
130833
- getTimeValues(): Date;
130340
+ getTimeValues(): Date | UI5Date;
130834
130341
  /**
130835
130342
  * Sets the value of the `TimePickerInputs` container.
130836
130343
  *
@@ -137650,7 +137157,7 @@ declare module "sap/m/upload/UploadSet" {
137650
137157
  /**
137651
137158
  * Gets current value of property {@link #getDragDropDescription dragDropDescription}.
137652
137159
  *
137653
- * Defines custom text for the 'No data' description label.
137160
+ * Defines custom text for the drag and drop description label.
137654
137161
  *
137655
137162
  * @returns Value of property `dragDropDescription`
137656
137163
  */
@@ -137658,7 +137165,7 @@ declare module "sap/m/upload/UploadSet" {
137658
137165
  /**
137659
137166
  * Gets current value of property {@link #getDragDropText dragDropText}.
137660
137167
  *
137661
- * Defines custom text for the 'No data' text label.
137168
+ * Defines custom text for the drag and drop text label.
137662
137169
  *
137663
137170
  * @returns Value of property `dragDropText`
137664
137171
  */
@@ -138138,7 +137645,7 @@ declare module "sap/m/upload/UploadSet" {
138138
137645
  /**
138139
137646
  * Sets a new value for property {@link #getDragDropDescription dragDropDescription}.
138140
137647
  *
138141
- * Defines custom text for the 'No data' description label.
137648
+ * Defines custom text for the drag and drop description label.
138142
137649
  *
138143
137650
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
138144
137651
  *
@@ -138153,7 +137660,7 @@ declare module "sap/m/upload/UploadSet" {
138153
137660
  /**
138154
137661
  * Sets a new value for property {@link #getDragDropText dragDropText}.
138155
137662
  *
138156
- * Defines custom text for the 'No data' text label.
137663
+ * Defines custom text for the drag and drop text label.
138157
137664
  *
138158
137665
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
138159
137666
  *
@@ -138556,12 +138063,12 @@ declare module "sap/m/upload/UploadSet" {
138556
138063
  noDataDescription?: string | PropertyBindingInfo;
138557
138064
 
138558
138065
  /**
138559
- * Defines custom text for the 'No data' text label.
138066
+ * Defines custom text for the drag and drop text label.
138560
138067
  */
138561
138068
  dragDropText?: string | PropertyBindingInfo;
138562
138069
 
138563
138070
  /**
138564
- * Defines custom text for the 'No data' description label.
138071
+ * Defines custom text for the drag and drop description label.
138565
138072
  */
138566
138073
  dragDropDescription?: string | PropertyBindingInfo;
138567
138074
 
@@ -143948,8 +143455,12 @@ declare module "sap/m/VariantItem" {
143948
143455
  declare module "sap/m/VBox" {
143949
143456
  import { default as FlexBox, $FlexBoxSettings } from "sap/m/FlexBox";
143950
143457
 
143458
+ import { FlexDirection } from "sap/m/library";
143459
+
143951
143460
  import ElementMetadata from "sap/ui/core/ElementMetadata";
143952
143461
 
143462
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
143463
+
143953
143464
  /**
143954
143465
  * The VBox control builds the container for a vertical flexible box layout. VBox is a convenience control,
143955
143466
  * as it is just a specialized FlexBox control.
@@ -143963,9 +143474,6 @@ declare module "sap/m/VBox" {
143963
143474
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
143964
143475
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
143965
143476
  * of the syntax of the settings object.
143966
- *
143967
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.FlexBox#constructor
143968
- * sap.m.FlexBox} can be used.
143969
143477
  * See:
143970
143478
  * https://www.w3.org/TR/css-flexbox-1/
143971
143479
  * https://www.w3.org/TR/css-flexbox-1/#propdef-justify-content
@@ -143984,9 +143492,6 @@ declare module "sap/m/VBox" {
143984
143492
  * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
143985
143493
  * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
143986
143494
  * of the syntax of the settings object.
143987
- *
143988
- * This class does not have its own settings, but all settings applicable to the base type {@link sap.m.FlexBox#constructor
143989
- * sap.m.FlexBox} can be used.
143990
143495
  * See:
143991
143496
  * https://www.w3.org/TR/css-flexbox-1/
143992
143497
  * https://www.w3.org/TR/css-flexbox-1/#propdef-justify-content
@@ -144033,9 +143538,44 @@ declare module "sap/m/VBox" {
144033
143538
  * @returns Metadata object describing this class
144034
143539
  */
144035
143540
  static getMetadata(): ElementMetadata;
143541
+ /**
143542
+ * Gets current value of property {@link #getDirection direction}.
143543
+ *
143544
+ * Determines the direction of the layout of child elements.
143545
+ *
143546
+ * Default value is `Column`.
143547
+ *
143548
+ * @returns Value of property `direction`
143549
+ */
143550
+ getDirection(): FlexDirection | keyof typeof FlexDirection;
143551
+ /**
143552
+ * Sets a new value for property {@link #getDirection direction}.
143553
+ *
143554
+ * Determines the direction of the layout of child elements.
143555
+ *
143556
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
143557
+ *
143558
+ * Default value is `Column`.
143559
+ *
143560
+ * @returns Reference to `this` in order to allow method chaining
143561
+ */
143562
+ setDirection(
143563
+ /**
143564
+ * New value for property `direction`
143565
+ */
143566
+ sDirection?: FlexDirection | keyof typeof FlexDirection
143567
+ ): this;
144036
143568
  }
144037
143569
 
144038
- export interface $VBoxSettings extends $FlexBoxSettings {}
143570
+ export interface $VBoxSettings extends $FlexBoxSettings {
143571
+ /**
143572
+ * Determines the direction of the layout of child elements.
143573
+ */
143574
+ direction?:
143575
+ | (FlexDirection | keyof typeof FlexDirection)
143576
+ | PropertyBindingInfo
143577
+ | `{${string}}`;
143578
+ }
144039
143579
  }
144040
143580
 
144041
143581
  declare module "sap/m/ViewSettingsCustomItem" {
@@ -147217,8 +146757,6 @@ declare namespace sap {
147217
146757
 
147218
146758
  "sap/m/ComboBoxTextField": undefined;
147219
146759
 
147220
- "sap/m/CustomDynamicDateOption": undefined;
147221
-
147222
146760
  "sap/m/CustomListItem": undefined;
147223
146761
 
147224
146762
  "sap/m/CustomTile": undefined;
@@ -147655,8 +147193,6 @@ declare namespace sap {
147655
147193
 
147656
147194
  "sap/m/SplitContainer": undefined;
147657
147195
 
147658
- "sap/m/StandardDynamicDateOption": undefined;
147659
-
147660
147196
  "sap/m/StandardListItem": undefined;
147661
147197
 
147662
147198
  "sap/m/StandardTile": undefined;