@fkui/vue 6.27.0 → 6.29.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.
@@ -430,7 +430,7 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
430
430
  * Both row and column are 1-indexed, i.e. 1:1 selects the first cell in the
431
431
  * first row.
432
432
  *
433
- * Neither the marker for expandable rows or the checkbox for selectable
433
+ * Neither the marker for expandable rows or the radio/checkbox for selectable
434
434
  * rows are included in the column count, i.e. `1` always refers to the
435
435
  * first column with content.
436
436
  *
@@ -454,7 +454,7 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
454
454
  /**
455
455
  * Get table header cell (`<th>` in `<thead>`).
456
456
  *
457
- * Neither the marker for expandable rows or the checkbox for selectable
457
+ * Neither the marker for expandable rows or the radio/checkbox for selectable
458
458
  * rows are included in the column count, i.e. `1` always refers to the
459
459
  * first column with content.
460
460
  *
@@ -466,7 +466,7 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
466
466
  /**
467
467
  * Get all table headers (`<th>` in `<thead>`).
468
468
  *
469
- * Includes the headers for checkboxes in selectable rows and markers in expandable rows.
469
+ * Includes the headers for radios/checkboxes in selectable rows and markers in expandable rows.
470
470
  */
471
471
  headersRow(): DefaultCypressChainable;
472
472
  /**
@@ -491,17 +491,34 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
491
491
  * parent row while if the first row is expanded the second row refers to
492
492
  * the first expanded row under the first row.
493
493
  *
494
- * Requires a `selectable` table.
494
+ * Requires a `selectable` table of type `multi`.
495
495
  *
496
496
  * @public
497
+ * @deprecated Use ´.selectable()´ instead. Deprecated since v6.28.0.
497
498
  * @param row - Row number (1-indexed).
498
499
  * @returns Page object for `FCheckboxField`.
499
500
  */
500
501
  checkbox(row: number): FCheckboxFieldPageObject;
502
+ /**
503
+ * Get selectable input element (checkbox or radio) in given row.
504
+ *
505
+ * For expandable rows the row count depend on whenever a row is expanded or
506
+ * not. If the first row is collapsed the second row refers to the next
507
+ * parent row while if the first row is expanded the second row refers to
508
+ * the first expanded row under the first row.
509
+ *
510
+ * Requires a `selectable` table.
511
+ *
512
+ * @public
513
+ * @since v6.28.0
514
+ * @param row - Row number (1-indexed).
515
+ * @returns Input element.
516
+ */
517
+ selectable(row: number): DefaultCypressChainable;
501
518
  /**
502
519
  * Get sort order icon in given column.
503
520
  *
504
- * Index includes the columns for checkboxes in selectable rows and markers in expandable rows.
521
+ * Index includes the columns for radios/checkboxes in selectable rows and markers in expandable rows.
505
522
  *
506
523
  * @param index - Column index (0-indexed).
507
524
  * @param order - Column sort order.
@@ -798,6 +815,57 @@ export declare class FPageHeaderPageobject implements BasePageObject {
798
815
  logoSlot(): DefaultCypressChainable;
799
816
  }
800
817
 
818
+ /**
819
+ * Cypress pageobject for `FPaginator`.
820
+ *
821
+ * @public
822
+ */
823
+ export declare class FPaginatorPageObject implements BasePageObject {
824
+ selector: string;
825
+ /**
826
+ * @param selector - The root of the FPaginator component
827
+ */
828
+ constructor(selector: string);
829
+ /**
830
+ * Get the root element.
831
+ *
832
+ * @returns The element itself.
833
+ */
834
+ el(): DefaultCypressChainable;
835
+ /**
836
+ * Get the button for the current page.
837
+ *
838
+ * @returns The button for the current page.
839
+ */
840
+ currentPageButton(): DefaultCypressChainable;
841
+ /**
842
+ * Get the button for navigating to the next page.
843
+ *
844
+ * @returns The button for navigating to the next page.
845
+ */
846
+ nextButton(): DefaultCypressChainable;
847
+ /**
848
+ * Gets the button/buttons for the specified page/pages.
849
+ *
850
+ * @param page - The index of the page button (if number); the number of the page (if string)
851
+ * @returns The button for the specified page (if param `page` is defined); the buttons for all pages shown (if param `page` is undefined).
852
+ */
853
+ pageButton(page?: number | string): DefaultCypressChainable;
854
+ /**
855
+ * Get the page counter.
856
+ * The element replaces the page buttons in compact mode.
857
+ *
858
+ * @returns The page counter.
859
+ */
860
+ pageCounter(): DefaultCypressChainable;
861
+ /**
862
+ * Get the button for navigating to the previous page.
863
+ *
864
+ * @returns The button for navigating to the previous page.
865
+ */
866
+ previousButton(): DefaultCypressChainable;
867
+ }
868
+
801
869
  /**
802
870
  * Cypress Pageobject representing the `FProgressbar` component.
803
871
  *
@@ -934,7 +1002,7 @@ export declare class FTableColumnPageObject implements BasePageObject {
934
1002
  */
935
1003
  tableRowHeaderContent(): DefaultCypressChainable;
936
1004
  /**
937
- * @deprecated Use ´FInteractiveTablePageObject.checkbox()´ instead. Deprecated since v6.11.0.
1005
+ * @deprecated Use ´FInteractiveTablePageObject.selectable()´ instead. Deprecated since v6.11.0.
938
1006
  */
939
1007
  checkbox(): FCheckboxFieldPageObject;
940
1008
  }