@medicus.ai/medicus-report-pdf-generator 1.3.15 → 1.3.16
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.
|
@@ -219,13 +219,12 @@ function renderTable(rows, meta, cfg) {
|
|
|
219
219
|
|
|
220
220
|
// ── column widths ──────────────────────────────────────────────────────
|
|
221
221
|
const COL = {
|
|
222
|
-
system: "width:
|
|
223
|
-
high: "width:
|
|
224
|
-
questions: "width:
|
|
225
|
-
result: "width:
|
|
226
|
-
maximum: "width:
|
|
227
|
-
perThree: "width:
|
|
228
|
-
comments: "width:24%;text-align:left;",
|
|
222
|
+
system: "width:45%;text-align:left;",
|
|
223
|
+
high: "width:10%;text-align:center;",
|
|
224
|
+
questions: "width:12%;text-align:center;",
|
|
225
|
+
result: "width:10%;text-align:center;",
|
|
226
|
+
maximum: "width:12%;text-align:center;",
|
|
227
|
+
perThree: "width:11%;text-align:center;",
|
|
229
228
|
};
|
|
230
229
|
|
|
231
230
|
const TH_BASE = `padding:6px 14px;font-size:8px;font-weight:700;color:#ffffff;
|
|
@@ -242,7 +241,6 @@ function renderTable(rows, meta, cfg) {
|
|
|
242
241
|
${th("Result", "result")}
|
|
243
242
|
${th("Maximum", "maximum")}
|
|
244
243
|
${th("/3", "perThree")}
|
|
245
|
-
${th("Comments", "comments")}
|
|
246
244
|
</tr>`;
|
|
247
245
|
|
|
248
246
|
// ── data rows ─────────────────────────────────────────────────────────
|
|
@@ -274,7 +272,6 @@ function renderTable(rows, meta, cfg) {
|
|
|
274
272
|
${TD(resultDisplay, "result", `font-weight:600;color:#444;`)}
|
|
275
273
|
${TD(maximumDisplay, "maximum")}
|
|
276
274
|
${TD(perThreeDisplay, "perThree")}
|
|
277
|
-
${TD("", "comments")}
|
|
278
275
|
</tr>`;
|
|
279
276
|
})
|
|
280
277
|
.join("");
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="center aligned eight wide ">
|
|
1
|
+
<div class="center aligned eight wide " style="width: calc(50% - 11px);">
|
|
2
2
|
<div style="color: {{sectionTitleBorderColor}}; font-size: 16px; font-weight: 700; word-wrap: break-word;padding-bottom: 5px;text-align: center;">{{PhysicalWellbeingText}}</div>
|
|
3
3
|
<div class="physical-score-section">
|
|
4
4
|
<div class="meter-component">
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
-
<div style="width:
|
|
68
|
+
<div style="width: calc(50% - 11px); margin-left: 22px;">
|
|
69
69
|
<div style="color: {{sectionTitleBorderColor}}; font-size: 16px; font-weight: 700; word-wrap: break-word;padding-bottom: 5px;text-align: center;margin-left: 10px;">{{PsychologicalWellbeingText}}</div>
|
|
70
70
|
|
|
71
|
-
<div class="row score-section">
|
|
71
|
+
<div class="row score-section" style="width: calc(100% - 38px) !important; margin-left: 0;">
|
|
72
72
|
<div style="display: flex;width: 100%;justify-content: center;">
|
|
73
73
|
<div class="center aligned eight wide psychological-score-section">
|
|
74
74
|
<div class="meter-component">
|