@medicus.ai/medicus-report-pdf-generator 1.0.167 → 1.0.171
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.
- package/app/i18n_wellbeing.config.js +21 -0
- package/assets/wellbeing/css/nasco_report.css +16 -5
- package/assets/wellbeing/css/nasco_report_rtl.css +664 -0
- package/assets/wellbeing/js/js.js +3 -2
- package/config/diagnostikare.json +19 -0
- package/index.js +1 -1
- package/lib/corporate_report_generator.js +7 -5
- package/lib/wellbeing_report_generator.js +38 -20
- package/locales/en.json +0 -48
- package/locales/wellbeing/ar-AE.json +122 -0
- package/locales/wellbeing/ar-SA.json +122 -0
- package/locales/wellbeing/de.json +122 -0
- package/locales/wellbeing/en.json +122 -0
- package/locales/wellbeing/fr.json +122 -0
- package/locales/wellbeing/it-IT.json +122 -0
- package/locales/wellbeing/pt.json +122 -0
- package/locales/wellbeing/tr.json +122 -0
- package/locales/wellbeing/zh-CN.json +122 -0
- package/package.json +2 -2
- package/templates/corporate_report/cover_page.html +1 -1
- package/templates/corporate_report/participant_analytics.html +1 -1
- package/templates/wellbeing/blocks/footer.html +1 -5
- package/templates/wellbeing/blocks/header.html +1 -1
- package/templates/wellbeing/blocks/tips.html +0 -2
- package/templates/wellbeing/rtl_no_pages.html +36 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const i18n = require('i18n');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
i18n.configure({
|
|
5
|
+
locales: ['en', 'de', 'fr','ar-AE','ar-SA','pt','zh-CN','tr'],
|
|
6
|
+
defaultLocale: 'en',
|
|
7
|
+
// sets a custom cookie name to parse locale settings from - defaults to NULL
|
|
8
|
+
cookie: 'currentLang',
|
|
9
|
+
queryParameter: 'lang',
|
|
10
|
+
directory: path.resolve(__dirname + '/../locales/wellbeing'),
|
|
11
|
+
api: {
|
|
12
|
+
'__': 'translate',
|
|
13
|
+
'__n': 'translateN'
|
|
14
|
+
},
|
|
15
|
+
// Downcase locale when passed on queryParam; e.g. lang=en-US becomes
|
|
16
|
+
// en-us. When set to false, the queryParam value will be used as passed;
|
|
17
|
+
// e.g. lang=en-US remains en-US.
|
|
18
|
+
preserveLegacyCase: true
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
module.exports = i18n;
|
|
@@ -2750,10 +2750,12 @@ div[key="healthRisk"] span.score-details-title {
|
|
|
2750
2750
|
font-size: 15px;
|
|
2751
2751
|
font-weight: 300;
|
|
2752
2752
|
color: #333333;
|
|
2753
|
-
margin-top:
|
|
2753
|
+
margin-top: 5px;
|
|
2754
2754
|
padding: 0;
|
|
2755
2755
|
width: 88%;
|
|
2756
|
-
line-height: 1.
|
|
2756
|
+
line-height: 1.1;
|
|
2757
|
+
float:left;
|
|
2758
|
+
margin-bottom: 0;
|
|
2757
2759
|
}
|
|
2758
2760
|
|
|
2759
2761
|
div[key="healthRisk"] .score-list {
|
|
@@ -3010,6 +3012,10 @@ div[key="healthRisk"] .score-list {
|
|
|
3010
3012
|
height: auto;
|
|
3011
3013
|
}
|
|
3012
3014
|
|
|
3015
|
+
.diagnostikare .ukv-logo.ui.image {
|
|
3016
|
+
width: 183px;
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3013
3019
|
.insight-container {
|
|
3014
3020
|
margin-top: 0;
|
|
3015
3021
|
height: auto;
|
|
@@ -3169,7 +3175,7 @@ div[key="healthRisk"] .score-list {
|
|
|
3169
3175
|
width: 100%;
|
|
3170
3176
|
float: left;
|
|
3171
3177
|
clear: both;
|
|
3172
|
-
margin-top:
|
|
3178
|
+
margin-top: 10px;
|
|
3173
3179
|
}
|
|
3174
3180
|
|
|
3175
3181
|
.disclaimer-text {
|
|
@@ -3227,10 +3233,13 @@ h5.recommended-tips-title {
|
|
|
3227
3233
|
font-weight: 600;
|
|
3228
3234
|
font-size: 18px;
|
|
3229
3235
|
float: right;
|
|
3230
|
-
padding:
|
|
3236
|
+
padding: 10px 0 7px 40px;
|
|
3231
3237
|
box-sizing: border-box;
|
|
3232
3238
|
}
|
|
3233
3239
|
|
|
3240
|
+
.diagnostikare h5.recommended-tips-title{
|
|
3241
|
+
font-weight: normal;
|
|
3242
|
+
}
|
|
3234
3243
|
.insight-container.insight-container-with-img .tips-text {
|
|
3235
3244
|
width: 54%;
|
|
3236
3245
|
display: inline-block;
|
|
@@ -3274,7 +3283,7 @@ h5.recommended-tips-title {
|
|
|
3274
3283
|
|
|
3275
3284
|
.insight-container.insight-container-without-img .tips-text {
|
|
3276
3285
|
font-size: 10px;
|
|
3277
|
-
line-height: 1.
|
|
3286
|
+
line-height: 1.2;
|
|
3278
3287
|
}
|
|
3279
3288
|
|
|
3280
3289
|
.tips-section {
|
|
@@ -3334,6 +3343,8 @@ svg .inactive {
|
|
|
3334
3343
|
|
|
3335
3344
|
.svg-container svg {
|
|
3336
3345
|
overflow: visible !important;
|
|
3346
|
+
fill-rule: evenodd;
|
|
3347
|
+
clip-rule: evenodd;
|
|
3337
3348
|
}
|
|
3338
3349
|
|
|
3339
3350
|
#lifeStyle svg {
|