shareneus 1.4.35 → 1.4.37

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.
Files changed (263) hide show
  1. package/dist/accounting/counter-sales/auto-sales-receipt-pdf.service.d.ts +290 -0
  2. package/dist/{services → accounting/counter-sales}/auto-sales-receipt-pdf.service.js +26 -26
  3. package/dist/accounting/counter-sales/pos-receipt-pdf.d.ts +156 -0
  4. package/dist/{services → accounting/counter-sales}/pos-receipt-pdf.js +20 -20
  5. package/dist/accounting/counter-sales/sales-receipt-pdf.service.d.ts +272 -0
  6. package/dist/{services → accounting/counter-sales}/sales-receipt-pdf.service.js +28 -27
  7. package/dist/accounting/counter-sales/sales-receipt-print.service.d.ts +18 -0
  8. package/dist/{services → accounting/counter-sales}/sales-receipt-print.service.js +67 -67
  9. package/dist/accounting/credit-note/cn-print.service.d.ts +14 -0
  10. package/dist/{services → accounting/credit-note}/cn-print.service.js +37 -37
  11. package/dist/accounting/credit-note/credit-note-pdf.service.d.ts +272 -0
  12. package/dist/{services → accounting/credit-note}/credit-note-pdf.service.js +18 -18
  13. package/dist/accounting/credit-note/credit-note-totals.service.d.ts +25 -0
  14. package/dist/{services → accounting/credit-note}/credit-note-totals.service.js +32 -32
  15. package/dist/accounting/debit-note/debit-note-pdf.service.d.ts +331 -0
  16. package/dist/{services → accounting/debit-note}/debit-note-pdf.service.js +16 -16
  17. package/dist/accounting/debit-note/debit-note-print.service.d.ts +14 -0
  18. package/dist/{services → accounting/debit-note}/debit-note-print.service.js +37 -37
  19. package/dist/accounting/debit-note/debit-note-totals.service.d.ts +22 -0
  20. package/dist/{services → accounting/debit-note}/debit-note-totals.service.js +29 -29
  21. package/dist/accounting/invoice/hc-inv-pdf.service.d.ts +357 -0
  22. package/dist/{services → accounting/invoice}/hc-inv-pdf.service.js +44 -44
  23. package/dist/accounting/invoice/inv-pdf.service.d.ts +314 -0
  24. package/dist/{services → accounting/invoice}/inv-pdf.service.js +56 -56
  25. package/dist/accounting/invoice/inv-print.service.d.ts +16 -0
  26. package/dist/{services → accounting/invoice}/inv-print.service.js +63 -63
  27. package/dist/accounting/invoice/invoice-landscape-pdf.service.d.ts +416 -0
  28. package/dist/{services → accounting/invoice}/invoice-landscape-pdf.service.js +31 -31
  29. package/dist/accounting/invoice/invoice-letterhead-pdf.service.d.ts +323 -0
  30. package/dist/{services → accounting/invoice}/invoice-letterhead-pdf.service.js +56 -56
  31. package/dist/accounting/invoice/invoice-portrait-pdf.d.ts +275 -0
  32. package/dist/{services → accounting/invoice}/invoice-portrait-pdf.js +53 -53
  33. package/dist/accounting/invoice/invoice-total.service.d.ts +43 -0
  34. package/dist/{services → accounting/invoice}/invoice-total.service.js +79 -79
  35. package/dist/accounting/invoice/shared-inv-pdf.service.d.ts +303 -0
  36. package/dist/accounting/invoice/shared-inv-pdf.service.js +763 -0
  37. package/dist/accounting/payment-receive/payment-pdf.service.d.ts +618 -0
  38. package/dist/{services → accounting/payment-receive}/payment-pdf.service.js +5 -5
  39. package/dist/accounting/payment-receive/receipt-print.service.d.ts +4 -0
  40. package/dist/{services → accounting/payment-receive}/receipt-print.service.js +6 -6
  41. package/dist/accounting/payment-receive/reports/pdf/customer-balances-pdf.service.d.ts +228 -0
  42. package/dist/{services → accounting/payment-receive/reports/pdf}/customer-balances-pdf.service.js +8 -8
  43. package/dist/accounting/payment-receive/reports/pdf/payment-report-pdf.service.d.ts +228 -0
  44. package/dist/{services → accounting/payment-receive/reports/pdf}/payment-report-pdf.service.js +4 -4
  45. package/dist/aggregation/aggregation.d.ts +4 -0
  46. package/dist/aggregation/aggregation.js +13 -13
  47. package/dist/appointments/appointments/appointment-total.service.d.ts +25 -0
  48. package/dist/{services → appointments/appointments}/appointment-total.service.js +38 -38
  49. package/dist/appointments/consultations/consultation-fee-receipt.service.d.ts +318 -0
  50. package/dist/{services → appointments/consultations}/consultation-fee-receipt.service.js +17 -17
  51. package/dist/appointments/consultations/consultation-full-pdf.service.d.ts +207 -0
  52. package/dist/{services → appointments/consultations}/consultation-full-pdf.service.js +11 -11
  53. package/dist/appointments/consultations/consultation-letterhead-pdf.service.d.ts +266 -0
  54. package/dist/{services → appointments/consultations}/consultation-letterhead-pdf.service.js +16 -16
  55. package/dist/appointments/consultations/consultation-pdf.service.d.ts +306 -0
  56. package/dist/{services → appointments/consultations}/consultation-pdf.service.js +16 -16
  57. package/dist/enums/cache-enums.d.ts +33 -0
  58. package/dist/enums/code-enums.d.ts +266 -0
  59. package/dist/enums/enums.d.ts +329 -0
  60. package/dist/enums/industry-enums.d.ts +16 -0
  61. package/dist/excel-files/cust-balance-excel.service.d.ts +26 -0
  62. package/dist/excel-files/cust-balance-excel.service.js +5 -5
  63. package/dist/excel-files/expiring-drugs-excel.service.d.ts +24 -0
  64. package/dist/excel-files/expiring-drugs-excel.service.js +7 -7
  65. package/dist/excel-files/insurance-expire-excel.service.d.ts +23 -0
  66. package/dist/excel-files/insurance-expire-excel.service.js +4 -4
  67. package/dist/excel-files/invoice-wise-excel.service.d.ts +26 -0
  68. package/dist/excel-files/invoice-wise-excel.service.js +3 -3
  69. package/dist/excel-files/next-service-date-excel.service.d.ts +25 -0
  70. package/dist/excel-files/next-service-date-excel.service.js +5 -5
  71. package/dist/excel-files/payment-receive-excel.service.d.ts +25 -0
  72. package/dist/excel-files/payment-receive-excel.service.js +6 -6
  73. package/dist/excel-files/payments-made-excel.service.d.ts +25 -0
  74. package/dist/excel-files/payments-made-excel.service.js +6 -6
  75. package/dist/excel-files/repair-orders-excel.service.d.ts +24 -0
  76. package/dist/excel-files/repair-orders-excel.service.js +10 -10
  77. package/dist/excel-files/sales-by-service-details-excel.service.d.ts +0 -0
  78. package/dist/excel-files/sales-by-service-summary-excel.service.d.ts +24 -0
  79. package/dist/excel-files/sales-by-service-summary-excel.service.js +14 -14
  80. package/dist/excel-files/scheduled-drug-summary-excel.service.d.ts +24 -0
  81. package/dist/excel-files/scheduled-drug-summary-excel.service.js +8 -8
  82. package/dist/excel-files/scheduled-drugs-excel.service.d.ts +24 -0
  83. package/dist/excel-files/scheduled-drugs-excel.service.js +10 -10
  84. package/dist/excel-files/spares-issue-excel.service.d.ts +26 -0
  85. package/dist/excel-files/spares-issue-excel.service.js +14 -14
  86. package/dist/excel-files/stock-excel.service.d.ts +23 -0
  87. package/dist/excel-files/stock-excel.service.js +3 -3
  88. package/dist/excel-files/ven-balance-excel.service.d.ts +27 -0
  89. package/dist/excel-files/ven-balance-excel.service.js +3 -3
  90. package/dist/gst/excel/GSTR-RO-excel.service.d.ts +27 -0
  91. package/dist/{excel-files → gst/excel}/GSTR-RO-excel.service.js +3 -3
  92. package/dist/gst/excel/GSTR1-excel.service.d.ts +16 -0
  93. package/dist/{excel-files → gst/excel}/GSTR1-excel.service.js +7 -7
  94. package/dist/gst/excel/GSTR2-excel.service.d.ts +16 -0
  95. package/dist/{excel-files → gst/excel}/GSTR2-excel.service.js +6 -6
  96. package/dist/gst/excel/tally-sales-import.service.d.ts +27 -0
  97. package/dist/{excel-files → gst/excel}/tally-sales-import.service.js +3 -3
  98. package/dist/index.d.ts +124 -0
  99. package/dist/index.js +102 -102
  100. package/dist/inventory/items/issue-parts-pdf.service.d.ts +303 -0
  101. package/dist/{services → inventory/items}/issue-parts-pdf.service.js +45 -45
  102. package/dist/inventory/items/item-bar-code-label-pdf.d.ts +127 -0
  103. package/dist/{services → inventory/items}/item-bar-code-label-pdf.js +3 -3
  104. package/dist/inventory/items/item-detais-pdf.d.ts +121 -0
  105. package/dist/{services → inventory/items}/item-detais-pdf.js +1 -1
  106. package/dist/inventory/items/item-price-for-pricelist.d.ts +1 -0
  107. package/dist/{services → inventory/items}/item-price-for-pricelist.js +44 -50
  108. package/dist/inventory/items/reports/excel/item-wise-mout-details.d.ts +23 -0
  109. package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-details.js +4 -4
  110. package/dist/inventory/items/reports/excel/item-wise-mout-summary.d.ts +23 -0
  111. package/dist/{excel-files → inventory/items/reports/excel}/item-wise-mout-summary.js +4 -4
  112. package/dist/inventory/items/reports/pdf/expiring-drugs-pdf.service.d.ts +49 -0
  113. package/dist/{services → inventory/items/reports/pdf}/expiring-drugs-pdf.service.js +6 -6
  114. package/dist/inventory/items/reports/pdf/item-wise-mout-details-pdf.d.ts +229 -0
  115. package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-details-pdf.js +4 -4
  116. package/dist/inventory/items/reports/pdf/item-wise-mout-summary-pdf.d.ts +228 -0
  117. package/dist/{services → inventory/items/reports/pdf}/item-wise-mout-summary-pdf.js +3 -3
  118. package/dist/inventory/items/reports/pdf/reorder-point-pdf.service.d.ts +48 -0
  119. package/dist/{services → inventory/items/reports/pdf}/reorder-point-pdf.service.js +3 -3
  120. package/dist/inventory/material-out/mout-pdf.service.d.ts +324 -0
  121. package/dist/{services → inventory/material-out}/mout-pdf.service.js +19 -19
  122. package/dist/inventory/transfer-order/transfer-order-pdf.service.d.ts +48 -0
  123. package/dist/{services → inventory/transfer-order}/transfer-order-pdf.service.js +2 -2
  124. package/dist/purchases/payment-made/reports/pdf/vendor-balances-pdf.service.d.ts +227 -0
  125. package/dist/{services → purchases/payment-made/reports/pdf}/vendor-balances-pdf.service.js +7 -7
  126. package/dist/purchases/purchase-order/po-totals.service.d.ts +24 -0
  127. package/dist/{services → purchases/purchase-order}/po-totals.service.js +29 -29
  128. package/dist/purchases/purchase-order/purchase-order-pdf.service.d.ts +526 -0
  129. package/dist/{services → purchases/purchase-order}/purchase-order-pdf.service.js +42 -42
  130. package/dist/purchases/purchase-order/purchase-order-print.service.d.ts +8 -0
  131. package/dist/{services → purchases/purchase-order}/purchase-order-print.service.js +46 -46
  132. package/dist/purchases/purchase-order/purchase-order-totals.service.d.ts +23 -0
  133. package/dist/{services → purchases/purchase-order}/purchase-order-totals.service.js +55 -55
  134. package/dist/purchases/vendor-credit-note/vendor-credit-note-pdf.service.d.ts +491 -0
  135. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-pdf.service.js +29 -29
  136. package/dist/purchases/vendor-credit-note/vendor-credit-note-print.service.d.ts +6 -0
  137. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-print.service.js +31 -31
  138. package/dist/purchases/vendor-credit-note/vendor-credit-note-totals.service.d.ts +24 -0
  139. package/dist/{services → purchases/vendor-credit-note}/vendor-credit-note-totals.service.js +38 -38
  140. package/dist/purchases/vendor-debit-note/vendor-debit-note-pdf.service.d.ts +271 -0
  141. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-pdf.service.js +18 -18
  142. package/dist/purchases/vendor-debit-note/vendor-debit-note-print.service.d.ts +14 -0
  143. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-print.service.js +34 -34
  144. package/dist/purchases/vendor-debit-note/vendor-debit-note-totals.service.d.ts +22 -0
  145. package/dist/{services → purchases/vendor-debit-note}/vendor-debit-note-totals.service.js +31 -31
  146. package/dist/sales/delivery-challan/dc-landscape-pdf.service.d.ts +416 -0
  147. package/dist/{services → sales/delivery-challan}/dc-landscape-pdf.service.js +30 -30
  148. package/dist/sales/delivery-challan/dc-landscape-without-price-pdf.service.d.ts +400 -0
  149. package/dist/{services → sales/delivery-challan}/dc-landscape-without-price-pdf.service.js +26 -26
  150. package/dist/sales/delivery-challan/dc-without-price-pdf.service.d.ts +271 -0
  151. package/dist/{services → sales/delivery-challan}/dc-without-price-pdf.service.js +17 -17
  152. package/dist/sales/delivery-challan/delivery-challan-pdf.service.d.ts +269 -0
  153. package/dist/{services → sales/delivery-challan}/delivery-challan-pdf.service.js +18 -18
  154. package/dist/sales/delivery-challan/delivery-challan-print.service.d.ts +12 -0
  155. package/dist/{services → sales/delivery-challan}/delivery-challan-print.service.js +30 -30
  156. package/dist/sales/delivery-challan/delivery-challan-totals.d.ts +27 -0
  157. package/dist/{services → sales/delivery-challan}/delivery-challan-totals.js +33 -33
  158. package/dist/sales/reports/excel/analysis-excel.service.d.ts +23 -0
  159. package/dist/{excel-files → sales/reports/excel}/analysis-excel.service.js +4 -4
  160. package/dist/sales/reports/excel/category-wise-item-excel.service.d.ts +23 -0
  161. package/dist/{excel-files → sales/reports/excel}/category-wise-item-excel.service.js +10 -10
  162. package/dist/sales/reports/excel/cust-wise-sales-details.d.ts +25 -0
  163. package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-details.js +5 -5
  164. package/dist/sales/reports/excel/cust-wise-sales-summary-excel.service.d.ts +24 -0
  165. package/dist/{excel-files → sales/reports/excel}/cust-wise-sales-summary-excel.service.js +5 -5
  166. package/dist/sales/reports/excel/item-wise-doctor-sale-excel.service.d.ts +24 -0
  167. package/dist/{excel-files → sales/reports/excel}/item-wise-doctor-sale-excel.service.js +7 -7
  168. package/dist/sales/reports/excel/items-wise-sales-excel.service.d.ts +24 -0
  169. package/dist/{excel-files → sales/reports/excel}/items-wise-sales-excel.service.js +10 -10
  170. package/dist/sales/reports/excel/manf-wise-sales-excel.service.d.ts +24 -0
  171. package/dist/{excel-files → sales/reports/excel}/manf-wise-sales-excel.service.js +4 -4
  172. package/dist/sales/reports/excel/operator-wise-details.d.ts +23 -0
  173. package/dist/{excel-files → sales/reports/excel}/operator-wise-details.js +4 -4
  174. package/dist/sales/reports/excel/operator-wise-summary.d.ts +23 -0
  175. package/dist/{excel-files → sales/reports/excel}/operator-wise-summary.js +4 -4
  176. package/dist/sales/reports/excel/sa-wise-labor-sales-excel.service.d.ts +23 -0
  177. package/dist/{excel-files → sales/reports/excel}/sa-wise-labor-sales-excel.service.js +6 -6
  178. package/dist/sales/reports/excel/sa-wise-part-sales-excel.service.d.ts +23 -0
  179. package/dist/{excel-files → sales/reports/excel}/sa-wise-part-sales-excel.service.js +6 -6
  180. package/dist/sales/reports/excel/sale-summary-excel.service.d.ts +25 -0
  181. package/dist/{excel-files → sales/reports/excel}/sale-summary-excel.service.js +3 -3
  182. package/dist/sales/reports/pdf/analysis-pdf.service.d.ts +228 -0
  183. package/dist/{services → sales/reports/pdf}/analysis-pdf.service.js +9 -9
  184. package/dist/sales/reports/pdf/category-wise-item-pdf.service.d.ts +228 -0
  185. package/dist/{services → sales/reports/pdf}/category-wise-item-pdf.service.js +7 -7
  186. package/dist/sales/reports/pdf/cust-wise-sales-details-pdf.service.d.ts +228 -0
  187. package/dist/{services → sales/reports/pdf}/cust-wise-sales-details-pdf.service.js +9 -9
  188. package/dist/sales/reports/pdf/cust-wise-sales-summary-pdf.service.d.ts +228 -0
  189. package/dist/{services → sales/reports/pdf}/cust-wise-sales-summary-pdf.service.js +8 -9
  190. package/dist/sales/reports/pdf/item-wise-doctor-sale-pdf.service.d.ts +228 -0
  191. package/dist/{services → sales/reports/pdf}/item-wise-doctor-sale-pdf.service.js +4 -4
  192. package/dist/sales/reports/pdf/item-wise-sales-pdf.service.d.ts +228 -0
  193. package/dist/{services → sales/reports/pdf}/item-wise-sales-pdf.service.js +7 -8
  194. package/dist/sales/reports/pdf/manf-wise-sales-pdf.service.d.ts +228 -0
  195. package/dist/{services → sales/reports/pdf}/manf-wise-sales-pdf.service.js +6 -6
  196. package/dist/sales/reports/pdf/operator-wise-details-pdf.service.d.ts +228 -0
  197. package/dist/{services → sales/reports/pdf}/operator-wise-details-pdf.service.js +9 -9
  198. package/dist/sales/reports/pdf/operator-wise-summary-pdf.d.ts +228 -0
  199. package/dist/{services → sales/reports/pdf}/operator-wise-summary-pdf.js +8 -8
  200. package/dist/sales/reports/pdf/sales-by-service-pdf.service.d.ts +228 -0
  201. package/dist/{services → sales/reports/pdf}/sales-by-service-pdf.service.js +7 -7
  202. package/dist/sales/reports/pdf/scheduled-drug-pdf.service.d.ts +228 -0
  203. package/dist/{services → sales/reports/pdf}/scheduled-drug-pdf.service.js +8 -8
  204. package/dist/sales/reports/pdf/scheduled-drug-summary-pdf.service.d.ts +228 -0
  205. package/dist/{services → sales/reports/pdf}/scheduled-drug-summary-pdf.service.js +5 -5
  206. package/dist/sales/sales/equipment-design-pdf.service.d.ts +121 -0
  207. package/dist/{services → sales/sales}/equipment-design-pdf.service.js +12 -12
  208. package/dist/sales/sales/pack-ship-pdf.service.d.ts +262 -0
  209. package/dist/{services → sales/sales}/pack-ship-pdf.service.js +5 -5
  210. package/dist/sales/sales/pack-ship-print.service.d.ts +11 -0
  211. package/dist/{services → sales/sales}/pack-ship-print.service.js +27 -27
  212. package/dist/sales/sales/sales-pdf.service.d.ts +275 -0
  213. package/dist/{services → sales/sales}/sales-pdf.service.js +25 -25
  214. package/dist/sales/sales/sales-print.service.d.ts +15 -0
  215. package/dist/{services → sales/sales}/sales-print.service.js +58 -58
  216. package/dist/sales/sales/sales-totals.service.d.ts +27 -0
  217. package/dist/{services → sales/sales}/sales-totals.service.js +34 -34
  218. package/dist/services/checklist-pdf.d.ts +57 -0
  219. package/dist/services/checklist-pdf.js +5 -5
  220. package/dist/services/checklists-pdf.d.ts +12 -0
  221. package/dist/services/checklists-pdf.js +1 -1
  222. package/dist/services/est.print-service.d.ts +64 -0
  223. package/dist/services/est.print-service.js +151 -151
  224. package/dist/services/next-service-date-pdf.service.d.ts +228 -0
  225. package/dist/services/next-service-date-pdf.service.js +2 -2
  226. package/dist/services/reports/insurance-expire-pdf.service.d.ts +227 -0
  227. package/dist/services/{insurance-expire-pdf.service.js → reports/insurance-expire-pdf.service.js} +2 -2
  228. package/dist/services/reports/repair-orders-pdf.service.d.ts +229 -0
  229. package/dist/services/{repair-orders-pdf.service.js → reports/repair-orders-pdf.service.js} +4 -4
  230. package/dist/services/ro-pdf.service.d.ts +1060 -0
  231. package/dist/services/ro-pdf.service.js +82 -82
  232. package/dist/services/ro-print-service.d.ts +45 -0
  233. package/dist/services/ro-print-service.js +88 -88
  234. package/dist/services/ro-totals.service.d.ts +65 -0
  235. package/dist/services/ro-totals.service.js +123 -123
  236. package/dist/services/separate-wo-print.service.d.ts +494 -0
  237. package/dist/services/separate-wo-print.service.js +10 -10
  238. package/dist/services/shared-inv-pdf.service.d.ts +303 -0
  239. package/dist/services/shared-inv-pdf.service.js +46 -46
  240. package/dist/services/technician-pdf.service.d.ts +221 -0
  241. package/dist/services/technician-pdf.service.js +11 -11
  242. package/dist/services/technician-print.service.d.ts +5 -0
  243. package/dist/services/technician-print.service.js +10 -10
  244. package/dist/shared/math-operations.d.ts +53 -0
  245. package/dist/shared/math-operations.js +184 -0
  246. package/dist/shared/shared-services/shared-pdf.service.d.ts +926 -0
  247. package/dist/{services → shared/shared-services}/shared-pdf.service.js +120 -120
  248. package/dist/shared/shared-services/shared-print.service.d.ts +49 -0
  249. package/dist/{services → shared/shared-services}/shared-print.service.js +68 -68
  250. package/dist/shared/util.d.ts +3 -0
  251. package/dist/shared/util.js +15 -0
  252. package/dist/tasks/meetings/meeting-pdf.d.ts +107 -0
  253. package/dist/{services → tasks/meetings}/meeting-pdf.js +15 -15
  254. package/dist/tasks/tasks/task-pdf.service.d.ts +127 -0
  255. package/dist/{services → tasks/tasks}/task-pdf.service.js +12 -12
  256. package/dist/tasks/tasks/task-reports-pdf.service.d.ts +94 -0
  257. package/dist/{services → tasks/tasks}/task-reports-pdf.service.js +11 -11
  258. package/dist/utils/my-date.d.ts +104 -0
  259. package/dist/{shared → utils}/my-date.js +31 -31
  260. package/dist/utils/tr-utils.d.ts +41 -0
  261. package/dist/{shared/utils.js → utils/tr-utils.js} +0 -8
  262. package/package.json +2 -1
  263. package/tsconfig.json +1 -0
@@ -0,0 +1,306 @@
1
+ export declare class ConsultationPDFService {
2
+ static GetConsultationPrint(CnstData: any, Remarks: any): any;
3
+ static GetRxTable(Rx: any, Remarks: any): {
4
+ stack: ({
5
+ style: string;
6
+ marginTop: number;
7
+ marginBottom: number;
8
+ table: {
9
+ widths: (string | number)[];
10
+ headerRows: number;
11
+ body: any;
12
+ };
13
+ layout: {
14
+ hLineWidth: (i: any, node: any) => 1 | 0.5;
15
+ vLineWidth: (i: any, node: any) => 1 | 0.5;
16
+ hLineColor: (i: any, node: any) => "gray" | "lightgrey";
17
+ vLineColor: (i: any, node: any) => string;
18
+ };
19
+ } | {
20
+ style?: undefined;
21
+ marginTop?: undefined;
22
+ marginBottom?: undefined;
23
+ table?: undefined;
24
+ layout?: undefined;
25
+ } | {
26
+ text: string;
27
+ bold: boolean;
28
+ fontSize: number;
29
+ })[];
30
+ } | {
31
+ stack?: undefined;
32
+ };
33
+ static GetDiagnosisTable(diagnosis: any, heading: any): {
34
+ stack: ({
35
+ text: any;
36
+ bold: boolean;
37
+ marginTop: number;
38
+ fontSize: number;
39
+ marginBottom?: undefined;
40
+ } | {
41
+ text: any;
42
+ fontSize: number;
43
+ marginTop: number;
44
+ marginBottom: number;
45
+ bold?: undefined;
46
+ })[];
47
+ } | {
48
+ stack?: undefined;
49
+ };
50
+ static GetComplaintsTable(complaints: any, heading: any): {
51
+ stack: ({
52
+ text: any;
53
+ bold: boolean;
54
+ marginTop: number;
55
+ fontSize: number;
56
+ marginBottom?: undefined;
57
+ } | {
58
+ text: any;
59
+ fontSize: number;
60
+ marginTop: number;
61
+ marginBottom: number;
62
+ bold?: undefined;
63
+ })[];
64
+ } | {
65
+ stack?: undefined;
66
+ };
67
+ static CustomSection(sections: any): any;
68
+ static GetWeight(CnstData: any): {
69
+ text: string;
70
+ Width: number;
71
+ };
72
+ static GetTemperature(CnstData: any): {
73
+ text: string;
74
+ Width: number;
75
+ };
76
+ static GetSPO2(CnstData: any): {
77
+ text: string;
78
+ Width: number;
79
+ };
80
+ static GetPulse(CnstData: any): {
81
+ text: string;
82
+ Width: number;
83
+ };
84
+ static GetHeight(CnstData: any): {
85
+ text: string;
86
+ Width: number;
87
+ };
88
+ static GetBP(CnstData: any): {
89
+ text: string;
90
+ Width: number;
91
+ };
92
+ static GetMainHeaderDetails(CnstData: any, Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): ({
93
+ canvas: {
94
+ type: string;
95
+ lineColor: string;
96
+ x1: number;
97
+ y1: number;
98
+ x2: number;
99
+ y2: number;
100
+ lineWidth: number;
101
+ }[];
102
+ } | {
103
+ columns: ({
104
+ columns: any;
105
+ width: string;
106
+ } | {
107
+ stack: ({
108
+ text: string;
109
+ fontSize: number;
110
+ bold: boolean;
111
+ alignment: string;
112
+ marginBottom?: undefined;
113
+ } | {
114
+ text: any;
115
+ fontSize: number;
116
+ alignment: string;
117
+ bold?: undefined;
118
+ marginBottom?: undefined;
119
+ } | {
120
+ text: string;
121
+ fontSize: number;
122
+ alignment: string;
123
+ marginBottom: number;
124
+ bold?: undefined;
125
+ })[];
126
+ width: string;
127
+ marginTop: number;
128
+ })[];
129
+ } | {
130
+ columns: ({
131
+ image: any;
132
+ width: number;
133
+ height: number;
134
+ text?: undefined;
135
+ } | {
136
+ text: string;
137
+ width: number;
138
+ height: number;
139
+ image?: undefined;
140
+ } | {
141
+ stack: ({
142
+ text: string;
143
+ fontSize: number;
144
+ alignment: string;
145
+ bold: boolean;
146
+ marginBottom?: undefined;
147
+ } | {
148
+ text: any;
149
+ fontSize: number;
150
+ alignment: string;
151
+ bold?: undefined;
152
+ marginBottom?: undefined;
153
+ } | {
154
+ text: string;
155
+ fontSize: number;
156
+ alignment: string;
157
+ marginBottom: number;
158
+ bold?: undefined;
159
+ })[];
160
+ marginTop: number;
161
+ })[];
162
+ } | {
163
+ columns: ({
164
+ stack: ({
165
+ text: any;
166
+ fontSize: number;
167
+ marginTop: number;
168
+ bold: boolean;
169
+ marginBottom?: undefined;
170
+ } | {
171
+ text: string;
172
+ fontSize: number;
173
+ marginBottom: number;
174
+ marginTop?: undefined;
175
+ bold?: undefined;
176
+ })[];
177
+ marginTop?: undefined;
178
+ width?: undefined;
179
+ } | {
180
+ stack: {
181
+ text: string | null;
182
+ style: string[];
183
+ }[];
184
+ marginTop: number;
185
+ width: number;
186
+ })[];
187
+ })[];
188
+ static GetCnsltDate(CnstData: any): string | null;
189
+ static GetHeaderBasedOnCondition(CnstData: any, Entity: any, HeaderName: any, Image: any, HColor: any, AColor: any, text: any): {
190
+ columns: ({
191
+ columns: any;
192
+ width: string;
193
+ } | {
194
+ stack: ({
195
+ text: string;
196
+ fontSize: number;
197
+ bold: boolean;
198
+ alignment: string;
199
+ marginBottom?: undefined;
200
+ } | {
201
+ text: any;
202
+ fontSize: number;
203
+ alignment: string;
204
+ bold?: undefined;
205
+ marginBottom?: undefined;
206
+ } | {
207
+ text: string;
208
+ fontSize: number;
209
+ alignment: string;
210
+ marginBottom: number;
211
+ bold?: undefined;
212
+ })[];
213
+ width: string;
214
+ marginTop: number;
215
+ })[];
216
+ } | {
217
+ columns: ({
218
+ image: any;
219
+ width: number;
220
+ height: number;
221
+ text?: undefined;
222
+ } | {
223
+ text: string;
224
+ width: number;
225
+ height: number;
226
+ image?: undefined;
227
+ } | {
228
+ stack: ({
229
+ text: string;
230
+ fontSize: number;
231
+ alignment: string;
232
+ bold: boolean;
233
+ marginBottom?: undefined;
234
+ } | {
235
+ text: any;
236
+ fontSize: number;
237
+ alignment: string;
238
+ bold?: undefined;
239
+ marginBottom?: undefined;
240
+ } | {
241
+ text: string;
242
+ fontSize: number;
243
+ alignment: string;
244
+ marginBottom: number;
245
+ bold?: undefined;
246
+ })[];
247
+ marginTop: number;
248
+ })[];
249
+ };
250
+ static GetPhoneNumber(phone: any): string;
251
+ static DifferenceInYears(DOB: any): string;
252
+ static GetDiagnosis(Diags: any): any;
253
+ static GetComplaints(Comps: any): any;
254
+ static GetDate(DatesDetails: any): string;
255
+ static CustomerAndVehicleDetailsAfterLine(): {
256
+ canvas: {
257
+ type: string;
258
+ lineColor: string;
259
+ x1: number;
260
+ y1: number;
261
+ x2: number;
262
+ y2: number;
263
+ lineWidth: number;
264
+ }[];
265
+ };
266
+ static GetSignatures(CName: any, For: any, Type: any): {
267
+ columns: {
268
+ stack: {
269
+ style: string;
270
+ text: (string | {
271
+ text: any;
272
+ })[];
273
+ }[];
274
+ }[];
275
+ };
276
+ static CompanyName(CName: any): {
277
+ style: string;
278
+ text: (string | {
279
+ text: any;
280
+ })[];
281
+ };
282
+ static GetItemsTable(Items: any, Remarks: any): {
283
+ style: string;
284
+ marginTop: number;
285
+ marginBottom: number;
286
+ table: {
287
+ widths: (string | number)[];
288
+ headerRows: number;
289
+ body: any;
290
+ };
291
+ layout: {
292
+ hLineWidth: (i: any, node: any) => 1 | 0.5;
293
+ vLineWidth: (i: any, node: any) => 1 | 0.5;
294
+ hLineColor: (i: any, node: any) => "gray" | "lightgrey";
295
+ vLineColor: (i: any, node: any) => string;
296
+ };
297
+ } | {
298
+ style?: undefined;
299
+ marginTop?: undefined;
300
+ marginBottom?: undefined;
301
+ table?: undefined;
302
+ layout?: undefined;
303
+ };
304
+ static BuildTableBodyForLaborAndParts(Items: any, Remarks: any): any;
305
+ static GetHeaderNames(): any;
306
+ }
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsultationPDFService = void 0;
4
- const shared_pdf_service_1 = require("./shared-pdf.service");
5
4
  const date_fns_1 = require("date-fns");
6
- const utils_1 = require("../shared/utils");
7
- const my_date_1 = require("../shared/my-date");
5
+ const shared_pdf_service_1 = require("../../shared/shared-services/shared-pdf.service");
6
+ const my_date_1 = require("../../utils/my-date");
7
+ const tr_utils_1 = require("../../utils/tr-utils");
8
8
  class ConsultationPDFService {
9
9
  static GetConsultationPrint(CnstData, Remarks) {
10
10
  let dd = {
@@ -87,7 +87,7 @@ class ConsultationPDFService {
87
87
  return dd;
88
88
  }
89
89
  static GetRxTable(Rx, Remarks) {
90
- if (!utils_1.TrUtils.IsNull(Rx) && Rx.length !== 0) {
90
+ if (!tr_utils_1.TrUtils.IsNull(Rx) && Rx.length !== 0) {
91
91
  return {
92
92
  stack: [
93
93
  { text: 'Rx:', bold: true, fontSize: 12 },
@@ -100,7 +100,7 @@ class ConsultationPDFService {
100
100
  }
101
101
  }
102
102
  static GetDiagnosisTable(diagnosis, heading) {
103
- if (!utils_1.TrUtils.IsNull(diagnosis) && diagnosis.length !== 0) {
103
+ if (!tr_utils_1.TrUtils.IsNull(diagnosis) && diagnosis.length !== 0) {
104
104
  return {
105
105
  stack: [
106
106
  { text: heading, bold: true, marginTop: 5, fontSize: 12 },
@@ -113,7 +113,7 @@ class ConsultationPDFService {
113
113
  }
114
114
  }
115
115
  static GetComplaintsTable(complaints, heading) {
116
- if (!utils_1.TrUtils.IsNull(complaints) && complaints.length !== 0) {
116
+ if (!tr_utils_1.TrUtils.IsNull(complaints) && complaints.length !== 0) {
117
117
  return {
118
118
  stack: [
119
119
  { text: heading, bold: true, marginTop: 5, fontSize: 12 },
@@ -148,7 +148,7 @@ class ConsultationPDFService {
148
148
  }
149
149
  static GetWeight(CnstData) {
150
150
  var _a, _b, _c, _d, _e;
151
- if (!utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Weight) && !utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Weight) === null || _c === void 0 ? void 0 : _c.V)) {
151
+ if (!tr_utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Weight) && !tr_utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Weight) === null || _c === void 0 ? void 0 : _c.V)) {
152
152
  return { text: 'Weight :' + ((_e = (_d = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _d === void 0 ? void 0 : _d.Weight) === null || _e === void 0 ? void 0 : _e.V) + ' kg', Width: 80 };
153
153
  }
154
154
  else {
@@ -157,7 +157,7 @@ class ConsultationPDFService {
157
157
  }
158
158
  static GetTemperature(CnstData) {
159
159
  var _a, _b, _c, _d, _e;
160
- if (!utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Temp) && !utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Temp) === null || _c === void 0 ? void 0 : _c.V)) {
160
+ if (!tr_utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Temp) && !tr_utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Temp) === null || _c === void 0 ? void 0 : _c.V)) {
161
161
  return { text: 'Temperature :' + ((_e = (_d = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _d === void 0 ? void 0 : _d.Temp) === null || _e === void 0 ? void 0 : _e.V) + ' F', Width: 80 };
162
162
  }
163
163
  else {
@@ -166,7 +166,7 @@ class ConsultationPDFService {
166
166
  }
167
167
  static GetSPO2(CnstData) {
168
168
  var _a, _b, _c, _d, _e;
169
- if (!utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.SPO2) && !utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.SPO2) === null || _c === void 0 ? void 0 : _c.V)) {
169
+ if (!tr_utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.SPO2) && !tr_utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.SPO2) === null || _c === void 0 ? void 0 : _c.V)) {
170
170
  return { text: 'SPO2 :' + ((_e = (_d = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _d === void 0 ? void 0 : _d.SPO2) === null || _e === void 0 ? void 0 : _e.V) + ' mmHg', Width: 80 };
171
171
  }
172
172
  else {
@@ -175,7 +175,7 @@ class ConsultationPDFService {
175
175
  }
176
176
  static GetPulse(CnstData) {
177
177
  var _a, _b, _c, _d, _e;
178
- if (!utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Pulse) && !utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Pulse) === null || _c === void 0 ? void 0 : _c.V)) {
178
+ if (!tr_utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Pulse) && !tr_utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Pulse) === null || _c === void 0 ? void 0 : _c.V)) {
179
179
  return { text: 'Pulse :' + ((_e = (_d = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _d === void 0 ? void 0 : _d.Pulse) === null || _e === void 0 ? void 0 : _e.V) + ' bpm', Width: 80 };
180
180
  }
181
181
  else {
@@ -184,7 +184,7 @@ class ConsultationPDFService {
184
184
  }
185
185
  static GetHeight(CnstData) {
186
186
  var _a, _b, _c, _d, _e, _f, _g;
187
- if (!utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Height) && !utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Height) === null || _c === void 0 ? void 0 : _c.V)) {
187
+ if (!tr_utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.Height) && !tr_utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Height) === null || _c === void 0 ? void 0 : _c.V)) {
188
188
  return { text: 'Height :' + ((_e = (_d = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _d === void 0 ? void 0 : _d.Height) === null || _e === void 0 ? void 0 : _e.V) + ' ' + ((_g = (_f = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _f === void 0 ? void 0 : _f.Height) === null || _g === void 0 ? void 0 : _g.U), Width: 80 };
189
189
  }
190
190
  else {
@@ -193,7 +193,7 @@ class ConsultationPDFService {
193
193
  }
194
194
  static GetBP(CnstData) {
195
195
  var _a, _b, _c, _d, _e;
196
- if (!utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.BP) && !utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Height) === null || _c === void 0 ? void 0 : _c.U)) {
196
+ if (!tr_utils_1.TrUtils.IsNull((_a = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _a === void 0 ? void 0 : _a.BP) && !tr_utils_1.TrUtils.IsNull((_c = (_b = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _b === void 0 ? void 0 : _b.Height) === null || _c === void 0 ? void 0 : _c.U)) {
197
197
  return { text: 'BP :' + ((_e = (_d = CnstData === null || CnstData === void 0 ? void 0 : CnstData.Vitals) === null || _d === void 0 ? void 0 : _d.BP) === null || _e === void 0 ? void 0 : _e.V) + ' mmHg', Width: 80 };
198
198
  }
199
199
  else {
@@ -221,7 +221,7 @@ class ConsultationPDFService {
221
221
  ];
222
222
  }
223
223
  static GetCnsltDate(CnstData) {
224
- if (!utils_1.TrUtils.IsNull(CnstData.ClDate)) {
224
+ if (!tr_utils_1.TrUtils.IsNull(CnstData.ClDate)) {
225
225
  return my_date_1.MyDate.GetWeekDateAndTime(CnstData.ClDate);
226
226
  }
227
227
  else {
@@ -257,7 +257,7 @@ class ConsultationPDFService {
257
257
  }
258
258
  }
259
259
  static GetPhoneNumber(phone) {
260
- if (!utils_1.TrUtils.IsNull(phone)) {
260
+ if (!tr_utils_1.TrUtils.IsNull(phone)) {
261
261
  return ' | ' + phone;
262
262
  }
263
263
  else {
@@ -265,7 +265,7 @@ class ConsultationPDFService {
265
265
  }
266
266
  }
267
267
  static DifferenceInYears(DOB) {
268
- if (utils_1.TrUtils.IsNull(DOB)) {
268
+ if (tr_utils_1.TrUtils.IsNull(DOB)) {
269
269
  return 'DOB Not Specified';
270
270
  }
271
271
  let Datei = my_date_1.MyDate.GetDateTimeNowInUTC();
@@ -331,7 +331,7 @@ class ConsultationPDFService {
331
331
  };
332
332
  }
333
333
  static GetItemsTable(Items, Remarks) {
334
- if (!utils_1.TrUtils.IsNull(Items)) {
334
+ if (!tr_utils_1.TrUtils.IsNull(Items)) {
335
335
  return {
336
336
  style: 'tableExample',
337
337
  marginTop: 3,
@@ -0,0 +1,33 @@
1
+ export declare class CacheProps {
2
+ static LaborAccountTypes: any;
3
+ static PartsAccountTypes: any;
4
+ static LTGTypes: any;
5
+ static CategoriesList: any;
6
+ static QuickServices: any;
7
+ static TaxCodes: any;
8
+ static LocationsList: any;
9
+ static Generics: any;
10
+ static ExpenseCategories: any;
11
+ static INSCompanylist: any;
12
+ static DesignationsList: any;
13
+ static DepartmentsList: any;
14
+ static ComplaintList: any;
15
+ static LabInvest: any;
16
+ static Advices: any;
17
+ static DiagnosesList: any;
18
+ static MedicinesList: any;
19
+ static CategoryList: any;
20
+ static InvCategoryList: any;
21
+ static Doctors: any;
22
+ static UsersList: any;
23
+ static Relationships: any;
24
+ static BloodGroups: any;
25
+ static PrefLangs: any;
26
+ static Entities: any;
27
+ static UserEntities: any;
28
+ static UoMsType: any;
29
+ static UoMs: any;
30
+ static WOTypes: any;
31
+ static Warehouseslist: any;
32
+ static ProceduresList: any;
33
+ }