@openui5/ts-types 1.105.1 → 1.105.2
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 +1 -1
- package/types/sap.m.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.core.d.ts +75 -2
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1 -1
- 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 +1 -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.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/package.json
CHANGED
package/types/sap.f.d.ts
CHANGED
package/types/sap.m.d.ts
CHANGED
package/types/sap.tnt.d.ts
CHANGED
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
|
|
|
264
264
|
): jQuery;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
// For Library Version: 1.105.
|
|
267
|
+
// For Library Version: 1.105.2
|
|
268
268
|
|
|
269
269
|
declare module "sap/base/assert" {
|
|
270
270
|
/**
|
|
@@ -966,6 +966,9 @@ declare module "sap/base/security/URLListValidator" {
|
|
|
966
966
|
*
|
|
967
967
|
* Note: Adding the first entry to the list of allowed entries will disallow all URLs but the ones matching
|
|
968
968
|
* the newly added entry.
|
|
969
|
+
*
|
|
970
|
+
* **Note**: It is strongly recommended to set a path only in combination with an origin (never set a path
|
|
971
|
+
* alone). There's almost no case where checking only the path of a URL would allow to ensure its validity.
|
|
969
972
|
*/
|
|
970
973
|
add(
|
|
971
974
|
/**
|
|
@@ -1000,7 +1003,13 @@ declare module "sap/base/security/URLListValidator" {
|
|
|
1000
1003
|
/**
|
|
1001
1004
|
* Validates a URL. Check if it's not a script or other security issue.
|
|
1002
1005
|
*
|
|
1003
|
-
*
|
|
1006
|
+
* **Note**: It is strongly recommended to validate only absolute URLs. There's almost no case where checking
|
|
1007
|
+
* only the path of a URL would allow to ensure its validity. For compatibility reasons, this API cannot
|
|
1008
|
+
* automatically resolve URLs relative to `document.baseURI`, but callers should do so. In that case, and
|
|
1009
|
+
* when the allow list is not empty, an entry for the origin of `document.baseURI` must be added to the
|
|
1010
|
+
* allow list.
|
|
1011
|
+
*
|
|
1012
|
+
* Details: Splits the given URL into components and checks for allowed characters according to RFC 3986:
|
|
1004
1013
|
*
|
|
1005
1014
|
*
|
|
1006
1015
|
* ```javascript
|
|
@@ -13062,6 +13071,12 @@ declare namespace sap {
|
|
|
13062
13071
|
* Object which defines the format options
|
|
13063
13072
|
*/
|
|
13064
13073
|
oFormatOptions?: {
|
|
13074
|
+
/**
|
|
13075
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13076
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
13077
|
+
* downported to this release with patch level 2.
|
|
13078
|
+
*/
|
|
13079
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13065
13080
|
/**
|
|
13066
13081
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13067
13082
|
* the value taken from the locale is used
|
|
@@ -13150,6 +13165,12 @@ declare namespace sap {
|
|
|
13150
13165
|
* Object which defines the format options
|
|
13151
13166
|
*/
|
|
13152
13167
|
oFormatOptions?: {
|
|
13168
|
+
/**
|
|
13169
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13170
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
13171
|
+
* downported to this release with patch level 2.
|
|
13172
|
+
*/
|
|
13173
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13153
13174
|
/**
|
|
13154
13175
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13155
13176
|
* the value taken from the locale is used
|
|
@@ -13242,6 +13263,12 @@ declare namespace sap {
|
|
|
13242
13263
|
* An object which defines the format options
|
|
13243
13264
|
*/
|
|
13244
13265
|
oFormatOptions?: {
|
|
13266
|
+
/**
|
|
13267
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13268
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
13269
|
+
* downported to this release with patch level 2.
|
|
13270
|
+
*/
|
|
13271
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13245
13272
|
/**
|
|
13246
13273
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13247
13274
|
* the value taken from the locale is used
|
|
@@ -13331,6 +13358,12 @@ declare namespace sap {
|
|
|
13331
13358
|
* Object which defines the format options
|
|
13332
13359
|
*/
|
|
13333
13360
|
oFormatOptions?: {
|
|
13361
|
+
/**
|
|
13362
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
13363
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
13364
|
+
* downported to this release with patch level 2.
|
|
13365
|
+
*/
|
|
13366
|
+
calendarWeekNumbering?: sap.ui.core.date.CalendarWeekNumbering;
|
|
13334
13367
|
/**
|
|
13335
13368
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
13336
13369
|
* the value taken from the locale is used
|
|
@@ -18167,6 +18200,44 @@ declare namespace sap {
|
|
|
18167
18200
|
}
|
|
18168
18201
|
}
|
|
18169
18202
|
|
|
18203
|
+
namespace date {
|
|
18204
|
+
/**
|
|
18205
|
+
* @SINCE 1.105.2
|
|
18206
|
+
*
|
|
18207
|
+
* The `CalendarWeekNumbering` enum defines how to calculate calendar weeks. Each value defines:
|
|
18208
|
+
* - The first day of the week,
|
|
18209
|
+
* - the first week of the year.
|
|
18210
|
+
*
|
|
18211
|
+
* Note: This API has been introduced with version 1.108 and downported to this release with patch level
|
|
18212
|
+
* 2.
|
|
18213
|
+
*/
|
|
18214
|
+
enum CalendarWeekNumbering {
|
|
18215
|
+
/**
|
|
18216
|
+
* The default calendar week numbering:
|
|
18217
|
+
*
|
|
18218
|
+
* The framework determines the week numbering scheme; currently it is derived from the active format locale.
|
|
18219
|
+
* Future versions of UI5 might select a different week numbering scheme.
|
|
18220
|
+
*/
|
|
18221
|
+
Default = "Default",
|
|
18222
|
+
/**
|
|
18223
|
+
* Official calendar week numbering in most of Europe (ISO 8601 standard):
|
|
18224
|
+
* Monday is first day of the week, the week containing January 4th is first week of the year.
|
|
18225
|
+
*/
|
|
18226
|
+
ISO_8601 = "ISO_8601",
|
|
18227
|
+
/**
|
|
18228
|
+
* Official calendar week numbering in much of the Middle East (Middle Eastern calendar):
|
|
18229
|
+
* Saturday is first day of the week, the week containing January 1st is first week of the year.
|
|
18230
|
+
*/
|
|
18231
|
+
MiddleEastern = "MiddleEastern",
|
|
18232
|
+
/**
|
|
18233
|
+
* Official calendar week numbering in the United States, Canada, Brazil, Israel, Japan, and other countries
|
|
18234
|
+
* (Western traditional calendar):
|
|
18235
|
+
* Sunday is first day of the week, the week containing January 1st is first week of the year.
|
|
18236
|
+
*/
|
|
18237
|
+
WesternTraditional = "WesternTraditional",
|
|
18238
|
+
}
|
|
18239
|
+
}
|
|
18240
|
+
|
|
18170
18241
|
namespace Element {
|
|
18171
18242
|
/**
|
|
18172
18243
|
* @SINCE 1.67
|
|
@@ -72889,6 +72960,8 @@ declare namespace sap {
|
|
|
72889
72960
|
|
|
72890
72961
|
"sap/ui/core/CustomData": undefined;
|
|
72891
72962
|
|
|
72963
|
+
"sap/ui/core/date/CalendarWeekNumbering": undefined;
|
|
72964
|
+
|
|
72892
72965
|
"sap/ui/core/date/UniversalDate": undefined;
|
|
72893
72966
|
|
|
72894
72967
|
"sap/ui/core/date/UniversalDateUtils": undefined;
|
package/types/sap.ui.dt.d.ts
CHANGED
package/types/sap.ui.fl.d.ts
CHANGED
package/types/sap.ui.layout.d.ts
CHANGED
package/types/sap.ui.mdc.d.ts
CHANGED
package/types/sap.ui.rta.d.ts
CHANGED
package/types/sap.ui.suite.d.ts
CHANGED
package/types/sap.ui.table.d.ts
CHANGED
package/types/sap.ui.ux3.d.ts
CHANGED
package/types/sap.uxap.d.ts
CHANGED