@openui5/ts-types-esm 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-esm",
3
- "version": "1.98.0",
3
+ "version": "1.99.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.98.0
1
+ // For Library Version: 1.99.0
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
@@ -7489,72 +7489,14 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
7489
7489
  oSettings?: object
7490
7490
  ): FlexibleColumnLayoutSemanticHelper;
7491
7491
  /**
7492
- * Returns an object, describing the current state of the control and the expected action buttons for each
7492
+ * Returns an object describing the current state of the control and the expected action buttons for each
7493
7493
  * column.
7494
7494
  *
7495
- * The returned object has the following structure:
7496
- * - layout - the value of the `layout` property
7497
- * - maxColumnsCount - the maximum number of columns that can be displayed at once based on the control
7498
- * width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
7499
- * - columnsSizes - an object with fields `beginColumn, midColumn, endColumn`, representing the relative
7500
- * percentage sizes of the three columns as integers
7501
- * - columnsVisibility - an object with fields `beginColumn, midColumn, endColumn`, representing the visibility
7502
- * of the three columns
7503
- * - isFullScreen - `true` if only one column is visible at the moment, `false` otherwise **Note:** This
7504
- * may be due to small screen size (phone) or due to a layout, for which a single column takes up the whole
7505
- * width
7506
- * - isLogicallyFullScreen - `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn,
7507
- * sap.f.LayoutType.MidColumnFullScreen, sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise **Note:**
7508
- * While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
7509
- * will only be `true` for the layout values, listed above.
7510
- * - actionButtonsInfo - an object with fields `midColumn, endColumn`, each containing an object, telling
7511
- * whether action buttons should be shown in the `mid` and `end` columns, and what value of the `layout`
7512
- * property should be set upon clicking these buttons. Each of these objects has the following fields: `closeColumn,
7513
- * fullScreen, exitFullScreen`. If `null`, then the respective action button should not be shown, otherwise
7514
- * provides the value of `layout` property for the action button.
7515
- *
7516
7495
  * **Note:** This method relies on the internal `FlexibleColumnLayout` reference to be rendered in the DOM
7517
7496
  * tree. For convenience, use methods {@link sap.f.FlexibleColumnLayoutSemanticHelper#isDOMReady} and {@link
7518
7497
  * sap.f.FlexibleColumnLayoutSemanticHelper#whenDOMReady}.
7519
- *
7520
- * Example value:
7521
- *
7522
- *
7523
- * ```javascript
7524
- *
7525
- *
7526
- * {
7527
- * "layout":"ThreeColumnsMidExpanded",
7528
- * "maxColumnsCount":3,
7529
- * "columnsSizes":{
7530
- * "beginColumn":25,
7531
- * "midColumn":50,
7532
- * "endColumn":25
7533
- * },
7534
- * "columnsVisibility":{
7535
- * "beginColumn":true,
7536
- * "midColumn":true,
7537
- * "endColumn":true
7538
- * },
7539
- * "isFullScreen":false,
7540
- * "isLogicallyFullScreen":false,
7541
- * "actionButtonsInfo":{
7542
- * "midColumn":{
7543
- * "fullScreen":null,
7544
- * "exitFullScreen":null,
7545
- * "closeColumn":null
7546
- * },
7547
- * "endColumn":{
7548
- * "fullScreen":"EndColumnFullScreen",
7549
- * "exitFullScreen":null,
7550
- * "closeColumn":"TwoColumnsBeginExpanded"
7551
- * }
7552
- * }
7553
- * }
7554
- *
7555
- * ```
7556
- */
7557
- getCurrentUIState(): object;
7498
+ */
7499
+ getCurrentUIState(): UIState;
7558
7500
  /**
7559
7501
  * Returns the default layout types for the different numbers of columns.
7560
7502
  *
@@ -7570,8 +7512,6 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
7570
7512
  /**
7571
7513
  * Returns an object, describing the state that the control will have after navigating to a different view
7572
7514
  * level.
7573
- *
7574
- * About the format of return value, see: {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState}
7575
7515
  */
7576
7516
  getNextUIState(
7577
7517
  /**
@@ -7579,7 +7519,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
7579
7519
  * 3 and above - subsequent views
7580
7520
  */
7581
7521
  iNextLevel: int
7582
- ): object;
7522
+ ): UIState;
7583
7523
  /**
7584
7524
  * @SINCE 1.72
7585
7525
  *
@@ -7608,6 +7548,155 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
7608
7548
  */
7609
7549
  whenReady(): Promise<any>;
7610
7550
  }
7551
+ /**
7552
+ * The configuration of the navigation actions in the columns.
7553
+ */
7554
+ export type ColumnsNavigationActions = {
7555
+ /**
7556
+ * Configuration of the navigation actions of the mid column.
7557
+ */
7558
+ midColumn?: NavigationActionsTargets;
7559
+ /**
7560
+ * Configuration of the navigation actions of the end column.
7561
+ */
7562
+ endColumn?: NavigationActionsTargets;
7563
+ };
7564
+
7565
+ /**
7566
+ * Represents the relative percentage sizes of all columns as integers.
7567
+ */
7568
+ export type ColumnsSizes = {
7569
+ /**
7570
+ * The relative percentage width of the begin column as integer.
7571
+ */
7572
+ beginColumn?: number;
7573
+ /**
7574
+ * The relative percentage width of the mid column as integer.
7575
+ */
7576
+ midColumn?: number;
7577
+ /**
7578
+ * The relative percentage width of the end column as integer.
7579
+ */
7580
+ endColumn?: number;
7581
+ };
7582
+
7583
+ /**
7584
+ * Represents the visibility of the columns.
7585
+ */
7586
+ export type ColumnsVisibility = {
7587
+ /**
7588
+ * The visibility of the begin column.
7589
+ */
7590
+ beginColumn?: boolean;
7591
+ /**
7592
+ * The visibility of the mid column.
7593
+ */
7594
+ midColumn?: boolean;
7595
+ /**
7596
+ * The visibility of the end column.
7597
+ */
7598
+ endColumn?: boolean;
7599
+ };
7600
+
7601
+ /**
7602
+ * Configures the target layouts of the navigation acion buttons in a column.
7603
+ */
7604
+ export type NavigationActionsTargets = {
7605
+ /**
7606
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `fullscreen` navigation action
7607
+ * button is pressed. If null, then the respective action button should not be shown.
7608
+ */
7609
+ fullScreen?: string | null;
7610
+ /**
7611
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `exitFullScreen` navigation action
7612
+ * button is pressed. If null, then the respective action button should not be shown.
7613
+ */
7614
+ exitFullScreen?: string | null;
7615
+ /**
7616
+ * The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `closeColumn` navigation action
7617
+ * button is pressed. If null, then the respective action button should not be shown.
7618
+ */
7619
+ closeColumn?: string | null;
7620
+ };
7621
+
7622
+ /**
7623
+ * Configuration of the state of the `FlexibleColumnLayout` control and the expected action buttons for
7624
+ * each column.
7625
+ *
7626
+ * Example value:
7627
+ *
7628
+ *
7629
+ * ```javascript
7630
+ *
7631
+ *
7632
+ * {
7633
+ * "layout":"ThreeColumnsMidExpanded",
7634
+ * "maxColumnsCount":3,
7635
+ * "columnsSizes":{
7636
+ * "beginColumn":25,
7637
+ * "midColumn":50,
7638
+ * "endColumn":25
7639
+ * },
7640
+ * "columnsVisibility":{
7641
+ * "beginColumn":true,
7642
+ * "midColumn":true,
7643
+ * "endColumn":true
7644
+ * },
7645
+ * "isFullScreen":false,
7646
+ * "isLogicallyFullScreen":false,
7647
+ * "actionButtonsInfo":{
7648
+ * "midColumn":{
7649
+ * "fullScreen":null,
7650
+ * "exitFullScreen":null,
7651
+ * "closeColumn":null
7652
+ * },
7653
+ * "endColumn":{
7654
+ * "fullScreen":"EndColumnFullScreen",
7655
+ * "exitFullScreen":null,
7656
+ * "closeColumn":"TwoColumnsBeginExpanded"
7657
+ * }
7658
+ * }
7659
+ * }
7660
+ *
7661
+ * ```
7662
+ */
7663
+ export type UIState = {
7664
+ /**
7665
+ * The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
7666
+ */
7667
+ layout?: string;
7668
+ /**
7669
+ * The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
7670
+ */
7671
+ maxColumnsCount?: number;
7672
+ /**
7673
+ * Represents the relative percentage sizes of all columns as integers.
7674
+ */
7675
+ columnsSizes?: ColumnsSizes;
7676
+ /**
7677
+ * Represents the visibility of the columns.
7678
+ */
7679
+ columnsVisibility?: ColumnsVisibility;
7680
+ /**
7681
+ * The value is `true` if only one column is visible at the moment, `false` otherwise.
7682
+ *
7683
+ * **Note:** This may be due to small screen size (phone) or due to a layout, for which a single column
7684
+ * takes up the whole width.
7685
+ */
7686
+ isFullScreen?: boolean;
7687
+ /**
7688
+ * The value is `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn, sap.f.LayoutType.MidColumnFullScreen,
7689
+ * sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise.
7690
+ *
7691
+ * **Note:** While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
7692
+ * will only be `true` for the layout values, listed above.
7693
+ */
7694
+ isLogicallyFullScreen?: boolean;
7695
+ /**
7696
+ * The configuration of the navigation actions in the columns.
7697
+ */
7698
+ actionButtonsInfo?: ColumnsNavigationActions;
7699
+ };
7611
7700
  }
7612
7701
 
7613
7702
  declare module "sap/f/GridContainer" {