@fkui/vue 6.9.0 → 6.11.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/dist/cjs/cypress.cjs.js +130 -36
- package/dist/cjs/cypress.cjs.js.map +3 -3
- package/dist/cjs/index.cjs.js +153 -28
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +130 -36
- package/dist/esm/cypress.esm.js.map +3 -3
- package/dist/esm/index.esm.js +153 -28
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/cypress.d.ts +88 -9
- package/dist/types/index.d.ts +208 -259
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/elements/components.js +4 -1
- package/htmlvalidate/rules/no-template-modal.rule.js +24 -2
- package/package.json +6 -6
package/dist/types/cypress.d.ts
CHANGED
|
@@ -398,11 +398,14 @@ export declare class FFormModalPageObject extends FModalPageObject implements Ba
|
|
|
398
398
|
*/
|
|
399
399
|
export declare class FInteractiveTablePageObject implements BasePageObject {
|
|
400
400
|
selector: string;
|
|
401
|
-
el: () => DefaultCypressChainable;
|
|
402
401
|
/**
|
|
403
|
-
* @param selector -
|
|
402
|
+
* @param selector - root element selector for `FInteractiveTable`, usually `.table`.
|
|
404
403
|
*/
|
|
405
|
-
constructor(selector
|
|
404
|
+
constructor(selector?: string);
|
|
405
|
+
/**
|
|
406
|
+
* Get root element.
|
|
407
|
+
*/
|
|
408
|
+
el(): DefaultCypressChainable;
|
|
406
409
|
/**
|
|
407
410
|
* Get table cell (typically `<td>` but can be `<th>` if row headers are
|
|
408
411
|
* present).
|
|
@@ -427,19 +430,85 @@ export declare class FInteractiveTablePageObject implements BasePageObject {
|
|
|
427
430
|
row: number;
|
|
428
431
|
col: number;
|
|
429
432
|
}): Cypress.Chainable<JQuery<HTMLTableCellElement>>;
|
|
433
|
+
/**
|
|
434
|
+
* Get `<caption>` element.
|
|
435
|
+
*/
|
|
430
436
|
caption(): DefaultCypressChainable;
|
|
431
|
-
|
|
432
|
-
|
|
437
|
+
/**
|
|
438
|
+
* Get table header cell (`<th>` in `<thead>`).
|
|
439
|
+
*
|
|
440
|
+
* Neither the marker for expandable rows or the checkbox for selectable
|
|
441
|
+
* rows are included in the column count, i.e. `1` always refers to the
|
|
442
|
+
* first column with content.
|
|
443
|
+
*
|
|
444
|
+
* @public
|
|
445
|
+
* @param col - column number of header (1-indexed).
|
|
446
|
+
* @returns The header cell element.
|
|
447
|
+
*/
|
|
448
|
+
header(col: number): Cypress.Chainable<JQuery<HTMLTableCellElement>>;
|
|
449
|
+
/**
|
|
450
|
+
* Get all table headers (`<th>` in `<thead>`).
|
|
451
|
+
*
|
|
452
|
+
* Includes the headers for checkboxes in selectable rows and markers in expandable rows.
|
|
453
|
+
*/
|
|
433
454
|
headersRow(): DefaultCypressChainable;
|
|
434
455
|
/**
|
|
435
|
-
*
|
|
456
|
+
* Get row (`<tr>` in `<tbody>`) of given index.
|
|
457
|
+
*
|
|
458
|
+
* Includes expandable rows even if not expanded.
|
|
459
|
+
*
|
|
460
|
+
* @param index - Row number (0-indexed).
|
|
436
461
|
*/
|
|
437
|
-
|
|
462
|
+
row(index: number): DefaultCypressChainable;
|
|
438
463
|
/**
|
|
439
|
-
*
|
|
464
|
+
* Get all table body rows (`<tr>` in `<tbody>`).
|
|
465
|
+
*
|
|
466
|
+
* Includes expandable rows even if not expanded.
|
|
467
|
+
*/
|
|
468
|
+
bodyRow(): DefaultCypressChainable;
|
|
469
|
+
/**
|
|
470
|
+
* Get page object with selector for the checkbox in given row.
|
|
471
|
+
*
|
|
472
|
+
* For expandable rows the row count depend on whenever a row is expanded or
|
|
473
|
+
* not. If the first row is collapsed the second row refers to the next
|
|
474
|
+
* parent row while if the first row is expanded the second row refers to
|
|
475
|
+
* the first expanded row under the first row.
|
|
476
|
+
*
|
|
477
|
+
* Requires a `selectable` table.
|
|
478
|
+
*
|
|
479
|
+
* @public
|
|
480
|
+
* @param row - Row number (1-indexed).
|
|
481
|
+
* @returns Page object for `FCheckboxField`.
|
|
482
|
+
*/
|
|
483
|
+
checkbox(row: number): FCheckboxFieldPageObject;
|
|
484
|
+
/**
|
|
485
|
+
* Get sort order icon in given column.
|
|
486
|
+
*
|
|
487
|
+
* Index includes the columns for checkboxes in selectable rows and markers in expandable rows.
|
|
488
|
+
*
|
|
489
|
+
* @param index - Column index (0-indexed).
|
|
490
|
+
* @param order - Column sort order.
|
|
491
|
+
* @returns icon of given sort order.
|
|
440
492
|
*/
|
|
441
|
-
headerRowItem(): FTableColumnPageObject;
|
|
442
493
|
getColumnSortedByIcon(index: number, order: "ascending" | "descending" | "unsorted"): DefaultCypressChainable;
|
|
494
|
+
/**
|
|
495
|
+
* Get page object for `FTableColumn` with selector targeting the header row.
|
|
496
|
+
*
|
|
497
|
+
* @deprecated Use `header()` instead. Deprecated since v6.11.0.
|
|
498
|
+
* @returns Page object for `FTableColumn`.
|
|
499
|
+
*/
|
|
500
|
+
headerRowItem(): FTableColumnPageObject;
|
|
501
|
+
/**
|
|
502
|
+
* Get page object for `FTableColumn` with selector targeting the given row number.
|
|
503
|
+
*
|
|
504
|
+
* Index includes the header row (index 0 selects the header row while 1 selects first row in table body).
|
|
505
|
+
* Index ignores expandable rows.
|
|
506
|
+
*
|
|
507
|
+
* @deprecated Use `cell()` for body content and `header()` for header content instead. Deprecated since v6.11.0.
|
|
508
|
+
* @param index - Row number (0-indexed).
|
|
509
|
+
* @returns Page object for `FTableColumn`.
|
|
510
|
+
*/
|
|
511
|
+
columnItem(index: number): FTableColumnPageObject;
|
|
443
512
|
}
|
|
444
513
|
|
|
445
514
|
/**
|
|
@@ -832,14 +901,24 @@ export declare class FStaticFieldPageObject implements BasePageObject {
|
|
|
832
901
|
|
|
833
902
|
/**
|
|
834
903
|
* @public
|
|
904
|
+
* @deprecated Use methods on `FInteractiveTable` instead. Deprecated since v6.11.0.
|
|
835
905
|
*/
|
|
836
906
|
export declare class FTableColumnPageObject implements BasePageObject {
|
|
837
907
|
selector: string;
|
|
838
908
|
el: () => DefaultCypressChainable;
|
|
839
909
|
index: number;
|
|
840
910
|
constructor(selector: string, index: number);
|
|
911
|
+
/**
|
|
912
|
+
* @deprecated Use ´FInteractiveTablePageObject.cell()´ instead. Deprecated since v6.11.0.
|
|
913
|
+
*/
|
|
841
914
|
tableRowBodyContent(position: number): DefaultCypressChainable;
|
|
915
|
+
/**
|
|
916
|
+
* @deprecated Use ´FInteractiveTablePageObject.header()´ instead. Deprecated since v6.11.0.
|
|
917
|
+
*/
|
|
842
918
|
tableRowHeaderContent(): DefaultCypressChainable;
|
|
919
|
+
/**
|
|
920
|
+
* @deprecated Use ´FInteractiveTablePageObject.checkbox()´ instead. Deprecated since v6.11.0.
|
|
921
|
+
*/
|
|
843
922
|
checkbox(): FCheckboxFieldPageObject;
|
|
844
923
|
}
|
|
845
924
|
|