@openui5/ts-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 namespace sap {
4
4
  namespace ui {
@@ -702,7 +702,12 @@ declare namespace sap {
702
702
  /**
703
703
  * Type of the message.
704
704
  */
705
- sType: sap.ui.core.MessageType
705
+ sType: sap.ui.integration.CardMessageType,
706
+ /**
707
+ * Close the message automatically. Default is `false` for most message types. It is `true` for message
708
+ * type `Toast`. **Note** This property has no effect for message type `Loading`.
709
+ */
710
+ bAutoClose: boolean
706
711
  ): void;
707
712
  /**
708
713
  * Triggers an action inside the card.
@@ -976,9 +981,21 @@ declare namespace sap {
976
981
 
977
982
  /**
978
983
  * The parameters related to the triggered action.
984
+ *
985
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
986
+ * be used. Use event parameter `formData` instead.
979
987
  */
980
988
  parameters?: object;
981
989
 
990
+ /**
991
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
992
+ * and `Custom`.
993
+ *
994
+ * The format will be the same as in the `form` model available in the card manifest. For more information
995
+ * look at the documentation for each individual form type.
996
+ */
997
+ formData?: object;
998
+
982
999
  /**
983
1000
  * The type of the action.
984
1001
  */
@@ -2194,7 +2211,12 @@ declare namespace sap {
2194
2211
  /**
2195
2212
  * Type of the message.
2196
2213
  */
2197
- sType: sap.ui.core.MessageType
2214
+ sType: sap.ui.integration.CardMessageType,
2215
+ /**
2216
+ * Close the message automatically. Default is `false` for most message types. It is `true` for message
2217
+ * type `Toast`. **Note** This property has no effect for message type `Loading`.
2218
+ */
2219
+ bAutoClose: boolean
2198
2220
  ): void;
2199
2221
  /**
2200
2222
  * Triggers an action inside the card.
@@ -2515,9 +2537,21 @@ declare namespace sap {
2515
2537
 
2516
2538
  /**
2517
2539
  * The parameters related to the triggered action.
2540
+ *
2541
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
2542
+ * be used. Use event parameter `formData` instead.
2518
2543
  */
2519
2544
  parameters?: object;
2520
2545
 
2546
+ /**
2547
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
2548
+ * and `Custom`.
2549
+ *
2550
+ * The format will be the same as in the `form` model available in the card manifest. For more information
2551
+ * look at the documentation for each individual form type.
2552
+ */
2553
+ formData?: object;
2554
+
2521
2555
  /**
2522
2556
  * The type of the action.
2523
2557
  */
@@ -2548,9 +2582,21 @@ declare namespace sap {
2548
2582
 
2549
2583
  /**
2550
2584
  * The parameters related to the triggered action.
2585
+ *
2586
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
2587
+ * be used. Use event parameter `formData` instead.
2551
2588
  */
2552
2589
  parameters?: object;
2553
2590
 
2591
+ /**
2592
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
2593
+ * and `Custom`.
2594
+ *
2595
+ * The format will be the same as in the `form` model available in the card manifest. For more information
2596
+ * look at the documentation for each individual form type.
2597
+ */
2598
+ formData?: object;
2599
+
2554
2600
  /**
2555
2601
  * The type of the action.
2556
2602
  */
@@ -4109,7 +4155,7 @@ declare namespace sap {
4109
4155
  */
4110
4156
  enum CardBlockingMessageType {
4111
4157
  /**
4112
- * An error ocurred in the card.
4158
+ * An error occurred in the card.
4113
4159
  */
4114
4160
  Error = "Error",
4115
4161
  /**
@@ -4214,6 +4260,45 @@ declare namespace sap {
4214
4260
  */
4215
4261
  TileStandardWide = "TileStandardWide",
4216
4262
  }
4263
+ /**
4264
+ * Card message strip types.
4265
+ *
4266
+ * This enum is part of the 'sap/ui/integration/library' module export and must be accessed by the property
4267
+ * 'CardMessageType'.
4268
+ *
4269
+ * @experimental (since 1.128)
4270
+ */
4271
+ enum CardMessageType {
4272
+ /**
4273
+ * Message is an error
4274
+ */
4275
+ Error = "Error",
4276
+ /**
4277
+ * Message should be just an information
4278
+ */
4279
+ Information = "Information",
4280
+ /**
4281
+ * Informs the user that the content is busy at that moment with a loading operation. Blocks the content
4282
+ * from interaction.
4283
+ */
4284
+ Loading = "Loading",
4285
+ /**
4286
+ * Message has no specific level
4287
+ */
4288
+ None = "None",
4289
+ /**
4290
+ * Message is a success message
4291
+ */
4292
+ Success = "Success",
4293
+ /**
4294
+ * Message is an informative brief toast message. For this type the default behavior is to auto close.
4295
+ */
4296
+ Toast = "Toast",
4297
+ /**
4298
+ * Message is a warning
4299
+ */
4300
+ Warning = "Warning",
4301
+ }
4217
4302
  /**
4218
4303
  * Preview modes for `{@link sap.ui.integration.widgets.Card}`. Helpful in scenarios when the end user is
4219
4304
  * choosing or configuring a card.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.127.1
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -6025,13 +6025,13 @@ declare namespace sap {
6025
6025
  * and the labels are rendered in the same row as the fields or above the fields. This behavior can be influenced
6026
6026
  * by the properties of this layout control.
6027
6027
  *
6028
- * On the {@link sap.ui.layout.form.FormContainer FormContainers}, labels and content fields, {@link sap.ui.layout.GridGata GridData }
6029
- * can be used to change the default rendering. {@link sap.ui.layout.GridGata GridData} is not supported
6028
+ * On the {@link sap.ui.layout.form.FormContainer FormContainers}, labels and content fields, {@link sap.ui.layout.GridData GridData }
6029
+ * can be used to change the default rendering. {@link sap.ui.layout.GridData GridData} is not supported
6030
6030
  * for {@link sap.ui.layout.form.FormElement FormElements}.
6031
6031
  *
6032
- * **Note:** If {@link sap.ui.layout.GridGata GridData} is used, this may result in a much more complex
6032
+ * **Note:** If {@link sap.ui.layout.GridData GridData} is used, this may result in a much more complex
6033
6033
  * layout than the default one. This means that in some cases, the calculation for the other content may
6034
- * not bring the expected result. In such cases, {@link sap.ui.layout.GridGata GridData} should be used
6034
+ * not bring the expected result. In such cases, {@link sap.ui.layout.GridData GridData} should be used
6035
6035
  * for all content controls to disable the default behavior.
6036
6036
  *
6037
6037
  * This control cannot be used stand-alone, it just renders a {@link sap.ui.layout.form.Form Form}, so it