@zoodogood/utils 1.0.6-change.695 → 1.0.6-change.699
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,6 +33,7 @@ class TextTableGenerator {
|
|
|
33
33
|
if (this.options.borderBottom !== null) {
|
|
34
34
|
context.content += this.drawBlockBorder(BorderDirectionEnum.BorderBottom);
|
|
35
35
|
}
|
|
36
|
+
console.log(this);
|
|
36
37
|
return context.content;
|
|
37
38
|
}
|
|
38
39
|
getColumns() {
|
|
@@ -260,10 +261,5 @@ class TextTableBuilder {
|
|
|
260
261
|
export { TextTableBuilder };
|
|
261
262
|
export { SpecialRowTypeEnum, CellAlignEnum, BorderDirectionEnum };
|
|
262
263
|
const builder = new TextTableBuilder()
|
|
263
|
-
.
|
|
264
|
-
.addRowWithElements(["1", "212", "3"], { align: CellAlignEnum.Left })
|
|
265
|
-
.addRowWithElements(["1", "2", "3"], { align: CellAlignEnum.Right })
|
|
266
|
-
.addRowSeparator()
|
|
267
|
-
.addRowWithElements(["777", "555", "1999"], { align: CellAlignEnum.Center });
|
|
268
|
-
// the example has been simplified
|
|
264
|
+
.addRowWithElements(["1", "2", "3"]);
|
|
269
265
|
console.log(builder.generateTextContent());
|