@openui5/ts-types-esm 1.95.0 → 1.96.3

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/ts-types-esm",
3
- "version": "1.95.0",
3
+ "version": "1.96.3",
4
4
  "description": "OpenUI5 TypeScript Definitions - ES Modules",
5
5
  "homepage": "https://openui5.org",
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.95.0
1
+ // For Library Version: 1.96.3
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -425,6 +425,21 @@ declare module "sap/f/library" {
425
425
  */
426
426
  Top = "Top",
427
427
  }
428
+ /**
429
+ * @SINCE 1.96
430
+ *
431
+ * Different options for the alignment of the side indicators in the numeric header.
432
+ */
433
+ enum NumericHeaderSideIndicatorsAlignment {
434
+ /**
435
+ * Sets the alignment to the beginning (left or right depending on LTR/RTL).
436
+ */
437
+ Begin = "Begin",
438
+ /**
439
+ * Explicitly sets the alignment to the end (left or right depending on LTR/RTL).
440
+ */
441
+ End = "End",
442
+ }
428
443
  }
429
444
 
430
445
  export namespace dnd {
@@ -1960,8 +1975,8 @@ declare module "sap/f/cards/NumericHeader" {
1960
1975
  * Displays general information in the header of the {@link sap.f.Card} and allows the configuration of
1961
1976
  * a numeric value visualization.
1962
1977
  *
1963
- * You can configure the title, subtitle, status text and icon, using the provided properties. To add more
1964
- * side number indicators, use the `sideIndicators` aggregation.
1978
+ * You can configure the title, subtitle, and status text, using the provided properties. To add more side
1979
+ * number indicators, use the `sideIndicators` aggregation.
1965
1980
  *
1966
1981
  * **Notes:**
1967
1982
  * - You should always set a title.
@@ -2134,6 +2149,16 @@ declare module "sap/f/cards/NumericHeader" {
2134
2149
  * should be used.
2135
2150
  */
2136
2151
  getSideIndicators(): NumericSideIndicator[];
2152
+ /**
2153
+ * Gets current value of property {@link #getSideIndicatorsAlignment sideIndicatorsAlignment}.
2154
+ *
2155
+ * The alignment of the side indicators.
2156
+ *
2157
+ * Default value is `"Begin"`.
2158
+ */
2159
+ getSideIndicatorsAlignment():
2160
+ | cards.NumericHeaderSideIndicatorsAlignment
2161
+ | keyof typeof cards.NumericHeaderSideIndicatorsAlignment;
2137
2162
  /**
2138
2163
  * @EXPERIMENTAL (since 1.64)
2139
2164
  *
@@ -2245,6 +2270,23 @@ declare module "sap/f/cards/NumericHeader" {
2245
2270
  */
2246
2271
  sValue: string
2247
2272
  ): this;
2273
+ /**
2274
+ * Sets a new value for property {@link #getSideIndicatorsAlignment sideIndicatorsAlignment}.
2275
+ *
2276
+ * The alignment of the side indicators.
2277
+ *
2278
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2279
+ *
2280
+ * Default value is `"Begin"`.
2281
+ */
2282
+ setSideIndicatorsAlignment(
2283
+ /**
2284
+ * New value for property `sideIndicatorsAlignment`
2285
+ */
2286
+ sSideIndicatorsAlignment?:
2287
+ | cards.NumericHeaderSideIndicatorsAlignment
2288
+ | keyof typeof cards.NumericHeaderSideIndicatorsAlignment
2289
+ ): this;
2248
2290
  /**
2249
2291
  * Sets the semantic color which represents the state of the main number indicator.
2250
2292
  */
@@ -2360,6 +2402,16 @@ declare module "sap/f/cards/NumericHeader" {
2360
2402
  */
2361
2403
  details?: string | PropertyBindingInfo;
2362
2404
 
2405
+ /**
2406
+ * The alignment of the side indicators.
2407
+ */
2408
+ sideIndicatorsAlignment?:
2409
+ | (
2410
+ | cards.NumericHeaderSideIndicatorsAlignment
2411
+ | keyof typeof cards.NumericHeaderSideIndicatorsAlignment
2412
+ )
2413
+ | PropertyBindingInfo;
2414
+
2363
2415
  /**
2364
2416
  * Additional side number indicators. For example "Deviation" and "Target". Not more than two side indicators
2365
2417
  * should be used.
@@ -6444,22 +6496,6 @@ declare module "sap/f/FlexibleColumnLayout" {
6444
6496
  * Default value is `false`.
6445
6497
  */
6446
6498
  getRestoreFocusOnBackNavigation(): boolean;
6447
- /**
6448
- * @SINCE 1.91
6449
- *
6450
- * Hides the placeholder on the corresponding column for the provided aggregation name.
6451
- */
6452
- hidePlaceholder(
6453
- /**
6454
- * Object containing the aggregation name
6455
- */
6456
- mSettings: {
6457
- /**
6458
- * The aggregation name to decide on which column/container the placeholder should be hidden
6459
- */
6460
- aggregation: string;
6461
- }
6462
- ): void;
6463
6499
  /**
6464
6500
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getBeginColumnPages beginColumnPages}.
6465
6501
  * and returns its index if found or -1 otherwise.
@@ -6745,22 +6781,6 @@ declare module "sap/f/FlexibleColumnLayout" {
6745
6781
  */
6746
6782
  bRestoreFocusOnBackNavigation?: boolean
6747
6783
  ): this;
6748
- /**
6749
- * @SINCE 1.91
6750
- *
6751
- * Shows the placeholder on the corresponding column for the provided aggregation name.
6752
- */
6753
- showPlaceholder(
6754
- /**
6755
- * Object containing the aggregation name
6756
- */
6757
- mSettings: {
6758
- /**
6759
- * The aggregation name to decide on which column/container the placeholder should be shown
6760
- */
6761
- aggregation: string;
6762
- }
6763
- ): void;
6764
6784
  /**
6765
6785
  * Navigates to the given page inside the FlexibleColumnLayout. Columns are scanned for the page in the
6766
6786
  * following order: `Begin`, `Mid`, `End`.
@@ -10649,8 +10669,11 @@ declare module "sap/f/routing/TargetHandler" {
10649
10669
  * Used for closing dialogs and showing transitions in `NavContainers` when targets are displayed.
10650
10670
  *
10651
10671
  * **Note:** You should not create an own instance of this class. It is created when using `{@link sap.f.routing.Router}`
10652
- * or `{@link sap.f.routing.Targets}`. You may use the `{@link #setCloseDialogs}` function to specify if
10653
- * dialogs should be closed on displaying other views.
10672
+ * or `{@link sap.f.routing.Targets}`.
10673
+ *
10674
+ * **Note:** You may use the `{@link #setCloseDialogs}` function to specify if dialogs should be closed
10675
+ * on displaying other views. The dialogs are closed when a different target is displayed than the previously
10676
+ * displayed one, otherwise the dialogs are kept open.
10654
10677
  */
10655
10678
  export default class TargetHandler extends BaseObject {
10656
10679
  /**
@@ -10658,10 +10681,10 @@ declare module "sap/f/routing/TargetHandler" {
10658
10681
  */
10659
10682
  constructor(
10660
10683
  /**
10661
- * Closes all open dialogs before navigating, if set to `true` (default). If set to `false`, it just navigates
10662
- * without closing dialogs.
10684
+ * Closes all open dialogs before navigating to a different target, if set to `true` (default). If set to
10685
+ * `false`, it will just navigate without closing dialogs.
10663
10686
  */
10664
- bCloseDialogs: boolean
10687
+ closeDialogs: boolean
10665
10688
  );
10666
10689
 
10667
10690
  /**
@@ -10695,6 +10718,9 @@ declare module "sap/f/routing/TargetHandler" {
10695
10718
  getCloseDialogs(): boolean;
10696
10719
  /**
10697
10720
  * Sets if a navigation should close dialogs.
10721
+ *
10722
+ * **Note:** The dialogs are closed when a different target is displayed than the previous one, otherwise
10723
+ * the dialogs are kept open even when `bCloseDialogs` is `true`.
10698
10724
  */
10699
10725
  setCloseDialogs(
10700
10726
  /**