@7365admin1/core 2.45.0 → 2.46.0
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +11 -1
- package/dist/index.js +244 -97
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1308 -1159
- package/dist/index.mjs.map +1 -1
- package/dist/public/handlebars/resident-remarks-email.hbs +38 -0
- package/dist/public/icons/approved-icon.png +0 -0
- package/dist/public/icons/deleted-icon.png +0 -0
- package/dist/public/icons/resubmission-icon.png +0 -0
- package/dist/public/images/seven-365.svg +17 -0
- package/package.json +3 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
2
|
+
<tr>
|
|
3
|
+
<td align="center" valign="top" style="padding: 20px 0; background-color: #f0f0f0;">
|
|
4
|
+
<div
|
|
5
|
+
style="font-family: Arial, Helvetica, sans-serif; display: flex; justify-content: center; align-items: center; height: auto; margin: 0; background-color: #f0f0f0; padding: 20px;">
|
|
6
|
+
<div
|
|
7
|
+
style="background-color: #ffffff; padding: 40px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; max-width: 400px; width: 100%; height: auto;">
|
|
8
|
+
<div style="display: flex; flex-direction: column; align-items: center;">
|
|
9
|
+
<div style="margin-bottom: 20px;">
|
|
10
|
+
<img src="{{logo}}" alt="Seven 365 Logo" style="max-width: 100%; height: auto;" />
|
|
11
|
+
</div>
|
|
12
|
+
<div>
|
|
13
|
+
<img src="{{statusLogo}}" alt="Status Icon" style="max-width: 70.94px; height: auto;" />
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div style="font-size: 24px; font-weight: bold; margin-bottom: 10px; color: #333333;">
|
|
18
|
+
{{title}}
|
|
19
|
+
</div>
|
|
20
|
+
<div
|
|
21
|
+
style="width: calc(100% - 145px); margin: 0 auto 20px; background-color: #ffffff; color: #000; padding: 15px; border-radius: 8px; border: 1px solid #e0e0e0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); text-align: left;">
|
|
22
|
+
<strong style="display: block; margin-bottom: 5px;">Remarks</strong>
|
|
23
|
+
<p>
|
|
24
|
+
{{message2}}
|
|
25
|
+
</p>
|
|
26
|
+
</div>
|
|
27
|
+
{{!-- {{#unless hideLogin}}
|
|
28
|
+
<a href="{{loginLink}}"
|
|
29
|
+
style="width: calc(100% - 145px); margin: 10px auto 20px; background-color: #d32f2f; color: #ffffff; padding: 20px 20px; border: none; border-radius: 10px; cursor: pointer; text-decoration: none; display: inline-block; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">Login</a>
|
|
30
|
+
{{/unless}} --}}
|
|
31
|
+
<div style="font-size: 16px; color: #888888; margin: 20px auto 20px;">
|
|
32
|
+
© 2024 by Seven 365 Pte Ltd V1.0
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</td>
|
|
37
|
+
</tr>
|
|
38
|
+
</table>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg width="869" height="222" viewBox="0 0 869 222" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M103.245 75.4034C103.245 84.4109 101.659 90.5639 98.4874 93.8624C95.3157 97.034 89.2896 98.6198 80.409 98.6198H23.1292C13.4874 98.6198 7.14408 96.6534 4.0993 92.7206C-1.03509 88.4934 0.108646 79.1459 0.108646 69.1236H15.3269V84.9183H88.4015V55.4221H26.7448C15.8344 55.4221 8.98363 52.631 6.19259 47.0489C4.6702 44.0042 3.909 36.2019 3.909 23.6422C3.909 14.6348 5.49483 8.54521 8.66647 5.37358C11.8381 2.07507 17.8642 0.425812 26.7448 0.425812H79.0769C88.0844 0.425812 94.1739 2.07507 97.3456 5.37358C100.517 8.67208 101.197 18.8848 101.197 28.0191H88.0209V13.7467H18.562V41.1497H80.409C89.2896 41.1497 95.3157 42.7989 98.4874 46.0974C101.659 49.396 103.245 55.4855 103.245 64.3661V75.4034Z" fill="#0F131C"/>
|
|
3
|
+
<path d="M248.3 98.6198H152.96V0.425812H247.539V13.5564H169.326V40.9594H217.091V53.8997H169.326V85.1086H248.3V98.6198Z" fill="#0F131C"/>
|
|
4
|
+
<path d="M396.933 98.6198H372.575L332.612 60.3698H303.687V98.6198H287.321V0.425812H366.486C373.59 0.425812 378.792 1.88477 382.09 4.80268C385.515 7.72059 387.228 12.6049 387.228 19.4557V41.34C387.228 51.1086 383.422 57.0713 375.81 59.228C373.4 59.9892 365.471 60.3698 352.023 60.3698L396.933 98.6198ZM370.672 37.534V23.2616C370.672 19.4557 369.848 16.8549 368.198 15.4594C366.676 13.937 363.948 13.1758 360.015 13.1758H303.687V47.6198H360.015C363.948 47.6198 366.676 46.9221 368.198 45.5266C369.848 44.131 370.672 41.4669 370.672 37.534Z" fill="#0F131C"/>
|
|
5
|
+
<path d="M531.801 0.425812L480.421 98.6198H466.719L413.055 0.425812H430.753L474.141 82.2542L515.626 0.425812H531.801Z" fill="#0F131C"/>
|
|
6
|
+
<path d="M580.029 98.6198H563.663V0.425812H580.029V98.6198Z" fill="#0F131C"/>
|
|
7
|
+
<path d="M730.463 75.4034C730.463 84.4109 728.877 90.5639 725.705 93.8624C722.66 97.034 716.634 98.6198 707.627 98.6198H652.631C643.75 98.6198 637.66 97.034 634.362 93.8624C631.19 90.5639 629.604 84.4109 629.604 75.4034V23.6422C629.604 14.6348 631.19 8.54521 634.362 5.37358C637.66 2.07507 643.75 0.425812 652.631 0.425812H707.627C718.791 0.425812 725.705 3.28029 728.369 8.98924C729.765 12.034 730.463 23.0713 730.463 36.0116H714.097V13.7467H645.97V84.9183H714.097V60.3698H730.463V75.4034Z" fill="#0F131C"/>
|
|
8
|
+
<path d="M869 98.6198H773.66V0.425812H868.239V13.5564H790.026V40.9594H837.791V53.8997H790.026V85.1086H869V98.6198Z" fill="#0F131C"/>
|
|
9
|
+
<rect x="319.905" y="152.472" width="207.999" height="69.333" rx="34.6665" fill="#EB261E"/>
|
|
10
|
+
<path d="M394.944 198.487C394.944 201.725 394.286 203.952 392.971 205.167C391.655 206.331 389.327 206.913 385.987 206.913H364.656C360.659 206.913 358.154 206.052 357.141 204.332C356.534 203.218 356.23 199.018 356.23 194.615H362.455V201.523H385.076C386.594 201.523 387.556 201.295 387.961 200.84C388.365 200.334 388.568 199.398 388.568 198.031V192.793C388.568 191.528 388.365 190.617 387.961 190.061C387.606 189.504 386.645 189.226 385.076 189.226H371.185V184.216H383.634C385.506 184.216 386.62 183.533 386.974 182.166C387.075 181.863 387.126 180.294 387.126 177.46C387.126 175.79 386.948 174.676 386.594 174.12C386.139 173.361 385.152 172.981 383.634 172.981H362.683V179.054H356.762V175.41C356.762 172.323 357.369 170.274 358.584 169.262C359.798 168.249 362 167.743 365.188 167.743H385.076C389.125 167.743 391.655 168.654 392.667 170.476C393.224 171.539 393.502 174.373 393.502 178.978C393.502 181.205 393.047 182.9 392.136 184.064C391.275 185.177 389.757 185.962 387.581 186.417C392.49 187.126 394.944 189.782 394.944 194.388V198.487Z" fill="white"/>
|
|
11
|
+
<path d="M444.071 197.348C444.071 203.724 439.87 206.913 431.47 206.913H415.908C411.303 206.913 408.14 206.052 406.42 204.332C404.699 202.611 403.839 199.448 403.839 194.843V189.681C403.839 181.888 406.496 176.017 411.809 172.07C416.516 168.528 422.892 166.757 430.938 166.757C431.647 166.757 432.532 166.807 433.595 166.908L437.618 172.07C436.961 172.02 436.151 171.994 435.189 171.994C420.058 171.994 411.936 175.866 410.822 183.608C416.44 182.495 422.234 181.938 428.206 181.938C431.546 181.938 434.202 182.141 436.176 182.546C439.01 183.052 441.034 184.039 442.249 185.506C443.463 186.974 444.071 189.15 444.071 192.034V197.348ZM437.77 195.602V193.097C437.77 190.415 436.834 188.644 434.962 187.783C433.848 187.277 431.697 187.024 428.509 187.024C421.829 187.024 415.731 187.505 410.215 188.467C410.063 189.428 409.987 190.213 409.987 190.82C409.987 192.54 409.987 193.78 409.987 194.539C410.089 196.311 410.215 197.576 410.367 198.335C410.721 199.752 411.455 200.663 412.568 201.068C413.53 201.472 415.428 201.675 418.261 201.675H430.179C432.963 201.675 434.86 201.346 435.872 200.688C437.138 199.878 437.77 198.183 437.77 195.602Z" fill="white"/>
|
|
12
|
+
<path d="M491.579 194.312C491.579 199.777 489.251 203.497 484.595 205.47C481.508 206.837 476.777 207.52 470.4 207.52C465.694 207.52 460.102 206.913 453.624 205.698L451.727 199.398C458.963 201.068 465.567 201.903 471.539 201.903C475.436 201.903 478.345 201.548 480.269 200.84C483.305 199.676 484.823 197.475 484.823 194.236C484.823 190.896 483.254 188.618 480.117 187.404C478.092 186.594 475.081 186.189 471.083 186.189C465.264 186.189 458.837 186.999 451.802 188.618L453.852 167.743H485.582V172.981H458.786L457.42 182.47C462.278 181.407 467.111 180.876 471.918 180.876C485.025 180.876 491.579 185.354 491.579 194.312Z" fill="white"/>
|
|
13
|
+
<path d="M476.549 0.425812H531.993L526.218 11.9767H476.549V0.425812Z" fill="#EB261E"/>
|
|
14
|
+
<path d="M465.869 99.0985L510.918 10.1567H527.089L480.308 99.0985H465.869Z" fill="#EB261E"/>
|
|
15
|
+
<path d="M283.414 189.571H75.415" stroke="#0F131C" stroke-width="4.86547"/>
|
|
16
|
+
<path d="M774.826 189.571H566.827" stroke="#0F131C" stroke-width="4.86547"/>
|
|
17
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@7365admin1/core",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.46.0",
|
|
5
5
|
"author": "7365admin1",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
"socket.io": "^4.8.3",
|
|
50
50
|
"urllib": "^4.8.2",
|
|
51
51
|
"uuid": "^11.1.0",
|
|
52
|
+
"winston": "^3.13.0",
|
|
53
|
+
"winston-daily-rotate-file": "^5.0.0",
|
|
52
54
|
"xlsx": "^0.18.5",
|
|
53
55
|
"xml2js": "^0.6.2",
|
|
54
56
|
"zod": "^3.24.2"
|