@fkui/vue 6.32.0 → 6.32.1
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 +27 -6
- package/dist/cjs/cypress.cjs.js.map +2 -2
- package/dist/cjs/index.cjs.js +44 -7
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +27 -6
- package/dist/esm/cypress.esm.js.map +2 -2
- package/dist/esm/index.esm.js +44 -7
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +95 -98
- package/package.json +4 -4
package/dist/cjs/cypress.cjs.js
CHANGED
|
@@ -123,12 +123,18 @@ var FBadgePageObject = class {
|
|
|
123
123
|
}
|
|
124
124
|
status() {
|
|
125
125
|
return this.el().then(
|
|
126
|
-
(el) =>
|
|
126
|
+
(el) => (
|
|
127
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
128
|
+
el[0].className.replace(/.*badge--(\w+).*/, "$1")
|
|
129
|
+
)
|
|
127
130
|
);
|
|
128
131
|
}
|
|
129
132
|
isInverted() {
|
|
130
133
|
return this.el().then(
|
|
131
|
-
(el) =>
|
|
134
|
+
(el) => (
|
|
135
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
136
|
+
el[0].className.replace(/.*badge--(\w+)-(\w+).*/, "$2") === "inverted"
|
|
137
|
+
)
|
|
132
138
|
);
|
|
133
139
|
}
|
|
134
140
|
};
|
|
@@ -624,6 +630,7 @@ var FProgressbarPageObject = class {
|
|
|
624
630
|
progressStatus() {
|
|
625
631
|
return this.progressMeter().then((el) => {
|
|
626
632
|
return el[0].classList[1].replace(
|
|
633
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
627
634
|
/.*progress__meter--(\w+).*/,
|
|
628
635
|
"$1"
|
|
629
636
|
);
|
|
@@ -684,7 +691,10 @@ var FFileItemPageObject = class {
|
|
|
684
691
|
*/
|
|
685
692
|
typeOfFile() {
|
|
686
693
|
return this._fileIcon().then(
|
|
687
|
-
(el) =>
|
|
694
|
+
(el) => (
|
|
695
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
696
|
+
el[0].classList[1].replace(/.*f-icon-(\w+).*/, "$1")
|
|
697
|
+
)
|
|
688
698
|
);
|
|
689
699
|
}
|
|
690
700
|
/**
|
|
@@ -698,7 +708,10 @@ var FFileItemPageObject = class {
|
|
|
698
708
|
*/
|
|
699
709
|
typeOfButtonIcon() {
|
|
700
710
|
return this._cancelDeleteButtonIcon().then(
|
|
701
|
-
(el) =>
|
|
711
|
+
(el) => (
|
|
712
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
713
|
+
el[0].classList[2].replace(/.*f-icon-(\w+).*/, "$1")
|
|
714
|
+
)
|
|
702
715
|
);
|
|
703
716
|
}
|
|
704
717
|
};
|
|
@@ -822,7 +835,10 @@ var FMessageBoxPageObject = class {
|
|
|
822
835
|
}
|
|
823
836
|
typeOfMessage() {
|
|
824
837
|
return this.el().then(
|
|
825
|
-
(el) =>
|
|
838
|
+
(el) => (
|
|
839
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
840
|
+
el[0].className.replace(/.*message-box--(\w+).*/, "$1")
|
|
841
|
+
)
|
|
826
842
|
);
|
|
827
843
|
}
|
|
828
844
|
};
|
|
@@ -1594,6 +1610,7 @@ var FInteractiveTablePageObject = class {
|
|
|
1594
1610
|
* @deprecated Use `header()` instead. Deprecated since v6.11.0.
|
|
1595
1611
|
* @returns Page object for `FTableColumn`.
|
|
1596
1612
|
*/
|
|
1613
|
+
/* eslint-disable-next-line @typescript-eslint/no-deprecated -- for backwards compatibility */
|
|
1597
1614
|
headerRowItem() {
|
|
1598
1615
|
return new FTableColumnPageObject(`${this.selector} .table__row`, 0);
|
|
1599
1616
|
}
|
|
@@ -1607,6 +1624,7 @@ var FInteractiveTablePageObject = class {
|
|
|
1607
1624
|
* @param index - Row number (0-indexed).
|
|
1608
1625
|
* @returns Page object for `FTableColumn`.
|
|
1609
1626
|
*/
|
|
1627
|
+
/* eslint-disable-next-line @typescript-eslint/no-deprecated -- for backwards compatibility */
|
|
1610
1628
|
columnItem(index) {
|
|
1611
1629
|
return new FTableColumnPageObject(
|
|
1612
1630
|
`${this.selector} .table__row`,
|
|
@@ -1834,7 +1852,10 @@ var FWizardStepPageobject = class {
|
|
|
1834
1852
|
*/
|
|
1835
1853
|
status() {
|
|
1836
1854
|
return this.el().then(
|
|
1837
|
-
(el) =>
|
|
1855
|
+
(el) => (
|
|
1856
|
+
/* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
|
|
1857
|
+
el[0].className.replace(/.*wizard-step--(\w+).*/, "$1")
|
|
1858
|
+
)
|
|
1838
1859
|
);
|
|
1839
1860
|
}
|
|
1840
1861
|
};
|