@openui5/ts-types 1.98.0 → 1.99.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",
3
- "version": "1.98.0",
3
+ "version": "1.99.0",
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.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1335,6 +1335,158 @@ declare namespace sap {
1335
1335
  }
1336
1336
  }
1337
1337
 
1338
+ namespace FlexibleColumnLayoutSemanticHelper {
1339
+ /**
1340
+ * The configuration of the navigation actions in the columns.
1341
+ */
1342
+ type ColumnsNavigationActions = {
1343
+ /**
1344
+ * Configuration of the navigation actions of the mid column.
1345
+ */
1346
+ midColumn?: sap.f.FlexibleColumnLayoutSemanticHelper.NavigationActionsTargets;
1347
+ /**
1348
+ * Configuration of the navigation actions of the end column.
1349
+ */
1350
+ endColumn?: sap.f.FlexibleColumnLayoutSemanticHelper.NavigationActionsTargets;
1351
+ };
1352
+
1353
+ /**
1354
+ * Represents the relative percentage sizes of all columns as integers.
1355
+ */
1356
+ type ColumnsSizes = {
1357
+ /**
1358
+ * The relative percentage width of the begin column as integer.
1359
+ */
1360
+ beginColumn?: number;
1361
+ /**
1362
+ * The relative percentage width of the mid column as integer.
1363
+ */
1364
+ midColumn?: number;
1365
+ /**
1366
+ * The relative percentage width of the end column as integer.
1367
+ */
1368
+ endColumn?: number;
1369
+ };
1370
+
1371
+ /**
1372
+ * Represents the visibility of the columns.
1373
+ */
1374
+ type ColumnsVisibility = {
1375
+ /**
1376
+ * The visibility of the begin column.
1377
+ */
1378
+ beginColumn?: boolean;
1379
+ /**
1380
+ * The visibility of the mid column.
1381
+ */
1382
+ midColumn?: boolean;
1383
+ /**
1384
+ * The visibility of the end column.
1385
+ */
1386
+ endColumn?: boolean;
1387
+ };
1388
+
1389
+ /**
1390
+ * Configures the target layouts of the navigation acion buttons in a column.
1391
+ */
1392
+ type NavigationActionsTargets = {
1393
+ /**
1394
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `fullscreen` navigation action
1395
+ * button is pressed. If null, then the respective action button should not be shown.
1396
+ */
1397
+ fullScreen?: string | null;
1398
+ /**
1399
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `exitFullScreen` navigation action
1400
+ * button is pressed. If null, then the respective action button should not be shown.
1401
+ */
1402
+ exitFullScreen?: string | null;
1403
+ /**
1404
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `closeColumn` navigation action
1405
+ * button is pressed. If null, then the respective action button should not be shown.
1406
+ */
1407
+ closeColumn?: string | null;
1408
+ };
1409
+
1410
+ /**
1411
+ * Configuration of the state of the `FlexibleColumnLayout` control and the expected action buttons for
1412
+ * each column.
1413
+ *
1414
+ * Example value:
1415
+ *
1416
+ *
1417
+ * ```javascript
1418
+ *
1419
+ *
1420
+ * {
1421
+ * "layout":"ThreeColumnsMidExpanded",
1422
+ * "maxColumnsCount":3,
1423
+ * "columnsSizes":{
1424
+ * "beginColumn":25,
1425
+ * "midColumn":50,
1426
+ * "endColumn":25
1427
+ * },
1428
+ * "columnsVisibility":{
1429
+ * "beginColumn":true,
1430
+ * "midColumn":true,
1431
+ * "endColumn":true
1432
+ * },
1433
+ * "isFullScreen":false,
1434
+ * "isLogicallyFullScreen":false,
1435
+ * "actionButtonsInfo":{
1436
+ * "midColumn":{
1437
+ * "fullScreen":null,
1438
+ * "exitFullScreen":null,
1439
+ * "closeColumn":null
1440
+ * },
1441
+ * "endColumn":{
1442
+ * "fullScreen":"EndColumnFullScreen",
1443
+ * "exitFullScreen":null,
1444
+ * "closeColumn":"TwoColumnsBeginExpanded"
1445
+ * }
1446
+ * }
1447
+ * }
1448
+ *
1449
+ * ```
1450
+ */
1451
+ type UIState = {
1452
+ /**
1453
+ * The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
1454
+ */
1455
+ layout?: string;
1456
+ /**
1457
+ * The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
1458
+ */
1459
+ maxColumnsCount?: number;
1460
+ /**
1461
+ * Represents the relative percentage sizes of all columns as integers.
1462
+ */
1463
+ columnsSizes?: sap.f.FlexibleColumnLayoutSemanticHelper.ColumnsSizes;
1464
+ /**
1465
+ * Represents the visibility of the columns.
1466
+ */
1467
+ columnsVisibility?: sap.f.FlexibleColumnLayoutSemanticHelper.ColumnsVisibility;
1468
+ /**
1469
+ * The value is `true` if only one column is visible at the moment, `false` otherwise.
1470
+ *
1471
+ * **Note:** This may be due to small screen size (phone) or due to a layout, for which a single column
1472
+ * takes up the whole width.
1473
+ */
1474
+ isFullScreen?: boolean;
1475
+ /**
1476
+ * The value is `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn, sap.f.LayoutType.MidColumnFullScreen,
1477
+ * sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise.
1478
+ *
1479
+ * **Note:** While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
1480
+ * will only be `true` for the layout values, listed above.
1481
+ */
1482
+ isLogicallyFullScreen?: boolean;
1483
+ /**
1484
+ * The configuration of the navigation actions in the columns.
1485
+ */
1486
+ actionButtonsInfo?: sap.f.FlexibleColumnLayoutSemanticHelper.ColumnsNavigationActions;
1487
+ };
1488
+ }
1489
+
1338
1490
  namespace routing {
1339
1491
  /**
1340
1492
  * @SINCE 1.46
@@ -11991,72 +12143,14 @@ declare namespace sap {
11991
12143
  oSettings?: object
11992
12144
  ): sap.f.FlexibleColumnLayoutSemanticHelper;
11993
12145
  /**
11994
- * Returns an object, describing the current state of the control and the expected action buttons for each
12146
+ * Returns an object describing the current state of the control and the expected action buttons for each
11995
12147
  * column.
11996
12148
  *
11997
- * The returned object has the following structure:
11998
- * - layout - the value of the `layout` property
11999
- * - maxColumnsCount - the maximum number of columns that can be displayed at once based on the control
12000
- * width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
12001
- * - columnsSizes - an object with fields `beginColumn, midColumn, endColumn`, representing the relative
12002
- * percentage sizes of the three columns as integers
12003
- * - columnsVisibility - an object with fields `beginColumn, midColumn, endColumn`, representing the visibility
12004
- * of the three columns
12005
- * - isFullScreen - `true` if only one column is visible at the moment, `false` otherwise **Note:** This
12006
- * may be due to small screen size (phone) or due to a layout, for which a single column takes up the whole
12007
- * width
12008
- * - isLogicallyFullScreen - `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn,
12009
- * sap.f.LayoutType.MidColumnFullScreen, sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise **Note:**
12010
- * While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
12011
- * will only be `true` for the layout values, listed above.
12012
- * - actionButtonsInfo - an object with fields `midColumn, endColumn`, each containing an object, telling
12013
- * whether action buttons should be shown in the `mid` and `end` columns, and what value of the `layout`
12014
- * property should be set upon clicking these buttons. Each of these objects has the following fields: `closeColumn,
12015
- * fullScreen, exitFullScreen`. If `null`, then the respective action button should not be shown, otherwise
12016
- * provides the value of `layout` property for the action button.
12017
- *
12018
12149
  * **Note:** This method relies on the internal `FlexibleColumnLayout` reference to be rendered in the DOM
12019
12150
  * tree. For convenience, use methods {@link sap.f.FlexibleColumnLayoutSemanticHelper#isDOMReady} and {@link
12020
12151
  * sap.f.FlexibleColumnLayoutSemanticHelper#whenDOMReady}.
12021
- *
12022
- * Example value:
12023
- *
12024
- *
12025
- * ```javascript
12026
- *
12027
- *
12028
- * {
12029
- * "layout":"ThreeColumnsMidExpanded",
12030
- * "maxColumnsCount":3,
12031
- * "columnsSizes":{
12032
- * "beginColumn":25,
12033
- * "midColumn":50,
12034
- * "endColumn":25
12035
- * },
12036
- * "columnsVisibility":{
12037
- * "beginColumn":true,
12038
- * "midColumn":true,
12039
- * "endColumn":true
12040
- * },
12041
- * "isFullScreen":false,
12042
- * "isLogicallyFullScreen":false,
12043
- * "actionButtonsInfo":{
12044
- * "midColumn":{
12045
- * "fullScreen":null,
12046
- * "exitFullScreen":null,
12047
- * "closeColumn":null
12048
- * },
12049
- * "endColumn":{
12050
- * "fullScreen":"EndColumnFullScreen",
12051
- * "exitFullScreen":null,
12052
- * "closeColumn":"TwoColumnsBeginExpanded"
12053
- * }
12054
- * }
12055
- * }
12056
- *
12057
- * ```
12058
12152
  */
12059
- getCurrentUIState(): object;
12153
+ getCurrentUIState(): sap.f.FlexibleColumnLayoutSemanticHelper.UIState;
12060
12154
  /**
12061
12155
  * Returns the default layout types for the different numbers of columns.
12062
12156
  *
@@ -12072,8 +12166,6 @@ declare namespace sap {
12072
12166
  /**
12073
12167
  * Returns an object, describing the state that the control will have after navigating to a different view
12074
12168
  * level.
12075
- *
12076
- * About the format of return value, see: {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState}
12077
12169
  */
12078
12170
  getNextUIState(
12079
12171
  /**
@@ -12081,7 +12173,7 @@ declare namespace sap {
12081
12173
  * 3 and above - subsequent views
12082
12174
  */
12083
12175
  iNextLevel: int
12084
- ): object;
12176
+ ): sap.f.FlexibleColumnLayoutSemanticHelper.UIState;
12085
12177
  /**
12086
12178
  * @SINCE 1.72
12087
12179
  *