plac-micro-common 1.3.97 → 1.3.98
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/dist/libs/pdf-form/templates/sio-form-en.template.d.ts +1 -1
- package/dist/libs/pdf-form/templates/sio-form-en.template.js +835 -633
- package/dist/libs/pdf-form/templates/sio-form-kh.template.d.ts +1 -1
- package/dist/libs/pdf-form/templates/sio-form-kh.template.js +64 -129
- package/dist/libs/pdf-form/templates/uw-form.template.d.ts +1 -1
- package/dist/libs/pdf-form/templates/uw-form.template.js +23 -17
- package/package.json +1 -1
|
@@ -65,6 +65,7 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
65
65
|
size: A3 portrait;
|
|
66
66
|
margin: 8mm 8mm 20mm 8mm;
|
|
67
67
|
}
|
|
68
|
+
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.check-mark {
|
|
@@ -99,13 +100,14 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
99
100
|
|
|
100
101
|
</head>
|
|
101
102
|
|
|
102
|
-
<% function yesNoCheckbox(value, name) { return '<div class="flex items-center gap-2" style="margin-top:3px;">'
|
|
103
|
-
|
|
104
|
-
%>
|
|
103
|
+
<% function yesNoCheckbox(value, name) { return '<div class="flex items-center gap-2" style="margin-top:3px;">'
|
|
104
|
+
+ '<input type="checkbox" ' + (value===true ? 'checked' : '' ) + ' />' + '<span>មាន / Yes</span>' + ' '
|
|
105
|
+
+ '<input type="checkbox" ' + (value===false ? 'checked' : '' ) + ' />' + '<span>មិនមាន / No</span>' + '</div>' ; } %>
|
|
105
106
|
|
|
106
107
|
|
|
107
|
-
<% function renderField(value) { const hasValue=value && value.toString().trim();
|
|
108
|
-
|
|
108
|
+
<% function renderField(value) { const hasValue=value && value.toString().trim();
|
|
109
|
+
return '<div style="border-bottom:1px solid #000;min-height:18px;width:100%;display:block;margin-top:4px;">' +
|
|
110
|
+
(hasValue ? '<span style="font-weight:bold;">' + value + '</span>' : ' ' ) + '</div>' ; } %>
|
|
109
111
|
|
|
110
112
|
<% function renderCheck(value, expected) { return value===expected ? '<span class="check-mark"></span>' : '' ; } %>
|
|
111
113
|
|
|
@@ -313,7 +315,9 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
313
315
|
<td colspan="4">
|
|
314
316
|
<ol class="list-decimal pl-5">
|
|
315
317
|
<li>
|
|
316
|
-
<span>
|
|
318
|
+
<span>
|
|
319
|
+
Primary Contact: <%= ph.contact_info %>
|
|
320
|
+
</span>
|
|
317
321
|
</li>
|
|
318
322
|
<li>
|
|
319
323
|
<span>
|
|
@@ -326,7 +330,9 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
326
330
|
<td colspan="4">
|
|
327
331
|
<ol class="list-decimal pl-5">
|
|
328
332
|
<li>
|
|
329
|
-
|
|
333
|
+
<% if (la.contact_info) { %>
|
|
334
|
+
<span>Primary Contact: <%= la.contact_info %> </span>
|
|
335
|
+
<% } %>
|
|
330
336
|
</li>
|
|
331
337
|
<li>
|
|
332
338
|
<span>
|
|
@@ -498,12 +504,12 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
498
504
|
<tr>
|
|
499
505
|
<td colspan="4">
|
|
500
506
|
<span class="font-khmer font-bold">
|
|
501
|
-
<%= ph.name_and_address_of_employer
|
|
507
|
+
<%= ph.name_and_address_of_employer %>
|
|
502
508
|
</span>
|
|
503
509
|
</td>
|
|
504
510
|
<td colspan="4">
|
|
505
511
|
<span class="font-khmer font-bold">
|
|
506
|
-
<%= la.name_and_address_of_employer
|
|
512
|
+
<%= la.name_and_address_of_employer %>
|
|
507
513
|
</span>
|
|
508
514
|
</td>
|
|
509
515
|
</tr>
|
|
@@ -545,12 +551,12 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
545
551
|
<!-- USA Green Card -->
|
|
546
552
|
<tr>
|
|
547
553
|
<td colspan="8">
|
|
548
|
-
<span
|
|
554
|
+
<span>ម្ចាស់បណ្ណសន្យារ៉ាប់រងជាពលរដ្ឋអាមេរិក ឬ ជាប់ពន្ធស្នាក់នៅអាមេរិក ឬ
|
|
549
555
|
មានសិទ្ធិកាន់</span>
|
|
550
556
|
<span> Green Card </span>
|
|
551
|
-
<span
|
|
557
|
+
<span>។ </span>
|
|
552
558
|
<p>
|
|
553
|
-
<span>The Policyholder is
|
|
559
|
+
<span>The Policyholder is USA citizen / USA resident for tax purpose or holding
|
|
554
560
|
Green
|
|
555
561
|
Card.</span>
|
|
556
562
|
</p>
|
|
@@ -1458,10 +1464,10 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
1458
1464
|
<table class="table w-full table-fixed border-collapse form-table" cellpadding="10">
|
|
1459
1465
|
|
|
1460
1466
|
<colgroup>
|
|
1461
|
-
<col style="width:
|
|
1467
|
+
<col style="width: 55%;" />
|
|
1462
1468
|
<col style="width: 10%;" />
|
|
1463
1469
|
<col style="width: 10%;" />
|
|
1464
|
-
<col style="width:
|
|
1470
|
+
<col style="width: 25%;" />
|
|
1465
1471
|
</colgroup>
|
|
1466
1472
|
|
|
1467
1473
|
<!-- Header -->
|
|
@@ -1514,10 +1520,10 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
1514
1520
|
<td class="align-top space-y-2 text-justify">
|
|
1515
1521
|
<p>
|
|
1516
1522
|
<%= num %>.
|
|
1517
|
-
<%= additionalQuestions['q' + num + '_question_kh'] %>
|
|
1523
|
+
<%= additionalQuestions['q' + num + '_question_kh' ] %>
|
|
1518
1524
|
</p>
|
|
1519
1525
|
<p class="text-justify">
|
|
1520
|
-
<%= additionalQuestions['q' + num + '_question_en'] %>
|
|
1526
|
+
<%= additionalQuestions['q' + num + '_question_en' ] %>
|
|
1521
1527
|
</p>
|
|
1522
1528
|
</td>
|
|
1523
1529
|
|
|
@@ -1531,7 +1537,7 @@ exports.UW_FORM_TEMPLATE = `
|
|
|
1531
1537
|
<td class="text-justify align-top">
|
|
1532
1538
|
<div>
|
|
1533
1539
|
<p>
|
|
1534
|
-
<%= additionalQuestions['q' + num + '_detail'] || '' %>
|
|
1540
|
+
<%= additionalQuestions['q' + num + '_detail' ] || '' %>
|
|
1535
1541
|
</p>
|
|
1536
1542
|
</div>
|
|
1537
1543
|
</td>
|