@openui5/ts-types 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",
3
- "version": "1.95.0",
3
+ "version": "1.96.3",
4
4
  "description": "OpenUI5 TypeScript Definitions",
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 namespace sap {
4
4
  /**
@@ -154,6 +154,13 @@ declare namespace sap {
154
154
  */
155
155
  details?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
156
156
 
157
+ /**
158
+ * The alignment of the side indicators.
159
+ */
160
+ sideIndicatorsAlignment?:
161
+ | sap.f.cards.NumericHeaderSideIndicatorsAlignment
162
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
163
+
157
164
  /**
158
165
  * Additional side number indicators. For example "Deviation" and "Target". Not more than two side indicators
159
166
  * should be used.
@@ -637,8 +644,8 @@ declare namespace sap {
637
644
  * Displays general information in the header of the {@link sap.f.Card} and allows the configuration of
638
645
  * a numeric value visualization.
639
646
  *
640
- * You can configure the title, subtitle, status text and icon, using the provided properties. To add more
641
- * side number indicators, use the `sideIndicators` aggregation.
647
+ * You can configure the title, subtitle, and status text, using the provided properties. To add more side
648
+ * number indicators, use the `sideIndicators` aggregation.
642
649
  *
643
650
  * **Notes:**
644
651
  * - You should always set a title.
@@ -811,6 +818,14 @@ declare namespace sap {
811
818
  * should be used.
812
819
  */
813
820
  getSideIndicators(): sap.f.cards.NumericSideIndicator[];
821
+ /**
822
+ * Gets current value of property {@link #getSideIndicatorsAlignment sideIndicatorsAlignment}.
823
+ *
824
+ * The alignment of the side indicators.
825
+ *
826
+ * Default value is `"Begin"`.
827
+ */
828
+ getSideIndicatorsAlignment(): sap.f.cards.NumericHeaderSideIndicatorsAlignment;
814
829
  /**
815
830
  * @EXPERIMENTAL (since 1.64)
816
831
  *
@@ -922,6 +937,21 @@ declare namespace sap {
922
937
  */
923
938
  sValue: string
924
939
  ): this;
940
+ /**
941
+ * Sets a new value for property {@link #getSideIndicatorsAlignment sideIndicatorsAlignment}.
942
+ *
943
+ * The alignment of the side indicators.
944
+ *
945
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
946
+ *
947
+ * Default value is `"Begin"`.
948
+ */
949
+ setSideIndicatorsAlignment(
950
+ /**
951
+ * New value for property `sideIndicatorsAlignment`
952
+ */
953
+ sSideIndicatorsAlignment?: sap.f.cards.NumericHeaderSideIndicatorsAlignment
954
+ ): this;
925
955
  /**
926
956
  * Sets the semantic color which represents the state of the main number indicator.
927
957
  */
@@ -1133,6 +1163,21 @@ declare namespace sap {
1133
1163
  */
1134
1164
  Top = "Top",
1135
1165
  }
1166
+ /**
1167
+ * @SINCE 1.96
1168
+ *
1169
+ * Different options for the alignment of the side indicators in the numeric header.
1170
+ */
1171
+ enum NumericHeaderSideIndicatorsAlignment {
1172
+ /**
1173
+ * Sets the alignment to the beginning (left or right depending on LTR/RTL).
1174
+ */
1175
+ Begin = "Begin",
1176
+ /**
1177
+ * Explicitly sets the alignment to the end (left or right depending on LTR/RTL).
1178
+ */
1179
+ End = "End",
1180
+ }
1136
1181
  }
1137
1182
 
1138
1183
  namespace dnd {
@@ -1364,8 +1409,11 @@ declare namespace sap {
1364
1409
  * Used for closing dialogs and showing transitions in `NavContainers` when targets are displayed.
1365
1410
  *
1366
1411
  * **Note:** You should not create an own instance of this class. It is created when using `{@link sap.f.routing.Router}`
1367
- * or `{@link sap.f.routing.Targets}`. You may use the `{@link #setCloseDialogs}` function to specify if
1368
- * dialogs should be closed on displaying other views.
1412
+ * or `{@link sap.f.routing.Targets}`.
1413
+ *
1414
+ * **Note:** You may use the `{@link #setCloseDialogs}` function to specify if dialogs should be closed
1415
+ * on displaying other views. The dialogs are closed when a different target is displayed than the previously
1416
+ * displayed one, otherwise the dialogs are kept open.
1369
1417
  */
1370
1418
  class TargetHandler extends sap.ui.base.Object {
1371
1419
  /**
@@ -1373,10 +1421,10 @@ declare namespace sap {
1373
1421
  */
1374
1422
  constructor(
1375
1423
  /**
1376
- * Closes all open dialogs before navigating, if set to `true` (default). If set to `false`, it just navigates
1377
- * without closing dialogs.
1424
+ * Closes all open dialogs before navigating to a different target, if set to `true` (default). If set to
1425
+ * `false`, it will just navigate without closing dialogs.
1378
1426
  */
1379
- bCloseDialogs: boolean
1427
+ closeDialogs: boolean
1380
1428
  );
1381
1429
 
1382
1430
  /**
@@ -1410,6 +1458,9 @@ declare namespace sap {
1410
1458
  getCloseDialogs(): boolean;
1411
1459
  /**
1412
1460
  * Sets if a navigation should close dialogs.
1461
+ *
1462
+ * **Note:** The dialogs are closed when a different target is displayed than the previous one, otherwise
1463
+ * the dialogs are kept open even when `bCloseDialogs` is `true`.
1413
1464
  */
1414
1465
  setCloseDialogs(
1415
1466
  /**
@@ -11215,22 +11266,6 @@ declare namespace sap {
11215
11266
  * Default value is `false`.
11216
11267
  */
11217
11268
  getRestoreFocusOnBackNavigation(): boolean;
11218
- /**
11219
- * @SINCE 1.91
11220
- *
11221
- * Hides the placeholder on the corresponding column for the provided aggregation name.
11222
- */
11223
- hidePlaceholder(
11224
- /**
11225
- * Object containing the aggregation name
11226
- */
11227
- mSettings: {
11228
- /**
11229
- * The aggregation name to decide on which column/container the placeholder should be hidden
11230
- */
11231
- aggregation: string;
11232
- }
11233
- ): void;
11234
11269
  /**
11235
11270
  * Checks for the provided `sap.ui.core.Control` in the aggregation {@link #getBeginColumnPages beginColumnPages}.
11236
11271
  * and returns its index if found or -1 otherwise.
@@ -11516,22 +11551,6 @@ declare namespace sap {
11516
11551
  */
11517
11552
  bRestoreFocusOnBackNavigation?: boolean
11518
11553
  ): this;
11519
- /**
11520
- * @SINCE 1.91
11521
- *
11522
- * Shows the placeholder on the corresponding column for the provided aggregation name.
11523
- */
11524
- showPlaceholder(
11525
- /**
11526
- * Object containing the aggregation name
11527
- */
11528
- mSettings: {
11529
- /**
11530
- * The aggregation name to decide on which column/container the placeholder should be shown
11531
- */
11532
- aggregation: string;
11533
- }
11534
- ): void;
11535
11554
  /**
11536
11555
  * Navigates to the given page inside the FlexibleColumnLayout. Columns are scanned for the page in the
11537
11556
  * following order: `Begin`, `Mid`, `End`.