@sapui5/ts-types 1.152.0 → 1.153.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1 -1
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +44 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +199 -19
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +15 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +290 -24
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.m.d.ts +255 -30
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +14 -14
- package/types/sap.suite.ui.generic.template.d.ts +31 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- 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.comp.d.ts +1 -1
- package/types/sap.ui.core.d.ts +201 -133
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +14 -2
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.joule.frontend.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +6771 -5664
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +9 -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 +63 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +125 -15
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ declare namespace sap {
|
|
|
279
279
|
"sap/ui/thirdparty/qunit-2": undefined;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
// For Library Version: 1.
|
|
282
|
+
// For Library Version: 1.153.0
|
|
283
283
|
|
|
284
284
|
declare module "sap/base/assert" {
|
|
285
285
|
/**
|
|
@@ -8581,6 +8581,12 @@ declare namespace sap {
|
|
|
8581
8581
|
* @since 1.37.0
|
|
8582
8582
|
*/
|
|
8583
8583
|
waitFor?: Promise<any> | Array<Promise<any>>;
|
|
8584
|
+
/**
|
|
8585
|
+
* a marker to indicate that the Component is a launcher, e.g. the fiori launchpad (experimental setting)
|
|
8586
|
+
*
|
|
8587
|
+
* @since 1.153.0
|
|
8588
|
+
*/
|
|
8589
|
+
isLauncher?: boolean;
|
|
8584
8590
|
};
|
|
8585
8591
|
/**
|
|
8586
8592
|
* Controls when and from where to load the manifest for the Component. When set to any truthy value, the
|
|
@@ -18829,6 +18835,151 @@ declare namespace sap {
|
|
|
18829
18835
|
]
|
|
18830
18836
|
| null;
|
|
18831
18837
|
}
|
|
18838
|
+
|
|
18839
|
+
/**
|
|
18840
|
+
* The format options type for date formats.
|
|
18841
|
+
*/
|
|
18842
|
+
type DateFormatOptions =
|
|
18843
|
+
sap.ui.core.format.DateFormat.IntervalFormatOptions & {
|
|
18844
|
+
/**
|
|
18845
|
+
* A date pattern in {@link https://unicode.org/reports/tr35/tr35-dates.html#table-date-field-symbol-table LDML format}.
|
|
18846
|
+
* It is not verified whether the pattern represents only a date.
|
|
18847
|
+
*/
|
|
18848
|
+
pattern?: string;
|
|
18849
|
+
/**
|
|
18850
|
+
* The locale-dependent formatting style for the date, used if no `pattern` is provided.
|
|
18851
|
+
*/
|
|
18852
|
+
style?: "short" | "medium" | "long" | "full";
|
|
18853
|
+
};
|
|
18854
|
+
|
|
18855
|
+
/**
|
|
18856
|
+
* The base format options for date formats.
|
|
18857
|
+
*/
|
|
18858
|
+
type FormatOptions = {
|
|
18859
|
+
/**
|
|
18860
|
+
* The calendar type used to format and parse the date. By default, this value is taken from the configuration
|
|
18861
|
+
* (see {@link module:sap/base/i18n/Formatting.setCalendarType Formatting.setCalendarType}), or - if not
|
|
18862
|
+
* set - calculated based on the current locale, see {@link module:sap/base/i18n/Formatting.getCalendarType Formatting.getCalendarType}.
|
|
18863
|
+
*/
|
|
18864
|
+
calendarType?: import("sap/base/i18n/date/CalendarType").default;
|
|
18865
|
+
/**
|
|
18866
|
+
* Specifies the calendar week numbering. If specified, this overwrites `firstDayOfWeek` and `minimalDaysInFirstWeek`.
|
|
18867
|
+
*
|
|
18868
|
+
* @since 1.108.0
|
|
18869
|
+
*/
|
|
18870
|
+
calendarWeekNumbering?: import("sap/base/i18n/date/CalendarWeekNumbering").default;
|
|
18871
|
+
/**
|
|
18872
|
+
* Specifies the first day of the week starting with `0` (which is Sunday). If not defined, the value is
|
|
18873
|
+
* taken from the locale, see {@link sap.ui.core.LocaleData.getFirstDayOfWeek LocaleData.getFirstDayOfWeek}.
|
|
18874
|
+
*
|
|
18875
|
+
* @since 1.105.0
|
|
18876
|
+
*/
|
|
18877
|
+
firstDayOfWeek?: int;
|
|
18878
|
+
/**
|
|
18879
|
+
* Contains pattern symbols (for example, "yMMMd" or "Hms") that are converted into the pattern in the used
|
|
18880
|
+
* locale which matches the wanted symbols best. The symbols must be in canonical order: Era (G), Year (y/Y),
|
|
18881
|
+
* Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J), Minute (m), Second
|
|
18882
|
+
* (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
|
|
18883
|
+
*
|
|
18884
|
+
* @since 1.34.0
|
|
18885
|
+
*/
|
|
18886
|
+
format?: string;
|
|
18887
|
+
/**
|
|
18888
|
+
* Minimal days at the beginning of the year that define the first calendar week. If not defined, the value
|
|
18889
|
+
* is taken from the locale, see {@link sap.ui.core.LocaleData.getMinimalDaysInFirstWeek LocaleData.getMinimalDaysInFirstWeek}.
|
|
18890
|
+
*
|
|
18891
|
+
* @since 1.105.0
|
|
18892
|
+
*/
|
|
18893
|
+
minimalDaysInFirstWeek?: int;
|
|
18894
|
+
/**
|
|
18895
|
+
* If `true`, the date is formatted relatively to today's date if it is within the given `relativeRange`.
|
|
18896
|
+
* **Example:**
|
|
18897
|
+
* - Today is the **2026-01-05**
|
|
18898
|
+
* - `relative` is set to `true`
|
|
18899
|
+
* - `relativeRange` is set to `[-2, 2]`
|
|
18900
|
+
* - This means that only dates two days prior or after **2026-01-05** are formatted in the relative format
|
|
18901
|
+
*
|
|
18902
|
+
* - For example, date **2026-01-07** would be formatted to `"in 2 days"` for the English locale
|
|
18903
|
+
* - Whereas, the **2026-01-08** would be formatted in the non-relative format as it is out of the `relativeRange`
|
|
18904
|
+
*/
|
|
18905
|
+
relative?: boolean;
|
|
18906
|
+
/**
|
|
18907
|
+
* The date range in which the relative formatting is applied. It depends on the `relativeScale`. For example,
|
|
18908
|
+
* `relativeScale="day"` and `relativeRange=[-2, 2]` means only dates that are 2 **days** before or 2 **days**
|
|
18909
|
+
* after today's date are formatted relatively. If no range given, the range is determined depending on
|
|
18910
|
+
* the `relativeScale`. This is the list of defaults depending on the `relativeScale`:
|
|
18911
|
+
* - `relativeScale="second"`, `relativeRange=[-60, 60]`
|
|
18912
|
+
* - `relativeScale="minute"`, `relativeRange=[-60, 60]`
|
|
18913
|
+
* - `relativeScale="hour"`, `relativeRange=[-24, 24]`
|
|
18914
|
+
* - `relativeScale="day"`, `relativeRange=[-6, 6]`
|
|
18915
|
+
* - `relativeScale="week"`, `relativeRange=[-4, 4]`
|
|
18916
|
+
* - `relativeScale="month"`, `relativeRange=[-12, 12]`
|
|
18917
|
+
* - `relativeScale="year"`, `relativeRange=[-10, 10]` Otherwise, when `relativeScale` is set to
|
|
18918
|
+
* `auto`, all dates are formatted relatively.
|
|
18919
|
+
*/
|
|
18920
|
+
relativeRange?: int[];
|
|
18921
|
+
/**
|
|
18922
|
+
* If `auto` is set, a new relative time format is switched on for all Date/Time instances. The relative
|
|
18923
|
+
* scale is chosen depending on the difference between the given date and now.
|
|
18924
|
+
*/
|
|
18925
|
+
relativeScale?:
|
|
18926
|
+
| "auto"
|
|
18927
|
+
| "year"
|
|
18928
|
+
| "month"
|
|
18929
|
+
| "week"
|
|
18930
|
+
| "day"
|
|
18931
|
+
| "hour"
|
|
18932
|
+
| "minute"
|
|
18933
|
+
| "second";
|
|
18934
|
+
/**
|
|
18935
|
+
* The style of the relative format.
|
|
18936
|
+
*
|
|
18937
|
+
* @since 1.34.4
|
|
18938
|
+
*/
|
|
18939
|
+
relativeStyle?: "narrow" | "short" | "wide";
|
|
18940
|
+
/**
|
|
18941
|
+
* If `true`, parsing validates that the value is a valid date. For example, the parsing of an overflowing
|
|
18942
|
+
* value like **2026-01-32** returns `null` instead of **2026-02-01**.
|
|
18943
|
+
*/
|
|
18944
|
+
strictParsing?: boolean;
|
|
18945
|
+
/**
|
|
18946
|
+
* If `true`, the date is formatted and parsed as UTC instead of the local timezone.
|
|
18947
|
+
*/
|
|
18948
|
+
UTC?: boolean;
|
|
18949
|
+
};
|
|
18950
|
+
|
|
18951
|
+
/**
|
|
18952
|
+
* Extends the format options for a single date, time, or date and time to include interval-related settings.
|
|
18953
|
+
*/
|
|
18954
|
+
type IntervalFormatOptions =
|
|
18955
|
+
sap.ui.core.format.DateFormat.FormatOptions & {
|
|
18956
|
+
/**
|
|
18957
|
+
* If `true`, the {@link sap.ui.core.format.DateFormat#format format} method expects an array with two dates
|
|
18958
|
+
* as the first argument and formats them as an interval. For example, the interval "Jan 10, 2008 - Jan
|
|
18959
|
+
* 12, 2008" is formatted as "Jan 10-12, 2008" if the `format` option is set to `"yMMMd"`. If no `format`
|
|
18960
|
+
* is set, the two dates are formatted separately and concatenated with a locale-dependent pattern.
|
|
18961
|
+
*
|
|
18962
|
+
* @since 1.48.0
|
|
18963
|
+
*/
|
|
18964
|
+
interval?: boolean;
|
|
18965
|
+
/**
|
|
18966
|
+
* A delimiter for intervals. A specific interval format is created with a given delimiter.
|
|
18967
|
+
* **Example:** If `oFormatOptions.intervalDelimiter` is set to "...", the formatted result would be "Jan
|
|
18968
|
+
* 10, 2008...Feb 12, 2008". **Note:** If this format option is set, the locale-specific interval notation
|
|
18969
|
+
* is overridden. For example, "Jan 10 – Feb 12, 2008" becomes "Jan 10, 2008...Feb 12, 2008".
|
|
18970
|
+
*
|
|
18971
|
+
* @since 1.113.0
|
|
18972
|
+
*/
|
|
18973
|
+
intervalDelimiter?: string;
|
|
18974
|
+
/**
|
|
18975
|
+
* Only relevant if `interval` is set to `true`. This allows you to pass an array with only one date object
|
|
18976
|
+
* to the {@link sap.ui.core.format.DateFormat#format format} method, which is then formatted as a single
|
|
18977
|
+
* value. For example, the value `[UI5Date.getInstance("2026-01-20")]` is formatted to `"Jan 20, 2026"`
|
|
18978
|
+
* in the English locale. If the `pattern` format option is set to an interval pattern, the formatted result
|
|
18979
|
+
* displays the value as an interval, but the dates of this interval are the same.
|
|
18980
|
+
*/
|
|
18981
|
+
singleIntervalValue?: boolean;
|
|
18982
|
+
};
|
|
18832
18983
|
}
|
|
18833
18984
|
|
|
18834
18985
|
namespace NumberFormat {
|
|
@@ -18899,7 +19050,7 @@ declare namespace sap {
|
|
|
18899
19050
|
currencyCode?: boolean;
|
|
18900
19051
|
/**
|
|
18901
19052
|
* Can be set either to 'standard' (the default value) or to 'accounting' for an accounting-specific currency
|
|
18902
|
-
* display
|
|
19053
|
+
* display.
|
|
18903
19054
|
*/
|
|
18904
19055
|
currencyContext?:
|
|
18905
19056
|
| "standard"
|
|
@@ -18960,18 +19111,17 @@ declare namespace sap {
|
|
|
18960
19111
|
*/
|
|
18961
19112
|
preserveDecimals?: boolean;
|
|
18962
19113
|
/**
|
|
18963
|
-
* Defines whether the currency code/symbol is shown in the formatted string,
|
|
18964
|
-
* "
|
|
19114
|
+
* Defines whether the currency code/symbol is shown in the formatted string, for example, `1 EUR` for locale
|
|
19115
|
+
* `"en"`. `NumberFormat.getCurrencyInstance({showMeasure: true}).format(1, "EUR"); // "1.00 EUR"` `NumberFormat.getCurrencyInstance({showMeasure:
|
|
19116
|
+
* false}).format(1, "EUR"); // "1.00"` If both `showMeasure` and `showNumber` are false, an empty string
|
|
19117
|
+
* is returned.
|
|
18965
19118
|
*/
|
|
18966
19119
|
showMeasure?: boolean;
|
|
18967
19120
|
/**
|
|
18968
|
-
* Defines whether the number is shown as part of the result string,
|
|
18969
|
-
*
|
|
18970
|
-
*
|
|
18971
|
-
*
|
|
18972
|
-
* ```javascript
|
|
18973
|
-
* `NumberFormat.getCurrencyInstance({showNumber: false}).format(1, "EUR"); // "EUR"````
|
|
18974
|
-
* If both `showMeasure` and `showNumber` are false, an empty string is returned
|
|
19121
|
+
* Defines whether the number is shown as part of the result string, for example, `1 EUR` for locale `"en"`.
|
|
19122
|
+
* `NumberFormat.getCurrencyInstance({showNumber: true}).format(1, "EUR"); // "1.00 EUR"` `NumberFormat.getCurrencyInstance({showNumber:
|
|
19123
|
+
* false}).format(1, "EUR"); // "EUR"` If both `showMeasure` and `showNumber` are false, an empty string
|
|
19124
|
+
* is returned.
|
|
18975
19125
|
*/
|
|
18976
19126
|
showNumber?: boolean;
|
|
18977
19127
|
/**
|
|
@@ -19201,6 +19351,7 @@ declare namespace sap {
|
|
|
19201
19351
|
/**
|
|
19202
19352
|
* Defines a set of custom units, for example:
|
|
19203
19353
|
* ```javascript
|
|
19354
|
+
*
|
|
19204
19355
|
* {"electric-inductance": {
|
|
19205
19356
|
* "displayName": "henry",
|
|
19206
19357
|
* "unitPattern-count-one": "{0} H",
|
|
@@ -19209,7 +19360,8 @@ declare namespace sap {
|
|
|
19209
19360
|
* "decimals": 2,
|
|
19210
19361
|
* "precision": 4
|
|
19211
19362
|
* }
|
|
19212
|
-
* }
|
|
19363
|
+
* }
|
|
19364
|
+
* ```
|
|
19213
19365
|
*/
|
|
19214
19366
|
customUnits?: Record<string, object>;
|
|
19215
19367
|
/**
|
|
@@ -19257,29 +19409,17 @@ declare namespace sap {
|
|
|
19257
19409
|
*/
|
|
19258
19410
|
preserveDecimals?: boolean;
|
|
19259
19411
|
/**
|
|
19260
|
-
* Defines whether the unit of measure is shown in the formatted string, for example 1 day for locale
|
|
19261
|
-
*
|
|
19262
|
-
*
|
|
19263
|
-
*
|
|
19264
|
-
* .format(1, "duration-day"); // "1 day"```
|
|
19265
|
-
*
|
|
19266
|
-
* ```javascript
|
|
19267
|
-
* NumberFormat.getUnitInstance({showMeasure: false})
|
|
19268
|
-
* .format(1, "duration-day"); // "1"```
|
|
19269
|
-
* If both `showMeasure` and `showNumber` are set to false, an empty string is returned.
|
|
19412
|
+
* Defines whether the unit of measure is shown in the formatted string, for example, `1 day` for locale
|
|
19413
|
+
* `"en"`. `NumberFormat.getUnitInstance({showMeasure: true}).format(1, "duration-day"); // "1 day"` `NumberFormat.getUnitInstance({showMeasure:
|
|
19414
|
+
* false}).format(1, "duration-day"); // "1"` If both `showMeasure` and `showNumber` are set to false, an
|
|
19415
|
+
* empty string is returned.
|
|
19270
19416
|
*/
|
|
19271
19417
|
showMeasure?: boolean;
|
|
19272
19418
|
/**
|
|
19273
|
-
* Defines whether the number is shown as part of the formatted string, for example 1 day for locale
|
|
19274
|
-
*
|
|
19275
|
-
*
|
|
19276
|
-
*
|
|
19277
|
-
* .format(1, "duration-day"); // "1 day"```
|
|
19278
|
-
*
|
|
19279
|
-
* ```javascript
|
|
19280
|
-
* NumberFormat.getUnitInstance({showNumber: false})
|
|
19281
|
-
* .format(1, "duration-day"); // "day"```
|
|
19282
|
-
* If both `showMeasure` and `showNumber` are false, an empty string is returned
|
|
19419
|
+
* Defines whether the number is shown as part of the formatted string, for example, `1 day` for locale
|
|
19420
|
+
* `"en"`. `NumberFormat.getUnitInstance({showNumber: true}).format(1, "duration-day"); // "1 day"` `NumberFormat.getUnitInstance({showNumber:
|
|
19421
|
+
* false}).format(1, "duration-day"); // "day"` If both `showMeasure` and `showNumber` are false, an empty
|
|
19422
|
+
* string is returned.
|
|
19283
19423
|
*/
|
|
19284
19424
|
showNumber?: boolean;
|
|
19285
19425
|
/**
|
|
@@ -19322,92 +19462,7 @@ declare namespace sap {
|
|
|
19322
19462
|
/**
|
|
19323
19463
|
* Object which defines the format options
|
|
19324
19464
|
*/
|
|
19325
|
-
oFormatOptions?:
|
|
19326
|
-
/**
|
|
19327
|
-
* since 1.108.0 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
19328
|
-
* and `oFormatOptions.minimalDaysInFirstWeek`.
|
|
19329
|
-
*/
|
|
19330
|
-
calendarWeekNumbering?: import("sap/base/i18n/date/CalendarWeekNumbering").default;
|
|
19331
|
-
/**
|
|
19332
|
-
* since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
19333
|
-
* the value taken from the locale is used
|
|
19334
|
-
*/
|
|
19335
|
-
firstDayOfWeek?: int;
|
|
19336
|
-
/**
|
|
19337
|
-
* since 1.105.0 minimal days at the beginning of the year which define the first calendar week; if not
|
|
19338
|
-
* defined, the value taken from the locale is used
|
|
19339
|
-
*/
|
|
19340
|
-
minimalDaysInFirstWeek?: int;
|
|
19341
|
-
/**
|
|
19342
|
-
* since 1.34.0 contains pattern symbols (e.g. "yMMMd" or "Hms") which will be converted into the pattern
|
|
19343
|
-
* in the used locale, which matches the wanted symbols best. The symbols must be in canonical order, that
|
|
19344
|
-
* is: Era (G), Year (y/Y), Quarter (q/Q), Month (M/L), Week (w), Day-Of-Week (E/e/c), Day (d), Hour (h/H/k/K/j/J),
|
|
19345
|
-
* Minute (m), Second (s), Timezone (z/Z/v/V/O/X/x) See {@link https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems Unicode Locale Data Markup Language (LDML): Elements availableFormats, appendItems}.
|
|
19346
|
-
*/
|
|
19347
|
-
format?: string;
|
|
19348
|
-
/**
|
|
19349
|
-
* a data pattern in LDML format. It is not verified whether the pattern represents only a date.
|
|
19350
|
-
*/
|
|
19351
|
-
pattern?: string;
|
|
19352
|
-
/**
|
|
19353
|
-
* can be either 'short, 'medium', 'long' or 'full'. If no pattern is given, a locale dependent default
|
|
19354
|
-
* date pattern of that style is used from the LocaleData class.
|
|
19355
|
-
*/
|
|
19356
|
-
style?: string;
|
|
19357
|
-
/**
|
|
19358
|
-
* if true, by parsing it is checked if the value is a valid date
|
|
19359
|
-
*/
|
|
19360
|
-
strictParsing?: boolean;
|
|
19361
|
-
/**
|
|
19362
|
-
* if true, the date is formatted relatively to todays date if it is within the given day range, e.g. "today",
|
|
19363
|
-
* "1 day ago", "in 5 days"
|
|
19364
|
-
*/
|
|
19365
|
-
relative?: boolean;
|
|
19366
|
-
/**
|
|
19367
|
-
* the day range used for relative formatting. If `oFormatOptions.relativeScale` is set to default value
|
|
19368
|
-
* 'day', the relativeRange is by default [-6, 6], which means only the last 6 days, today and the next
|
|
19369
|
-
* 6 days are formatted relatively. Otherwise when `oFormatOptions.relativeScale` is set to 'auto', all
|
|
19370
|
-
* dates are formatted relatively.
|
|
19371
|
-
*/
|
|
19372
|
-
relativeRange?: int[];
|
|
19373
|
-
/**
|
|
19374
|
-
* if 'auto' is set, new relative time format is switched on for all Date/Time Instances. The relative scale
|
|
19375
|
-
* is chosen depending on the difference between the given date and now.
|
|
19376
|
-
*/
|
|
19377
|
-
relativeScale?: string;
|
|
19378
|
-
/**
|
|
19379
|
-
* since 1.32.10, 1.34.4 the style of the relative format. The valid values are "wide", "short", "narrow"
|
|
19380
|
-
*/
|
|
19381
|
-
relativeStyle?: string;
|
|
19382
|
-
/**
|
|
19383
|
-
* since 1.48.0 if true, the {@link sap.ui.core.format.DateFormat#format format} method expects an array
|
|
19384
|
-
* with two dates as the first argument and formats them as interval. Further interval "Jan 10, 2008 - Jan
|
|
19385
|
-
* 12, 2008" will be formatted as "Jan 10-12, 2008" if the 'format' option is set with necessary symbols.
|
|
19386
|
-
* Otherwise the two given dates are formatted separately and concatenated with local dependent pattern.
|
|
19387
|
-
*/
|
|
19388
|
-
interval?: boolean;
|
|
19389
|
-
/**
|
|
19390
|
-
* Since 1.113.0, a delimiter for intervals. With a given interval delimiter a specific interval format
|
|
19391
|
-
* is created. **Example:** If `oFormatOptions.intervalDelimiter` is set to "...", an interval would be
|
|
19392
|
-
* given as "Jan 10, 2008...Feb 12, 2008". **Note:** If this format option is set, the locale-specific interval
|
|
19393
|
-
* notation is overruled, for example "Jan 10 – Feb 12, 2008" becomes "Jan 10, 2008...Feb 12, 2008".
|
|
19394
|
-
*/
|
|
19395
|
-
intervalDelimiter?: string;
|
|
19396
|
-
/**
|
|
19397
|
-
* Only relevant if oFormatOptions.interval is set to 'true'. This allows to pass an array with only one
|
|
19398
|
-
* date object to the {@link sap.ui.core.format.DateFormat#format format} method.
|
|
19399
|
-
*/
|
|
19400
|
-
singleIntervalValue?: boolean;
|
|
19401
|
-
/**
|
|
19402
|
-
* if true, the date is formatted and parsed as UTC instead of the local timezone
|
|
19403
|
-
*/
|
|
19404
|
-
UTC?: boolean;
|
|
19405
|
-
/**
|
|
19406
|
-
* The calender type which is used to format and parse the date. This value is by default either set in
|
|
19407
|
-
* configuration or calculated based on current locale.
|
|
19408
|
-
*/
|
|
19409
|
-
calendarType?: import("sap/base/i18n/date/CalendarType").default;
|
|
19410
|
-
},
|
|
19465
|
+
oFormatOptions?: sap.ui.core.format.DateFormat.DateFormatOptions,
|
|
19411
19466
|
/**
|
|
19412
19467
|
* Locale to ask for locale specific texts/settings
|
|
19413
19468
|
*/
|
|
@@ -56870,9 +56925,9 @@ declare namespace sap {
|
|
|
56870
56925
|
*/
|
|
56871
56926
|
constructor(
|
|
56872
56927
|
/**
|
|
56873
|
-
*
|
|
56928
|
+
* The format options
|
|
56874
56929
|
*/
|
|
56875
|
-
oFormatOptions?:
|
|
56930
|
+
oFormatOptions?: sap.ui.core.format.DateFormat.DateFormatOptions,
|
|
56876
56931
|
/**
|
|
56877
56932
|
* constraints; {@link #validateValue validateValue} throws an error if any constraint is violated
|
|
56878
56933
|
*/
|
|
@@ -75775,20 +75830,9 @@ declare namespace sap {
|
|
|
75775
75830
|
*/
|
|
75776
75831
|
constructor(
|
|
75777
75832
|
/**
|
|
75778
|
-
*
|
|
75833
|
+
* The format options
|
|
75779
75834
|
*/
|
|
75780
|
-
oFormatOptions?:
|
|
75781
|
-
/**
|
|
75782
|
-
* Additional set of options used to create a second `DateFormat` object for conversions between string
|
|
75783
|
-
* values in the data source (e.g. model) and `Date`. This second format object is used to convert from
|
|
75784
|
-
* a model `string` to `Date` before converting the `Date` to `string` with the primary format object. Vice
|
|
75785
|
-
* versa, this 'source' format is also used to format an already parsed external value (e.g. user input)
|
|
75786
|
-
* into the string format that is expected by the data source. For a list of all available options, see
|
|
75787
|
-
* {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}. In case an empty object is given, the
|
|
75788
|
-
* default is the ISO date notation (yyyy-MM-dd).
|
|
75789
|
-
*/
|
|
75790
|
-
source?: object;
|
|
75791
|
-
},
|
|
75835
|
+
oFormatOptions?: sap.ui.model.type.DateTypeFormatOptions,
|
|
75792
75836
|
/**
|
|
75793
75837
|
* Value constraints
|
|
75794
75838
|
*/
|
|
@@ -76885,6 +76929,24 @@ declare namespace sap {
|
|
|
76885
76929
|
trailingCurrencyCode?: boolean;
|
|
76886
76930
|
};
|
|
76887
76931
|
|
|
76932
|
+
/**
|
|
76933
|
+
* The format options for the `sap.ui.model.type.Date`.
|
|
76934
|
+
*/
|
|
76935
|
+
type DateTypeFormatOptions =
|
|
76936
|
+
sap.ui.core.format.DateFormat.DateFormatOptions & {
|
|
76937
|
+
/**
|
|
76938
|
+
* Additional set of format options for a second `DateFormat` object. This object handles conversions between
|
|
76939
|
+
* string values in the data source (for example, model) and `Date` objects. These source options are used
|
|
76940
|
+
* for two-way data binding:
|
|
76941
|
+
* - **Model to View:** Converts a string from the model to a `Date` object. Afterwards the main format
|
|
76942
|
+
* options are used to convert that `Date` object to a string for display.
|
|
76943
|
+
* - **View to Model:** Converts a parsed external value, for example, user input, into the string format
|
|
76944
|
+
* that the data source requires. If an empty object is provided, the default format is the ISO date
|
|
76945
|
+
* notation (yyyy-MM-dd).
|
|
76946
|
+
*/
|
|
76947
|
+
source?: sap.ui.core.format.DateFormat.DateFormatOptions;
|
|
76948
|
+
};
|
|
76949
|
+
|
|
76888
76950
|
/**
|
|
76889
76951
|
* The format options of the {@link sap.ui.model.type.Float} type.
|
|
76890
76952
|
*/
|
|
@@ -88880,6 +88942,12 @@ declare namespace sap {
|
|
|
88880
88942
|
|
|
88881
88943
|
"sap/ui/core/Placeholder": undefined;
|
|
88882
88944
|
|
|
88945
|
+
"sap/ui/core/popover/PopoverFlipMode": undefined;
|
|
88946
|
+
|
|
88947
|
+
"sap/ui/core/popover/PopoverPhysicalSide": undefined;
|
|
88948
|
+
|
|
88949
|
+
"sap/ui/core/popover/Positioning": undefined;
|
|
88950
|
+
|
|
88883
88951
|
"sap/ui/core/Popup": undefined;
|
|
88884
88952
|
|
|
88885
88953
|
"sap/ui/core/postmessage/Bus": undefined;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.export.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.153.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -692,6 +692,7 @@ declare namespace sap {
|
|
|
692
692
|
* title: 'Some random title',
|
|
693
693
|
* modifiedBy: 'John Doe',
|
|
694
694
|
* metaSheetName: 'Custom metadata',
|
|
695
|
+
* rtl: true,
|
|
695
696
|
* metainfo: [
|
|
696
697
|
* {
|
|
697
698
|
* name: 'Grouped Properties',
|
|
@@ -1070,7 +1071,9 @@ declare namespace sap {
|
|
|
1070
1071
|
*/
|
|
1071
1072
|
label?: string;
|
|
1072
1073
|
/**
|
|
1073
|
-
* Field name or array of field names in the data source feed.
|
|
1074
|
+
* Field name or array of field names in the data source feed. A field that references a to-many navigation
|
|
1075
|
+
* property (a 1:N association) is exported as multiple values within a single cell. The values are joined
|
|
1076
|
+
* by the `separator` and, if a `template` is provided, formatted per value. Since 1.152.
|
|
1074
1077
|
*/
|
|
1075
1078
|
property?: string | string[];
|
|
1076
1079
|
/**
|
|
@@ -1164,6 +1167,10 @@ declare namespace sap {
|
|
|
1164
1167
|
* a translated read-only suffix so the lock state is visible and announced by screen readers. Since: 1.152.
|
|
1165
1168
|
*/
|
|
1166
1169
|
readOnly?: boolean;
|
|
1170
|
+
/**
|
|
1171
|
+
* Separator that joins the values of a multi value column. Since 1.152.
|
|
1172
|
+
*/
|
|
1173
|
+
separator?: string;
|
|
1167
1174
|
};
|
|
1168
1175
|
|
|
1169
1176
|
type SpreadsheetSettings = {
|
|
@@ -1203,6 +1210,11 @@ declare namespace sap {
|
|
|
1203
1210
|
* The label of the metadata sheet. The sheet will not be shown unless metadata entries are provided
|
|
1204
1211
|
*/
|
|
1205
1212
|
metaSheetName?: string;
|
|
1213
|
+
/**
|
|
1214
|
+
* Whether the exported datasheet uses a right-to-left layout. Defaults to the current UI5 RTL configuration.
|
|
1215
|
+
* @since 1.153
|
|
1216
|
+
*/
|
|
1217
|
+
rtl?: boolean;
|
|
1206
1218
|
/**
|
|
1207
1219
|
* Metadata groups with key/value pairs.
|
|
1208
1220
|
*/
|
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.geomap.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED