diff --git a/docs/assets/browser-starter/project.zip b/docs/assets/browser-starter/project.zip index 82c2edd..bdd126f 100644 Binary files a/docs/assets/browser-starter/project.zip and b/docs/assets/browser-starter/project.zip differ diff --git a/docs/assets/browser-starter/source.json b/docs/assets/browser-starter/source.json index 3bf3fc7..94bcf7c 100644 --- a/docs/assets/browser-starter/source.json +++ b/docs/assets/browser-starter/source.json @@ -1,19 +1,19 @@ { "source_repository": "https://github.com/fullbleed-engine/fullbleed-node", - "source_commit": "ea5235dc6e8e03b6036563f3f88337932bd52ca4", + "source_commit": "4f69aef17cac30fb6e0852a252a2085c534c385d", "source_directory": "examples/browser", - "package_version": "0.8.2", - "engine_version": "2.5.37", - "package_integrity": "sha512-OkqQzTbLE7JLx4nwriQEwqHiowLFx3j4AWtPYeSlP+dCdTd75oaBvS/h2VJj0WBI4zP2U9lE0Z6wH7bTASfIOA==", - "zip_bytes": 24386, - "zip_sha256": "b65850ece48715ffc3123b92baba77d79b63951cc12fb7ee0b195da76ccaed2c", + "package_version": "0.8.3", + "engine_version": "2.5.38", + "package_integrity": "sha512-Df9VSjsLEyygxvQTiFwgwndEyspzy6AIvLkbDm0IgIYSfXXuGy+C2MJWTxpy21hp6NwWVg6MHKx7mYTJUA7I6g==", + "zip_bytes": 24389, + "zip_sha256": "47fc61514297b3c926d93a755048388c651b8100c4bb2ebda6793bd13513be01", "files": { "fullbleed-browser-starter/.gitignore": "c023fec2bf12476cb47709e859f1fbb785aeb1e03281e52141e0bee1ee7dad72", "fullbleed-browser-starter/LICENSE": "36a2115938f6e68cf0d87eccff7a6a3e57c17017e909cbd640d51aff1fa0c5a9", - "fullbleed-browser-starter/README.md": "07b5da1c9b9f747207a254b3894e0a5f36f7fe4518218a12135a8f5fb04e7ed8", + "fullbleed-browser-starter/README.md": "4c3b962ac8e5ae81ac2d2234103755e9fb60b4b138f36ee3f00a5957a7b93a2e", "fullbleed-browser-starter/index.html": "8cbae46ebceaa5c595db4056e96563eda4da5bf9b0a53c66830ba67e41f7d959", - "fullbleed-browser-starter/package-lock.json": "0984361fdef4678a7434fdadd790874561062611553c83f4cdae6857ba009d66", - "fullbleed-browser-starter/package.json": "dc09f4b21e239451ac9922ec6b8671f448ccfea5872e077dec160aa73326db09", + "fullbleed-browser-starter/package-lock.json": "6f18c206a1f6fe030a94b59f987f162e217d2f5cdeaeff6680bbebfc26fe4341", + "fullbleed-browser-starter/package.json": "68c2577262ad8a92c81f3ec3ee68bebc3c9ca44fb0885ff339d9c663f19e6958", "fullbleed-browser-starter/public/favicon.svg": "14e54700b07ee8762556b4fdeb1b406bfc79492bc1d6958e3f97dbd83c2cd0d0", "fullbleed-browser-starter/src/invoice.css": "0b310ce0f2964fd6b9b68e4afafa9307b4ff8c6b2f1fc753367dc755620ce427", "fullbleed-browser-starter/src/invoice.html": "1f065ad6694021649e61b3f666cba6dc01aacdcbd8e80e97425b383e60d7d2fe", @@ -23,5 +23,5 @@ "fullbleed-browser-starter/src/style.css": "131426c760df6f64f5890d03f2b3301bf2003f63008b7f90aea311c400db6f17", "fullbleed-browser-starter/vite.config.js": "ec725922705a3c5ba2df191a564c54c0cac6e8997ecd3d00b8a42c647bec8e74" }, - "local_ui_evidence": "https://github.com/fullbleed-engine/fullbleed-node/blob/ea5235dc6e8e03b6036563f3f88337932bd52ca4/verification/starters-082.json" + "local_ui_evidence": "https://github.com/fullbleed-engine/fullbleed-node/blob/4f69aef17cac30fb6e0852a252a2085c534c385d/verification/starters-083.json" } diff --git a/docs/assets/browser-starters-083-verification.json b/docs/assets/browser-starters-083-verification.json new file mode 100644 index 0000000..4455f7e --- /dev/null +++ b/docs/assets/browser-starters-083-verification.json @@ -0,0 +1,408 @@ +{ + "ok": true, + "checkedAt": "2026-10-27T12:51:16.193303+00:00", + "package": "0.8.3", + "engine": "2.5.38", + "sdkSource": "4f69aef17cac30fb6e0852a252a2085c534c385d", + "sdkMerge": "4ca11af1f2cda894e2b7f94cd95e1fd2dc409c72", + "publicTarballSha256": "9bdfd44de150e609819f9e46bf1bcd9c4bda4cdedc09aa477b593003f1e24b55", + "sourceFiles": { + "docs/assets/browser-starter/project.zip": "47fc61514297b3c926d93a755048388c651b8100c4bb2ebda6793bd13513be01", + "docs/assets/browser-starter/source.json": "d2185de4951ed6e846812b7063583b1a0633175fb32206d736bb770de4adb74e", + "docs/guides/browser-pdf.md": "82520e59320f41992b30d0333beeaf1af6d8656af554e52ba34aeb7cd4040585", + "tools/build_browser_starter.py": "0f55d6e79e8702d4dcd4914ba9a7c707cc5e9676b39259fa0b36106d7bd2b905", + "docs/assets/react-starter/project.zip": "b886c417c03c5070f48da9adb08919e7b918cf31848b5c5c3ee8b9169df3995c", + "docs/assets/react-starter/source.json": "5579ecaeee69c72f91579c31e15f136354d1bb2b4b043a9fd726895a2b32c0fe", + "docs/guides/react-pdf.md": "032200c4d2762eb8800214444a7678ab11bfec491acadc9b42418177b2057b92", + "tools/build_react_starter.py": "bc2882d76becd0ccd1b939c8ed0a5018239a694ab290a68908516815625a212a", + "docs/assets/vue-starter/project.zip": "7440a56aa6628651a71545b37281dbb2fa75cddd10c6b2a005932efa6a09b276", + "docs/assets/vue-starter/source.json": "7e3baeb03659617a5148f2f5ad328352ccdeb35ca8a26f34994d8ca41c96cd61", + "docs/guides/vue-pdf.md": "b1299f456e7427f8dfaa0402106fe7d22a4a8405ec864bb1a4ad272e731a1e5e", + "tools/build_vue_starter.py": "02f6ee0cbf6cb6efb26fb92448206eea0622b0865d8121bd22bdf46cf510b6d5", + "tools/starter_engine_fixes.py": "972cdd86569513817424758a8a5ac6a9998ed2c4988500219763b126485b2932", + "tools/starter-engine-2.5.38.json": "a3c43265bf4a1d749210bb3842a4a8ebd94ea0bf9608ac247f3268ea9867117d" + }, + "apps": { + "browser": { + "zipSha256": "47fc61514297b3c926d93a755048388c651b8100c4bb2ebda6793bd13513be01", + "zipBytes": 24389, + "sourceFiles": 14, + "installedPackageFiles": 47, + "installedFilesMatchPublicTarball": true, + "browserChecks": 94, + "ordinaryDocuments": [ + { + "name": "invoice", + "filename": "invoice-NS-1042.pdf", + "pages": 1, + "sha256": "3078d155f30536f5ad721f7be3c241cd78661ae41249131fc0fd65f37f23e408" + }, + { + "name": "color-only", + "filename": "invoice-NS-1042.pdf", + "pages": 1, + "sha256": "a2b69ba41f7ad4c9bcbd38d803a46e70f0b9ccacd90ffbab5b0f7d87ffca5e4b" + }, + { + "name": "customized", + "filename": "invoice-TEST-2042.pdf", + "pages": 1, + "sha256": "31ff314b44a6f13534cc383e0cf24929f0695c1dd3d84769dedf8828c6486a93" + }, + { + "name": "edited", + "filename": "invoice-TEST-2042.pdf", + "pages": 1, + "sha256": "fecff59c1bfd6b59de2f0fb56965a5668023b3b88e64b5c6c30f95875592c4b2" + }, + { + "name": "report", + "filename": "community-report.pdf", + "pages": 3, + "sha256": "80fc4306db1898688d846cfea4fb1b4ef5bf07713fe9301662143619441205b5" + }, + { + "name": "recovered", + "filename": "invoice-TEST-2042.pdf", + "pages": 1, + "sha256": "31ff314b44a6f13534cc383e0cf24929f0695c1dd3d84769dedf8828c6486a93" + } + ], + "quotationDocuments": [ + { + "name": "quote-inline-nested", + "pages": 1, + "text": "Record Ada\n[outer{inner}end]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1695, + "preview": 1627 + }, + "independentRasterSha256": "63eebe27b3c8518dfc43e9e79ebb503200f4c49d44bde60f4119fd0004791311", + "pdfSha256": "0dd4e8e1cad03da49a74a2451d97180f5212c42262addff402e087c0796e32f9", + "previewSha256": "817be578ca49e67329b503bdee74f8d4d202319c8988e966419c4f8087d50cd1", + "suggestedFilename": "invoice-TEST-2042.pdf" + }, + { + "name": "quote-contents-nested", + "pages": 1, + "text": "Record Ada\n[\nouter\n{inner}\nend\n]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1677, + "preview": 1613 + }, + "independentRasterSha256": "8a155f599e8ad72c1f83768d9935732c5af56bcb7d9676864c1b6495304a328b", + "pdfSha256": "658681c73d9f6cb8e942ac331a64d9e4cb7c70190b5a7d7a7258bd7028163585", + "previewSha256": "bb3a35f08897bcecceec9afb57439388e448681fca8513023d2bba908bd516f8", + "suggestedFilename": "invoice-TEST-2042.pdf" + }, + { + "name": "quote-block-nested", + "pages": 1, + "text": "Record Ada\n[outer{inner}end]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1695, + "preview": 1635 + }, + "independentRasterSha256": "63eebe27b3c8518dfc43e9e79ebb503200f4c49d44bde60f4119fd0004791311", + "pdfSha256": "b032ca751718d12ec90f10d4934044f1ac1024b9731ba2c72c1529fe9f44e6e7", + "previewSha256": "28cfba86ea6182baccff1322dcb100279bf10eef965e33266b3baaabd41ccccf", + "suggestedFilename": "invoice-TEST-2042.pdf" + } + ], + "reports": { + "build": "038e1a2116c2df00436b135d4581f118deb857e8d38aa5b60b9f484b769ac1bb", + "launcher": "4a8b361bee480f8bb0c27730585953b3e3e28804496c13a2558e1266b451577e", + "ui": "02db79ca90a5e5fd422426355979fe967e2e16dcbe4e75eed92da40f70ad1e7f" + } + }, + "react": { + "zipSha256": "b886c417c03c5070f48da9adb08919e7b918cf31848b5c5c3ee8b9169df3995c", + "zipBytes": 37382, + "sourceFiles": 20, + "installedPackageFiles": 47, + "installedFilesMatchPublicTarball": true, + "browserChecks": 143, + "ordinaryDocuments": [ + { + "name": "component-invoice", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "f2553f220e9d30e26df785a4ed251f07ff1e615afd3972a5c29c19a0c5fd3f6c", + "whitespace_normalized_text_checks": true + }, + { + "name": "component-paid", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "91d8c8360fac37cd413fe669ed8f06650658b9ca01777129879207aac014d4c2", + "whitespace_normalized_text_checks": true + }, + { + "name": "component-edited", + "pages": 1, + "filename": "invoice-Ref-aBc-2042.pdf", + "sha256": "a664f9fd84af1d2354537645aa6b70dd9abe3ab762b8a9631047aab742b1297e", + "whitespace_normalized_text_checks": true + }, + { + "name": "component-empty", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "cc1982eaea9dfa05b014cffea44644ecc2f4d33e8eb22ae6f6a501ab6d7f1248", + "whitespace_normalized_text_checks": true + }, + { + "name": "component-credit", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "cd57b56ec26e86365ab0223656d7e21b1543c9fbf404e967f0aef2e9b98024e6", + "whitespace_normalized_text_checks": true + }, + { + "name": "component-long", + "pages": 3, + "filename": "invoice-NS-1042.pdf", + "sha256": "589210d6b5bb0684fdbf5dbf62c5e32742c7166d3a8cfc5ae304c430e08357a3", + "whitespace_normalized_text_checks": true + }, + { + "name": "invoice", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "3078d155f30536f5ad721f7be3c241cd78661ae41249131fc0fd65f37f23e408", + "whitespace_normalized_text_checks": false + }, + { + "name": "manual", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "1df9b1852ad96e07d00520d190140044f528b14047df6e30432e91a512be8883", + "whitespace_normalized_text_checks": false + }, + { + "name": "latest-input", + "pages": 1, + "filename": "invoice-REACT-2042.pdf", + "sha256": "fccdad8d56abef7206e5efefc716af2c44c717c0e1c3619827c6d27931ed76be", + "whitespace_normalized_text_checks": false + }, + { + "name": "edited-template", + "pages": 1, + "filename": "invoice-REACT-2042.pdf", + "sha256": "c1fe667a39ac3eaae3292c3a1fab1c466999e798a5ab0a4616b73689acc79880", + "whitespace_normalized_text_checks": false + }, + { + "name": "report", + "pages": 3, + "filename": "community-report.pdf", + "sha256": "80fc4306db1898688d846cfea4fb1b4ef5bf07713fe9301662143619441205b5", + "whitespace_normalized_text_checks": false + }, + { + "name": "recovered", + "pages": 1, + "filename": "invoice-REACT-2042.pdf", + "sha256": "fccdad8d56abef7206e5efefc716af2c44c717c0e1c3619827c6d27931ed76be", + "whitespace_normalized_text_checks": false + }, + { + "name": "remounted", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "3078d155f30536f5ad721f7be3c241cd78661ae41249131fc0fd65f37f23e408", + "whitespace_normalized_text_checks": false + } + ], + "quotationDocuments": [ + { + "name": "quote-inline-nested", + "pages": 1, + "text": "Record Ada\n[outer{inner}end]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1695, + "preview": 1627 + }, + "independentRasterSha256": "63eebe27b3c8518dfc43e9e79ebb503200f4c49d44bde60f4119fd0004791311", + "pdfSha256": "0dd4e8e1cad03da49a74a2451d97180f5212c42262addff402e087c0796e32f9", + "previewSha256": "817be578ca49e67329b503bdee74f8d4d202319c8988e966419c4f8087d50cd1", + "suggestedFilename": "invoice-REACT-2042.pdf" + }, + { + "name": "quote-contents-nested", + "pages": 1, + "text": "Record Ada\n[\nouter\n{inner}\nend\n]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1677, + "preview": 1613 + }, + "independentRasterSha256": "8a155f599e8ad72c1f83768d9935732c5af56bcb7d9676864c1b6495304a328b", + "pdfSha256": "658681c73d9f6cb8e942ac331a64d9e4cb7c70190b5a7d7a7258bd7028163585", + "previewSha256": "bb3a35f08897bcecceec9afb57439388e448681fca8513023d2bba908bd516f8", + "suggestedFilename": "invoice-REACT-2042.pdf" + }, + { + "name": "quote-block-nested", + "pages": 1, + "text": "Record Ada\n[outer{inner}end]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1695, + "preview": 1635 + }, + "independentRasterSha256": "63eebe27b3c8518dfc43e9e79ebb503200f4c49d44bde60f4119fd0004791311", + "pdfSha256": "b032ca751718d12ec90f10d4934044f1ac1024b9731ba2c72c1529fe9f44e6e7", + "previewSha256": "28cfba86ea6182baccff1322dcb100279bf10eef965e33266b3baaabd41ccccf", + "suggestedFilename": "invoice-REACT-2042.pdf" + } + ], + "reports": { + "build": "596ced8465831ac5c7ff9b54cf62d6bf19eb1b23fc0eff0d62d20d434033f431", + "launcher": "68c4c239a1fc174043a031931986ce5f8d5c03752f7c71f33a7d02949e4987be", + "ui": "d9a27b4601556bc9c4624fb14fd490c4775d44372d1567eee1892f7c3dc23878" + } + }, + "vue": { + "zipSha256": "7440a56aa6628651a71545b37281dbb2fa75cddd10c6b2a005932efa6a09b276", + "zipBytes": 31348, + "sourceFiles": 18, + "installedPackageFiles": 47, + "installedFilesMatchPublicTarball": true, + "browserChecks": 102, + "ordinaryDocuments": [ + { + "name": "invoice", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "3078d155f30536f5ad721f7be3c241cd78661ae41249131fc0fd65f37f23e408" + }, + { + "name": "manual", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "1df9b1852ad96e07d00520d190140044f528b14047df6e30432e91a512be8883" + }, + { + "name": "latest-input", + "pages": 1, + "filename": "invoice-VUE-2042.pdf", + "sha256": "f63a42a366b08f4f054cca5594dbcd22510455ddfe2e9129623facfb8371e8ee" + }, + { + "name": "edited-template", + "pages": 1, + "filename": "invoice-VUE-2042.pdf", + "sha256": "071d2bd98b7b90b52aa5b60e74ce0934ef54d3c6032c222d7237786dc12fc953" + }, + { + "name": "report", + "pages": 3, + "filename": "community-report.pdf", + "sha256": "80fc4306db1898688d846cfea4fb1b4ef5bf07713fe9301662143619441205b5" + }, + { + "name": "outage-recovery", + "pages": 1, + "filename": "invoice-VUE-2042.pdf", + "sha256": "f63a42a366b08f4f054cca5594dbcd22510455ddfe2e9129623facfb8371e8ee" + }, + { + "name": "recovered", + "pages": 1, + "filename": "invoice-VUE-2042.pdf", + "sha256": "f63a42a366b08f4f054cca5594dbcd22510455ddfe2e9129623facfb8371e8ee" + }, + { + "name": "remounted", + "pages": 1, + "filename": "invoice-NS-1042.pdf", + "sha256": "3078d155f30536f5ad721f7be3c241cd78661ae41249131fc0fd65f37f23e408" + } + ], + "quotationDocuments": [ + { + "name": "quote-inline-nested", + "pages": 1, + "text": "Record Ada\n[outer{inner}end]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1695, + "preview": 1627 + }, + "independentRasterSha256": "63eebe27b3c8518dfc43e9e79ebb503200f4c49d44bde60f4119fd0004791311", + "pdfSha256": "0dd4e8e1cad03da49a74a2451d97180f5212c42262addff402e087c0796e32f9", + "previewSha256": "817be578ca49e67329b503bdee74f8d4d202319c8988e966419c4f8087d50cd1", + "suggestedFilename": "invoice-VUE-2042.pdf" + }, + { + "name": "quote-contents-nested", + "pages": 1, + "text": "Record Ada\n[\nouter\n{inner}\nend\n]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1677, + "preview": 1613 + }, + "independentRasterSha256": "8a155f599e8ad72c1f83768d9935732c5af56bcb7d9676864c1b6495304a328b", + "pdfSha256": "658681c73d9f6cb8e942ac331a64d9e4cb7c70190b5a7d7a7258bd7028163585", + "previewSha256": "bb3a35f08897bcecceec9afb57439388e448681fca8513023d2bba908bd516f8", + "suggestedFilename": "invoice-VUE-2042.pdf" + }, + { + "name": "quote-block-nested", + "pages": 1, + "text": "Record Ada\n[outer{inner}end]", + "probes": [], + "pdfiumText": "RecordAda[outer{inner}end]", + "inkPixels": { + "pdfium": 1695, + "preview": 1635 + }, + "independentRasterSha256": "63eebe27b3c8518dfc43e9e79ebb503200f4c49d44bde60f4119fd0004791311", + "pdfSha256": "b032ca751718d12ec90f10d4934044f1ac1024b9731ba2c72c1529fe9f44e6e7", + "previewSha256": "28cfba86ea6182baccff1322dcb100279bf10eef965e33266b3baaabd41ccccf", + "suggestedFilename": "invoice-VUE-2042.pdf" + } + ], + "reports": { + "build": "e1d33ebeb04bfcffe6ad05c3d5110b1a7a74f4a4d1fa2395eb88070dcd4296f8", + "launcher": "2be66710480479bf1148854eb2f77fcbc58535dd9b94529197dfe1d573b58454", + "ui": "9a18aae45df53b36a75806c075d66fa7d8070a9f3df1dc94fb78c2462f75affe" + } + } + }, + "sourceCi": { + "jobs": 22, + "retainedStarterArchives": 9, + "ordinaryPdfsVerified": 98, + "quotationPdfsVerified": 30, + "runs": { + "node": 40503556211, + "browser": 40503556167, + "react": 40503556201, + "vue": 40503556187 + } + }, + "local": { + "browser": "Chrome on Windows", + "ordinaryDownloadsUnchanged": 27, + "quotationDownloads": 9, + "onlineLauncherPayloadsMatchZips": true, + "externalOnlineProjectsCreated": false + }, + "scope": "Three exact downloadable starter ZIPs, built demos, and intercepted online-launcher source payloads. Existing invoice/report PDFs remain byte-identical; nested quotation controls pass two PDF readers and visible raster checks. No arbitrary-template, branded Safari or standards-conformance claim." +} diff --git a/docs/assets/react-starter/project.zip b/docs/assets/react-starter/project.zip index 63ac381..a541354 100644 Binary files a/docs/assets/react-starter/project.zip and b/docs/assets/react-starter/project.zip differ diff --git a/docs/assets/react-starter/source.json b/docs/assets/react-starter/source.json index 9812b6f..a287eb6 100644 --- a/docs/assets/react-starter/source.json +++ b/docs/assets/react-starter/source.json @@ -1,20 +1,20 @@ { "source_repository": "https://github.com/fullbleed-engine/fullbleed-node", - "source_commit": "29a3e545f1015bf5befe1839e44074e7f6dbe35e", + "source_commit": "4f69aef17cac30fb6e0852a252a2085c534c385d", "source_directory": "examples/react", - "package_version": "0.8.2", - "engine_version": "2.5.37", + "package_version": "0.8.3", + "engine_version": "2.5.38", "react_version": "19.3.0", - "package_integrity": "sha512-OkqQzTbLE7JLx4nwriQEwqHiowLFx3j4AWtPYeSlP+dCdTd75oaBvS/h2VJj0WBI4zP2U9lE0Z6wH7bTASfIOA==", - "zip_bytes": 37379, - "zip_sha256": "eb6413f3672f54aa6aad0dc2de8cb44e27fc1d11b8585bdde3204260ea615d86", + "package_integrity": "sha512-Df9VSjsLEyygxvQTiFwgwndEyspzy6AIvLkbDm0IgIYSfXXuGy+C2MJWTxpy21hp6NwWVg6MHKx7mYTJUA7I6g==", + "zip_bytes": 37382, + "zip_sha256": "b886c417c03c5070f48da9adb08919e7b918cf31848b5c5c3ee8b9169df3995c", "files": { "fullbleed-react-starter/.gitignore": "0c8c1daabb918a54d7e75061883a887e9e0039d533487324a895ebe46afe15d8", "fullbleed-react-starter/LICENSE": "36a2115938f6e68cf0d87eccff7a6a3e57c17017e909cbd640d51aff1fa0c5a9", - "fullbleed-react-starter/README.md": "46a5fd400609dc9ed464a6ef20555b57faf745368ede5241230085c81e4cb2b7", + "fullbleed-react-starter/README.md": "3143a9bab919265d69177d71f92bfc5e79cda1f3e3007add9a87084bf60a7193", "fullbleed-react-starter/index.html": "1e07a2b52074ed0add251f642fe7f06ae2ac56cc391d54c3d7cfcda0c84a7058", - "fullbleed-react-starter/package-lock.json": "5eebac9ee3a6edbf0c2358f671c5f7e3f2c40384c5eced4269f5c95f25c6be33", - "fullbleed-react-starter/package.json": "bb04cfe9f93ed2d0401f4ce2d16a48772ac94e15b8731a167f53168188c0a7d6", + "fullbleed-react-starter/package-lock.json": "13611c811da54fbb4b0d4269b1362525607f4dd94fd6b102eef6d66ed056b964", + "fullbleed-react-starter/package.json": "7558b849e48ecbc214f636f2f97b1baff491dae3916fd2e4472ec71ea7df3651", "fullbleed-react-starter/public/favicon.svg": "14e54700b07ee8762556b4fdeb1b406bfc79492bc1d6958e3f97dbd83c2cd0d0", "fullbleed-react-starter/src/App.tsx": "be531b4b19f86fe2b56ebb652efca23c3ce5e5c0cc656951e4e6ac13aa738d7e", "fullbleed-react-starter/src/documents/Invoice.tsx": "6737ef4e107935cf0e66291f1ef1576d6aef37e647555e81ce875bf37a5cb589", @@ -31,6 +31,5 @@ "fullbleed-react-starter/vite.config.js": "2a300aafa93df7e0269d06d104960ee5ac4d64989d37d61ca482c4b88db3629c" }, "verification_workflow": "https://github.com/fullbleed-engine/fullbleed-node/actions/workflows/react-starter.yml", - "local_ui_evidence": "https://github.com/fullbleed-engine/fullbleed-node/blob/29a3e545f1015bf5befe1839e44074e7f6dbe35e/verification/stackblitz-startup-20261026.json", - "source_verification_run": "https://github.com/fullbleed-engine/fullbleed-node/actions/runs/40383251128" + "local_ui_evidence": "https://github.com/fullbleed-engine/fullbleed-node/blob/4f69aef17cac30fb6e0852a252a2085c534c385d/verification/starters-083.json" } diff --git a/docs/assets/vue-starter/project.zip b/docs/assets/vue-starter/project.zip index 859dc0b..25af6d0 100644 Binary files a/docs/assets/vue-starter/project.zip and b/docs/assets/vue-starter/project.zip differ diff --git a/docs/assets/vue-starter/source.json b/docs/assets/vue-starter/source.json index 8264ae2..934b429 100644 --- a/docs/assets/vue-starter/source.json +++ b/docs/assets/vue-starter/source.json @@ -1,20 +1,20 @@ { "source_repository": "https://github.com/fullbleed-engine/fullbleed-node", - "source_commit": "29a3e545f1015bf5befe1839e44074e7f6dbe35e", + "source_commit": "4f69aef17cac30fb6e0852a252a2085c534c385d", "source_directory": "examples/vue", - "package_version": "0.8.2", - "engine_version": "2.5.37", + "package_version": "0.8.3", + "engine_version": "2.5.38", "vue_version": "3.5.43", - "package_integrity": "sha512-OkqQzTbLE7JLx4nwriQEwqHiowLFx3j4AWtPYeSlP+dCdTd75oaBvS/h2VJj0WBI4zP2U9lE0Z6wH7bTASfIOA==", - "zip_bytes": 31347, - "zip_sha256": "2b380d457162baf02657e3f7a2532df7b3be86322ac781f9d4192f70449cddb8", + "package_integrity": "sha512-Df9VSjsLEyygxvQTiFwgwndEyspzy6AIvLkbDm0IgIYSfXXuGy+C2MJWTxpy21hp6NwWVg6MHKx7mYTJUA7I6g==", + "zip_bytes": 31348, + "zip_sha256": "7440a56aa6628651a71545b37281dbb2fa75cddd10c6b2a005932efa6a09b276", "files": { "fullbleed-vue-starter/.gitignore": "c023fec2bf12476cb47709e859f1fbb785aeb1e03281e52141e0bee1ee7dad72", "fullbleed-vue-starter/LICENSE": "36a2115938f6e68cf0d87eccff7a6a3e57c17017e909cbd640d51aff1fa0c5a9", - "fullbleed-vue-starter/README.md": "0f83b0c5b356b35b2903af192d29f01b86752f5dd98dc7f7943986bcea9b32ad", + "fullbleed-vue-starter/README.md": "829eb5e93811627816b8a3fcf7eaa4df1c47cb1eac3a890143c2df6973fe24dc", "fullbleed-vue-starter/index.html": "9e1c7f227063911ce44edf02e240f40b628ce3ad66f0f99d68d3c4f8dfbc223b", - "fullbleed-vue-starter/package-lock.json": "8cba48abebe8a55316572f849f612d2624f3c56209942ac6783915cc4b83978b", - "fullbleed-vue-starter/package.json": "ff935ed08d7e57fe4c5e63f0aa269a88d6db797c376c4ddc58039fe1c3748904", + "fullbleed-vue-starter/package-lock.json": "94621bff307a11a2ce43a7881f076a665ccfd7c40bcca6c6075c92a77d6db7ca", + "fullbleed-vue-starter/package.json": "92f6a541523f034864d87044d700977a6d302163e57fa77f5a5177179309d7b0", "fullbleed-vue-starter/public/favicon.svg": "14e54700b07ee8762556b4fdeb1b406bfc79492bc1d6958e3f97dbd83c2cd0d0", "fullbleed-vue-starter/src/App.vue": "0afa15196ccedd0b0f91293cc5e362799149a2752c59deaa377f4533825ea2af", "fullbleed-vue-starter/src/DocumentEditor.vue": "a3f3f8096d194e1eed6cd0cf2fb0a0606a04d40823ff7b794b9b1a0dbfd8c28a", @@ -29,6 +29,5 @@ "fullbleed-vue-starter/vite.config.js": "dfcc6c065fb26ada03802def672108735f4c2c35e0f30d11965ddfa796b8a0c0" }, "verification_workflow": "https://github.com/fullbleed-engine/fullbleed-node/actions/workflows/vue-starter.yml", - "local_ui_evidence": "https://github.com/fullbleed-engine/fullbleed-node/blob/29a3e545f1015bf5befe1839e44074e7f6dbe35e/verification/stackblitz-startup-20261026.json", - "source_verification_run": "https://github.com/fullbleed-engine/fullbleed-node/actions/runs/40383250933" + "local_ui_evidence": "https://github.com/fullbleed-engine/fullbleed-node/blob/4f69aef17cac30fb6e0852a252a2085c534c385d/verification/starters-083.json" } diff --git a/docs/guides/browser-pdf.md b/docs/guides/browser-pdf.md index 40c6b44..2ebb1df 100644 --- a/docs/guides/browser-pdf.md +++ b/docs/guides/browser-pdf.md @@ -20,21 +20,21 @@ Use **Save HTML** and **Save CSS** beneath the editor to keep your template edit The **Download starter** link in the demo opens the complete application project. All sample names, organizations, and amounts are fictional. -The downloadable starter uses **npm package 0.8.2**, wrapping **Fullbleed engine 2.5.37**. +The downloadable starter uses **npm package 0.8.3**, wrapping **Fullbleed engine 2.5.38**. The browser and Node entries share the pinned engine and bundled fonts. Unembedded Helvetica, Times, and Courier faces produce visible PNG previews, including in templates pasted into the starter. -The [font-preview guide](https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.2/docs/standard-font-previews.md) +The [font-preview guide](https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.3/docs/standard-font-previews.md) explains the substitute designs and upgrade checks. Run the asset-copy command again after upgrading so the browser receives the matching runtime and notices. -Package **0.8.2** uses engine **2.5.37**. It fixes narrow-table text wrapping -and preserves widths on nested cell content, while retaining intentional -`nowrap` and `keep-all` behavior. See the -[table-wrapping checks](https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.2/docs/table-wrapping.md). +Package **0.8.3** uses engine **2.5.38**. Nested generated quotation marks +retain their nesting and closing marks, including in block and contents layouts. +See the [quotation checks](https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.3/docs/generated-quotes.md). +This release also includes the earlier table-wrapping and pagination fixes. For an existing project, follow the -[current browser installation guide](https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.2/docs/browser.md) +[current browser installation guide](https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.3/docs/browser.md) and recopy the browser runtime after upgrading. ## Edit the project online @@ -80,7 +80,7 @@ Install the package and copy its runtime into the directory your framework serves as static files: ```sh -npm install --save-exact fullbleed@0.8.2 +npm install --save-exact fullbleed@0.8.3 npx fullbleed-browser-assets public/fullbleed ``` @@ -144,7 +144,7 @@ completion or cancellation requests worker termination before the promise settle Browsers do not expose a native thread-exit promise. Keep concurrent jobs bounded for the devices you support, especially when generating page previews. -The [0.8.2 release evidence](https://github.com/fullbleed-engine/fullbleed-node/releases/tag/v0.8.2) +The [0.8.3 release evidence](https://github.com/fullbleed-engine/fullbleed-node/releases/tag/v0.8.3) retains checks in Chrome, Firefox, and Playwright WebKit, including PDF/PNG comparison with the installed Node package, independent PDF text checks, cancellation, damaged assets, and recovery. Playwright WebKit is not branded @@ -165,3 +165,8 @@ unmounts. The editor checks also paste templates for sibling counter resets, nested clipping, SVG border-image centers, and decorated floated initials. They inspect downloaded PDF text and independently specified colors in both the PDF and its preview. + +Nested quotation checks cover inline, block, and contents layouts through the +actual editor. They check both PDF readers, page size, and visible preview output. +The [retained starter verification](../assets/browser-starters-083-verification.json) +records these cases and the unchanged invoice and report downloads. diff --git a/docs/guides/react-pdf.md b/docs/guides/react-pdf.md index 3d180be..771ab1a 100644 --- a/docs/guides/react-pdf.md +++ b/docs/guides/react-pdf.md @@ -14,7 +14,7 @@ starter needs no PDF server or account. [Edit source online](../assets/react-starter/edit-online.html){ .md-button } [Download the React project](../assets/react-starter/project.zip){ .md-button } -The project uses **fullbleed 0.8.2** with engine **2.5.37**. Its default invoice +The project uses **fullbleed 0.8.3** with engine **2.5.38**. Its default invoice uses typed props, mapped rows, conditional paid text and composed style maps. Text is escaped by the authoring layer; amounts are calculated in integer cents. The form accepts up to 20 rows and whole hours, including negative rates for @@ -81,7 +81,7 @@ color and wait for **Ready**. **Download PDF** saves the generated document. Turn off **Update automatically** to generate only when you choose **Generate PDF**. **Cancel** stops a pending preview or active render. -The lockfile pins Fullbleed npm **0.8.2** / engine **2.5.37**, React **19.3.0**, +The lockfile pins Fullbleed npm **0.8.3** / engine **2.5.38**, React **19.3.0**, TypeScript **7.0.2**, and Vite **8.3.2**. The ZIP includes its source and lockfile; the build downloads the published dependencies and copies their verified runtime. @@ -133,7 +133,7 @@ and editor cleanup, with the same styled component invoice. Install the package and copy its runtime into your app's static directory: ```sh -npm install --save-exact fullbleed@0.8.2 +npm install --save-exact fullbleed@0.8.3 npx fullbleed-browser-assets public/fullbleed ``` @@ -226,3 +226,8 @@ PDF/X, or VDP options. For a server-side React framework route, use the The editor checks also paste templates for sibling counter resets, nested clipping, SVG border-image centers, and decorated floated initials. They inspect downloaded PDF text and independently specified colors in both the PDF and its preview. + +Nested quotation checks cover inline, block, and contents layouts through the +actual editor. They check both PDF readers, page size, and visible preview output. +The [retained starter verification](../assets/browser-starters-083-verification.json) +records these cases and the unchanged invoice and report downloads. diff --git a/docs/guides/vue-pdf.md b/docs/guides/vue-pdf.md index f3bdfd4..836d12c 100644 --- a/docs/guides/vue-pdf.md +++ b/docs/guides/vue-pdf.md @@ -52,7 +52,7 @@ color and wait for **Ready**, then choose **Download PDF**. Turn off **Update automatically** to generate on demand. **Cancel** stops a pending preview or active render. **Close editor** releases its resources; reopening starts fresh. -The lockfile pins Fullbleed npm **0.8.2** / engine **2.5.37**, Vue **3.5.43**, +The lockfile pins Fullbleed npm **0.8.3** / engine **2.5.38**, Vue **3.5.43**, TypeScript **6.0.3**, and Vite **8.3.2**. The build downloads the published dependencies and copies their verified runtime. TypeScript 6 is pinned for compatibility with the project's `vue-tsc` type checker. @@ -87,7 +87,7 @@ through the SDK's `fonts` and `assets` options. Install the package and copy its runtime into your static directory: ```sh -npm install --save-exact fullbleed@0.8.2 +npm install --save-exact fullbleed@0.8.3 npx fullbleed-browser-assets public/fullbleed ``` @@ -178,3 +178,8 @@ PDF/A, PDF/UA, PDF/X, or VDP options. For React, use the The editor checks also paste templates for sibling counter resets, nested clipping, SVG border-image centers, and decorated floated initials. They inspect downloaded PDF text and independently specified colors in both the PDF and its preview. + +Nested quotation checks cover inline, block, and contents layouts through the +actual editor. They check both PDF readers, page size, and visible preview output. +The [retained starter verification](../assets/browser-starters-083-verification.json) +records these cases and the unchanged invoice and report downloads. diff --git a/tools/build_browser_starter.py b/tools/build_browser_starter.py index cf57458..ff341c0 100644 --- a/tools/build_browser_starter.py +++ b/tools/build_browser_starter.py @@ -49,7 +49,7 @@ project = workspace / 'fullbleed-browser-starter' package = json.loads((project / 'package.json').read_text()) lock = json.loads((project / 'package-lock.json').read_text()) -assert package['dependencies']['fullbleed'] == manifest['package_version'] == '0.8.2' +assert package['dependencies']['fullbleed'] == manifest['package_version'] == '0.8.3' assert package['devDependencies']['vite'] == '8.3.2' assert lock['packages']['node_modules/fullbleed']['integrity'] == manifest['package_integrity'] assert lock['packages']['node_modules/fullbleed']['resolved'].startswith('https://registry.npmjs.org/') @@ -64,7 +64,7 @@ installed = project / 'node_modules/fullbleed' assert json.loads((installed / 'package.json').read_text())['version'] == manifest['package_version'] runtime = json.loads((project / 'dist/fullbleed/build.json').read_text()) -assert runtime['packageVersion'] == manifest['package_version'] and runtime['engineVersion'] == '2.5.37' +assert runtime['packageVersion'] == manifest['package_version'] and runtime['engineVersion'] == '2.5.38' assert runtime['engineFeatures'] == ['svg_raster'] for name, expected in runtime['files'].items(): value = (project / 'dist/fullbleed' / name).read_bytes() diff --git a/tools/build_react_starter.py b/tools/build_react_starter.py index 189b477..7e0f3dc 100644 --- a/tools/build_react_starter.py +++ b/tools/build_react_starter.py @@ -50,7 +50,7 @@ project = workspace / 'fullbleed-react-starter' package = json.loads((project / 'package.json').read_text()) lock = json.loads((project / 'package-lock.json').read_text()) -assert package['dependencies']['fullbleed'] == manifest['package_version'] == '0.8.2' +assert package['dependencies']['fullbleed'] == manifest['package_version'] == '0.8.3' assert package['devDependencies']['vite'] == '8.3.2' assert package['dependencies']['react'] == package['dependencies']['react-dom'] == manifest['react_version'] assert lock['packages']['node_modules/fullbleed']['integrity'] == manifest['package_integrity'] @@ -72,7 +72,7 @@ installed = project / 'node_modules/fullbleed' assert json.loads((installed / 'package.json').read_text())['version'] == manifest['package_version'] runtime = json.loads((project / 'dist/fullbleed/build.json').read_text()) -assert runtime['packageVersion'] == manifest['package_version'] and runtime['engineVersion'] == '2.5.37' +assert runtime['packageVersion'] == manifest['package_version'] and runtime['engineVersion'] == '2.5.38' assert runtime['engineFeatures'] == ['svg_raster'] for name, expected in runtime['files'].items(): value = (project / 'dist/fullbleed' / name).read_bytes() diff --git a/tools/build_vue_starter.py b/tools/build_vue_starter.py index f63a84f..573d1d4 100644 --- a/tools/build_vue_starter.py +++ b/tools/build_vue_starter.py @@ -49,7 +49,7 @@ project = workspace / 'fullbleed-vue-starter' package = json.loads((project / 'package.json').read_text()) lock = json.loads((project / 'package-lock.json').read_text()) -assert package['dependencies']['fullbleed'] == manifest['package_version'] == '0.8.2' +assert package['dependencies']['fullbleed'] == manifest['package_version'] == '0.8.3' assert package['devDependencies']['vite'] == '8.3.2' assert package['devDependencies']['typescript'] == '6.0.3' assert package['devDependencies']['vue-tsc'] == '3.3.12' @@ -67,7 +67,7 @@ installed = project / 'node_modules/fullbleed' assert json.loads((installed / 'package.json').read_text())['version'] == manifest['package_version'] runtime = json.loads((project / 'dist/fullbleed/build.json').read_text()) -assert runtime['packageVersion'] == manifest['package_version'] and runtime['engineVersion'] == '2.5.37' +assert runtime['packageVersion'] == manifest['package_version'] and runtime['engineVersion'] == '2.5.38' assert runtime['engineFeatures'] == ['svg_raster'] for name, expected in runtime['files'].items(): value = (project / 'dist/fullbleed' / name).read_bytes() diff --git a/tools/starter-engine-2.5.38.json b/tools/starter-engine-2.5.38.json new file mode 100644 index 0000000..1a644ce --- /dev/null +++ b/tools/starter-engine-2.5.38.json @@ -0,0 +1,63 @@ +{ + "schema": "fullbleed.starter.engine-fixes.v1", + "upstreamRelease": "2.5.38", + "source": { + "path": "test/fixtures/generated-quotes-2.5.38.json", + "sha256": "892cf0862fe14d639cdb1f639ce755ce9a6fe5f88622217690da3da762ff4015", + "url": "https://github.com/fullbleed-engine/fullbleed-node/blob/v0.8.3/test/fixtures/generated-quotes-2.5.38.json" + }, + "cases": [ + { + "name": "quote-inline-nested", + "family": "quotation", + "html": "

Record Ada

outerinnerend", + "css": "@page { size: 600px 400px; margin: 12px }\nbody { margin: 0; font-family: Inter; font-size: 20px; quotes: \"[\" \"]\" \"{\" \"}\" }\n.q::before { content: open-quote } .q::after { content: close-quote }\n.open::before { content: no-open-quote } .after::after { content: no-open-quote }\n.close::before { content: no-close-quote } .closeafter::after { content: no-close-quote }\n.visibleclose::after { content: close-quote } .balanced::after { content: open-quote close-quote }\n.suppressed::before { display: none }\n", + "pages": 1, + "previewDpi": 96, + "previousEngineFails": false, + "expected": { + "text": "RecordAda[outer{inner}end]", + "pageSizePt": [ + 450, + 300 + ], + "minimumInkPixels": 100 + } + }, + { + "name": "quote-contents-nested", + "family": "quotation", + "html": "

Record Ada

outerinnerend", + "css": "@page { size: 600px 400px; margin: 12px }\nbody { margin: 0; font-family: Inter; font-size: 20px; quotes: \"[\" \"]\" \"{\" \"}\" }\n.q::before { content: open-quote } .q::after { content: close-quote }\n.open::before { content: no-open-quote } .after::after { content: no-open-quote }\n.close::before { content: no-close-quote } .closeafter::after { content: no-close-quote }\n.visibleclose::after { content: close-quote } .balanced::after { content: open-quote close-quote }\n.suppressed::before { display: none }\n", + "pages": 1, + "previewDpi": 96, + "previousEngineFails": true, + "expected": { + "text": "RecordAda[outer{inner}end]", + "pageSizePt": [ + 450, + 300 + ], + "minimumInkPixels": 100 + } + }, + { + "name": "quote-block-nested", + "family": "quotation", + "html": "

Record Ada

outerinnerend", + "css": "@page { size: 600px 400px; margin: 12px }\nbody { margin: 0; font-family: Inter; font-size: 20px; quotes: \"[\" \"]\" \"{\" \"}\" }\n.q::before { content: open-quote } .q::after { content: close-quote }\n.open::before { content: no-open-quote } .after::after { content: no-open-quote }\n.close::before { content: no-close-quote } .closeafter::after { content: no-close-quote }\n.visibleclose::after { content: close-quote } .balanced::after { content: open-quote close-quote }\n.suppressed::before { display: none }\n", + "pages": 1, + "previewDpi": 96, + "previousEngineFails": true, + "expected": { + "text": "RecordAda[outer{inner}end]", + "pageSizePt": [ + 450, + 300 + ], + "minimumInkPixels": 100 + } + } + ], + "scope": "Three reviewed quotation inputs through the actual starter editors and downloads. One healthy control and two earlier engine failures; no full CSS or arbitrary-template parity claim." +} diff --git a/tools/starter_engine_fixes.py b/tools/starter_engine_fixes.py index 3bbacad..acdec20 100644 --- a/tools/starter_engine_fixes.py +++ b/tools/starter_engine_fixes.py @@ -19,6 +19,7 @@ FIXTURES = Path(__file__).with_name('starter-engine-2.5.22.json') CURRENT_FIXTURES = Path(__file__).with_name('starter-engine-2.5.24.json') +QUOTATION_FIXTURES = Path(__file__).with_name('starter-engine-2.5.38.json') def decoration_widths(page, reader): @@ -64,6 +65,37 @@ def inspect_outputs(case, pdf_path, preview_path, out, check): if 'pdfSha256' in expected: check(name + ': PDF matches the released source/control fixture', hashlib.sha256(pdf_path.read_bytes()).hexdigest() == expected['pdfSha256']) + if case['family'] == 'quotation': + check(name + ': print CSS preserves the expected page geometry', + [float(reader.pages[0].mediabox.width), float(reader.pages[0].mediabox.height)] == expected['pageSizePt']) + document = pdfium.PdfDocument(pdf_path) + try: + pdf_page = document[0] + try: + text_page = pdf_page.get_textpage() + try: + independent_text = re.sub(r'\s+', '', text_page.get_text_range()) + finally: + text_page.close() + bitmap = pdf_page.render(scale=case['previewDpi'] / 72) + try: + raster = bitmap.to_pil().convert('RGB') + raster.save(out / (name + '-pdfium.png')) + finally: + bitmap.close() + finally: + pdf_page.close() + finally: + document.close() + check(name + ': a second PDF reader finds the exact quotation text', independent_text == expected['text']) + with Image.open(preview_path) as displayed: + preview = displayed.convert('RGB') + ink = {source: sum(image.convert('L').histogram()[:200]) + for source, image in [('pdfium', raster), ('preview', preview)]} + check(name + ': independent PDF render and displayed preview contain visible ink', + all(count >= expected['minimumInkPixels'] for count in ink.values())) + record.update(pdfiumText=independent_text, inkPixels=ink, + independentRasterSha256=hashlib.sha256((out / (name + '-pdfium.png')).read_bytes()).hexdigest()) if case['family'] == 'decoration': widths = decoration_widths(reader.pages[0], reader) check(name + ': decoration stroke count matches', len(widths) == expected['strokes']) @@ -108,6 +140,7 @@ def verify_engine_fixes(page, out, check, ready, *, manual=False, """Paste focused cases, inspect actual downloads, then restore the editor.""" fixtures = json.loads(FIXTURES.read_text(encoding='utf-8')) current = json.loads(CURRENT_FIXTURES.read_text(encoding='utf-8')) + quotations = json.loads(QUOTATION_FIXTURES.read_text(encoding='utf-8')) evidence = out / 'engine-fixes' evidence.mkdir(exist_ok=False) original_html = page.locator(html_selector).input_value() @@ -119,7 +152,7 @@ def edit(html, css): page.locator(html_selector).fill(html) page.locator(css_selector).fill(css) records = [] - for case in [*fixtures['cases'], *current['cases']]: + for case in [*fixtures['cases'], *current['cases'], *quotations['cases']]: name = case['name'] (evidence / (name + '.html')).write_text(case['html'], encoding='utf-8', newline='\n') (evidence / (name + '.css')).write_text(case['css'], encoding='utf-8', newline='\n') @@ -151,7 +184,8 @@ def edit(html, css): ready() result = {'ok': True, 'fixturesSha256': hashlib.sha256(FIXTURES.read_bytes()).hexdigest(), 'additionalFixturesSha256': hashlib.sha256(CURRENT_FIXTURES.read_bytes()).hexdigest(), + 'quotationFixturesSha256': hashlib.sha256(QUOTATION_FIXTURES.read_bytes()).hexdigest(), 'readers': {package: version(package) for package in ['pypdf', 'pypdfium2', 'pillow']}, - 'scope': fixtures['scope'] + ' ' + current['scope'], 'cases': records} + 'scope': fixtures['scope'] + ' ' + current['scope'] + ' ' + quotations['scope'], 'cases': records} (evidence / 'verification.json').write_text(json.dumps(result, indent=2) + '\n', encoding='utf-8', newline='\n') return result