@openui5/types 1.113.0 → 1.114.1
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/package.json +1 -1
- package/types/sap.f.d.ts +53 -1
- package/types/sap.m.d.ts +534 -1000
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1877 -1428
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -3
- package/types/sap.ui.integration.d.ts +2459 -2349
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +89 -7
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +35 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +179 -141
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
package/types/sap.m.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.114.1
|
|
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
|
|
8583
|
+
import { ButtonAccessibleRole, ButtonType } from "sap/m/library";
|
|
8620
8584
|
|
|
8621
|
-
import
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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`
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
21663
|
-
*
|
|
21664
|
-
* used its key should be added into the `
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
|
21549
|
+
* @returns The option
|
|
22002
21550
|
*/
|
|
22003
|
-
|
|
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 #
|
|
21584
|
+
* Gets current value of property {@link #getStandardOptions standardOptions}.
|
|
22032
21585
|
*
|
|
22033
|
-
*
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
|
22100
|
+
* Array of standard option keys
|
|
22501
22101
|
*/
|
|
22502
|
-
|
|
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
|
-
* @
|
|
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,7 +28212,7 @@ declare module "sap/m/FormattedText" {
|
|
|
28606
28212
|
* - `dd`
|
|
28607
28213
|
* - `ul`
|
|
28608
28214
|
* - `ol`
|
|
28609
|
-
* - `li` `
|
|
28215
|
+
* - `li` `style, dir` and `target` attributes are allowed. If `target` is not set, links
|
|
28610
28216
|
* open in a new window by default. Only safe `href` attributes can be used. See {@link module:sap/base/security/URLListValidator
|
|
28611
28217
|
* URLListValidator}.
|
|
28612
28218
|
*
|
|
@@ -28863,7 +28469,7 @@ declare module "sap/m/FormattedText" {
|
|
|
28863
28469
|
* - `dd`
|
|
28864
28470
|
* - `ul`
|
|
28865
28471
|
* - `ol`
|
|
28866
|
-
* - `li` `
|
|
28472
|
+
* - `li` `style, dir` and `target` attributes are allowed. If `target` is not set, links
|
|
28867
28473
|
* open in a new window by default. Only safe `href` attributes can be used. See {@link module:sap/base/security/URLListValidator
|
|
28868
28474
|
* URLListValidator}.
|
|
28869
28475
|
*
|
|
@@ -77935,6 +77541,8 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
77935
77541
|
|
|
77936
77542
|
import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
|
|
77937
77543
|
|
|
77544
|
+
import UI5Date from "sap/ui/core/date/UI5Date";
|
|
77545
|
+
|
|
77938
77546
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
77939
77547
|
|
|
77940
77548
|
import CalendarType from "sap/ui/core/CalendarType";
|
|
@@ -78585,11 +78193,11 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
78585
78193
|
*/
|
|
78586
78194
|
mParameters?: {
|
|
78587
78195
|
/**
|
|
78588
|
-
* Start date of the selected interval, as a JavaScript
|
|
78196
|
+
* Start date of the selected interval, as a UI5Date or JavaScript Date object.
|
|
78589
78197
|
*/
|
|
78590
78198
|
startDate?: object;
|
|
78591
78199
|
/**
|
|
78592
|
-
* Interval end date as a JavaScript
|
|
78200
|
+
* Interval end date as a UI5Date or JavaScript Date object.
|
|
78593
78201
|
*/
|
|
78594
78202
|
endDate?: object;
|
|
78595
78203
|
/**
|
|
@@ -78780,9 +78388,9 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
78780
78388
|
*
|
|
78781
78389
|
* Getter for the end point in time of the shown interval
|
|
78782
78390
|
*
|
|
78783
|
-
* @returns
|
|
78391
|
+
* @returns date instance with the end date
|
|
78784
78392
|
*/
|
|
78785
|
-
getEndDate(): Date;
|
|
78393
|
+
getEndDate(): Date | UI5Date;
|
|
78786
78394
|
/**
|
|
78787
78395
|
* @SINCE 1.94
|
|
78788
78396
|
*
|
|
@@ -78838,7 +78446,7 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
78838
78446
|
* Gets current value of property {@link #getMaxDate maxDate}.
|
|
78839
78447
|
*
|
|
78840
78448
|
* Defines the maximum date that can be displayed and selected in the `PlanningCalendar`. This must be a
|
|
78841
|
-
* JavaScript
|
|
78449
|
+
* UI5Date or JavaScript Date object.
|
|
78842
78450
|
*
|
|
78843
78451
|
* **Note:** If the `maxDate` is set to be before the current `minDate`, the `minDate` is set to the first
|
|
78844
78452
|
* date of the month in which the `maxDate` belongs.
|
|
@@ -78852,7 +78460,7 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
78852
78460
|
* Gets current value of property {@link #getMinDate minDate}.
|
|
78853
78461
|
*
|
|
78854
78462
|
* Defines the minimum date that can be displayed and selected in the `PlanningCalendar`. This must be a
|
|
78855
|
-
* JavaScript
|
|
78463
|
+
* UI5Date or JavaScript Date object.
|
|
78856
78464
|
*
|
|
78857
78465
|
* **Note:** If the `minDate` is set to be after the current `maxDate`, the `maxDate` is set to the last
|
|
78858
78466
|
* date of the month in which the `minDate` belongs.
|
|
@@ -79013,7 +78621,8 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
79013
78621
|
/**
|
|
79014
78622
|
* Gets current value of property {@link #getStartDate startDate}.
|
|
79015
78623
|
*
|
|
79016
|
-
* Determines the start date of the row, as a JavaScript
|
|
78624
|
+
* Determines the start date of the row, as a UI5Date or JavaScript Date object. The current date is used
|
|
78625
|
+
* as default.
|
|
79017
78626
|
*
|
|
79018
78627
|
* @returns Value of property `startDate`
|
|
79019
78628
|
*/
|
|
@@ -79538,28 +79147,28 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
79538
79147
|
oLegend: ID | CalendarLegend
|
|
79539
79148
|
): this;
|
|
79540
79149
|
/**
|
|
79541
|
-
* Set maximum date that can be shown and selected in the `PlanningCalendar`. This must be a
|
|
79542
|
-
*
|
|
79150
|
+
* Set maximum date that can be shown and selected in the `PlanningCalendar`. This must be a UI5Date or
|
|
79151
|
+
* JavaScript Date object.
|
|
79543
79152
|
*
|
|
79544
79153
|
* @returns Reference to `this` for method chaining
|
|
79545
79154
|
*/
|
|
79546
79155
|
setMaxDate(
|
|
79547
79156
|
/**
|
|
79548
|
-
* A
|
|
79157
|
+
* A date instance
|
|
79549
79158
|
*/
|
|
79550
|
-
oDate: Date
|
|
79159
|
+
oDate: Date | UI5Date
|
|
79551
79160
|
): this;
|
|
79552
79161
|
/**
|
|
79553
|
-
* Set minimum date that can be shown and selected in the `PlanningCalendar`. This must be a
|
|
79554
|
-
*
|
|
79162
|
+
* Set minimum date that can be shown and selected in the `PlanningCalendar`. This must be a UI5Date or
|
|
79163
|
+
* JavaScript Date object.
|
|
79555
79164
|
*
|
|
79556
79165
|
* @returns Reference to `this` for method chaining
|
|
79557
79166
|
*/
|
|
79558
79167
|
setMinDate(
|
|
79559
79168
|
/**
|
|
79560
|
-
* A
|
|
79169
|
+
* A date instance
|
|
79561
79170
|
*/
|
|
79562
|
-
oDate: Date
|
|
79171
|
+
oDate: Date | UI5Date
|
|
79563
79172
|
): this;
|
|
79564
79173
|
/**
|
|
79565
79174
|
* @SINCE 1.97
|
|
@@ -79807,7 +79416,8 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
79807
79416
|
|
|
79808
79417
|
export interface $PlanningCalendarSettings extends $ControlSettings {
|
|
79809
79418
|
/**
|
|
79810
|
-
* Determines the start date of the row, as a JavaScript
|
|
79419
|
+
* Determines the start date of the row, as a UI5Date or JavaScript Date object. The current date is used
|
|
79420
|
+
* as default.
|
|
79811
79421
|
*/
|
|
79812
79422
|
startDate?: object | PropertyBindingInfo | `{${string}}`;
|
|
79813
79423
|
|
|
@@ -79934,7 +79544,7 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
79934
79544
|
* @SINCE 1.38.0
|
|
79935
79545
|
*
|
|
79936
79546
|
* Defines the minimum date that can be displayed and selected in the `PlanningCalendar`. This must be a
|
|
79937
|
-
* JavaScript
|
|
79547
|
+
* UI5Date or JavaScript Date object.
|
|
79938
79548
|
*
|
|
79939
79549
|
* **Note:** If the `minDate` is set to be after the current `maxDate`, the `maxDate` is set to the last
|
|
79940
79550
|
* date of the month in which the `minDate` belongs.
|
|
@@ -79945,7 +79555,7 @@ declare module "sap/m/PlanningCalendar" {
|
|
|
79945
79555
|
* @SINCE 1.38.0
|
|
79946
79556
|
*
|
|
79947
79557
|
* Defines the maximum date that can be displayed and selected in the `PlanningCalendar`. This must be a
|
|
79948
|
-
* JavaScript
|
|
79558
|
+
* UI5Date or JavaScript Date object.
|
|
79949
79559
|
*
|
|
79950
79560
|
* **Note:** If the `maxDate` is set to be before the current `minDate`, the `minDate` is set to the first
|
|
79951
79561
|
* date of the month in which the `maxDate` belongs.
|
|
@@ -80865,11 +80475,11 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
80865
80475
|
*/
|
|
80866
80476
|
mParameters?: {
|
|
80867
80477
|
/**
|
|
80868
|
-
* Start date of the created appointment, as a JavaScript
|
|
80478
|
+
* Start date of the created appointment, as a UI5Date or JavaScript Date object.
|
|
80869
80479
|
*/
|
|
80870
80480
|
startDate?: object;
|
|
80871
80481
|
/**
|
|
80872
|
-
* End date of the created appointment, as a JavaScript
|
|
80482
|
+
* End date of the created appointment, as a UI5Date or JavaScript Date object.
|
|
80873
80483
|
*/
|
|
80874
80484
|
endDate?: object;
|
|
80875
80485
|
/**
|
|
@@ -80899,11 +80509,11 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
80899
80509
|
*/
|
|
80900
80510
|
appointment?: CalendarAppointment;
|
|
80901
80511
|
/**
|
|
80902
|
-
* Start date of the dropped appointment, as a JavaScript
|
|
80512
|
+
* Start date of the dropped appointment, as a UI5Date or JavaScript Date object.
|
|
80903
80513
|
*/
|
|
80904
80514
|
startDate?: object;
|
|
80905
80515
|
/**
|
|
80906
|
-
* Dropped appointment end date as a JavaScript
|
|
80516
|
+
* Dropped appointment end date as a UI5Date or JavaScript Date object.
|
|
80907
80517
|
*/
|
|
80908
80518
|
endDate?: object;
|
|
80909
80519
|
/**
|
|
@@ -80930,11 +80540,11 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
80930
80540
|
*/
|
|
80931
80541
|
appointment?: CalendarAppointment;
|
|
80932
80542
|
/**
|
|
80933
|
-
* Start date of the dropped appointment, as a JavaScript
|
|
80543
|
+
* Start date of the dropped appointment, as a UI5Date or JavaScript Date object.
|
|
80934
80544
|
*/
|
|
80935
80545
|
startDate?: object;
|
|
80936
80546
|
/**
|
|
80937
|
-
* Dropped appointment end date as a JavaScript
|
|
80547
|
+
* Dropped appointment end date as a UI5Date or JavaScript Date object.
|
|
80938
80548
|
*/
|
|
80939
80549
|
endDate?: object;
|
|
80940
80550
|
/**
|
|
@@ -80965,11 +80575,11 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
80965
80575
|
*/
|
|
80966
80576
|
appointment?: CalendarAppointment;
|
|
80967
80577
|
/**
|
|
80968
|
-
* Start date of the resized appointment, as a JavaScript
|
|
80578
|
+
* Start date of the resized appointment, as a UI5Date or JavaScript Date object.
|
|
80969
80579
|
*/
|
|
80970
80580
|
startDate?: object;
|
|
80971
80581
|
/**
|
|
80972
|
-
* End date of the resized appointment, as a JavaScript
|
|
80582
|
+
* End date of the resized appointment, as a UI5Date or JavaScript Date object.
|
|
80973
80583
|
*/
|
|
80974
80584
|
endDate?: object;
|
|
80975
80585
|
}
|
|
@@ -81020,7 +80630,7 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81020
80630
|
* Hours:
|
|
81021
80631
|
* For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
|
|
81022
80632
|
* After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
|
|
81023
|
-
* containing the new start and end JavaScript
|
|
80633
|
+
* containing the new start and end UI5Date or JavaScript Date objects.
|
|
81024
80634
|
* For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
|
|
81025
80635
|
* lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
|
|
81026
80636
|
* date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
|
|
@@ -81030,12 +80640,14 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81030
80640
|
* Days:
|
|
81031
80641
|
* For views where intervals are days, the placeholder highlights the whole day and after the appointment
|
|
81032
80642
|
* is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
|
|
81033
|
-
* new start and end JavaScript
|
|
80643
|
+
* new start and end UI5Date or JavaScript Date objects with changed date but the original time (hh:mm:ss)
|
|
80644
|
+
* is preserved.
|
|
81034
80645
|
*
|
|
81035
80646
|
* Months:
|
|
81036
80647
|
* For views where intervals are months, the placeholder highlights the whole month and after the appointment
|
|
81037
80648
|
* is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
|
|
81038
|
-
* new start and end JavaScript
|
|
80649
|
+
* new start and end UI5Date or JavaScript Date objects with changed month but the original date and time
|
|
80650
|
+
* is preserved.
|
|
81039
80651
|
*
|
|
81040
80652
|
* **Note:** In "One month" view, the appointments are not draggable on small screen (as there they are
|
|
81041
80653
|
* displayed as a list below the dates). Group appointments are also not draggable.
|
|
@@ -81058,15 +80670,15 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81058
80670
|
*
|
|
81059
80671
|
* Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
|
|
81060
80672
|
* 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
|
|
81061
|
-
* is fired, containing the new start and end JavaScript
|
|
80673
|
+
* is fired, containing the new start and end UI5Date or JavaScript Date objects.
|
|
81062
80674
|
*
|
|
81063
80675
|
* Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
|
|
81064
80676
|
* is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing the new
|
|
81065
|
-
* start and end JavaScript
|
|
80677
|
+
* start and end UI5Date or JavaScript Date objects. The `endDate` time is changed to 00:00:00
|
|
81066
80678
|
*
|
|
81067
80679
|
* 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
|
|
81069
|
-
*
|
|
80680
|
+
* #event:appointmentResize appointmentResize} event is fired, containing the new start and end UI5Date
|
|
80681
|
+
* or JavaScript Date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
|
|
81070
80682
|
*
|
|
81071
80683
|
* **Notes:** In "One month" view, the appointments are not resizable on small screen (as there they are
|
|
81072
80684
|
* displayed as a list below the dates). Group appointments are also not resizable
|
|
@@ -81452,7 +81064,7 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81452
81064
|
* Hours:
|
|
81453
81065
|
* For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
|
|
81454
81066
|
* After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
|
|
81455
|
-
* containing the new start and end JavaScript
|
|
81067
|
+
* containing the new start and end UI5Date or JavaScript Date objects.
|
|
81456
81068
|
* For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
|
|
81457
81069
|
* lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
|
|
81458
81070
|
* date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
|
|
@@ -81462,12 +81074,14 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81462
81074
|
* Days:
|
|
81463
81075
|
* For views where intervals are days, the placeholder highlights the whole day and after the appointment
|
|
81464
81076
|
* is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
|
|
81465
|
-
* new start and end JavaScript
|
|
81077
|
+
* new start and end UI5Date or JavaScript Date objects with changed date but the original time (hh:mm:ss)
|
|
81078
|
+
* is preserved.
|
|
81466
81079
|
*
|
|
81467
81080
|
* Months:
|
|
81468
81081
|
* For views where intervals are months, the placeholder highlights the whole month and after the appointment
|
|
81469
81082
|
* is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
|
|
81470
|
-
* new start and end JavaScript
|
|
81083
|
+
* new start and end UI5Date or JavaScript Date objects with changed month but the original date and time
|
|
81084
|
+
* is preserved.
|
|
81471
81085
|
*
|
|
81472
81086
|
* **Note:** In "One month" view, the appointments are not draggable on small screen (as there they are
|
|
81473
81087
|
* displayed as a list below the dates). Group appointments are also not draggable.
|
|
@@ -81497,15 +81111,15 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81497
81111
|
*
|
|
81498
81112
|
* Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
|
|
81499
81113
|
* 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
|
|
81500
|
-
* is fired, containing the new start and end JavaScript
|
|
81114
|
+
* is fired, containing the new start and end UI5Date or JavaScript Date objects.
|
|
81501
81115
|
*
|
|
81502
81116
|
* Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
|
|
81503
81117
|
* is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing the new
|
|
81504
|
-
* start and end JavaScript
|
|
81118
|
+
* start and end UI5Date or JavaScript Date objects. The `endDate` time is changed to 00:00:00
|
|
81505
81119
|
*
|
|
81506
81120
|
* 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
|
|
81508
|
-
*
|
|
81121
|
+
* #event:appointmentResize appointmentResize} event is fired, containing the new start and end UI5Date
|
|
81122
|
+
* or JavaScript Date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
|
|
81509
81123
|
*
|
|
81510
81124
|
* **Notes:** In "One month" view, the appointments are not resizable on small screen (as there they are
|
|
81511
81125
|
* displayed as a list below the dates). Group appointments are also not resizable
|
|
@@ -81724,7 +81338,7 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81724
81338
|
* Hours:
|
|
81725
81339
|
* For views where the displayed intervals are hours, the placeholder snaps on every interval of 30 minutes.
|
|
81726
81340
|
* After the appointment is dropped, the {@link #event:appointmentDrop appointmentDrop} event is fired,
|
|
81727
|
-
* containing the new start and end JavaScript
|
|
81341
|
+
* containing the new start and end UI5Date or JavaScript Date objects.
|
|
81728
81342
|
* For example, an appointment with start date "Nov 13 2017 12:17:00" and end date "Nov 13 2017 12:45:30"
|
|
81729
81343
|
* lasts for 27 minutes and 30 seconds. After dragging and dropping to a new time, the possible new start
|
|
81730
81344
|
* date has time that is either "hh:00:00" or "hh:30:00" because of the placeholder that can snap on every
|
|
@@ -81734,12 +81348,14 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81734
81348
|
* Days:
|
|
81735
81349
|
* For views where intervals are days, the placeholder highlights the whole day and after the appointment
|
|
81736
81350
|
* is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
|
|
81737
|
-
* new start and end JavaScript
|
|
81351
|
+
* new start and end UI5Date or JavaScript Date objects with changed date but the original time (hh:mm:ss)
|
|
81352
|
+
* is preserved.
|
|
81738
81353
|
*
|
|
81739
81354
|
* Months:
|
|
81740
81355
|
* For views where intervals are months, the placeholder highlights the whole month and after the appointment
|
|
81741
81356
|
* is dropped the {@link #event:appointmentDrop appointmentDrop} event is fired. The event contains the
|
|
81742
|
-
* new start and end JavaScript
|
|
81357
|
+
* new start and end UI5Date or JavaScript Date objects with changed month but the original date and time
|
|
81358
|
+
* is preserved.
|
|
81743
81359
|
*
|
|
81744
81360
|
* **Note:** In "One month" view, the appointments are not draggable on small screen (as there they are
|
|
81745
81361
|
* displayed as a list below the dates). Group appointments are also not draggable.
|
|
@@ -81760,15 +81376,15 @@ declare module "sap/m/PlanningCalendarRow" {
|
|
|
81760
81376
|
*
|
|
81761
81377
|
* Hours: For views where the displayed intervals are hours, the appointment snaps on every interval of
|
|
81762
81378
|
* 30 minutes. After the resize is finished, the {@link #event:appointmentResize appointmentResize} event
|
|
81763
|
-
* is fired, containing the new start and end JavaScript
|
|
81379
|
+
* is fired, containing the new start and end UI5Date or JavaScript Date objects.
|
|
81764
81380
|
*
|
|
81765
81381
|
* Days: For views where intervals are days, the appointment snaps to the end of the day. After the resize
|
|
81766
81382
|
* is finished, the {@link #event:appointmentResize appointmentResize} event is fired, containing the new
|
|
81767
|
-
* start and end JavaScript
|
|
81383
|
+
* start and end UI5Date or JavaScript Date objects. The `endDate` time is changed to 00:00:00
|
|
81768
81384
|
*
|
|
81769
81385
|
* 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
|
|
81771
|
-
*
|
|
81386
|
+
* #event:appointmentResize appointmentResize} event is fired, containing the new start and end UI5Date
|
|
81387
|
+
* or JavaScript Date objects. The `endDate` is set to the 00:00:00 and first day of the following month.
|
|
81772
81388
|
*
|
|
81773
81389
|
* **Notes:** In "One month" view, the appointments are not resizable on small screen (as there they are
|
|
81774
81390
|
* displayed as a list below the dates). Group appointments are also not resizable
|
|
@@ -82589,6 +82205,8 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
82589
82205
|
|
|
82590
82206
|
import Event from "sap/ui/base/Event";
|
|
82591
82207
|
|
|
82208
|
+
import OverflowToolbarButton from "sap/m/OverflowToolbarButton";
|
|
82209
|
+
|
|
82592
82210
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
82593
82211
|
|
|
82594
82212
|
import Context from "sap/ui/model/Context";
|
|
@@ -82781,6 +82399,20 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
82781
82399
|
data?: any[][];
|
|
82782
82400
|
}
|
|
82783
82401
|
): boolean;
|
|
82402
|
+
/**
|
|
82403
|
+
* @SINCE 1.114
|
|
82404
|
+
*
|
|
82405
|
+
* Creates and returns a Copy button that can be used to trigger a copy action, for example, from the table
|
|
82406
|
+
* toolbar.
|
|
82407
|
+
*
|
|
82408
|
+
* @returns The button instance
|
|
82409
|
+
*/
|
|
82410
|
+
getCopyButton(
|
|
82411
|
+
/**
|
|
82412
|
+
* The settings of the button control
|
|
82413
|
+
*/
|
|
82414
|
+
mSettings?: object
|
|
82415
|
+
): OverflowToolbarButton;
|
|
82784
82416
|
/**
|
|
82785
82417
|
* Gets current value of property {@link #getCopySparse copySparse}.
|
|
82786
82418
|
*
|
|
@@ -82839,6 +82471,18 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
82839
82471
|
* @returns Two-dimensional extracted data from the selection.
|
|
82840
82472
|
*/
|
|
82841
82473
|
getSelectionData(): any[][];
|
|
82474
|
+
/**
|
|
82475
|
+
* @SINCE 1.114
|
|
82476
|
+
*
|
|
82477
|
+
* Gets current value of property {@link #getVisible visible}.
|
|
82478
|
+
*
|
|
82479
|
+
* Defines the visibility of the Copy button created with the {@link #getCopyButton} API.
|
|
82480
|
+
*
|
|
82481
|
+
* Default value is `true`.
|
|
82482
|
+
*
|
|
82483
|
+
* @returns Value of property `visible`
|
|
82484
|
+
*/
|
|
82485
|
+
getVisible(): boolean;
|
|
82842
82486
|
/**
|
|
82843
82487
|
* Sets a new value for property {@link #getCopySparse copySparse}.
|
|
82844
82488
|
*
|
|
@@ -82910,6 +82554,25 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
82910
82554
|
*/
|
|
82911
82555
|
fnExtractData: Function
|
|
82912
82556
|
): this;
|
|
82557
|
+
/**
|
|
82558
|
+
* @SINCE 1.114
|
|
82559
|
+
*
|
|
82560
|
+
* Sets a new value for property {@link #getVisible visible}.
|
|
82561
|
+
*
|
|
82562
|
+
* Defines the visibility of the Copy button created with the {@link #getCopyButton} API.
|
|
82563
|
+
*
|
|
82564
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
82565
|
+
*
|
|
82566
|
+
* Default value is `true`.
|
|
82567
|
+
*
|
|
82568
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
82569
|
+
*/
|
|
82570
|
+
setVisible(
|
|
82571
|
+
/**
|
|
82572
|
+
* New value for property `visible`
|
|
82573
|
+
*/
|
|
82574
|
+
bVisible?: boolean
|
|
82575
|
+
): this;
|
|
82913
82576
|
}
|
|
82914
82577
|
/**
|
|
82915
82578
|
* Callback function to exclude certain contexts from being copied to the clipboard.
|
|
@@ -82969,6 +82632,13 @@ declare module "sap/m/plugins/CopyProvider" {
|
|
|
82969
82632
|
*/
|
|
82970
82633
|
excludeContext?: Function | PropertyBindingInfo | `{${string}}`;
|
|
82971
82634
|
|
|
82635
|
+
/**
|
|
82636
|
+
* @SINCE 1.114
|
|
82637
|
+
*
|
|
82638
|
+
* Defines the visibility of the Copy button created with the {@link #getCopyButton} API.
|
|
82639
|
+
*/
|
|
82640
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
82641
|
+
|
|
82972
82642
|
/**
|
|
82973
82643
|
* This event is fired if there is a selection, and the user triggers the copy action.
|
|
82974
82644
|
*
|
|
@@ -93990,6 +93660,10 @@ declare module "sap/m/SearchField" {
|
|
|
93990
93660
|
* Indicates if the user pressed the clear icon.
|
|
93991
93661
|
*/
|
|
93992
93662
|
clearButtonPressed?: boolean;
|
|
93663
|
+
/**
|
|
93664
|
+
* Indicates if the user pressed the search button.
|
|
93665
|
+
*/
|
|
93666
|
+
searchButtonPressed?: boolean;
|
|
93993
93667
|
}
|
|
93994
93668
|
): this;
|
|
93995
93669
|
/**
|
|
@@ -109854,8 +109528,6 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
109854
109528
|
|
|
109855
109529
|
import CalendarAppointment from "sap/ui/unified/CalendarAppointment";
|
|
109856
109530
|
|
|
109857
|
-
import DateRange from "sap/ui/unified/DateRange";
|
|
109858
|
-
|
|
109859
109531
|
import DateTypeRange from "sap/ui/unified/DateTypeRange";
|
|
109860
109532
|
|
|
109861
109533
|
import SinglePlanningCalendarView from "sap/m/SinglePlanningCalendarView";
|
|
@@ -109873,8 +109545,12 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
109873
109545
|
|
|
109874
109546
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
109875
109547
|
|
|
109548
|
+
import DateRange from "sap/ui/unified/DateRange";
|
|
109549
|
+
|
|
109876
109550
|
import PlanningCalendarLegend from "sap/m/PlanningCalendarLegend";
|
|
109877
109551
|
|
|
109552
|
+
import UI5Date from "sap/ui/core/date/UI5Date";
|
|
109553
|
+
|
|
109878
109554
|
import {
|
|
109879
109555
|
PropertyBindingInfo,
|
|
109880
109556
|
AggregationBindingInfo,
|
|
@@ -110000,15 +109676,15 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110000
109676
|
oAppointment: CalendarAppointment
|
|
110001
109677
|
): this;
|
|
110002
109678
|
/**
|
|
110003
|
-
* Adds
|
|
109679
|
+
* Adds a selected date to the grid.
|
|
110004
109680
|
*
|
|
110005
|
-
* @returns Reference to `this`
|
|
109681
|
+
* @returns Reference to `this` for method chaining
|
|
110006
109682
|
*/
|
|
110007
109683
|
addSelectedDate(
|
|
110008
109684
|
/**
|
|
110009
|
-
*
|
|
109685
|
+
* A DateRange object
|
|
110010
109686
|
*/
|
|
110011
|
-
oSelectedDate:
|
|
109687
|
+
oSelectedDate: object
|
|
110012
109688
|
): this;
|
|
110013
109689
|
/**
|
|
110014
109690
|
* @SINCE 1.66
|
|
@@ -110689,11 +110365,11 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110689
110365
|
*/
|
|
110690
110366
|
mParameters?: {
|
|
110691
110367
|
/**
|
|
110692
|
-
* Start date of the created appointment, as a JavaScript
|
|
110368
|
+
* Start date of the created appointment, as a UI5Date or JavaScript Date object.
|
|
110693
110369
|
*/
|
|
110694
110370
|
startDate?: object;
|
|
110695
110371
|
/**
|
|
110696
|
-
* End date of the created appointment, as a JavaScript
|
|
110372
|
+
* End date of the created appointment, as a UI5Date or JavaScript Date object.
|
|
110697
110373
|
*/
|
|
110698
110374
|
endDate?: object;
|
|
110699
110375
|
}
|
|
@@ -110716,11 +110392,11 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110716
110392
|
*/
|
|
110717
110393
|
appointment?: CalendarAppointment;
|
|
110718
110394
|
/**
|
|
110719
|
-
* Start date of the dropped appointment, as a JavaScript
|
|
110395
|
+
* Start date of the dropped appointment, as a UI5Date or JavaScript Date object.
|
|
110720
110396
|
*/
|
|
110721
110397
|
startDate?: object;
|
|
110722
110398
|
/**
|
|
110723
|
-
* Dropped appointment end date as a JavaScript
|
|
110399
|
+
* Dropped appointment end date as a UI5Date or JavaScript Date object.
|
|
110724
110400
|
*/
|
|
110725
110401
|
endDate?: object;
|
|
110726
110402
|
/**
|
|
@@ -110747,11 +110423,11 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110747
110423
|
*/
|
|
110748
110424
|
appointment?: CalendarAppointment;
|
|
110749
110425
|
/**
|
|
110750
|
-
* Start date of the resized appointment, as a JavaScript
|
|
110426
|
+
* Start date of the resized appointment, as a UI5Date or JavaScript Date object.
|
|
110751
110427
|
*/
|
|
110752
110428
|
startDate?: object;
|
|
110753
110429
|
/**
|
|
110754
|
-
* End date of the resized appointment, as a JavaScript
|
|
110430
|
+
* End date of the resized appointment, as a UI5Date or JavaScript Date object.
|
|
110755
110431
|
*/
|
|
110756
110432
|
endDate?: object;
|
|
110757
110433
|
}
|
|
@@ -110792,11 +110468,11 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110792
110468
|
*/
|
|
110793
110469
|
mParameters?: {
|
|
110794
110470
|
/**
|
|
110795
|
-
* The start date as a JavaScript
|
|
110471
|
+
* The start date as a UI5Date or JavaScript Date object of the focused grid cell.
|
|
110796
110472
|
*/
|
|
110797
110473
|
startDate?: object;
|
|
110798
110474
|
/**
|
|
110799
|
-
* The end date as a JavaScript
|
|
110475
|
+
* The end date as a UI5Date or JavaScript Date object of the focused grid cell.
|
|
110800
110476
|
*/
|
|
110801
110477
|
endDate?: object;
|
|
110802
110478
|
}
|
|
@@ -110814,7 +110490,7 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110814
110490
|
*/
|
|
110815
110491
|
mParameters?: {
|
|
110816
110492
|
/**
|
|
110817
|
-
* Date of the selected header, as a JavaScript
|
|
110493
|
+
* Date of the selected header, as a UI5Date or JavaScript Date object. It is considered as a local date.
|
|
110818
110494
|
*/
|
|
110819
110495
|
date?: object;
|
|
110820
110496
|
}
|
|
@@ -110832,7 +110508,7 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110832
110508
|
*/
|
|
110833
110509
|
mParameters?: {
|
|
110834
110510
|
/**
|
|
110835
|
-
* The date as a JavaScript
|
|
110511
|
+
* The date as a UI5Date or JavaScript Date object of the cell with the pressed more link.
|
|
110836
110512
|
*/
|
|
110837
110513
|
date?: object;
|
|
110838
110514
|
}
|
|
@@ -110850,7 +110526,7 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110850
110526
|
*/
|
|
110851
110527
|
mParameters?: {
|
|
110852
110528
|
/**
|
|
110853
|
-
* The new start date, as a JavaScript
|
|
110529
|
+
* The new start date, as a UI5Date or JavaScript Date object. It is considered as a local date.
|
|
110854
110530
|
*/
|
|
110855
110531
|
date?: object;
|
|
110856
110532
|
}
|
|
@@ -110952,7 +110628,7 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
110952
110628
|
* The resize interaction is visualized by making the appointment transparent.
|
|
110953
110629
|
*
|
|
110954
110630
|
* 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
|
|
110631
|
+
* appointmentResize} event is fired, containing the new start and end UI5Date or JavaScript Date objects.
|
|
110956
110632
|
*
|
|
110957
110633
|
* Default value is `false`.
|
|
110958
110634
|
*
|
|
@@ -111027,14 +110703,11 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111027
110703
|
*/
|
|
111028
110704
|
getSelectedAppointments(): CalendarAppointment[];
|
|
111029
110705
|
/**
|
|
111030
|
-
* Gets
|
|
110706
|
+
* Gets the selected dates of the grid.
|
|
111031
110707
|
*
|
|
111032
|
-
*
|
|
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.
|
|
110708
|
+
* @returns An array of DateRange objects
|
|
111036
110709
|
*/
|
|
111037
|
-
getSelectedDates():
|
|
110710
|
+
getSelectedDates(): object;
|
|
111038
110711
|
/**
|
|
111039
110712
|
* ID of the element which is the current target of the association {@link #getSelectedView selectedView},
|
|
111040
110713
|
* or `null`.
|
|
@@ -111053,8 +110726,8 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111053
110726
|
/**
|
|
111054
110727
|
* Gets current value of property {@link #getStartDate startDate}.
|
|
111055
110728
|
*
|
|
111056
|
-
* Determines the start date of the grid, as a JavaScript
|
|
111057
|
-
* The time part will be ignored. The current date is used as default.
|
|
110729
|
+
* Determines the start date of the grid, as a UI5Date or JavaScript Date object. It is considered as a
|
|
110730
|
+
* local date. The time part will be ignored. The current date is used as default.
|
|
111058
110731
|
*
|
|
111059
110732
|
* @returns Value of property `startDate`
|
|
111060
110733
|
*/
|
|
@@ -111298,13 +110971,11 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111298
110971
|
*/
|
|
111299
110972
|
removeAllAppointments(): CalendarAppointment[];
|
|
111300
110973
|
/**
|
|
111301
|
-
* Removes
|
|
110974
|
+
* Removes the selected dates of the grid.
|
|
111302
110975
|
*
|
|
111303
|
-
*
|
|
111304
|
-
*
|
|
111305
|
-
* @returns An array of the removed elements (might be empty)
|
|
110976
|
+
* @returns An array of the removed DateRange objects
|
|
111306
110977
|
*/
|
|
111307
|
-
removeAllSelectedDates():
|
|
110978
|
+
removeAllSelectedDates(): object;
|
|
111308
110979
|
/**
|
|
111309
110980
|
* @SINCE 1.66
|
|
111310
110981
|
*
|
|
@@ -111463,7 +111134,7 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111463
111134
|
* The resize interaction is visualized by making the appointment transparent.
|
|
111464
111135
|
*
|
|
111465
111136
|
* 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
|
|
111137
|
+
* appointmentResize} event is fired, containing the new start and end UI5Date or JavaScript Date objects.
|
|
111467
111138
|
*
|
|
111468
111139
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
111469
111140
|
*
|
|
@@ -111591,9 +111262,9 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111591
111262
|
*/
|
|
111592
111263
|
setStartDate(
|
|
111593
111264
|
/**
|
|
111594
|
-
* A
|
|
111265
|
+
* A date instance
|
|
111595
111266
|
*/
|
|
111596
|
-
oDate: Date
|
|
111267
|
+
oDate: Date | UI5Date
|
|
111597
111268
|
): this;
|
|
111598
111269
|
/**
|
|
111599
111270
|
* Sets a new value for property {@link #getStartHour startHour}.
|
|
@@ -111666,8 +111337,8 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111666
111337
|
title?: string | PropertyBindingInfo;
|
|
111667
111338
|
|
|
111668
111339
|
/**
|
|
111669
|
-
* Determines the start date of the grid, as a JavaScript
|
|
111670
|
-
* The time part will be ignored. The current date is used as default.
|
|
111340
|
+
* Determines the start date of the grid, as a UI5Date or JavaScript Date object. It is considered as a
|
|
111341
|
+
* local date. The time part will be ignored. The current date is used as default.
|
|
111671
111342
|
*/
|
|
111672
111343
|
startDate?: object | PropertyBindingInfo | `{${string}}`;
|
|
111673
111344
|
|
|
@@ -111735,7 +111406,7 @@ declare module "sap/m/SinglePlanningCalendar" {
|
|
|
111735
111406
|
* The resize interaction is visualized by making the appointment transparent.
|
|
111736
111407
|
*
|
|
111737
111408
|
* 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
|
|
111409
|
+
* appointmentResize} event is fired, containing the new start and end UI5Date or JavaScript Date objects.
|
|
111739
111410
|
*/
|
|
111740
111411
|
enableAppointmentsResize?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
111741
111412
|
|
|
@@ -112088,6 +111759,8 @@ declare module "sap/m/SinglePlanningCalendarMonthView" {
|
|
|
112088
111759
|
declare module "sap/m/SinglePlanningCalendarView" {
|
|
112089
111760
|
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
112090
111761
|
|
|
111762
|
+
import UI5Date from "sap/ui/core/date/UI5Date";
|
|
111763
|
+
|
|
112091
111764
|
import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
|
|
112092
111765
|
|
|
112093
111766
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -112167,9 +111840,9 @@ declare module "sap/m/SinglePlanningCalendarView" {
|
|
|
112167
111840
|
*/
|
|
112168
111841
|
calculateStartDate(
|
|
112169
111842
|
/**
|
|
112170
|
-
* A
|
|
111843
|
+
* A date instance
|
|
112171
111844
|
*/
|
|
112172
|
-
oDate: Date
|
|
111845
|
+
oDate: Date | UI5Date
|
|
112173
111846
|
): void;
|
|
112174
111847
|
/**
|
|
112175
111848
|
* @SINCE 1.110.0
|
|
@@ -116547,150 +116220,6 @@ declare module "sap/m/SplitContainer" {
|
|
|
116547
116220
|
}
|
|
116548
116221
|
}
|
|
116549
116222
|
|
|
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
116223
|
declare module "sap/m/StandardListItem" {
|
|
116695
116224
|
import {
|
|
116696
116225
|
default as ListItemBase,
|
|
@@ -129631,6 +129160,8 @@ declare module "sap/m/TimePicker" {
|
|
|
129631
129160
|
|
|
129632
129161
|
import { AccessibilityInfo } from "sap/ui/core/library";
|
|
129633
129162
|
|
|
129163
|
+
import UI5Date from "sap/ui/core/date/UI5Date";
|
|
129164
|
+
|
|
129634
129165
|
import { TimePickerMaskMode } from "sap/m/library";
|
|
129635
129166
|
|
|
129636
129167
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -129663,41 +129194,11 @@ declare module "sap/m/TimePicker" {
|
|
|
129663
129194
|
* device - in another input field that opens in a popup after tap.
|
|
129664
129195
|
*
|
|
129665
129196
|
* 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
|
|
129667
|
-
* be used at a time):
|
|
129197
|
+
* property or as a UI5Date or JavaScript Date object to the `dateValue` property (only one of these properties
|
|
129198
|
+
* should be used at a time):
|
|
129668
129199
|
*
|
|
129669
129200
|
*
|
|
129670
129201
|
* - 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
129202
|
*/
|
|
129702
129203
|
export default class TimePicker extends DateTimeField {
|
|
129703
129204
|
/**
|
|
@@ -130090,13 +129591,13 @@ declare module "sap/m/TimePicker" {
|
|
|
130090
129591
|
*/
|
|
130091
129592
|
getAccessibilityInfo(): AccessibilityInfo;
|
|
130092
129593
|
/**
|
|
130093
|
-
* Holds a reference to a JavaScript Date
|
|
130094
|
-
* it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
|
|
129594
|
+
* Holds a reference to a UI5Date or JavaScript Date object. The `value` (string) property will be set according
|
|
129595
|
+
* to it. Alternatively, if the `value` and `valueFormat` pair properties are supplied instead, the `dateValue`
|
|
130095
129596
|
* will be instantiated according to the parsed `value`.
|
|
130096
129597
|
*
|
|
130097
129598
|
* @returns the value of property `dateValue`
|
|
130098
129599
|
*/
|
|
130099
|
-
getDateValue(): Date;
|
|
129600
|
+
getDateValue(): Date | UI5Date;
|
|
130100
129601
|
/**
|
|
130101
129602
|
* Determines the format, displayed in the input field and the picker clocks/numeric inputs.
|
|
130102
129603
|
*
|
|
@@ -130351,9 +129852,9 @@ declare module "sap/m/TimePicker" {
|
|
|
130351
129852
|
*/
|
|
130352
129853
|
setDateValue(
|
|
130353
129854
|
/**
|
|
130354
|
-
* A
|
|
129855
|
+
* A date instance
|
|
130355
129856
|
*/
|
|
130356
|
-
oDate: Date
|
|
129857
|
+
oDate: Date | UI5Date
|
|
130357
129858
|
): this;
|
|
130358
129859
|
/**
|
|
130359
129860
|
* Sets the display format.
|
|
@@ -130656,6 +130157,8 @@ declare module "sap/m/TimePickerClocks" {
|
|
|
130656
130157
|
|
|
130657
130158
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
130658
130159
|
|
|
130160
|
+
import UI5Date from "sap/ui/core/date/UI5Date";
|
|
130161
|
+
|
|
130659
130162
|
/**
|
|
130660
130163
|
* @SINCE 1.90
|
|
130661
130164
|
*
|
|
@@ -130725,9 +130228,9 @@ declare module "sap/m/TimePickerClocks" {
|
|
|
130725
130228
|
/**
|
|
130726
130229
|
* Gets the time values from the clocks, as a date object.
|
|
130727
130230
|
*
|
|
130728
|
-
* @returns A
|
|
130231
|
+
* @returns A date instance
|
|
130729
130232
|
*/
|
|
130730
|
-
getTimeValues(): Date;
|
|
130233
|
+
getTimeValues(): Date | UI5Date;
|
|
130731
130234
|
/**
|
|
130732
130235
|
* Initializes the control.
|
|
130733
130236
|
*/
|
|
@@ -130759,6 +130262,8 @@ declare module "sap/m/TimePickerInputs" {
|
|
|
130759
130262
|
|
|
130760
130263
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
130761
130264
|
|
|
130265
|
+
import UI5Date from "sap/ui/core/date/UI5Date";
|
|
130266
|
+
|
|
130762
130267
|
/**
|
|
130763
130268
|
* @SINCE 1.90
|
|
130764
130269
|
*
|
|
@@ -130828,9 +130333,9 @@ declare module "sap/m/TimePickerInputs" {
|
|
|
130828
130333
|
/**
|
|
130829
130334
|
* Gets the time values from the clocks, as a date object.
|
|
130830
130335
|
*
|
|
130831
|
-
* @returns A
|
|
130336
|
+
* @returns A date instance
|
|
130832
130337
|
*/
|
|
130833
|
-
getTimeValues(): Date;
|
|
130338
|
+
getTimeValues(): Date | UI5Date;
|
|
130834
130339
|
/**
|
|
130835
130340
|
* Sets the value of the `TimePickerInputs` container.
|
|
130836
130341
|
*
|
|
@@ -137650,7 +137155,7 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
137650
137155
|
/**
|
|
137651
137156
|
* Gets current value of property {@link #getDragDropDescription dragDropDescription}.
|
|
137652
137157
|
*
|
|
137653
|
-
* Defines custom text for the
|
|
137158
|
+
* Defines custom text for the drag and drop description label.
|
|
137654
137159
|
*
|
|
137655
137160
|
* @returns Value of property `dragDropDescription`
|
|
137656
137161
|
*/
|
|
@@ -137658,7 +137163,7 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
137658
137163
|
/**
|
|
137659
137164
|
* Gets current value of property {@link #getDragDropText dragDropText}.
|
|
137660
137165
|
*
|
|
137661
|
-
* Defines custom text for the
|
|
137166
|
+
* Defines custom text for the drag and drop text label.
|
|
137662
137167
|
*
|
|
137663
137168
|
* @returns Value of property `dragDropText`
|
|
137664
137169
|
*/
|
|
@@ -138138,7 +137643,7 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
138138
137643
|
/**
|
|
138139
137644
|
* Sets a new value for property {@link #getDragDropDescription dragDropDescription}.
|
|
138140
137645
|
*
|
|
138141
|
-
* Defines custom text for the
|
|
137646
|
+
* Defines custom text for the drag and drop description label.
|
|
138142
137647
|
*
|
|
138143
137648
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
138144
137649
|
*
|
|
@@ -138153,7 +137658,7 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
138153
137658
|
/**
|
|
138154
137659
|
* Sets a new value for property {@link #getDragDropText dragDropText}.
|
|
138155
137660
|
*
|
|
138156
|
-
* Defines custom text for the
|
|
137661
|
+
* Defines custom text for the drag and drop text label.
|
|
138157
137662
|
*
|
|
138158
137663
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
138159
137664
|
*
|
|
@@ -138556,12 +138061,12 @@ declare module "sap/m/upload/UploadSet" {
|
|
|
138556
138061
|
noDataDescription?: string | PropertyBindingInfo;
|
|
138557
138062
|
|
|
138558
138063
|
/**
|
|
138559
|
-
* Defines custom text for the
|
|
138064
|
+
* Defines custom text for the drag and drop text label.
|
|
138560
138065
|
*/
|
|
138561
138066
|
dragDropText?: string | PropertyBindingInfo;
|
|
138562
138067
|
|
|
138563
138068
|
/**
|
|
138564
|
-
* Defines custom text for the
|
|
138069
|
+
* Defines custom text for the drag and drop description label.
|
|
138565
138070
|
*/
|
|
138566
138071
|
dragDropDescription?: string | PropertyBindingInfo;
|
|
138567
138072
|
|
|
@@ -143948,8 +143453,12 @@ declare module "sap/m/VariantItem" {
|
|
|
143948
143453
|
declare module "sap/m/VBox" {
|
|
143949
143454
|
import { default as FlexBox, $FlexBoxSettings } from "sap/m/FlexBox";
|
|
143950
143455
|
|
|
143456
|
+
import { FlexDirection } from "sap/m/library";
|
|
143457
|
+
|
|
143951
143458
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
143952
143459
|
|
|
143460
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
143461
|
+
|
|
143953
143462
|
/**
|
|
143954
143463
|
* The VBox control builds the container for a vertical flexible box layout. VBox is a convenience control,
|
|
143955
143464
|
* as it is just a specialized FlexBox control.
|
|
@@ -143963,9 +143472,6 @@ declare module "sap/m/VBox" {
|
|
|
143963
143472
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
143964
143473
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
143965
143474
|
* 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
143475
|
* See:
|
|
143970
143476
|
* https://www.w3.org/TR/css-flexbox-1/
|
|
143971
143477
|
* https://www.w3.org/TR/css-flexbox-1/#propdef-justify-content
|
|
@@ -143984,9 +143490,6 @@ declare module "sap/m/VBox" {
|
|
|
143984
143490
|
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
143985
143491
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
143986
143492
|
* 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
143493
|
* See:
|
|
143991
143494
|
* https://www.w3.org/TR/css-flexbox-1/
|
|
143992
143495
|
* https://www.w3.org/TR/css-flexbox-1/#propdef-justify-content
|
|
@@ -144033,9 +143536,44 @@ declare module "sap/m/VBox" {
|
|
|
144033
143536
|
* @returns Metadata object describing this class
|
|
144034
143537
|
*/
|
|
144035
143538
|
static getMetadata(): ElementMetadata;
|
|
143539
|
+
/**
|
|
143540
|
+
* Gets current value of property {@link #getDirection direction}.
|
|
143541
|
+
*
|
|
143542
|
+
* Determines the direction of the layout of child elements.
|
|
143543
|
+
*
|
|
143544
|
+
* Default value is `Column`.
|
|
143545
|
+
*
|
|
143546
|
+
* @returns Value of property `direction`
|
|
143547
|
+
*/
|
|
143548
|
+
getDirection(): FlexDirection | keyof typeof FlexDirection;
|
|
143549
|
+
/**
|
|
143550
|
+
* Sets a new value for property {@link #getDirection direction}.
|
|
143551
|
+
*
|
|
143552
|
+
* Determines the direction of the layout of child elements.
|
|
143553
|
+
*
|
|
143554
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
143555
|
+
*
|
|
143556
|
+
* Default value is `Column`.
|
|
143557
|
+
*
|
|
143558
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
143559
|
+
*/
|
|
143560
|
+
setDirection(
|
|
143561
|
+
/**
|
|
143562
|
+
* New value for property `direction`
|
|
143563
|
+
*/
|
|
143564
|
+
sDirection?: FlexDirection | keyof typeof FlexDirection
|
|
143565
|
+
): this;
|
|
144036
143566
|
}
|
|
144037
143567
|
|
|
144038
|
-
export interface $VBoxSettings extends $FlexBoxSettings {
|
|
143568
|
+
export interface $VBoxSettings extends $FlexBoxSettings {
|
|
143569
|
+
/**
|
|
143570
|
+
* Determines the direction of the layout of child elements.
|
|
143571
|
+
*/
|
|
143572
|
+
direction?:
|
|
143573
|
+
| (FlexDirection | keyof typeof FlexDirection)
|
|
143574
|
+
| PropertyBindingInfo
|
|
143575
|
+
| `{${string}}`;
|
|
143576
|
+
}
|
|
144039
143577
|
}
|
|
144040
143578
|
|
|
144041
143579
|
declare module "sap/m/ViewSettingsCustomItem" {
|
|
@@ -147217,8 +146755,6 @@ declare namespace sap {
|
|
|
147217
146755
|
|
|
147218
146756
|
"sap/m/ComboBoxTextField": undefined;
|
|
147219
146757
|
|
|
147220
|
-
"sap/m/CustomDynamicDateOption": undefined;
|
|
147221
|
-
|
|
147222
146758
|
"sap/m/CustomListItem": undefined;
|
|
147223
146759
|
|
|
147224
146760
|
"sap/m/CustomTile": undefined;
|
|
@@ -147655,8 +147191,6 @@ declare namespace sap {
|
|
|
147655
147191
|
|
|
147656
147192
|
"sap/m/SplitContainer": undefined;
|
|
147657
147193
|
|
|
147658
|
-
"sap/m/StandardDynamicDateOption": undefined;
|
|
147659
|
-
|
|
147660
147194
|
"sap/m/StandardListItem": undefined;
|
|
147661
147195
|
|
|
147662
147196
|
"sap/m/StandardTile": undefined;
|