@formancy/report-render-pdf 0.1.0 → 0.3.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/NOTICE +8 -0
- package/README.md +907 -37
- package/dist/bill-fonts-B61mmaVd.mjs +16 -0
- package/dist/bill-fonts-B61mmaVd.mjs.map +1 -0
- package/dist/browser.d.mts +8 -3
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.mjs +90 -20
- package/dist/browser.mjs.map +1 -1
- package/dist/chart-draw-CUcWXjN9.mjs +1056 -0
- package/dist/chart-draw-CUcWXjN9.mjs.map +1 -0
- package/dist/index.d.mts +1 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +59 -23
- package/dist/index.mjs.map +1 -1
- package/dist/{options-wLxIWA87.d.mts → options-B7fd-ZYd.d.mts} +13 -3
- package/dist/options-B7fd-ZYd.d.mts.map +1 -0
- package/dist/render-D4q7IZ7I.mjs +5139 -0
- package/dist/render-D4q7IZ7I.mjs.map +1 -0
- package/fonts/AUTHORS-LiberationSans.txt +16 -0
- package/fonts/LICENSE-LiberationSans.txt +102 -0
- package/fonts/LiberationSans-Bold.ttf +0 -0
- package/fonts/LiberationSans-Regular.ttf +0 -0
- package/package.json +12 -7
- package/dist/options-wLxIWA87.d.mts.map +0 -1
- package/dist/render-Bs7DXIYJ.mjs +0 -1943
- package/dist/render-Bs7DXIYJ.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bill-fonts-B61mmaVd.mjs","names":["regular"],"sources":["../src/bill-fonts.ts"],"sourcesContent":["import bold from '../fonts/LiberationSans-Bold.ttf'\nimport regular from '../fonts/LiberationSans-Regular.ttf'\n\n/**\n * Liberation Sans 2.1.5's two faces as base64, for the browser entry's\n * virtual files: the bytes of the package's own `fonts` directory, which the\n * build writes into a chunk of their own (`font-plugin.ts`, in tsdown's\n * build and in Vitest's tests). The browser entry imports this module the first\n * time a document has a payment part, never before, so that a host that\n * never prints a bill never loads it.\n */\nexport const LIBERATION_SANS = { normal: regular, bold } as const\n"],"mappings":";;;;;;;;;AAWA,MAAa,kBAAkB;CAAE,QAAQA;CAAS,MAAA;AAAK"}
|
package/dist/browser.d.mts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { t as RenderOptions } from "./options-
|
|
1
|
+
import { t as RenderOptions } from "./options-B7fd-ZYd.mjs";
|
|
2
2
|
import { REFUSAL_CODES, RefusalCode, RenderRefusal, ResolvedDocument, ResolvedDocument as ResolvedDocument$1 } from "@formancy/report-runtime";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* The renderer in a browser: pdfmake's browser build, its fonts virtual
|
|
5
|
+
* files and every address denied, Liberation Sans a chunk of its own that
|
|
6
|
+
* only a document with a bill or a captioned code loads -- the engine,
|
|
7
|
+
* `browser-engine.ts`'s -- behind the same renderer as the Node entry
|
|
8
|
+
* (`render.ts`).
|
|
9
|
+
*/
|
|
4
10
|
/**
|
|
5
11
|
* Renders `document` to a PDF in a browser, or rejects with a
|
|
6
12
|
* `RenderRefusal` saying why it was not printed, exactly as the Node entry
|
|
7
13
|
* does: the same refusals, the same pages.
|
|
8
14
|
*/
|
|
9
15
|
export declare function renderPdf(document: ResolvedDocument$1, options: RenderOptions): Promise<Uint8Array>;
|
|
10
|
-
//#endregion
|
|
11
16
|
export { REFUSAL_CODES, type RefusalCode, type RenderOptions, RenderRefusal, type ResolvedDocument };
|
|
12
17
|
//# sourceMappingURL=browser.d.mts.map
|
package/dist/browser.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.mts","names":["ResolvedDocument"],"sources":["../src/browser.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"browser.d.mts","names":["ResolvedDocument"],"sources":["../src/browser.ts"],"mappings":";;;;;;;;;;;;;;wBAsBgB,UAAU,UAAUA,oBAAkB,SAAS,gBAAgB,QAAQ"}
|
package/dist/browser.mjs
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as glyphsOf, b as registerHostFonts, f as fromBase64, g as faceWidths, h as FACES, m as BILL_FACES, p as LIBERATION_SANS, t as render, v as glyphsOnce, x as written, y as loadOnce } from "./render-D4q7IZ7I.mjs";
|
|
2
2
|
import { REFUSAL_CODES, RenderRefusal } from "@formancy/report-runtime";
|
|
3
3
|
import pdfmake from "pdfmake/build/pdfmake.js";
|
|
4
4
|
import vfs from "pdfmake/build/vfs_fonts.js";
|
|
5
|
-
|
|
5
|
+
// src/browser-engine.ts
|
|
6
6
|
/**
|
|
7
|
-
* The renderer in a browser: pdfmake's browser build, with Roboto
|
|
8
|
-
* from pdfmake's `vfs_fonts.js`, which carries the four font files of
|
|
7
|
+
* The renderer's engine in a browser: pdfmake's browser build, with Roboto
|
|
8
|
+
* 3.014 from pdfmake's `vfs_fonts.js`, which carries the four font files of
|
|
9
9
|
* pdfmake's package as base64 -- the same bytes, which a test holds, so the
|
|
10
10
|
* same OFL-1.1 fonts the dependency-licence guard reads (0006). Nothing here
|
|
11
11
|
* touches a file system: the fonts are pdfmake's virtual files, and every
|
|
12
|
-
* address is denied.
|
|
12
|
+
* address is denied. The output intent of a PDF/A -- an e-invoice's
|
|
13
|
+
* PDF/A-3b, or the PDF/A-2b a host asks for (0057) -- is the ICC profile
|
|
14
|
+
* the browser build carries as base64 (`build/pdfmake.js` 20777), the very
|
|
15
|
+
* bytes of PDFKit's file, which `browser.test.ts` holds.
|
|
16
|
+
*
|
|
17
|
+
* A QR-bill's slip and an EPC QR code's caption print in Liberation Sans
|
|
18
|
+
* 2.1.5, whose two faces come as base64 in a module of their own
|
|
19
|
+
* (`bill-fonts.ts`), the very bytes of this package's `fonts` directory,
|
|
20
|
+
* which a test holds too. It is imported the first time a document has a
|
|
21
|
+
* payment part or a captioned EPC QR code, and never otherwise: the build
|
|
22
|
+
* makes it a chunk of its own, and an app's bundler loads that chunk only
|
|
23
|
+
* when a bill or a caption asks for it. An import that failed is not kept:
|
|
24
|
+
* the document it failed for fails, and the next one imports the chunk
|
|
25
|
+
* again.
|
|
13
26
|
*
|
|
14
27
|
* Everything but the fonts and the build is the Node entry's own
|
|
15
28
|
* (`render.ts`), so the two hand pdfmake the same definitions.
|
|
@@ -18,6 +31,10 @@ import vfs from "pdfmake/build/vfs_fonts.js";
|
|
|
18
31
|
* renderer's own, so that a host's files of the same name and the renderer's
|
|
19
32
|
* cannot replace each other, and they and the font table are set again
|
|
20
33
|
* before every document, as in Node: pdfmake is one configuration per page.
|
|
34
|
+
*
|
|
35
|
+
* The engine stands apart from the browser entry (`browser.ts`), which
|
|
36
|
+
* renders with it, so that a test reaches it and nothing a host imports
|
|
37
|
+
* does; Node's is `node.ts`'s, which is not an entry (`index.ts` is).
|
|
21
38
|
*/
|
|
22
39
|
const FILES = {
|
|
23
40
|
normal: "Roboto-Regular.ttf",
|
|
@@ -25,31 +42,85 @@ const FILES = {
|
|
|
25
42
|
italics: "Roboto-Italic.ttf",
|
|
26
43
|
bolditalics: "Roboto-MediumItalic.ttf"
|
|
27
44
|
};
|
|
45
|
+
const BILL_FILES = {
|
|
46
|
+
normal: "LiberationSans-Regular.ttf",
|
|
47
|
+
bold: "LiberationSans-Bold.ttf"
|
|
48
|
+
};
|
|
28
49
|
const own = (file) => `formancy-report-render-pdf/${file}`;
|
|
50
|
+
/** Liberation Sans's faces as base64, once a document with a bill or a captioned code has loaded them. */
|
|
51
|
+
let billFonts;
|
|
52
|
+
/**
|
|
53
|
+
* Liberation Sans's glyphs, from the faces in the chunk that carries them:
|
|
54
|
+
* imported by the first document with a bill or a captioned code and kept
|
|
55
|
+
* once they have been read, and imported again by the next such document
|
|
56
|
+
* after an import that failed, which would otherwise fail every bill and
|
|
57
|
+
* caption until the page reloaded (`loadOnce`).
|
|
58
|
+
*/
|
|
59
|
+
const billGlyphs = loadOnce(async () => {
|
|
60
|
+
const { LIBERATION_SANS: faces } = await import("./bill-fonts-B61mmaVd.mjs");
|
|
61
|
+
const glyphs = await glyphsOf(BILL_FACES, async (face) => fromBase64(faces[face]));
|
|
62
|
+
billFonts = faces;
|
|
63
|
+
return glyphs;
|
|
64
|
+
});
|
|
29
65
|
function fontFiles() {
|
|
30
|
-
|
|
66
|
+
const roboto = Object.values(FILES).map((file) => {
|
|
31
67
|
const data = vfs[file];
|
|
32
68
|
if (data === void 0) throw new Error(`pdfmake's vfs_fonts.js has no ${file}`);
|
|
33
69
|
return [own(file), data];
|
|
34
|
-
})
|
|
70
|
+
});
|
|
71
|
+
const loaded = billFonts;
|
|
72
|
+
const liberation = loaded === void 0 ? [] : BILL_FACES.map((face) => [own(BILL_FILES[face]), loaded[face]]);
|
|
73
|
+
return Object.fromEntries([...roboto, ...liberation]);
|
|
35
74
|
}
|
|
36
|
-
const FONTS = {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
75
|
+
const FONTS = {
|
|
76
|
+
Roboto: {
|
|
77
|
+
normal: own(FILES.normal),
|
|
78
|
+
bold: own(FILES.bold),
|
|
79
|
+
italics: own(FILES.italics),
|
|
80
|
+
bolditalics: own(FILES.bolditalics)
|
|
81
|
+
},
|
|
82
|
+
[LIBERATION_SANS]: {
|
|
83
|
+
normal: own(BILL_FILES.normal),
|
|
84
|
+
bold: own(BILL_FILES.bold)
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
/** pdfmake's virtual file system in the browser build, where a host face's bytes go for a render, beside the Roboto and Liberation base64 the build carries. */
|
|
88
|
+
const virtualfs = pdfmake.virtualfs;
|
|
89
|
+
/**
|
|
90
|
+
* What `use` makes of the document pdfmake makes of `definition`, with the
|
|
91
|
+
* renderer's fonts and `host`'s faces in pdfmake's virtual files and
|
|
92
|
+
* pdfmake configured in the same synchronous step as `createPdf`; the host's
|
|
93
|
+
* faces removed after, whether it answered or threw.
|
|
94
|
+
*/
|
|
95
|
+
async function withDocument(definition, host, use) {
|
|
43
96
|
pdfmake.addVirtualFileSystem(fontFiles());
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
97
|
+
const cleanup = registerHostFonts(virtualfs, host);
|
|
98
|
+
try {
|
|
99
|
+
pdfmake.setFonts({
|
|
100
|
+
...FONTS,
|
|
101
|
+
...host.families
|
|
102
|
+
});
|
|
103
|
+
pdfmake.setUrlAccessPolicy(() => false);
|
|
104
|
+
return await use(pdfmake.createPdf(definition).getStream());
|
|
105
|
+
} finally {
|
|
106
|
+
cleanup();
|
|
107
|
+
}
|
|
47
108
|
}
|
|
48
109
|
/** pdfmake's browser build, and the glyphs of the very virtual files it embeds. */
|
|
49
110
|
const engine = {
|
|
50
|
-
run,
|
|
51
|
-
|
|
111
|
+
run: (definition, host, finish) => withDocument(definition, host, (document) => written(document, finish)),
|
|
112
|
+
widths: (host, faces) => withDocument({ content: [] }, host, (document) => faceWidths(document, faces)),
|
|
113
|
+
glyphs: glyphsOnce(FACES, (face) => Promise.resolve(fromBase64(vfs[FILES[face]]))),
|
|
114
|
+
billGlyphs
|
|
52
115
|
};
|
|
116
|
+
// src/browser.ts
|
|
117
|
+
/**
|
|
118
|
+
* The renderer in a browser: pdfmake's browser build, its fonts virtual
|
|
119
|
+
* files and every address denied, Liberation Sans a chunk of its own that
|
|
120
|
+
* only a document with a bill or a captioned code loads -- the engine,
|
|
121
|
+
* `browser-engine.ts`'s -- behind the same renderer as the Node entry
|
|
122
|
+
* (`render.ts`).
|
|
123
|
+
*/
|
|
53
124
|
/**
|
|
54
125
|
* Renders `document` to a PDF in a browser, or rejects with a
|
|
55
126
|
* `RenderRefusal` saying why it was not printed, exactly as the Node entry
|
|
@@ -58,7 +129,6 @@ const engine = {
|
|
|
58
129
|
function renderPdf(document, options) {
|
|
59
130
|
return render(engine, document, options);
|
|
60
131
|
}
|
|
61
|
-
//#endregion
|
|
62
132
|
export { REFUSAL_CODES, RenderRefusal, renderPdf };
|
|
63
133
|
|
|
64
134
|
//# sourceMappingURL=browser.mjs.map
|
package/dist/browser.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.mjs","names":[],"sources":["../src/browser.ts"],"sourcesContent":["import pdfmake from 'pdfmake/build/pdfmake.js'\nimport vfs from 'pdfmake/build/vfs_fonts.js'\nimport type { TDocumentDefinitions } from 'pdfmake/interfaces.js'\nimport
|
|
1
|
+
{"version":3,"file":"browser.mjs","names":[],"sources":["../src/browser-engine.ts","../src/browser.ts"],"sourcesContent":["import pdfmake from 'pdfmake/build/pdfmake.js'\nimport vfs from 'pdfmake/build/vfs_fonts.js'\nimport type { TDocumentDefinitions } from 'pdfmake/interfaces.js'\nimport { fromBase64 } from './bytes.js'\nimport { BILL_FACES, FACES, faceWidths, glyphsOf, glyphsOnce, loadOnce, registerHostFonts, written, type Engine, type VirtualFs } from './engine.js'\nimport type { BillFace } from './glyphs.js'\nimport type { HostFontFiles } from './host-fonts.js'\nimport { LIBERATION_SANS } from './style.js'\n\n/**\n * The renderer's engine in a browser: pdfmake's browser build, with Roboto\n * 3.014 from pdfmake's `vfs_fonts.js`, which carries the four font files of\n * pdfmake's package as base64 -- the same bytes, which a test holds, so the\n * same OFL-1.1 fonts the dependency-licence guard reads (0006). Nothing here\n * touches a file system: the fonts are pdfmake's virtual files, and every\n * address is denied. The output intent of a PDF/A -- an e-invoice's\n * PDF/A-3b, or the PDF/A-2b a host asks for (0057) -- is the ICC profile\n * the browser build carries as base64 (`build/pdfmake.js` 20777), the very\n * bytes of PDFKit's file, which `browser.test.ts` holds.\n *\n * A QR-bill's slip and an EPC QR code's caption print in Liberation Sans\n * 2.1.5, whose two faces come as base64 in a module of their own\n * (`bill-fonts.ts`), the very bytes of this package's `fonts` directory,\n * which a test holds too. It is imported the first time a document has a\n * payment part or a captioned EPC QR code, and never otherwise: the build\n * makes it a chunk of its own, and an app's bundler loads that chunk only\n * when a bill or a caption asks for it. An import that failed is not kept:\n * the document it failed for fails, and the next one imports the chunk\n * again.\n *\n * Everything but the fonts and the build is the Node entry's own\n * (`render.ts`), so the two hand pdfmake the same definitions.\n *\n * The fonts go into pdfmake's virtual file system under names of the\n * renderer's own, so that a host's files of the same name and the renderer's\n * cannot replace each other, and they and the font table are set again\n * before every document, as in Node: pdfmake is one configuration per page.\n *\n * The engine stands apart from the browser entry (`browser.ts`), which\n * renders with it, so that a test reaches it and nothing a host imports\n * does; Node's is `node.ts`'s, which is not an entry (`index.ts` is).\n */\n\nconst FILES = { normal: 'Roboto-Regular.ttf', bold: 'Roboto-Medium.ttf', italics: 'Roboto-Italic.ttf', bolditalics: 'Roboto-MediumItalic.ttf' } as const\nconst BILL_FILES = { normal: 'LiberationSans-Regular.ttf', bold: 'LiberationSans-Bold.ttf' } as const\nconst own = (file: string): string => `formancy-report-render-pdf/${file}`\n\n/** Liberation Sans's faces as base64, once a document with a bill or a captioned code has loaded them. */\nlet billFonts: Readonly<Record<BillFace, string>> | undefined\n\n/**\n * Liberation Sans's glyphs, from the faces in the chunk that carries them:\n * imported by the first document with a bill or a captioned code and kept\n * once they have been read, and imported again by the next such document\n * after an import that failed, which would otherwise fail every bill and\n * caption until the page reloaded (`loadOnce`).\n */\nconst billGlyphs = loadOnce(async () => {\n const { LIBERATION_SANS: faces } = await import('./bill-fonts.js')\n const glyphs = await glyphsOf(BILL_FACES, async (face) => fromBase64(faces[face]))\n billFonts = faces\n return glyphs\n})\n\nfunction fontFiles(): Record<string, string> {\n const roboto = Object.values(FILES).map((file) => {\n const data = vfs[file]\n if (data === undefined) throw new Error(`pdfmake's vfs_fonts.js has no ${file}`)\n return [own(file), data] as const\n })\n const loaded = billFonts\n const liberation = loaded === undefined ? [] : BILL_FACES.map((face) => [own(BILL_FILES[face]), loaded[face]] as const)\n return Object.fromEntries([...roboto, ...liberation])\n}\n\nconst FONTS = {\n Roboto: { normal: own(FILES.normal), bold: own(FILES.bold), italics: own(FILES.italics), bolditalics: own(FILES.bolditalics) },\n [LIBERATION_SANS]: { normal: own(BILL_FILES.normal), bold: own(BILL_FILES.bold) },\n}\n\n/** pdfmake's virtual file system in the browser build, where a host face's bytes go for a render, beside the Roboto and Liberation base64 the build carries. */\nconst virtualfs = (pdfmake as unknown as { readonly virtualfs: VirtualFs }).virtualfs\n\n/**\n * What `use` makes of the document pdfmake makes of `definition`, with the\n * renderer's fonts and `host`'s faces in pdfmake's virtual files and\n * pdfmake configured in the same synchronous step as `createPdf`; the host's\n * faces removed after, whether it answered or threw.\n */\nasync function withDocument<T>(definition: TDocumentDefinitions, host: HostFontFiles, use: (document: Promise<unknown>) => Promise<T>): Promise<T> {\n pdfmake.addVirtualFileSystem(fontFiles())\n const cleanup = registerHostFonts(virtualfs, host)\n try {\n pdfmake.setFonts({ ...FONTS, ...host.families })\n pdfmake.setUrlAccessPolicy(() => false)\n return await use(pdfmake.createPdf(definition).getStream())\n } finally {\n cleanup()\n }\n}\n\n/** pdfmake's browser build, and the glyphs of the very virtual files it embeds. */\nexport const engine: Engine = {\n run: (definition, host, finish) => withDocument(definition, host, (document) => written(document, finish)),\n widths: (host, faces) => withDocument({ content: [] }, host, (document) => faceWidths(document, faces)),\n glyphs: glyphsOnce(FACES, (face) => Promise.resolve(fromBase64(vfs[FILES[face]] as string))),\n billGlyphs,\n}\n","import type { ResolvedDocument } from '@formancy/report-runtime'\nimport { engine } from './browser-engine.js'\nimport type { RenderOptions } from './options.js'\nimport { render } from './render.js'\n\nexport { REFUSAL_CODES, RenderRefusal } from '@formancy/report-runtime'\nexport type { RefusalCode, ResolvedDocument } from '@formancy/report-runtime'\nexport type { RenderOptions } from './options.js'\n\n/**\n * The renderer in a browser: pdfmake's browser build, its fonts virtual\n * files and every address denied, Liberation Sans a chunk of its own that\n * only a document with a bill or a captioned code loads -- the engine,\n * `browser-engine.ts`'s -- behind the same renderer as the Node entry\n * (`render.ts`).\n */\n\n/**\n * Renders `document` to a PDF in a browser, or rejects with a\n * `RenderRefusal` saying why it was not printed, exactly as the Node entry\n * does: the same refusals, the same pages.\n */\nexport function renderPdf(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