@fkui/vue 6.26.0 → 6.28.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 +33 -6
- package/dist/cjs/cypress.cjs.js.map +2 -2
- package/dist/cjs/index.cjs.js +546 -561
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +33 -6
- package/dist/esm/cypress.esm.js.map +2 -2
- package/dist/esm/index.esm.js +546 -561
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/cypress.d.ts +23 -6
- package/dist/types/index.d.ts +113 -124
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/configs/recommended.js +2 -1
- package/htmlvalidate/elements/components.js +4 -0
- package/htmlvalidate/rules/common.js +19 -1
- package/htmlvalidate/rules/finteractivetable-selectable-description.rule.js +57 -0
- package/htmlvalidate/rules/index.js +5 -3
- package/htmlvalidate/rules/slotdeprecated.rule.js +85 -0
- package/package.json +5 -5
- package/htmlvalidate/rules/finteractivetable-checkbox-description.rule.js +0 -73
package/dist/cjs/cypress.cjs.js
CHANGED
|
@@ -1433,7 +1433,7 @@ var FInteractiveTablePageObject = class {
|
|
|
1433
1433
|
* Both row and column are 1-indexed, i.e. 1:1 selects the first cell in the
|
|
1434
1434
|
* first row.
|
|
1435
1435
|
*
|
|
1436
|
-
* Neither the marker for expandable rows or the checkbox for selectable
|
|
1436
|
+
* Neither the marker for expandable rows or the radio/checkbox for selectable
|
|
1437
1437
|
* rows are included in the column count, i.e. `1` always refers to the
|
|
1438
1438
|
* first column with content.
|
|
1439
1439
|
*
|
|
@@ -1467,7 +1467,7 @@ var FInteractiveTablePageObject = class {
|
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Get table header cell (`<th>` in `<thead>`).
|
|
1469
1469
|
*
|
|
1470
|
-
* Neither the marker for expandable rows or the checkbox for selectable
|
|
1470
|
+
* Neither the marker for expandable rows or the radio/checkbox for selectable
|
|
1471
1471
|
* rows are included in the column count, i.e. `1` always refers to the
|
|
1472
1472
|
* first column with content.
|
|
1473
1473
|
*
|
|
@@ -1484,7 +1484,7 @@ var FInteractiveTablePageObject = class {
|
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Get all table headers (`<th>` in `<thead>`).
|
|
1486
1486
|
*
|
|
1487
|
-
* Includes the headers for checkboxes in selectable rows and markers in expandable rows.
|
|
1487
|
+
* Includes the headers for radios/checkboxes in selectable rows and markers in expandable rows.
|
|
1488
1488
|
*/
|
|
1489
1489
|
headersRow() {
|
|
1490
1490
|
return cy.get(`${this.selector} thead th`);
|
|
@@ -1515,9 +1515,10 @@ var FInteractiveTablePageObject = class {
|
|
|
1515
1515
|
* parent row while if the first row is expanded the second row refers to
|
|
1516
1516
|
* the first expanded row under the first row.
|
|
1517
1517
|
*
|
|
1518
|
-
* Requires a `selectable` table
|
|
1518
|
+
* Requires a `selectable` table of type `multi`.
|
|
1519
1519
|
*
|
|
1520
1520
|
* @public
|
|
1521
|
+
* @deprecated Use ´.selectable()´ instead. Deprecated since v6.28.0.
|
|
1521
1522
|
* @param row - Row number (1-indexed).
|
|
1522
1523
|
* @returns Page object for `FCheckboxField`.
|
|
1523
1524
|
*/
|
|
@@ -1532,10 +1533,36 @@ var FInteractiveTablePageObject = class {
|
|
|
1532
1533
|
].join(" ")
|
|
1533
1534
|
);
|
|
1534
1535
|
}
|
|
1536
|
+
/**
|
|
1537
|
+
* Get selectable input element (checkbox or radio) in given row.
|
|
1538
|
+
*
|
|
1539
|
+
* For expandable rows the row count depend on whenever a row is expanded or
|
|
1540
|
+
* not. If the first row is collapsed the second row refers to the next
|
|
1541
|
+
* parent row while if the first row is expanded the second row refers to
|
|
1542
|
+
* the first expanded row under the first row.
|
|
1543
|
+
*
|
|
1544
|
+
* Requires a `selectable` table.
|
|
1545
|
+
*
|
|
1546
|
+
* @public
|
|
1547
|
+
* @since v6.28.0
|
|
1548
|
+
* @param row - Row number (1-indexed).
|
|
1549
|
+
* @returns Input element.
|
|
1550
|
+
*/
|
|
1551
|
+
selectable(row) {
|
|
1552
|
+
const index = row - 1;
|
|
1553
|
+
return cy.get(
|
|
1554
|
+
[
|
|
1555
|
+
this.selector,
|
|
1556
|
+
`tbody`,
|
|
1557
|
+
`tr:not(.table__expandable-row--collapsed):nth(${String(index)})`,
|
|
1558
|
+
`input`
|
|
1559
|
+
].join(" ")
|
|
1560
|
+
).first();
|
|
1561
|
+
}
|
|
1535
1562
|
/**
|
|
1536
1563
|
* Get sort order icon in given column.
|
|
1537
1564
|
*
|
|
1538
|
-
* Index includes the columns for checkboxes in selectable rows and markers in expandable rows.
|
|
1565
|
+
* Index includes the columns for radios/checkboxes in selectable rows and markers in expandable rows.
|
|
1539
1566
|
*
|
|
1540
1567
|
* @param index - Column index (0-indexed).
|
|
1541
1568
|
* @param order - Column sort order.
|
|
@@ -1610,7 +1637,7 @@ var FTableColumnPageObject = class {
|
|
|
1610
1637
|
return cy.get(`${this.selector} th`);
|
|
1611
1638
|
}
|
|
1612
1639
|
/**
|
|
1613
|
-
* @deprecated Use ´FInteractiveTablePageObject.
|
|
1640
|
+
* @deprecated Use ´FInteractiveTablePageObject.selectable()´ instead. Deprecated since v6.11.0.
|
|
1614
1641
|
*/
|
|
1615
1642
|
checkbox() {
|
|
1616
1643
|
return new FCheckboxFieldPageObject(this.selector);
|