@openui5/ts-types 1.120.0 → 1.120.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types",
3
- "version": "1.120.0",
3
+ "version": "1.120.1",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -280,7 +280,7 @@ declare namespace sap {
280
280
  }
281
281
  }
282
282
 
283
- // For Library Version: 1.120.0
283
+ // For Library Version: 1.120.1
284
284
 
285
285
  declare module "sap/base/assert" {
286
286
  /**
@@ -490,6 +490,17 @@ declare module "sap/base/i18n/Formatting" {
490
490
  * @returns the mapping between custom currencies and its digits
491
491
  */
492
492
  getCustomCurrencies(): object;
493
+ /**
494
+ * @since 1.120
495
+ *
496
+ * Returns the currently set customizing data for Islamic calendar support.
497
+ *
498
+ * See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
499
+ *
500
+ * @returns Returns an array that contains the customizing data. Each element in the array has properties:
501
+ * dateFormat, islamicMonthStart, gregDate. For details, please see {@link #.setCustomIslamicCalendarData}
502
+ */
503
+ getCustomIslamicCalendarData(): CustomIslamicCalendarData[] | undefined;
493
504
  /**
494
505
  * @since 1.120
495
506
  *
@@ -517,15 +528,6 @@ declare module "sap/base/i18n/Formatting" {
517
528
  * @returns the format LanguageTag
518
529
  */
519
530
  getLanguageTag(): LanguageTag;
520
- /**
521
- * @since 1.120
522
- *
523
- * Returns the currently set customizing data for Islamic calendar support
524
- *
525
- * @returns Returns an array contains the customizing data. Each element in the array has properties: dateFormat,
526
- * islamicMonthStart, gregDate. For details, please see {@link #setLegacyDateCalendarCustomizing}
527
- */
528
- getLegacyDateCalendarCustomizing(): object[] | undefined;
529
531
  /**
530
532
  * @since 1.120
531
533
  *
@@ -690,6 +692,20 @@ declare module "sap/base/i18n/Formatting" {
690
692
  */
691
693
  mCurrencies: object
692
694
  ): void;
695
+ /**
696
+ * @since 1.120
697
+ *
698
+ * Allows to specify the customizing data for Islamic calendar support
699
+ *
700
+ * See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
701
+ */
702
+ setCustomIslamicCalendarData(
703
+ /**
704
+ * Contains the customizing data for the support of Islamic calendar. One JSON object in the array represents
705
+ * one row of data from Table TISLCAL
706
+ */
707
+ aCustomCalendarData: CustomIslamicCalendarData[]
708
+ ): void;
693
709
  /**
694
710
  * @since 1.120
695
711
  *
@@ -741,30 +757,6 @@ declare module "sap/base/i18n/Formatting" {
741
757
  */
742
758
  vLanguageTag: string | LanguageTag | null
743
759
  ): void;
744
- /**
745
- * @since 1.120
746
- *
747
- * Allows to specify the customizing data for Islamic calendar support
748
- */
749
- setLegacyDateCalendarCustomizing(
750
- /**
751
- * contains the customizing data for the support of Islamic calendar.
752
- */
753
- aMappings: Array<{
754
- /**
755
- * The date format
756
- */
757
- dateFormat: string;
758
- /**
759
- * The Islamic date
760
- */
761
- islamicMonthStart: string;
762
- /**
763
- * The corresponding Gregorian date
764
- */
765
- gregDate: string;
766
- }>
767
- ): void;
768
760
  /**
769
761
  * @since 1.120
770
762
  *
@@ -839,6 +831,24 @@ declare module "sap/base/i18n/Formatting" {
839
831
  const Formatting: Formatting;
840
832
  export default Formatting;
841
833
 
834
+ /**
835
+ * Customizing data for the support of Islamic calendar. Represents one row of data from Table TISLCAL.
836
+ */
837
+ export type CustomIslamicCalendarData = {
838
+ /**
839
+ * The date format. Column DATFM in TISLCAL.
840
+ */
841
+ dateFormat: "A" | "B";
842
+ /**
843
+ * The Islamic date in format: 'yyyyMMdd'. Column ISLMONTHSTART in TISLCAL.
844
+ */
845
+ islamicMonthStart: string;
846
+ /**
847
+ * The corresponding Gregorian date format: 'yyyyMMdd'. Column GREGDATE in TISLCAL.
848
+ */
849
+ gregDate: string;
850
+ };
851
+
842
852
  /**
843
853
  * @since 1.120
844
854
  *
@@ -849,9 +859,9 @@ declare module "sap/base/i18n/Formatting" {
849
859
  *
850
860
  * - {@link module:sap/base/i18n/Formatting.setLanguageTag Formatting.setLanguageTag}:
851
861
  * `languageTag`
852
- * - {@link module:sap/base/i18n/Formatting.setLegacyDateCalendarCustomizing Formatting.setLegacyDateCalendarCustomizing}:
862
+ * - {@link module:sap/base/i18n/Formatting.setCustomIslamicCalendarData Formatting.setCustomIslamicCalendarData}:
853
863
  *
854
- * `legacyDateCalendarCustomizing`
864
+ * `customIslamicCalendarData`
855
865
  * - {@link module:sap/base/i18n/Formatting.setCalendarWeekNumbering Formatting.setCalendarWeekNumbering}:
856
866
  *
857
867
  * `calendarWeekNumbering`
@@ -1193,8 +1203,7 @@ declare module "sap/base/i18n/Localization" {
1193
1203
  * - date and number data types that are used in property bindings or composite bindings in existing Elements,
1194
1204
  * Controls, UIAreas or Components
1195
1205
  * - ResourceModels currently assigned to the Core, a UIArea, Component, Element or Control
1196
- * - Elements or Controls that implement the `onlocalizationChanged` hook (note the lowercase 'l' in onlocalizationChanged)
1197
- *
1206
+ * - Elements or Controls that implement the `onLocalizationChanged` hook
1198
1207
  *
1199
1208
  * It furthermore derives the RTL mode from the new language, if no explicit RTL mode has been set. If the
1200
1209
  * RTL mode changes, the following additional actions will be taken:
@@ -5261,14 +5270,15 @@ declare module "sap/ui/model/FilterProcessor" {
5261
5270
  * Groups filters according to their path and combines filters on the same path using "OR" and filters on
5262
5271
  * different paths using "AND", all multi-filters contained are ANDed.
5263
5272
  *
5264
- * @returns Single Filter containing all filters of the array combined or undefined
5273
+ * @returns A single filter containing all filters of the array combined or `undefined` if no filters are
5274
+ * given
5265
5275
  */
5266
5276
  groupFilters(
5267
5277
  /**
5268
- * the filters to be grouped
5278
+ * The filters to be grouped
5269
5279
  */
5270
- aFilters: sap.ui.model.Filter[]
5271
- ): sap.ui.model.Filter;
5280
+ aFilters?: sap.ui.model.Filter[]
5281
+ ): sap.ui.model.Filter | undefined;
5272
5282
  }
5273
5283
  const FilterProcessor: FilterProcessor;
5274
5284
  export default FilterProcessor;
@@ -21382,12 +21392,18 @@ declare namespace sap {
21382
21392
  /**
21383
21393
  * @since 1.120
21384
21394
  *
21385
- * Returns the currently set customizing data for Islamic calendar support
21395
+ * Returns the currently set customizing data for Islamic calendar support.
21396
+ *
21397
+ * See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
21386
21398
  *
21387
- * @returns Returns an array contains the customizing data. Each element in the array has properties: dateFormat,
21388
- * islamicMonthStart, gregDate. For details, please see {@link #setLegacyDateCalendarCustomizing}
21399
+ * @returns Returns an array that contains the customizing data. Each element in the array has properties:
21400
+ * dateFormat, islamicMonthStart, gregDate. For details, please see {@link #.setCustomIslamicCalendarData}
21389
21401
  */
21390
- getLegacyDateCalendarCustomizing(): object[] | undefined;
21402
+ getLegacyDateCalendarCustomizing():
21403
+ | Array<
21404
+ import("sap/base/i18n/Formatting").CustomIslamicCalendarData
21405
+ >
21406
+ | undefined;
21391
21407
  /**
21392
21408
  * @since 1.120
21393
21409
  *
@@ -21507,25 +21523,17 @@ declare namespace sap {
21507
21523
  * @since 1.120
21508
21524
  *
21509
21525
  * Allows to specify the customizing data for Islamic calendar support
21526
+ *
21527
+ * See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
21510
21528
  */
21511
21529
  setLegacyDateCalendarCustomizing(
21512
21530
  /**
21513
- * contains the customizing data for the support of Islamic calendar.
21531
+ * Contains the customizing data for the support of Islamic calendar. One JSON object in the array represents
21532
+ * one row of data from Table TISLCAL
21514
21533
  */
21515
- aMappings: Array<{
21516
- /**
21517
- * The date format
21518
- */
21519
- dateFormat: string;
21520
- /**
21521
- * The Islamic date
21522
- */
21523
- islamicMonthStart: string;
21524
- /**
21525
- * The corresponding Gregorian date
21526
- */
21527
- gregDate: string;
21528
- }>
21534
+ aCustomCalendarData: Array<
21535
+ import("sap/base/i18n/Formatting").CustomIslamicCalendarData
21536
+ >
21529
21537
  ): void;
21530
21538
  /**
21531
21539
  * Allows to specify one of the legacy ABAP date formats.
@@ -25586,6 +25594,8 @@ declare namespace sap {
25586
25594
  }
25587
25595
 
25588
25596
  /**
25597
+ * @deprecated (since 1.120)
25598
+ *
25589
25599
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
25590
25600
  */
25591
25601
  class OpenSearchProvider extends sap.ui.core.search.SearchProvider {
@@ -25721,6 +25731,8 @@ declare namespace sap {
25721
25731
  ): void;
25722
25732
  }
25723
25733
  /**
25734
+ * @deprecated (since 1.120)
25735
+ *
25724
25736
  * Abstract base class for all SearchProviders which can be e.g. attached to a SearchField.
25725
25737
  *
25726
25738
  * Do not create instances of this class, but use a concrete subclass instead.
@@ -32282,8 +32294,7 @@ declare namespace sap {
32282
32294
  * - date and number data types that are used in property bindings or composite bindings in existing Elements,
32283
32295
  * Controls, UIAreas or Components
32284
32296
  * - ResourceModels currently assigned to the Core, a UIArea, Component, Element or Control
32285
- * - Elements or Controls that implement the `onlocalizationChanged` hook (note the lowercase 'l' in onlocalizationChanged)
32286
- *
32297
+ * - Elements or Controls that implement the `onLocalizationChanged` hook
32287
32298
  *
32288
32299
  * It furthermore derives the RTL mode from the new language, if no explicit RTL mode has been set. If the
32289
32300
  * RTL mode changes, the following additional actions will be taken:
@@ -35028,6 +35039,8 @@ declare namespace sap {
35028
35039
  ): Function;
35029
35040
  /**
35030
35041
  * @since 1.56.0
35042
+ * @deprecated (since 1.120) - please use the static {@link sap.ui.core.Component.getComponentById getComponentById }
35043
+ * instead.
35031
35044
  *
35032
35045
  * Returns an existing component instance, identified by its ID.
35033
35046
  *
@@ -35039,6 +35052,19 @@ declare namespace sap {
35039
35052
  */
35040
35053
  sId: string
35041
35054
  ): sap.ui.core.Component | undefined;
35055
+ /**
35056
+ * @since 1.120
35057
+ *
35058
+ * Returns an existing component instance, identified by its ID.
35059
+ *
35060
+ * @returns Component instance or `undefined` when no component with the given ID exists.
35061
+ */
35062
+ static getComponentById(
35063
+ /**
35064
+ * ID of the component.
35065
+ */
35066
+ sId: string
35067
+ ): sap.ui.core.Component | undefined;
35042
35068
  /**
35043
35069
  * Returns the metadata for the Component class.
35044
35070
  *
@@ -56799,9 +56825,11 @@ declare namespace sap {
56799
56825
  */
56800
56826
  inactive?: boolean;
56801
56827
  /**
56802
- * An array that specifies a set of properties or the entry
56828
+ * The initial values of the entry, or an array that specifies a list of property names to be initialized
56829
+ * with `undefined`; **Note:** Passing a list of property names is deprecated since 1.120; pass the initial
56830
+ * values as an object instead
56803
56831
  */
56804
- properties?: any[] | object;
56832
+ properties?: object | string[];
56805
56833
  /**
56806
56834
  * Whether to update all bindings after submitting this change operation, see {@link #setRefreshAfterChange};
56807
56835
  * if given, this overrules the model-wide `refreshAfterChange` flag for this operation only; since 1.46
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare module "sap/ui/mdc/AggregationBaseDelegate" {
4
4
  import BaseDelegate from "sap/ui/mdc/BaseDelegate";
@@ -5100,6 +5100,10 @@ declare namespace sap {
5100
5100
  * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
5101
5101
  */
5102
5102
  keepValue?: string;
5103
+ /**
5104
+ * If set, the input and output might contain multiple lines
5105
+ */
5106
+ multipleLines?: boolean;
5103
5107
  },
5104
5108
  /**
5105
5109
  * Value constraints
@@ -5306,6 +5310,10 @@ declare namespace sap {
5306
5310
  * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
5307
5311
  */
5308
5312
  keepValue?: string;
5313
+ /**
5314
+ * If set, the input and output might contain multiple lines
5315
+ */
5316
+ multipleLines?: boolean;
5309
5317
  },
5310
5318
  /**
5311
5319
  * Value constraints
@@ -5512,6 +5520,10 @@ declare namespace sap {
5512
5520
  * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
5513
5521
  */
5514
5522
  keepValue?: string;
5523
+ /**
5524
+ * If set, the input and output might contain multiple lines
5525
+ */
5526
+ multipleLines?: boolean;
5515
5527
  },
5516
5528
  /**
5517
5529
  * Value constraints
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**