@reportwright/viewer 0.13.0 → 0.13.1

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 (85) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +4 -2
  3. package/THIRD-PARTY-NOTICES.md +1 -1
  4. package/dist/{chunk-DXHLIJEY.js → chunk-47ZAKRVN.js} +6 -6
  5. package/dist/{chunk-L6YEIVVD.js → chunk-B5ZCT3UK.js} +13 -13
  6. package/dist/chunk-CCH7CFU5.js +5026 -0
  7. package/dist/chunk-CCH7CFU5.js.map +6 -0
  8. package/dist/{chunk-CNDUJ7IV.js → chunk-ES2LYZ6S.js} +9 -6
  9. package/dist/chunk-ES2LYZ6S.js.map +6 -0
  10. package/dist/{chunk-BF7GCWZY.js → chunk-GOCWG6FG.js} +3 -3
  11. package/dist/{chunk-IFYCJZNS.js → chunk-GRYITZPG.js} +7 -7
  12. package/dist/{chunk-F5EPQTPF.js → chunk-H422SRD3.js} +8 -8
  13. package/dist/{chunk-FEM2QVOO.js → chunk-JD6EJ3LI.js} +4 -4
  14. package/dist/{chunk-QFLVVM3H.js → chunk-MS2LQC2O.js} +38 -28
  15. package/dist/chunk-MS2LQC2O.js.map +6 -0
  16. package/dist/{chunk-UHHURTSV.js → chunk-PF4RFKX2.js} +7 -7
  17. package/dist/{chunk-TZXEEVKE.js → chunk-PKXTMC4J.js} +87 -42
  18. package/dist/chunk-PKXTMC4J.js.map +6 -0
  19. package/dist/{chunk-UJL7C2AS.js → chunk-U2ZY2NPQ.js} +2 -2
  20. package/dist/{chunk-PQNM6ET7.js → chunk-WOBRKNIA.js} +12 -12
  21. package/dist/{chunk-YIX3OJXU.js → chunk-XXTAPZO4.js} +4 -4
  22. package/dist/{chunk-EK5CJY22.js → chunk-ZGRJJ6OW.js} +38 -23
  23. package/dist/{chunk-EK5CJY22.js.map → chunk-ZGRJJ6OW.js.map} +1 -1
  24. package/dist/designer.js +26 -19
  25. package/dist/designer.js.map +1 -1
  26. package/dist/engine.worker.bwip.js +51422 -0
  27. package/dist/engine.worker.bwip.js.map +6 -0
  28. package/dist/engine.worker.js +45327 -2482
  29. package/dist/engine.worker.js.map +3 -3
  30. package/dist/peer/{chunk-45GVDKP5.js → chunk-3EYYRJR4.js} +7 -7
  31. package/dist/peer/{chunk-VZHHNQYB.js → chunk-3XZY54LM.js} +87 -42
  32. package/dist/peer/chunk-3XZY54LM.js.map +6 -0
  33. package/dist/peer/{chunk-Z5II55QT.js → chunk-5RUNOIS7.js} +4 -4
  34. package/dist/peer/{chunk-2CD5COHN.js → chunk-7IP67PA6.js} +13 -13
  35. package/dist/peer/{chunk-LWXQX3NJ.js → chunk-A6UXBSTP.js} +8 -8
  36. package/dist/peer/{chunk-V42KN7HD.js → chunk-CFTFTV2O.js} +6 -6
  37. package/dist/peer/chunk-JQTRDHQP.js +866 -0
  38. package/dist/peer/chunk-JQTRDHQP.js.map +6 -0
  39. package/dist/peer/chunk-KD6CDYGE.js +5024 -0
  40. package/dist/peer/chunk-KD6CDYGE.js.map +6 -0
  41. package/dist/peer/chunk-MXR6JBMP.js +546 -0
  42. package/dist/peer/chunk-MXR6JBMP.js.map +6 -0
  43. package/dist/peer/chunk-N42DCZZA.js +378 -0
  44. package/dist/peer/chunk-N42DCZZA.js.map +6 -0
  45. package/dist/peer/{chunk-MKY3SDXU.js → chunk-RKFP7SDY.js} +9 -6
  46. package/dist/peer/chunk-RKFP7SDY.js.map +6 -0
  47. package/dist/peer/{chunk-3CBV5SAI.js → chunk-WABYQWMT.js} +12 -12
  48. package/dist/peer/chunk-WVQQCD4M.js +14211 -0
  49. package/dist/peer/chunk-WVQQCD4M.js.map +6 -0
  50. package/dist/peer/{chunk-S6LSPHSU.js → chunk-XHCRHVRK.js} +4 -4
  51. package/dist/peer/{chunk-YITWGAR4.js → chunk-ZS3J4WBH.js} +7 -7
  52. package/dist/peer/designer.js +26 -19
  53. package/dist/peer/designer.js.map +1 -1
  54. package/dist/peer/engine.worker.bwip.js +51422 -0
  55. package/dist/peer/engine.worker.bwip.js.map +6 -0
  56. package/dist/peer/engine.worker.js +45327 -2482
  57. package/dist/peer/engine.worker.js.map +3 -3
  58. package/dist/peer/viewer.js +6 -5
  59. package/dist/peer/viewer.js.map +1 -1
  60. package/dist/viewer.js +6 -5
  61. package/dist/viewer.js.map +1 -1
  62. package/package.json +1 -2
  63. package/dist/chunk-CNDUJ7IV.js.map +0 -6
  64. package/dist/chunk-QFLVVM3H.js.map +0 -6
  65. package/dist/chunk-TZXEEVKE.js.map +0 -6
  66. package/dist/peer/chunk-MKY3SDXU.js.map +0 -6
  67. package/dist/peer/chunk-VZHHNQYB.js.map +0 -6
  68. /package/dist/{chunk-DXHLIJEY.js.map → chunk-47ZAKRVN.js.map} +0 -0
  69. /package/dist/{chunk-L6YEIVVD.js.map → chunk-B5ZCT3UK.js.map} +0 -0
  70. /package/dist/{chunk-BF7GCWZY.js.map → chunk-GOCWG6FG.js.map} +0 -0
  71. /package/dist/{chunk-IFYCJZNS.js.map → chunk-GRYITZPG.js.map} +0 -0
  72. /package/dist/{chunk-F5EPQTPF.js.map → chunk-H422SRD3.js.map} +0 -0
  73. /package/dist/{chunk-FEM2QVOO.js.map → chunk-JD6EJ3LI.js.map} +0 -0
  74. /package/dist/{chunk-UHHURTSV.js.map → chunk-PF4RFKX2.js.map} +0 -0
  75. /package/dist/{chunk-UJL7C2AS.js.map → chunk-U2ZY2NPQ.js.map} +0 -0
  76. /package/dist/{chunk-PQNM6ET7.js.map → chunk-WOBRKNIA.js.map} +0 -0
  77. /package/dist/{chunk-YIX3OJXU.js.map → chunk-XXTAPZO4.js.map} +0 -0
  78. /package/dist/peer/{chunk-45GVDKP5.js.map → chunk-3EYYRJR4.js.map} +0 -0
  79. /package/dist/peer/{chunk-S6LSPHSU.js.map → chunk-5RUNOIS7.js.map} +0 -0
  80. /package/dist/peer/{chunk-2CD5COHN.js.map → chunk-7IP67PA6.js.map} +0 -0
  81. /package/dist/peer/{chunk-LWXQX3NJ.js.map → chunk-A6UXBSTP.js.map} +0 -0
  82. /package/dist/peer/{chunk-V42KN7HD.js.map → chunk-CFTFTV2O.js.map} +0 -0
  83. /package/dist/peer/{chunk-3CBV5SAI.js.map → chunk-WABYQWMT.js.map} +0 -0
  84. /package/dist/peer/{chunk-Z5II55QT.js.map → chunk-XHCRHVRK.js.map} +0 -0
  85. /package/dist/peer/{chunk-YITWGAR4.js.map → chunk-ZS3J4WBH.js.map} +0 -0
@@ -22,13 +22,10 @@ import {
22
22
  serverPdfUrl,
23
23
  subsetter,
24
24
  usingWorker
25
- } from "./chunk-MKY3SDXU.js";
25
+ } from "./chunk-RKFP7SDY.js";
26
26
  import {
27
27
  NO_CJK_FONTS
28
28
  } from "../chunk-BR5K6SBL.js";
29
- import {
30
- safeUrl
31
- } from "../chunk-72S6DETS.js";
32
29
  import {
33
30
  needsExportData
34
31
  } from "../chunk-F6RMRXIN.js";
@@ -36,10 +33,13 @@ import {
36
33
  fontKeysOf,
37
34
  linkTitle,
38
35
  pageToSvg
39
- } from "../chunk-UJL7C2AS.js";
36
+ } from "./chunk-MXR6JBMP.js";
37
+ import {
38
+ safeUrl
39
+ } from "../chunk-72S6DETS.js";
40
40
  import {
41
41
  CORE_FONT_KEY
42
- } from "../chunk-QFLVVM3H.js";
42
+ } from "./chunk-JQTRDHQP.js";
43
43
 
44
44
  // src/embed/styles.js
45
45
  var CONSTRUCTABLE = typeof CSSStyleSheet === "function" && "replaceSync" in CSSStyleSheet.prototype;
@@ -4839,10 +4839,10 @@ async function exportBlob(fmt, model, def, opt = {}) {
4839
4839
  const o = { ...EXPORT_DEFAULTS, ...opt.options || {} };
4840
4840
  const lang = def.locale || opt.lang || "en";
4841
4841
  if (fmt === "json") return new Blob([JSON.stringify(model)], { type: "application/json" });
4842
- if (fmt === "csv") return new Blob([(await import("./chunk-V42KN7HD.js")).exportCsv(model, { locale: def.locale, currency: def.currency })], { type: "text/csv;charset=utf-8" });
4842
+ if (fmt === "csv") return new Blob([(await import("./chunk-CFTFTV2O.js")).exportCsv(model, { locale: def.locale, currency: def.currency })], { type: "text/csv;charset=utf-8" });
4843
4843
  if (fmt === "html" && opt.interactive !== false && o.html === "interactive") {
4844
4844
  try {
4845
- const { exportInteractiveHtml } = await import("./chunk-45GVDKP5.js");
4845
+ const { exportInteractiveHtml } = await import("./chunk-3EYYRJR4.js");
4846
4846
  const { html } = await exportInteractiveHtml(def, { params: opt.params, reportId: opt.reportId, lang: opt.lang, model });
4847
4847
  return new Blob([html], { type: "text/html;charset=utf-8" });
4848
4848
  } catch (e) {
@@ -4852,19 +4852,19 @@ async function exportBlob(fmt, model, def, opt = {}) {
4852
4852
  }
4853
4853
  if (fmt === "html") {
4854
4854
  const store = await loadedFonts(model);
4855
- const { exportHtml } = await import("./chunk-3CBV5SAI.js");
4855
+ const { exportHtml } = await import("./chunk-WABYQWMT.js");
4856
4856
  return new Blob([await exportHtml(model, { fonts: store, title: def.name, subset: subsetter, drillBase: origin(), static: o.html === "static", locale: def.locale, currency: def.currency, lang: opt.lang, strings: opt.strings })], { type: "text/html;charset=utf-8" });
4857
4857
  }
4858
4858
  if (fmt === "docx") {
4859
- const { exportDocx } = await import("./chunk-S6LSPHSU.js");
4859
+ const { exportDocx } = await import("./chunk-XHCRHVRK.js");
4860
4860
  return new Blob([await exportDocx(model, { title: def.name, lang, fontStore: await loadedFonts(model), fetchImage })], { type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" });
4861
4861
  }
4862
4862
  if (fmt === "pptx") {
4863
- const { exportPptx } = await import("./chunk-YITWGAR4.js");
4863
+ const { exportPptx } = await import("./chunk-ZS3J4WBH.js");
4864
4864
  return new Blob([await exportPptx(model, { title: def.name, lang, fontStore: await loadedFonts(model), fetchImage })], { type: "application/vnd.openxmlformats-officedocument.presentationml.presentation" });
4865
4865
  }
4866
4866
  if (fmt === "xlsx") {
4867
- const { exportXlsx } = await import("./chunk-LWXQX3NJ.js");
4867
+ const { exportXlsx } = await import("./chunk-A6UXBSTP.js");
4868
4868
  const bytes = await exportXlsx(model, { currency: def.currency, title: def.name, formulas: o.formulas, fontStore: await loadedFonts(model), fetchImage });
4869
4869
  return new Blob([bytes], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" });
4870
4870
  }
@@ -6066,4 +6066,4 @@ export {
6066
6066
  ReportViewer,
6067
6067
  uiFontCss
6068
6068
  };
6069
- //# sourceMappingURL=chunk-2CD5COHN.js.map
6069
+ //# sourceMappingURL=chunk-7IP67PA6.js.map
@@ -1,8 +1,3 @@
1
- import {
2
- currencyOf,
3
- standardDate,
4
- toWall
5
- } from "../chunk-GJS242RR.js";
6
1
  import {
7
2
  withDeadline
8
3
  } from "../chunk-D2NTLAKL.js";
@@ -15,8 +10,13 @@ import {
15
10
  altOf,
16
11
  figurePicture,
17
12
  figures
18
- } from "../chunk-UJL7C2AS.js";
19
- import "../chunk-QFLVVM3H.js";
13
+ } from "./chunk-MXR6JBMP.js";
14
+ import "./chunk-JQTRDHQP.js";
15
+ import {
16
+ currencyOf,
17
+ standardDate,
18
+ toWall
19
+ } from "../chunk-GJS242RR.js";
20
20
 
21
21
  // src/exporters/xlsxchart.js
22
22
  import { unzipSync, zipSync, strToU8, strFromU8 } from "fflate";
@@ -596,4 +596,4 @@ export {
596
596
  subtotalFn,
597
597
  xlsxCell
598
598
  };
599
- //# sourceMappingURL=chunk-LWXQX3NJ.js.map
599
+ //# sourceMappingURL=chunk-A6UXBSTP.js.map
@@ -1,13 +1,13 @@
1
- import {
2
- formatValue,
3
- isoDate,
4
- roundHalfAway
5
- } from "../chunk-GJS242RR.js";
6
1
  import {
7
2
  mergedRegions,
8
3
  needsTableData,
9
4
  textRows
10
5
  } from "../chunk-F6RMRXIN.js";
6
+ import {
7
+ formatValue,
8
+ isoDate,
9
+ roundHalfAway
10
+ } from "../chunk-GJS242RR.js";
11
11
 
12
12
  // src/exporters/csv.js
13
13
  var q = (v) => {
@@ -94,4 +94,4 @@ export {
94
94
  exportCsv,
95
95
  writeCsvStream
96
96
  };
97
- //# sourceMappingURL=chunk-V42KN7HD.js.map
97
+ //# sourceMappingURL=chunk-CFTFTV2O.js.map