@hitsoft/e-donusum 1.0.76 → 1.0.77

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 (26) hide show
  1. package/esm2020/lib/components/hit-despatches/hit-despatch.component.mjs +5 -5
  2. package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +11 -12
  3. package/esm2020/lib/paramse-dispatches/paramse-dispatch/paramse-dispatch.module.mjs +1 -1
  4. package/esm2020/lib/paramse-invoices/paramse-invoice/paramse-invoice.module.mjs +1 -1
  5. package/esm2020/lib/proxy/auto-send-rule-doc-types/index.mjs +1 -1
  6. package/esm2020/lib/proxy/auto-send-rule-scenarios/index.mjs +1 -1
  7. package/esm2020/lib/proxy/auto-send-rules/index.mjs +1 -1
  8. package/esm2020/lib/proxy/document-serials/index.mjs +1 -1
  9. package/esm2020/lib/proxy/gib-partner-pks/index.mjs +1 -1
  10. package/esm2020/lib/proxy/note-rule-doc-types/index.mjs +1 -1
  11. package/esm2020/lib/proxy/note-rule-scenarios/index.mjs +1 -1
  12. package/esm2020/lib/proxy/note-rules/index.mjs +1 -1
  13. package/esm2020/lib/proxy/params-companies/index.mjs +1 -1
  14. package/esm2020/lib/proxy/params-generals/index.mjs +1 -1
  15. package/esm2020/lib/proxy/params-integrators/index.mjs +1 -1
  16. package/esm2020/lib/proxy/paramse-dispatches/index.mjs +1 -1
  17. package/esm2020/lib/proxy/paramse-invoices/index.mjs +1 -1
  18. package/esm2020/lib/proxy/xslt-formats/index.mjs +1 -1
  19. package/esm2020/lib/proxy/xslt-rule-doc-types/index.mjs +1 -1
  20. package/esm2020/lib/proxy/xslt-rule-scenarios/index.mjs +1 -1
  21. package/esm2020/lib/proxy/xslt-rules/index.mjs +1 -1
  22. package/fesm2015/hitsoft-e-donusum.mjs +14 -15
  23. package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
  24. package/fesm2020/hitsoft-e-donusum.mjs +14 -15
  25. package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
  26. package/package.json +1 -1
@@ -9523,22 +9523,21 @@ class HitInvoiceComponent {
9523
9523
  debugger;
9524
9524
  this.invoiceService.getInvoicePreview(record.id, record.resourceDocType).subscribe(fatura => {
9525
9525
  const source = `data:text/html;base64,${fatura.previewHTML}`;
9526
- this.hitSharedService.previewFile(fatura.previewHTML);
9527
- /* const newTab = window.open();
9528
- newTab.document.title = record.id
9529
- newTab.document.body.innerHTML = `<iframe src="${source}" width="100%" height="100%" style="border:none;"></iframe>`;
9530
- */
9526
+ //this.hitSharedService.previewFile(fatura.previewHTML);
9527
+ const newTab = window.open();
9528
+ newTab.document.title = record.id;
9529
+ newTab.document.body.innerHTML = `<iframe src="${source}" width="100%" height="100%" style="border:none;"></iframe>`;
9531
9530
  });
9532
9531
  }
9533
9532
  getInvoiceXML(record) {
9534
9533
  debugger;
9535
9534
  this.invoiceService.getXMLPreview(record.id, record.resourceDocType).subscribe(fatura => {
9536
9535
  const source = `data:${fatura.mimeType};base64,${fatura.content}`;
9537
- this.hitSharedService.previewFile(fatura.content);
9538
- /*const link = document.createElement('a');
9536
+ //this.hitSharedService.previewFile(fatura.content);
9537
+ const link = document.createElement('a');
9539
9538
  link.href = source;
9540
9539
  link.download = `${fatura.filename}`;
9541
- link.click();*/
9540
+ link.click();
9542
9541
  });
9543
9542
  }
9544
9543
  getReceiverResponseName(responseId) {
@@ -9566,11 +9565,11 @@ class HitInvoiceComponent {
9566
9565
  DownloadFile(record) {
9567
9566
  this.invoiceService.downloadFileById(record.contentMasterId).subscribe(item => {
9568
9567
  const source = `data:${item.mimeType};base64,${item.content}`;
9569
- this.hitSharedService.previewFile(item.content);
9570
- /*const link = document.createElement('a');
9568
+ //this.hitSharedService.previewFile(item.content);
9569
+ const link = document.createElement('a');
9571
9570
  link.href = source;
9572
9571
  link.download = `${item.filename}`;
9573
- link.click();*/
9572
+ link.click();
9574
9573
  });
9575
9574
  }
9576
9575
  }
@@ -11318,10 +11317,10 @@ class HitDespatchComponent {
11318
11317
  getDespatchView(record) {
11319
11318
  this.service.getDespatchView(record.uuId).subscribe(item => {
11320
11319
  const source = `data:${item.mimeType};base64,${item.content}`;
11321
- const newTab = window.open();
11322
- newTab.document.title = record.id;
11323
- newTab.document.body.innerHTML = `<iframe src="${source}" width="100%" height="100%" style="border:none;"></iframe>`;
11324
- //this.hitSharedService.previewFile(item.content);
11320
+ // const newTab = window.open();
11321
+ // newTab.document.title = record.id
11322
+ // newTab.document.body.innerHTML = `<iframe src="${source}" width="100%" height="100%" style="border:none;"></iframe>`;
11323
+ this.hitSharedService.previewFile(item.content);
11325
11324
  /*const link = document.createElement('a');
11326
11325
  link.href = source;
11327
11326
  link.download = `${item.filename}`;