@cj-tech-master/excelts 3.0.1-canary.20251229011802.ccfcbcc → 3.0.1-canary.20251230172852.9dca08f

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cj-tech-master/excelts v3.0.1-canary.20251229011802.ccfcbcc
2
+ * @cj-tech-master/excelts v3.0.1-canary.20251230172852.9dca08f
3
3
  * TypeScript Excel Workbook Manager - Read and Write xlsx and csv Files.
4
4
  * (c) 2025 cjnoname
5
5
  * Released under the MIT License
@@ -1672,6 +1672,27 @@ var Row = class {
1672
1672
  });
1673
1673
  }
1674
1674
  /**
1675
+ * Get row values as a 0-based sparse array (column 1 => index 0).
1676
+ *
1677
+ * This is useful when you want to compare/stringify values without the
1678
+ * leading separator produced by the 1-based sparse array returned by `values`.
1679
+ */
1680
+ getValues() {
1681
+ const values = [];
1682
+ this._cells.forEach((cell) => {
1683
+ if (cell && cell.type !== Enums.ValueType.Null) values[cell.col - 1] = cell.value;
1684
+ });
1685
+ return values;
1686
+ }
1687
+ /**
1688
+ * Convenience stringification for row values.
1689
+ *
1690
+ * Equivalent to `row.getValues().join(separator)`.
1691
+ */
1692
+ valuesToString(separator = ",") {
1693
+ return this.getValues().join(separator);
1694
+ }
1695
+ /**
1675
1696
  * Returns true if the row includes at least one cell with a value
1676
1697
  */
1677
1698
  get hasValues() {