@openui5/types 1.128.0 → 1.130.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.128.0
1
+ // For Library Version: 1.130.0
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.130.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -12,7 +12,8 @@ declare module "sap/ui/fl/apply/api/ControlVariantApplyAPI" {
12
12
  */
13
13
  interface ControlVariantApplyAPI {
14
14
  /**
15
- * Activates the passed variant applicable to the passed control/component.
15
+ * Activates the passed variant applicable to the passed control/component. If the Variant is not available
16
+ * and the backend supports lazy loading, a backend request is made to fetch the variant.
16
17
  *
17
18
  *
18
19
  * @returns Resolves after the variant is activated or rejects if an error occurs
@@ -1504,8 +1505,12 @@ declare namespace sap {
1504
1505
  interface IUI5DefineDependencyNames {
1505
1506
  "sap/ui/fl/apply/_internal/changes/descriptor/app/AddAnnotationsToOData": undefined;
1506
1507
 
1508
+ "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource": undefined;
1509
+
1507
1510
  "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound": undefined;
1508
1511
 
1512
+ "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound": undefined;
1513
+
1509
1514
  "sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes": undefined;
1510
1515
 
1511
1516
  "sap/ui/fl/apply/_internal/changes/descriptor/app/ChangeDataSource": undefined;
@@ -1586,6 +1591,8 @@ declare namespace sap {
1586
1591
 
1587
1592
  "sap/ui/fl/apply/_internal/flexState/changes/UIChangesState": undefined;
1588
1593
 
1594
+ "sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantManagementState": undefined;
1595
+
1589
1596
  "sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger": undefined;
1590
1597
 
1591
1598
  "sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher": undefined;
@@ -1608,6 +1615,8 @@ declare namespace sap {
1608
1615
 
1609
1616
  "sap/ui/fl/apply/_internal/preprocessors/ControllerExtension": undefined;
1610
1617
 
1618
+ "sap/ui/fl/apply/api/AnnotationChangeHandlerAPI": undefined;
1619
+
1611
1620
  "sap/ui/fl/apply/api/ControlVariantApplyAPI": undefined;
1612
1621
 
1613
1622
  "sap/ui/fl/apply/api/DelegateMediatorAPI": undefined;
@@ -1664,8 +1673,12 @@ declare namespace sap {
1664
1673
 
1665
1674
  "sap/ui/fl/registry/Settings": undefined;
1666
1675
 
1676
+ "sap/ui/fl/support/_internal/getAllUIChanges": undefined;
1677
+
1667
1678
  "sap/ui/fl/support/_internal/getChangeDependencies": undefined;
1668
1679
 
1680
+ "sap/ui/fl/support/_internal/getFlexObjectInfos": undefined;
1681
+
1669
1682
  "sap/ui/fl/support/_internal/getFlexSettings": undefined;
1670
1683
 
1671
1684
  "sap/ui/fl/support/api/SupportAPI": undefined;
@@ -1718,6 +1731,8 @@ declare namespace sap {
1718
1731
 
1719
1732
  "sap/ui/fl/write/_internal/fieldExtensibility/SingleTenantABAPExtensibilityVariant": undefined;
1720
1733
 
1734
+ "sap/ui/fl/write/_internal/flexState/changes/UIChangeManager": undefined;
1735
+
1721
1736
  "sap/ui/fl/write/_internal/flexState/compVariants/CompVariantState": undefined;
1722
1737
 
1723
1738
  "sap/ui/fl/write/_internal/flexState/FlexObjectManager": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.130.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -1485,6 +1485,17 @@ declare module "sap/ui/integration/widgets/Card" {
1485
1485
  */
1486
1486
  sPath: string
1487
1487
  ): any;
1488
+ /**
1489
+ * Gets current value of property {@link #getParameters parameters}.
1490
+ *
1491
+ * Overrides the default values of the parameters, which are defined in the manifest. The value is an object
1492
+ * containing parameters in format `{parameterKey: parameterValue}`.
1493
+ *
1494
+ * @experimental (since 1.65) - This property might be changed in future.
1495
+ *
1496
+ * @returns Value of property `parameters`
1497
+ */
1498
+ getParameters(): object;
1488
1499
  /**
1489
1500
  * Gets current value of property {@link #getPreviewMode previewMode}.
1490
1501
  *
@@ -1700,9 +1711,12 @@ declare module "sap/ui/integration/widgets/Card" {
1700
1711
  method?: string;
1701
1712
  /**
1702
1713
  * The request parameters. If the HTTP method is "POST", "PUT", "PATCH", or "DELETE" the parameters will
1703
- * be put as key/value pairs into the body of the request.
1714
+ * be put into the body of the request.
1715
+ *
1716
+ * **Note:** If parameters are of type "FormData", the "FormData" will not be resolved for bindings, destinations
1717
+ * and others. It will be sent as it is.
1704
1718
  */
1705
- parameters?: object;
1719
+ parameters?: object | FormData;
1706
1720
  /**
1707
1721
  * Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
1708
1722
  */
@@ -2269,9 +2283,12 @@ declare module "sap/ui/integration/widgets/Card" {
2269
2283
  method?: string;
2270
2284
  /**
2271
2285
  * The request parameters. If the HTTP method is "POST", "PUT", "PATCH", or "DELETE" the parameters will
2272
- * be put as key/value pairs into the body of the request.
2286
+ * be put into the body of the request.
2287
+ *
2288
+ * **Note:** If parameters are of type "FormData", the "FormData" will not be resolved for bindings, destinations
2289
+ * and others. It will be sent as it is.
2273
2290
  */
2274
- parameters?: object;
2291
+ parameters?: object | FormData;
2275
2292
  /**
2276
2293
  * Deprecated. Use the correct Accept headers and correct Content-Type header in the response.
2277
2294
  */
@@ -2600,9 +2617,21 @@ declare module "sap/ui/integration/widgets/Card" {
2600
2617
 
2601
2618
  /**
2602
2619
  * The parameters related to the triggered action.
2620
+ *
2621
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
2622
+ * be used. Use event parameter `formData` instead.
2603
2623
  */
2604
2624
  parameters?: object;
2605
2625
 
2626
+ /**
2627
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
2628
+ * and `Custom`.
2629
+ *
2630
+ * The format will be the same as in the `form` model available in the card manifest. For more information
2631
+ * look at the documentation for each individual form type.
2632
+ */
2633
+ formData?: object;
2634
+
2606
2635
  /**
2607
2636
  * The type of the action.
2608
2637
  */
@@ -3557,9 +3586,21 @@ declare module "sap/ui/integration/Extension" {
3557
3586
 
3558
3587
  /**
3559
3588
  * The parameters related to the triggered action.
3589
+ *
3590
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
3591
+ * be used. Use event parameter `formData` instead.
3560
3592
  */
3561
3593
  parameters?: object;
3562
3594
 
3595
+ /**
3596
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
3597
+ * and `Custom`.
3598
+ *
3599
+ * The format will be the same as in the `form` model available in the card manifest. For more information
3600
+ * look at the documentation for each individual form type.
3601
+ */
3602
+ formData?: object;
3603
+
3563
3604
  /**
3564
3605
  * The type of the action.
3565
3606
  */
@@ -4383,9 +4424,21 @@ declare module "sap/ui/integration/Host" {
4383
4424
 
4384
4425
  /**
4385
4426
  * The parameters related to the triggered action.
4427
+ *
4428
+ * **Disclaimer:** Since 1.129 the special parameter `data` for action `Submit` is deprecated and must not
4429
+ * be used. Use event parameter `formData` instead.
4386
4430
  */
4387
4431
  parameters?: object;
4388
4432
 
4433
+ /**
4434
+ * All form data that is filled inside the card. This parameter is available only with action types `Submit`
4435
+ * and `Custom`.
4436
+ *
4437
+ * The format will be the same as in the `form` model available in the card manifest. For more information
4438
+ * look at the documentation for each individual form type.
4439
+ */
4440
+ formData?: object;
4441
+
4389
4442
  /**
4390
4443
  * The type of the action.
4391
4444
  */
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.128.0
1
+ // For Library Version: 1.130.0
2
2
 
3
3
  declare module "sap/ui/layout/library" {
4
4
  import Control from "sap/ui/core/Control";