@openui5/types 1.118.0 → 1.119.0

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.118.0",
3
+ "version": "1.119.0",
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.118.0
1
+ // For Library Version: 1.119.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -1820,6 +1820,8 @@ declare module "sap/f/cards/Header" {
1820
1820
 
1821
1821
  import AvatarShape from "sap/m/AvatarShape";
1822
1822
 
1823
+ import AvatarSize from "sap/m/AvatarSize";
1824
+
1823
1825
  import { URI } from "sap/ui/core/library";
1824
1826
 
1825
1827
  import ElementMetadata from "sap/ui/core/ElementMetadata";
@@ -2038,6 +2040,18 @@ declare module "sap/f/cards/Header" {
2038
2040
  * @returns Value of property `iconInitials`
2039
2041
  */
2040
2042
  getIconInitials(): string;
2043
+ /**
2044
+ * @experimental (since 1.119) - this feature is experimental and the API may change.
2045
+ *
2046
+ * Gets current value of property {@link #getIconSize iconSize}.
2047
+ *
2048
+ * Defines the size of the icon.
2049
+ *
2050
+ * Default value is `S`.
2051
+ *
2052
+ * @returns Value of property `iconSize`
2053
+ */
2054
+ getIconSize(): AvatarSize | keyof typeof AvatarSize;
2041
2055
  /**
2042
2056
  * Gets current value of property {@link #getIconSrc iconSrc}.
2043
2057
  *
@@ -2186,6 +2200,25 @@ declare module "sap/f/cards/Header" {
2186
2200
  */
2187
2201
  sIconInitials?: string
2188
2202
  ): this;
2203
+ /**
2204
+ * @experimental (since 1.119) - this feature is experimental and the API may change.
2205
+ *
2206
+ * Sets a new value for property {@link #getIconSize iconSize}.
2207
+ *
2208
+ * Defines the size of the icon.
2209
+ *
2210
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2211
+ *
2212
+ * Default value is `S`.
2213
+ *
2214
+ * @returns Reference to `this` in order to allow method chaining
2215
+ */
2216
+ setIconSize(
2217
+ /**
2218
+ * New value for property `iconSize`
2219
+ */
2220
+ sIconSize?: AvatarSize | keyof typeof AvatarSize
2221
+ ): this;
2189
2222
  /**
2190
2223
  * Sets a new value for property {@link #getIconSrc iconSrc}.
2191
2224
  *
@@ -2392,6 +2425,16 @@ declare module "sap/f/cards/Header" {
2392
2425
  */
2393
2426
  iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
2394
2427
 
2428
+ /**
2429
+ * @experimental (since 1.119) - this feature is experimental and the API may change.
2430
+ *
2431
+ * Defines the size of the icon.
2432
+ */
2433
+ iconSize?:
2434
+ | (AvatarSize | keyof typeof AvatarSize)
2435
+ | PropertyBindingInfo
2436
+ | `{${string}}`;
2437
+
2395
2438
  /**
2396
2439
  * Fires when the user presses the control.
2397
2440
  */
@@ -2467,6 +2510,8 @@ declare module "sap/f/cards/NumericHeader" {
2467
2510
 
2468
2511
  import AvatarShape from "sap/m/AvatarShape";
2469
2512
 
2513
+ import AvatarSize from "sap/m/AvatarSize";
2514
+
2470
2515
  import ElementMetadata from "sap/ui/core/ElementMetadata";
2471
2516
 
2472
2517
  import { ValueColor, DeviationIndicator } from "sap/m/library";
@@ -2751,6 +2796,18 @@ declare module "sap/f/cards/NumericHeader" {
2751
2796
  * @returns Value of property `iconInitials`
2752
2797
  */
2753
2798
  getIconInitials(): string;
2799
+ /**
2800
+ * @experimental (since 1.119) - this feature is experimental and the API may change.
2801
+ *
2802
+ * Gets current value of property {@link #getIconSize iconSize}.
2803
+ *
2804
+ * Defines the size of the icon.
2805
+ *
2806
+ * Default value is `S`.
2807
+ *
2808
+ * @returns Value of property `iconSize`
2809
+ */
2810
+ getIconSize(): AvatarSize | keyof typeof AvatarSize;
2754
2811
  /**
2755
2812
  * @since 1.118
2756
2813
  * @experimental (since 1.118) - For usage only by Work Zone.
@@ -2786,6 +2843,16 @@ declare module "sap/f/cards/NumericHeader" {
2786
2843
  * @returns Value of property `number`
2787
2844
  */
2788
2845
  getNumber(): string;
2846
+ /**
2847
+ * Gets current value of property {@link #getNumberSize numberSize}.
2848
+ *
2849
+ * The size of the of the main indicator. Possible values are "S" and "L".
2850
+ *
2851
+ * Default value is `"L"`.
2852
+ *
2853
+ * @returns Value of property `numberSize`
2854
+ */
2855
+ getNumberSize(): string;
2789
2856
  /**
2790
2857
  * @since 1.109
2791
2858
  *
@@ -3090,6 +3157,25 @@ declare module "sap/f/cards/NumericHeader" {
3090
3157
  */
3091
3158
  sIconInitials?: string
3092
3159
  ): this;
3160
+ /**
3161
+ * @experimental (since 1.119) - this feature is experimental and the API may change.
3162
+ *
3163
+ * Sets a new value for property {@link #getIconSize iconSize}.
3164
+ *
3165
+ * Defines the size of the icon.
3166
+ *
3167
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3168
+ *
3169
+ * Default value is `S`.
3170
+ *
3171
+ * @returns Reference to `this` in order to allow method chaining
3172
+ */
3173
+ setIconSize(
3174
+ /**
3175
+ * New value for property `iconSize`
3176
+ */
3177
+ sIconSize?: AvatarSize | keyof typeof AvatarSize
3178
+ ): this;
3093
3179
  /**
3094
3180
  * @since 1.118
3095
3181
  * @experimental (since 1.118) - For usage only by Work Zone.
@@ -3146,6 +3232,23 @@ declare module "sap/f/cards/NumericHeader" {
3146
3232
  */
3147
3233
  sNumber: string
3148
3234
  ): this;
3235
+ /**
3236
+ * Sets a new value for property {@link #getNumberSize numberSize}.
3237
+ *
3238
+ * The size of the of the main indicator. Possible values are "S" and "L".
3239
+ *
3240
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
3241
+ *
3242
+ * Default value is `"L"`.
3243
+ *
3244
+ * @returns Reference to `this` in order to allow method chaining
3245
+ */
3246
+ setNumberSize(
3247
+ /**
3248
+ * New value for property `numberSize`
3249
+ */
3250
+ sNumberSize?: string
3251
+ ): this;
3149
3252
  /**
3150
3253
  * @since 1.109
3151
3254
  *
@@ -3431,6 +3534,16 @@ declare module "sap/f/cards/NumericHeader" {
3431
3534
  */
3432
3535
  iconVisible?: boolean | PropertyBindingInfo | `{${string}}`;
3433
3536
 
3537
+ /**
3538
+ * @experimental (since 1.119) - this feature is experimental and the API may change.
3539
+ *
3540
+ * Defines the size of the icon.
3541
+ */
3542
+ iconSize?:
3543
+ | (AvatarSize | keyof typeof AvatarSize)
3544
+ | PropertyBindingInfo
3545
+ | `{${string}}`;
3546
+
3434
3547
  /**
3435
3548
  * General unit of measurement for the header. Displayed as side information to the subtitle.
3436
3549
  */
@@ -3442,6 +3555,11 @@ declare module "sap/f/cards/NumericHeader" {
3442
3555
  */
3443
3556
  number?: string | PropertyBindingInfo;
3444
3557
 
3558
+ /**
3559
+ * The size of the of the main indicator. Possible values are "S" and "L".
3560
+ */
3561
+ numberSize?: string | PropertyBindingInfo;
3562
+
3445
3563
  /**
3446
3564
  * @since 1.109
3447
3565
  *
@@ -9468,7 +9586,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
9468
9586
  * for the first two pages, all other pages will open in fullscreen), and `SingleColumn` (one page at a
9469
9587
  * time only).
9470
9588
  */
9471
- mode: string;
9589
+ mode?: string;
9472
9590
  }
9473
9591
  );
9474
9592
 
@@ -9678,7 +9796,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
9678
9796
  /**
9679
9797
  * The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
9680
9798
  */
9681
- layout?: string;
9799
+ layout?: LayoutType | keyof typeof LayoutType;
9682
9800
  /**
9683
9801
  * The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
9684
9802
  */