@sapui5/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": "@sapui5/types",
3
- "version": "1.120.0",
3
+ "version": "1.120.1",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -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/chart/library" {
4
4
  import Dimension from "sap/chart/data/Dimension";
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 module "sap/tnt/library" {
4
4
  export interface IToolHeader {
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 module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -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/makit/library" {
4
4
  /**
package/types/sap.me.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 module "sap/me/library" {
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 module "sap/ndc/library" {}
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 module "sap/suite/ui/microchart/library" {
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 module "sap/tnt/library" {
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 module "sap/ui/codeeditor/library" {}
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 module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -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/comp/library" {
4
4
  /**
@@ -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:
@@ -5287,14 +5296,15 @@ declare module "sap/ui/model/FilterProcessor" {
5287
5296
  * Groups filters according to their path and combines filters on the same path using "OR" and filters on
5288
5297
  * different paths using "AND", all multi-filters contained are ANDed.
5289
5298
  *
5290
- * @returns Single Filter containing all filters of the array combined or undefined
5299
+ * @returns A single filter containing all filters of the array combined or `undefined` if no filters are
5300
+ * given
5291
5301
  */
5292
5302
  groupFilters(
5293
5303
  /**
5294
- * the filters to be grouped
5304
+ * The filters to be grouped
5295
5305
  */
5296
- aFilters: Filter[]
5297
- ): Filter;
5306
+ aFilters?: Filter[]
5307
+ ): Filter | undefined;
5298
5308
  }
5299
5309
  const FilterProcessor: FilterProcessor;
5300
5310
  export default FilterProcessor;
@@ -13892,6 +13902,8 @@ declare module "sap/ui/core/Component" {
13892
13902
  ): Function;
13893
13903
  /**
13894
13904
  * @since 1.56.0
13905
+ * @deprecated (since 1.120) - please use the static {@link sap.ui.core.Component.getComponentById getComponentById }
13906
+ * instead.
13895
13907
  *
13896
13908
  * Returns an existing component instance, identified by its ID.
13897
13909
  *
@@ -13903,6 +13915,19 @@ declare module "sap/ui/core/Component" {
13903
13915
  */
13904
13916
  sId: string
13905
13917
  ): Component | undefined;
13918
+ /**
13919
+ * @since 1.120
13920
+ *
13921
+ * Returns an existing component instance, identified by its ID.
13922
+ *
13923
+ * @returns Component instance or `undefined` when no component with the given ID exists.
13924
+ */
13925
+ static getComponentById(
13926
+ /**
13927
+ * ID of the component.
13928
+ */
13929
+ sId: string
13930
+ ): Component | undefined;
13906
13931
  /**
13907
13932
  * Returns the metadata for the Component class.
13908
13933
  *
@@ -15566,6 +15591,8 @@ declare module "sap/ui/core/Configuration" {
15566
15591
 
15567
15592
  import BaseObject from "sap/ui/base/Object";
15568
15593
 
15594
+ import { CustomIslamicCalendarData } from "sap/base/i18n/Formatting";
15595
+
15569
15596
  /**
15570
15597
  * @deprecated (since 1.120)
15571
15598
  *
@@ -16129,8 +16156,7 @@ declare module "sap/ui/core/Configuration" {
16129
16156
  * - date and number data types that are used in property bindings or composite bindings in existing Elements,
16130
16157
  * Controls, UIAreas or Components
16131
16158
  * - ResourceModels currently assigned to the Core, a UIArea, Component, Element or Control
16132
- * - Elements or Controls that implement the `onlocalizationChanged` hook (note the lowercase 'l' in onlocalizationChanged)
16133
- *
16159
+ * - Elements or Controls that implement the `onLocalizationChanged` hook
16134
16160
  *
16135
16161
  * It furthermore derives the RTL mode from the new language, if no explicit RTL mode has been set. If the
16136
16162
  * RTL mode changes, the following additional actions will be taken:
@@ -16366,12 +16392,14 @@ declare module "sap/ui/core/Configuration" {
16366
16392
  /**
16367
16393
  * @since 1.120
16368
16394
  *
16369
- * Returns the currently set customizing data for Islamic calendar support
16395
+ * Returns the currently set customizing data for Islamic calendar support.
16370
16396
  *
16371
- * @returns Returns an array contains the customizing data. Each element in the array has properties: dateFormat,
16372
- * islamicMonthStart, gregDate. For details, please see {@link #setLegacyDateCalendarCustomizing}
16397
+ * See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
16398
+ *
16399
+ * @returns Returns an array that contains the customizing data. Each element in the array has properties:
16400
+ * dateFormat, islamicMonthStart, gregDate. For details, please see {@link #.setCustomIslamicCalendarData}
16373
16401
  */
16374
- getLegacyDateCalendarCustomizing(): object[] | undefined;
16402
+ getLegacyDateCalendarCustomizing(): CustomIslamicCalendarData[] | undefined;
16375
16403
  /**
16376
16404
  * @since 1.120
16377
16405
  *
@@ -16491,25 +16519,15 @@ declare module "sap/ui/core/Configuration" {
16491
16519
  * @since 1.120
16492
16520
  *
16493
16521
  * Allows to specify the customizing data for Islamic calendar support
16522
+ *
16523
+ * See: {@link module:sap/base/i18n/Formatting.CustomIslamicCalendarData}
16494
16524
  */
16495
16525
  setLegacyDateCalendarCustomizing(
16496
16526
  /**
16497
- * contains the customizing data for the support of Islamic calendar.
16527
+ * Contains the customizing data for the support of Islamic calendar. One JSON object in the array represents
16528
+ * one row of data from Table TISLCAL
16498
16529
  */
16499
- aMappings: Array<{
16500
- /**
16501
- * The date format
16502
- */
16503
- dateFormat: string;
16504
- /**
16505
- * The Islamic date
16506
- */
16507
- islamicMonthStart: string;
16508
- /**
16509
- * The corresponding Gregorian date
16510
- */
16511
- gregDate: string;
16512
- }>
16530
+ aCustomCalendarData: CustomIslamicCalendarData[]
16513
16531
  ): void;
16514
16532
  /**
16515
16533
  * Allows to specify one of the legacy ABAP date formats.
@@ -39496,6 +39514,8 @@ declare module "sap/ui/core/search/OpenSearchProvider" {
39496
39514
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
39497
39515
 
39498
39516
  /**
39517
+ * @deprecated (since 1.120)
39518
+ *
39499
39519
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
39500
39520
  */
39501
39521
  export default class OpenSearchProvider extends SearchProvider {
@@ -39650,6 +39670,8 @@ declare module "sap/ui/core/search/SearchProvider" {
39650
39670
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
39651
39671
 
39652
39672
  /**
39673
+ * @deprecated (since 1.120)
39674
+ *
39653
39675
  * Abstract base class for all SearchProviders which can be e.g. attached to a SearchField.
39654
39676
  *
39655
39677
  * Do not create instances of this class, but use a concrete subclass instead.
@@ -64503,9 +64525,11 @@ declare module "sap/ui/model/odata/v2/ODataModel" {
64503
64525
  */
64504
64526
  inactive?: boolean;
64505
64527
  /**
64506
- * An array that specifies a set of properties or the entry
64528
+ * The initial values of the entry, or an array that specifies a list of property names to be initialized
64529
+ * with `undefined`; **Note:** Passing a list of property names is deprecated since 1.120; pass the initial
64530
+ * values as an object instead
64507
64531
  */
64508
- properties?: any[] | object;
64532
+ properties?: object | string[];
64509
64533
  /**
64510
64534
  * Whether to update all bindings after submitting this change operation, see {@link #setRefreshAfterChange};
64511
64535
  * 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 module "sap/ui/export/library" {
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 module "sap/ui/fl/library" {}
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 module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -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/layout/library" {
4
4
  import Control from "sap/ui/core/Control";
@@ -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";
@@ -7639,6 +7639,10 @@ declare module "sap/ui/mdc/field/ConditionsType" {
7639
7639
  * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
7640
7640
  */
7641
7641
  keepValue?: string;
7642
+ /**
7643
+ * If set, the input and output might contain multiple lines
7644
+ */
7645
+ multipleLines?: boolean;
7642
7646
  },
7643
7647
  /**
7644
7648
  * Value constraints
@@ -7863,6 +7867,10 @@ declare module "sap/ui/mdc/field/ConditionType" {
7863
7867
  * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
7864
7868
  */
7865
7869
  keepValue?: string;
7870
+ /**
7871
+ * If set, the input and output might contain multiple lines
7872
+ */
7873
+ multipleLines?: boolean;
7866
7874
  },
7867
7875
  /**
7868
7876
  * Value constraints
@@ -8082,6 +8090,10 @@ declare module "sap/ui/mdc/field/DynamicDateRangeConditionsType" {
8082
8090
  * If `noFormatting` is set, this value is used as output to keep the typed value during value help selection
8083
8091
  */
8084
8092
  keepValue?: string;
8093
+ /**
8094
+ * If set, the input and output might contain multiple lines
8095
+ */
8096
+ multipleLines?: boolean;
8085
8097
  },
8086
8098
  /**
8087
8099
  * 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/richtexteditor/library" {
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 module "sap/ui/rta/api/startAdaptation" {
4
4
  import Control from "sap/ui/core/Control";
@@ -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/suite/library" {
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 module "sap/ui/support/library" {
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 module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -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/testrecorder/library" {}
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 module "sap/ui/unified/library" {
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 module "sap/ui/ux3/library" {
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 module "sap/ui/webc/common/library" {}
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 module "sap/ui/webc/fiori/library" {
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 module "sap/ui/webc/main/library" {
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 module "sap/uiext/inbox/library" {}
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 module "sap/ushell/library" {
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
  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 module "sap/uxap/library" {
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 module "sap/viz/library" {
4
4
  export namespace ui5 {