@fuentis/phoenix-ui 0.0.9-alpha.616 → 0.0.9-alpha.617

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.
@@ -77,7 +77,6 @@ import * as i2$3 from 'primeng/selectbutton';
77
77
  import { SelectButtonModule } from 'primeng/selectbutton';
78
78
  import * as XLSX from 'xlsx';
79
79
  import pdfMake from 'pdfmake/build/pdfmake';
80
- import pdfFonts from 'pdfmake/build/vfs_fonts';
81
80
  import * as i1$3 from 'primeng/dynamicdialog';
82
81
  import { DialogService } from 'primeng/dynamicdialog';
83
82
  import * as i2$6 from 'primeng/datepicker';
@@ -2630,16 +2629,6 @@ async function exportRowsToPdf(columns, rows, columnTypeMap, columnTypeEnum, t,
2630
2629
  /* =========================
2631
2630
  FONTS
2632
2631
  ========================= */
2633
- if (pdfFonts && pdfFonts.pdfMake) {
2634
- pdfMake.vfs = pdfFonts.pdfMake.vfs;
2635
- }
2636
- else if (pdfFonts && pdfFonts.vfs) {
2637
- pdfMake.vfs = pdfFonts.vfs;
2638
- }
2639
- else {
2640
- pdfMake.vfs = pdfFonts || {};
2641
- }
2642
- delete pdfMake.fonts?.DejaVuSans;
2643
2632
  try {
2644
2633
  const dejaVuFont = await loadDejaVuSansFont();
2645
2634
  if (dejaVuFont) {
@@ -2650,7 +2639,7 @@ async function exportRowsToPdf(columns, rows, columnTypeMap, columnTypeEnum, t,
2650
2639
  italics: 'DejaVuSans.ttf',
2651
2640
  bolditalics: 'DejaVuSans.ttf',
2652
2641
  };
2653
- pdfMake.vfs['DejaVuSans.ttf'] = dejaVuFont;
2642
+ pdfMake.addVirtualFileSystem({ 'DejaVuSans.ttf': dejaVuFont });
2654
2643
  }
2655
2644
  }
2656
2645
  catch {