@fkui/vue 6.32.0 → 6.33.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.
@@ -44,12 +44,18 @@ var FBadgePageObject = class {
44
44
  }
45
45
  status() {
46
46
  return this.el().then(
47
- (el) => el[0].className.replace(/.*badge--(\w+).*/, "$1")
47
+ (el) => (
48
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
49
+ el[0].className.replace(/.*badge--(\w+).*/, "$1")
50
+ )
48
51
  );
49
52
  }
50
53
  isInverted() {
51
54
  return this.el().then(
52
- (el) => el[0].className.replace(/.*badge--(\w+)-(\w+).*/, "$2") === "inverted"
55
+ (el) => (
56
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
57
+ el[0].className.replace(/.*badge--(\w+)-(\w+).*/, "$2") === "inverted"
58
+ )
53
59
  );
54
60
  }
55
61
  };
@@ -545,6 +551,7 @@ var FProgressbarPageObject = class {
545
551
  progressStatus() {
546
552
  return this.progressMeter().then((el) => {
547
553
  return el[0].classList[1].replace(
554
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
548
555
  /.*progress__meter--(\w+).*/,
549
556
  "$1"
550
557
  );
@@ -605,7 +612,10 @@ var FFileItemPageObject = class {
605
612
  */
606
613
  typeOfFile() {
607
614
  return this._fileIcon().then(
608
- (el) => el[0].classList[1].replace(/.*f-icon-(\w+).*/, "$1")
615
+ (el) => (
616
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
617
+ el[0].classList[1].replace(/.*f-icon-(\w+).*/, "$1")
618
+ )
609
619
  );
610
620
  }
611
621
  /**
@@ -619,7 +629,10 @@ var FFileItemPageObject = class {
619
629
  */
620
630
  typeOfButtonIcon() {
621
631
  return this._cancelDeleteButtonIcon().then(
622
- (el) => el[0].classList[2].replace(/.*f-icon-(\w+).*/, "$1")
632
+ (el) => (
633
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
634
+ el[0].classList[2].replace(/.*f-icon-(\w+).*/, "$1")
635
+ )
623
636
  );
624
637
  }
625
638
  };
@@ -743,7 +756,10 @@ var FMessageBoxPageObject = class {
743
756
  }
744
757
  typeOfMessage() {
745
758
  return this.el().then(
746
- (el) => el[0].className.replace(/.*message-box--(\w+).*/, "$1")
759
+ (el) => (
760
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
761
+ el[0].className.replace(/.*message-box--(\w+).*/, "$1")
762
+ )
747
763
  );
748
764
  }
749
765
  };
@@ -1515,6 +1531,7 @@ var FInteractiveTablePageObject = class {
1515
1531
  * @deprecated Use `header()` instead. Deprecated since v6.11.0.
1516
1532
  * @returns Page object for `FTableColumn`.
1517
1533
  */
1534
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated -- for backwards compatibility */
1518
1535
  headerRowItem() {
1519
1536
  return new FTableColumnPageObject(`${this.selector} .table__row`, 0);
1520
1537
  }
@@ -1528,6 +1545,7 @@ var FInteractiveTablePageObject = class {
1528
1545
  * @param index - Row number (0-indexed).
1529
1546
  * @returns Page object for `FTableColumn`.
1530
1547
  */
1548
+ /* eslint-disable-next-line @typescript-eslint/no-deprecated -- for backwards compatibility */
1531
1549
  columnItem(index) {
1532
1550
  return new FTableColumnPageObject(
1533
1551
  `${this.selector} .table__row`,
@@ -1755,7 +1773,10 @@ var FWizardStepPageobject = class {
1755
1773
  */
1756
1774
  status() {
1757
1775
  return this.el().then(
1758
- (el) => el[0].className.replace(/.*wizard-step--(\w+).*/, "$1")
1776
+ (el) => (
1777
+ /* eslint-disable-next-line sonarjs/slow-regex -- technical debt */
1778
+ el[0].className.replace(/.*wizard-step--(\w+).*/, "$1")
1779
+ )
1759
1780
  );
1760
1781
  }
1761
1782
  };