@openui5/types 1.129.0 → 1.130.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/types",
3
- "version": "1.129.0",
3
+ "version": "1.130.1",
4
4
  "description": "OpenUI5 TypeScript Definitions",
5
5
  "homepage": "https://sap.github.io/ui5-typescript",
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.129.0
1
+ // For Library Version: 1.130.1
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -2281,6 +2281,8 @@ declare module "sap/f/cards/Header" {
2281
2281
 
2282
2282
  import AvatarShape from "sap/m/AvatarShape";
2283
2283
 
2284
+ import AvatarImageFitType from "sap/m/AvatarImageFitType";
2285
+
2284
2286
  import AvatarSize from "sap/m/AvatarSize";
2285
2287
 
2286
2288
  import { URI } from "sap/ui/core/library";
@@ -2497,6 +2499,18 @@ declare module "sap/f/cards/Header" {
2497
2499
  * @returns Value of property `iconDisplayShape`
2498
2500
  */
2499
2501
  getIconDisplayShape(): AvatarShape | keyof typeof AvatarShape;
2502
+ /**
2503
+ * Gets current value of property {@link #getIconFitType iconFitType}.
2504
+ *
2505
+ * Defines how the image fits in the icon area.
2506
+ *
2507
+ * Default value is `Cover`.
2508
+ *
2509
+ * @since 1.130
2510
+ *
2511
+ * @returns Value of property `iconFitType`
2512
+ */
2513
+ getIconFitType(): AvatarImageFitType | keyof typeof AvatarImageFitType;
2500
2514
  /**
2501
2515
  * Gets current value of property {@link #getIconInitials iconInitials}.
2502
2516
  *
@@ -2656,6 +2670,25 @@ declare module "sap/f/cards/Header" {
2656
2670
  */
2657
2671
  sIconDisplayShape?: AvatarShape | keyof typeof AvatarShape
2658
2672
  ): this;
2673
+ /**
2674
+ * Sets a new value for property {@link #getIconFitType iconFitType}.
2675
+ *
2676
+ * Defines how the image fits in the icon area.
2677
+ *
2678
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2679
+ *
2680
+ * Default value is `Cover`.
2681
+ *
2682
+ * @since 1.130
2683
+ *
2684
+ * @returns Reference to `this` in order to allow method chaining
2685
+ */
2686
+ setIconFitType(
2687
+ /**
2688
+ * New value for property `iconFitType`
2689
+ */
2690
+ sIconFitType?: AvatarImageFitType | keyof typeof AvatarImageFitType
2691
+ ): this;
2659
2692
  /**
2660
2693
  * Sets a new value for property {@link #getIconInitials iconInitials}.
2661
2694
  *
@@ -2914,6 +2947,16 @@ declare module "sap/f/cards/Header" {
2914
2947
  | PropertyBindingInfo
2915
2948
  | `{${string}}`;
2916
2949
 
2950
+ /**
2951
+ * Defines how the image fits in the icon area.
2952
+ *
2953
+ * @since 1.130
2954
+ */
2955
+ iconFitType?:
2956
+ | (AvatarImageFitType | keyof typeof AvatarImageFitType)
2957
+ | PropertyBindingInfo
2958
+ | `{${string}}`;
2959
+
2917
2960
  /**
2918
2961
  * Fires when the user presses the control.
2919
2962
  */
@@ -2995,6 +3038,8 @@ declare module "sap/f/cards/NumericHeader" {
2995
3038
 
2996
3039
  import AvatarShape from "sap/m/AvatarShape";
2997
3040
 
3041
+ import AvatarImageFitType from "sap/m/AvatarImageFitType";
3042
+
2998
3043
  import AvatarSize from "sap/m/AvatarSize";
2999
3044
 
3000
3045
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -3285,6 +3330,18 @@ declare module "sap/f/cards/NumericHeader" {
3285
3330
  * @returns Value of property `iconDisplayShape`
3286
3331
  */
3287
3332
  getIconDisplayShape(): AvatarShape | keyof typeof AvatarShape;
3333
+ /**
3334
+ * Gets current value of property {@link #getIconFitType iconFitType}.
3335
+ *
3336
+ * Defines how the image fits in the icon area.
3337
+ *
3338
+ * Default value is `Cover`.
3339
+ *
3340
+ * @since 1.130
3341
+ *
3342
+ * @returns Value of property `iconFitType`
3343
+ */
3344
+ getIconFitType(): AvatarImageFitType | keyof typeof AvatarImageFitType;
3288
3345
  /**
3289
3346
  * Gets current value of property {@link #getIconInitials iconInitials}.
3290
3347
  *
@@ -3661,6 +3718,25 @@ declare module "sap/f/cards/NumericHeader" {
3661
3718
  */
3662
3719
  sIconDisplayShape?: AvatarShape | keyof typeof AvatarShape
3663
3720
  ): this;
3721
+ /**
3722
+ * Sets a new value for property {@link #getIconFitType iconFitType}.
3723
+ *
3724
+ * Defines how the image fits in the icon area.
3725
+ *
3726
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3727
+ *
3728
+ * Default value is `Cover`.
3729
+ *
3730
+ * @since 1.130
3731
+ *
3732
+ * @returns Reference to `this` in order to allow method chaining
3733
+ */
3734
+ setIconFitType(
3735
+ /**
3736
+ * New value for property `iconFitType`
3737
+ */
3738
+ sIconFitType?: AvatarImageFitType | keyof typeof AvatarImageFitType
3739
+ ): this;
3664
3740
  /**
3665
3741
  * Sets a new value for property {@link #getIconInitials iconInitials}.
3666
3742
  *
@@ -4091,6 +4167,16 @@ declare module "sap/f/cards/NumericHeader" {
4091
4167
  | PropertyBindingInfo
4092
4168
  | `{${string}}`;
4093
4169
 
4170
+ /**
4171
+ * Defines how the image fits in the icon area.
4172
+ *
4173
+ * @since 1.130
4174
+ */
4175
+ iconFitType?:
4176
+ | (AvatarImageFitType | keyof typeof AvatarImageFitType)
4177
+ | PropertyBindingInfo
4178
+ | `{${string}}`;
4179
+
4094
4180
  /**
4095
4181
  * General unit of measurement for the header. Displayed as side information to the subtitle.
4096
4182
  */