@rangertechnologies/ngnxt 2.1.276 → 2.1.277
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.
|
@@ -57492,7 +57492,7 @@ const VERSION = {
|
|
|
57492
57492
|
"semver": null,
|
|
57493
57493
|
"suffix": "09440148-dirty",
|
|
57494
57494
|
"semverString": null,
|
|
57495
|
-
"version": "2.1.
|
|
57495
|
+
"version": "2.1.277"
|
|
57496
57496
|
};
|
|
57497
57497
|
/* tslint:enable */
|
|
57498
57498
|
|
|
@@ -57725,27 +57725,32 @@ class PdfDesignerService {
|
|
|
57725
57725
|
row.table.body?.forEach((tableBody) => {
|
|
57726
57726
|
let tableWidths = 0;
|
|
57727
57727
|
tableBody?.forEach((bodyRow) => {
|
|
57728
|
-
|
|
57729
|
-
|
|
57730
|
-
|
|
57731
|
-
|
|
57732
|
-
|
|
57733
|
-
|
|
57734
|
-
|
|
57728
|
+
if (Array.isArray(bodyRow)) {
|
|
57729
|
+
bodyRow.forEach((rowCol) => {
|
|
57730
|
+
rowCol.columns.forEach((col) => {
|
|
57731
|
+
if (Array.isArray(col)) {
|
|
57732
|
+
col.forEach((c) => {
|
|
57733
|
+
if (typeof c.width === 'number' && c.width < 520) {
|
|
57734
|
+
tableWidths = c.width * 5.2;
|
|
57735
|
+
delete c.width;
|
|
57736
|
+
}
|
|
57737
|
+
});
|
|
57738
|
+
}
|
|
57739
|
+
else {
|
|
57740
|
+
if (typeof col.width === 'number' && col.width < 520) {
|
|
57741
|
+
tableWidths = col.width * 5.2;
|
|
57742
|
+
delete col.width;
|
|
57735
57743
|
}
|
|
57736
|
-
});
|
|
57737
|
-
}
|
|
57738
|
-
else {
|
|
57739
|
-
if (typeof col.width === 'number' && col.width < 520) {
|
|
57740
|
-
tableWidths = col.width * 5.2;
|
|
57741
|
-
delete col.width;
|
|
57742
57744
|
}
|
|
57743
|
-
}
|
|
57745
|
+
});
|
|
57744
57746
|
});
|
|
57745
|
-
|
|
57746
|
-
|
|
57747
|
+
row.table["widths"].push(tableWidths);
|
|
57748
|
+
}
|
|
57747
57749
|
});
|
|
57748
57750
|
});
|
|
57751
|
+
if (row?.table?.body?.[0]?.length !== row?.table?.widths?.length) {
|
|
57752
|
+
delete row.table["widths"];
|
|
57753
|
+
}
|
|
57749
57754
|
}
|
|
57750
57755
|
else {
|
|
57751
57756
|
row.columns?.forEach((col) => {
|