@fkui/vue 6.10.0 → 6.12.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.
@@ -47,7 +47,7 @@ export declare class CalendarPageObject implements BasePageObject {
47
47
  * Day to select in the calendar day-view via day number
48
48
  */
49
49
  dayButton(day?: number): DefaultCypressChainable;
50
- day(day?: number): FCalenderDayPageobject;
50
+ day(day?: number): FCalendarDayPageObject;
51
51
  /**
52
52
  * Uses the calendar navigation bar navigate to selected year and month
53
53
  * jan = 0, dec = 11
@@ -89,7 +89,7 @@ export declare class FBadgePageObject implements BasePageObject {
89
89
  /**
90
90
  * @public
91
91
  */
92
- export declare class FCalenderDayPageobject implements BasePageObject {
92
+ export declare class FCalendarDayPageObject implements BasePageObject {
93
93
  selector: string;
94
94
  constructor(selector: string);
95
95
  el(): DefaultCypressChainable;
@@ -99,6 +99,13 @@ export declare class FCalenderDayPageobject implements BasePageObject {
99
99
  click(): Cypress.Chainable<JQuery<HTMLButtonElement>>;
100
100
  }
101
101
 
102
+ /**
103
+ * @deprecated Deprecated alias; use `FCalendarDayPageObject` instead (typo in name)
104
+ * @public
105
+ */
106
+ export declare class FCalenderDayPageobject extends FCalendarDayPageObject {
107
+ }
108
+
102
109
  /**
103
110
  * @public
104
111
  */
@@ -435,17 +442,23 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
435
442
  */
436
443
  caption(): DefaultCypressChainable;
437
444
  /**
438
- * Get all table headers (`<th>` in `<thead>`).
445
+ * Get table header cell (`<th>` in `<thead>`).
439
446
  *
440
- * Includes the headers for checkboxes in selectable rows and markers in expandable rows.
447
+ * Neither the marker for expandable rows or the checkbox for selectable
448
+ * rows are included in the column count, i.e. `1` always refers to the
449
+ * first column with content.
450
+ *
451
+ * @public
452
+ * @param col - column number of header (1-indexed).
453
+ * @returns The header cell element.
441
454
  */
442
- headersRow(): DefaultCypressChainable;
455
+ header(col: number): Cypress.Chainable<JQuery<HTMLTableCellElement>>;
443
456
  /**
444
- * Get all table body rows (`<tr>` in `<tbody>`).
457
+ * Get all table headers (`<th>` in `<thead>`).
445
458
  *
446
- * Includes expandable rows even if not expanded.
459
+ * Includes the headers for checkboxes in selectable rows and markers in expandable rows.
447
460
  */
448
- bodyRow(): DefaultCypressChainable;
461
+ headersRow(): DefaultCypressChainable;
449
462
  /**
450
463
  * Get row (`<tr>` in `<tbody>`) of given index.
451
464
  *
@@ -455,21 +468,26 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
455
468
  */
456
469
  row(index: number): DefaultCypressChainable;
457
470
  /**
458
- * Get page object for `FTableColumn` with selector targeting the given row number.
459
- *
460
- * Index includes the header row (index 0 selects the header row while 1 selects first row in table body).
461
- * Index ignores expandable rows.
471
+ * Get all table body rows (`<tr>` in `<tbody>`).
462
472
  *
463
- * @param index - Row number (0-indexed).
464
- * @returns Page object for `FTableColumn`.
473
+ * Includes expandable rows even if not expanded.
465
474
  */
466
- columnItem(index: number): FTableColumnPageObject;
475
+ bodyRow(): DefaultCypressChainable;
467
476
  /**
468
- * Get page object for `FTableColumn` with selector targeting the header row.
477
+ * Get page object with selector for the checkbox in given row.
469
478
  *
470
- * @returns Page object for `FTableColumn`.
479
+ * For expandable rows the row count depend on whenever a row is expanded or
480
+ * not. If the first row is collapsed the second row refers to the next
481
+ * parent row while if the first row is expanded the second row refers to
482
+ * the first expanded row under the first row.
483
+ *
484
+ * Requires a `selectable` table.
485
+ *
486
+ * @public
487
+ * @param row - Row number (1-indexed).
488
+ * @returns Page object for `FCheckboxField`.
471
489
  */
472
- headerRowItem(): FTableColumnPageObject;
490
+ checkbox(row: number): FCheckboxFieldPageObject;
473
491
  /**
474
492
  * Get sort order icon in given column.
475
493
  *
@@ -480,6 +498,24 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
480
498
  * @returns icon of given sort order.
481
499
  */
482
500
  getColumnSortedByIcon(index: number, order: "ascending" | "descending" | "unsorted"): DefaultCypressChainable;
501
+ /**
502
+ * Get page object for `FTableColumn` with selector targeting the header row.
503
+ *
504
+ * @deprecated Use `header()` instead. Deprecated since v6.11.0.
505
+ * @returns Page object for `FTableColumn`.
506
+ */
507
+ headerRowItem(): FTableColumnPageObject;
508
+ /**
509
+ * Get page object for `FTableColumn` with selector targeting the given row number.
510
+ *
511
+ * Index includes the header row (index 0 selects the header row while 1 selects first row in table body).
512
+ * Index ignores expandable rows.
513
+ *
514
+ * @deprecated Use `cell()` for body content and `header()` for header content instead. Deprecated since v6.11.0.
515
+ * @param index - Row number (0-indexed).
516
+ * @returns Page object for `FTableColumn`.
517
+ */
518
+ columnItem(index: number): FTableColumnPageObject;
483
519
  }
484
520
 
485
521
  /**
@@ -872,14 +908,24 @@ export declare class FStaticFieldPageObject implements BasePageObject {
872
908
 
873
909
  /**
874
910
  * @public
911
+ * @deprecated Use methods on `FInteractiveTable` instead. Deprecated since v6.11.0.
875
912
  */
876
913
  export declare class FTableColumnPageObject implements BasePageObject {
877
914
  selector: string;
878
915
  el: () => DefaultCypressChainable;
879
916
  index: number;
880
917
  constructor(selector: string, index: number);
918
+ /**
919
+ * @deprecated Use ´FInteractiveTablePageObject.cell()´ instead. Deprecated since v6.11.0.
920
+ */
881
921
  tableRowBodyContent(position: number): DefaultCypressChainable;
922
+ /**
923
+ * @deprecated Use ´FInteractiveTablePageObject.header()´ instead. Deprecated since v6.11.0.
924
+ */
882
925
  tableRowHeaderContent(): DefaultCypressChainable;
926
+ /**
927
+ * @deprecated Use ´FInteractiveTablePageObject.checkbox()´ instead. Deprecated since v6.11.0.
928
+ */
883
929
  checkbox(): FCheckboxFieldPageObject;
884
930
  }
885
931