@openui5/types 1.141.2 → 1.143.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.141.2
1
+ // For Library Version: 1.143.0
2
2
 
3
3
  declare module "sap/ui/dt/library" {
4
4
  export namespace designtime {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.2
1
+ // For Library Version: 1.143.0
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -712,7 +712,8 @@ declare module "sap/ui/fl/variants/VariantManagement" {
712
712
  mParameters?: VariantManagement$SelectEventParameters
713
713
  ): this;
714
714
  /**
715
- * Gets the currently selected variant key.
715
+ * Gets the variant key that is currently selected in the VM control. Can be different to the actually selected
716
+ * variant in the state during a variant switch.
716
717
  *
717
718
  *
718
719
  * @returns Key of the currently selected variant. In case the model is not yet set `null` will be returned
@@ -1514,8 +1515,6 @@ declare namespace sap {
1514
1515
 
1515
1516
  "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewDataSource": undefined;
1516
1517
 
1517
- "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewInbound": undefined;
1518
-
1519
1518
  "sap/ui/fl/apply/_internal/changes/descriptor/app/AddNewOutbound": undefined;
1520
1519
 
1521
1520
  "sap/ui/fl/apply/_internal/changes/descriptor/app/AddTechnicalAttributes": undefined;
@@ -1546,8 +1545,6 @@ declare namespace sap {
1546
1545
 
1547
1546
  "sap/ui/fl/apply/_internal/changes/descriptor/ovp/DeleteCard": undefined;
1548
1547
 
1549
- "sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor": undefined;
1550
-
1551
1548
  "sap/ui/fl/apply/_internal/changes/descriptor/Registration": undefined;
1552
1549
 
1553
1550
  "sap/ui/fl/apply/_internal/changes/descriptor/RegistrationBuild": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.141.2
1
+ // For Library Version: 1.143.0
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -2314,7 +2314,9 @@ declare module "sap/ui/integration/widgets/Card" {
2314
2314
  /**
2315
2315
  * Facade of the {@link sap.ui.integration.widgets.Card} control.
2316
2316
  *
2317
- * @experimental As of version 1.79.
2317
+ * This facade contains methods accessible within the card extension. The available methods represent a
2318
+ * limited subset of all card methods, since not all card methods function as expected when called from
2319
+ * within the extension.
2318
2320
  */
2319
2321
  export interface CardFacade {
2320
2322
  __implements__sap_ui_integration_widgets_CardFacade: boolean;
@@ -2334,6 +2336,27 @@ declare module "sap/ui/integration/widgets/Card" {
2334
2336
  */
2335
2337
  oActionDefinition: ActionDefinition
2336
2338
  ): this;
2339
+ /**
2340
+ * Destroys all the actionDefinitions in the aggregation {@link #getActionDefinitions actionDefinitions}.
2341
+ *
2342
+ * @since 1.85
2343
+ * @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
2344
+ * changes may be done before its official public release. Use at your own discretion.
2345
+ *
2346
+ * @returns Reference to `this` in order to allow method chaining
2347
+ */
2348
+ destroyActionDefinitions(): this;
2349
+ /**
2350
+ * Gets content of aggregation {@link #getActionDefinitions actionDefinitions}.
2351
+ *
2352
+ * Actions definitions from which actions in the header menu of the card are created. **Note**: This aggregation
2353
+ * is destroyed when the property `manifest` changes.
2354
+ *
2355
+ * @since 1.85
2356
+ * @experimental As of version 1.85. Disclaimer: this aggregation is in a beta state - incompatible API
2357
+ * changes may be done before its official public release. Use at your own discretion.
2358
+ */
2359
+ getActionDefinitions(): ActionDefinition[];
2337
2360
  /**
2338
2361
  * Gets current value of property {@link #getBaseUrl baseUrl}.
2339
2362
  *
@@ -2369,6 +2392,11 @@ declare module "sap/ui/integration/widgets/Card" {
2369
2392
  * @returns Object containing parameters in format `{parameterKey: parameterValue}`.
2370
2393
  */
2371
2394
  getCombinedParameters(): Record<string, any>;
2395
+ /**
2396
+ * @deprecated As of version 1.143. Do not access the card dom reference, as this is not supported in a
2397
+ * mobile native environment.
2398
+ */
2399
+ getDomRef(): void;
2372
2400
  /**
2373
2401
  * Returns a value from the Manifest based on the specified path.
2374
2402
  *
@@ -2384,15 +2412,19 @@ declare module "sap/ui/integration/widgets/Card" {
2384
2412
  */
2385
2413
  sPath: string
2386
2414
  ): any;
2415
+ /**
2416
+ * @deprecated As of version 1.143. Avoid accessing the models directly, use the binding syntax instead.
2417
+ */
2418
+ getModel(): void;
2387
2419
  /**
2388
2420
  * Gets current value of property {@link #getParameters parameters}.
2389
2421
  *
2390
- * Overrides the default values of the parameters, which are defined in the manifest. The value is an object
2391
- * containing parameters in format `{parameterKey: parameterValue}`.
2422
+ * Overrides the default values of the parameters, which are defined in the manifest. The returned value
2423
+ * is an object containing parameters in format `{parameterKey: parameterValue}`.
2392
2424
  *
2393
- * @experimental As of version 1.65. This property might be changed in future.
2425
+ * @deprecated As of version 1.143. Use `getCombinedParameters()` instead.
2394
2426
  *
2395
- * @returns Value of property `parameters`
2427
+ * @returns Value of property parameters
2396
2428
  */
2397
2429
  getParameters(): object;
2398
2430
  /**
@@ -2584,6 +2616,11 @@ declare module "sap/ui/integration/widgets/Card" {
2584
2616
  */
2585
2617
  sKey: string
2586
2618
  ): Promise<string>;
2619
+ /**
2620
+ * @deprecated As of version 1.143. Use `hide()` to hide a card opened by `showCard()`. The card facade
2621
+ * does not provide methods for showing or hiding the main card itself.
2622
+ */
2623
+ setVisible(): void;
2587
2624
  /**
2588
2625
  * Show blocking message in the card's content area. Should be used after the `manifestApplied` event or
2589
2626
  * after the `cardReady` lifecycle hook in Component cards and Extensions.
@@ -3923,7 +3960,6 @@ declare module "sap/ui/integration/Host" {
3923
3960
  * Examples may include, but are not limited to options like: share a card, remove a card.
3924
3961
  *
3925
3962
  * @since 1.75
3926
- * @experimental As of version 1.75.
3927
3963
  */
3928
3964
  export default class Host extends UI5Element {
3929
3965
  /**
@@ -4484,6 +4520,7 @@ declare module "sap/ui/integration/Host" {
4484
4520
  * Editor.
4485
4521
  *
4486
4522
  * @since 1.83
4523
+ * @experimental As of version 1.143.
4487
4524
  *
4488
4525
  * @returns A promise which contains the context structure.
4489
4526
  */
@@ -4500,6 +4537,7 @@ declare module "sap/ui/integration/Host" {
4500
4537
  * userId: { value: "{context>sap.workzone/currentUser/id}" resolves to UserId } }
4501
4538
  *
4502
4539
  * @since 1.83
4540
+ * @experimental As of version 1.143.
4503
4541
  *
4504
4542
  * @returns A promise which resolves with the value of this context.
4505
4543
  */
@@ -4612,8 +4650,6 @@ declare module "sap/ui/integration/Host" {
4612
4650
  }
4613
4651
  /**
4614
4652
  * Describes the settings that can be provided to the Host constructor.
4615
- *
4616
- * @experimental As of version 1.75.
4617
4653
  */
4618
4654
  export interface $HostSettings extends $ElementSettings {
4619
4655
  /**