@openui5/types 1.127.1 → 1.129.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.127.1
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -104,7 +104,7 @@ declare module "sap/ui/integration/library" {
104
104
  */
105
105
  export enum CardBlockingMessageType {
106
106
  /**
107
- * An error ocurred in the card.
107
+ * An error occurred in the card.
108
108
  */
109
109
  Error = "Error",
110
110
  /**
@@ -253,6 +253,45 @@ declare module "sap/ui/integration/library" {
253
253
  parameters: object;
254
254
  };
255
255
 
256
+ /**
257
+ * Card message strip types.
258
+ *
259
+ * This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
260
+ * 'CardMessageType'.
261
+ *
262
+ * @experimental (since 1.128)
263
+ */
264
+ export enum CardMessageType {
265
+ /**
266
+ * Message is an error
267
+ */
268
+ Error = "Error",
269
+ /**
270
+ * Message should be just an information
271
+ */
272
+ Information = "Information",
273
+ /**
274
+ * Informs the user that the content is busy at that moment with a loading operation. Blocks the content
275
+ * from interaction.
276
+ */
277
+ Loading = "Loading",
278
+ /**
279
+ * Message has no specific level
280
+ */
281
+ None = "None",
282
+ /**
283
+ * Message is a success message
284
+ */
285
+ Success = "Success",
286
+ /**
287
+ * Message is an informative brief toast message. For this type the default behavior is to auto close.
288
+ */
289
+ Toast = "Toast",
290
+ /**
291
+ * Message is a warning
292
+ */
293
+ Warning = "Warning",
294
+ }
256
295
  /**
257
296
  * Preview modes for `{@link sap.ui.integration.widgets.Card}`. Helpful in scenarios when the end user is
258
297
  * choosing or configuring a card.
@@ -716,6 +755,7 @@ declare module "sap/ui/integration/widgets/Card" {
716
755
  CardDisplayVariant,
717
756
  CardPreviewMode,
718
757
  CardArea,
758
+ CardMessageType,
719
759
  CardActionType,
720
760
  } from "sap/ui/integration/library";
721
761
 
@@ -729,7 +769,7 @@ declare module "sap/ui/integration/widgets/Card" {
729
769
 
730
770
  import Event from "sap/ui/base/Event";
731
771
 
732
- import { URI, ID, MessageType } from "sap/ui/core/library";
772
+ import { URI, ID } from "sap/ui/core/library";
733
773
 
734
774
  import Host from "sap/ui/integration/Host";
735
775
 
@@ -1951,7 +1991,12 @@ declare module "sap/ui/integration/widgets/Card" {
1951
1991
  /**
1952
1992
  * Type of the message.
1953
1993
  */
1954
- sType: MessageType
1994
+ sType: CardMessageType | keyof typeof CardMessageType,
1995
+ /**
1996
+ * Close the message automatically. Default is `false` for most message types. It is `true` for message
1997
+ * type `Toast`. **Note** This property has no effect for message type `Loading`.
1998
+ */
1999
+ bAutoClose: boolean
1955
2000
  ): void;
1956
2001
  /**
1957
2002
  * Triggers an action inside the card.
@@ -2291,7 +2336,12 @@ declare module "sap/ui/integration/widgets/Card" {
2291
2336
  /**
2292
2337
  * Type of the message.
2293
2338
  */
2294
- sType: MessageType
2339
+ sType: CardMessageType | keyof typeof CardMessageType,
2340
+ /**
2341
+ * Close the message automatically. Default is `false` for most message types. It is `true` for message
2342
+ * type `Toast`. **Note** This property has no effect for message type `Loading`.
2343
+ */
2344
+ bAutoClose: boolean
2295
2345
  ): void;
2296
2346
  /**
2297
2347
  * Triggers an action inside the card.
@@ -2550,9 +2600,21 @@ declare module "sap/ui/integration/widgets/Card" {
2550
2600
 
2551
2601
  /**
2552
2602
  * The parameters related to the triggered action.
2603
+ *
2604
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
2605
+ * be used. Use event parameter `formData` instead.
2553
2606
  */
2554
2607
  parameters?: object;
2555
2608
 
2609
+ /**
2610
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
2611
+ * and `Custom`.
2612
+ *
2613
+ * The format will be the same as in the `form` model available in the card manifest. For more information
2614
+ * look at the documentation for each individual form type.
2615
+ */
2616
+ formData?: object;
2617
+
2556
2618
  /**
2557
2619
  * The type of the action.
2558
2620
  */
@@ -3507,9 +3569,21 @@ declare module "sap/ui/integration/Extension" {
3507
3569
 
3508
3570
  /**
3509
3571
  * The parameters related to the triggered action.
3572
+ *
3573
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
3574
+ * be used. Use event parameter `formData` instead.
3510
3575
  */
3511
3576
  parameters?: object;
3512
3577
 
3578
+ /**
3579
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
3580
+ * and `Custom`.
3581
+ *
3582
+ * The format will be the same as in the `form` model available in the card manifest. For more information
3583
+ * look at the documentation for each individual form type.
3584
+ */
3585
+ formData?: object;
3586
+
3513
3587
  /**
3514
3588
  * The type of the action.
3515
3589
  */
@@ -4333,9 +4407,21 @@ declare module "sap/ui/integration/Host" {
4333
4407
 
4334
4408
  /**
4335
4409
  * The parameters related to the triggered action.
4410
+ *
4411
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
4412
+ * be used. Use event parameter `formData` instead.
4336
4413
  */
4337
4414
  parameters?: object;
4338
4415
 
4416
+ /**
4417
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
4418
+ * and `Custom`.
4419
+ *
4420
+ * The format will be the same as in the `form` model available in the card manifest. For more information
4421
+ * look at the documentation for each individual form type.
4422
+ */
4423
+ formData?: object;
4424
+
4339
4425
  /**
4340
4426
  * The type of the action.
4341
4427
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.127.1
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare module "sap/ui/layout/library" {
4
4
  import Control from "sap/ui/core/Control";
@@ -8387,13 +8387,13 @@ declare module "sap/ui/layout/form/ResponsiveGridLayout" {
8387
8387
  * and the labels are rendered in the same row as the fields or above the fields. This behavior can be influenced
8388
8388
  * by the properties of this layout control.
8389
8389
  *
8390
- * On the {@link sap.ui.layout.form.FormContainer FormContainers}, labels and content fields, {@link sap.ui.layout.GridGata GridData }
8391
- * can be used to change the default rendering. {@link sap.ui.layout.GridGata GridData} is not supported
8390
+ * On the {@link sap.ui.layout.form.FormContainer FormContainers}, labels and content fields, {@link sap.ui.layout.GridData GridData }
8391
+ * can be used to change the default rendering. {@link sap.ui.layout.GridData GridData} is not supported
8392
8392
  * for {@link sap.ui.layout.form.FormElement FormElements}.
8393
8393
  *
8394
- * **Note:** If {@link sap.ui.layout.GridGata GridData} is used, this may result in a much more complex
8394
+ * **Note:** If {@link sap.ui.layout.GridData GridData} is used, this may result in a much more complex
8395
8395
  * layout than the default one. This means that in some cases, the calculation for the other content may
8396
- * not bring the expected result. In such cases, {@link sap.ui.layout.GridGata GridData} should be used
8396
+ * not bring the expected result. In such cases, {@link sap.ui.layout.GridData GridData} should be used
8397
8397
  * for all content controls to disable the default behavior.
8398
8398
  *
8399
8399
  * This control cannot be used stand-alone, it just renders a {@link sap.ui.layout.form.Form Form}, so it