@zoodogood/utils 1.0.6-change.699 → 1.0.6-change.708

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.
@@ -33,7 +33,6 @@ class TextTableGenerator {
33
33
  if (this.options.borderBottom !== null) {
34
34
  context.content += this.drawBlockBorder(BorderDirectionEnum.BorderBottom);
35
35
  }
36
- console.log(this);
37
36
  return context.content;
38
37
  }
39
38
  getColumns() {
@@ -84,10 +83,13 @@ class TextTableGenerator {
84
83
  if (getRowType(row) === SpecialRowTypeEnum.Default) {
85
84
  row = row;
86
85
  content += (_c = (_b = (_a = this.options).borderLeft) === null || _b === void 0 ? void 0 : _b.call(_a, context, context.currentRow)) !== null && _c !== void 0 ? _c : "";
86
+ console.log(row);
87
87
  for (const cellIndex in row) {
88
88
  const cell = row.at(+cellIndex);
89
+ console.log(cell);
89
90
  const expectedWidth = metadata.columns.at(+cellIndex).largestLength;
90
91
  content += this.drawCell(cell, expectedWidth);
92
+ console.log(content);
91
93
  if (+cellIndex !== row.length - 1) {
92
94
  content += !cell.options.removeNextSeparator
93
95
  ? this.options.separator
@@ -101,6 +103,7 @@ class TextTableGenerator {
101
103
  row = row;
102
104
  content += this.drawLine(row.display);
103
105
  }
106
+ console.log({ content });
104
107
  return content;
105
108
  }
106
109
  drawCell(cell, expectedWidth) {
@@ -127,6 +130,7 @@ class TextTableGenerator {
127
130
  const symbol = setSymbol(context, +index);
128
131
  content += symbol;
129
132
  }
133
+ console.log({ drawLineContent: content });
130
134
  return content;
131
135
  }
132
136
  drawBlockBorder(borderDirection) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zoodogood/utils",
3
3
  "type": "module",
4
- "version": "1.0.6-change.699",
4
+ "version": "1.0.6-change.708",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",