feat(pdf): R4.6 app export on the core's session: export.ts drives ExportSession (rasters one by one, warnings in the engine's order, abort on unmount), labels moved to the app, EditorRoute downloads the Blob of the parts; suites read the file's content streams (pdfRead helper), app-path bytes = R4 digests, hex strings upper-case as pdf-lib
This commit is contained in:
1 parent
9e688b6801
commit
d492bf7112
29 files changed
+507
-131
No files matched your search
@@ -62,7 +62,8 @@ async function exportedAttachment(
|
||||
const { pdf } = await exportReportToPdf(golden.reports[name], sheet, {
|
||||
locale: 'fr',
|
||||
})
|
||||
return new TextDecoder().decode(await readAttachmentBytes(pdf))
|
||||
const bytes = new Uint8Array(await pdf.arrayBuffer())
|
||||
return new TextDecoder().decode(await readAttachmentBytes(bytes))
|
||||
}
|
||||
|
||||
describe.each(GOLDEN_REPORTS)('archive envelope of %s', (name) => {
|
||||
|
||||
Reference in new issue
Block a user