@openui5/ts-types-esm 1.105.0 → 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 +86 -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
|
|
@@ -15826,6 +15835,45 @@ declare module "sap/ui/core/CustomData" {
|
|
|
15826
15835
|
}
|
|
15827
15836
|
}
|
|
15828
15837
|
|
|
15838
|
+
declare module "sap/ui/core/date/CalendarWeekNumbering" {
|
|
15839
|
+
/**
|
|
15840
|
+
* @SINCE 1.105.2
|
|
15841
|
+
*
|
|
15842
|
+
* The `CalendarWeekNumbering` enum defines how to calculate calendar weeks. Each value defines:
|
|
15843
|
+
* - The first day of the week,
|
|
15844
|
+
* - the first week of the year.
|
|
15845
|
+
*
|
|
15846
|
+
* Note: This API has been introduced with version 1.108 and downported to this release with patch level
|
|
15847
|
+
* 2.
|
|
15848
|
+
*/
|
|
15849
|
+
enum CalendarWeekNumbering {
|
|
15850
|
+
/**
|
|
15851
|
+
* The default calendar week numbering:
|
|
15852
|
+
*
|
|
15853
|
+
* The framework determines the week numbering scheme; currently it is derived from the active format locale.
|
|
15854
|
+
* Future versions of UI5 might select a different week numbering scheme.
|
|
15855
|
+
*/
|
|
15856
|
+
Default = "Default",
|
|
15857
|
+
/**
|
|
15858
|
+
* Official calendar week numbering in most of Europe (ISO 8601 standard):
|
|
15859
|
+
* Monday is first day of the week, the week containing January 4th is first week of the year.
|
|
15860
|
+
*/
|
|
15861
|
+
ISO_8601 = "ISO_8601",
|
|
15862
|
+
/**
|
|
15863
|
+
* Official calendar week numbering in much of the Middle East (Middle Eastern calendar):
|
|
15864
|
+
* Saturday is first day of the week, the week containing January 1st is first week of the year.
|
|
15865
|
+
*/
|
|
15866
|
+
MiddleEastern = "MiddleEastern",
|
|
15867
|
+
/**
|
|
15868
|
+
* Official calendar week numbering in the United States, Canada, Brazil, Israel, Japan, and other countries
|
|
15869
|
+
* (Western traditional calendar):
|
|
15870
|
+
* Sunday is first day of the week, the week containing January 1st is first week of the year.
|
|
15871
|
+
*/
|
|
15872
|
+
WesternTraditional = "WesternTraditional",
|
|
15873
|
+
}
|
|
15874
|
+
export default CalendarWeekNumbering;
|
|
15875
|
+
}
|
|
15876
|
+
|
|
15829
15877
|
declare module "sap/ui/core/DeclarativeSupport" {
|
|
15830
15878
|
import HTMLView from "sap/ui/core/mvc/HTMLView";
|
|
15831
15879
|
|
|
@@ -19352,6 +19400,8 @@ declare module "sap/ui/core/ExtensionPoint" {
|
|
|
19352
19400
|
}
|
|
19353
19401
|
|
|
19354
19402
|
declare module "sap/ui/core/format/DateFormat" {
|
|
19403
|
+
import CalendarWeekNumbering from "sap/ui/core/date/CalendarWeekNumbering";
|
|
19404
|
+
|
|
19355
19405
|
import CalendarType from "sap/ui/core/CalendarType";
|
|
19356
19406
|
|
|
19357
19407
|
import Locale from "sap/ui/core/Locale";
|
|
@@ -19380,6 +19430,14 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
19380
19430
|
* Object which defines the format options
|
|
19381
19431
|
*/
|
|
19382
19432
|
oFormatOptions?: {
|
|
19433
|
+
/**
|
|
19434
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
19435
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
19436
|
+
* downported to this release with patch level 2.
|
|
19437
|
+
*/
|
|
19438
|
+
calendarWeekNumbering?:
|
|
19439
|
+
| CalendarWeekNumbering
|
|
19440
|
+
| keyof typeof CalendarWeekNumbering;
|
|
19383
19441
|
/**
|
|
19384
19442
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
19385
19443
|
* the value taken from the locale is used
|
|
@@ -19468,6 +19526,14 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
19468
19526
|
* Object which defines the format options
|
|
19469
19527
|
*/
|
|
19470
19528
|
oFormatOptions?: {
|
|
19529
|
+
/**
|
|
19530
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
19531
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
19532
|
+
* downported to this release with patch level 2.
|
|
19533
|
+
*/
|
|
19534
|
+
calendarWeekNumbering?:
|
|
19535
|
+
| CalendarWeekNumbering
|
|
19536
|
+
| keyof typeof CalendarWeekNumbering;
|
|
19471
19537
|
/**
|
|
19472
19538
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
19473
19539
|
* the value taken from the locale is used
|
|
@@ -19560,6 +19626,14 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
19560
19626
|
* An object which defines the format options
|
|
19561
19627
|
*/
|
|
19562
19628
|
oFormatOptions?: {
|
|
19629
|
+
/**
|
|
19630
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
19631
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
19632
|
+
* downported to this release with patch level 2.
|
|
19633
|
+
*/
|
|
19634
|
+
calendarWeekNumbering?:
|
|
19635
|
+
| CalendarWeekNumbering
|
|
19636
|
+
| keyof typeof CalendarWeekNumbering;
|
|
19563
19637
|
/**
|
|
19564
19638
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
19565
19639
|
* the value taken from the locale is used
|
|
@@ -19649,6 +19723,14 @@ declare module "sap/ui/core/format/DateFormat" {
|
|
|
19649
19723
|
* Object which defines the format options
|
|
19650
19724
|
*/
|
|
19651
19725
|
oFormatOptions?: {
|
|
19726
|
+
/**
|
|
19727
|
+
* @since 1.105.2 specifies the calendar week numbering. If specified, this overwrites `oFormatOptions.firstDayOfWeek`
|
|
19728
|
+
* and `oFormatOptions.minimalDaysInFirstWeek`. Note: This API has been introduced with version 1.108 and
|
|
19729
|
+
* downported to this release with patch level 2.
|
|
19730
|
+
*/
|
|
19731
|
+
calendarWeekNumbering?:
|
|
19732
|
+
| CalendarWeekNumbering
|
|
19733
|
+
| keyof typeof CalendarWeekNumbering;
|
|
19652
19734
|
/**
|
|
19653
19735
|
* @since 1.105.0 specifies the first day of the week starting with `0` (which is Sunday); if not defined,
|
|
19654
19736
|
* the value taken from the locale is used
|
|
@@ -75616,6 +75698,8 @@ declare namespace sap {
|
|
|
75616
75698
|
|
|
75617
75699
|
"sap/ui/core/CustomData": undefined;
|
|
75618
75700
|
|
|
75701
|
+
"sap/ui/core/date/CalendarWeekNumbering": undefined;
|
|
75702
|
+
|
|
75619
75703
|
"sap/ui/core/date/UniversalDate": undefined;
|
|
75620
75704
|
|
|
75621
75705
|
"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