@openui5/ts-types-esm 1.94.0 → 1.97.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/ts-types-esm",
3
- "version": "1.94.0",
3
+ "version": "1.97.0",
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.94.0
1
+ // For Library Version: 1.97.0
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.
@@ -2381,6 +2433,8 @@ declare module "sap/f/cards/NumericSideIndicator" {
2381
2433
 
2382
2434
  import ElementMetadata from "sap/ui/core/ElementMetadata";
2383
2435
 
2436
+ import { ValueColor } from "sap/m/library";
2437
+
2384
2438
  import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
2385
2439
 
2386
2440
  /**
@@ -2451,6 +2505,16 @@ declare module "sap/f/cards/NumericSideIndicator" {
2451
2505
  * The numeric value
2452
2506
  */
2453
2507
  getNumber(): string;
2508
+ /**
2509
+ * @EXPERIMENTAL (since 1.95)
2510
+ *
2511
+ * Gets current value of property {@link #getState state}.
2512
+ *
2513
+ * The semantic color which represents the state of the side indicator.
2514
+ *
2515
+ * Default value is `"None"`.
2516
+ */
2517
+ getState(): ValueColor | keyof typeof ValueColor;
2454
2518
  /**
2455
2519
  * Gets current value of property {@link #getTitle title}.
2456
2520
  *
@@ -2472,6 +2536,23 @@ declare module "sap/f/cards/NumericSideIndicator" {
2472
2536
  */
2473
2537
  sValue: string
2474
2538
  ): this;
2539
+ /**
2540
+ * @EXPERIMENTAL (since 1.95)
2541
+ *
2542
+ * Sets a new value for property {@link #getState state}.
2543
+ *
2544
+ * The semantic color which represents the state of the side indicator.
2545
+ *
2546
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
2547
+ *
2548
+ * Default value is `"None"`.
2549
+ */
2550
+ setState(
2551
+ /**
2552
+ * New value for property `state`
2553
+ */
2554
+ sState?: ValueColor | keyof typeof ValueColor
2555
+ ): this;
2475
2556
  /**
2476
2557
  * Sets the title.
2477
2558
  */
@@ -2507,6 +2588,13 @@ declare module "sap/f/cards/NumericSideIndicator" {
2507
2588
  * Defines the unit of measurement (scaling prefix) for the numeric value
2508
2589
  */
2509
2590
  unit?: string | PropertyBindingInfo;
2591
+
2592
+ /**
2593
+ * @EXPERIMENTAL (since 1.95)
2594
+ *
2595
+ * The semantic color which represents the state of the side indicator.
2596
+ */
2597
+ state?: (ValueColor | keyof typeof ValueColor) | PropertyBindingInfo;
2510
2598
  }
2511
2599
  }
2512
2600
 
@@ -5072,6 +5160,8 @@ declare module "sap/f/FlexibleColumnLayout" {
5072
5160
 
5073
5161
  import { BackgroundDesign } from "sap/m/library";
5074
5162
 
5163
+ import FlexibleColumnLayoutAccessibleLandmarkInfo from "sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo";
5164
+
5075
5165
  import ElementMetadata from "sap/ui/core/ElementMetadata";
5076
5166
 
5077
5167
  import {
@@ -5751,6 +5841,12 @@ declare module "sap/f/FlexibleColumnLayout" {
5751
5841
  * Destroys all the endColumnPages in the aggregation {@link #getEndColumnPages endColumnPages}.
5752
5842
  */
5753
5843
  destroyEndColumnPages(): this;
5844
+ /**
5845
+ * @SINCE 1.95
5846
+ *
5847
+ * Destroys the landmarkInfo in the aggregation {@link #getLandmarkInfo landmarkInfo}.
5848
+ */
5849
+ destroyLandmarkInfo(): this;
5754
5850
  /**
5755
5851
  * Destroys all the midColumnPages in the aggregation {@link #getMidColumnPages midColumnPages}.
5756
5852
  */
@@ -6355,6 +6451,16 @@ declare module "sap/f/FlexibleColumnLayout" {
6355
6451
  * or `null`.
6356
6452
  */
6357
6453
  getInitialMidColumnPage(): ID;
6454
+ /**
6455
+ * @SINCE 1.95
6456
+ *
6457
+ * Gets content of aggregation {@link #getLandmarkInfo landmarkInfo}.
6458
+ *
6459
+ * Accessible landmark settings to be applied on the containers of the `sap.f.FlexibleColumnLayout` control.
6460
+ *
6461
+ * If not set, no landmarks will be written.
6462
+ */
6463
+ getLandmarkInfo(): FlexibleColumnLayoutAccessibleLandmarkInfo;
6358
6464
  /**
6359
6465
  * Gets current value of property {@link #getLayout layout}.
6360
6466
  *
@@ -6390,22 +6496,6 @@ declare module "sap/f/FlexibleColumnLayout" {
6390
6496
  * Default value is `false`.
6391
6497
  */
6392
6498
  getRestoreFocusOnBackNavigation(): boolean;
6393
- /**
6394
- * @SINCE 1.91
6395
- *
6396
- * Hides the placeholder on the corresponding column for the provided aggregation name.
6397
- */
6398
- hidePlaceholder(
6399
- /**
6400
- * Object containing the aggregation name
6401
- */
6402
- mSettings: {
6403
- /**
6404
- * The aggregation name to decide on which column/container the placeholder should be hidden
6405
- */
6406
- aggregation: string;
6407
- }
6408
- ): void;
6409
6499
  /**
6410
6500
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getBeginColumnPages beginColumnPages}.
6411
6501
  * and returns its index if found or -1 otherwise.
@@ -6645,6 +6735,17 @@ declare module "sap/f/FlexibleColumnLayout" {
6645
6735
  */
6646
6736
  oInitialMidColumnPage: ID | Control
6647
6737
  ): this;
6738
+ /**
6739
+ * @SINCE 1.95
6740
+ *
6741
+ * Sets the aggregated {@link #getLandmarkInfo landmarkInfo}.
6742
+ */
6743
+ setLandmarkInfo(
6744
+ /**
6745
+ * The landmarkInfo to set
6746
+ */
6747
+ oLandmarkInfo: FlexibleColumnLayoutAccessibleLandmarkInfo
6748
+ ): this;
6648
6749
  /**
6649
6750
  * Sets a new value for property {@link #getLayout layout}.
6650
6751
  *
@@ -6680,22 +6781,6 @@ declare module "sap/f/FlexibleColumnLayout" {
6680
6781
  */
6681
6782
  bRestoreFocusOnBackNavigation?: boolean
6682
6783
  ): this;
6683
- /**
6684
- * @SINCE 1.91
6685
- *
6686
- * Shows the placeholder on the corresponding column for the provided aggregation name.
6687
- */
6688
- showPlaceholder(
6689
- /**
6690
- * Object containing the aggregation name
6691
- */
6692
- mSettings: {
6693
- /**
6694
- * The aggregation name to decide on which column/container the placeholder should be shown
6695
- */
6696
- aggregation: string;
6697
- }
6698
- ): void;
6699
6784
  /**
6700
6785
  * Navigates to the given page inside the FlexibleColumnLayout. Columns are scanned for the page in the
6701
6786
  * following order: `Begin`, `Mid`, `End`.
@@ -7076,6 +7161,15 @@ declare module "sap/f/FlexibleColumnLayout" {
7076
7161
  */
7077
7162
  endColumnPages?: Control[] | Control | AggregationBindingInfo;
7078
7163
 
7164
+ /**
7165
+ * @SINCE 1.95
7166
+ *
7167
+ * Accessible landmark settings to be applied on the containers of the `sap.f.FlexibleColumnLayout` control.
7168
+ *
7169
+ * If not set, no landmarks will be written.
7170
+ */
7171
+ landmarkInfo?: FlexibleColumnLayoutAccessibleLandmarkInfo;
7172
+
7079
7173
  /**
7080
7174
  * Sets the initial `Begin` column page, which is displayed on application launch.
7081
7175
  */
@@ -7156,6 +7250,182 @@ declare module "sap/f/FlexibleColumnLayout" {
7156
7250
  }
7157
7251
  }
7158
7252
 
7253
+ declare module "sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo" {
7254
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
7255
+
7256
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
7257
+
7258
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
7259
+
7260
+ /**
7261
+ * @SINCE 1.95
7262
+ *
7263
+ * Settings for accessible landmarks which can be applied to the container elements of a `sap.f.FlexibleColumnLayout`
7264
+ * control. For example, these landmarks are used by assistive technologies (such as screen readers) to
7265
+ * provide a meaningful columns overview.
7266
+ */
7267
+ export default class FlexibleColumnLayoutAccessibleLandmarkInfo extends UI5Element {
7268
+ /**
7269
+ * Constructor for a new `sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo` element.
7270
+ *
7271
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
7272
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
7273
+ * of the syntax of the settings object.
7274
+ */
7275
+ constructor(
7276
+ /**
7277
+ * Initial settings for the new element
7278
+ */
7279
+ mSettings?: $FlexibleColumnLayoutAccessibleLandmarkInfoSettings
7280
+ );
7281
+ /**
7282
+ * Constructor for a new `sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo` element.
7283
+ *
7284
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
7285
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
7286
+ * of the syntax of the settings object.
7287
+ */
7288
+ constructor(
7289
+ /**
7290
+ * ID for the new element, generated automatically if no ID is given
7291
+ */
7292
+ sId?: string,
7293
+ /**
7294
+ * Initial settings for the new element
7295
+ */
7296
+ mSettings?: $FlexibleColumnLayoutAccessibleLandmarkInfoSettings
7297
+ );
7298
+
7299
+ /**
7300
+ * Creates a new subclass of class sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo with name `sClassName`
7301
+ * and enriches it with the information contained in `oClassInfo`.
7302
+ *
7303
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
7304
+ */
7305
+ static extend<T extends Record<string, unknown>>(
7306
+ /**
7307
+ * Name of the class being created
7308
+ */
7309
+ sClassName: string,
7310
+ /**
7311
+ * Object literal with information about the class
7312
+ */
7313
+ oClassInfo?: sap.ClassInfo<T, FlexibleColumnLayoutAccessibleLandmarkInfo>,
7314
+ /**
7315
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
7316
+ * used by this class
7317
+ */
7318
+ FNMetaImpl?: Function
7319
+ ): Function;
7320
+ /**
7321
+ * Returns a metadata object for class sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo.
7322
+ */
7323
+ static getMetadata(): ElementMetadata;
7324
+ /**
7325
+ * Gets current value of property {@link #getFirstColumnLabel firstColumnLabel}.
7326
+ *
7327
+ * Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
7328
+ * control.
7329
+ *
7330
+ * If not set, a predefined text is used.
7331
+ */
7332
+ getFirstColumnLabel(): string;
7333
+ /**
7334
+ * Gets current value of property {@link #getLastColumnLabel lastColumnLabel}.
7335
+ *
7336
+ * Text that describes the landmark of the last column of the corresponding `sap.f.FlexibleColumnLayout`
7337
+ * control.
7338
+ *
7339
+ * If not set, a predefined text is used.
7340
+ */
7341
+ getLastColumnLabel(): string;
7342
+ /**
7343
+ * Gets current value of property {@link #getMiddleColumnLabel middleColumnLabel}.
7344
+ *
7345
+ * Text that describes the landmark of the middle column of the corresponding `sap.f.FlexibleColumnLayout`
7346
+ * control.
7347
+ *
7348
+ * If not set, a predefined text is used.
7349
+ */
7350
+ getMiddleColumnLabel(): string;
7351
+ /**
7352
+ * Sets a new value for property {@link #getFirstColumnLabel firstColumnLabel}.
7353
+ *
7354
+ * Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
7355
+ * control.
7356
+ *
7357
+ * If not set, a predefined text is used.
7358
+ *
7359
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
7360
+ */
7361
+ setFirstColumnLabel(
7362
+ /**
7363
+ * New value for property `firstColumnLabel`
7364
+ */
7365
+ sFirstColumnLabel?: string
7366
+ ): this;
7367
+ /**
7368
+ * Sets a new value for property {@link #getLastColumnLabel lastColumnLabel}.
7369
+ *
7370
+ * Text that describes the landmark of the last column of the corresponding `sap.f.FlexibleColumnLayout`
7371
+ * control.
7372
+ *
7373
+ * If not set, a predefined text is used.
7374
+ *
7375
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
7376
+ */
7377
+ setLastColumnLabel(
7378
+ /**
7379
+ * New value for property `lastColumnLabel`
7380
+ */
7381
+ sLastColumnLabel?: string
7382
+ ): this;
7383
+ /**
7384
+ * Sets a new value for property {@link #getMiddleColumnLabel middleColumnLabel}.
7385
+ *
7386
+ * Text that describes the landmark of the middle column of the corresponding `sap.f.FlexibleColumnLayout`
7387
+ * control.
7388
+ *
7389
+ * If not set, a predefined text is used.
7390
+ *
7391
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
7392
+ */
7393
+ setMiddleColumnLabel(
7394
+ /**
7395
+ * New value for property `middleColumnLabel`
7396
+ */
7397
+ sMiddleColumnLabel?: string
7398
+ ): this;
7399
+ }
7400
+
7401
+ export interface $FlexibleColumnLayoutAccessibleLandmarkInfoSettings
7402
+ extends $ElementSettings {
7403
+ /**
7404
+ * Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
7405
+ * control.
7406
+ *
7407
+ * If not set, a predefined text is used.
7408
+ */
7409
+ firstColumnLabel?: string | PropertyBindingInfo;
7410
+
7411
+ /**
7412
+ * Text that describes the landmark of the middle column of the corresponding `sap.f.FlexibleColumnLayout`
7413
+ * control.
7414
+ *
7415
+ * If not set, a predefined text is used.
7416
+ */
7417
+ middleColumnLabel?: string | PropertyBindingInfo;
7418
+
7419
+ /**
7420
+ * Text that describes the landmark of the last column of the corresponding `sap.f.FlexibleColumnLayout`
7421
+ * control.
7422
+ *
7423
+ * If not set, a predefined text is used.
7424
+ */
7425
+ lastColumnLabel?: string | PropertyBindingInfo;
7426
+ }
7427
+ }
7428
+
7159
7429
  declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
7160
7430
  import FlexibleColumnLayout from "sap/f/FlexibleColumnLayout";
7161
7431
 
@@ -10399,8 +10669,11 @@ declare module "sap/f/routing/TargetHandler" {
10399
10669
  * Used for closing dialogs and showing transitions in `NavContainers` when targets are displayed.
10400
10670
  *
10401
10671
  * **Note:** You should not create an own instance of this class. It is created when using `{@link sap.f.routing.Router}`
10402
- * or `{@link sap.f.routing.Targets}`. You may use the `{@link #setCloseDialogs}` function to specify if
10403
- * 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.
10404
10677
  */
10405
10678
  export default class TargetHandler extends BaseObject {
10406
10679
  /**
@@ -10408,10 +10681,10 @@ declare module "sap/f/routing/TargetHandler" {
10408
10681
  */
10409
10682
  constructor(
10410
10683
  /**
10411
- * Closes all open dialogs before navigating, if set to `true` (default). If set to `false`, it just navigates
10412
- * 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.
10413
10686
  */
10414
- bCloseDialogs: boolean
10687
+ closeDialogs: boolean
10415
10688
  );
10416
10689
 
10417
10690
  /**
@@ -10445,6 +10718,9 @@ declare module "sap/f/routing/TargetHandler" {
10445
10718
  getCloseDialogs(): boolean;
10446
10719
  /**
10447
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`.
10448
10724
  */
10449
10725
  setCloseDialogs(
10450
10726
  /**
@@ -13496,6 +13772,8 @@ declare module "sap/f/semantic/SemanticPage" {
13496
13772
  * The `customShareActions` are placed in the `ShareMenu` area of the `SemanticPage` title, right after
13497
13773
  * the semantic actions.
13498
13774
  *
13775
+ * The text and icon of the button inside the `customShareActions` aggregation, can be customized.
13776
+ *
13499
13777
  * **Note:** If the `titleSnappedOnMobile` aggregation is set, its content overrides this aggregation when
13500
13778
  * the control is viewed on a phone mobile device and the `SemanticPage` header is in its collapsed (snapped)
13501
13779
  * state.
@@ -15168,6 +15446,8 @@ declare module "sap/f/semantic/SemanticPage" {
15168
15446
  * The `customShareActions` are placed in the `ShareMenu` area of the `SemanticPage` title, right after
15169
15447
  * the semantic actions.
15170
15448
  *
15449
+ * The text and icon of the button inside the `customShareActions` aggregation, can be customized.
15450
+ *
15171
15451
  * **Note:** If the `titleSnappedOnMobile` aggregation is set, its content overrides this aggregation when
15172
15452
  * the control is viewed on a phone mobile device and the `SemanticPage` header is in its collapsed (snapped)
15173
15453
  * state.
@@ -16870,6 +17150,8 @@ declare namespace sap {
16870
17150
 
16871
17151
  "sap/f/FlexibleColumnLayout": undefined;
16872
17152
 
17153
+ "sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo": undefined;
17154
+
16873
17155
  "sap/f/FlexibleColumnLayoutSemanticHelper": undefined;
16874
17156
 
16875
17157
  "sap/f/GridContainer": undefined;